@sellout/models 0.0.226 → 0.0.227

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.
@@ -21699,6 +21699,7 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21699
21699
  * @property {Array.<IError>|null} [errors] CreateOrderPaymentIntentResponse errors
21700
21700
  * @property {string|null} [paymentIntentId] CreateOrderPaymentIntentResponse paymentIntentId
21701
21701
  * @property {string|null} [clientSecret] CreateOrderPaymentIntentResponse clientSecret
21702
+ * @property {string|null} [ephemeralKey] CreateOrderPaymentIntentResponse ephemeralKey
21702
21703
  */
21703
21704
 
21704
21705
  /**
@@ -21749,6 +21750,14 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21749
21750
  */
21750
21751
  CreateOrderPaymentIntentResponse.prototype.clientSecret = "";
21751
21752
 
21753
+ /**
21754
+ * CreateOrderPaymentIntentResponse ephemeralKey.
21755
+ * @member {string} ephemeralKey
21756
+ * @memberof CreateOrderPaymentIntentResponse
21757
+ * @instance
21758
+ */
21759
+ CreateOrderPaymentIntentResponse.prototype.ephemeralKey = "";
21760
+
21752
21761
  /**
21753
21762
  * Creates a new CreateOrderPaymentIntentResponse instance using the specified properties.
21754
21763
  * @function create
@@ -21782,6 +21791,8 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21782
21791
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.paymentIntentId);
21783
21792
  if (message.clientSecret != null && Object.hasOwnProperty.call(message, "clientSecret"))
21784
21793
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.clientSecret);
21794
+ if (message.ephemeralKey != null && Object.hasOwnProperty.call(message, "ephemeralKey"))
21795
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.ephemeralKey);
21785
21796
  return writer;
21786
21797
  };
21787
21798
 
@@ -21830,6 +21841,9 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21830
21841
  case 4:
21831
21842
  message.clientSecret = reader.string();
21832
21843
  break;
21844
+ case 5:
21845
+ message.ephemeralKey = reader.string();
21846
+ break;
21833
21847
  default:
21834
21848
  reader.skipType(tag & 7);
21835
21849
  break;
@@ -21895,6 +21909,9 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21895
21909
  if (message.clientSecret != null && message.hasOwnProperty("clientSecret"))
21896
21910
  if (!$util.isString(message.clientSecret))
21897
21911
  return "clientSecret: string expected";
21912
+ if (message.ephemeralKey != null && message.hasOwnProperty("ephemeralKey"))
21913
+ if (!$util.isString(message.ephemeralKey))
21914
+ return "ephemeralKey: string expected";
21898
21915
  return null;
21899
21916
  };
21900
21917
 
@@ -21962,6 +21979,8 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21962
21979
  message.paymentIntentId = String(object.paymentIntentId);
21963
21980
  if (object.clientSecret != null)
21964
21981
  message.clientSecret = String(object.clientSecret);
21982
+ if (object.ephemeralKey != null)
21983
+ message.ephemeralKey = String(object.ephemeralKey);
21965
21984
  return message;
21966
21985
  };
21967
21986
 
@@ -21984,6 +22003,7 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21984
22003
  object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
21985
22004
  object.paymentIntentId = "";
21986
22005
  object.clientSecret = "";
22006
+ object.ephemeralKey = "";
21987
22007
  }
21988
22008
  if (message.status != null && message.hasOwnProperty("status"))
21989
22009
  object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
@@ -21996,6 +22016,8 @@ $root.CreateOrderPaymentIntentResponse = (function() {
21996
22016
  object.paymentIntentId = message.paymentIntentId;
21997
22017
  if (message.clientSecret != null && message.hasOwnProperty("clientSecret"))
21998
22018
  object.clientSecret = message.clientSecret;
22019
+ if (message.ephemeralKey != null && message.hasOwnProperty("ephemeralKey"))
22020
+ object.ephemeralKey = message.ephemeralKey;
21999
22021
  return object;
22000
22022
  };
22001
22023
 
@@ -107181,6 +107203,7 @@ $root.CreateStripePaymentIntentResponse = (function() {
107181
107203
  * @property {Array.<IError>|null} [errors] CreateStripePaymentIntentResponse errors
107182
107204
  * @property {string|null} [paymentIntentId] CreateStripePaymentIntentResponse paymentIntentId
107183
107205
  * @property {string|null} [clientSecret] CreateStripePaymentIntentResponse clientSecret
107206
+ * @property {string|null} [ephemeralKey] CreateStripePaymentIntentResponse ephemeralKey
107184
107207
  */
107185
107208
 
107186
107209
  /**
@@ -107231,6 +107254,14 @@ $root.CreateStripePaymentIntentResponse = (function() {
107231
107254
  */
107232
107255
  CreateStripePaymentIntentResponse.prototype.clientSecret = "";
107233
107256
 
107257
+ /**
107258
+ * CreateStripePaymentIntentResponse ephemeralKey.
107259
+ * @member {string} ephemeralKey
107260
+ * @memberof CreateStripePaymentIntentResponse
107261
+ * @instance
107262
+ */
107263
+ CreateStripePaymentIntentResponse.prototype.ephemeralKey = "";
107264
+
107234
107265
  /**
107235
107266
  * Creates a new CreateStripePaymentIntentResponse instance using the specified properties.
107236
107267
  * @function create
@@ -107264,6 +107295,8 @@ $root.CreateStripePaymentIntentResponse = (function() {
107264
107295
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.paymentIntentId);
107265
107296
  if (message.clientSecret != null && Object.hasOwnProperty.call(message, "clientSecret"))
107266
107297
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.clientSecret);
107298
+ if (message.ephemeralKey != null && Object.hasOwnProperty.call(message, "ephemeralKey"))
107299
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.ephemeralKey);
107267
107300
  return writer;
107268
107301
  };
107269
107302
 
@@ -107312,6 +107345,9 @@ $root.CreateStripePaymentIntentResponse = (function() {
107312
107345
  case 3:
107313
107346
  message.clientSecret = reader.string();
107314
107347
  break;
107348
+ case 4:
107349
+ message.ephemeralKey = reader.string();
107350
+ break;
107315
107351
  default:
107316
107352
  reader.skipType(tag & 7);
107317
107353
  break;
@@ -107377,6 +107413,9 @@ $root.CreateStripePaymentIntentResponse = (function() {
107377
107413
  if (message.clientSecret != null && message.hasOwnProperty("clientSecret"))
107378
107414
  if (!$util.isString(message.clientSecret))
107379
107415
  return "clientSecret: string expected";
107416
+ if (message.ephemeralKey != null && message.hasOwnProperty("ephemeralKey"))
107417
+ if (!$util.isString(message.ephemeralKey))
107418
+ return "ephemeralKey: string expected";
107380
107419
  return null;
107381
107420
  };
107382
107421
 
@@ -107444,6 +107483,8 @@ $root.CreateStripePaymentIntentResponse = (function() {
107444
107483
  message.paymentIntentId = String(object.paymentIntentId);
107445
107484
  if (object.clientSecret != null)
107446
107485
  message.clientSecret = String(object.clientSecret);
107486
+ if (object.ephemeralKey != null)
107487
+ message.ephemeralKey = String(object.ephemeralKey);
107447
107488
  return message;
107448
107489
  };
107449
107490
 
@@ -107466,6 +107507,7 @@ $root.CreateStripePaymentIntentResponse = (function() {
107466
107507
  object.status = options.enums === String ? "UNKNOWN_CODE" : 0;
107467
107508
  object.paymentIntentId = "";
107468
107509
  object.clientSecret = "";
107510
+ object.ephemeralKey = "";
107469
107511
  }
107470
107512
  if (message.status != null && message.hasOwnProperty("status"))
107471
107513
  object.status = options.enums === String ? $root.StatusCode[message.status] : message.status;
@@ -107478,6 +107520,8 @@ $root.CreateStripePaymentIntentResponse = (function() {
107478
107520
  object.paymentIntentId = message.paymentIntentId;
107479
107521
  if (message.clientSecret != null && message.hasOwnProperty("clientSecret"))
107480
107522
  object.clientSecret = message.clientSecret;
107523
+ if (message.ephemeralKey != null && message.hasOwnProperty("ephemeralKey"))
107524
+ object.ephemeralKey = message.ephemeralKey;
107481
107525
  return object;
107482
107526
  };
107483
107527
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.226",
3
+ "version": "0.0.227",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -17,7 +17,7 @@
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
19
  "@hapi/joi": "^16.1.7",
20
- "@sellout/utils": "^0.0.226",
20
+ "@sellout/utils": "^0.0.227",
21
21
  "@types/hapi__joi": "^16.0.1",
22
22
  "@types/shortid": "^0.0.29",
23
23
  "apollo-link-debounce": "^2.1.0",
@@ -31,5 +31,5 @@
31
31
  "protobufjs": "^6.11.2",
32
32
  "typescript": "^4.4.2"
33
33
  },
34
- "gitHead": "8dac25975fcff054d1c2e5c082628d5abc1d5c23"
34
+ "gitHead": "bf5bb644dc046e028164af0680701c2d1dee2d44"
35
35
  }
@@ -289,6 +289,7 @@ message CreateOrderPaymentIntentResponse {
289
289
  repeated Error errors = 2;
290
290
  string paymentIntentId = 3;
291
291
  string clientSecret = 4;
292
+ string ephemeralKey = 5;
292
293
  }
293
294
 
294
295
  /****************************************************************************************
@@ -276,6 +276,7 @@ message CreateStripePaymentIntentResponse {
276
276
  repeated Error errors = 1;
277
277
  string paymentIntentId = 2;
278
278
  string clientSecret = 3;
279
+ string ephemeralKey = 4;
279
280
  }
280
281
 
281
282
  message CaptureStripePaymentIntentRequest {