protobuf-platform 1.2.34 → 1.2.35
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 +2 -2
- package/cms/cms_pb.js +12 -12
- package/package.json +1 -1
package/cms/cms.proto
CHANGED
@@ -278,14 +278,14 @@ message PromosItemsResponse {
|
|
278
278
|
optional int32 total_items = 3;
|
279
279
|
}
|
280
280
|
message PromoTranslationRequest {
|
281
|
-
int32
|
281
|
+
int32 promo_id = 1;
|
282
282
|
string geo = 2;
|
283
283
|
string locale = 3;
|
284
284
|
optional string title = 4;
|
285
285
|
optional string content = 5;
|
286
286
|
}
|
287
287
|
message GetPromoTranslationRequest {
|
288
|
-
int32
|
288
|
+
int32 promo_id = 1;
|
289
289
|
string geo = 2;
|
290
290
|
string locale = 3;
|
291
291
|
}
|
package/cms/cms_pb.js
CHANGED
@@ -12146,7 +12146,7 @@ proto.cms.PromoTranslationRequest.prototype.toObject = function(opt_includeInsta
|
|
12146
12146
|
*/
|
12147
12147
|
proto.cms.PromoTranslationRequest.toObject = function(includeInstance, msg) {
|
12148
12148
|
var f, obj = {
|
12149
|
-
|
12149
|
+
promoId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
12150
12150
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
12151
12151
|
locale: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
12152
12152
|
title: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
@@ -12189,7 +12189,7 @@ proto.cms.PromoTranslationRequest.deserializeBinaryFromReader = function(msg, re
|
|
12189
12189
|
switch (field) {
|
12190
12190
|
case 1:
|
12191
12191
|
var value = /** @type {number} */ (reader.readInt32());
|
12192
|
-
msg.
|
12192
|
+
msg.setPromoId(value);
|
12193
12193
|
break;
|
12194
12194
|
case 2:
|
12195
12195
|
var value = /** @type {string} */ (reader.readString());
|
@@ -12236,7 +12236,7 @@ proto.cms.PromoTranslationRequest.prototype.serializeBinary = function() {
|
|
12236
12236
|
*/
|
12237
12237
|
proto.cms.PromoTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
12238
12238
|
var f = undefined;
|
12239
|
-
f = message.
|
12239
|
+
f = message.getPromoId();
|
12240
12240
|
if (f !== 0) {
|
12241
12241
|
writer.writeInt32(
|
12242
12242
|
1,
|
@@ -12275,10 +12275,10 @@ proto.cms.PromoTranslationRequest.serializeBinaryToWriter = function(message, wr
|
|
12275
12275
|
|
12276
12276
|
|
12277
12277
|
/**
|
12278
|
-
* optional int32
|
12278
|
+
* optional int32 promo_id = 1;
|
12279
12279
|
* @return {number}
|
12280
12280
|
*/
|
12281
|
-
proto.cms.PromoTranslationRequest.prototype.
|
12281
|
+
proto.cms.PromoTranslationRequest.prototype.getPromoId = function() {
|
12282
12282
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
12283
12283
|
};
|
12284
12284
|
|
@@ -12287,7 +12287,7 @@ proto.cms.PromoTranslationRequest.prototype.getPageId = function() {
|
|
12287
12287
|
* @param {number} value
|
12288
12288
|
* @return {!proto.cms.PromoTranslationRequest} returns this
|
12289
12289
|
*/
|
12290
|
-
proto.cms.PromoTranslationRequest.prototype.
|
12290
|
+
proto.cms.PromoTranslationRequest.prototype.setPromoId = function(value) {
|
12291
12291
|
return jspb.Message.setProto3IntField(this, 1, value);
|
12292
12292
|
};
|
12293
12293
|
|
@@ -12432,7 +12432,7 @@ proto.cms.GetPromoTranslationRequest.prototype.toObject = function(opt_includeIn
|
|
12432
12432
|
*/
|
12433
12433
|
proto.cms.GetPromoTranslationRequest.toObject = function(includeInstance, msg) {
|
12434
12434
|
var f, obj = {
|
12435
|
-
|
12435
|
+
promoId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
12436
12436
|
geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
12437
12437
|
locale: jspb.Message.getFieldWithDefault(msg, 3, "")
|
12438
12438
|
};
|
@@ -12473,7 +12473,7 @@ proto.cms.GetPromoTranslationRequest.deserializeBinaryFromReader = function(msg,
|
|
12473
12473
|
switch (field) {
|
12474
12474
|
case 1:
|
12475
12475
|
var value = /** @type {number} */ (reader.readInt32());
|
12476
|
-
msg.
|
12476
|
+
msg.setPromoId(value);
|
12477
12477
|
break;
|
12478
12478
|
case 2:
|
12479
12479
|
var value = /** @type {string} */ (reader.readString());
|
@@ -12512,7 +12512,7 @@ proto.cms.GetPromoTranslationRequest.prototype.serializeBinary = function() {
|
|
12512
12512
|
*/
|
12513
12513
|
proto.cms.GetPromoTranslationRequest.serializeBinaryToWriter = function(message, writer) {
|
12514
12514
|
var f = undefined;
|
12515
|
-
f = message.
|
12515
|
+
f = message.getPromoId();
|
12516
12516
|
if (f !== 0) {
|
12517
12517
|
writer.writeInt32(
|
12518
12518
|
1,
|
@@ -12537,10 +12537,10 @@ proto.cms.GetPromoTranslationRequest.serializeBinaryToWriter = function(message,
|
|
12537
12537
|
|
12538
12538
|
|
12539
12539
|
/**
|
12540
|
-
* optional int32
|
12540
|
+
* optional int32 promo_id = 1;
|
12541
12541
|
* @return {number}
|
12542
12542
|
*/
|
12543
|
-
proto.cms.GetPromoTranslationRequest.prototype.
|
12543
|
+
proto.cms.GetPromoTranslationRequest.prototype.getPromoId = function() {
|
12544
12544
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
12545
12545
|
};
|
12546
12546
|
|
@@ -12549,7 +12549,7 @@ proto.cms.GetPromoTranslationRequest.prototype.getPageId = function() {
|
|
12549
12549
|
* @param {number} value
|
12550
12550
|
* @return {!proto.cms.GetPromoTranslationRequest} returns this
|
12551
12551
|
*/
|
12552
|
-
proto.cms.GetPromoTranslationRequest.prototype.
|
12552
|
+
proto.cms.GetPromoTranslationRequest.prototype.setPromoId = function(value) {
|
12553
12553
|
return jspb.Message.setProto3IntField(this, 1, value);
|
12554
12554
|
};
|
12555
12555
|
|