@sellout/models 0.0.126 → 0.0.127

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.
@@ -18,6 +18,7 @@ const query = (0, graphql_tag_1.default) `
18
18
  name
19
19
  }
20
20
  purchaseLimit
21
+ visible
21
22
  }
22
23
  active
23
24
  startsAt
@@ -1 +1 @@
1
- {"version":3,"file":"promoCodeVerify.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/promoCodeVerify.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;CAqBhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"promoCodeVerify.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/promoCodeVerify.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;CAsBhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -17223,6 +17223,7 @@ $root.CreateOrderPaymentIntentParams = (function() {
17223
17223
  * @property {string|null} [paymentMethodType] CreateOrderPaymentIntentParams paymentMethodType
17224
17224
  * @property {string|null} [paymentMethodId] CreateOrderPaymentIntentParams paymentMethodId
17225
17225
  * @property {string|null} [stalePaymentIntentId] CreateOrderPaymentIntentParams stalePaymentIntentId
17226
+ * @property {string|null} [channel] CreateOrderPaymentIntentParams channel
17226
17227
  */
17227
17228
 
17228
17229
  /**
@@ -17314,6 +17315,14 @@ $root.CreateOrderPaymentIntentParams = (function() {
17314
17315
  */
17315
17316
  CreateOrderPaymentIntentParams.prototype.stalePaymentIntentId = "";
17316
17317
 
17318
+ /**
17319
+ * CreateOrderPaymentIntentParams channel.
17320
+ * @member {string} channel
17321
+ * @memberof CreateOrderPaymentIntentParams
17322
+ * @instance
17323
+ */
17324
+ CreateOrderPaymentIntentParams.prototype.channel = "";
17325
+
17317
17326
  /**
17318
17327
  * Creates a new CreateOrderPaymentIntentParams instance using the specified properties.
17319
17328
  * @function create
@@ -17358,6 +17367,8 @@ $root.CreateOrderPaymentIntentParams = (function() {
17358
17367
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.paymentMethodId);
17359
17368
  if (message.stalePaymentIntentId != null && Object.hasOwnProperty.call(message, "stalePaymentIntentId"))
17360
17369
  writer.uint32(/* id 8, wireType 2 =*/66).string(message.stalePaymentIntentId);
17370
+ if (message.channel != null && Object.hasOwnProperty.call(message, "channel"))
17371
+ writer.uint32(/* id 9, wireType 2 =*/74).string(message.channel);
17361
17372
  return writer;
17362
17373
  };
17363
17374
 
@@ -17423,6 +17434,9 @@ $root.CreateOrderPaymentIntentParams = (function() {
17423
17434
  case 8:
17424
17435
  message.stalePaymentIntentId = reader.string();
17425
17436
  break;
17437
+ case 9:
17438
+ message.channel = reader.string();
17439
+ break;
17426
17440
  default:
17427
17441
  reader.skipType(tag & 7);
17428
17442
  break;
@@ -17497,6 +17511,9 @@ $root.CreateOrderPaymentIntentParams = (function() {
17497
17511
  if (message.stalePaymentIntentId != null && message.hasOwnProperty("stalePaymentIntentId"))
17498
17512
  if (!$util.isString(message.stalePaymentIntentId))
17499
17513
  return "stalePaymentIntentId: string expected";
17514
+ if (message.channel != null && message.hasOwnProperty("channel"))
17515
+ if (!$util.isString(message.channel))
17516
+ return "channel: string expected";
17500
17517
  return null;
17501
17518
  };
17502
17519
 
@@ -17546,6 +17563,8 @@ $root.CreateOrderPaymentIntentParams = (function() {
17546
17563
  message.paymentMethodId = String(object.paymentMethodId);
17547
17564
  if (object.stalePaymentIntentId != null)
17548
17565
  message.stalePaymentIntentId = String(object.stalePaymentIntentId);
17566
+ if (object.channel != null)
17567
+ message.channel = String(object.channel);
17549
17568
  return message;
17550
17569
  };
17551
17570
 
@@ -17574,6 +17593,7 @@ $root.CreateOrderPaymentIntentParams = (function() {
17574
17593
  object.paymentMethodType = "";
17575
17594
  object.paymentMethodId = "";
17576
17595
  object.stalePaymentIntentId = "";
17596
+ object.channel = "";
17577
17597
  }
17578
17598
  if (message.userId != null && message.hasOwnProperty("userId"))
17579
17599
  object.userId = message.userId;
@@ -17599,6 +17619,8 @@ $root.CreateOrderPaymentIntentParams = (function() {
17599
17619
  object.paymentMethodId = message.paymentMethodId;
17600
17620
  if (message.stalePaymentIntentId != null && message.hasOwnProperty("stalePaymentIntentId"))
17601
17621
  object.stalePaymentIntentId = message.stalePaymentIntentId;
17622
+ if (message.channel != null && message.hasOwnProperty("channel"))
17623
+ object.channel = message.channel;
17602
17624
  return object;
17603
17625
  };
17604
17626
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.126",
3
+ "version": "0.0.127",
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.126",
20
+ "@sellout/utils": "^0.0.127",
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": "b2d9c425dc6a71ecd74f48fe056f261892edb161"
34
+ "gitHead": "023e699242e2edfc69c76d09191e6014eb307663"
35
35
  }
@@ -14,6 +14,7 @@ const query = gql`
14
14
  name
15
15
  }
16
16
  purchaseLimit
17
+ visible
17
18
  }
18
19
  active
19
20
  startsAt
@@ -168,6 +168,7 @@ message CreateOrderPaymentIntentParams {
168
168
  string paymentMethodType = 6;
169
169
  string paymentMethodId = 7;
170
170
  string stalePaymentIntentId = 8;
171
+ string channel = 9;
171
172
  }
172
173
 
173
174
  message CreateOrderPaymentIntentRequest {