protobuf-platform 1.2.362 → 1.2.364

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
@@ -1229,7 +1229,7 @@ message PresetCashierPaymentOrderGroup {
1229
1229
  repeated int32 method_ids = 2;
1230
1230
  }
1231
1231
  message PresetCashierConfigItem {
1232
- int32 id = 1;
1232
+ optional int32 id = 1;
1233
1233
  int32 preset_id = 2;
1234
1234
  repeated PresetCashierCurrencyAmounts currencies = 3;
1235
1235
  repeated PresetCashierPaymentOrderGroup payment_groups = 4;
package/cms/cms_pb.js CHANGED
@@ -46778,8 +46778,8 @@ proto.cms.PresetCashierConfigItem.prototype.serializeBinary = function() {
46778
46778
  */
46779
46779
  proto.cms.PresetCashierConfigItem.serializeBinaryToWriter = function(message, writer) {
46780
46780
  var f = undefined;
46781
- f = message.getId();
46782
- if (f !== 0) {
46781
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
46782
+ if (f != null) {
46783
46783
  writer.writeInt32(
46784
46784
  1,
46785
46785
  f
@@ -46846,7 +46846,25 @@ proto.cms.PresetCashierConfigItem.prototype.getId = function() {
46846
46846
  * @return {!proto.cms.PresetCashierConfigItem} returns this
46847
46847
  */
46848
46848
  proto.cms.PresetCashierConfigItem.prototype.setId = function(value) {
46849
- return jspb.Message.setProto3IntField(this, 1, value);
46849
+ return jspb.Message.setField(this, 1, value);
46850
+ };
46851
+
46852
+
46853
+ /**
46854
+ * Clears the field making it undefined.
46855
+ * @return {!proto.cms.PresetCashierConfigItem} returns this
46856
+ */
46857
+ proto.cms.PresetCashierConfigItem.prototype.clearId = function() {
46858
+ return jspb.Message.setField(this, 1, undefined);
46859
+ };
46860
+
46861
+
46862
+ /**
46863
+ * Returns whether this field is set.
46864
+ * @return {boolean}
46865
+ */
46866
+ proto.cms.PresetCashierConfigItem.prototype.hasId = function() {
46867
+ return jspb.Message.getField(this, 1) != null;
46850
46868
  };
46851
46869
 
46852
46870
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.362",
3
+ "version": "1.2.364",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -90,6 +90,7 @@ message PaymentSearchRequest {
90
90
  repeated string operation_reason_code = 16;
91
91
  repeated string operation_status_code = 17;
92
92
  repeated string withdrawal_status_code = 18;
93
+ optional int32 config_is_active = 19;
93
94
  }
94
95
  message ItemsBunchRequest {
95
96
  repeated int32 ids = 1;
@@ -2636,7 +2636,8 @@ proto.payment.PaymentSearchRequest.toObject = function(includeInstance, msg) {
2636
2636
  operationTypeList: (f = jspb.Message.getRepeatedField(msg, 15)) == null ? undefined : f,
2637
2637
  operationReasonCodeList: (f = jspb.Message.getRepeatedField(msg, 16)) == null ? undefined : f,
2638
2638
  operationStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
2639
- withdrawalStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f
2639
+ withdrawalStatusCodeList: (f = jspb.Message.getRepeatedField(msg, 18)) == null ? undefined : f,
2640
+ configIsActive: jspb.Message.getFieldWithDefault(msg, 19, 0)
2640
2641
  };
2641
2642
 
2642
2643
  if (includeInstance) {
@@ -2753,6 +2754,10 @@ proto.payment.PaymentSearchRequest.deserializeBinaryFromReader = function(msg, r
2753
2754
  var value = /** @type {string} */ (reader.readString());
2754
2755
  msg.addWithdrawalStatusCode(value);
2755
2756
  break;
2757
+ case 19:
2758
+ var value = /** @type {number} */ (reader.readInt32());
2759
+ msg.setConfigIsActive(value);
2760
+ break;
2756
2761
  default:
2757
2762
  reader.skipField();
2758
2763
  break;
@@ -2908,6 +2913,13 @@ proto.payment.PaymentSearchRequest.serializeBinaryToWriter = function(message, w
2908
2913
  f
2909
2914
  );
2910
2915
  }
2916
+ f = /** @type {number} */ (jspb.Message.getField(message, 19));
2917
+ if (f != null) {
2918
+ writer.writeInt32(
2919
+ 19,
2920
+ f
2921
+ );
2922
+ }
2911
2923
  };
2912
2924
 
2913
2925
 
@@ -3569,6 +3581,42 @@ proto.payment.PaymentSearchRequest.prototype.clearWithdrawalStatusCodeList = fun
3569
3581
  };
3570
3582
 
3571
3583
 
3584
+ /**
3585
+ * optional int32 config_is_active = 19;
3586
+ * @return {number}
3587
+ */
3588
+ proto.payment.PaymentSearchRequest.prototype.getConfigIsActive = function() {
3589
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 19, 0));
3590
+ };
3591
+
3592
+
3593
+ /**
3594
+ * @param {number} value
3595
+ * @return {!proto.payment.PaymentSearchRequest} returns this
3596
+ */
3597
+ proto.payment.PaymentSearchRequest.prototype.setConfigIsActive = function(value) {
3598
+ return jspb.Message.setField(this, 19, value);
3599
+ };
3600
+
3601
+
3602
+ /**
3603
+ * Clears the field making it undefined.
3604
+ * @return {!proto.payment.PaymentSearchRequest} returns this
3605
+ */
3606
+ proto.payment.PaymentSearchRequest.prototype.clearConfigIsActive = function() {
3607
+ return jspb.Message.setField(this, 19, undefined);
3608
+ };
3609
+
3610
+
3611
+ /**
3612
+ * Returns whether this field is set.
3613
+ * @return {boolean}
3614
+ */
3615
+ proto.payment.PaymentSearchRequest.prototype.hasConfigIsActive = function() {
3616
+ return jspb.Message.getField(this, 19) != null;
3617
+ };
3618
+
3619
+
3572
3620
 
3573
3621
  /**
3574
3622
  * List of repeated fields within this message type.