protobuf-platform 1.2.384 → 1.2.385

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.384",
3
+ "version": "1.2.385",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -265,6 +265,8 @@ message OperationDetailsItem {
265
265
  string completion_mode = 14;
266
266
  string created = 15;
267
267
  string completed = 16;
268
+ optional string comment = 17;
269
+ optional string provider_code = 18;
268
270
  }
269
271
  message OperationLedgerItem {
270
272
  int32 id = 1;
@@ -10609,7 +10609,9 @@ proto.payment.OperationDetailsItem.toObject = function(includeInstance, msg) {
10609
10609
  processingType: jspb.Message.getFieldWithDefault(msg, 13, ""),
10610
10610
  completionMode: jspb.Message.getFieldWithDefault(msg, 14, ""),
10611
10611
  created: jspb.Message.getFieldWithDefault(msg, 15, ""),
10612
- completed: jspb.Message.getFieldWithDefault(msg, 16, "")
10612
+ completed: jspb.Message.getFieldWithDefault(msg, 16, ""),
10613
+ comment: jspb.Message.getFieldWithDefault(msg, 17, ""),
10614
+ providerCode: jspb.Message.getFieldWithDefault(msg, 18, "")
10613
10615
  };
10614
10616
 
10615
10617
  if (includeInstance) {
@@ -10710,6 +10712,14 @@ proto.payment.OperationDetailsItem.deserializeBinaryFromReader = function(msg, r
10710
10712
  var value = /** @type {string} */ (reader.readString());
10711
10713
  msg.setCompleted(value);
10712
10714
  break;
10715
+ case 17:
10716
+ var value = /** @type {string} */ (reader.readString());
10717
+ msg.setComment(value);
10718
+ break;
10719
+ case 18:
10720
+ var value = /** @type {string} */ (reader.readString());
10721
+ msg.setProviderCode(value);
10722
+ break;
10713
10723
  default:
10714
10724
  reader.skipField();
10715
10725
  break;
@@ -10851,6 +10861,20 @@ proto.payment.OperationDetailsItem.serializeBinaryToWriter = function(message, w
10851
10861
  f
10852
10862
  );
10853
10863
  }
10864
+ f = /** @type {string} */ (jspb.Message.getField(message, 17));
10865
+ if (f != null) {
10866
+ writer.writeString(
10867
+ 17,
10868
+ f
10869
+ );
10870
+ }
10871
+ f = /** @type {string} */ (jspb.Message.getField(message, 18));
10872
+ if (f != null) {
10873
+ writer.writeString(
10874
+ 18,
10875
+ f
10876
+ );
10877
+ }
10854
10878
  };
10855
10879
 
10856
10880
 
@@ -11142,6 +11166,78 @@ proto.payment.OperationDetailsItem.prototype.setCompleted = function(value) {
11142
11166
  };
11143
11167
 
11144
11168
 
11169
+ /**
11170
+ * optional string comment = 17;
11171
+ * @return {string}
11172
+ */
11173
+ proto.payment.OperationDetailsItem.prototype.getComment = function() {
11174
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
11175
+ };
11176
+
11177
+
11178
+ /**
11179
+ * @param {string} value
11180
+ * @return {!proto.payment.OperationDetailsItem} returns this
11181
+ */
11182
+ proto.payment.OperationDetailsItem.prototype.setComment = function(value) {
11183
+ return jspb.Message.setField(this, 17, value);
11184
+ };
11185
+
11186
+
11187
+ /**
11188
+ * Clears the field making it undefined.
11189
+ * @return {!proto.payment.OperationDetailsItem} returns this
11190
+ */
11191
+ proto.payment.OperationDetailsItem.prototype.clearComment = function() {
11192
+ return jspb.Message.setField(this, 17, undefined);
11193
+ };
11194
+
11195
+
11196
+ /**
11197
+ * Returns whether this field is set.
11198
+ * @return {boolean}
11199
+ */
11200
+ proto.payment.OperationDetailsItem.prototype.hasComment = function() {
11201
+ return jspb.Message.getField(this, 17) != null;
11202
+ };
11203
+
11204
+
11205
+ /**
11206
+ * optional string provider_code = 18;
11207
+ * @return {string}
11208
+ */
11209
+ proto.payment.OperationDetailsItem.prototype.getProviderCode = function() {
11210
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
11211
+ };
11212
+
11213
+
11214
+ /**
11215
+ * @param {string} value
11216
+ * @return {!proto.payment.OperationDetailsItem} returns this
11217
+ */
11218
+ proto.payment.OperationDetailsItem.prototype.setProviderCode = function(value) {
11219
+ return jspb.Message.setField(this, 18, value);
11220
+ };
11221
+
11222
+
11223
+ /**
11224
+ * Clears the field making it undefined.
11225
+ * @return {!proto.payment.OperationDetailsItem} returns this
11226
+ */
11227
+ proto.payment.OperationDetailsItem.prototype.clearProviderCode = function() {
11228
+ return jspb.Message.setField(this, 18, undefined);
11229
+ };
11230
+
11231
+
11232
+ /**
11233
+ * Returns whether this field is set.
11234
+ * @return {boolean}
11235
+ */
11236
+ proto.payment.OperationDetailsItem.prototype.hasProviderCode = function() {
11237
+ return jspb.Message.getField(this, 18) != null;
11238
+ };
11239
+
11240
+
11145
11241
 
11146
11242
 
11147
11243