-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathapi_pb.d.ts
729 lines (615 loc) · 21.5 KB
/
api_pb.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
// package: api
// file: api.proto
import * as jspb from "google-protobuf"
export class Request extends jspb.Message {
getStartTs(): number
setStartTs(value: number): void
getQuery(): string
setQuery(value: string): void
getVarsMap(): jspb.Map<string, string>
clearVarsMap(): void
getReadOnly(): boolean
setReadOnly(value: boolean): void
getBestEffort(): boolean
setBestEffort(value: boolean): void
clearMutationsList(): void
getMutationsList(): Array<Mutation>
setMutationsList(value: Array<Mutation>): void
addMutations(value?: Mutation, index?: number): Mutation
getCommitNow(): boolean
setCommitNow(value: boolean): void
getRespFormat(): Request.RespFormatMap[keyof Request.RespFormatMap]
setRespFormat(value: Request.RespFormatMap[keyof Request.RespFormatMap]): void
getHash(): string
setHash(value: string): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Request.AsObject
static toObject(includeInstance: boolean, msg: Request): Request.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Request, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Request
static deserializeBinaryFromReader(message: Request, reader: jspb.BinaryReader): Request
}
export namespace Request {
export type AsObject = {
startTs: number
query: string
varsMap: Array<[string, string]>
readOnly: boolean
bestEffort: boolean
mutationsList: Array<Mutation.AsObject>
commitNow: boolean
respFormat: Request.RespFormatMap[keyof Request.RespFormatMap]
hash: string
}
export interface RespFormatMap {
JSON: 0
RDF: 1
}
export const RespFormat: RespFormatMap
}
export class Uids extends jspb.Message {
clearUidsList(): void
getUidsList(): Array<string>
setUidsList(value: Array<string>): void
addUids(value: string, index?: number): string
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Uids.AsObject
static toObject(includeInstance: boolean, msg: Uids): Uids.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Uids, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Uids
static deserializeBinaryFromReader(message: Uids, reader: jspb.BinaryReader): Uids
}
export namespace Uids {
export type AsObject = {
uidsList: Array<string>
}
}
export class ListOfString extends jspb.Message {
clearValueList(): void
getValueList(): Array<string>
setValueList(value: Array<string>): void
addValue(value: string, index?: number): string
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): ListOfString.AsObject
static toObject(includeInstance: boolean, msg: ListOfString): ListOfString.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: ListOfString, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): ListOfString
static deserializeBinaryFromReader(message: ListOfString, reader: jspb.BinaryReader): ListOfString
}
export namespace ListOfString {
export type AsObject = {
valueList: Array<string>
}
}
export class Response extends jspb.Message {
getJson(): Uint8Array | string
getJson_asU8(): Uint8Array
getJson_asB64(): string
setJson(value: Uint8Array | string): void
hasTxn(): boolean
clearTxn(): void
getTxn(): TxnContext | undefined
setTxn(value?: TxnContext): void
hasLatency(): boolean
clearLatency(): void
getLatency(): Latency | undefined
setLatency(value?: Latency): void
hasMetrics(): boolean
clearMetrics(): void
getMetrics(): Metrics | undefined
setMetrics(value?: Metrics): void
getUidsMap(): jspb.Map<string, string>
clearUidsMap(): void
getRdf(): Uint8Array | string
getRdf_asU8(): Uint8Array
getRdf_asB64(): string
setRdf(value: Uint8Array | string): void
getHdrsMap(): jspb.Map<string, ListOfString>
clearHdrsMap(): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Response.AsObject
static toObject(includeInstance: boolean, msg: Response): Response.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Response, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Response
static deserializeBinaryFromReader(message: Response, reader: jspb.BinaryReader): Response
}
export namespace Response {
export type AsObject = {
json: Uint8Array | string
txn?: TxnContext.AsObject
latency?: Latency.AsObject
metrics?: Metrics.AsObject
uidsMap: Array<[string, string]>
rdf: Uint8Array | string
hdrsMap: Array<[string, ListOfString.AsObject]>
}
}
export class Mutation extends jspb.Message {
getSetJson(): Uint8Array | string
getSetJson_asU8(): Uint8Array
getSetJson_asB64(): string
setSetJson(value: Uint8Array | string): void
getDeleteJson(): Uint8Array | string
getDeleteJson_asU8(): Uint8Array
getDeleteJson_asB64(): string
setDeleteJson(value: Uint8Array | string): void
getSetNquads(): Uint8Array | string
getSetNquads_asU8(): Uint8Array
getSetNquads_asB64(): string
setSetNquads(value: Uint8Array | string): void
getDelNquads(): Uint8Array | string
getDelNquads_asU8(): Uint8Array
getDelNquads_asB64(): string
setDelNquads(value: Uint8Array | string): void
clearSetList(): void
getSetList(): Array<NQuad>
setSetList(value: Array<NQuad>): void
addSet(value?: NQuad, index?: number): NQuad
clearDelList(): void
getDelList(): Array<NQuad>
setDelList(value: Array<NQuad>): void
addDel(value?: NQuad, index?: number): NQuad
getCond(): string
setCond(value: string): void
getCommitNow(): boolean
setCommitNow(value: boolean): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Mutation.AsObject
static toObject(includeInstance: boolean, msg: Mutation): Mutation.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Mutation, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Mutation
static deserializeBinaryFromReader(message: Mutation, reader: jspb.BinaryReader): Mutation
}
export namespace Mutation {
export type AsObject = {
setJson: Uint8Array | string
deleteJson: Uint8Array | string
setNquads: Uint8Array | string
delNquads: Uint8Array | string
setList: Array<NQuad.AsObject>
delList: Array<NQuad.AsObject>
cond: string
commitNow: boolean
}
}
export class Operation extends jspb.Message {
getSchema(): string
setSchema(value: string): void
getDropAttr(): string
setDropAttr(value: string): void
getDropAll(): boolean
setDropAll(value: boolean): void
getDropOp(): Operation.DropOpMap[keyof Operation.DropOpMap]
setDropOp(value: Operation.DropOpMap[keyof Operation.DropOpMap]): void
getDropValue(): string
setDropValue(value: string): void
getRunInBackground(): boolean
setRunInBackground(value: boolean): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Operation.AsObject
static toObject(includeInstance: boolean, msg: Operation): Operation.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Operation, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Operation
static deserializeBinaryFromReader(message: Operation, reader: jspb.BinaryReader): Operation
}
export namespace Operation {
export type AsObject = {
schema: string
dropAttr: string
dropAll: boolean
dropOp: Operation.DropOpMap[keyof Operation.DropOpMap]
dropValue: string
runInBackground: boolean
}
export interface DropOpMap {
NONE: 0
ALL: 1
DATA: 2
ATTR: 3
TYPE: 4
}
export const DropOp: DropOpMap
}
export class Payload extends jspb.Message {
getData(): Uint8Array | string
getData_asU8(): Uint8Array
getData_asB64(): string
setData(value: Uint8Array | string): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Payload.AsObject
static toObject(includeInstance: boolean, msg: Payload): Payload.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Payload, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Payload
static deserializeBinaryFromReader(message: Payload, reader: jspb.BinaryReader): Payload
}
export namespace Payload {
export type AsObject = {
data: Uint8Array | string
}
}
export class TxnContext extends jspb.Message {
getStartTs(): number
setStartTs(value: number): void
getCommitTs(): number
setCommitTs(value: number): void
getAborted(): boolean
setAborted(value: boolean): void
clearKeysList(): void
getKeysList(): Array<string>
setKeysList(value: Array<string>): void
addKeys(value: string, index?: number): string
clearPredsList(): void
getPredsList(): Array<string>
setPredsList(value: Array<string>): void
addPreds(value: string, index?: number): string
getHash(): string
setHash(value: string): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): TxnContext.AsObject
static toObject(includeInstance: boolean, msg: TxnContext): TxnContext.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: TxnContext, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): TxnContext
static deserializeBinaryFromReader(message: TxnContext, reader: jspb.BinaryReader): TxnContext
}
export namespace TxnContext {
export type AsObject = {
startTs: number
commitTs: number
aborted: boolean
keysList: Array<string>
predsList: Array<string>
hash: string
}
}
export class Check extends jspb.Message {
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Check.AsObject
static toObject(includeInstance: boolean, msg: Check): Check.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Check, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Check
static deserializeBinaryFromReader(message: Check, reader: jspb.BinaryReader): Check
}
export namespace Check {
export type AsObject = object
}
export class Version extends jspb.Message {
getTag(): string
setTag(value: string): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Version.AsObject
static toObject(includeInstance: boolean, msg: Version): Version.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Version, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Version
static deserializeBinaryFromReader(message: Version, reader: jspb.BinaryReader): Version
}
export namespace Version {
export type AsObject = {
tag: string
}
}
export class Latency extends jspb.Message {
getParsingNs(): number
setParsingNs(value: number): void
getProcessingNs(): number
setProcessingNs(value: number): void
getEncodingNs(): number
setEncodingNs(value: number): void
getAssignTimestampNs(): number
setAssignTimestampNs(value: number): void
getTotalNs(): number
setTotalNs(value: number): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Latency.AsObject
static toObject(includeInstance: boolean, msg: Latency): Latency.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Latency, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Latency
static deserializeBinaryFromReader(message: Latency, reader: jspb.BinaryReader): Latency
}
export namespace Latency {
export type AsObject = {
parsingNs: number
processingNs: number
encodingNs: number
assignTimestampNs: number
totalNs: number
}
}
export class Metrics extends jspb.Message {
getNumUidsMap(): jspb.Map<string, number>
clearNumUidsMap(): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Metrics.AsObject
static toObject(includeInstance: boolean, msg: Metrics): Metrics.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Metrics, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Metrics
static deserializeBinaryFromReader(message: Metrics, reader: jspb.BinaryReader): Metrics
}
export namespace Metrics {
export type AsObject = {
numUidsMap: Array<[string, number]>
}
}
export class NQuad extends jspb.Message {
getSubject(): string
setSubject(value: string): void
getPredicate(): string
setPredicate(value: string): void
getObjectId(): string
setObjectId(value: string): void
hasObjectValue(): boolean
clearObjectValue(): void
getObjectValue(): Value | undefined
setObjectValue(value?: Value): void
getLang(): string
setLang(value: string): void
clearFacetsList(): void
getFacetsList(): Array<Facet>
setFacetsList(value: Array<Facet>): void
addFacets(value?: Facet, index?: number): Facet
getNamespace(): number
setNamespace(value: number): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): NQuad.AsObject
static toObject(includeInstance: boolean, msg: NQuad): NQuad.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: NQuad, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): NQuad
static deserializeBinaryFromReader(message: NQuad, reader: jspb.BinaryReader): NQuad
}
export namespace NQuad {
export type AsObject = {
subject: string
predicate: string
objectId: string
objectValue?: Value.AsObject
lang: string
facetsList: Array<Facet.AsObject>
namespace: number
}
}
export class Value extends jspb.Message {
hasDefaultVal(): boolean
clearDefaultVal(): void
getDefaultVal(): string
setDefaultVal(value: string): void
hasBytesVal(): boolean
clearBytesVal(): void
getBytesVal(): Uint8Array | string
getBytesVal_asU8(): Uint8Array
getBytesVal_asB64(): string
setBytesVal(value: Uint8Array | string): void
hasIntVal(): boolean
clearIntVal(): void
getIntVal(): number
setIntVal(value: number): void
hasBoolVal(): boolean
clearBoolVal(): void
getBoolVal(): boolean
setBoolVal(value: boolean): void
hasStrVal(): boolean
clearStrVal(): void
getStrVal(): string
setStrVal(value: string): void
hasDoubleVal(): boolean
clearDoubleVal(): void
getDoubleVal(): number
setDoubleVal(value: number): void
hasGeoVal(): boolean
clearGeoVal(): void
getGeoVal(): Uint8Array | string
getGeoVal_asU8(): Uint8Array
getGeoVal_asB64(): string
setGeoVal(value: Uint8Array | string): void
hasDateVal(): boolean
clearDateVal(): void
getDateVal(): Uint8Array | string
getDateVal_asU8(): Uint8Array
getDateVal_asB64(): string
setDateVal(value: Uint8Array | string): void
hasDatetimeVal(): boolean
clearDatetimeVal(): void
getDatetimeVal(): Uint8Array | string
getDatetimeVal_asU8(): Uint8Array
getDatetimeVal_asB64(): string
setDatetimeVal(value: Uint8Array | string): void
hasPasswordVal(): boolean
clearPasswordVal(): void
getPasswordVal(): string
setPasswordVal(value: string): void
hasUidVal(): boolean
clearUidVal(): void
getUidVal(): number
setUidVal(value: number): void
hasVfloat32Val(): boolean
clearVfloat32Val(): void
getVfloat32Val(): Uint8Array | string
getVfloat32Val_asU8(): Uint8Array
getVfloat32Val_asB64(): string
setVfloat32Val(value: Uint8Array | string): void
getValCase(): Value.ValCase
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Value.AsObject
static toObject(includeInstance: boolean, msg: Value): Value.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Value, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Value
static deserializeBinaryFromReader(message: Value, reader: jspb.BinaryReader): Value
}
export namespace Value {
export type AsObject = {
defaultVal: string
bytesVal: Uint8Array | string
intVal: number
boolVal: boolean
strVal: string
doubleVal: number
geoVal: Uint8Array | string
dateVal: Uint8Array | string
datetimeVal: Uint8Array | string
passwordVal: string
uidVal: number
vfloat32Val: Uint8Array | string
}
export enum ValCase {
VAL_NOT_SET = 0,
DEFAULT_VAL = 1,
BYTES_VAL = 2,
INT_VAL = 3,
BOOL_VAL = 4,
STR_VAL = 5,
DOUBLE_VAL = 6,
GEO_VAL = 7,
DATE_VAL = 8,
DATETIME_VAL = 9,
PASSWORD_VAL = 10,
UID_VAL = 11,
VFLOAT32_VAL = 13,
}
}
export class Facet extends jspb.Message {
getKey(): string
setKey(value: string): void
getValue(): Uint8Array | string
getValue_asU8(): Uint8Array
getValue_asB64(): string
setValue(value: Uint8Array | string): void
getValType(): Facet.ValTypeMap[keyof Facet.ValTypeMap]
setValType(value: Facet.ValTypeMap[keyof Facet.ValTypeMap]): void
clearTokensList(): void
getTokensList(): Array<string>
setTokensList(value: Array<string>): void
addTokens(value: string, index?: number): string
getAlias(): string
setAlias(value: string): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Facet.AsObject
static toObject(includeInstance: boolean, msg: Facet): Facet.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Facet, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Facet
static deserializeBinaryFromReader(message: Facet, reader: jspb.BinaryReader): Facet
}
export namespace Facet {
export type AsObject = {
key: string
value: Uint8Array | string
valType: Facet.ValTypeMap[keyof Facet.ValTypeMap]
tokensList: Array<string>
alias: string
}
export interface ValTypeMap {
STRING: 0
INT: 1
FLOAT: 2
BOOL: 3
DATETIME: 4
}
export const ValType: ValTypeMap
}
export class LoginRequest extends jspb.Message {
getUserid(): string
setUserid(value: string): void
getPassword(): string
setPassword(value: string): void
getRefreshToken(): string
setRefreshToken(value: string): void
getNamespace(): number
setNamespace(value: number): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): LoginRequest.AsObject
static toObject(includeInstance: boolean, msg: LoginRequest): LoginRequest.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: LoginRequest, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): LoginRequest
static deserializeBinaryFromReader(message: LoginRequest, reader: jspb.BinaryReader): LoginRequest
}
export namespace LoginRequest {
export type AsObject = {
userid: string
password: string
refreshToken: string
namespace: number
}
}
export class Jwt extends jspb.Message {
getAccessJwt(): string
setAccessJwt(value: string): void
getRefreshJwt(): string
setRefreshJwt(value: string): void
serializeBinary(): Uint8Array
toObject(includeInstance?: boolean): Jwt.AsObject
static toObject(includeInstance: boolean, msg: Jwt): Jwt.AsObject
static extensions: { [key: number]: jspb.ExtensionFieldInfo<jspb.Message> }
static extensionsBinary: {
[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>
}
static serializeBinaryToWriter(message: Jwt, writer: jspb.BinaryWriter): void
static deserializeBinary(bytes: Uint8Array): Jwt
static deserializeBinaryFromReader(message: Jwt, reader: jspb.BinaryReader): Jwt
}
export namespace Jwt {
export type AsObject = {
accessJwt: string
refreshJwt: string
}
}