protobuf-platform 1.2.541 → 1.2.543

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.
@@ -70,6 +70,7 @@ message MirrorCountriesRequest {
70
70
  optional string environment = 1;
71
71
  optional string type = 2;
72
72
  repeated string countries = 3;
73
+ optional string domain = 4;
73
74
  }
74
75
  message CountriesRequest {
75
76
  optional string name = 1;
@@ -2225,7 +2225,8 @@ proto.config.MirrorCountriesRequest.toObject = function(includeInstance, msg) {
2225
2225
  var f, obj = {
2226
2226
  environment: jspb.Message.getFieldWithDefault(msg, 1, ""),
2227
2227
  type: jspb.Message.getFieldWithDefault(msg, 2, ""),
2228
- countriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
2228
+ countriesList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
2229
+ domain: jspb.Message.getFieldWithDefault(msg, 4, "")
2229
2230
  };
2230
2231
 
2231
2232
  if (includeInstance) {
@@ -2274,6 +2275,10 @@ proto.config.MirrorCountriesRequest.deserializeBinaryFromReader = function(msg,
2274
2275
  var value = /** @type {string} */ (reader.readString());
2275
2276
  msg.addCountries(value);
2276
2277
  break;
2278
+ case 4:
2279
+ var value = /** @type {string} */ (reader.readString());
2280
+ msg.setDomain(value);
2281
+ break;
2277
2282
  default:
2278
2283
  reader.skipField();
2279
2284
  break;
@@ -2324,6 +2329,13 @@ proto.config.MirrorCountriesRequest.serializeBinaryToWriter = function(message,
2324
2329
  f
2325
2330
  );
2326
2331
  }
2332
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
2333
+ if (f != null) {
2334
+ writer.writeString(
2335
+ 4,
2336
+ f
2337
+ );
2338
+ }
2327
2339
  };
2328
2340
 
2329
2341
 
@@ -2436,6 +2448,42 @@ proto.config.MirrorCountriesRequest.prototype.clearCountriesList = function() {
2436
2448
  };
2437
2449
 
2438
2450
 
2451
+ /**
2452
+ * optional string domain = 4;
2453
+ * @return {string}
2454
+ */
2455
+ proto.config.MirrorCountriesRequest.prototype.getDomain = function() {
2456
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
2457
+ };
2458
+
2459
+
2460
+ /**
2461
+ * @param {string} value
2462
+ * @return {!proto.config.MirrorCountriesRequest} returns this
2463
+ */
2464
+ proto.config.MirrorCountriesRequest.prototype.setDomain = function(value) {
2465
+ return jspb.Message.setField(this, 4, value);
2466
+ };
2467
+
2468
+
2469
+ /**
2470
+ * Clears the field making it undefined.
2471
+ * @return {!proto.config.MirrorCountriesRequest} returns this
2472
+ */
2473
+ proto.config.MirrorCountriesRequest.prototype.clearDomain = function() {
2474
+ return jspb.Message.setField(this, 4, undefined);
2475
+ };
2476
+
2477
+
2478
+ /**
2479
+ * Returns whether this field is set.
2480
+ * @return {boolean}
2481
+ */
2482
+ proto.config.MirrorCountriesRequest.prototype.hasDomain = function() {
2483
+ return jspb.Message.getField(this, 4) != null;
2484
+ };
2485
+
2486
+
2439
2487
 
2440
2488
 
2441
2489
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.2.541",
3
+ "version": "1.2.543",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -301,6 +301,25 @@ message OperationItemsResponse {
301
301
  optional int32 total_pages = 2;
302
302
  optional int32 total_items = 3;
303
303
  }
304
+ message ProviderOutcome {
305
+ optional string operation_type = 1;
306
+ optional string status_code = 2;
307
+ optional string reason_code = 3;
308
+ optional string provider_code = 4;
309
+ optional string provider_message = 5;
310
+ optional string provider_status = 6;
311
+ optional string terminal_status_code = 7;
312
+ optional string external_ref = 8;
313
+ optional string provider_payment_id = 9;
314
+ optional string provider_transaction_id = 10;
315
+ optional string reference_type = 11;
316
+ optional string reference_id = 12;
317
+ optional int32 deposit_id = 13;
318
+ optional int32 withdrawal_id = 14;
319
+ optional float amount_requested = 15;
320
+ optional float amount_processed = 16;
321
+ optional string currency = 17;
322
+ }
304
323
  message OperationDetailsItem {
305
324
  int32 id = 1;
306
325
  string public_id = 2;
@@ -320,6 +339,7 @@ message OperationDetailsItem {
320
339
  string completed = 16;
321
340
  optional string comment = 17;
322
341
  optional string provider_code = 18;
342
+ optional ProviderOutcome provider_outcome = 19;
323
343
  }
324
344
  message OperationLedgerItem {
325
345
  int32 id = 1;