@sniipwebmaster/user-service-client-grpcweb 25.9.13359 → 25.9.13370

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.
@@ -5873,6 +5873,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendSmsCus
5873
5873
  };
5874
5874
 
5875
5875
 
5876
+ /**
5877
+ * @const
5878
+ * @type {!grpc.web.MethodDescriptor<
5879
+ * !proto.sniipuserservice.SendSmsCustomerInternalRequest,
5880
+ * !proto.sniipuserservice.ResponseCode>}
5881
+ */
5882
+ const methodDescriptor_SniipUserServiceService_SendSmsCustomerInternal = new grpc.web.MethodDescriptor(
5883
+ '/sniipuserservice.SniipUserServiceService/SendSmsCustomerInternal',
5884
+ grpc.web.MethodType.UNARY,
5885
+ proto.sniipuserservice.SendSmsCustomerInternalRequest,
5886
+ proto.sniipuserservice.ResponseCode,
5887
+ /**
5888
+ * @param {!proto.sniipuserservice.SendSmsCustomerInternalRequest} request
5889
+ * @return {!Uint8Array}
5890
+ */
5891
+ function(request) {
5892
+ return request.serializeBinary();
5893
+ },
5894
+ proto.sniipuserservice.ResponseCode.deserializeBinary
5895
+ );
5896
+
5897
+
5898
+ /**
5899
+ * @param {!proto.sniipuserservice.SendSmsCustomerInternalRequest} request The
5900
+ * request proto
5901
+ * @param {?Object<string, string>} metadata User defined
5902
+ * call metadata
5903
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.ResponseCode)}
5904
+ * callback The callback function(error, response)
5905
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
5906
+ * The XHR Node Readable Stream
5907
+ */
5908
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.sendSmsCustomerInternal =
5909
+ function(request, metadata, callback) {
5910
+ return this.client_.rpcCall(this.hostname_ +
5911
+ '/sniipuserservice.SniipUserServiceService/SendSmsCustomerInternal',
5912
+ request,
5913
+ metadata || {},
5914
+ methodDescriptor_SniipUserServiceService_SendSmsCustomerInternal,
5915
+ callback);
5916
+ };
5917
+
5918
+
5919
+ /**
5920
+ * @param {!proto.sniipuserservice.SendSmsCustomerInternalRequest} request The
5921
+ * request proto
5922
+ * @param {?Object<string, string>=} metadata User defined
5923
+ * call metadata
5924
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
5925
+ * Promise that resolves to the response
5926
+ */
5927
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.sendSmsCustomerInternal =
5928
+ function(request, metadata) {
5929
+ return this.client_.unaryCall(this.hostname_ +
5930
+ '/sniipuserservice.SniipUserServiceService/SendSmsCustomerInternal',
5931
+ request,
5932
+ metadata || {},
5933
+ methodDescriptor_SniipUserServiceService_SendSmsCustomerInternal);
5934
+ };
5935
+
5936
+
5876
5937
  /**
5877
5938
  * @const
5878
5939
  * @type {!grpc.web.MethodDescriptor<
@@ -166,8 +166,10 @@ goog.exportSymbol('proto.sniipuserservice.SearchUsersV2Request.AppAccountTypeFil
166
166
  goog.exportSymbol('proto.sniipuserservice.SearchUsersV2Request.SearchUsersV2RequestStatusFilter', null, global);
167
167
  goog.exportSymbol('proto.sniipuserservice.SendAuthorisedOtpRequest', null, global);
168
168
  goog.exportSymbol('proto.sniipuserservice.SendCustomerNotificationRequest', null, global);
169
+ goog.exportSymbol('proto.sniipuserservice.SendCustomerSmsInternalRequest', null, global);
169
170
  goog.exportSymbol('proto.sniipuserservice.SendCustomerSmsRequest', null, global);
170
171
  goog.exportSymbol('proto.sniipuserservice.SendNotificationToCustomerRequest', null, global);
172
+ goog.exportSymbol('proto.sniipuserservice.SendSmsCustomerInternalRequest', null, global);
171
173
  goog.exportSymbol('proto.sniipuserservice.SendSmsCustomerRequest', null, global);
172
174
  goog.exportSymbol('proto.sniipuserservice.SetPasswordEmailRequest', null, global);
173
175
  goog.exportSymbol('proto.sniipuserservice.SetPasswordMobileRequest', null, global);
@@ -3044,6 +3046,27 @@ if (goog.DEBUG && !COMPILED) {
3044
3046
  */
3045
3047
  proto.sniipuserservice.SendCustomerSmsRequest.displayName = 'proto.sniipuserservice.SendCustomerSmsRequest';
3046
3048
  }
3049
+ /**
3050
+ * Generated by JsPbCodeGenerator.
3051
+ * @param {Array=} opt_data Optional initial data array, typically from a
3052
+ * server response, or constructed directly in Javascript. The array is used
3053
+ * in place and becomes part of the constructed object. It is not cloned.
3054
+ * If no data is provided, the constructed object will be empty, but still
3055
+ * valid.
3056
+ * @extends {jspb.Message}
3057
+ * @constructor
3058
+ */
3059
+ proto.sniipuserservice.SendCustomerSmsInternalRequest = function(opt_data) {
3060
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3061
+ };
3062
+ goog.inherits(proto.sniipuserservice.SendCustomerSmsInternalRequest, jspb.Message);
3063
+ if (goog.DEBUG && !COMPILED) {
3064
+ /**
3065
+ * @public
3066
+ * @override
3067
+ */
3068
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.displayName = 'proto.sniipuserservice.SendCustomerSmsInternalRequest';
3069
+ }
3047
3070
  /**
3048
3071
  * Generated by JsPbCodeGenerator.
3049
3072
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -3086,6 +3109,27 @@ if (goog.DEBUG && !COMPILED) {
3086
3109
  */
3087
3110
  proto.sniipuserservice.SendSmsCustomerRequest.displayName = 'proto.sniipuserservice.SendSmsCustomerRequest';
3088
3111
  }
3112
+ /**
3113
+ * Generated by JsPbCodeGenerator.
3114
+ * @param {Array=} opt_data Optional initial data array, typically from a
3115
+ * server response, or constructed directly in Javascript. The array is used
3116
+ * in place and becomes part of the constructed object. It is not cloned.
3117
+ * If no data is provided, the constructed object will be empty, but still
3118
+ * valid.
3119
+ * @extends {jspb.Message}
3120
+ * @constructor
3121
+ */
3122
+ proto.sniipuserservice.SendSmsCustomerInternalRequest = function(opt_data) {
3123
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
3124
+ };
3125
+ goog.inherits(proto.sniipuserservice.SendSmsCustomerInternalRequest, jspb.Message);
3126
+ if (goog.DEBUG && !COMPILED) {
3127
+ /**
3128
+ * @public
3129
+ * @override
3130
+ */
3131
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.displayName = 'proto.sniipuserservice.SendSmsCustomerInternalRequest';
3132
+ }
3089
3133
  /**
3090
3134
  * Generated by JsPbCodeGenerator.
3091
3135
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -34753,6 +34797,196 @@ proto.sniipuserservice.SendCustomerSmsRequest.prototype.setPassword = function(v
34753
34797
 
34754
34798
 
34755
34799
 
34800
+ if (jspb.Message.GENERATE_TO_OBJECT) {
34801
+ /**
34802
+ * Creates an object representation of this proto.
34803
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
34804
+ * Optional fields that are not set will be set to undefined.
34805
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
34806
+ * For the list of reserved names please see:
34807
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
34808
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
34809
+ * JSPB instance for transitional soy proto support:
34810
+ * http://goto/soy-param-migration
34811
+ * @return {!Object}
34812
+ */
34813
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.toObject = function(opt_includeInstance) {
34814
+ return proto.sniipuserservice.SendCustomerSmsInternalRequest.toObject(opt_includeInstance, this);
34815
+ };
34816
+
34817
+
34818
+ /**
34819
+ * Static version of the {@see toObject} method.
34820
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
34821
+ * the JSPB instance for transitional soy proto support:
34822
+ * http://goto/soy-param-migration
34823
+ * @param {!proto.sniipuserservice.SendCustomerSmsInternalRequest} msg The msg instance to transform.
34824
+ * @return {!Object}
34825
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34826
+ */
34827
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.toObject = function(includeInstance, msg) {
34828
+ var f, obj = {
34829
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
34830
+ phonenumber: jspb.Message.getFieldWithDefault(msg, 2, ""),
34831
+ message: jspb.Message.getFieldWithDefault(msg, 3, "")
34832
+ };
34833
+
34834
+ if (includeInstance) {
34835
+ obj.$jspbMessageInstance = msg;
34836
+ }
34837
+ return obj;
34838
+ };
34839
+ }
34840
+
34841
+
34842
+ /**
34843
+ * Deserializes binary data (in protobuf wire format).
34844
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
34845
+ * @return {!proto.sniipuserservice.SendCustomerSmsInternalRequest}
34846
+ */
34847
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.deserializeBinary = function(bytes) {
34848
+ var reader = new jspb.BinaryReader(bytes);
34849
+ var msg = new proto.sniipuserservice.SendCustomerSmsInternalRequest;
34850
+ return proto.sniipuserservice.SendCustomerSmsInternalRequest.deserializeBinaryFromReader(msg, reader);
34851
+ };
34852
+
34853
+
34854
+ /**
34855
+ * Deserializes binary data (in protobuf wire format) from the
34856
+ * given reader into the given message object.
34857
+ * @param {!proto.sniipuserservice.SendCustomerSmsInternalRequest} msg The message object to deserialize into.
34858
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
34859
+ * @return {!proto.sniipuserservice.SendCustomerSmsInternalRequest}
34860
+ */
34861
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
34862
+ while (reader.nextField()) {
34863
+ if (reader.isEndGroup()) {
34864
+ break;
34865
+ }
34866
+ var field = reader.getFieldNumber();
34867
+ switch (field) {
34868
+ case 1:
34869
+ var value = /** @type {number} */ (reader.readInt64());
34870
+ msg.setUserid(value);
34871
+ break;
34872
+ case 2:
34873
+ var value = /** @type {string} */ (reader.readString());
34874
+ msg.setPhonenumber(value);
34875
+ break;
34876
+ case 3:
34877
+ var value = /** @type {string} */ (reader.readString());
34878
+ msg.setMessage(value);
34879
+ break;
34880
+ default:
34881
+ reader.skipField();
34882
+ break;
34883
+ }
34884
+ }
34885
+ return msg;
34886
+ };
34887
+
34888
+
34889
+ /**
34890
+ * Serializes the message to binary data (in protobuf wire format).
34891
+ * @return {!Uint8Array}
34892
+ */
34893
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.serializeBinary = function() {
34894
+ var writer = new jspb.BinaryWriter();
34895
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.serializeBinaryToWriter(this, writer);
34896
+ return writer.getResultBuffer();
34897
+ };
34898
+
34899
+
34900
+ /**
34901
+ * Serializes the given message to binary data (in protobuf wire
34902
+ * format), writing to the given BinaryWriter.
34903
+ * @param {!proto.sniipuserservice.SendCustomerSmsInternalRequest} message
34904
+ * @param {!jspb.BinaryWriter} writer
34905
+ * @suppress {unusedLocalVariables} f is only used for nested messages
34906
+ */
34907
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.serializeBinaryToWriter = function(message, writer) {
34908
+ var f = undefined;
34909
+ f = message.getUserid();
34910
+ if (f !== 0) {
34911
+ writer.writeInt64(
34912
+ 1,
34913
+ f
34914
+ );
34915
+ }
34916
+ f = message.getPhonenumber();
34917
+ if (f.length > 0) {
34918
+ writer.writeString(
34919
+ 2,
34920
+ f
34921
+ );
34922
+ }
34923
+ f = message.getMessage();
34924
+ if (f.length > 0) {
34925
+ writer.writeString(
34926
+ 3,
34927
+ f
34928
+ );
34929
+ }
34930
+ };
34931
+
34932
+
34933
+ /**
34934
+ * optional int64 userId = 1;
34935
+ * @return {number}
34936
+ */
34937
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.getUserid = function() {
34938
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
34939
+ };
34940
+
34941
+
34942
+ /**
34943
+ * @param {number} value
34944
+ * @return {!proto.sniipuserservice.SendCustomerSmsInternalRequest} returns this
34945
+ */
34946
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.setUserid = function(value) {
34947
+ return jspb.Message.setProto3IntField(this, 1, value);
34948
+ };
34949
+
34950
+
34951
+ /**
34952
+ * optional string phoneNumber = 2;
34953
+ * @return {string}
34954
+ */
34955
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.getPhonenumber = function() {
34956
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
34957
+ };
34958
+
34959
+
34960
+ /**
34961
+ * @param {string} value
34962
+ * @return {!proto.sniipuserservice.SendCustomerSmsInternalRequest} returns this
34963
+ */
34964
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.setPhonenumber = function(value) {
34965
+ return jspb.Message.setProto3StringField(this, 2, value);
34966
+ };
34967
+
34968
+
34969
+ /**
34970
+ * optional string message = 3;
34971
+ * @return {string}
34972
+ */
34973
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.getMessage = function() {
34974
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
34975
+ };
34976
+
34977
+
34978
+ /**
34979
+ * @param {string} value
34980
+ * @return {!proto.sniipuserservice.SendCustomerSmsInternalRequest} returns this
34981
+ */
34982
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.prototype.setMessage = function(value) {
34983
+ return jspb.Message.setProto3StringField(this, 3, value);
34984
+ };
34985
+
34986
+
34987
+
34988
+
34989
+
34756
34990
  if (jspb.Message.GENERATE_TO_OBJECT) {
34757
34991
  /**
34758
34992
  * Creates an object representation of this proto.
@@ -35055,6 +35289,157 @@ proto.sniipuserservice.SendSmsCustomerRequest.prototype.hasData = function() {
35055
35289
 
35056
35290
 
35057
35291
 
35292
+ if (jspb.Message.GENERATE_TO_OBJECT) {
35293
+ /**
35294
+ * Creates an object representation of this proto.
35295
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
35296
+ * Optional fields that are not set will be set to undefined.
35297
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
35298
+ * For the list of reserved names please see:
35299
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
35300
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
35301
+ * JSPB instance for transitional soy proto support:
35302
+ * http://goto/soy-param-migration
35303
+ * @return {!Object}
35304
+ */
35305
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.prototype.toObject = function(opt_includeInstance) {
35306
+ return proto.sniipuserservice.SendSmsCustomerInternalRequest.toObject(opt_includeInstance, this);
35307
+ };
35308
+
35309
+
35310
+ /**
35311
+ * Static version of the {@see toObject} method.
35312
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
35313
+ * the JSPB instance for transitional soy proto support:
35314
+ * http://goto/soy-param-migration
35315
+ * @param {!proto.sniipuserservice.SendSmsCustomerInternalRequest} msg The msg instance to transform.
35316
+ * @return {!Object}
35317
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35318
+ */
35319
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.toObject = function(includeInstance, msg) {
35320
+ var f, obj = {
35321
+ data: (f = msg.getData()) && proto.sniipuserservice.SendCustomerSmsInternalRequest.toObject(includeInstance, f)
35322
+ };
35323
+
35324
+ if (includeInstance) {
35325
+ obj.$jspbMessageInstance = msg;
35326
+ }
35327
+ return obj;
35328
+ };
35329
+ }
35330
+
35331
+
35332
+ /**
35333
+ * Deserializes binary data (in protobuf wire format).
35334
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
35335
+ * @return {!proto.sniipuserservice.SendSmsCustomerInternalRequest}
35336
+ */
35337
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.deserializeBinary = function(bytes) {
35338
+ var reader = new jspb.BinaryReader(bytes);
35339
+ var msg = new proto.sniipuserservice.SendSmsCustomerInternalRequest;
35340
+ return proto.sniipuserservice.SendSmsCustomerInternalRequest.deserializeBinaryFromReader(msg, reader);
35341
+ };
35342
+
35343
+
35344
+ /**
35345
+ * Deserializes binary data (in protobuf wire format) from the
35346
+ * given reader into the given message object.
35347
+ * @param {!proto.sniipuserservice.SendSmsCustomerInternalRequest} msg The message object to deserialize into.
35348
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
35349
+ * @return {!proto.sniipuserservice.SendSmsCustomerInternalRequest}
35350
+ */
35351
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.deserializeBinaryFromReader = function(msg, reader) {
35352
+ while (reader.nextField()) {
35353
+ if (reader.isEndGroup()) {
35354
+ break;
35355
+ }
35356
+ var field = reader.getFieldNumber();
35357
+ switch (field) {
35358
+ case 1:
35359
+ var value = new proto.sniipuserservice.SendCustomerSmsInternalRequest;
35360
+ reader.readMessage(value,proto.sniipuserservice.SendCustomerSmsInternalRequest.deserializeBinaryFromReader);
35361
+ msg.setData(value);
35362
+ break;
35363
+ default:
35364
+ reader.skipField();
35365
+ break;
35366
+ }
35367
+ }
35368
+ return msg;
35369
+ };
35370
+
35371
+
35372
+ /**
35373
+ * Serializes the message to binary data (in protobuf wire format).
35374
+ * @return {!Uint8Array}
35375
+ */
35376
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.prototype.serializeBinary = function() {
35377
+ var writer = new jspb.BinaryWriter();
35378
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.serializeBinaryToWriter(this, writer);
35379
+ return writer.getResultBuffer();
35380
+ };
35381
+
35382
+
35383
+ /**
35384
+ * Serializes the given message to binary data (in protobuf wire
35385
+ * format), writing to the given BinaryWriter.
35386
+ * @param {!proto.sniipuserservice.SendSmsCustomerInternalRequest} message
35387
+ * @param {!jspb.BinaryWriter} writer
35388
+ * @suppress {unusedLocalVariables} f is only used for nested messages
35389
+ */
35390
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.serializeBinaryToWriter = function(message, writer) {
35391
+ var f = undefined;
35392
+ f = message.getData();
35393
+ if (f != null) {
35394
+ writer.writeMessage(
35395
+ 1,
35396
+ f,
35397
+ proto.sniipuserservice.SendCustomerSmsInternalRequest.serializeBinaryToWriter
35398
+ );
35399
+ }
35400
+ };
35401
+
35402
+
35403
+ /**
35404
+ * optional SendCustomerSmsInternalRequest data = 1;
35405
+ * @return {?proto.sniipuserservice.SendCustomerSmsInternalRequest}
35406
+ */
35407
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.prototype.getData = function() {
35408
+ return /** @type{?proto.sniipuserservice.SendCustomerSmsInternalRequest} */ (
35409
+ jspb.Message.getWrapperField(this, proto.sniipuserservice.SendCustomerSmsInternalRequest, 1));
35410
+ };
35411
+
35412
+
35413
+ /**
35414
+ * @param {?proto.sniipuserservice.SendCustomerSmsInternalRequest|undefined} value
35415
+ * @return {!proto.sniipuserservice.SendSmsCustomerInternalRequest} returns this
35416
+ */
35417
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.prototype.setData = function(value) {
35418
+ return jspb.Message.setWrapperField(this, 1, value);
35419
+ };
35420
+
35421
+
35422
+ /**
35423
+ * Clears the message field making it undefined.
35424
+ * @return {!proto.sniipuserservice.SendSmsCustomerInternalRequest} returns this
35425
+ */
35426
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.prototype.clearData = function() {
35427
+ return this.setData(undefined);
35428
+ };
35429
+
35430
+
35431
+ /**
35432
+ * Returns whether this field is set.
35433
+ * @return {boolean}
35434
+ */
35435
+ proto.sniipuserservice.SendSmsCustomerInternalRequest.prototype.hasData = function() {
35436
+ return jspb.Message.getField(this, 1) != null;
35437
+ };
35438
+
35439
+
35440
+
35441
+
35442
+
35058
35443
  if (jspb.Message.GENERATE_TO_OBJECT) {
35059
35444
  /**
35060
35445
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "25.9.13359",
3
+ "version": "25.9.13370",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",