@sellout/models 0.0.405 → 0.0.407

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.
@@ -110286,6 +110286,7 @@ $root.CancelTicketRequest = (function() {
110286
110286
  * @property {string|null} [promotionCode] CancelTicketRequest promotionCode
110287
110287
  * @property {Array.<string>|null} [upgradeId] CancelTicketRequest upgradeId
110288
110288
  * @property {string|null} [discountCode] CancelTicketRequest discountCode
110289
+ * @property {Array.<string>|null} [ticketTierId] CancelTicketRequest ticketTierId
110289
110290
  */
110290
110291
 
110291
110292
  /**
@@ -110300,6 +110301,7 @@ $root.CancelTicketRequest = (function() {
110300
110301
  this.ticketTypeId = [];
110301
110302
  this.upgradesTypeId = [];
110302
110303
  this.upgradeId = [];
110304
+ this.ticketTierId = [];
110303
110305
  if (properties)
110304
110306
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
110305
110307
  if (properties[keys[i]] != null)
@@ -110370,6 +110372,14 @@ $root.CancelTicketRequest = (function() {
110370
110372
  */
110371
110373
  CancelTicketRequest.prototype.discountCode = "";
110372
110374
 
110375
+ /**
110376
+ * CancelTicketRequest ticketTierId.
110377
+ * @member {Array.<string>} ticketTierId
110378
+ * @memberof CancelTicketRequest
110379
+ * @instance
110380
+ */
110381
+ CancelTicketRequest.prototype.ticketTierId = $util.emptyArray;
110382
+
110373
110383
  /**
110374
110384
  * Creates a new CancelTicketRequest instance using the specified properties.
110375
110385
  * @function create
@@ -110413,6 +110423,9 @@ $root.CancelTicketRequest = (function() {
110413
110423
  writer.uint32(/* id 6, wireType 2 =*/50).string(message.upgradeId[i]);
110414
110424
  if (message.discountCode != null && Object.hasOwnProperty.call(message, "discountCode"))
110415
110425
  writer.uint32(/* id 7, wireType 2 =*/58).string(message.discountCode);
110426
+ if (message.ticketTierId != null && message.ticketTierId.length)
110427
+ for (var i = 0; i < message.ticketTierId.length; ++i)
110428
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.ticketTierId[i]);
110416
110429
  return writer;
110417
110430
  };
110418
110431
 
@@ -110477,6 +110490,11 @@ $root.CancelTicketRequest = (function() {
110477
110490
  case 7:
110478
110491
  message.discountCode = reader.string();
110479
110492
  break;
110493
+ case 8:
110494
+ if (!(message.ticketTierId && message.ticketTierId.length))
110495
+ message.ticketTierId = [];
110496
+ message.ticketTierId.push(reader.string());
110497
+ break;
110480
110498
  default:
110481
110499
  reader.skipType(tag & 7);
110482
110500
  break;
@@ -110548,6 +110566,13 @@ $root.CancelTicketRequest = (function() {
110548
110566
  if (message.discountCode != null && message.hasOwnProperty("discountCode"))
110549
110567
  if (!$util.isString(message.discountCode))
110550
110568
  return "discountCode: string expected";
110569
+ if (message.ticketTierId != null && message.hasOwnProperty("ticketTierId")) {
110570
+ if (!Array.isArray(message.ticketTierId))
110571
+ return "ticketTierId: array expected";
110572
+ for (var i = 0; i < message.ticketTierId.length; ++i)
110573
+ if (!$util.isString(message.ticketTierId[i]))
110574
+ return "ticketTierId: string[] expected";
110575
+ }
110551
110576
  return null;
110552
110577
  };
110553
110578
 
@@ -110594,6 +110619,13 @@ $root.CancelTicketRequest = (function() {
110594
110619
  }
110595
110620
  if (object.discountCode != null)
110596
110621
  message.discountCode = String(object.discountCode);
110622
+ if (object.ticketTierId) {
110623
+ if (!Array.isArray(object.ticketTierId))
110624
+ throw TypeError(".CancelTicketRequest.ticketTierId: array expected");
110625
+ message.ticketTierId = [];
110626
+ for (var i = 0; i < object.ticketTierId.length; ++i)
110627
+ message.ticketTierId[i] = String(object.ticketTierId[i]);
110628
+ }
110597
110629
  return message;
110598
110630
  };
110599
110631
 
@@ -110614,6 +110646,7 @@ $root.CancelTicketRequest = (function() {
110614
110646
  object.ticketTypeId = [];
110615
110647
  object.upgradesTypeId = [];
110616
110648
  object.upgradeId = [];
110649
+ object.ticketTierId = [];
110617
110650
  }
110618
110651
  if (options.defaults) {
110619
110652
  object.spanContext = "";
@@ -110647,6 +110680,11 @@ $root.CancelTicketRequest = (function() {
110647
110680
  }
110648
110681
  if (message.discountCode != null && message.hasOwnProperty("discountCode"))
110649
110682
  object.discountCode = message.discountCode;
110683
+ if (message.ticketTierId && message.ticketTierId.length) {
110684
+ object.ticketTierId = [];
110685
+ for (var j = 0; j < message.ticketTierId.length; ++j)
110686
+ object.ticketTierId[j] = message.ticketTierId[j];
110687
+ }
110650
110688
  return object;
110651
110689
  };
110652
110690
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.405",
3
+ "version": "0.0.407",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -18,7 +18,7 @@
18
18
  "dependencies": {
19
19
  "@apollo/client": "^3.9.6",
20
20
  "@hapi/joi": "^17.1.1",
21
- "@sellout/utils": "^0.0.405",
21
+ "@sellout/utils": "^0.0.407",
22
22
  "@types/hapi__joi": "^16.0.1",
23
23
  "@types/shortid": "^0.0.29",
24
24
  "@types/zen-observable": "^0.8.7",
@@ -33,5 +33,5 @@
33
33
  "protobufjs": "^6.11.2",
34
34
  "typescript": "^4.9.5"
35
35
  },
36
- "gitHead": "122a28ca18bb558de3114d2017f0d63a4560a16e"
36
+ "gitHead": "4c9696c220be3abcad94295004bc81566c2bd012"
37
37
  }
@@ -535,6 +535,7 @@ message CancelTicketRequest {
535
535
  string promotionCode = 5;
536
536
  repeated string upgradeId = 6;
537
537
  string discountCode = 7;
538
+ repeated string ticketTierId = 8;
538
539
  }
539
540
 
540
541
  message CancelTicketResponse {