@dashevo/dapi-grpc 5.0.0-rc.6 → 5.0.0-rc.8

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.
@@ -6888,6 +6888,11 @@ export class GetIdentityByNonUniquePublicKeyHashRequest extends jspb.Message {
6888
6888
  getV0(): GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0 | undefined;
6889
6889
  setV0(value?: GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0): void;
6890
6890
 
6891
+ hasV1(): boolean;
6892
+ clearV1(): void;
6893
+ getV1(): GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1 | undefined;
6894
+ setV1(value?: GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1): void;
6895
+
6891
6896
  getVersionCase(): GetIdentityByNonUniquePublicKeyHashRequest.VersionCase;
6892
6897
  serializeBinary(): Uint8Array;
6893
6898
  toObject(includeInstance?: boolean): GetIdentityByNonUniquePublicKeyHashRequest.AsObject;
@@ -6902,6 +6907,7 @@ export class GetIdentityByNonUniquePublicKeyHashRequest extends jspb.Message {
6902
6907
  export namespace GetIdentityByNonUniquePublicKeyHashRequest {
6903
6908
  export type AsObject = {
6904
6909
  v0?: GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV0.AsObject,
6910
+ v1?: GetIdentityByNonUniquePublicKeyHashRequest.GetIdentityByNonUniquePublicKeyHashRequestV1.AsObject,
6905
6911
  }
6906
6912
 
6907
6913
  export class GetIdentityByNonUniquePublicKeyHashRequestV0 extends jspb.Message {
@@ -6938,9 +6944,44 @@ export namespace GetIdentityByNonUniquePublicKeyHashRequest {
6938
6944
  }
6939
6945
  }
6940
6946
 
6947
+ export class GetIdentityByNonUniquePublicKeyHashRequestV1 extends jspb.Message {
6948
+ getPublicKeyHash(): Uint8Array | string;
6949
+ getPublicKeyHash_asU8(): Uint8Array;
6950
+ getPublicKeyHash_asB64(): string;
6951
+ setPublicKeyHash(value: Uint8Array | string): void;
6952
+
6953
+ hasStartAfter(): boolean;
6954
+ clearStartAfter(): void;
6955
+ getStartAfter(): Uint8Array | string;
6956
+ getStartAfter_asU8(): Uint8Array;
6957
+ getStartAfter_asB64(): string;
6958
+ setStartAfter(value: Uint8Array | string): void;
6959
+
6960
+ getProve(): boolean;
6961
+ setProve(value: boolean): void;
6962
+
6963
+ serializeBinary(): Uint8Array;
6964
+ toObject(includeInstance?: boolean): GetIdentityByNonUniquePublicKeyHashRequestV1.AsObject;
6965
+ static toObject(includeInstance: boolean, msg: GetIdentityByNonUniquePublicKeyHashRequestV1): GetIdentityByNonUniquePublicKeyHashRequestV1.AsObject;
6966
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
6967
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
6968
+ static serializeBinaryToWriter(message: GetIdentityByNonUniquePublicKeyHashRequestV1, writer: jspb.BinaryWriter): void;
6969
+ static deserializeBinary(bytes: Uint8Array): GetIdentityByNonUniquePublicKeyHashRequestV1;
6970
+ static deserializeBinaryFromReader(message: GetIdentityByNonUniquePublicKeyHashRequestV1, reader: jspb.BinaryReader): GetIdentityByNonUniquePublicKeyHashRequestV1;
6971
+ }
6972
+
6973
+ export namespace GetIdentityByNonUniquePublicKeyHashRequestV1 {
6974
+ export type AsObject = {
6975
+ publicKeyHash: Uint8Array | string,
6976
+ startAfter: Uint8Array | string,
6977
+ prove: boolean,
6978
+ }
6979
+ }
6980
+
6941
6981
  export enum VersionCase {
6942
6982
  VERSION_NOT_SET = 0,
6943
6983
  V0 = 1,
6984
+ V1 = 2,
6944
6985
  }
6945
6986
  }
6946
6987
 
@@ -6950,6 +6991,11 @@ export class GetIdentityByNonUniquePublicKeyHashResponse extends jspb.Message {
6950
6991
  getV0(): GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0 | undefined;
6951
6992
  setV0(value?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0): void;
6952
6993
 
6994
+ hasV1(): boolean;
6995
+ clearV1(): void;
6996
+ getV1(): GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1 | undefined;
6997
+ setV1(value?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1): void;
6998
+
6953
6999
  getVersionCase(): GetIdentityByNonUniquePublicKeyHashResponse.VersionCase;
6954
7000
  serializeBinary(): Uint8Array;
6955
7001
  toObject(includeInstance?: boolean): GetIdentityByNonUniquePublicKeyHashResponse.AsObject;
@@ -6964,6 +7010,7 @@ export class GetIdentityByNonUniquePublicKeyHashResponse extends jspb.Message {
6964
7010
  export namespace GetIdentityByNonUniquePublicKeyHashResponse {
6965
7011
  export type AsObject = {
6966
7012
  v0?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.AsObject,
7013
+ v1?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.AsObject,
6967
7014
  }
6968
7015
 
6969
7016
  export class GetIdentityByNonUniquePublicKeyHashResponseV0 extends jspb.Message {
@@ -6974,8 +7021,8 @@ export namespace GetIdentityByNonUniquePublicKeyHashResponse {
6974
7021
 
6975
7022
  hasProof(): boolean;
6976
7023
  clearProof(): void;
6977
- getProof(): Proof | undefined;
6978
- setProof(value?: Proof): void;
7024
+ getProof(): GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse | undefined;
7025
+ setProof(value?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse): void;
6979
7026
 
6980
7027
  hasMetadata(): boolean;
6981
7028
  clearMetadata(): void;
@@ -6996,6 +7043,101 @@ export namespace GetIdentityByNonUniquePublicKeyHashResponse {
6996
7043
  export namespace GetIdentityByNonUniquePublicKeyHashResponseV0 {
6997
7044
  export type AsObject = {
6998
7045
  identity?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityResponse.AsObject,
7046
+ proof?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV0.IdentityProvedResponse.AsObject,
7047
+ metadata?: ResponseMetadata.AsObject,
7048
+ }
7049
+
7050
+ export class IdentityResponse extends jspb.Message {
7051
+ hasIdentity(): boolean;
7052
+ clearIdentity(): void;
7053
+ getIdentity(): Uint8Array | string;
7054
+ getIdentity_asU8(): Uint8Array;
7055
+ getIdentity_asB64(): string;
7056
+ setIdentity(value: Uint8Array | string): void;
7057
+
7058
+ serializeBinary(): Uint8Array;
7059
+ toObject(includeInstance?: boolean): IdentityResponse.AsObject;
7060
+ static toObject(includeInstance: boolean, msg: IdentityResponse): IdentityResponse.AsObject;
7061
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7062
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7063
+ static serializeBinaryToWriter(message: IdentityResponse, writer: jspb.BinaryWriter): void;
7064
+ static deserializeBinary(bytes: Uint8Array): IdentityResponse;
7065
+ static deserializeBinaryFromReader(message: IdentityResponse, reader: jspb.BinaryReader): IdentityResponse;
7066
+ }
7067
+
7068
+ export namespace IdentityResponse {
7069
+ export type AsObject = {
7070
+ identity: Uint8Array | string,
7071
+ }
7072
+ }
7073
+
7074
+ export class IdentityProvedResponse extends jspb.Message {
7075
+ hasGrovedbIdentityPublicKeyHashProof(): boolean;
7076
+ clearGrovedbIdentityPublicKeyHashProof(): void;
7077
+ getGrovedbIdentityPublicKeyHashProof(): Proof | undefined;
7078
+ setGrovedbIdentityPublicKeyHashProof(value?: Proof): void;
7079
+
7080
+ hasIdentityProofBytes(): boolean;
7081
+ clearIdentityProofBytes(): void;
7082
+ getIdentityProofBytes(): Uint8Array | string;
7083
+ getIdentityProofBytes_asU8(): Uint8Array;
7084
+ getIdentityProofBytes_asB64(): string;
7085
+ setIdentityProofBytes(value: Uint8Array | string): void;
7086
+
7087
+ serializeBinary(): Uint8Array;
7088
+ toObject(includeInstance?: boolean): IdentityProvedResponse.AsObject;
7089
+ static toObject(includeInstance: boolean, msg: IdentityProvedResponse): IdentityProvedResponse.AsObject;
7090
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7091
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7092
+ static serializeBinaryToWriter(message: IdentityProvedResponse, writer: jspb.BinaryWriter): void;
7093
+ static deserializeBinary(bytes: Uint8Array): IdentityProvedResponse;
7094
+ static deserializeBinaryFromReader(message: IdentityProvedResponse, reader: jspb.BinaryReader): IdentityProvedResponse;
7095
+ }
7096
+
7097
+ export namespace IdentityProvedResponse {
7098
+ export type AsObject = {
7099
+ grovedbIdentityPublicKeyHashProof?: Proof.AsObject,
7100
+ identityProofBytes: Uint8Array | string,
7101
+ }
7102
+ }
7103
+
7104
+ export enum ResultCase {
7105
+ RESULT_NOT_SET = 0,
7106
+ IDENTITY = 1,
7107
+ PROOF = 2,
7108
+ }
7109
+ }
7110
+
7111
+ export class GetIdentityByNonUniquePublicKeyHashResponseV1 extends jspb.Message {
7112
+ hasIdentity(): boolean;
7113
+ clearIdentity(): void;
7114
+ getIdentity(): GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse | undefined;
7115
+ setIdentity(value?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse): void;
7116
+
7117
+ hasProof(): boolean;
7118
+ clearProof(): void;
7119
+ getProof(): Proof | undefined;
7120
+ setProof(value?: Proof): void;
7121
+
7122
+ hasMetadata(): boolean;
7123
+ clearMetadata(): void;
7124
+ getMetadata(): ResponseMetadata | undefined;
7125
+ setMetadata(value?: ResponseMetadata): void;
7126
+
7127
+ getResultCase(): GetIdentityByNonUniquePublicKeyHashResponseV1.ResultCase;
7128
+ serializeBinary(): Uint8Array;
7129
+ toObject(includeInstance?: boolean): GetIdentityByNonUniquePublicKeyHashResponseV1.AsObject;
7130
+ static toObject(includeInstance: boolean, msg: GetIdentityByNonUniquePublicKeyHashResponseV1): GetIdentityByNonUniquePublicKeyHashResponseV1.AsObject;
7131
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
7132
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
7133
+ static serializeBinaryToWriter(message: GetIdentityByNonUniquePublicKeyHashResponseV1, writer: jspb.BinaryWriter): void;
7134
+ static deserializeBinary(bytes: Uint8Array): GetIdentityByNonUniquePublicKeyHashResponseV1;
7135
+ static deserializeBinaryFromReader(message: GetIdentityByNonUniquePublicKeyHashResponseV1, reader: jspb.BinaryReader): GetIdentityByNonUniquePublicKeyHashResponseV1;
7136
+ }
7137
+
7138
+ export namespace GetIdentityByNonUniquePublicKeyHashResponseV1 {
7139
+ export type AsObject = {
7140
+ identity?: GetIdentityByNonUniquePublicKeyHashResponse.GetIdentityByNonUniquePublicKeyHashResponseV1.IdentityResponse.AsObject,
6999
7141
  proof?: Proof.AsObject,
7000
7142
  metadata?: ResponseMetadata.AsObject,
7001
7143
  }
@@ -7027,13 +7169,14 @@ export namespace GetIdentityByNonUniquePublicKeyHashResponse {
7027
7169
  export enum ResultCase {
7028
7170
  RESULT_NOT_SET = 0,
7029
7171
  IDENTITY = 1,
7030
- PROOF = 4,
7172
+ PROOF = 2,
7031
7173
  }
7032
7174
  }
7033
7175
 
7034
7176
  export enum VersionCase {
7035
7177
  VERSION_NOT_SET = 0,
7036
7178
  V0 = 1,
7179
+ V1 = 2,
7037
7180
  }
7038
7181
  }
7039
7182