@dashevo/dapi-grpc 0.25.0-dev.12 → 0.25.0-dev.14
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/clients/platform/v0/nodejs/platform_pbjs.js +4352 -1920
- package/clients/platform/v0/nodejs/platform_protoc.js +3776 -1463
- package/clients/platform/v0/web/platform_pb.d.ts +295 -0
- package/clients/platform/v0/web/platform_pb.js +3776 -1463
- package/clients/platform/v0/web/platform_pb_service.d.ts +38 -0
- package/clients/platform/v0/web/platform_pb_service.js +80 -0
- package/package.json +2 -2
- package/protos/platform/v0/platform.proto +59 -0
- package/scripts/build.sh +7 -0
|
@@ -204,6 +204,147 @@ export namespace GetIdentityResponse {
|
|
|
204
204
|
}
|
|
205
205
|
}
|
|
206
206
|
|
|
207
|
+
export class GetIdentitiesRequest extends jspb.Message {
|
|
208
|
+
clearIdsList(): void;
|
|
209
|
+
getIdsList(): Array<Uint8Array | string>;
|
|
210
|
+
getIdsList_asU8(): Array<Uint8Array>;
|
|
211
|
+
getIdsList_asB64(): Array<string>;
|
|
212
|
+
setIdsList(value: Array<Uint8Array | string>): void;
|
|
213
|
+
addIds(value: Uint8Array | string, index?: number): Uint8Array | string;
|
|
214
|
+
|
|
215
|
+
getProve(): boolean;
|
|
216
|
+
setProve(value: boolean): void;
|
|
217
|
+
|
|
218
|
+
serializeBinary(): Uint8Array;
|
|
219
|
+
toObject(includeInstance?: boolean): GetIdentitiesRequest.AsObject;
|
|
220
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesRequest): GetIdentitiesRequest.AsObject;
|
|
221
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
222
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
223
|
+
static serializeBinaryToWriter(message: GetIdentitiesRequest, writer: jspb.BinaryWriter): void;
|
|
224
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesRequest;
|
|
225
|
+
static deserializeBinaryFromReader(message: GetIdentitiesRequest, reader: jspb.BinaryReader): GetIdentitiesRequest;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export namespace GetIdentitiesRequest {
|
|
229
|
+
export type AsObject = {
|
|
230
|
+
idsList: Array<Uint8Array | string>,
|
|
231
|
+
prove: boolean,
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
|
|
235
|
+
export class GetIdentitiesResponse extends jspb.Message {
|
|
236
|
+
hasIdentities(): boolean;
|
|
237
|
+
clearIdentities(): void;
|
|
238
|
+
getIdentities(): GetIdentitiesResponse.Identities | undefined;
|
|
239
|
+
setIdentities(value?: GetIdentitiesResponse.Identities): void;
|
|
240
|
+
|
|
241
|
+
hasProof(): boolean;
|
|
242
|
+
clearProof(): void;
|
|
243
|
+
getProof(): Proof | undefined;
|
|
244
|
+
setProof(value?: Proof): void;
|
|
245
|
+
|
|
246
|
+
hasMetadata(): boolean;
|
|
247
|
+
clearMetadata(): void;
|
|
248
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
249
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
250
|
+
|
|
251
|
+
getResultCase(): GetIdentitiesResponse.ResultCase;
|
|
252
|
+
serializeBinary(): Uint8Array;
|
|
253
|
+
toObject(includeInstance?: boolean): GetIdentitiesResponse.AsObject;
|
|
254
|
+
static toObject(includeInstance: boolean, msg: GetIdentitiesResponse): GetIdentitiesResponse.AsObject;
|
|
255
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
256
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
257
|
+
static serializeBinaryToWriter(message: GetIdentitiesResponse, writer: jspb.BinaryWriter): void;
|
|
258
|
+
static deserializeBinary(bytes: Uint8Array): GetIdentitiesResponse;
|
|
259
|
+
static deserializeBinaryFromReader(message: GetIdentitiesResponse, reader: jspb.BinaryReader): GetIdentitiesResponse;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
export namespace GetIdentitiesResponse {
|
|
263
|
+
export type AsObject = {
|
|
264
|
+
identities?: GetIdentitiesResponse.Identities.AsObject,
|
|
265
|
+
proof?: Proof.AsObject,
|
|
266
|
+
metadata?: ResponseMetadata.AsObject,
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
export class IdentityValue extends jspb.Message {
|
|
270
|
+
getValue(): Uint8Array | string;
|
|
271
|
+
getValue_asU8(): Uint8Array;
|
|
272
|
+
getValue_asB64(): string;
|
|
273
|
+
setValue(value: Uint8Array | string): void;
|
|
274
|
+
|
|
275
|
+
serializeBinary(): Uint8Array;
|
|
276
|
+
toObject(includeInstance?: boolean): IdentityValue.AsObject;
|
|
277
|
+
static toObject(includeInstance: boolean, msg: IdentityValue): IdentityValue.AsObject;
|
|
278
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
279
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
280
|
+
static serializeBinaryToWriter(message: IdentityValue, writer: jspb.BinaryWriter): void;
|
|
281
|
+
static deserializeBinary(bytes: Uint8Array): IdentityValue;
|
|
282
|
+
static deserializeBinaryFromReader(message: IdentityValue, reader: jspb.BinaryReader): IdentityValue;
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
export namespace IdentityValue {
|
|
286
|
+
export type AsObject = {
|
|
287
|
+
value: Uint8Array | string,
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
export class IdentityEntry extends jspb.Message {
|
|
292
|
+
getKey(): Uint8Array | string;
|
|
293
|
+
getKey_asU8(): Uint8Array;
|
|
294
|
+
getKey_asB64(): string;
|
|
295
|
+
setKey(value: Uint8Array | string): void;
|
|
296
|
+
|
|
297
|
+
hasValue(): boolean;
|
|
298
|
+
clearValue(): void;
|
|
299
|
+
getValue(): GetIdentitiesResponse.IdentityValue | undefined;
|
|
300
|
+
setValue(value?: GetIdentitiesResponse.IdentityValue): void;
|
|
301
|
+
|
|
302
|
+
serializeBinary(): Uint8Array;
|
|
303
|
+
toObject(includeInstance?: boolean): IdentityEntry.AsObject;
|
|
304
|
+
static toObject(includeInstance: boolean, msg: IdentityEntry): IdentityEntry.AsObject;
|
|
305
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
306
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
307
|
+
static serializeBinaryToWriter(message: IdentityEntry, writer: jspb.BinaryWriter): void;
|
|
308
|
+
static deserializeBinary(bytes: Uint8Array): IdentityEntry;
|
|
309
|
+
static deserializeBinaryFromReader(message: IdentityEntry, reader: jspb.BinaryReader): IdentityEntry;
|
|
310
|
+
}
|
|
311
|
+
|
|
312
|
+
export namespace IdentityEntry {
|
|
313
|
+
export type AsObject = {
|
|
314
|
+
key: Uint8Array | string,
|
|
315
|
+
value?: GetIdentitiesResponse.IdentityValue.AsObject,
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
export class Identities extends jspb.Message {
|
|
320
|
+
clearIdentityEntriesList(): void;
|
|
321
|
+
getIdentityEntriesList(): Array<GetIdentitiesResponse.IdentityEntry>;
|
|
322
|
+
setIdentityEntriesList(value: Array<GetIdentitiesResponse.IdentityEntry>): void;
|
|
323
|
+
addIdentityEntries(value?: GetIdentitiesResponse.IdentityEntry, index?: number): GetIdentitiesResponse.IdentityEntry;
|
|
324
|
+
|
|
325
|
+
serializeBinary(): Uint8Array;
|
|
326
|
+
toObject(includeInstance?: boolean): Identities.AsObject;
|
|
327
|
+
static toObject(includeInstance: boolean, msg: Identities): Identities.AsObject;
|
|
328
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
329
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
330
|
+
static serializeBinaryToWriter(message: Identities, writer: jspb.BinaryWriter): void;
|
|
331
|
+
static deserializeBinary(bytes: Uint8Array): Identities;
|
|
332
|
+
static deserializeBinaryFromReader(message: Identities, reader: jspb.BinaryReader): Identities;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
export namespace Identities {
|
|
336
|
+
export type AsObject = {
|
|
337
|
+
identityEntriesList: Array<GetIdentitiesResponse.IdentityEntry.AsObject>,
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
export enum ResultCase {
|
|
342
|
+
RESULT_NOT_SET = 0,
|
|
343
|
+
IDENTITIES = 1,
|
|
344
|
+
PROOF = 2,
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
|
|
207
348
|
export class GetIdentityBalanceResponse extends jspb.Message {
|
|
208
349
|
hasBalance(): boolean;
|
|
209
350
|
clearBalance(): void;
|
|
@@ -696,6 +837,160 @@ export namespace GetIdentitiesKeysResponse {
|
|
|
696
837
|
}
|
|
697
838
|
}
|
|
698
839
|
|
|
840
|
+
export class GetProofsRequest extends jspb.Message {
|
|
841
|
+
clearIdentitiesList(): void;
|
|
842
|
+
getIdentitiesList(): Array<GetProofsRequest.IdentityRequest>;
|
|
843
|
+
setIdentitiesList(value: Array<GetProofsRequest.IdentityRequest>): void;
|
|
844
|
+
addIdentities(value?: GetProofsRequest.IdentityRequest, index?: number): GetProofsRequest.IdentityRequest;
|
|
845
|
+
|
|
846
|
+
clearContractsList(): void;
|
|
847
|
+
getContractsList(): Array<GetProofsRequest.ContractRequest>;
|
|
848
|
+
setContractsList(value: Array<GetProofsRequest.ContractRequest>): void;
|
|
849
|
+
addContracts(value?: GetProofsRequest.ContractRequest, index?: number): GetProofsRequest.ContractRequest;
|
|
850
|
+
|
|
851
|
+
clearDocumentsList(): void;
|
|
852
|
+
getDocumentsList(): Array<GetProofsRequest.DocumentRequest>;
|
|
853
|
+
setDocumentsList(value: Array<GetProofsRequest.DocumentRequest>): void;
|
|
854
|
+
addDocuments(value?: GetProofsRequest.DocumentRequest, index?: number): GetProofsRequest.DocumentRequest;
|
|
855
|
+
|
|
856
|
+
serializeBinary(): Uint8Array;
|
|
857
|
+
toObject(includeInstance?: boolean): GetProofsRequest.AsObject;
|
|
858
|
+
static toObject(includeInstance: boolean, msg: GetProofsRequest): GetProofsRequest.AsObject;
|
|
859
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
860
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
861
|
+
static serializeBinaryToWriter(message: GetProofsRequest, writer: jspb.BinaryWriter): void;
|
|
862
|
+
static deserializeBinary(bytes: Uint8Array): GetProofsRequest;
|
|
863
|
+
static deserializeBinaryFromReader(message: GetProofsRequest, reader: jspb.BinaryReader): GetProofsRequest;
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
export namespace GetProofsRequest {
|
|
867
|
+
export type AsObject = {
|
|
868
|
+
identitiesList: Array<GetProofsRequest.IdentityRequest.AsObject>,
|
|
869
|
+
contractsList: Array<GetProofsRequest.ContractRequest.AsObject>,
|
|
870
|
+
documentsList: Array<GetProofsRequest.DocumentRequest.AsObject>,
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
export class DocumentRequest extends jspb.Message {
|
|
874
|
+
getContractId(): Uint8Array | string;
|
|
875
|
+
getContractId_asU8(): Uint8Array;
|
|
876
|
+
getContractId_asB64(): string;
|
|
877
|
+
setContractId(value: Uint8Array | string): void;
|
|
878
|
+
|
|
879
|
+
getDocumentType(): string;
|
|
880
|
+
setDocumentType(value: string): void;
|
|
881
|
+
|
|
882
|
+
getDocumentTypeKeepsHistory(): boolean;
|
|
883
|
+
setDocumentTypeKeepsHistory(value: boolean): void;
|
|
884
|
+
|
|
885
|
+
getDocumentId(): Uint8Array | string;
|
|
886
|
+
getDocumentId_asU8(): Uint8Array;
|
|
887
|
+
getDocumentId_asB64(): string;
|
|
888
|
+
setDocumentId(value: Uint8Array | string): void;
|
|
889
|
+
|
|
890
|
+
serializeBinary(): Uint8Array;
|
|
891
|
+
toObject(includeInstance?: boolean): DocumentRequest.AsObject;
|
|
892
|
+
static toObject(includeInstance: boolean, msg: DocumentRequest): DocumentRequest.AsObject;
|
|
893
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
894
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
895
|
+
static serializeBinaryToWriter(message: DocumentRequest, writer: jspb.BinaryWriter): void;
|
|
896
|
+
static deserializeBinary(bytes: Uint8Array): DocumentRequest;
|
|
897
|
+
static deserializeBinaryFromReader(message: DocumentRequest, reader: jspb.BinaryReader): DocumentRequest;
|
|
898
|
+
}
|
|
899
|
+
|
|
900
|
+
export namespace DocumentRequest {
|
|
901
|
+
export type AsObject = {
|
|
902
|
+
contractId: Uint8Array | string,
|
|
903
|
+
documentType: string,
|
|
904
|
+
documentTypeKeepsHistory: boolean,
|
|
905
|
+
documentId: Uint8Array | string,
|
|
906
|
+
}
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
export class IdentityRequest extends jspb.Message {
|
|
910
|
+
getIdentityId(): Uint8Array | string;
|
|
911
|
+
getIdentityId_asU8(): Uint8Array;
|
|
912
|
+
getIdentityId_asB64(): string;
|
|
913
|
+
setIdentityId(value: Uint8Array | string): void;
|
|
914
|
+
|
|
915
|
+
getRequestType(): GetProofsRequest.IdentityRequest.TypeMap[keyof GetProofsRequest.IdentityRequest.TypeMap];
|
|
916
|
+
setRequestType(value: GetProofsRequest.IdentityRequest.TypeMap[keyof GetProofsRequest.IdentityRequest.TypeMap]): void;
|
|
917
|
+
|
|
918
|
+
serializeBinary(): Uint8Array;
|
|
919
|
+
toObject(includeInstance?: boolean): IdentityRequest.AsObject;
|
|
920
|
+
static toObject(includeInstance: boolean, msg: IdentityRequest): IdentityRequest.AsObject;
|
|
921
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
922
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
923
|
+
static serializeBinaryToWriter(message: IdentityRequest, writer: jspb.BinaryWriter): void;
|
|
924
|
+
static deserializeBinary(bytes: Uint8Array): IdentityRequest;
|
|
925
|
+
static deserializeBinaryFromReader(message: IdentityRequest, reader: jspb.BinaryReader): IdentityRequest;
|
|
926
|
+
}
|
|
927
|
+
|
|
928
|
+
export namespace IdentityRequest {
|
|
929
|
+
export type AsObject = {
|
|
930
|
+
identityId: Uint8Array | string,
|
|
931
|
+
requestType: GetProofsRequest.IdentityRequest.TypeMap[keyof GetProofsRequest.IdentityRequest.TypeMap],
|
|
932
|
+
}
|
|
933
|
+
|
|
934
|
+
export interface TypeMap {
|
|
935
|
+
FULL_IDENTITY: 0;
|
|
936
|
+
BALANCE: 1;
|
|
937
|
+
KEYS: 2;
|
|
938
|
+
}
|
|
939
|
+
|
|
940
|
+
export const Type: TypeMap;
|
|
941
|
+
}
|
|
942
|
+
|
|
943
|
+
export class ContractRequest extends jspb.Message {
|
|
944
|
+
getContractId(): Uint8Array | string;
|
|
945
|
+
getContractId_asU8(): Uint8Array;
|
|
946
|
+
getContractId_asB64(): string;
|
|
947
|
+
setContractId(value: Uint8Array | string): void;
|
|
948
|
+
|
|
949
|
+
serializeBinary(): Uint8Array;
|
|
950
|
+
toObject(includeInstance?: boolean): ContractRequest.AsObject;
|
|
951
|
+
static toObject(includeInstance: boolean, msg: ContractRequest): ContractRequest.AsObject;
|
|
952
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
953
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
954
|
+
static serializeBinaryToWriter(message: ContractRequest, writer: jspb.BinaryWriter): void;
|
|
955
|
+
static deserializeBinary(bytes: Uint8Array): ContractRequest;
|
|
956
|
+
static deserializeBinaryFromReader(message: ContractRequest, reader: jspb.BinaryReader): ContractRequest;
|
|
957
|
+
}
|
|
958
|
+
|
|
959
|
+
export namespace ContractRequest {
|
|
960
|
+
export type AsObject = {
|
|
961
|
+
contractId: Uint8Array | string,
|
|
962
|
+
}
|
|
963
|
+
}
|
|
964
|
+
}
|
|
965
|
+
|
|
966
|
+
export class GetProofsResponse extends jspb.Message {
|
|
967
|
+
hasProof(): boolean;
|
|
968
|
+
clearProof(): void;
|
|
969
|
+
getProof(): Proof | undefined;
|
|
970
|
+
setProof(value?: Proof): void;
|
|
971
|
+
|
|
972
|
+
hasMetadata(): boolean;
|
|
973
|
+
clearMetadata(): void;
|
|
974
|
+
getMetadata(): ResponseMetadata | undefined;
|
|
975
|
+
setMetadata(value?: ResponseMetadata): void;
|
|
976
|
+
|
|
977
|
+
serializeBinary(): Uint8Array;
|
|
978
|
+
toObject(includeInstance?: boolean): GetProofsResponse.AsObject;
|
|
979
|
+
static toObject(includeInstance: boolean, msg: GetProofsResponse): GetProofsResponse.AsObject;
|
|
980
|
+
static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
|
|
981
|
+
static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
|
|
982
|
+
static serializeBinaryToWriter(message: GetProofsResponse, writer: jspb.BinaryWriter): void;
|
|
983
|
+
static deserializeBinary(bytes: Uint8Array): GetProofsResponse;
|
|
984
|
+
static deserializeBinaryFromReader(message: GetProofsResponse, reader: jspb.BinaryReader): GetProofsResponse;
|
|
985
|
+
}
|
|
986
|
+
|
|
987
|
+
export namespace GetProofsResponse {
|
|
988
|
+
export type AsObject = {
|
|
989
|
+
proof?: Proof.AsObject,
|
|
990
|
+
metadata?: ResponseMetadata.AsObject,
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
699
994
|
export class GetDataContractRequest extends jspb.Message {
|
|
700
995
|
getId(): Uint8Array | string;
|
|
701
996
|
getId_asU8(): Uint8Array;
|