protobuf-platform 1.2.441 → 1.2.442

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
@@ -1305,6 +1305,7 @@ message PresetCashierConfigItem {
1305
1305
  optional string created_at = 6;
1306
1306
  optional string updated_at = 7;
1307
1307
  optional string geo = 8;
1308
+ optional bool show_cashier_after_registration = 9;
1308
1309
  }
1309
1310
  message SetPresetCashierConfigRequest {
1310
1311
  optional int32 id = 1;
@@ -1313,6 +1314,7 @@ message SetPresetCashierConfigRequest {
1313
1314
  repeated PresetCashierPaymentOrderGroup payment_groups = 4;
1314
1315
  optional int32 is_active = 5;
1315
1316
  repeated PresetCashierGeoConfig geo_configs = 6;
1317
+ optional bool show_cashier_after_registration = 7;
1316
1318
  }
1317
1319
  message GetPresetCashierConfigRequest {
1318
1320
  int32 preset_id = 1;
package/cms/cms_pb.js CHANGED
@@ -49681,7 +49681,8 @@ proto.cms.PresetCashierConfigItem.toObject = function(includeInstance, msg) {
49681
49681
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
49682
49682
  createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
49683
49683
  updatedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
49684
- geo: jspb.Message.getFieldWithDefault(msg, 8, "")
49684
+ geo: jspb.Message.getFieldWithDefault(msg, 8, ""),
49685
+ showCashierAfterRegistration: jspb.Message.getBooleanFieldWithDefault(msg, 9, false)
49685
49686
  };
49686
49687
 
49687
49688
  if (includeInstance) {
@@ -49752,6 +49753,10 @@ proto.cms.PresetCashierConfigItem.deserializeBinaryFromReader = function(msg, re
49752
49753
  var value = /** @type {string} */ (reader.readString());
49753
49754
  msg.setGeo(value);
49754
49755
  break;
49756
+ case 9:
49757
+ var value = /** @type {boolean} */ (reader.readBool());
49758
+ msg.setShowCashierAfterRegistration(value);
49759
+ break;
49755
49760
  default:
49756
49761
  reader.skipField();
49757
49762
  break;
@@ -49839,6 +49844,13 @@ proto.cms.PresetCashierConfigItem.serializeBinaryToWriter = function(message, wr
49839
49844
  f
49840
49845
  );
49841
49846
  }
49847
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 9));
49848
+ if (f != null) {
49849
+ writer.writeBool(
49850
+ 9,
49851
+ f
49852
+ );
49853
+ }
49842
49854
  };
49843
49855
 
49844
49856
 
@@ -50116,6 +50128,42 @@ proto.cms.PresetCashierConfigItem.prototype.hasGeo = function() {
50116
50128
  };
50117
50129
 
50118
50130
 
50131
+ /**
50132
+ * optional bool show_cashier_after_registration = 9;
50133
+ * @return {boolean}
50134
+ */
50135
+ proto.cms.PresetCashierConfigItem.prototype.getShowCashierAfterRegistration = function() {
50136
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 9, false));
50137
+ };
50138
+
50139
+
50140
+ /**
50141
+ * @param {boolean} value
50142
+ * @return {!proto.cms.PresetCashierConfigItem} returns this
50143
+ */
50144
+ proto.cms.PresetCashierConfigItem.prototype.setShowCashierAfterRegistration = function(value) {
50145
+ return jspb.Message.setField(this, 9, value);
50146
+ };
50147
+
50148
+
50149
+ /**
50150
+ * Clears the field making it undefined.
50151
+ * @return {!proto.cms.PresetCashierConfigItem} returns this
50152
+ */
50153
+ proto.cms.PresetCashierConfigItem.prototype.clearShowCashierAfterRegistration = function() {
50154
+ return jspb.Message.setField(this, 9, undefined);
50155
+ };
50156
+
50157
+
50158
+ /**
50159
+ * Returns whether this field is set.
50160
+ * @return {boolean}
50161
+ */
50162
+ proto.cms.PresetCashierConfigItem.prototype.hasShowCashierAfterRegistration = function() {
50163
+ return jspb.Message.getField(this, 9) != null;
50164
+ };
50165
+
50166
+
50119
50167
 
50120
50168
  /**
50121
50169
  * List of repeated fields within this message type.
@@ -50163,7 +50211,8 @@ proto.cms.SetPresetCashierConfigRequest.toObject = function(includeInstance, msg
50163
50211
  proto.cms.PresetCashierPaymentOrderGroup.toObject, includeInstance),
50164
50212
  isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
50165
50213
  geoConfigsList: jspb.Message.toObjectList(msg.getGeoConfigsList(),
50166
- proto.cms.PresetCashierGeoConfig.toObject, includeInstance)
50214
+ proto.cms.PresetCashierGeoConfig.toObject, includeInstance),
50215
+ showCashierAfterRegistration: jspb.Message.getBooleanFieldWithDefault(msg, 7, false)
50167
50216
  };
50168
50217
 
50169
50218
  if (includeInstance) {
@@ -50227,6 +50276,10 @@ proto.cms.SetPresetCashierConfigRequest.deserializeBinaryFromReader = function(m
50227
50276
  reader.readMessage(value,proto.cms.PresetCashierGeoConfig.deserializeBinaryFromReader);
50228
50277
  msg.addGeoConfigs(value);
50229
50278
  break;
50279
+ case 7:
50280
+ var value = /** @type {boolean} */ (reader.readBool());
50281
+ msg.setShowCashierAfterRegistration(value);
50282
+ break;
50230
50283
  default:
50231
50284
  reader.skipField();
50232
50285
  break;
@@ -50301,6 +50354,13 @@ proto.cms.SetPresetCashierConfigRequest.serializeBinaryToWriter = function(messa
50301
50354
  proto.cms.PresetCashierGeoConfig.serializeBinaryToWriter
50302
50355
  );
50303
50356
  }
50357
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 7));
50358
+ if (f != null) {
50359
+ writer.writeBool(
50360
+ 7,
50361
+ f
50362
+ );
50363
+ }
50304
50364
  };
50305
50365
 
50306
50366
 
@@ -50508,6 +50568,42 @@ proto.cms.SetPresetCashierConfigRequest.prototype.clearGeoConfigsList = function
50508
50568
  };
50509
50569
 
50510
50570
 
50571
+ /**
50572
+ * optional bool show_cashier_after_registration = 7;
50573
+ * @return {boolean}
50574
+ */
50575
+ proto.cms.SetPresetCashierConfigRequest.prototype.getShowCashierAfterRegistration = function() {
50576
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
50577
+ };
50578
+
50579
+
50580
+ /**
50581
+ * @param {boolean} value
50582
+ * @return {!proto.cms.SetPresetCashierConfigRequest} returns this
50583
+ */
50584
+ proto.cms.SetPresetCashierConfigRequest.prototype.setShowCashierAfterRegistration = function(value) {
50585
+ return jspb.Message.setField(this, 7, value);
50586
+ };
50587
+
50588
+
50589
+ /**
50590
+ * Clears the field making it undefined.
50591
+ * @return {!proto.cms.SetPresetCashierConfigRequest} returns this
50592
+ */
50593
+ proto.cms.SetPresetCashierConfigRequest.prototype.clearShowCashierAfterRegistration = function() {
50594
+ return jspb.Message.setField(this, 7, undefined);
50595
+ };
50596
+
50597
+
50598
+ /**
50599
+ * Returns whether this field is set.
50600
+ * @return {boolean}
50601
+ */
50602
+ proto.cms.SetPresetCashierConfigRequest.prototype.hasShowCashierAfterRegistration = function() {
50603
+ return jspb.Message.getField(this, 7) != null;
50604
+ };
50605
+
50606
+
50511
50607
 
50512
50608
 
50513
50609
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.441",
3
+ "version": "1.2.442",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {