protobuf-platform 1.2.276 → 1.2.278

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/cms/cms.proto CHANGED
@@ -121,7 +121,8 @@ message PaginationRequest {
121
121
  optional bool admin_side = 6;
122
122
  optional string locale = 7;
123
123
  optional string title = 8;
124
- repeated string countries = 9;
124
+ repeated string types = 9;
125
+ repeated string countries = 10;
125
126
  }
126
127
  message ItemsBunchRequest {
127
128
  repeated int32 ids = 1;
package/cms/cms_pb.js CHANGED
@@ -3087,7 +3087,7 @@ proto.cms.PongResponse.prototype.setPong = function(value) {
3087
3087
  * @private {!Array<number>}
3088
3088
  * @const
3089
3089
  */
3090
- proto.cms.PaginationRequest.repeatedFields_ = [9];
3090
+ proto.cms.PaginationRequest.repeatedFields_ = [9,10];
3091
3091
 
3092
3092
 
3093
3093
 
@@ -3128,7 +3128,8 @@ proto.cms.PaginationRequest.toObject = function(includeInstance, msg) {
3128
3128
  adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
3129
3129
  locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
3130
3130
  title: jspb.Message.getFieldWithDefault(msg, 8, ""),
3131
- countriesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
3131
+ typesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
3132
+ countriesList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f
3132
3133
  };
3133
3134
 
3134
3135
  if (includeInstance) {
@@ -3198,6 +3199,10 @@ proto.cms.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
3198
3199
  msg.setTitle(value);
3199
3200
  break;
3200
3201
  case 9:
3202
+ var value = /** @type {string} */ (reader.readString());
3203
+ msg.addTypes(value);
3204
+ break;
3205
+ case 10:
3201
3206
  var value = /** @type {string} */ (reader.readString());
3202
3207
  msg.addCountries(value);
3203
3208
  break;
@@ -3286,13 +3291,20 @@ proto.cms.PaginationRequest.serializeBinaryToWriter = function(message, writer)
3286
3291
  f
3287
3292
  );
3288
3293
  }
3289
- f = message.getCountriesList();
3294
+ f = message.getTypesList();
3290
3295
  if (f.length > 0) {
3291
3296
  writer.writeRepeatedString(
3292
3297
  9,
3293
3298
  f
3294
3299
  );
3295
3300
  }
3301
+ f = message.getCountriesList();
3302
+ if (f.length > 0) {
3303
+ writer.writeRepeatedString(
3304
+ 10,
3305
+ f
3306
+ );
3307
+ }
3296
3308
  };
3297
3309
 
3298
3310
 
@@ -3549,10 +3561,10 @@ proto.cms.PaginationRequest.prototype.hasTitle = function() {
3549
3561
 
3550
3562
 
3551
3563
  /**
3552
- * repeated string countries = 9;
3564
+ * repeated string types = 9;
3553
3565
  * @return {!Array<string>}
3554
3566
  */
3555
- proto.cms.PaginationRequest.prototype.getCountriesList = function() {
3567
+ proto.cms.PaginationRequest.prototype.getTypesList = function() {
3556
3568
  return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
3557
3569
  };
3558
3570
 
@@ -3561,7 +3573,7 @@ proto.cms.PaginationRequest.prototype.getCountriesList = function() {
3561
3573
  * @param {!Array<string>} value
3562
3574
  * @return {!proto.cms.PaginationRequest} returns this
3563
3575
  */
3564
- proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
3576
+ proto.cms.PaginationRequest.prototype.setTypesList = function(value) {
3565
3577
  return jspb.Message.setField(this, 9, value || []);
3566
3578
  };
3567
3579
 
@@ -3571,11 +3583,48 @@ proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
3571
3583
  * @param {number=} opt_index
3572
3584
  * @return {!proto.cms.PaginationRequest} returns this
3573
3585
  */
3574
- proto.cms.PaginationRequest.prototype.addCountries = function(value, opt_index) {
3586
+ proto.cms.PaginationRequest.prototype.addTypes = function(value, opt_index) {
3575
3587
  return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
3576
3588
  };
3577
3589
 
3578
3590
 
3591
+ /**
3592
+ * Clears the list making it empty but non-null.
3593
+ * @return {!proto.cms.PaginationRequest} returns this
3594
+ */
3595
+ proto.cms.PaginationRequest.prototype.clearTypesList = function() {
3596
+ return this.setTypesList([]);
3597
+ };
3598
+
3599
+
3600
+ /**
3601
+ * repeated string countries = 10;
3602
+ * @return {!Array<string>}
3603
+ */
3604
+ proto.cms.PaginationRequest.prototype.getCountriesList = function() {
3605
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 10));
3606
+ };
3607
+
3608
+
3609
+ /**
3610
+ * @param {!Array<string>} value
3611
+ * @return {!proto.cms.PaginationRequest} returns this
3612
+ */
3613
+ proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
3614
+ return jspb.Message.setField(this, 10, value || []);
3615
+ };
3616
+
3617
+
3618
+ /**
3619
+ * @param {string} value
3620
+ * @param {number=} opt_index
3621
+ * @return {!proto.cms.PaginationRequest} returns this
3622
+ */
3623
+ proto.cms.PaginationRequest.prototype.addCountries = function(value, opt_index) {
3624
+ return jspb.Message.addToRepeatedField(this, 10, value, opt_index);
3625
+ };
3626
+
3627
+
3579
3628
  /**
3580
3629
  * Clears the list making it empty but non-null.
3581
3630
  * @return {!proto.cms.PaginationRequest} returns this
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.276",
3
+ "version": "1.2.278",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -385,10 +385,11 @@ message UserDepositItem {
385
385
  string currency = 5;
386
386
  optional string payment_method_title = 6;
387
387
  optional string payment_provider_image = 7;
388
- optional string payment_provider_title = 8;
389
- optional int32 status_id = 9;
390
- optional string created = 10;
391
- optional string status = 11;
388
+ optional string payment_provider_image_cdn = 8;
389
+ optional string payment_provider_title = 9;
390
+ optional int32 status_id = 10;
391
+ optional string created = 11;
392
+ optional string status = 12;
392
393
  }
393
394
  message UserDepositItemsResponse {
394
395
  repeated UserDepositItem items = 1;
@@ -15911,10 +15911,11 @@ proto.payment.UserDepositItem.toObject = function(includeInstance, msg) {
15911
15911
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
15912
15912
  paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
15913
15913
  paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 7, ""),
15914
- paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
15915
- statusId: jspb.Message.getFieldWithDefault(msg, 9, 0),
15916
- created: jspb.Message.getFieldWithDefault(msg, 10, ""),
15917
- status: jspb.Message.getFieldWithDefault(msg, 11, "")
15914
+ paymentProviderImageCdn: jspb.Message.getFieldWithDefault(msg, 8, ""),
15915
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 9, ""),
15916
+ statusId: jspb.Message.getFieldWithDefault(msg, 10, 0),
15917
+ created: jspb.Message.getFieldWithDefault(msg, 11, ""),
15918
+ status: jspb.Message.getFieldWithDefault(msg, 12, "")
15918
15919
  };
15919
15920
 
15920
15921
  if (includeInstance) {
@@ -15981,17 +15982,21 @@ proto.payment.UserDepositItem.deserializeBinaryFromReader = function(msg, reader
15981
15982
  break;
15982
15983
  case 8:
15983
15984
  var value = /** @type {string} */ (reader.readString());
15984
- msg.setPaymentProviderTitle(value);
15985
+ msg.setPaymentProviderImageCdn(value);
15985
15986
  break;
15986
15987
  case 9:
15988
+ var value = /** @type {string} */ (reader.readString());
15989
+ msg.setPaymentProviderTitle(value);
15990
+ break;
15991
+ case 10:
15987
15992
  var value = /** @type {number} */ (reader.readInt32());
15988
15993
  msg.setStatusId(value);
15989
15994
  break;
15990
- case 10:
15995
+ case 11:
15991
15996
  var value = /** @type {string} */ (reader.readString());
15992
15997
  msg.setCreated(value);
15993
15998
  break;
15994
- case 11:
15999
+ case 12:
15995
16000
  var value = /** @type {string} */ (reader.readString());
15996
16001
  msg.setStatus(value);
15997
16002
  break;
@@ -16080,16 +16085,16 @@ proto.payment.UserDepositItem.serializeBinaryToWriter = function(message, writer
16080
16085
  f
16081
16086
  );
16082
16087
  }
16083
- f = /** @type {number} */ (jspb.Message.getField(message, 9));
16088
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
16084
16089
  if (f != null) {
16085
- writer.writeInt32(
16090
+ writer.writeString(
16086
16091
  9,
16087
16092
  f
16088
16093
  );
16089
16094
  }
16090
- f = /** @type {string} */ (jspb.Message.getField(message, 10));
16095
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
16091
16096
  if (f != null) {
16092
- writer.writeString(
16097
+ writer.writeInt32(
16093
16098
  10,
16094
16099
  f
16095
16100
  );
@@ -16101,6 +16106,13 @@ proto.payment.UserDepositItem.serializeBinaryToWriter = function(message, writer
16101
16106
  f
16102
16107
  );
16103
16108
  }
16109
+ f = /** @type {string} */ (jspb.Message.getField(message, 12));
16110
+ if (f != null) {
16111
+ writer.writeString(
16112
+ 12,
16113
+ f
16114
+ );
16115
+ }
16104
16116
  };
16105
16117
 
16106
16118
 
@@ -16267,10 +16279,10 @@ proto.payment.UserDepositItem.prototype.hasPaymentProviderImage = function() {
16267
16279
 
16268
16280
 
16269
16281
  /**
16270
- * optional string payment_provider_title = 8;
16282
+ * optional string payment_provider_image_cdn = 8;
16271
16283
  * @return {string}
16272
16284
  */
16273
- proto.payment.UserDepositItem.prototype.getPaymentProviderTitle = function() {
16285
+ proto.payment.UserDepositItem.prototype.getPaymentProviderImageCdn = function() {
16274
16286
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
16275
16287
  };
16276
16288
 
@@ -16279,7 +16291,7 @@ proto.payment.UserDepositItem.prototype.getPaymentProviderTitle = function() {
16279
16291
  * @param {string} value
16280
16292
  * @return {!proto.payment.UserDepositItem} returns this
16281
16293
  */
16282
- proto.payment.UserDepositItem.prototype.setPaymentProviderTitle = function(value) {
16294
+ proto.payment.UserDepositItem.prototype.setPaymentProviderImageCdn = function(value) {
16283
16295
  return jspb.Message.setField(this, 8, value);
16284
16296
  };
16285
16297
 
@@ -16288,7 +16300,7 @@ proto.payment.UserDepositItem.prototype.setPaymentProviderTitle = function(value
16288
16300
  * Clears the field making it undefined.
16289
16301
  * @return {!proto.payment.UserDepositItem} returns this
16290
16302
  */
16291
- proto.payment.UserDepositItem.prototype.clearPaymentProviderTitle = function() {
16303
+ proto.payment.UserDepositItem.prototype.clearPaymentProviderImageCdn = function() {
16292
16304
  return jspb.Message.setField(this, 8, undefined);
16293
16305
  };
16294
16306
 
@@ -16297,17 +16309,53 @@ proto.payment.UserDepositItem.prototype.clearPaymentProviderTitle = function() {
16297
16309
  * Returns whether this field is set.
16298
16310
  * @return {boolean}
16299
16311
  */
16300
- proto.payment.UserDepositItem.prototype.hasPaymentProviderTitle = function() {
16312
+ proto.payment.UserDepositItem.prototype.hasPaymentProviderImageCdn = function() {
16301
16313
  return jspb.Message.getField(this, 8) != null;
16302
16314
  };
16303
16315
 
16304
16316
 
16305
16317
  /**
16306
- * optional int32 status_id = 9;
16318
+ * optional string payment_provider_title = 9;
16319
+ * @return {string}
16320
+ */
16321
+ proto.payment.UserDepositItem.prototype.getPaymentProviderTitle = function() {
16322
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
16323
+ };
16324
+
16325
+
16326
+ /**
16327
+ * @param {string} value
16328
+ * @return {!proto.payment.UserDepositItem} returns this
16329
+ */
16330
+ proto.payment.UserDepositItem.prototype.setPaymentProviderTitle = function(value) {
16331
+ return jspb.Message.setField(this, 9, value);
16332
+ };
16333
+
16334
+
16335
+ /**
16336
+ * Clears the field making it undefined.
16337
+ * @return {!proto.payment.UserDepositItem} returns this
16338
+ */
16339
+ proto.payment.UserDepositItem.prototype.clearPaymentProviderTitle = function() {
16340
+ return jspb.Message.setField(this, 9, undefined);
16341
+ };
16342
+
16343
+
16344
+ /**
16345
+ * Returns whether this field is set.
16346
+ * @return {boolean}
16347
+ */
16348
+ proto.payment.UserDepositItem.prototype.hasPaymentProviderTitle = function() {
16349
+ return jspb.Message.getField(this, 9) != null;
16350
+ };
16351
+
16352
+
16353
+ /**
16354
+ * optional int32 status_id = 10;
16307
16355
  * @return {number}
16308
16356
  */
16309
16357
  proto.payment.UserDepositItem.prototype.getStatusId = function() {
16310
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
16358
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
16311
16359
  };
16312
16360
 
16313
16361
 
@@ -16316,7 +16364,7 @@ proto.payment.UserDepositItem.prototype.getStatusId = function() {
16316
16364
  * @return {!proto.payment.UserDepositItem} returns this
16317
16365
  */
16318
16366
  proto.payment.UserDepositItem.prototype.setStatusId = function(value) {
16319
- return jspb.Message.setField(this, 9, value);
16367
+ return jspb.Message.setField(this, 10, value);
16320
16368
  };
16321
16369
 
16322
16370
 
@@ -16325,7 +16373,7 @@ proto.payment.UserDepositItem.prototype.setStatusId = function(value) {
16325
16373
  * @return {!proto.payment.UserDepositItem} returns this
16326
16374
  */
16327
16375
  proto.payment.UserDepositItem.prototype.clearStatusId = function() {
16328
- return jspb.Message.setField(this, 9, undefined);
16376
+ return jspb.Message.setField(this, 10, undefined);
16329
16377
  };
16330
16378
 
16331
16379
 
@@ -16334,16 +16382,16 @@ proto.payment.UserDepositItem.prototype.clearStatusId = function() {
16334
16382
  * @return {boolean}
16335
16383
  */
16336
16384
  proto.payment.UserDepositItem.prototype.hasStatusId = function() {
16337
- return jspb.Message.getField(this, 9) != null;
16385
+ return jspb.Message.getField(this, 10) != null;
16338
16386
  };
16339
16387
 
16340
16388
 
16341
16389
  /**
16342
- * optional string created = 10;
16390
+ * optional string created = 11;
16343
16391
  * @return {string}
16344
16392
  */
16345
16393
  proto.payment.UserDepositItem.prototype.getCreated = function() {
16346
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
16394
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
16347
16395
  };
16348
16396
 
16349
16397
 
@@ -16352,7 +16400,7 @@ proto.payment.UserDepositItem.prototype.getCreated = function() {
16352
16400
  * @return {!proto.payment.UserDepositItem} returns this
16353
16401
  */
16354
16402
  proto.payment.UserDepositItem.prototype.setCreated = function(value) {
16355
- return jspb.Message.setField(this, 10, value);
16403
+ return jspb.Message.setField(this, 11, value);
16356
16404
  };
16357
16405
 
16358
16406
 
@@ -16361,7 +16409,7 @@ proto.payment.UserDepositItem.prototype.setCreated = function(value) {
16361
16409
  * @return {!proto.payment.UserDepositItem} returns this
16362
16410
  */
16363
16411
  proto.payment.UserDepositItem.prototype.clearCreated = function() {
16364
- return jspb.Message.setField(this, 10, undefined);
16412
+ return jspb.Message.setField(this, 11, undefined);
16365
16413
  };
16366
16414
 
16367
16415
 
@@ -16370,16 +16418,16 @@ proto.payment.UserDepositItem.prototype.clearCreated = function() {
16370
16418
  * @return {boolean}
16371
16419
  */
16372
16420
  proto.payment.UserDepositItem.prototype.hasCreated = function() {
16373
- return jspb.Message.getField(this, 10) != null;
16421
+ return jspb.Message.getField(this, 11) != null;
16374
16422
  };
16375
16423
 
16376
16424
 
16377
16425
  /**
16378
- * optional string status = 11;
16426
+ * optional string status = 12;
16379
16427
  * @return {string}
16380
16428
  */
16381
16429
  proto.payment.UserDepositItem.prototype.getStatus = function() {
16382
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
16430
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
16383
16431
  };
16384
16432
 
16385
16433
 
@@ -16388,7 +16436,7 @@ proto.payment.UserDepositItem.prototype.getStatus = function() {
16388
16436
  * @return {!proto.payment.UserDepositItem} returns this
16389
16437
  */
16390
16438
  proto.payment.UserDepositItem.prototype.setStatus = function(value) {
16391
- return jspb.Message.setField(this, 11, value);
16439
+ return jspb.Message.setField(this, 12, value);
16392
16440
  };
16393
16441
 
16394
16442
 
@@ -16397,7 +16445,7 @@ proto.payment.UserDepositItem.prototype.setStatus = function(value) {
16397
16445
  * @return {!proto.payment.UserDepositItem} returns this
16398
16446
  */
16399
16447
  proto.payment.UserDepositItem.prototype.clearStatus = function() {
16400
- return jspb.Message.setField(this, 11, undefined);
16448
+ return jspb.Message.setField(this, 12, undefined);
16401
16449
  };
16402
16450
 
16403
16451
 
@@ -16406,7 +16454,7 @@ proto.payment.UserDepositItem.prototype.clearStatus = function() {
16406
16454
  * @return {boolean}
16407
16455
  */
16408
16456
  proto.payment.UserDepositItem.prototype.hasStatus = function() {
16409
- return jspb.Message.getField(this, 11) != null;
16457
+ return jspb.Message.getField(this, 12) != null;
16410
16458
  };
16411
16459
 
16412
16460