@dashevo/dapi-grpc 0.25.0-dev.1 → 0.25.0-dev.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Cargo.toml +39 -0
- package/build.rs +65 -0
- package/clients/core/v0/rust/README.md +3 -0
- package/clients/core/v0/rust/core_example.rs +14 -0
- package/clients/platform/v0/nodejs/platform_pbjs.js +9682 -1470
- package/clients/platform/v0/nodejs/platform_protoc.js +6735 -1259
- package/clients/platform/v0/rust/README.md +3 -0
- package/clients/platform/v0/rust/platform_example.rs +15 -0
- package/clients/platform/v0/web/platform_pb.d.ts +709 -5
- package/clients/platform/v0/web/platform_pb.js +6735 -1259
- package/clients/platform/v0/web/platform_pb_service.d.ts +95 -0
- package/clients/platform/v0/web/platform_pb_service.js +200 -0
- package/package.json +15 -3
- package/protos/platform/v0/platform.proto +151 -7
- package/scripts/build.sh +84 -78
- package/scripts/patch-protobuf-js.sh +10 -9
- package/src/lib.rs +15 -0
|
@@ -2,13 +2,15 @@
|
|
|
2
2
|
// file: platform.proto
|
|
3
3
|
|
|
4
4
|
import * as jspb from "google-protobuf";
|
|
5
|
+
import * as google_protobuf_wrappers_pb from "google-protobuf/google/protobuf/wrappers_pb";
|
|
6
|
+
import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
|
|
5
7
|
import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
|
|
6
8
|
|
|
7
9
|
export class Proof extends jspb.Message {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
getGrovedbProof(): Uint8Array | string;
|
|
11
|
+
getGrovedbProof_asU8(): Uint8Array;
|
|
12
|
+
getGrovedbProof_asB64(): string;
|
|
13
|
+
setGrovedbProof(value: Uint8Array | string): void;
|
|
12
14
|
|
|
13
15
|
getQuorumHash(): Uint8Array | string;
|
|
14
16
|
getQuorumHash_asU8(): Uint8Array;
|
|
@@ -35,7 +37,7 @@ export class Proof extends jspb.Message {
|
|
|
35
37
|
|
|
36
38
|
export namespace Proof {
|
|
37
39
|
export type AsObject = {
|
|
38
|
-
|
|
40
|
+
grovedbProof: Uint8Array | string,
|
|
39
41
|
quorumHash: Uint8Array | string,
|
|
40
42
|
signature: Uint8Array | string,
|
|
41
43
|
round: number,
|
|
@@ -202,6 +204,498 @@ export namespace GetIdentityResponse {
|
|
|
202
204
|
}
|
|
203
205
|
}
|
|
204
206
|
|
|
207
|
+
export class GetIdentityBalanceResponse extends jspb.Message {
|
|
208
|
+
hasBalance(): boolean;
|
|
209
|
+
clearBalance(): void;
|
|
210
|
+
getBalance(): google_protobuf_wrappers_pb.UInt64Value | undefined;
|
|
211
|
+
setBalance(value?: google_protobuf_wrappers_pb.UInt64Value): void;
|
|
212
|
+
|
|
213
|
+
hasProof(): boolean;
|
|
214
|
+
clearProof(): void;
|
|
215
|
+
getProof(): Proof | undefined;
|
|
216
|
+
setProof(value?: Proof): void;
|
|
217
|
+
|
|
218
|
+
hasMetadata(): boolean;
|
|
219
|
+
clearMetadata(): void;
|
|
220
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
221
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
222
|
+
|
|
223
|
+
serializeBinary(): Uint8Array;
|
|
224
|
+
toObject(includeInstance?: boolean): GetIdentityBalanceResponse.AsObject;
|
|
225
|
+
static toObject(includeInstance: boolean, msg: GetIdentityBalanceResponse): GetIdentityBalanceResponse.AsObject;
|
|
226
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
227
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
228
|
+
static serializeBinaryToWriter(message: GetIdentityBalanceResponse, writer: jspb.BinaryWriter): void;
|
|
229
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityBalanceResponse;
|
|
230
|
+
static deserializeBinaryFromReader(message: GetIdentityBalanceResponse, reader: jspb.BinaryReader): GetIdentityBalanceResponse;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
export namespace GetIdentityBalanceResponse {
|
|
234
|
+
export type AsObject = {
|
|
235
|
+
balance?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
|
|
236
|
+
proof?: Proof.AsObject,
|
|
237
|
+
metadata?: ResponseMetadata.AsObject,
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
export class GetIdentityBalanceAndRevisionResponse extends jspb.Message {
|
|
242
|
+
hasBalance(): boolean;
|
|
243
|
+
clearBalance(): void;
|
|
244
|
+
getBalance(): google_protobuf_wrappers_pb.UInt64Value | undefined;
|
|
245
|
+
setBalance(value?: google_protobuf_wrappers_pb.UInt64Value): void;
|
|
246
|
+
|
|
247
|
+
hasRevision(): boolean;
|
|
248
|
+
clearRevision(): void;
|
|
249
|
+
getRevision(): google_protobuf_wrappers_pb.UInt64Value | undefined;
|
|
250
|
+
setRevision(value?: google_protobuf_wrappers_pb.UInt64Value): void;
|
|
251
|
+
|
|
252
|
+
hasProof(): boolean;
|
|
253
|
+
clearProof(): void;
|
|
254
|
+
getProof(): Proof | undefined;
|
|
255
|
+
setProof(value?: Proof): void;
|
|
256
|
+
|
|
257
|
+
hasMetadata(): boolean;
|
|
258
|
+
clearMetadata(): void;
|
|
259
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
260
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
261
|
+
|
|
262
|
+
serializeBinary(): Uint8Array;
|
|
263
|
+
toObject(includeInstance?: boolean): GetIdentityBalanceAndRevisionResponse.AsObject;
|
|
264
|
+
static toObject(includeInstance: boolean, msg: GetIdentityBalanceAndRevisionResponse): GetIdentityBalanceAndRevisionResponse.AsObject;
|
|
265
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
266
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
267
|
+
static serializeBinaryToWriter(message: GetIdentityBalanceAndRevisionResponse, writer: jspb.BinaryWriter): void;
|
|
268
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityBalanceAndRevisionResponse;
|
|
269
|
+
static deserializeBinaryFromReader(message: GetIdentityBalanceAndRevisionResponse, reader: jspb.BinaryReader): GetIdentityBalanceAndRevisionResponse;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export namespace GetIdentityBalanceAndRevisionResponse {
|
|
273
|
+
export type AsObject = {
|
|
274
|
+
balance?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
|
|
275
|
+
revision?: google_protobuf_wrappers_pb.UInt64Value.AsObject,
|
|
276
|
+
proof?: Proof.AsObject,
|
|
277
|
+
metadata?: ResponseMetadata.AsObject,
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
export class KeyRequestType extends jspb.Message {
|
|
282
|
+
hasAllKeys(): boolean;
|
|
283
|
+
clearAllKeys(): void;
|
|
284
|
+
getAllKeys(): AllKeys | undefined;
|
|
285
|
+
setAllKeys(value?: AllKeys): void;
|
|
286
|
+
|
|
287
|
+
hasSpecificKeys(): boolean;
|
|
288
|
+
clearSpecificKeys(): void;
|
|
289
|
+
getSpecificKeys(): SpecificKeys | undefined;
|
|
290
|
+
setSpecificKeys(value?: SpecificKeys): void;
|
|
291
|
+
|
|
292
|
+
hasSearchKey(): boolean;
|
|
293
|
+
clearSearchKey(): void;
|
|
294
|
+
getSearchKey(): SearchKey | undefined;
|
|
295
|
+
setSearchKey(value?: SearchKey): void;
|
|
296
|
+
|
|
297
|
+
getRequestCase(): KeyRequestType.RequestCase;
|
|
298
|
+
serializeBinary(): Uint8Array;
|
|
299
|
+
toObject(includeInstance?: boolean): KeyRequestType.AsObject;
|
|
300
|
+
static toObject(includeInstance: boolean, msg: KeyRequestType): KeyRequestType.AsObject;
|
|
301
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
302
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
303
|
+
static serializeBinaryToWriter(message: KeyRequestType, writer: jspb.BinaryWriter): void;
|
|
304
|
+
static deserializeBinary(bytes: Uint8Array): KeyRequestType;
|
|
305
|
+
static deserializeBinaryFromReader(message: KeyRequestType, reader: jspb.BinaryReader): KeyRequestType;
|
|
306
|
+
}
|
|
307
|
+
|
|
308
|
+
export namespace KeyRequestType {
|
|
309
|
+
export type AsObject = {
|
|
310
|
+
allKeys?: AllKeys.AsObject,
|
|
311
|
+
specificKeys?: SpecificKeys.AsObject,
|
|
312
|
+
searchKey?: SearchKey.AsObject,
|
|
313
|
+
}
|
|
314
|
+
|
|
315
|
+
export enum RequestCase {
|
|
316
|
+
REQUEST_NOT_SET = 0,
|
|
317
|
+
ALL_KEYS = 1,
|
|
318
|
+
SPECIFIC_KEYS = 2,
|
|
319
|
+
SEARCH_KEY = 3,
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
export class AllKeys extends jspb.Message {
|
|
324
|
+
serializeBinary(): Uint8Array;
|
|
325
|
+
toObject(includeInstance?: boolean): AllKeys.AsObject;
|
|
326
|
+
static toObject(includeInstance: boolean, msg: AllKeys): AllKeys.AsObject;
|
|
327
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
328
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
329
|
+
static serializeBinaryToWriter(message: AllKeys, writer: jspb.BinaryWriter): void;
|
|
330
|
+
static deserializeBinary(bytes: Uint8Array): AllKeys;
|
|
331
|
+
static deserializeBinaryFromReader(message: AllKeys, reader: jspb.BinaryReader): AllKeys;
|
|
332
|
+
}
|
|
333
|
+
|
|
334
|
+
export namespace AllKeys {
|
|
335
|
+
export type AsObject = {
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
export class SpecificKeys extends jspb.Message {
|
|
340
|
+
clearKeyIdsList(): void;
|
|
341
|
+
getKeyIdsList(): Array<number>;
|
|
342
|
+
setKeyIdsList(value: Array<number>): void;
|
|
343
|
+
addKeyIds(value: number, index?: number): number;
|
|
344
|
+
|
|
345
|
+
serializeBinary(): Uint8Array;
|
|
346
|
+
toObject(includeInstance?: boolean): SpecificKeys.AsObject;
|
|
347
|
+
static toObject(includeInstance: boolean, msg: SpecificKeys): SpecificKeys.AsObject;
|
|
348
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
349
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
350
|
+
static serializeBinaryToWriter(message: SpecificKeys, writer: jspb.BinaryWriter): void;
|
|
351
|
+
static deserializeBinary(bytes: Uint8Array): SpecificKeys;
|
|
352
|
+
static deserializeBinaryFromReader(message: SpecificKeys, reader: jspb.BinaryReader): SpecificKeys;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
export namespace SpecificKeys {
|
|
356
|
+
export type AsObject = {
|
|
357
|
+
keyIdsList: Array<number>,
|
|
358
|
+
}
|
|
359
|
+
}
|
|
360
|
+
|
|
361
|
+
export class SearchKey extends jspb.Message {
|
|
362
|
+
getPurposeMapMap(): jspb.Map<number, SecurityLevelMap>;
|
|
363
|
+
clearPurposeMapMap(): void;
|
|
364
|
+
serializeBinary(): Uint8Array;
|
|
365
|
+
toObject(includeInstance?: boolean): SearchKey.AsObject;
|
|
366
|
+
static toObject(includeInstance: boolean, msg: SearchKey): SearchKey.AsObject;
|
|
367
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
368
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
369
|
+
static serializeBinaryToWriter(message: SearchKey, writer: jspb.BinaryWriter): void;
|
|
370
|
+
static deserializeBinary(bytes: Uint8Array): SearchKey;
|
|
371
|
+
static deserializeBinaryFromReader(message: SearchKey, reader: jspb.BinaryReader): SearchKey;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
export namespace SearchKey {
|
|
375
|
+
export type AsObject = {
|
|
376
|
+
purposeMapMap: Array<[number, SecurityLevelMap.AsObject]>,
|
|
377
|
+
}
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
export class SecurityLevelMap extends jspb.Message {
|
|
381
|
+
getSecurityLevelMapMap(): jspb.Map<number, SecurityLevelMap.KeyKindRequestTypeMap[keyof SecurityLevelMap.KeyKindRequestTypeMap]>;
|
|
382
|
+
clearSecurityLevelMapMap(): void;
|
|
383
|
+
serializeBinary(): Uint8Array;
|
|
384
|
+
toObject(includeInstance?: boolean): SecurityLevelMap.AsObject;
|
|
385
|
+
static toObject(includeInstance: boolean, msg: SecurityLevelMap): SecurityLevelMap.AsObject;
|
|
386
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
387
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
388
|
+
static serializeBinaryToWriter(message: SecurityLevelMap, writer: jspb.BinaryWriter): void;
|
|
389
|
+
static deserializeBinary(bytes: Uint8Array): SecurityLevelMap;
|
|
390
|
+
static deserializeBinaryFromReader(message: SecurityLevelMap, reader: jspb.BinaryReader): SecurityLevelMap;
|
|
391
|
+
}
|
|
392
|
+
|
|
393
|
+
export namespace SecurityLevelMap {
|
|
394
|
+
export type AsObject = {
|
|
395
|
+
securityLevelMapMap: Array<[number, SecurityLevelMap.KeyKindRequestTypeMap[keyof SecurityLevelMap.KeyKindRequestTypeMap]]>,
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export interface KeyKindRequestTypeMap {
|
|
399
|
+
CURRENT_KEY_OF_KIND_REQUEST: 0;
|
|
400
|
+
ALL_KEYS_OF_KIND_REQUEST: 1;
|
|
401
|
+
}
|
|
402
|
+
|
|
403
|
+
export const KeyKindRequestType: KeyKindRequestTypeMap;
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
export class GetIdentityKeysRequest extends jspb.Message {
|
|
407
|
+
getIdentityId(): Uint8Array | string;
|
|
408
|
+
getIdentityId_asU8(): Uint8Array;
|
|
409
|
+
getIdentityId_asB64(): string;
|
|
410
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
411
|
+
|
|
412
|
+
hasRequestType(): boolean;
|
|
413
|
+
clearRequestType(): void;
|
|
414
|
+
getRequestType(): KeyRequestType | undefined;
|
|
415
|
+
setRequestType(value?: KeyRequestType): void;
|
|
416
|
+
|
|
417
|
+
hasLimit(): boolean;
|
|
418
|
+
clearLimit(): void;
|
|
419
|
+
getLimit(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
420
|
+
setLimit(value?: google_protobuf_wrappers_pb.UInt32Value): void;
|
|
421
|
+
|
|
422
|
+
hasOffset(): boolean;
|
|
423
|
+
clearOffset(): void;
|
|
424
|
+
getOffset(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
425
|
+
setOffset(value?: google_protobuf_wrappers_pb.UInt32Value): void;
|
|
426
|
+
|
|
427
|
+
getProve(): boolean;
|
|
428
|
+
setProve(value: boolean): void;
|
|
429
|
+
|
|
430
|
+
serializeBinary(): Uint8Array;
|
|
431
|
+
toObject(includeInstance?: boolean): GetIdentityKeysRequest.AsObject;
|
|
432
|
+
static toObject(includeInstance: boolean, msg: GetIdentityKeysRequest): GetIdentityKeysRequest.AsObject;
|
|
433
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
434
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
435
|
+
static serializeBinaryToWriter(message: GetIdentityKeysRequest, writer: jspb.BinaryWriter): void;
|
|
436
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityKeysRequest;
|
|
437
|
+
static deserializeBinaryFromReader(message: GetIdentityKeysRequest, reader: jspb.BinaryReader): GetIdentityKeysRequest;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
export namespace GetIdentityKeysRequest {
|
|
441
|
+
export type AsObject = {
|
|
442
|
+
identityId: Uint8Array | string,
|
|
443
|
+
requestType?: KeyRequestType.AsObject,
|
|
444
|
+
limit?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
445
|
+
offset?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
446
|
+
prove: boolean,
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
export class GetIdentityKeysResponse extends jspb.Message {
|
|
451
|
+
hasKeys(): boolean;
|
|
452
|
+
clearKeys(): void;
|
|
453
|
+
getKeys(): GetIdentityKeysResponse.Keys | undefined;
|
|
454
|
+
setKeys(value?: GetIdentityKeysResponse.Keys): void;
|
|
455
|
+
|
|
456
|
+
hasProof(): boolean;
|
|
457
|
+
clearProof(): void;
|
|
458
|
+
getProof(): Proof | undefined;
|
|
459
|
+
setProof(value?: Proof): void;
|
|
460
|
+
|
|
461
|
+
hasMetadata(): boolean;
|
|
462
|
+
clearMetadata(): void;
|
|
463
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
464
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
465
|
+
|
|
466
|
+
getResultCase(): GetIdentityKeysResponse.ResultCase;
|
|
467
|
+
serializeBinary(): Uint8Array;
|
|
468
|
+
toObject(includeInstance?: boolean): GetIdentityKeysResponse.AsObject;
|
|
469
|
+
static toObject(includeInstance: boolean, msg: GetIdentityKeysResponse): GetIdentityKeysResponse.AsObject;
|
|
470
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
471
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
472
|
+
static serializeBinaryToWriter(message: GetIdentityKeysResponse, writer: jspb.BinaryWriter): void;
|
|
473
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityKeysResponse;
|
|
474
|
+
static deserializeBinaryFromReader(message: GetIdentityKeysResponse, reader: jspb.BinaryReader): GetIdentityKeysResponse;
|
|
475
|
+
}
|
|
476
|
+
|
|
477
|
+
export namespace GetIdentityKeysResponse {
|
|
478
|
+
export type AsObject = {
|
|
479
|
+
keys?: GetIdentityKeysResponse.Keys.AsObject,
|
|
480
|
+
proof?: Proof.AsObject,
|
|
481
|
+
metadata?: ResponseMetadata.AsObject,
|
|
482
|
+
}
|
|
483
|
+
|
|
484
|
+
export class Keys extends jspb.Message {
|
|
485
|
+
clearKeysBytesList(): void;
|
|
486
|
+
getKeysBytesList(): Array<Uint8Array | string>;
|
|
487
|
+
getKeysBytesList_asU8(): Array<Uint8Array>;
|
|
488
|
+
getKeysBytesList_asB64(): Array<string>;
|
|
489
|
+
setKeysBytesList(value: Array<Uint8Array | string>): void;
|
|
490
|
+
addKeysBytes(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
491
|
+
|
|
492
|
+
serializeBinary(): Uint8Array;
|
|
493
|
+
toObject(includeInstance?: boolean): Keys.AsObject;
|
|
494
|
+
static toObject(includeInstance: boolean, msg: Keys): Keys.AsObject;
|
|
495
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
496
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
497
|
+
static serializeBinaryToWriter(message: Keys, writer: jspb.BinaryWriter): void;
|
|
498
|
+
static deserializeBinary(bytes: Uint8Array): Keys;
|
|
499
|
+
static deserializeBinaryFromReader(message: Keys, reader: jspb.BinaryReader): Keys;
|
|
500
|
+
}
|
|
501
|
+
|
|
502
|
+
export namespace Keys {
|
|
503
|
+
export type AsObject = {
|
|
504
|
+
keysBytesList: Array<Uint8Array | string>,
|
|
505
|
+
}
|
|
506
|
+
}
|
|
507
|
+
|
|
508
|
+
export enum ResultCase {
|
|
509
|
+
RESULT_NOT_SET = 0,
|
|
510
|
+
KEYS = 1,
|
|
511
|
+
PROOF = 2,
|
|
512
|
+
}
|
|
513
|
+
}
|
|
514
|
+
|
|
515
|
+
export class GetIdentitiesKeysRequest extends jspb.Message {
|
|
516
|
+
clearIdentityIdsList(): void;
|
|
517
|
+
getIdentityIdsList(): Array<Uint8Array | string>;
|
|
518
|
+
getIdentityIdsList_asU8(): Array<Uint8Array>;
|
|
519
|
+
getIdentityIdsList_asB64(): Array<string>;
|
|
520
|
+
setIdentityIdsList(value: Array<Uint8Array | string>): void;
|
|
521
|
+
addIdentityIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
522
|
+
|
|
523
|
+
hasRequestType(): boolean;
|
|
524
|
+
clearRequestType(): void;
|
|
525
|
+
getRequestType(): KeyRequestType | undefined;
|
|
526
|
+
setRequestType(value?: KeyRequestType): void;
|
|
527
|
+
|
|
528
|
+
hasLimit(): boolean;
|
|
529
|
+
clearLimit(): void;
|
|
530
|
+
getLimit(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
531
|
+
setLimit(value?: google_protobuf_wrappers_pb.UInt32Value): void;
|
|
532
|
+
|
|
533
|
+
hasOffset(): boolean;
|
|
534
|
+
clearOffset(): void;
|
|
535
|
+
getOffset(): google_protobuf_wrappers_pb.UInt32Value | undefined;
|
|
536
|
+
setOffset(value?: google_protobuf_wrappers_pb.UInt32Value): void;
|
|
537
|
+
|
|
538
|
+
getProve(): boolean;
|
|
539
|
+
setProve(value: boolean): void;
|
|
540
|
+
|
|
541
|
+
serializeBinary(): Uint8Array;
|
|
542
|
+
toObject(includeInstance?: boolean): GetIdentitiesKeysRequest.AsObject;
|
|
543
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesKeysRequest): GetIdentitiesKeysRequest.AsObject;
|
|
544
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
545
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
546
|
+
static serializeBinaryToWriter(message: GetIdentitiesKeysRequest, writer: jspb.BinaryWriter): void;
|
|
547
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesKeysRequest;
|
|
548
|
+
static deserializeBinaryFromReader(message: GetIdentitiesKeysRequest, reader: jspb.BinaryReader): GetIdentitiesKeysRequest;
|
|
549
|
+
}
|
|
550
|
+
|
|
551
|
+
export namespace GetIdentitiesKeysRequest {
|
|
552
|
+
export type AsObject = {
|
|
553
|
+
identityIdsList: Array<Uint8Array | string>,
|
|
554
|
+
requestType?: KeyRequestType.AsObject,
|
|
555
|
+
limit?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
556
|
+
offset?: google_protobuf_wrappers_pb.UInt32Value.AsObject,
|
|
557
|
+
prove: boolean,
|
|
558
|
+
}
|
|
559
|
+
|
|
560
|
+
export class SecurityLevelMap extends jspb.Message {
|
|
561
|
+
getSecurityLevelMapMap(): jspb.Map<number, GetIdentitiesKeysRequest.SecurityLevelMap.KeyKindRequestTypeMap[keyof GetIdentitiesKeysRequest.SecurityLevelMap.KeyKindRequestTypeMap]>;
|
|
562
|
+
clearSecurityLevelMapMap(): void;
|
|
563
|
+
serializeBinary(): Uint8Array;
|
|
564
|
+
toObject(includeInstance?: boolean): SecurityLevelMap.AsObject;
|
|
565
|
+
static toObject(includeInstance: boolean, msg: SecurityLevelMap): SecurityLevelMap.AsObject;
|
|
566
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
567
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
568
|
+
static serializeBinaryToWriter(message: SecurityLevelMap, writer: jspb.BinaryWriter): void;
|
|
569
|
+
static deserializeBinary(bytes: Uint8Array): SecurityLevelMap;
|
|
570
|
+
static deserializeBinaryFromReader(message: SecurityLevelMap, reader: jspb.BinaryReader): SecurityLevelMap;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
export namespace SecurityLevelMap {
|
|
574
|
+
export type AsObject = {
|
|
575
|
+
securityLevelMapMap: Array<[number, GetIdentitiesKeysRequest.SecurityLevelMap.KeyKindRequestTypeMap[keyof GetIdentitiesKeysRequest.SecurityLevelMap.KeyKindRequestTypeMap]]>,
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
export interface KeyKindRequestTypeMap {
|
|
579
|
+
CURRENT_KEY_OF_KIND_REQUEST: 0;
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
export const KeyKindRequestType: KeyKindRequestTypeMap;
|
|
583
|
+
}
|
|
584
|
+
}
|
|
585
|
+
|
|
586
|
+
export class GetIdentitiesKeysResponse extends jspb.Message {
|
|
587
|
+
hasPublicKeys(): boolean;
|
|
588
|
+
clearPublicKeys(): void;
|
|
589
|
+
getPublicKeys(): GetIdentitiesKeysResponse.PublicKeyEntries | undefined;
|
|
590
|
+
setPublicKeys(value?: GetIdentitiesKeysResponse.PublicKeyEntries): void;
|
|
591
|
+
|
|
592
|
+
hasProof(): boolean;
|
|
593
|
+
clearProof(): void;
|
|
594
|
+
getProof(): Proof | undefined;
|
|
595
|
+
setProof(value?: Proof): void;
|
|
596
|
+
|
|
597
|
+
hasMetadata(): boolean;
|
|
598
|
+
clearMetadata(): void;
|
|
599
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
600
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
601
|
+
|
|
602
|
+
getResultCase(): GetIdentitiesKeysResponse.ResultCase;
|
|
603
|
+
serializeBinary(): Uint8Array;
|
|
604
|
+
toObject(includeInstance?: boolean): GetIdentitiesKeysResponse.AsObject;
|
|
605
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesKeysResponse): GetIdentitiesKeysResponse.AsObject;
|
|
606
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
607
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
608
|
+
static serializeBinaryToWriter(message: GetIdentitiesKeysResponse, writer: jspb.BinaryWriter): void;
|
|
609
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesKeysResponse;
|
|
610
|
+
static deserializeBinaryFromReader(message: GetIdentitiesKeysResponse, reader: jspb.BinaryReader): GetIdentitiesKeysResponse;
|
|
611
|
+
}
|
|
612
|
+
|
|
613
|
+
export namespace GetIdentitiesKeysResponse {
|
|
614
|
+
export type AsObject = {
|
|
615
|
+
publicKeys?: GetIdentitiesKeysResponse.PublicKeyEntries.AsObject,
|
|
616
|
+
proof?: Proof.AsObject,
|
|
617
|
+
metadata?: ResponseMetadata.AsObject,
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
export class PublicKey extends jspb.Message {
|
|
621
|
+
getValue(): Uint8Array | string;
|
|
622
|
+
getValue_asU8(): Uint8Array;
|
|
623
|
+
getValue_asB64(): string;
|
|
624
|
+
setValue(value: Uint8Array | string): void;
|
|
625
|
+
|
|
626
|
+
serializeBinary(): Uint8Array;
|
|
627
|
+
toObject(includeInstance?: boolean): PublicKey.AsObject;
|
|
628
|
+
static toObject(includeInstance: boolean, msg: PublicKey): PublicKey.AsObject;
|
|
629
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
630
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
631
|
+
static serializeBinaryToWriter(message: PublicKey, writer: jspb.BinaryWriter): void;
|
|
632
|
+
static deserializeBinary(bytes: Uint8Array): PublicKey;
|
|
633
|
+
static deserializeBinaryFromReader(message: PublicKey, reader: jspb.BinaryReader): PublicKey;
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
export namespace PublicKey {
|
|
637
|
+
export type AsObject = {
|
|
638
|
+
value: Uint8Array | string,
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
|
|
642
|
+
export class PublicKeyEntry extends jspb.Message {
|
|
643
|
+
getKey(): Uint8Array | string;
|
|
644
|
+
getKey_asU8(): Uint8Array;
|
|
645
|
+
getKey_asB64(): string;
|
|
646
|
+
setKey(value: Uint8Array | string): void;
|
|
647
|
+
|
|
648
|
+
hasValue(): boolean;
|
|
649
|
+
clearValue(): void;
|
|
650
|
+
getValue(): GetIdentitiesKeysResponse.PublicKey | undefined;
|
|
651
|
+
setValue(value?: GetIdentitiesKeysResponse.PublicKey): void;
|
|
652
|
+
|
|
653
|
+
serializeBinary(): Uint8Array;
|
|
654
|
+
toObject(includeInstance?: boolean): PublicKeyEntry.AsObject;
|
|
655
|
+
static toObject(includeInstance: boolean, msg: PublicKeyEntry): PublicKeyEntry.AsObject;
|
|
656
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
657
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
658
|
+
static serializeBinaryToWriter(message: PublicKeyEntry, writer: jspb.BinaryWriter): void;
|
|
659
|
+
static deserializeBinary(bytes: Uint8Array): PublicKeyEntry;
|
|
660
|
+
static deserializeBinaryFromReader(message: PublicKeyEntry, reader: jspb.BinaryReader): PublicKeyEntry;
|
|
661
|
+
}
|
|
662
|
+
|
|
663
|
+
export namespace PublicKeyEntry {
|
|
664
|
+
export type AsObject = {
|
|
665
|
+
key: Uint8Array | string,
|
|
666
|
+
value?: GetIdentitiesKeysResponse.PublicKey.AsObject,
|
|
667
|
+
}
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
export class PublicKeyEntries extends jspb.Message {
|
|
671
|
+
clearPublicKeyEntriesList(): void;
|
|
672
|
+
getPublicKeyEntriesList(): Array<GetIdentitiesKeysResponse.PublicKeyEntry>;
|
|
673
|
+
setPublicKeyEntriesList(value: Array<GetIdentitiesKeysResponse.PublicKeyEntry>): void;
|
|
674
|
+
addPublicKeyEntries(value?: GetIdentitiesKeysResponse.PublicKeyEntry, index?: number): GetIdentitiesKeysResponse.PublicKeyEntry;
|
|
675
|
+
|
|
676
|
+
serializeBinary(): Uint8Array;
|
|
677
|
+
toObject(includeInstance?: boolean): PublicKeyEntries.AsObject;
|
|
678
|
+
static toObject(includeInstance: boolean, msg: PublicKeyEntries): PublicKeyEntries.AsObject;
|
|
679
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
680
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
681
|
+
static serializeBinaryToWriter(message: PublicKeyEntries, writer: jspb.BinaryWriter): void;
|
|
682
|
+
static deserializeBinary(bytes: Uint8Array): PublicKeyEntries;
|
|
683
|
+
static deserializeBinaryFromReader(message: PublicKeyEntries, reader: jspb.BinaryReader): PublicKeyEntries;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
export namespace PublicKeyEntries {
|
|
687
|
+
export type AsObject = {
|
|
688
|
+
publicKeyEntriesList: Array<GetIdentitiesKeysResponse.PublicKeyEntry.AsObject>,
|
|
689
|
+
}
|
|
690
|
+
}
|
|
691
|
+
|
|
692
|
+
export enum ResultCase {
|
|
693
|
+
RESULT_NOT_SET = 0,
|
|
694
|
+
PUBLIC_KEYS = 1,
|
|
695
|
+
PROOF = 2,
|
|
696
|
+
}
|
|
697
|
+
}
|
|
698
|
+
|
|
205
699
|
export class GetDataContractRequest extends jspb.Message {
|
|
206
700
|
getId(): Uint8Array | string;
|
|
207
701
|
getId_asU8(): Uint8Array;
|
|
@@ -262,6 +756,147 @@ export namespace GetDataContractResponse {
|
|
|
262
756
|
}
|
|
263
757
|
}
|
|
264
758
|
|
|
759
|
+
export class GetDataContractsRequest extends jspb.Message {
|
|
760
|
+
clearIdsList(): void;
|
|
761
|
+
getIdsList(): Array<Uint8Array | string>;
|
|
762
|
+
getIdsList_asU8(): Array<Uint8Array>;
|
|
763
|
+
getIdsList_asB64(): Array<string>;
|
|
764
|
+
setIdsList(value: Array<Uint8Array | string>): void;
|
|
765
|
+
addIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
766
|
+
|
|
767
|
+
getProve(): boolean;
|
|
768
|
+
setProve(value: boolean): void;
|
|
769
|
+
|
|
770
|
+
serializeBinary(): Uint8Array;
|
|
771
|
+
toObject(includeInstance?: boolean): GetDataContractsRequest.AsObject;
|
|
772
|
+
static toObject(includeInstance: boolean, msg: GetDataContractsRequest): GetDataContractsRequest.AsObject;
|
|
773
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
774
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
775
|
+
static serializeBinaryToWriter(message: GetDataContractsRequest, writer: jspb.BinaryWriter): void;
|
|
776
|
+
static deserializeBinary(bytes: Uint8Array): GetDataContractsRequest;
|
|
777
|
+
static deserializeBinaryFromReader(message: GetDataContractsRequest, reader: jspb.BinaryReader): GetDataContractsRequest;
|
|
778
|
+
}
|
|
779
|
+
|
|
780
|
+
export namespace GetDataContractsRequest {
|
|
781
|
+
export type AsObject = {
|
|
782
|
+
idsList: Array<Uint8Array | string>,
|
|
783
|
+
prove: boolean,
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
export class GetDataContractsResponse extends jspb.Message {
|
|
788
|
+
hasDataContracts(): boolean;
|
|
789
|
+
clearDataContracts(): void;
|
|
790
|
+
getDataContracts(): GetDataContractsResponse.DataContracts | undefined;
|
|
791
|
+
setDataContracts(value?: GetDataContractsResponse.DataContracts): void;
|
|
792
|
+
|
|
793
|
+
hasProof(): boolean;
|
|
794
|
+
clearProof(): void;
|
|
795
|
+
getProof(): Proof | undefined;
|
|
796
|
+
setProof(value?: Proof): void;
|
|
797
|
+
|
|
798
|
+
hasMetadata(): boolean;
|
|
799
|
+
clearMetadata(): void;
|
|
800
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
801
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
802
|
+
|
|
803
|
+
getResultCase(): GetDataContractsResponse.ResultCase;
|
|
804
|
+
serializeBinary(): Uint8Array;
|
|
805
|
+
toObject(includeInstance?: boolean): GetDataContractsResponse.AsObject;
|
|
806
|
+
static toObject(includeInstance: boolean, msg: GetDataContractsResponse): GetDataContractsResponse.AsObject;
|
|
807
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
808
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
809
|
+
static serializeBinaryToWriter(message: GetDataContractsResponse, writer: jspb.BinaryWriter): void;
|
|
810
|
+
static deserializeBinary(bytes: Uint8Array): GetDataContractsResponse;
|
|
811
|
+
static deserializeBinaryFromReader(message: GetDataContractsResponse, reader: jspb.BinaryReader): GetDataContractsResponse;
|
|
812
|
+
}
|
|
813
|
+
|
|
814
|
+
export namespace GetDataContractsResponse {
|
|
815
|
+
export type AsObject = {
|
|
816
|
+
dataContracts?: GetDataContractsResponse.DataContracts.AsObject,
|
|
817
|
+
proof?: Proof.AsObject,
|
|
818
|
+
metadata?: ResponseMetadata.AsObject,
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
export class DataContractValue extends jspb.Message {
|
|
822
|
+
getValue(): Uint8Array | string;
|
|
823
|
+
getValue_asU8(): Uint8Array;
|
|
824
|
+
getValue_asB64(): string;
|
|
825
|
+
setValue(value: Uint8Array | string): void;
|
|
826
|
+
|
|
827
|
+
serializeBinary(): Uint8Array;
|
|
828
|
+
toObject(includeInstance?: boolean): DataContractValue.AsObject;
|
|
829
|
+
static toObject(includeInstance: boolean, msg: DataContractValue): DataContractValue.AsObject;
|
|
830
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
831
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
832
|
+
static serializeBinaryToWriter(message: DataContractValue, writer: jspb.BinaryWriter): void;
|
|
833
|
+
static deserializeBinary(bytes: Uint8Array): DataContractValue;
|
|
834
|
+
static deserializeBinaryFromReader(message: DataContractValue, reader: jspb.BinaryReader): DataContractValue;
|
|
835
|
+
}
|
|
836
|
+
|
|
837
|
+
export namespace DataContractValue {
|
|
838
|
+
export type AsObject = {
|
|
839
|
+
value: Uint8Array | string,
|
|
840
|
+
}
|
|
841
|
+
}
|
|
842
|
+
|
|
843
|
+
export class DataContractEntry extends jspb.Message {
|
|
844
|
+
getKey(): Uint8Array | string;
|
|
845
|
+
getKey_asU8(): Uint8Array;
|
|
846
|
+
getKey_asB64(): string;
|
|
847
|
+
setKey(value: Uint8Array | string): void;
|
|
848
|
+
|
|
849
|
+
hasValue(): boolean;
|
|
850
|
+
clearValue(): void;
|
|
851
|
+
getValue(): GetDataContractsResponse.DataContractValue | undefined;
|
|
852
|
+
setValue(value?: GetDataContractsResponse.DataContractValue): void;
|
|
853
|
+
|
|
854
|
+
serializeBinary(): Uint8Array;
|
|
855
|
+
toObject(includeInstance?: boolean): DataContractEntry.AsObject;
|
|
856
|
+
static toObject(includeInstance: boolean, msg: DataContractEntry): DataContractEntry.AsObject;
|
|
857
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
858
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
859
|
+
static serializeBinaryToWriter(message: DataContractEntry, writer: jspb.BinaryWriter): void;
|
|
860
|
+
static deserializeBinary(bytes: Uint8Array): DataContractEntry;
|
|
861
|
+
static deserializeBinaryFromReader(message: DataContractEntry, reader: jspb.BinaryReader): DataContractEntry;
|
|
862
|
+
}
|
|
863
|
+
|
|
864
|
+
export namespace DataContractEntry {
|
|
865
|
+
export type AsObject = {
|
|
866
|
+
key: Uint8Array | string,
|
|
867
|
+
value?: GetDataContractsResponse.DataContractValue.AsObject,
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
|
|
871
|
+
export class DataContracts extends jspb.Message {
|
|
872
|
+
clearDataContractEntriesList(): void;
|
|
873
|
+
getDataContractEntriesList(): Array<GetDataContractsResponse.DataContractEntry>;
|
|
874
|
+
setDataContractEntriesList(value: Array<GetDataContractsResponse.DataContractEntry>): void;
|
|
875
|
+
addDataContractEntries(value?: GetDataContractsResponse.DataContractEntry, index?: number): GetDataContractsResponse.DataContractEntry;
|
|
876
|
+
|
|
877
|
+
serializeBinary(): Uint8Array;
|
|
878
|
+
toObject(includeInstance?: boolean): DataContracts.AsObject;
|
|
879
|
+
static toObject(includeInstance: boolean, msg: DataContracts): DataContracts.AsObject;
|
|
880
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
881
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
882
|
+
static serializeBinaryToWriter(message: DataContracts, writer: jspb.BinaryWriter): void;
|
|
883
|
+
static deserializeBinary(bytes: Uint8Array): DataContracts;
|
|
884
|
+
static deserializeBinaryFromReader(message: DataContracts, reader: jspb.BinaryReader): DataContracts;
|
|
885
|
+
}
|
|
886
|
+
|
|
887
|
+
export namespace DataContracts {
|
|
888
|
+
export type AsObject = {
|
|
889
|
+
dataContractEntriesList: Array<GetDataContractsResponse.DataContractEntry.AsObject>,
|
|
890
|
+
}
|
|
891
|
+
}
|
|
892
|
+
|
|
893
|
+
export enum ResultCase {
|
|
894
|
+
RESULT_NOT_SET = 0,
|
|
895
|
+
DATA_CONTRACTS = 1,
|
|
896
|
+
PROOF = 2,
|
|
897
|
+
}
|
|
898
|
+
}
|
|
899
|
+
|
|
265
900
|
export class GetDocumentsRequest extends jspb.Message {
|
|
266
901
|
getDataContractId(): Uint8Array | string;
|
|
267
902
|
getDataContractId_asU8(): Uint8Array;
|
|
@@ -431,6 +1066,75 @@ export namespace GetIdentitiesByPublicKeyHashesResponse {
|
|
|
431
1066
|
}
|
|
432
1067
|
}
|
|
433
1068
|
|
|
1069
|
+
export class GetIdentityByPublicKeyHashesRequest extends jspb.Message {
|
|
1070
|
+
getPublicKeyHash(): Uint8Array | string;
|
|
1071
|
+
getPublicKeyHash_asU8(): Uint8Array;
|
|
1072
|
+
getPublicKeyHash_asB64(): string;
|
|
1073
|
+
setPublicKeyHash(value: Uint8Array | string): void;
|
|
1074
|
+
|
|
1075
|
+
getProve(): boolean;
|
|
1076
|
+
setProve(value: boolean): void;
|
|
1077
|
+
|
|
1078
|
+
serializeBinary(): Uint8Array;
|
|
1079
|
+
toObject(includeInstance?: boolean): GetIdentityByPublicKeyHashesRequest.AsObject;
|
|
1080
|
+
static toObject(includeInstance: boolean, msg: GetIdentityByPublicKeyHashesRequest): GetIdentityByPublicKeyHashesRequest.AsObject;
|
|
1081
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1082
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1083
|
+
static serializeBinaryToWriter(message: GetIdentityByPublicKeyHashesRequest, writer: jspb.BinaryWriter): void;
|
|
1084
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityByPublicKeyHashesRequest;
|
|
1085
|
+
static deserializeBinaryFromReader(message: GetIdentityByPublicKeyHashesRequest, reader: jspb.BinaryReader): GetIdentityByPublicKeyHashesRequest;
|
|
1086
|
+
}
|
|
1087
|
+
|
|
1088
|
+
export namespace GetIdentityByPublicKeyHashesRequest {
|
|
1089
|
+
export type AsObject = {
|
|
1090
|
+
publicKeyHash: Uint8Array | string,
|
|
1091
|
+
prove: boolean,
|
|
1092
|
+
}
|
|
1093
|
+
}
|
|
1094
|
+
|
|
1095
|
+
export class GetIdentityByPublicKeyHashesResponse extends jspb.Message {
|
|
1096
|
+
hasIdentity(): boolean;
|
|
1097
|
+
clearIdentity(): void;
|
|
1098
|
+
getIdentity(): Uint8Array | string;
|
|
1099
|
+
getIdentity_asU8(): Uint8Array;
|
|
1100
|
+
getIdentity_asB64(): string;
|
|
1101
|
+
setIdentity(value: Uint8Array | string): void;
|
|
1102
|
+
|
|
1103
|
+
hasProof(): boolean;
|
|
1104
|
+
clearProof(): void;
|
|
1105
|
+
getProof(): Proof | undefined;
|
|
1106
|
+
setProof(value?: Proof): void;
|
|
1107
|
+
|
|
1108
|
+
hasMetadata(): boolean;
|
|
1109
|
+
clearMetadata(): void;
|
|
1110
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
1111
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
1112
|
+
|
|
1113
|
+
getResultCase(): GetIdentityByPublicKeyHashesResponse.ResultCase;
|
|
1114
|
+
serializeBinary(): Uint8Array;
|
|
1115
|
+
toObject(includeInstance?: boolean): GetIdentityByPublicKeyHashesResponse.AsObject;
|
|
1116
|
+
static toObject(includeInstance: boolean, msg: GetIdentityByPublicKeyHashesResponse): GetIdentityByPublicKeyHashesResponse.AsObject;
|
|
1117
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1118
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1119
|
+
static serializeBinaryToWriter(message: GetIdentityByPublicKeyHashesResponse, writer: jspb.BinaryWriter): void;
|
|
1120
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentityByPublicKeyHashesResponse;
|
|
1121
|
+
static deserializeBinaryFromReader(message: GetIdentityByPublicKeyHashesResponse, reader: jspb.BinaryReader): GetIdentityByPublicKeyHashesResponse;
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export namespace GetIdentityByPublicKeyHashesResponse {
|
|
1125
|
+
export type AsObject = {
|
|
1126
|
+
identity: Uint8Array | string,
|
|
1127
|
+
proof?: Proof.AsObject,
|
|
1128
|
+
metadata?: ResponseMetadata.AsObject,
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
export enum ResultCase {
|
|
1132
|
+
RESULT_NOT_SET = 0,
|
|
1133
|
+
IDENTITY = 1,
|
|
1134
|
+
PROOF = 2,
|
|
1135
|
+
}
|
|
1136
|
+
}
|
|
1137
|
+
|
|
434
1138
|
export class WaitForStateTransitionResultRequest extends jspb.Message {
|
|
435
1139
|
getStateTransitionHash(): Uint8Array | string;
|
|
436
1140
|
getStateTransitionHash_asU8(): Uint8Array;
|