@sniipwebmaster/user-service-client-grpcweb-ts 25.3.12599 → 25.3.12622

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.
@@ -3870,6 +3870,44 @@ export namespace BulkNotificationRequest {
3870
3870
  }
3871
3871
  }
3872
3872
 
3873
+ export class BulkNotificationRequestItem extends jspb.Message {
3874
+ getType(): BulkNotificationRequest.NotificationType;
3875
+ setType(value: BulkNotificationRequest.NotificationType): BulkNotificationRequestItem;
3876
+
3877
+ getTitle(): string;
3878
+ setTitle(value: string): BulkNotificationRequestItem;
3879
+
3880
+ getMessage(): string;
3881
+ setMessage(value: string): BulkNotificationRequestItem;
3882
+
3883
+ getUserid(): number;
3884
+ setUserid(value: number): BulkNotificationRequestItem;
3885
+
3886
+ getToken(): string;
3887
+ setToken(value: string): BulkNotificationRequestItem;
3888
+
3889
+ getUserphone(): string;
3890
+ setUserphone(value: string): BulkNotificationRequestItem;
3891
+
3892
+ serializeBinary(): Uint8Array;
3893
+ toObject(includeInstance?: boolean): BulkNotificationRequestItem.AsObject;
3894
+ static toObject(includeInstance: boolean, msg: BulkNotificationRequestItem): BulkNotificationRequestItem.AsObject;
3895
+ static serializeBinaryToWriter(message: BulkNotificationRequestItem, writer: jspb.BinaryWriter): void;
3896
+ static deserializeBinary(bytes: Uint8Array): BulkNotificationRequestItem;
3897
+ static deserializeBinaryFromReader(message: BulkNotificationRequestItem, reader: jspb.BinaryReader): BulkNotificationRequestItem;
3898
+ }
3899
+
3900
+ export namespace BulkNotificationRequestItem {
3901
+ export type AsObject = {
3902
+ type: BulkNotificationRequest.NotificationType,
3903
+ title: string,
3904
+ message: string,
3905
+ userid: number,
3906
+ token: string,
3907
+ userphone: string,
3908
+ }
3909
+ }
3910
+
3873
3911
  export class SendCustomerNotificationRequest extends jspb.Message {
3874
3912
  getUserid(): number;
3875
3913
  setUserid(value: number): SendCustomerNotificationRequest;
@@ -30,6 +30,7 @@ goog.exportSymbol('proto.sniipuserservice.BillerSignUpRequest', null, global);
30
30
  goog.exportSymbol('proto.sniipuserservice.BrowserDetails', null, global);
31
31
  goog.exportSymbol('proto.sniipuserservice.BulkNotificationRequest', null, global);
32
32
  goog.exportSymbol('proto.sniipuserservice.BulkNotificationRequest.NotificationType', null, global);
33
+ goog.exportSymbol('proto.sniipuserservice.BulkNotificationRequestItem', null, global);
33
34
  goog.exportSymbol('proto.sniipuserservice.ChangePasswordRequest', null, global);
34
35
  goog.exportSymbol('proto.sniipuserservice.ChangePinRequest', null, global);
35
36
  goog.exportSymbol('proto.sniipuserservice.CheckEmailVerifiedRequest', null, global);
@@ -2955,6 +2956,27 @@ if (goog.DEBUG && !COMPILED) {
2955
2956
  */
2956
2957
  proto.sniipuserservice.BulkNotificationRequest.displayName = 'proto.sniipuserservice.BulkNotificationRequest';
2957
2958
  }
2959
+ /**
2960
+ * Generated by JsPbCodeGenerator.
2961
+ * @param {Array=} opt_data Optional initial data array, typically from a
2962
+ * server response, or constructed directly in Javascript. The array is used
2963
+ * in place and becomes part of the constructed object. It is not cloned.
2964
+ * If no data is provided, the constructed object will be empty, but still
2965
+ * valid.
2966
+ * @extends {jspb.Message}
2967
+ * @constructor
2968
+ */
2969
+ proto.sniipuserservice.BulkNotificationRequestItem = function(opt_data) {
2970
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2971
+ };
2972
+ goog.inherits(proto.sniipuserservice.BulkNotificationRequestItem, jspb.Message);
2973
+ if (goog.DEBUG && !COMPILED) {
2974
+ /**
2975
+ * @public
2976
+ * @override
2977
+ */
2978
+ proto.sniipuserservice.BulkNotificationRequestItem.displayName = 'proto.sniipuserservice.BulkNotificationRequestItem';
2979
+ }
2958
2980
  /**
2959
2981
  * Generated by JsPbCodeGenerator.
2960
2982
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -33253,6 +33275,286 @@ proto.sniipuserservice.BulkNotificationRequest.prototype.clearUseridsList = func
33253
33275
 
33254
33276
 
33255
33277
 
33278
+ if (jspb.Message.GENERATE_TO_OBJECT) {
33279
+ /**
33280
+ * Creates an object representation of this proto.
33281
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
33282
+ * Optional fields that are not set will be set to undefined.
33283
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
33284
+ * For the list of reserved names please see:
33285
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
33286
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
33287
+ * JSPB instance for transitional soy proto support:
33288
+ * http://goto/soy-param-migration
33289
+ * @return {!Object}
33290
+ */
33291
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.toObject = function(opt_includeInstance) {
33292
+ return proto.sniipuserservice.BulkNotificationRequestItem.toObject(opt_includeInstance, this);
33293
+ };
33294
+
33295
+
33296
+ /**
33297
+ * Static version of the {@see toObject} method.
33298
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
33299
+ * the JSPB instance for transitional soy proto support:
33300
+ * http://goto/soy-param-migration
33301
+ * @param {!proto.sniipuserservice.BulkNotificationRequestItem} msg The msg instance to transform.
33302
+ * @return {!Object}
33303
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33304
+ */
33305
+ proto.sniipuserservice.BulkNotificationRequestItem.toObject = function(includeInstance, msg) {
33306
+ var f, obj = {
33307
+ type: jspb.Message.getFieldWithDefault(msg, 1, 0),
33308
+ title: jspb.Message.getFieldWithDefault(msg, 2, ""),
33309
+ message: jspb.Message.getFieldWithDefault(msg, 3, ""),
33310
+ userid: jspb.Message.getFieldWithDefault(msg, 5, 0),
33311
+ token: jspb.Message.getFieldWithDefault(msg, 6, ""),
33312
+ userphone: jspb.Message.getFieldWithDefault(msg, 7, "")
33313
+ };
33314
+
33315
+ if (includeInstance) {
33316
+ obj.$jspbMessageInstance = msg;
33317
+ }
33318
+ return obj;
33319
+ };
33320
+ }
33321
+
33322
+
33323
+ /**
33324
+ * Deserializes binary data (in protobuf wire format).
33325
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
33326
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem}
33327
+ */
33328
+ proto.sniipuserservice.BulkNotificationRequestItem.deserializeBinary = function(bytes) {
33329
+ var reader = new jspb.BinaryReader(bytes);
33330
+ var msg = new proto.sniipuserservice.BulkNotificationRequestItem;
33331
+ return proto.sniipuserservice.BulkNotificationRequestItem.deserializeBinaryFromReader(msg, reader);
33332
+ };
33333
+
33334
+
33335
+ /**
33336
+ * Deserializes binary data (in protobuf wire format) from the
33337
+ * given reader into the given message object.
33338
+ * @param {!proto.sniipuserservice.BulkNotificationRequestItem} msg The message object to deserialize into.
33339
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
33340
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem}
33341
+ */
33342
+ proto.sniipuserservice.BulkNotificationRequestItem.deserializeBinaryFromReader = function(msg, reader) {
33343
+ while (reader.nextField()) {
33344
+ if (reader.isEndGroup()) {
33345
+ break;
33346
+ }
33347
+ var field = reader.getFieldNumber();
33348
+ switch (field) {
33349
+ case 1:
33350
+ var value = /** @type {!proto.sniipuserservice.BulkNotificationRequest.NotificationType} */ (reader.readEnum());
33351
+ msg.setType(value);
33352
+ break;
33353
+ case 2:
33354
+ var value = /** @type {string} */ (reader.readString());
33355
+ msg.setTitle(value);
33356
+ break;
33357
+ case 3:
33358
+ var value = /** @type {string} */ (reader.readString());
33359
+ msg.setMessage(value);
33360
+ break;
33361
+ case 5:
33362
+ var value = /** @type {number} */ (reader.readInt64());
33363
+ msg.setUserid(value);
33364
+ break;
33365
+ case 6:
33366
+ var value = /** @type {string} */ (reader.readString());
33367
+ msg.setToken(value);
33368
+ break;
33369
+ case 7:
33370
+ var value = /** @type {string} */ (reader.readString());
33371
+ msg.setUserphone(value);
33372
+ break;
33373
+ default:
33374
+ reader.skipField();
33375
+ break;
33376
+ }
33377
+ }
33378
+ return msg;
33379
+ };
33380
+
33381
+
33382
+ /**
33383
+ * Serializes the message to binary data (in protobuf wire format).
33384
+ * @return {!Uint8Array}
33385
+ */
33386
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.serializeBinary = function() {
33387
+ var writer = new jspb.BinaryWriter();
33388
+ proto.sniipuserservice.BulkNotificationRequestItem.serializeBinaryToWriter(this, writer);
33389
+ return writer.getResultBuffer();
33390
+ };
33391
+
33392
+
33393
+ /**
33394
+ * Serializes the given message to binary data (in protobuf wire
33395
+ * format), writing to the given BinaryWriter.
33396
+ * @param {!proto.sniipuserservice.BulkNotificationRequestItem} message
33397
+ * @param {!jspb.BinaryWriter} writer
33398
+ * @suppress {unusedLocalVariables} f is only used for nested messages
33399
+ */
33400
+ proto.sniipuserservice.BulkNotificationRequestItem.serializeBinaryToWriter = function(message, writer) {
33401
+ var f = undefined;
33402
+ f = message.getType();
33403
+ if (f !== 0.0) {
33404
+ writer.writeEnum(
33405
+ 1,
33406
+ f
33407
+ );
33408
+ }
33409
+ f = message.getTitle();
33410
+ if (f.length > 0) {
33411
+ writer.writeString(
33412
+ 2,
33413
+ f
33414
+ );
33415
+ }
33416
+ f = message.getMessage();
33417
+ if (f.length > 0) {
33418
+ writer.writeString(
33419
+ 3,
33420
+ f
33421
+ );
33422
+ }
33423
+ f = message.getUserid();
33424
+ if (f !== 0) {
33425
+ writer.writeInt64(
33426
+ 5,
33427
+ f
33428
+ );
33429
+ }
33430
+ f = message.getToken();
33431
+ if (f.length > 0) {
33432
+ writer.writeString(
33433
+ 6,
33434
+ f
33435
+ );
33436
+ }
33437
+ f = message.getUserphone();
33438
+ if (f.length > 0) {
33439
+ writer.writeString(
33440
+ 7,
33441
+ f
33442
+ );
33443
+ }
33444
+ };
33445
+
33446
+
33447
+ /**
33448
+ * optional BulkNotificationRequest.NotificationType type = 1;
33449
+ * @return {!proto.sniipuserservice.BulkNotificationRequest.NotificationType}
33450
+ */
33451
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.getType = function() {
33452
+ return /** @type {!proto.sniipuserservice.BulkNotificationRequest.NotificationType} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
33453
+ };
33454
+
33455
+
33456
+ /**
33457
+ * @param {!proto.sniipuserservice.BulkNotificationRequest.NotificationType} value
33458
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem} returns this
33459
+ */
33460
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.setType = function(value) {
33461
+ return jspb.Message.setProto3EnumField(this, 1, value);
33462
+ };
33463
+
33464
+
33465
+ /**
33466
+ * optional string title = 2;
33467
+ * @return {string}
33468
+ */
33469
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.getTitle = function() {
33470
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
33471
+ };
33472
+
33473
+
33474
+ /**
33475
+ * @param {string} value
33476
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem} returns this
33477
+ */
33478
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.setTitle = function(value) {
33479
+ return jspb.Message.setProto3StringField(this, 2, value);
33480
+ };
33481
+
33482
+
33483
+ /**
33484
+ * optional string message = 3;
33485
+ * @return {string}
33486
+ */
33487
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.getMessage = function() {
33488
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
33489
+ };
33490
+
33491
+
33492
+ /**
33493
+ * @param {string} value
33494
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem} returns this
33495
+ */
33496
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.setMessage = function(value) {
33497
+ return jspb.Message.setProto3StringField(this, 3, value);
33498
+ };
33499
+
33500
+
33501
+ /**
33502
+ * optional int64 userId = 5;
33503
+ * @return {number}
33504
+ */
33505
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.getUserid = function() {
33506
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
33507
+ };
33508
+
33509
+
33510
+ /**
33511
+ * @param {number} value
33512
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem} returns this
33513
+ */
33514
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.setUserid = function(value) {
33515
+ return jspb.Message.setProto3IntField(this, 5, value);
33516
+ };
33517
+
33518
+
33519
+ /**
33520
+ * optional string token = 6;
33521
+ * @return {string}
33522
+ */
33523
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.getToken = function() {
33524
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
33525
+ };
33526
+
33527
+
33528
+ /**
33529
+ * @param {string} value
33530
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem} returns this
33531
+ */
33532
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.setToken = function(value) {
33533
+ return jspb.Message.setProto3StringField(this, 6, value);
33534
+ };
33535
+
33536
+
33537
+ /**
33538
+ * optional string userPhone = 7;
33539
+ * @return {string}
33540
+ */
33541
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.getUserphone = function() {
33542
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
33543
+ };
33544
+
33545
+
33546
+ /**
33547
+ * @param {string} value
33548
+ * @return {!proto.sniipuserservice.BulkNotificationRequestItem} returns this
33549
+ */
33550
+ proto.sniipuserservice.BulkNotificationRequestItem.prototype.setUserphone = function(value) {
33551
+ return jspb.Message.setProto3StringField(this, 7, value);
33552
+ };
33553
+
33554
+
33555
+
33556
+
33557
+
33256
33558
  if (jspb.Message.GENERATE_TO_OBJECT) {
33257
33559
  /**
33258
33560
  * 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-ts",
3
- "version": "25.3.12599",
3
+ "version": "25.3.12622",
4
4
  "description": "user-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",