@dashevo/dapi-grpc 1.0.0-dev.11 → 1.0.0-dev.12
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 +2 -1
- package/build.rs +4 -2
- package/clients/core/v0/nodejs/CorePromiseClient.js +51 -13
- package/clients/core/v0/nodejs/core_pbjs.js +869 -703
- package/clients/core/v0/nodejs/core_protoc.js +681 -609
- package/clients/core/v0/web/CorePromiseClient.js +19 -5
- package/clients/core/v0/web/core_pb.d.ts +99 -89
- package/clients/core/v0/web/core_pb.js +681 -609
- package/clients/core/v0/web/core_pb_service.d.ts +29 -10
- package/clients/core/v0/web/core_pb_service.js +46 -6
- package/clients/platform/v0/nodejs/PlatformPromiseClient.js +55 -14
- package/clients/platform/v0/nodejs/platform_pbjs.js +7805 -7761
- package/clients/platform/v0/nodejs/platform_protoc.js +7845 -7749
- package/clients/platform/v0/web/PlatformPromiseClient.js +22 -8
- package/clients/platform/v0/web/platform_pb.d.ts +388 -372
- package/clients/platform/v0/web/platform_pb.js +7845 -7749
- package/clients/platform/v0/web/platform_pb_service.d.ts +35 -35
- package/clients/platform/v0/web/platform_pb_service.js +35 -35
- package/package.json +2 -2
- package/protos/core/v0/core.proto +27 -23
- package/protos/platform/v0/platform.proto +49 -64
- package/src/core/proto/org.dash.platform.dapi.v0.rs +196 -101
- package/src/platform/proto/org.dash.platform.dapi.v0.rs +197 -345
- package/test/unit/clients/core/v0/nodejs/CorePromiseClient.spec.js +27 -6
- package/test/unit/clients/platform/v0/nodejs/PlatformPromiseClient.spec.js +21 -0
- package/test/unit/getCoreDefinition.spec.js +5 -2
|
@@ -509,203 +509,6 @@ export namespace GetIdentityResponse {
|
|
|
509
509
|
}
|
|
510
510
|
}
|
|
511
511
|
|
|
512
|
-
export class GetIdentitiesRequest extends jspb.Message {
|
|
513
|
-
hasV0(): boolean;
|
|
514
|
-
clearV0(): void;
|
|
515
|
-
getV0(): GetIdentitiesRequest.GetIdentitiesRequestV0 | undefined;
|
|
516
|
-
setV0(value?: GetIdentitiesRequest.GetIdentitiesRequestV0): void;
|
|
517
|
-
|
|
518
|
-
getVersionCase(): GetIdentitiesRequest.VersionCase;
|
|
519
|
-
serializeBinary(): Uint8Array;
|
|
520
|
-
toObject(includeInstance?: boolean): GetIdentitiesRequest.AsObject;
|
|
521
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesRequest): GetIdentitiesRequest.AsObject;
|
|
522
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
523
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
524
|
-
static serializeBinaryToWriter(message: GetIdentitiesRequest, writer: jspb.BinaryWriter): void;
|
|
525
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesRequest;
|
|
526
|
-
static deserializeBinaryFromReader(message: GetIdentitiesRequest, reader: jspb.BinaryReader): GetIdentitiesRequest;
|
|
527
|
-
}
|
|
528
|
-
|
|
529
|
-
export namespace GetIdentitiesRequest {
|
|
530
|
-
export type AsObject = {
|
|
531
|
-
v0?: GetIdentitiesRequest.GetIdentitiesRequestV0.AsObject,
|
|
532
|
-
}
|
|
533
|
-
|
|
534
|
-
export class GetIdentitiesRequestV0 extends jspb.Message {
|
|
535
|
-
clearIdsList(): void;
|
|
536
|
-
getIdsList(): Array<Uint8Array | string>;
|
|
537
|
-
getIdsList_asU8(): Array<Uint8Array>;
|
|
538
|
-
getIdsList_asB64(): Array<string>;
|
|
539
|
-
setIdsList(value: Array<Uint8Array | string>): void;
|
|
540
|
-
addIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
541
|
-
|
|
542
|
-
getProve(): boolean;
|
|
543
|
-
setProve(value: boolean): void;
|
|
544
|
-
|
|
545
|
-
serializeBinary(): Uint8Array;
|
|
546
|
-
toObject(includeInstance?: boolean): GetIdentitiesRequestV0.AsObject;
|
|
547
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesRequestV0): GetIdentitiesRequestV0.AsObject;
|
|
548
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
549
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
550
|
-
static serializeBinaryToWriter(message: GetIdentitiesRequestV0, writer: jspb.BinaryWriter): void;
|
|
551
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesRequestV0;
|
|
552
|
-
static deserializeBinaryFromReader(message: GetIdentitiesRequestV0, reader: jspb.BinaryReader): GetIdentitiesRequestV0;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
export namespace GetIdentitiesRequestV0 {
|
|
556
|
-
export type AsObject = {
|
|
557
|
-
idsList: Array<Uint8Array | string>,
|
|
558
|
-
prove: boolean,
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
|
|
562
|
-
export enum VersionCase {
|
|
563
|
-
VERSION_NOT_SET = 0,
|
|
564
|
-
V0 = 1,
|
|
565
|
-
}
|
|
566
|
-
}
|
|
567
|
-
|
|
568
|
-
export class GetIdentitiesResponse extends jspb.Message {
|
|
569
|
-
hasV0(): boolean;
|
|
570
|
-
clearV0(): void;
|
|
571
|
-
getV0(): GetIdentitiesResponse.GetIdentitiesResponseV0 | undefined;
|
|
572
|
-
setV0(value?: GetIdentitiesResponse.GetIdentitiesResponseV0): void;
|
|
573
|
-
|
|
574
|
-
getVersionCase(): GetIdentitiesResponse.VersionCase;
|
|
575
|
-
serializeBinary(): Uint8Array;
|
|
576
|
-
toObject(includeInstance?: boolean): GetIdentitiesResponse.AsObject;
|
|
577
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesResponse): GetIdentitiesResponse.AsObject;
|
|
578
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
579
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
580
|
-
static serializeBinaryToWriter(message: GetIdentitiesResponse, writer: jspb.BinaryWriter): void;
|
|
581
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesResponse;
|
|
582
|
-
static deserializeBinaryFromReader(message: GetIdentitiesResponse, reader: jspb.BinaryReader): GetIdentitiesResponse;
|
|
583
|
-
}
|
|
584
|
-
|
|
585
|
-
export namespace GetIdentitiesResponse {
|
|
586
|
-
export type AsObject = {
|
|
587
|
-
v0?: GetIdentitiesResponse.GetIdentitiesResponseV0.AsObject,
|
|
588
|
-
}
|
|
589
|
-
|
|
590
|
-
export class IdentityValue extends jspb.Message {
|
|
591
|
-
getValue(): Uint8Array | string;
|
|
592
|
-
getValue_asU8(): Uint8Array;
|
|
593
|
-
getValue_asB64(): string;
|
|
594
|
-
setValue(value: Uint8Array | string): void;
|
|
595
|
-
|
|
596
|
-
serializeBinary(): Uint8Array;
|
|
597
|
-
toObject(includeInstance?: boolean): IdentityValue.AsObject;
|
|
598
|
-
static toObject(includeInstance: boolean, msg: IdentityValue): IdentityValue.AsObject;
|
|
599
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
600
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
601
|
-
static serializeBinaryToWriter(message: IdentityValue, writer: jspb.BinaryWriter): void;
|
|
602
|
-
static deserializeBinary(bytes: Uint8Array): IdentityValue;
|
|
603
|
-
static deserializeBinaryFromReader(message: IdentityValue, reader: jspb.BinaryReader): IdentityValue;
|
|
604
|
-
}
|
|
605
|
-
|
|
606
|
-
export namespace IdentityValue {
|
|
607
|
-
export type AsObject = {
|
|
608
|
-
value: Uint8Array | string,
|
|
609
|
-
}
|
|
610
|
-
}
|
|
611
|
-
|
|
612
|
-
export class IdentityEntry extends jspb.Message {
|
|
613
|
-
getKey(): Uint8Array | string;
|
|
614
|
-
getKey_asU8(): Uint8Array;
|
|
615
|
-
getKey_asB64(): string;
|
|
616
|
-
setKey(value: Uint8Array | string): void;
|
|
617
|
-
|
|
618
|
-
hasValue(): boolean;
|
|
619
|
-
clearValue(): void;
|
|
620
|
-
getValue(): GetIdentitiesResponse.IdentityValue | undefined;
|
|
621
|
-
setValue(value?: GetIdentitiesResponse.IdentityValue): void;
|
|
622
|
-
|
|
623
|
-
serializeBinary(): Uint8Array;
|
|
624
|
-
toObject(includeInstance?: boolean): IdentityEntry.AsObject;
|
|
625
|
-
static toObject(includeInstance: boolean, msg: IdentityEntry): IdentityEntry.AsObject;
|
|
626
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
627
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
628
|
-
static serializeBinaryToWriter(message: IdentityEntry, writer: jspb.BinaryWriter): void;
|
|
629
|
-
static deserializeBinary(bytes: Uint8Array): IdentityEntry;
|
|
630
|
-
static deserializeBinaryFromReader(message: IdentityEntry, reader: jspb.BinaryReader): IdentityEntry;
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
export namespace IdentityEntry {
|
|
634
|
-
export type AsObject = {
|
|
635
|
-
key: Uint8Array | string,
|
|
636
|
-
value?: GetIdentitiesResponse.IdentityValue.AsObject,
|
|
637
|
-
}
|
|
638
|
-
}
|
|
639
|
-
|
|
640
|
-
export class Identities extends jspb.Message {
|
|
641
|
-
clearIdentityEntriesList(): void;
|
|
642
|
-
getIdentityEntriesList(): Array<GetIdentitiesResponse.IdentityEntry>;
|
|
643
|
-
setIdentityEntriesList(value: Array<GetIdentitiesResponse.IdentityEntry>): void;
|
|
644
|
-
addIdentityEntries(value?: GetIdentitiesResponse.IdentityEntry, index?: number): GetIdentitiesResponse.IdentityEntry;
|
|
645
|
-
|
|
646
|
-
serializeBinary(): Uint8Array;
|
|
647
|
-
toObject(includeInstance?: boolean): Identities.AsObject;
|
|
648
|
-
static toObject(includeInstance: boolean, msg: Identities): Identities.AsObject;
|
|
649
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
650
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
651
|
-
static serializeBinaryToWriter(message: Identities, writer: jspb.BinaryWriter): void;
|
|
652
|
-
static deserializeBinary(bytes: Uint8Array): Identities;
|
|
653
|
-
static deserializeBinaryFromReader(message: Identities, reader: jspb.BinaryReader): Identities;
|
|
654
|
-
}
|
|
655
|
-
|
|
656
|
-
export namespace Identities {
|
|
657
|
-
export type AsObject = {
|
|
658
|
-
identityEntriesList: Array<GetIdentitiesResponse.IdentityEntry.AsObject>,
|
|
659
|
-
}
|
|
660
|
-
}
|
|
661
|
-
|
|
662
|
-
export class GetIdentitiesResponseV0 extends jspb.Message {
|
|
663
|
-
hasIdentities(): boolean;
|
|
664
|
-
clearIdentities(): void;
|
|
665
|
-
getIdentities(): GetIdentitiesResponse.Identities | undefined;
|
|
666
|
-
setIdentities(value?: GetIdentitiesResponse.Identities): void;
|
|
667
|
-
|
|
668
|
-
hasProof(): boolean;
|
|
669
|
-
clearProof(): void;
|
|
670
|
-
getProof(): Proof | undefined;
|
|
671
|
-
setProof(value?: Proof): void;
|
|
672
|
-
|
|
673
|
-
hasMetadata(): boolean;
|
|
674
|
-
clearMetadata(): void;
|
|
675
|
-
getMetadata(): ResponseMetadata | undefined;
|
|
676
|
-
setMetadata(value?: ResponseMetadata): void;
|
|
677
|
-
|
|
678
|
-
getResultCase(): GetIdentitiesResponseV0.ResultCase;
|
|
679
|
-
serializeBinary(): Uint8Array;
|
|
680
|
-
toObject(includeInstance?: boolean): GetIdentitiesResponseV0.AsObject;
|
|
681
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesResponseV0): GetIdentitiesResponseV0.AsObject;
|
|
682
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
683
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
684
|
-
static serializeBinaryToWriter(message: GetIdentitiesResponseV0, writer: jspb.BinaryWriter): void;
|
|
685
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesResponseV0;
|
|
686
|
-
static deserializeBinaryFromReader(message: GetIdentitiesResponseV0, reader: jspb.BinaryReader): GetIdentitiesResponseV0;
|
|
687
|
-
}
|
|
688
|
-
|
|
689
|
-
export namespace GetIdentitiesResponseV0 {
|
|
690
|
-
export type AsObject = {
|
|
691
|
-
identities?: GetIdentitiesResponse.Identities.AsObject,
|
|
692
|
-
proof?: Proof.AsObject,
|
|
693
|
-
metadata?: ResponseMetadata.AsObject,
|
|
694
|
-
}
|
|
695
|
-
|
|
696
|
-
export enum ResultCase {
|
|
697
|
-
RESULT_NOT_SET = 0,
|
|
698
|
-
IDENTITIES = 1,
|
|
699
|
-
PROOF = 2,
|
|
700
|
-
}
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
export enum VersionCase {
|
|
704
|
-
VERSION_NOT_SET = 0,
|
|
705
|
-
V0 = 1,
|
|
706
|
-
}
|
|
707
|
-
}
|
|
708
|
-
|
|
709
512
|
export class GetIdentityNonceResponse extends jspb.Message {
|
|
710
513
|
hasV0(): boolean;
|
|
711
514
|
clearV0(): void;
|
|
@@ -1296,6 +1099,227 @@ export namespace GetIdentityKeysResponse {
|
|
|
1296
1099
|
}
|
|
1297
1100
|
}
|
|
1298
1101
|
|
|
1102
|
+
export class GetIdentitiesContractKeysRequest extends jspb.Message {
|
|
1103
|
+
hasV0(): boolean;
|
|
1104
|
+
clearV0(): void;
|
|
1105
|
+
getV0(): GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0 | undefined;
|
|
1106
|
+
setV0(value?: GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0): void;
|
|
1107
|
+
|
|
1108
|
+
getVersionCase(): GetIdentitiesContractKeysRequest.VersionCase;
|
|
1109
|
+
serializeBinary(): Uint8Array;
|
|
1110
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysRequest.AsObject;
|
|
1111
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysRequest): GetIdentitiesContractKeysRequest.AsObject;
|
|
1112
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1113
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1114
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysRequest, writer: jspb.BinaryWriter): void;
|
|
1115
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysRequest;
|
|
1116
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysRequest, reader: jspb.BinaryReader): GetIdentitiesContractKeysRequest;
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
export namespace GetIdentitiesContractKeysRequest {
|
|
1120
|
+
export type AsObject = {
|
|
1121
|
+
v0?: GetIdentitiesContractKeysRequest.GetIdentitiesContractKeysRequestV0.AsObject,
|
|
1122
|
+
}
|
|
1123
|
+
|
|
1124
|
+
export class GetIdentitiesContractKeysRequestV0 extends jspb.Message {
|
|
1125
|
+
clearIdentitiesIdsList(): void;
|
|
1126
|
+
getIdentitiesIdsList(): Array<Uint8Array | string>;
|
|
1127
|
+
getIdentitiesIdsList_asU8(): Array<Uint8Array>;
|
|
1128
|
+
getIdentitiesIdsList_asB64(): Array<string>;
|
|
1129
|
+
setIdentitiesIdsList(value: Array<Uint8Array | string>): void;
|
|
1130
|
+
addIdentitiesIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1131
|
+
|
|
1132
|
+
getContractId(): Uint8Array | string;
|
|
1133
|
+
getContractId_asU8(): Uint8Array;
|
|
1134
|
+
getContractId_asB64(): string;
|
|
1135
|
+
setContractId(value: Uint8Array | string): void;
|
|
1136
|
+
|
|
1137
|
+
hasDocumentTypeName(): boolean;
|
|
1138
|
+
clearDocumentTypeName(): void;
|
|
1139
|
+
getDocumentTypeName(): string;
|
|
1140
|
+
setDocumentTypeName(value: string): void;
|
|
1141
|
+
|
|
1142
|
+
clearPurposesList(): void;
|
|
1143
|
+
getPurposesList(): Array<KeyPurposeMap[keyof KeyPurposeMap]>;
|
|
1144
|
+
setPurposesList(value: Array<KeyPurposeMap[keyof KeyPurposeMap]>): void;
|
|
1145
|
+
addPurposes(value: KeyPurposeMap[keyof KeyPurposeMap], index?: number): KeyPurposeMap[keyof KeyPurposeMap];
|
|
1146
|
+
|
|
1147
|
+
getProve(): boolean;
|
|
1148
|
+
setProve(value: boolean): void;
|
|
1149
|
+
|
|
1150
|
+
serializeBinary(): Uint8Array;
|
|
1151
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysRequestV0.AsObject;
|
|
1152
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysRequestV0): GetIdentitiesContractKeysRequestV0.AsObject;
|
|
1153
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1154
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1155
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysRequestV0, writer: jspb.BinaryWriter): void;
|
|
1156
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysRequestV0;
|
|
1157
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysRequestV0, reader: jspb.BinaryReader): GetIdentitiesContractKeysRequestV0;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
export namespace GetIdentitiesContractKeysRequestV0 {
|
|
1161
|
+
export type AsObject = {
|
|
1162
|
+
identitiesIdsList: Array<Uint8Array | string>,
|
|
1163
|
+
contractId: Uint8Array | string,
|
|
1164
|
+
documentTypeName: string,
|
|
1165
|
+
purposesList: Array<KeyPurposeMap[keyof KeyPurposeMap]>,
|
|
1166
|
+
prove: boolean,
|
|
1167
|
+
}
|
|
1168
|
+
}
|
|
1169
|
+
|
|
1170
|
+
export enum VersionCase {
|
|
1171
|
+
VERSION_NOT_SET = 0,
|
|
1172
|
+
V0 = 1,
|
|
1173
|
+
}
|
|
1174
|
+
}
|
|
1175
|
+
|
|
1176
|
+
export class GetIdentitiesContractKeysResponse extends jspb.Message {
|
|
1177
|
+
hasV0(): boolean;
|
|
1178
|
+
clearV0(): void;
|
|
1179
|
+
getV0(): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0 | undefined;
|
|
1180
|
+
setV0(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0): void;
|
|
1181
|
+
|
|
1182
|
+
getVersionCase(): GetIdentitiesContractKeysResponse.VersionCase;
|
|
1183
|
+
serializeBinary(): Uint8Array;
|
|
1184
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysResponse.AsObject;
|
|
1185
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysResponse): GetIdentitiesContractKeysResponse.AsObject;
|
|
1186
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1187
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1188
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysResponse, writer: jspb.BinaryWriter): void;
|
|
1189
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysResponse;
|
|
1190
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysResponse, reader: jspb.BinaryReader): GetIdentitiesContractKeysResponse;
|
|
1191
|
+
}
|
|
1192
|
+
|
|
1193
|
+
export namespace GetIdentitiesContractKeysResponse {
|
|
1194
|
+
export type AsObject = {
|
|
1195
|
+
v0?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.AsObject,
|
|
1196
|
+
}
|
|
1197
|
+
|
|
1198
|
+
export class GetIdentitiesContractKeysResponseV0 extends jspb.Message {
|
|
1199
|
+
hasIdentitiesKeys(): boolean;
|
|
1200
|
+
clearIdentitiesKeys(): void;
|
|
1201
|
+
getIdentitiesKeys(): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys | undefined;
|
|
1202
|
+
setIdentitiesKeys(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys): void;
|
|
1203
|
+
|
|
1204
|
+
hasProof(): boolean;
|
|
1205
|
+
clearProof(): void;
|
|
1206
|
+
getProof(): Proof | undefined;
|
|
1207
|
+
setProof(value?: Proof): void;
|
|
1208
|
+
|
|
1209
|
+
hasMetadata(): boolean;
|
|
1210
|
+
clearMetadata(): void;
|
|
1211
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
1212
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
1213
|
+
|
|
1214
|
+
getResultCase(): GetIdentitiesContractKeysResponseV0.ResultCase;
|
|
1215
|
+
serializeBinary(): Uint8Array;
|
|
1216
|
+
toObject(includeInstance?: boolean): GetIdentitiesContractKeysResponseV0.AsObject;
|
|
1217
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesContractKeysResponseV0): GetIdentitiesContractKeysResponseV0.AsObject;
|
|
1218
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1219
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1220
|
+
static serializeBinaryToWriter(message: GetIdentitiesContractKeysResponseV0, writer: jspb.BinaryWriter): void;
|
|
1221
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesContractKeysResponseV0;
|
|
1222
|
+
static deserializeBinaryFromReader(message: GetIdentitiesContractKeysResponseV0, reader: jspb.BinaryReader): GetIdentitiesContractKeysResponseV0;
|
|
1223
|
+
}
|
|
1224
|
+
|
|
1225
|
+
export namespace GetIdentitiesContractKeysResponseV0 {
|
|
1226
|
+
export type AsObject = {
|
|
1227
|
+
identitiesKeys?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentitiesKeys.AsObject,
|
|
1228
|
+
proof?: Proof.AsObject,
|
|
1229
|
+
metadata?: ResponseMetadata.AsObject,
|
|
1230
|
+
}
|
|
1231
|
+
|
|
1232
|
+
export class PurposeKeys extends jspb.Message {
|
|
1233
|
+
getPurpose(): KeyPurposeMap[keyof KeyPurposeMap];
|
|
1234
|
+
setPurpose(value: KeyPurposeMap[keyof KeyPurposeMap]): void;
|
|
1235
|
+
|
|
1236
|
+
clearKeysBytesList(): void;
|
|
1237
|
+
getKeysBytesList(): Array<Uint8Array | string>;
|
|
1238
|
+
getKeysBytesList_asU8(): Array<Uint8Array>;
|
|
1239
|
+
getKeysBytesList_asB64(): Array<string>;
|
|
1240
|
+
setKeysBytesList(value: Array<Uint8Array | string>): void;
|
|
1241
|
+
addKeysBytes(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
1242
|
+
|
|
1243
|
+
serializeBinary(): Uint8Array;
|
|
1244
|
+
toObject(includeInstance?: boolean): PurposeKeys.AsObject;
|
|
1245
|
+
static toObject(includeInstance: boolean, msg: PurposeKeys): PurposeKeys.AsObject;
|
|
1246
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1247
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1248
|
+
static serializeBinaryToWriter(message: PurposeKeys, writer: jspb.BinaryWriter): void;
|
|
1249
|
+
static deserializeBinary(bytes: Uint8Array): PurposeKeys;
|
|
1250
|
+
static deserializeBinaryFromReader(message: PurposeKeys, reader: jspb.BinaryReader): PurposeKeys;
|
|
1251
|
+
}
|
|
1252
|
+
|
|
1253
|
+
export namespace PurposeKeys {
|
|
1254
|
+
export type AsObject = {
|
|
1255
|
+
purpose: KeyPurposeMap[keyof KeyPurposeMap],
|
|
1256
|
+
keysBytesList: Array<Uint8Array | string>,
|
|
1257
|
+
}
|
|
1258
|
+
}
|
|
1259
|
+
|
|
1260
|
+
export class IdentityKeys extends jspb.Message {
|
|
1261
|
+
getIdentityId(): Uint8Array | string;
|
|
1262
|
+
getIdentityId_asU8(): Uint8Array;
|
|
1263
|
+
getIdentityId_asB64(): string;
|
|
1264
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
1265
|
+
|
|
1266
|
+
clearKeysList(): void;
|
|
1267
|
+
getKeysList(): Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys>;
|
|
1268
|
+
setKeysList(value: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys>): void;
|
|
1269
|
+
addKeys(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys, index?: number): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys;
|
|
1270
|
+
|
|
1271
|
+
serializeBinary(): Uint8Array;
|
|
1272
|
+
toObject(includeInstance?: boolean): IdentityKeys.AsObject;
|
|
1273
|
+
static toObject(includeInstance: boolean, msg: IdentityKeys): IdentityKeys.AsObject;
|
|
1274
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1275
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1276
|
+
static serializeBinaryToWriter(message: IdentityKeys, writer: jspb.BinaryWriter): void;
|
|
1277
|
+
static deserializeBinary(bytes: Uint8Array): IdentityKeys;
|
|
1278
|
+
static deserializeBinaryFromReader(message: IdentityKeys, reader: jspb.BinaryReader): IdentityKeys;
|
|
1279
|
+
}
|
|
1280
|
+
|
|
1281
|
+
export namespace IdentityKeys {
|
|
1282
|
+
export type AsObject = {
|
|
1283
|
+
identityId: Uint8Array | string,
|
|
1284
|
+
keysList: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.PurposeKeys.AsObject>,
|
|
1285
|
+
}
|
|
1286
|
+
}
|
|
1287
|
+
|
|
1288
|
+
export class IdentitiesKeys extends jspb.Message {
|
|
1289
|
+
clearEntriesList(): void;
|
|
1290
|
+
getEntriesList(): Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys>;
|
|
1291
|
+
setEntriesList(value: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys>): void;
|
|
1292
|
+
addEntries(value?: GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys, index?: number): GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys;
|
|
1293
|
+
|
|
1294
|
+
serializeBinary(): Uint8Array;
|
|
1295
|
+
toObject(includeInstance?: boolean): IdentitiesKeys.AsObject;
|
|
1296
|
+
static toObject(includeInstance: boolean, msg: IdentitiesKeys): IdentitiesKeys.AsObject;
|
|
1297
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
1298
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
1299
|
+
static serializeBinaryToWriter(message: IdentitiesKeys, writer: jspb.BinaryWriter): void;
|
|
1300
|
+
static deserializeBinary(bytes: Uint8Array): IdentitiesKeys;
|
|
1301
|
+
static deserializeBinaryFromReader(message: IdentitiesKeys, reader: jspb.BinaryReader): IdentitiesKeys;
|
|
1302
|
+
}
|
|
1303
|
+
|
|
1304
|
+
export namespace IdentitiesKeys {
|
|
1305
|
+
export type AsObject = {
|
|
1306
|
+
entriesList: Array<GetIdentitiesContractKeysResponse.GetIdentitiesContractKeysResponseV0.IdentityKeys.AsObject>,
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
|
|
1310
|
+
export enum ResultCase {
|
|
1311
|
+
RESULT_NOT_SET = 0,
|
|
1312
|
+
IDENTITIES_KEYS = 1,
|
|
1313
|
+
PROOF = 2,
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
|
|
1317
|
+
export enum VersionCase {
|
|
1318
|
+
VERSION_NOT_SET = 0,
|
|
1319
|
+
V0 = 1,
|
|
1320
|
+
}
|
|
1321
|
+
}
|
|
1322
|
+
|
|
1299
1323
|
export class GetProofsRequest extends jspb.Message {
|
|
1300
1324
|
hasV0(): boolean;
|
|
1301
1325
|
clearV0(): void;
|
|
@@ -2190,181 +2214,6 @@ export namespace GetDocumentsResponse {
|
|
|
2190
2214
|
}
|
|
2191
2215
|
}
|
|
2192
2216
|
|
|
2193
|
-
export class GetIdentitiesByPublicKeyHashesRequest extends jspb.Message {
|
|
2194
|
-
hasV0(): boolean;
|
|
2195
|
-
clearV0(): void;
|
|
2196
|
-
getV0(): GetIdentitiesByPublicKeyHashesRequest.GetIdentitiesByPublicKeyHashesRequestV0 | undefined;
|
|
2197
|
-
setV0(value?: GetIdentitiesByPublicKeyHashesRequest.GetIdentitiesByPublicKeyHashesRequestV0): void;
|
|
2198
|
-
|
|
2199
|
-
getVersionCase(): GetIdentitiesByPublicKeyHashesRequest.VersionCase;
|
|
2200
|
-
serializeBinary(): Uint8Array;
|
|
2201
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesRequest.AsObject;
|
|
2202
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesRequest): GetIdentitiesByPublicKeyHashesRequest.AsObject;
|
|
2203
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2204
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2205
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesRequest, writer: jspb.BinaryWriter): void;
|
|
2206
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesRequest;
|
|
2207
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesRequest, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesRequest;
|
|
2208
|
-
}
|
|
2209
|
-
|
|
2210
|
-
export namespace GetIdentitiesByPublicKeyHashesRequest {
|
|
2211
|
-
export type AsObject = {
|
|
2212
|
-
v0?: GetIdentitiesByPublicKeyHashesRequest.GetIdentitiesByPublicKeyHashesRequestV0.AsObject,
|
|
2213
|
-
}
|
|
2214
|
-
|
|
2215
|
-
export class GetIdentitiesByPublicKeyHashesRequestV0 extends jspb.Message {
|
|
2216
|
-
clearPublicKeyHashesList(): void;
|
|
2217
|
-
getPublicKeyHashesList(): Array<Uint8Array | string>;
|
|
2218
|
-
getPublicKeyHashesList_asU8(): Array<Uint8Array>;
|
|
2219
|
-
getPublicKeyHashesList_asB64(): Array<string>;
|
|
2220
|
-
setPublicKeyHashesList(value: Array<Uint8Array | string>): void;
|
|
2221
|
-
addPublicKeyHashes(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
2222
|
-
|
|
2223
|
-
getProve(): boolean;
|
|
2224
|
-
setProve(value: boolean): void;
|
|
2225
|
-
|
|
2226
|
-
serializeBinary(): Uint8Array;
|
|
2227
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesRequestV0.AsObject;
|
|
2228
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesRequestV0): GetIdentitiesByPublicKeyHashesRequestV0.AsObject;
|
|
2229
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2230
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2231
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesRequestV0, writer: jspb.BinaryWriter): void;
|
|
2232
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesRequestV0;
|
|
2233
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesRequestV0, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesRequestV0;
|
|
2234
|
-
}
|
|
2235
|
-
|
|
2236
|
-
export namespace GetIdentitiesByPublicKeyHashesRequestV0 {
|
|
2237
|
-
export type AsObject = {
|
|
2238
|
-
publicKeyHashesList: Array<Uint8Array | string>,
|
|
2239
|
-
prove: boolean,
|
|
2240
|
-
}
|
|
2241
|
-
}
|
|
2242
|
-
|
|
2243
|
-
export enum VersionCase {
|
|
2244
|
-
VERSION_NOT_SET = 0,
|
|
2245
|
-
V0 = 1,
|
|
2246
|
-
}
|
|
2247
|
-
}
|
|
2248
|
-
|
|
2249
|
-
export class GetIdentitiesByPublicKeyHashesResponse extends jspb.Message {
|
|
2250
|
-
hasV0(): boolean;
|
|
2251
|
-
clearV0(): void;
|
|
2252
|
-
getV0(): GetIdentitiesByPublicKeyHashesResponse.GetIdentitiesByPublicKeyHashesResponseV0 | undefined;
|
|
2253
|
-
setV0(value?: GetIdentitiesByPublicKeyHashesResponse.GetIdentitiesByPublicKeyHashesResponseV0): void;
|
|
2254
|
-
|
|
2255
|
-
getVersionCase(): GetIdentitiesByPublicKeyHashesResponse.VersionCase;
|
|
2256
|
-
serializeBinary(): Uint8Array;
|
|
2257
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesResponse.AsObject;
|
|
2258
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesResponse): GetIdentitiesByPublicKeyHashesResponse.AsObject;
|
|
2259
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2260
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2261
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesResponse, writer: jspb.BinaryWriter): void;
|
|
2262
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesResponse;
|
|
2263
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesResponse, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesResponse;
|
|
2264
|
-
}
|
|
2265
|
-
|
|
2266
|
-
export namespace GetIdentitiesByPublicKeyHashesResponse {
|
|
2267
|
-
export type AsObject = {
|
|
2268
|
-
v0?: GetIdentitiesByPublicKeyHashesResponse.GetIdentitiesByPublicKeyHashesResponseV0.AsObject,
|
|
2269
|
-
}
|
|
2270
|
-
|
|
2271
|
-
export class PublicKeyHashIdentityEntry extends jspb.Message {
|
|
2272
|
-
getPublicKeyHash(): Uint8Array | string;
|
|
2273
|
-
getPublicKeyHash_asU8(): Uint8Array;
|
|
2274
|
-
getPublicKeyHash_asB64(): string;
|
|
2275
|
-
setPublicKeyHash(value: Uint8Array | string): void;
|
|
2276
|
-
|
|
2277
|
-
hasValue(): boolean;
|
|
2278
|
-
clearValue(): void;
|
|
2279
|
-
getValue(): google_protobuf_wrappers_pb.BytesValue | undefined;
|
|
2280
|
-
setValue(value?: google_protobuf_wrappers_pb.BytesValue): void;
|
|
2281
|
-
|
|
2282
|
-
serializeBinary(): Uint8Array;
|
|
2283
|
-
toObject(includeInstance?: boolean): PublicKeyHashIdentityEntry.AsObject;
|
|
2284
|
-
static toObject(includeInstance: boolean, msg: PublicKeyHashIdentityEntry): PublicKeyHashIdentityEntry.AsObject;
|
|
2285
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2286
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2287
|
-
static serializeBinaryToWriter(message: PublicKeyHashIdentityEntry, writer: jspb.BinaryWriter): void;
|
|
2288
|
-
static deserializeBinary(bytes: Uint8Array): PublicKeyHashIdentityEntry;
|
|
2289
|
-
static deserializeBinaryFromReader(message: PublicKeyHashIdentityEntry, reader: jspb.BinaryReader): PublicKeyHashIdentityEntry;
|
|
2290
|
-
}
|
|
2291
|
-
|
|
2292
|
-
export namespace PublicKeyHashIdentityEntry {
|
|
2293
|
-
export type AsObject = {
|
|
2294
|
-
publicKeyHash: Uint8Array | string,
|
|
2295
|
-
value?: google_protobuf_wrappers_pb.BytesValue.AsObject,
|
|
2296
|
-
}
|
|
2297
|
-
}
|
|
2298
|
-
|
|
2299
|
-
export class IdentitiesByPublicKeyHashes extends jspb.Message {
|
|
2300
|
-
clearIdentityEntriesList(): void;
|
|
2301
|
-
getIdentityEntriesList(): Array<GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry>;
|
|
2302
|
-
setIdentityEntriesList(value: Array<GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry>): void;
|
|
2303
|
-
addIdentityEntries(value?: GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry, index?: number): GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry;
|
|
2304
|
-
|
|
2305
|
-
serializeBinary(): Uint8Array;
|
|
2306
|
-
toObject(includeInstance?: boolean): IdentitiesByPublicKeyHashes.AsObject;
|
|
2307
|
-
static toObject(includeInstance: boolean, msg: IdentitiesByPublicKeyHashes): IdentitiesByPublicKeyHashes.AsObject;
|
|
2308
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2309
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2310
|
-
static serializeBinaryToWriter(message: IdentitiesByPublicKeyHashes, writer: jspb.BinaryWriter): void;
|
|
2311
|
-
static deserializeBinary(bytes: Uint8Array): IdentitiesByPublicKeyHashes;
|
|
2312
|
-
static deserializeBinaryFromReader(message: IdentitiesByPublicKeyHashes, reader: jspb.BinaryReader): IdentitiesByPublicKeyHashes;
|
|
2313
|
-
}
|
|
2314
|
-
|
|
2315
|
-
export namespace IdentitiesByPublicKeyHashes {
|
|
2316
|
-
export type AsObject = {
|
|
2317
|
-
identityEntriesList: Array<GetIdentitiesByPublicKeyHashesResponse.PublicKeyHashIdentityEntry.AsObject>,
|
|
2318
|
-
}
|
|
2319
|
-
}
|
|
2320
|
-
|
|
2321
|
-
export class GetIdentitiesByPublicKeyHashesResponseV0 extends jspb.Message {
|
|
2322
|
-
hasIdentities(): boolean;
|
|
2323
|
-
clearIdentities(): void;
|
|
2324
|
-
getIdentities(): GetIdentitiesByPublicKeyHashesResponse.IdentitiesByPublicKeyHashes | undefined;
|
|
2325
|
-
setIdentities(value?: GetIdentitiesByPublicKeyHashesResponse.IdentitiesByPublicKeyHashes): void;
|
|
2326
|
-
|
|
2327
|
-
hasProof(): boolean;
|
|
2328
|
-
clearProof(): void;
|
|
2329
|
-
getProof(): Proof | undefined;
|
|
2330
|
-
setProof(value?: Proof): void;
|
|
2331
|
-
|
|
2332
|
-
hasMetadata(): boolean;
|
|
2333
|
-
clearMetadata(): void;
|
|
2334
|
-
getMetadata(): ResponseMetadata | undefined;
|
|
2335
|
-
setMetadata(value?: ResponseMetadata): void;
|
|
2336
|
-
|
|
2337
|
-
getResultCase(): GetIdentitiesByPublicKeyHashesResponseV0.ResultCase;
|
|
2338
|
-
serializeBinary(): Uint8Array;
|
|
2339
|
-
toObject(includeInstance?: boolean): GetIdentitiesByPublicKeyHashesResponseV0.AsObject;
|
|
2340
|
-
static toObject(includeInstance: boolean, msg: GetIdentitiesByPublicKeyHashesResponseV0): GetIdentitiesByPublicKeyHashesResponseV0.AsObject;
|
|
2341
|
-
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
2342
|
-
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
2343
|
-
static serializeBinaryToWriter(message: GetIdentitiesByPublicKeyHashesResponseV0, writer: jspb.BinaryWriter): void;
|
|
2344
|
-
static deserializeBinary(bytes: Uint8Array): GetIdentitiesByPublicKeyHashesResponseV0;
|
|
2345
|
-
static deserializeBinaryFromReader(message: GetIdentitiesByPublicKeyHashesResponseV0, reader: jspb.BinaryReader): GetIdentitiesByPublicKeyHashesResponseV0;
|
|
2346
|
-
}
|
|
2347
|
-
|
|
2348
|
-
export namespace GetIdentitiesByPublicKeyHashesResponseV0 {
|
|
2349
|
-
export type AsObject = {
|
|
2350
|
-
identities?: GetIdentitiesByPublicKeyHashesResponse.IdentitiesByPublicKeyHashes.AsObject,
|
|
2351
|
-
proof?: Proof.AsObject,
|
|
2352
|
-
metadata?: ResponseMetadata.AsObject,
|
|
2353
|
-
}
|
|
2354
|
-
|
|
2355
|
-
export enum ResultCase {
|
|
2356
|
-
RESULT_NOT_SET = 0,
|
|
2357
|
-
IDENTITIES = 1,
|
|
2358
|
-
PROOF = 2,
|
|
2359
|
-
}
|
|
2360
|
-
}
|
|
2361
|
-
|
|
2362
|
-
export enum VersionCase {
|
|
2363
|
-
VERSION_NOT_SET = 0,
|
|
2364
|
-
V0 = 1,
|
|
2365
|
-
}
|
|
2366
|
-
}
|
|
2367
|
-
|
|
2368
2217
|
export class GetIdentityByPublicKeyHashRequest extends jspb.Message {
|
|
2369
2218
|
hasV0(): boolean;
|
|
2370
2219
|
clearV0(): void;
|
|
@@ -3308,3 +3157,170 @@ export namespace GetEpochsInfoResponse {
|
|
|
3308
3157
|
}
|
|
3309
3158
|
}
|
|
3310
3159
|
|
|
3160
|
+
export class GetPathElementsRequest extends jspb.Message {
|
|
3161
|
+
hasV0(): boolean;
|
|
3162
|
+
clearV0(): void;
|
|
3163
|
+
getV0(): GetPathElementsRequest.GetPathElementsRequestV0 | undefined;
|
|
3164
|
+
setV0(value?: GetPathElementsRequest.GetPathElementsRequestV0): void;
|
|
3165
|
+
|
|
3166
|
+
getVersionCase(): GetPathElementsRequest.VersionCase;
|
|
3167
|
+
serializeBinary(): Uint8Array;
|
|
3168
|
+
toObject(includeInstance?: boolean): GetPathElementsRequest.AsObject;
|
|
3169
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsRequest): GetPathElementsRequest.AsObject;
|
|
3170
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3171
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3172
|
+
static serializeBinaryToWriter(message: GetPathElementsRequest, writer: jspb.BinaryWriter): void;
|
|
3173
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsRequest;
|
|
3174
|
+
static deserializeBinaryFromReader(message: GetPathElementsRequest, reader: jspb.BinaryReader): GetPathElementsRequest;
|
|
3175
|
+
}
|
|
3176
|
+
|
|
3177
|
+
export namespace GetPathElementsRequest {
|
|
3178
|
+
export type AsObject = {
|
|
3179
|
+
v0?: GetPathElementsRequest.GetPathElementsRequestV0.AsObject,
|
|
3180
|
+
}
|
|
3181
|
+
|
|
3182
|
+
export class GetPathElementsRequestV0 extends jspb.Message {
|
|
3183
|
+
clearPathList(): void;
|
|
3184
|
+
getPathList(): Array<Uint8Array | string>;
|
|
3185
|
+
getPathList_asU8(): Array<Uint8Array>;
|
|
3186
|
+
getPathList_asB64(): Array<string>;
|
|
3187
|
+
setPathList(value: Array<Uint8Array | string>): void;
|
|
3188
|
+
addPath(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3189
|
+
|
|
3190
|
+
clearKeysList(): void;
|
|
3191
|
+
getKeysList(): Array<Uint8Array | string>;
|
|
3192
|
+
getKeysList_asU8(): Array<Uint8Array>;
|
|
3193
|
+
getKeysList_asB64(): Array<string>;
|
|
3194
|
+
setKeysList(value: Array<Uint8Array | string>): void;
|
|
3195
|
+
addKeys(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3196
|
+
|
|
3197
|
+
getProve(): boolean;
|
|
3198
|
+
setProve(value: boolean): void;
|
|
3199
|
+
|
|
3200
|
+
serializeBinary(): Uint8Array;
|
|
3201
|
+
toObject(includeInstance?: boolean): GetPathElementsRequestV0.AsObject;
|
|
3202
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsRequestV0): GetPathElementsRequestV0.AsObject;
|
|
3203
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3204
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3205
|
+
static serializeBinaryToWriter(message: GetPathElementsRequestV0, writer: jspb.BinaryWriter): void;
|
|
3206
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsRequestV0;
|
|
3207
|
+
static deserializeBinaryFromReader(message: GetPathElementsRequestV0, reader: jspb.BinaryReader): GetPathElementsRequestV0;
|
|
3208
|
+
}
|
|
3209
|
+
|
|
3210
|
+
export namespace GetPathElementsRequestV0 {
|
|
3211
|
+
export type AsObject = {
|
|
3212
|
+
pathList: Array<Uint8Array | string>,
|
|
3213
|
+
keysList: Array<Uint8Array | string>,
|
|
3214
|
+
prove: boolean,
|
|
3215
|
+
}
|
|
3216
|
+
}
|
|
3217
|
+
|
|
3218
|
+
export enum VersionCase {
|
|
3219
|
+
VERSION_NOT_SET = 0,
|
|
3220
|
+
V0 = 1,
|
|
3221
|
+
}
|
|
3222
|
+
}
|
|
3223
|
+
|
|
3224
|
+
export class GetPathElementsResponse extends jspb.Message {
|
|
3225
|
+
hasV0(): boolean;
|
|
3226
|
+
clearV0(): void;
|
|
3227
|
+
getV0(): GetPathElementsResponse.GetPathElementsResponseV0 | undefined;
|
|
3228
|
+
setV0(value?: GetPathElementsResponse.GetPathElementsResponseV0): void;
|
|
3229
|
+
|
|
3230
|
+
getVersionCase(): GetPathElementsResponse.VersionCase;
|
|
3231
|
+
serializeBinary(): Uint8Array;
|
|
3232
|
+
toObject(includeInstance?: boolean): GetPathElementsResponse.AsObject;
|
|
3233
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsResponse): GetPathElementsResponse.AsObject;
|
|
3234
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3235
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3236
|
+
static serializeBinaryToWriter(message: GetPathElementsResponse, writer: jspb.BinaryWriter): void;
|
|
3237
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsResponse;
|
|
3238
|
+
static deserializeBinaryFromReader(message: GetPathElementsResponse, reader: jspb.BinaryReader): GetPathElementsResponse;
|
|
3239
|
+
}
|
|
3240
|
+
|
|
3241
|
+
export namespace GetPathElementsResponse {
|
|
3242
|
+
export type AsObject = {
|
|
3243
|
+
v0?: GetPathElementsResponse.GetPathElementsResponseV0.AsObject,
|
|
3244
|
+
}
|
|
3245
|
+
|
|
3246
|
+
export class GetPathElementsResponseV0 extends jspb.Message {
|
|
3247
|
+
hasElements(): boolean;
|
|
3248
|
+
clearElements(): void;
|
|
3249
|
+
getElements(): GetPathElementsResponse.GetPathElementsResponseV0.Elements | undefined;
|
|
3250
|
+
setElements(value?: GetPathElementsResponse.GetPathElementsResponseV0.Elements): void;
|
|
3251
|
+
|
|
3252
|
+
hasProof(): boolean;
|
|
3253
|
+
clearProof(): void;
|
|
3254
|
+
getProof(): Proof | undefined;
|
|
3255
|
+
setProof(value?: Proof): void;
|
|
3256
|
+
|
|
3257
|
+
hasMetadata(): boolean;
|
|
3258
|
+
clearMetadata(): void;
|
|
3259
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
3260
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
3261
|
+
|
|
3262
|
+
getResultCase(): GetPathElementsResponseV0.ResultCase;
|
|
3263
|
+
serializeBinary(): Uint8Array;
|
|
3264
|
+
toObject(includeInstance?: boolean): GetPathElementsResponseV0.AsObject;
|
|
3265
|
+
static toObject(includeInstance: boolean, msg: GetPathElementsResponseV0): GetPathElementsResponseV0.AsObject;
|
|
3266
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3267
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3268
|
+
static serializeBinaryToWriter(message: GetPathElementsResponseV0, writer: jspb.BinaryWriter): void;
|
|
3269
|
+
static deserializeBinary(bytes: Uint8Array): GetPathElementsResponseV0;
|
|
3270
|
+
static deserializeBinaryFromReader(message: GetPathElementsResponseV0, reader: jspb.BinaryReader): GetPathElementsResponseV0;
|
|
3271
|
+
}
|
|
3272
|
+
|
|
3273
|
+
export namespace GetPathElementsResponseV0 {
|
|
3274
|
+
export type AsObject = {
|
|
3275
|
+
elements?: GetPathElementsResponse.GetPathElementsResponseV0.Elements.AsObject,
|
|
3276
|
+
proof?: Proof.AsObject,
|
|
3277
|
+
metadata?: ResponseMetadata.AsObject,
|
|
3278
|
+
}
|
|
3279
|
+
|
|
3280
|
+
export class Elements extends jspb.Message {
|
|
3281
|
+
clearElementsList(): void;
|
|
3282
|
+
getElementsList(): Array<Uint8Array | string>;
|
|
3283
|
+
getElementsList_asU8(): Array<Uint8Array>;
|
|
3284
|
+
getElementsList_asB64(): Array<string>;
|
|
3285
|
+
setElementsList(value: Array<Uint8Array | string>): void;
|
|
3286
|
+
addElements(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
3287
|
+
|
|
3288
|
+
serializeBinary(): Uint8Array;
|
|
3289
|
+
toObject(includeInstance?: boolean): Elements.AsObject;
|
|
3290
|
+
static toObject(includeInstance: boolean, msg: Elements): Elements.AsObject;
|
|
3291
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
3292
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
3293
|
+
static serializeBinaryToWriter(message: Elements, writer: jspb.BinaryWriter): void;
|
|
3294
|
+
static deserializeBinary(bytes: Uint8Array): Elements;
|
|
3295
|
+
static deserializeBinaryFromReader(message: Elements, reader: jspb.BinaryReader): Elements;
|
|
3296
|
+
}
|
|
3297
|
+
|
|
3298
|
+
export namespace Elements {
|
|
3299
|
+
export type AsObject = {
|
|
3300
|
+
elementsList: Array<Uint8Array | string>,
|
|
3301
|
+
}
|
|
3302
|
+
}
|
|
3303
|
+
|
|
3304
|
+
export enum ResultCase {
|
|
3305
|
+
RESULT_NOT_SET = 0,
|
|
3306
|
+
ELEMENTS = 1,
|
|
3307
|
+
PROOF = 2,
|
|
3308
|
+
}
|
|
3309
|
+
}
|
|
3310
|
+
|
|
3311
|
+
export enum VersionCase {
|
|
3312
|
+
VERSION_NOT_SET = 0,
|
|
3313
|
+
V0 = 1,
|
|
3314
|
+
}
|
|
3315
|
+
}
|
|
3316
|
+
|
|
3317
|
+
export interface KeyPurposeMap {
|
|
3318
|
+
AUTHENTICATION: 0;
|
|
3319
|
+
ENCRYPTION: 1;
|
|
3320
|
+
DECRYPTION: 2;
|
|
3321
|
+
TRANSFER: 3;
|
|
3322
|
+
VOTING: 5;
|
|
3323
|
+
}
|
|
3324
|
+
|
|
3325
|
+
export const KeyPurpose: KeyPurposeMap;
|
|
3326
|
+
|