@sniipwebmaster/user-service-client-grpcweb-ts 25.9.13337 → 25.9.13359

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.
@@ -1373,6 +1373,49 @@ export class SniipUserServiceServiceClient {
1373
1373
  this.methodDescriptorDeleteUserAccount);
1374
1374
  }
1375
1375
 
1376
+ methodDescriptorDeleteAccountOtpValidation = new grpcWeb.MethodDescriptor(
1377
+ '/sniipuserservice.SniipUserServiceService/DeleteAccountOtpValidation',
1378
+ grpcWeb.MethodType.UNARY,
1379
+ service_pb.DeleteAccountOtpValidationRequest,
1380
+ service_pb.ResponseCode,
1381
+ (request: service_pb.DeleteAccountOtpValidationRequest) => {
1382
+ return request.serializeBinary();
1383
+ },
1384
+ service_pb.ResponseCode.deserializeBinary
1385
+ );
1386
+
1387
+ deleteAccountOtpValidation(
1388
+ request: service_pb.DeleteAccountOtpValidationRequest,
1389
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
1390
+
1391
+ deleteAccountOtpValidation(
1392
+ request: service_pb.DeleteAccountOtpValidationRequest,
1393
+ metadata: grpcWeb.Metadata | null,
1394
+ callback: (err: grpcWeb.RpcError,
1395
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
1396
+
1397
+ deleteAccountOtpValidation(
1398
+ request: service_pb.DeleteAccountOtpValidationRequest,
1399
+ metadata?: grpcWeb.Metadata | null,
1400
+ callback?: (err: grpcWeb.RpcError,
1401
+ response: service_pb.ResponseCode) => void) {
1402
+ if (callback !== undefined) {
1403
+ return this.client_.rpcCall(
1404
+ this.hostname_ +
1405
+ '/sniipuserservice.SniipUserServiceService/DeleteAccountOtpValidation',
1406
+ request,
1407
+ metadata || {},
1408
+ this.methodDescriptorDeleteAccountOtpValidation,
1409
+ callback);
1410
+ }
1411
+ return this.client_.unaryCall(
1412
+ this.hostname_ +
1413
+ '/sniipuserservice.SniipUserServiceService/DeleteAccountOtpValidation',
1414
+ request,
1415
+ metadata || {},
1416
+ this.methodDescriptorDeleteAccountOtpValidation);
1417
+ }
1418
+
1376
1419
  methodDescriptorGetAllUserFraudStatus = new grpcWeb.MethodDescriptor(
1377
1420
  '/sniipuserservice.SniipUserServiceService/GetAllUserFraudStatus',
1378
1421
  grpcWeb.MethodType.UNARY,
@@ -4899,6 +4942,49 @@ export class SniipUserServiceServiceClient {
4899
4942
  this.methodDescriptorUpdateEmailV3);
4900
4943
  }
4901
4944
 
4945
+ methodDescriptorUpdateEmailOtpValidation = new grpcWeb.MethodDescriptor(
4946
+ '/sniipuserservice.SniipUserServiceService/UpdateEmailOtpValidation',
4947
+ grpcWeb.MethodType.UNARY,
4948
+ service_pb.UpdateEmailOtpValidationRequest,
4949
+ service_pb.UserProfileResponse,
4950
+ (request: service_pb.UpdateEmailOtpValidationRequest) => {
4951
+ return request.serializeBinary();
4952
+ },
4953
+ service_pb.UserProfileResponse.deserializeBinary
4954
+ );
4955
+
4956
+ updateEmailOtpValidation(
4957
+ request: service_pb.UpdateEmailOtpValidationRequest,
4958
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.UserProfileResponse>;
4959
+
4960
+ updateEmailOtpValidation(
4961
+ request: service_pb.UpdateEmailOtpValidationRequest,
4962
+ metadata: grpcWeb.Metadata | null,
4963
+ callback: (err: grpcWeb.RpcError,
4964
+ response: service_pb.UserProfileResponse) => void): grpcWeb.ClientReadableStream<service_pb.UserProfileResponse>;
4965
+
4966
+ updateEmailOtpValidation(
4967
+ request: service_pb.UpdateEmailOtpValidationRequest,
4968
+ metadata?: grpcWeb.Metadata | null,
4969
+ callback?: (err: grpcWeb.RpcError,
4970
+ response: service_pb.UserProfileResponse) => void) {
4971
+ if (callback !== undefined) {
4972
+ return this.client_.rpcCall(
4973
+ this.hostname_ +
4974
+ '/sniipuserservice.SniipUserServiceService/UpdateEmailOtpValidation',
4975
+ request,
4976
+ metadata || {},
4977
+ this.methodDescriptorUpdateEmailOtpValidation,
4978
+ callback);
4979
+ }
4980
+ return this.client_.unaryCall(
4981
+ this.hostname_ +
4982
+ '/sniipuserservice.SniipUserServiceService/UpdateEmailOtpValidation',
4983
+ request,
4984
+ metadata || {},
4985
+ this.methodDescriptorUpdateEmailOtpValidation);
4986
+ }
4987
+
4902
4988
  methodDescriptorUpdateKycUserStatusForTest = new grpcWeb.MethodDescriptor(
4903
4989
  '/sniipuserservice.SniipUserServiceService/UpdateKycUserStatusForTest',
4904
4990
  grpcWeb.MethodType.UNARY,
@@ -5114,6 +5200,49 @@ export class SniipUserServiceServiceClient {
5114
5200
  this.methodDescriptorUpdatePhoneV2);
5115
5201
  }
5116
5202
 
5203
+ methodDescriptorUpdatePhoneOtpValidation = new grpcWeb.MethodDescriptor(
5204
+ '/sniipuserservice.SniipUserServiceService/UpdatePhoneOtpValidation',
5205
+ grpcWeb.MethodType.UNARY,
5206
+ service_pb.UpdatePhoneOtpValidationRequest,
5207
+ service_pb.UserProfileResponse,
5208
+ (request: service_pb.UpdatePhoneOtpValidationRequest) => {
5209
+ return request.serializeBinary();
5210
+ },
5211
+ service_pb.UserProfileResponse.deserializeBinary
5212
+ );
5213
+
5214
+ updatePhoneOtpValidation(
5215
+ request: service_pb.UpdatePhoneOtpValidationRequest,
5216
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.UserProfileResponse>;
5217
+
5218
+ updatePhoneOtpValidation(
5219
+ request: service_pb.UpdatePhoneOtpValidationRequest,
5220
+ metadata: grpcWeb.Metadata | null,
5221
+ callback: (err: grpcWeb.RpcError,
5222
+ response: service_pb.UserProfileResponse) => void): grpcWeb.ClientReadableStream<service_pb.UserProfileResponse>;
5223
+
5224
+ updatePhoneOtpValidation(
5225
+ request: service_pb.UpdatePhoneOtpValidationRequest,
5226
+ metadata?: grpcWeb.Metadata | null,
5227
+ callback?: (err: grpcWeb.RpcError,
5228
+ response: service_pb.UserProfileResponse) => void) {
5229
+ if (callback !== undefined) {
5230
+ return this.client_.rpcCall(
5231
+ this.hostname_ +
5232
+ '/sniipuserservice.SniipUserServiceService/UpdatePhoneOtpValidation',
5233
+ request,
5234
+ metadata || {},
5235
+ this.methodDescriptorUpdatePhoneOtpValidation,
5236
+ callback);
5237
+ }
5238
+ return this.client_.unaryCall(
5239
+ this.hostname_ +
5240
+ '/sniipuserservice.SniipUserServiceService/UpdatePhoneOtpValidation',
5241
+ request,
5242
+ metadata || {},
5243
+ this.methodDescriptorUpdatePhoneOtpValidation);
5244
+ }
5245
+
5117
5246
  methodDescriptorUpdateUserStatus = new grpcWeb.MethodDescriptor(
5118
5247
  '/sniipuserservice.SniipUserServiceService/UpdateUserStatus',
5119
5248
  grpcWeb.MethodType.UNARY,
@@ -5888,5 +6017,48 @@ export class SniipUserServiceServiceClient {
5888
6017
  this.methodDescriptorGetUserPassports);
5889
6018
  }
5890
6019
 
6020
+ methodDescriptorSendAuthorisedOtp = new grpcWeb.MethodDescriptor(
6021
+ '/sniipuserservice.SniipUserServiceService/SendAuthorisedOtp',
6022
+ grpcWeb.MethodType.UNARY,
6023
+ service_pb.SendAuthorisedOtpRequest,
6024
+ service_pb.ResponseCode,
6025
+ (request: service_pb.SendAuthorisedOtpRequest) => {
6026
+ return request.serializeBinary();
6027
+ },
6028
+ service_pb.ResponseCode.deserializeBinary
6029
+ );
6030
+
6031
+ sendAuthorisedOtp(
6032
+ request: service_pb.SendAuthorisedOtpRequest,
6033
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
6034
+
6035
+ sendAuthorisedOtp(
6036
+ request: service_pb.SendAuthorisedOtpRequest,
6037
+ metadata: grpcWeb.Metadata | null,
6038
+ callback: (err: grpcWeb.RpcError,
6039
+ response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
6040
+
6041
+ sendAuthorisedOtp(
6042
+ request: service_pb.SendAuthorisedOtpRequest,
6043
+ metadata?: grpcWeb.Metadata | null,
6044
+ callback?: (err: grpcWeb.RpcError,
6045
+ response: service_pb.ResponseCode) => void) {
6046
+ if (callback !== undefined) {
6047
+ return this.client_.rpcCall(
6048
+ this.hostname_ +
6049
+ '/sniipuserservice.SniipUserServiceService/SendAuthorisedOtp',
6050
+ request,
6051
+ metadata || {},
6052
+ this.methodDescriptorSendAuthorisedOtp,
6053
+ callback);
6054
+ }
6055
+ return this.client_.unaryCall(
6056
+ this.hostname_ +
6057
+ '/sniipuserservice.SniipUserServiceService/SendAuthorisedOtp',
6058
+ request,
6059
+ metadata || {},
6060
+ this.methodDescriptorSendAuthorisedOtp);
6061
+ }
6062
+
5891
6063
  }
5892
6064
 
@@ -1326,6 +1326,72 @@ export namespace DeleteAccountRequest {
1326
1326
  }
1327
1327
  }
1328
1328
 
1329
+ export class DeleteAccountOtpValidationRequest extends jspb.Message {
1330
+ getFeedback(): string;
1331
+ setFeedback(value: string): DeleteAccountOtpValidationRequest;
1332
+
1333
+ getReason(): string;
1334
+ setReason(value: string): DeleteAccountOtpValidationRequest;
1335
+
1336
+ getDeviceid(): string;
1337
+ setDeviceid(value: string): DeleteAccountOtpValidationRequest;
1338
+
1339
+ getDeviceplatform(): string;
1340
+ setDeviceplatform(value: string): DeleteAccountOtpValidationRequest;
1341
+
1342
+ getDeviceversion(): string;
1343
+ setDeviceversion(value: string): DeleteAccountOtpValidationRequest;
1344
+
1345
+ getDevicemanufacturer(): string;
1346
+ setDevicemanufacturer(value: string): DeleteAccountOtpValidationRequest;
1347
+
1348
+ getDevicemodel(): string;
1349
+ setDevicemodel(value: string): DeleteAccountOtpValidationRequest;
1350
+
1351
+ getOsversion(): string;
1352
+ setOsversion(value: string): DeleteAccountOtpValidationRequest;
1353
+
1354
+ getBrowsername(): string;
1355
+ setBrowsername(value: string): DeleteAccountOtpValidationRequest;
1356
+
1357
+ getBrowserversion(): string;
1358
+ setBrowserversion(value: string): DeleteAccountOtpValidationRequest;
1359
+
1360
+ getBrowserplatform(): string;
1361
+ setBrowserplatform(value: string): DeleteAccountOtpValidationRequest;
1362
+
1363
+ getBrowserdevicemodel(): string;
1364
+ setBrowserdevicemodel(value: string): DeleteAccountOtpValidationRequest;
1365
+
1366
+ getVerificationcode(): string;
1367
+ setVerificationcode(value: string): DeleteAccountOtpValidationRequest;
1368
+
1369
+ serializeBinary(): Uint8Array;
1370
+ toObject(includeInstance?: boolean): DeleteAccountOtpValidationRequest.AsObject;
1371
+ static toObject(includeInstance: boolean, msg: DeleteAccountOtpValidationRequest): DeleteAccountOtpValidationRequest.AsObject;
1372
+ static serializeBinaryToWriter(message: DeleteAccountOtpValidationRequest, writer: jspb.BinaryWriter): void;
1373
+ static deserializeBinary(bytes: Uint8Array): DeleteAccountOtpValidationRequest;
1374
+ static deserializeBinaryFromReader(message: DeleteAccountOtpValidationRequest, reader: jspb.BinaryReader): DeleteAccountOtpValidationRequest;
1375
+ }
1376
+
1377
+ export namespace DeleteAccountOtpValidationRequest {
1378
+ export type AsObject = {
1379
+ feedback: string,
1380
+ reason: string,
1381
+ deviceid: string,
1382
+ deviceplatform: string,
1383
+ deviceversion: string,
1384
+ devicemanufacturer: string,
1385
+ devicemodel: string,
1386
+ osversion: string,
1387
+ browsername: string,
1388
+ browserversion: string,
1389
+ browserplatform: string,
1390
+ browserdevicemodel: string,
1391
+ verificationcode: string,
1392
+ }
1393
+ }
1394
+
1329
1395
  export class DeleteBillerRolesRequest extends jspb.Message {
1330
1396
  getBillerid(): number;
1331
1397
  setBillerid(value: number): DeleteBillerRolesRequest;
@@ -4682,6 +4748,39 @@ export namespace UpdateEmailV3Request {
4682
4748
  }
4683
4749
  }
4684
4750
 
4751
+ export class UpdateEmailOtpValidationRequest extends jspb.Message {
4752
+ getEmail(): string;
4753
+ setEmail(value: string): UpdateEmailOtpValidationRequest;
4754
+
4755
+ getVerificationcode(): string;
4756
+ setVerificationcode(value: string): UpdateEmailOtpValidationRequest;
4757
+
4758
+ getAppaccounttype(): AppAccountType;
4759
+ setAppaccounttype(value: AppAccountType): UpdateEmailOtpValidationRequest;
4760
+ hasAppaccounttype(): boolean;
4761
+ clearAppaccounttype(): UpdateEmailOtpValidationRequest;
4762
+
4763
+ serializeBinary(): Uint8Array;
4764
+ toObject(includeInstance?: boolean): UpdateEmailOtpValidationRequest.AsObject;
4765
+ static toObject(includeInstance: boolean, msg: UpdateEmailOtpValidationRequest): UpdateEmailOtpValidationRequest.AsObject;
4766
+ static serializeBinaryToWriter(message: UpdateEmailOtpValidationRequest, writer: jspb.BinaryWriter): void;
4767
+ static deserializeBinary(bytes: Uint8Array): UpdateEmailOtpValidationRequest;
4768
+ static deserializeBinaryFromReader(message: UpdateEmailOtpValidationRequest, reader: jspb.BinaryReader): UpdateEmailOtpValidationRequest;
4769
+ }
4770
+
4771
+ export namespace UpdateEmailOtpValidationRequest {
4772
+ export type AsObject = {
4773
+ email: string,
4774
+ verificationcode: string,
4775
+ appaccounttype?: AppAccountType,
4776
+ }
4777
+
4778
+ export enum AppaccounttypeCase {
4779
+ _APPACCOUNTTYPE_NOT_SET = 0,
4780
+ APPACCOUNTTYPE = 3,
4781
+ }
4782
+ }
4783
+
4685
4784
  export class UpdateKycUserStatusForTestRequest extends jspb.Message {
4686
4785
  getData(): KycUserStatusUpdateRequest | undefined;
4687
4786
  setData(value?: KycUserStatusUpdateRequest): UpdateKycUserStatusForTestRequest;
@@ -4852,6 +4951,36 @@ export namespace UpdatePhoneRequestV2 {
4852
4951
  }
4853
4952
  }
4854
4953
 
4954
+ export class UpdatePhoneOtpValidationRequest extends jspb.Message {
4955
+ getPhonenumber(): string;
4956
+ setPhonenumber(value: string): UpdatePhoneOtpValidationRequest;
4957
+
4958
+ getRegioncode(): string;
4959
+ setRegioncode(value: string): UpdatePhoneOtpValidationRequest;
4960
+
4961
+ getVerificationcode(): string;
4962
+ setVerificationcode(value: string): UpdatePhoneOtpValidationRequest;
4963
+
4964
+ getAppaccounttype(): AppAccountType;
4965
+ setAppaccounttype(value: AppAccountType): UpdatePhoneOtpValidationRequest;
4966
+
4967
+ serializeBinary(): Uint8Array;
4968
+ toObject(includeInstance?: boolean): UpdatePhoneOtpValidationRequest.AsObject;
4969
+ static toObject(includeInstance: boolean, msg: UpdatePhoneOtpValidationRequest): UpdatePhoneOtpValidationRequest.AsObject;
4970
+ static serializeBinaryToWriter(message: UpdatePhoneOtpValidationRequest, writer: jspb.BinaryWriter): void;
4971
+ static deserializeBinary(bytes: Uint8Array): UpdatePhoneOtpValidationRequest;
4972
+ static deserializeBinaryFromReader(message: UpdatePhoneOtpValidationRequest, reader: jspb.BinaryReader): UpdatePhoneOtpValidationRequest;
4973
+ }
4974
+
4975
+ export namespace UpdatePhoneOtpValidationRequest {
4976
+ export type AsObject = {
4977
+ phonenumber: string,
4978
+ regioncode: string,
4979
+ verificationcode: string,
4980
+ appaccounttype: AppAccountType,
4981
+ }
4982
+ }
4983
+
4855
4984
  export class VerificationCodeItem extends jspb.Message {
4856
4985
  getVerificationcode(): string;
4857
4986
  setVerificationcode(value: string): VerificationCodeItem;
@@ -5994,6 +6123,24 @@ export namespace GetUserPassportsResponse {
5994
6123
  }
5995
6124
  }
5996
6125
 
6126
+ export class SendAuthorisedOtpRequest extends jspb.Message {
6127
+ getVerificationscope(): VerificationScope;
6128
+ setVerificationscope(value: VerificationScope): SendAuthorisedOtpRequest;
6129
+
6130
+ serializeBinary(): Uint8Array;
6131
+ toObject(includeInstance?: boolean): SendAuthorisedOtpRequest.AsObject;
6132
+ static toObject(includeInstance: boolean, msg: SendAuthorisedOtpRequest): SendAuthorisedOtpRequest.AsObject;
6133
+ static serializeBinaryToWriter(message: SendAuthorisedOtpRequest, writer: jspb.BinaryWriter): void;
6134
+ static deserializeBinary(bytes: Uint8Array): SendAuthorisedOtpRequest;
6135
+ static deserializeBinaryFromReader(message: SendAuthorisedOtpRequest, reader: jspb.BinaryReader): SendAuthorisedOtpRequest;
6136
+ }
6137
+
6138
+ export namespace SendAuthorisedOtpRequest {
6139
+ export type AsObject = {
6140
+ verificationscope: VerificationScope,
6141
+ }
6142
+ }
6143
+
5997
6144
  export enum KycUserStatus {
5998
6145
  KYC_USER_PENDING_REVIEW = 0,
5999
6146
  KYC_USER_VERIFIED = 1,
@@ -6008,6 +6155,9 @@ export enum VerificationScope {
6008
6155
  VERIFY_USER = 5,
6009
6156
  VERIFY_PAYMENT = 6,
6010
6157
  VERIFY_EMAIL_WITH_CODE = 7,
6158
+ UPDATE_EMAIL_ADDRESS_PINLESS = 8,
6159
+ UPDATE_PHONE_PINLESS = 9,
6160
+ DELETE_ACCOUNT_PINLESS = 10,
6011
6161
  }
6012
6162
  export enum AppAccountType {
6013
6163
  ACCOUNT_TYPE_UNSPECIFIED = 0,