protobuf-platform 1.2.403 → 1.2.406
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/package.json +1 -1
- package/payment/payment.proto +28 -0
- package/payment/payment_pb.js +1606 -218
- package/promocode/promocode.proto +1 -0
- package/promocode/promocode_pb.js +49 -1
|
@@ -4264,7 +4264,8 @@ proto.promocode.File.prototype.toObject = function(opt_includeInstance) {
|
|
|
4264
4264
|
proto.promocode.File.toObject = function(includeInstance, msg) {
|
|
4265
4265
|
var f, obj = {
|
|
4266
4266
|
media: msg.getMedia_asB64(),
|
|
4267
|
-
fileRole: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4267
|
+
fileRole: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4268
|
+
fileType: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4268
4269
|
};
|
|
4269
4270
|
|
|
4270
4271
|
if (includeInstance) {
|
|
@@ -4309,6 +4310,10 @@ proto.promocode.File.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
4309
4310
|
var value = /** @type {string} */ (reader.readString());
|
|
4310
4311
|
msg.setFileRole(value);
|
|
4311
4312
|
break;
|
|
4313
|
+
case 3:
|
|
4314
|
+
var value = /** @type {string} */ (reader.readString());
|
|
4315
|
+
msg.setFileType(value);
|
|
4316
|
+
break;
|
|
4312
4317
|
default:
|
|
4313
4318
|
reader.skipField();
|
|
4314
4319
|
break;
|
|
@@ -4352,6 +4357,13 @@ proto.promocode.File.serializeBinaryToWriter = function(message, writer) {
|
|
|
4352
4357
|
f
|
|
4353
4358
|
);
|
|
4354
4359
|
}
|
|
4360
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
4361
|
+
if (f != null) {
|
|
4362
|
+
writer.writeString(
|
|
4363
|
+
3,
|
|
4364
|
+
f
|
|
4365
|
+
);
|
|
4366
|
+
}
|
|
4355
4367
|
};
|
|
4356
4368
|
|
|
4357
4369
|
|
|
@@ -4433,6 +4445,42 @@ proto.promocode.File.prototype.hasFileRole = function() {
|
|
|
4433
4445
|
};
|
|
4434
4446
|
|
|
4435
4447
|
|
|
4448
|
+
/**
|
|
4449
|
+
* optional string file_type = 3;
|
|
4450
|
+
* @return {string}
|
|
4451
|
+
*/
|
|
4452
|
+
proto.promocode.File.prototype.getFileType = function() {
|
|
4453
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
4454
|
+
};
|
|
4455
|
+
|
|
4456
|
+
|
|
4457
|
+
/**
|
|
4458
|
+
* @param {string} value
|
|
4459
|
+
* @return {!proto.promocode.File} returns this
|
|
4460
|
+
*/
|
|
4461
|
+
proto.promocode.File.prototype.setFileType = function(value) {
|
|
4462
|
+
return jspb.Message.setField(this, 3, value);
|
|
4463
|
+
};
|
|
4464
|
+
|
|
4465
|
+
|
|
4466
|
+
/**
|
|
4467
|
+
* Clears the field making it undefined.
|
|
4468
|
+
* @return {!proto.promocode.File} returns this
|
|
4469
|
+
*/
|
|
4470
|
+
proto.promocode.File.prototype.clearFileType = function() {
|
|
4471
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
4472
|
+
};
|
|
4473
|
+
|
|
4474
|
+
|
|
4475
|
+
/**
|
|
4476
|
+
* Returns whether this field is set.
|
|
4477
|
+
* @return {boolean}
|
|
4478
|
+
*/
|
|
4479
|
+
proto.promocode.File.prototype.hasFileType = function() {
|
|
4480
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4481
|
+
};
|
|
4482
|
+
|
|
4483
|
+
|
|
4436
4484
|
|
|
4437
4485
|
|
|
4438
4486
|
|