@sellout/models 0.0.188 → 0.0.192

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.
Files changed (34) hide show
  1. package/.dist/graphql/fragments/order.fragment.js +1 -0
  2. package/.dist/graphql/fragments/order.fragment.js.map +1 -1
  3. package/.dist/graphql/mutations/refundOrder.mutation.js +13 -0
  4. package/.dist/graphql/mutations/refundOrder.mutation.js.map +1 -1
  5. package/.dist/graphql/queries/order.query.js +11 -0
  6. package/.dist/graphql/queries/order.query.js.map +1 -1
  7. package/.dist/interfaces/IOrder.d.ts +1 -0
  8. package/.dist/interfaces/IOrder.js.map +1 -1
  9. package/.dist/interfaces/IOrderQuery.d.ts +1 -0
  10. package/.dist/interfaces/IRefundModal.d.ts +1 -0
  11. package/.dist/interfaces/ISeason.d.ts +1 -0
  12. package/.dist/schemas/Order.d.ts +26 -0
  13. package/.dist/schemas/Order.js +3 -0
  14. package/.dist/schemas/Order.js.map +1 -1
  15. package/.dist/sellout-proto.js +351 -0
  16. package/.dist/utils/AnalyticsUtil.js +99 -20
  17. package/.dist/utils/AnalyticsUtil.js.map +1 -1
  18. package/.dist/utils/PaymentUtil.d.ts +1 -1
  19. package/.dist/utils/PaymentUtil.js +14 -66
  20. package/.dist/utils/PaymentUtil.js.map +1 -1
  21. package/package.json +3 -3
  22. package/src/graphql/fragments/order.fragment.ts +1 -0
  23. package/src/graphql/mutations/refundOrder.mutation.ts +13 -0
  24. package/src/graphql/queries/order.query.ts +11 -0
  25. package/src/interfaces/IOrder.ts +1 -0
  26. package/src/interfaces/IOrderQuery.ts +1 -0
  27. package/src/interfaces/IRefundModal.ts +1 -0
  28. package/src/interfaces/ISeason.ts +1 -0
  29. package/src/proto/email.proto +11 -0
  30. package/src/proto/event.proto +1 -0
  31. package/src/proto/order.proto +4 -0
  32. package/src/schemas/Order.ts +3 -0
  33. package/src/utils/AnalyticsUtil.ts +141 -58
  34. package/src/utils/PaymentUtil.ts +19 -93
@@ -13010,6 +13010,7 @@ $root.Order = (function() {
13010
13010
  * @property {boolean|null} [printed] Order printed
13011
13011
  * @property {string|null} [parentSeasonOrderId] Order parentSeasonOrderId
13012
13012
  * @property {Array.<IorderFees>|null} [fees] Order fees
13013
+ * @property {IProcessingFees|null} [promoterFee] Order promoterFee
13013
13014
  */
13014
13015
 
13015
13016
  /**
@@ -13292,6 +13293,14 @@ $root.Order = (function() {
13292
13293
  */
13293
13294
  Order.prototype.fees = $util.emptyArray;
13294
13295
 
13296
+ /**
13297
+ * Order promoterFee.
13298
+ * @member {IProcessingFees|null|undefined} promoterFee
13299
+ * @memberof Order
13300
+ * @instance
13301
+ */
13302
+ Order.prototype.promoterFee = null;
13303
+
13295
13304
  /**
13296
13305
  * Creates a new Order instance using the specified properties.
13297
13306
  * @function create
@@ -13389,6 +13398,8 @@ $root.Order = (function() {
13389
13398
  if (message.fees != null && message.fees.length)
13390
13399
  for (var i = 0; i < message.fees.length; ++i)
13391
13400
  $root.orderFees.encode(message.fees[i], writer.uint32(/* id 31, wireType 2 =*/250).fork()).ldelim();
13401
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
13402
+ $root.ProcessingFees.encode(message.promoterFee, writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim();
13392
13403
  return writer;
13393
13404
  };
13394
13405
 
@@ -13537,6 +13548,9 @@ $root.Order = (function() {
13537
13548
  message.fees = [];
13538
13549
  message.fees.push($root.orderFees.decode(reader, reader.uint32()));
13539
13550
  break;
13551
+ case 32:
13552
+ message.promoterFee = $root.ProcessingFees.decode(reader, reader.uint32());
13553
+ break;
13540
13554
  default:
13541
13555
  reader.skipType(tag & 7);
13542
13556
  break;
@@ -13718,6 +13732,11 @@ $root.Order = (function() {
13718
13732
  return "fees." + error;
13719
13733
  }
13720
13734
  }
13735
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee")) {
13736
+ var error = $root.ProcessingFees.verify(message.promoterFee);
13737
+ if (error)
13738
+ return "promoterFee." + error;
13739
+ }
13721
13740
  return null;
13722
13741
  };
13723
13742
 
@@ -13863,6 +13882,11 @@ $root.Order = (function() {
13863
13882
  message.fees[i] = $root.orderFees.fromObject(object.fees[i]);
13864
13883
  }
13865
13884
  }
13885
+ if (object.promoterFee != null) {
13886
+ if (typeof object.promoterFee !== "object")
13887
+ throw TypeError(".Order.promoterFee: object expected");
13888
+ message.promoterFee = $root.ProcessingFees.fromObject(object.promoterFee);
13889
+ }
13866
13890
  return message;
13867
13891
  };
13868
13892
 
@@ -13914,6 +13938,7 @@ $root.Order = (function() {
13914
13938
  object.hidden = false;
13915
13939
  object.printed = false;
13916
13940
  object.parentSeasonOrderId = "";
13941
+ object.promoterFee = null;
13917
13942
  }
13918
13943
  if (message._id != null && message.hasOwnProperty("_id"))
13919
13944
  object._id = message._id;
@@ -14006,6 +14031,8 @@ $root.Order = (function() {
14006
14031
  for (var j = 0; j < message.fees.length; ++j)
14007
14032
  object.fees[j] = $root.orderFees.toObject(message.fees[j], options);
14008
14033
  }
14034
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
14035
+ object.promoterFee = $root.ProcessingFees.toObject(message.promoterFee, options);
14009
14036
  return object;
14010
14037
  };
14011
14038
 
@@ -21928,6 +21955,7 @@ $root.RefundOrderRequest = (function() {
21928
21955
  * @property {string|null} [refundReason] RefundOrderRequest refundReason
21929
21956
  * @property {boolean|null} [processingFee] RefundOrderRequest processingFee
21930
21957
  * @property {string|null} [eventType] RefundOrderRequest eventType
21958
+ * @property {boolean|null} [promoterFee] RefundOrderRequest promoterFee
21931
21959
  */
21932
21960
 
21933
21961
  /**
@@ -22027,6 +22055,14 @@ $root.RefundOrderRequest = (function() {
22027
22055
  */
22028
22056
  RefundOrderRequest.prototype.eventType = "";
22029
22057
 
22058
+ /**
22059
+ * RefundOrderRequest promoterFee.
22060
+ * @member {boolean} promoterFee
22061
+ * @memberof RefundOrderRequest
22062
+ * @instance
22063
+ */
22064
+ RefundOrderRequest.prototype.promoterFee = false;
22065
+
22030
22066
  /**
22031
22067
  * Creates a new RefundOrderRequest instance using the specified properties.
22032
22068
  * @function create
@@ -22073,6 +22109,8 @@ $root.RefundOrderRequest = (function() {
22073
22109
  writer.uint32(/* id 8, wireType 0 =*/64).bool(message.processingFee);
22074
22110
  if (message.eventType != null && Object.hasOwnProperty.call(message, "eventType"))
22075
22111
  writer.uint32(/* id 9, wireType 2 =*/74).string(message.eventType);
22112
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
22113
+ writer.uint32(/* id 10, wireType 0 =*/80).bool(message.promoterFee);
22076
22114
  return writer;
22077
22115
  };
22078
22116
 
@@ -22141,6 +22179,9 @@ $root.RefundOrderRequest = (function() {
22141
22179
  case 9:
22142
22180
  message.eventType = reader.string();
22143
22181
  break;
22182
+ case 10:
22183
+ message.promoterFee = reader.bool();
22184
+ break;
22144
22185
  default:
22145
22186
  reader.skipType(tag & 7);
22146
22187
  break;
@@ -22214,6 +22255,9 @@ $root.RefundOrderRequest = (function() {
22214
22255
  if (message.eventType != null && message.hasOwnProperty("eventType"))
22215
22256
  if (!$util.isString(message.eventType))
22216
22257
  return "eventType: string expected";
22258
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
22259
+ if (typeof message.promoterFee !== "boolean")
22260
+ return "promoterFee: boolean expected";
22217
22261
  return null;
22218
22262
  };
22219
22263
 
@@ -22259,6 +22303,8 @@ $root.RefundOrderRequest = (function() {
22259
22303
  message.processingFee = Boolean(object.processingFee);
22260
22304
  if (object.eventType != null)
22261
22305
  message.eventType = String(object.eventType);
22306
+ if (object.promoterFee != null)
22307
+ message.promoterFee = Boolean(object.promoterFee);
22262
22308
  return message;
22263
22309
  };
22264
22310
 
@@ -22288,6 +22334,7 @@ $root.RefundOrderRequest = (function() {
22288
22334
  object.refundReason = "";
22289
22335
  object.processingFee = false;
22290
22336
  object.eventType = "";
22337
+ object.promoterFee = false;
22291
22338
  }
22292
22339
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
22293
22340
  object.spanContext = message.spanContext;
@@ -22315,6 +22362,8 @@ $root.RefundOrderRequest = (function() {
22315
22362
  object.processingFee = message.processingFee;
22316
22363
  if (message.eventType != null && message.hasOwnProperty("eventType"))
22317
22364
  object.eventType = message.eventType;
22365
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
22366
+ object.promoterFee = message.promoterFee;
22318
22367
  return object;
22319
22368
  };
22320
22369
 
@@ -25745,6 +25794,7 @@ $root.SendOrderRefundEmailRequest = (function() {
25745
25794
  * @property {Array.<string>|null} [ticketIds] SendOrderRefundEmailRequest ticketIds
25746
25795
  * @property {Array.<string>|null} [upgradeIds] SendOrderRefundEmailRequest upgradeIds
25747
25796
  * @property {boolean|null} [processingFee] SendOrderRefundEmailRequest processingFee
25797
+ * @property {boolean|null} [promoterFee] SendOrderRefundEmailRequest promoterFee
25748
25798
  */
25749
25799
 
25750
25800
  /**
@@ -25804,6 +25854,14 @@ $root.SendOrderRefundEmailRequest = (function() {
25804
25854
  */
25805
25855
  SendOrderRefundEmailRequest.prototype.processingFee = false;
25806
25856
 
25857
+ /**
25858
+ * SendOrderRefundEmailRequest promoterFee.
25859
+ * @member {boolean} promoterFee
25860
+ * @memberof SendOrderRefundEmailRequest
25861
+ * @instance
25862
+ */
25863
+ SendOrderRefundEmailRequest.prototype.promoterFee = false;
25864
+
25807
25865
  /**
25808
25866
  * Creates a new SendOrderRefundEmailRequest instance using the specified properties.
25809
25867
  * @function create
@@ -25840,6 +25898,8 @@ $root.SendOrderRefundEmailRequest = (function() {
25840
25898
  writer.uint32(/* id 3, wireType 2 =*/26).string(message.upgradeIds[i]);
25841
25899
  if (message.processingFee != null && Object.hasOwnProperty.call(message, "processingFee"))
25842
25900
  writer.uint32(/* id 4, wireType 0 =*/32).bool(message.processingFee);
25901
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
25902
+ writer.uint32(/* id 5, wireType 0 =*/40).bool(message.promoterFee);
25843
25903
  return writer;
25844
25904
  };
25845
25905
 
@@ -25893,6 +25953,9 @@ $root.SendOrderRefundEmailRequest = (function() {
25893
25953
  case 4:
25894
25954
  message.processingFee = reader.bool();
25895
25955
  break;
25956
+ case 5:
25957
+ message.promoterFee = reader.bool();
25958
+ break;
25896
25959
  default:
25897
25960
  reader.skipType(tag & 7);
25898
25961
  break;
@@ -25951,6 +26014,9 @@ $root.SendOrderRefundEmailRequest = (function() {
25951
26014
  if (message.processingFee != null && message.hasOwnProperty("processingFee"))
25952
26015
  if (typeof message.processingFee !== "boolean")
25953
26016
  return "processingFee: boolean expected";
26017
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
26018
+ if (typeof message.promoterFee !== "boolean")
26019
+ return "promoterFee: boolean expected";
25954
26020
  return null;
25955
26021
  };
25956
26022
 
@@ -25986,6 +26052,8 @@ $root.SendOrderRefundEmailRequest = (function() {
25986
26052
  }
25987
26053
  if (object.processingFee != null)
25988
26054
  message.processingFee = Boolean(object.processingFee);
26055
+ if (object.promoterFee != null)
26056
+ message.promoterFee = Boolean(object.promoterFee);
25989
26057
  return message;
25990
26058
  };
25991
26059
 
@@ -26010,6 +26078,7 @@ $root.SendOrderRefundEmailRequest = (function() {
26010
26078
  object.spanContext = "";
26011
26079
  object.orderId = "";
26012
26080
  object.processingFee = false;
26081
+ object.promoterFee = false;
26013
26082
  }
26014
26083
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
26015
26084
  object.spanContext = message.spanContext;
@@ -26027,6 +26096,8 @@ $root.SendOrderRefundEmailRequest = (function() {
26027
26096
  }
26028
26097
  if (message.processingFee != null && message.hasOwnProperty("processingFee"))
26029
26098
  object.processingFee = message.processingFee;
26099
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
26100
+ object.promoterFee = message.promoterFee;
26030
26101
  return object;
26031
26102
  };
26032
26103
 
@@ -38742,6 +38813,8 @@ $root.QueueOrderReceiptEmailRequest = (function() {
38742
38813
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderReceiptEmailRequest dayIdsTimeCalendar
38743
38814
  * @property {string|null} [ticketDeliveryType] QueueOrderReceiptEmailRequest ticketDeliveryType
38744
38815
  * @property {string|null} [physicalDeliveryInstructions] QueueOrderReceiptEmailRequest physicalDeliveryInstructions
38816
+ * @property {string|null} [promoterFee] QueueOrderReceiptEmailRequest promoterFee
38817
+ * @property {string|null} [processingFee] QueueOrderReceiptEmailRequest processingFee
38745
38818
  */
38746
38819
 
38747
38820
  /**
@@ -39051,6 +39124,22 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39051
39124
  */
39052
39125
  QueueOrderReceiptEmailRequest.prototype.physicalDeliveryInstructions = "";
39053
39126
 
39127
+ /**
39128
+ * QueueOrderReceiptEmailRequest promoterFee.
39129
+ * @member {string} promoterFee
39130
+ * @memberof QueueOrderReceiptEmailRequest
39131
+ * @instance
39132
+ */
39133
+ QueueOrderReceiptEmailRequest.prototype.promoterFee = "";
39134
+
39135
+ /**
39136
+ * QueueOrderReceiptEmailRequest processingFee.
39137
+ * @member {string} processingFee
39138
+ * @memberof QueueOrderReceiptEmailRequest
39139
+ * @instance
39140
+ */
39141
+ QueueOrderReceiptEmailRequest.prototype.processingFee = "";
39142
+
39054
39143
  /**
39055
39144
  * Creates a new QueueOrderReceiptEmailRequest instance using the specified properties.
39056
39145
  * @function create
@@ -39151,6 +39240,10 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39151
39240
  writer.uint32(/* id 35, wireType 2 =*/282).string(message.ticketDeliveryType);
39152
39241
  if (message.physicalDeliveryInstructions != null && Object.hasOwnProperty.call(message, "physicalDeliveryInstructions"))
39153
39242
  writer.uint32(/* id 36, wireType 2 =*/290).string(message.physicalDeliveryInstructions);
39243
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
39244
+ writer.uint32(/* id 37, wireType 2 =*/298).string(message.promoterFee);
39245
+ if (message.processingFee != null && Object.hasOwnProperty.call(message, "processingFee"))
39246
+ writer.uint32(/* id 38, wireType 2 =*/306).string(message.processingFee);
39154
39247
  return writer;
39155
39248
  };
39156
39249
 
@@ -39301,6 +39394,12 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39301
39394
  case 36:
39302
39395
  message.physicalDeliveryInstructions = reader.string();
39303
39396
  break;
39397
+ case 37:
39398
+ message.promoterFee = reader.string();
39399
+ break;
39400
+ case 38:
39401
+ message.processingFee = reader.string();
39402
+ break;
39304
39403
  default:
39305
39404
  reader.skipType(tag & 7);
39306
39405
  break;
@@ -39466,6 +39565,12 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39466
39565
  if (message.physicalDeliveryInstructions != null && message.hasOwnProperty("physicalDeliveryInstructions"))
39467
39566
  if (!$util.isString(message.physicalDeliveryInstructions))
39468
39567
  return "physicalDeliveryInstructions: string expected";
39568
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
39569
+ if (!$util.isString(message.promoterFee))
39570
+ return "promoterFee: string expected";
39571
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
39572
+ if (!$util.isString(message.processingFee))
39573
+ return "processingFee: string expected";
39469
39574
  return null;
39470
39575
  };
39471
39576
 
@@ -39582,6 +39687,10 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39582
39687
  message.ticketDeliveryType = String(object.ticketDeliveryType);
39583
39688
  if (object.physicalDeliveryInstructions != null)
39584
39689
  message.physicalDeliveryInstructions = String(object.physicalDeliveryInstructions);
39690
+ if (object.promoterFee != null)
39691
+ message.promoterFee = String(object.promoterFee);
39692
+ if (object.processingFee != null)
39693
+ message.processingFee = String(object.processingFee);
39585
39694
  return message;
39586
39695
  };
39587
39696
 
@@ -39637,6 +39746,8 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39637
39746
  object.timezone = "";
39638
39747
  object.ticketDeliveryType = "";
39639
39748
  object.physicalDeliveryInstructions = "";
39749
+ object.promoterFee = "";
39750
+ object.processingFee = "";
39640
39751
  }
39641
39752
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
39642
39753
  object.spanContext = message.spanContext;
@@ -39722,6 +39833,10 @@ $root.QueueOrderReceiptEmailRequest = (function() {
39722
39833
  object.ticketDeliveryType = message.ticketDeliveryType;
39723
39834
  if (message.physicalDeliveryInstructions != null && message.hasOwnProperty("physicalDeliveryInstructions"))
39724
39835
  object.physicalDeliveryInstructions = message.physicalDeliveryInstructions;
39836
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
39837
+ object.promoterFee = message.promoterFee;
39838
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
39839
+ object.processingFee = message.processingFee;
39725
39840
  return object;
39726
39841
  };
39727
39842
 
@@ -39781,6 +39896,8 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
39781
39896
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderQRCodeEmailRequest dayIdsTimeCalendar
39782
39897
  * @property {string|null} [ticketDeliveryType] QueueOrderQRCodeEmailRequest ticketDeliveryType
39783
39898
  * @property {string|null} [physicalDeliveryInstructions] QueueOrderQRCodeEmailRequest physicalDeliveryInstructions
39899
+ * @property {string|null} [promoterFee] QueueOrderQRCodeEmailRequest promoterFee
39900
+ * @property {string|null} [processingFee] QueueOrderQRCodeEmailRequest processingFee
39784
39901
  */
39785
39902
 
39786
39903
  /**
@@ -40089,6 +40206,22 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40089
40206
  */
40090
40207
  QueueOrderQRCodeEmailRequest.prototype.physicalDeliveryInstructions = "";
40091
40208
 
40209
+ /**
40210
+ * QueueOrderQRCodeEmailRequest promoterFee.
40211
+ * @member {string} promoterFee
40212
+ * @memberof QueueOrderQRCodeEmailRequest
40213
+ * @instance
40214
+ */
40215
+ QueueOrderQRCodeEmailRequest.prototype.promoterFee = "";
40216
+
40217
+ /**
40218
+ * QueueOrderQRCodeEmailRequest processingFee.
40219
+ * @member {string} processingFee
40220
+ * @memberof QueueOrderQRCodeEmailRequest
40221
+ * @instance
40222
+ */
40223
+ QueueOrderQRCodeEmailRequest.prototype.processingFee = "";
40224
+
40092
40225
  /**
40093
40226
  * Creates a new QueueOrderQRCodeEmailRequest instance using the specified properties.
40094
40227
  * @function create
@@ -40188,6 +40321,10 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40188
40321
  writer.uint32(/* id 34, wireType 2 =*/274).string(message.ticketDeliveryType);
40189
40322
  if (message.physicalDeliveryInstructions != null && Object.hasOwnProperty.call(message, "physicalDeliveryInstructions"))
40190
40323
  writer.uint32(/* id 35, wireType 2 =*/282).string(message.physicalDeliveryInstructions);
40324
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
40325
+ writer.uint32(/* id 36, wireType 2 =*/290).string(message.promoterFee);
40326
+ if (message.processingFee != null && Object.hasOwnProperty.call(message, "processingFee"))
40327
+ writer.uint32(/* id 37, wireType 2 =*/298).string(message.processingFee);
40191
40328
  return writer;
40192
40329
  };
40193
40330
 
@@ -40336,6 +40473,12 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40336
40473
  case 35:
40337
40474
  message.physicalDeliveryInstructions = reader.string();
40338
40475
  break;
40476
+ case 36:
40477
+ message.promoterFee = reader.string();
40478
+ break;
40479
+ case 37:
40480
+ message.processingFee = reader.string();
40481
+ break;
40339
40482
  default:
40340
40483
  reader.skipType(tag & 7);
40341
40484
  break;
@@ -40497,6 +40640,12 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40497
40640
  if (message.physicalDeliveryInstructions != null && message.hasOwnProperty("physicalDeliveryInstructions"))
40498
40641
  if (!$util.isString(message.physicalDeliveryInstructions))
40499
40642
  return "physicalDeliveryInstructions: string expected";
40643
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
40644
+ if (!$util.isString(message.promoterFee))
40645
+ return "promoterFee: string expected";
40646
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
40647
+ if (!$util.isString(message.processingFee))
40648
+ return "processingFee: string expected";
40500
40649
  return null;
40501
40650
  };
40502
40651
 
@@ -40608,6 +40757,10 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40608
40757
  message.ticketDeliveryType = String(object.ticketDeliveryType);
40609
40758
  if (object.physicalDeliveryInstructions != null)
40610
40759
  message.physicalDeliveryInstructions = String(object.physicalDeliveryInstructions);
40760
+ if (object.promoterFee != null)
40761
+ message.promoterFee = String(object.promoterFee);
40762
+ if (object.processingFee != null)
40763
+ message.processingFee = String(object.processingFee);
40611
40764
  return message;
40612
40765
  };
40613
40766
 
@@ -40663,6 +40816,8 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40663
40816
  object.timezone = "";
40664
40817
  object.ticketDeliveryType = "";
40665
40818
  object.physicalDeliveryInstructions = "";
40819
+ object.promoterFee = "";
40820
+ object.processingFee = "";
40666
40821
  }
40667
40822
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
40668
40823
  object.spanContext = message.spanContext;
@@ -40745,6 +40900,10 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
40745
40900
  object.ticketDeliveryType = message.ticketDeliveryType;
40746
40901
  if (message.physicalDeliveryInstructions != null && message.hasOwnProperty("physicalDeliveryInstructions"))
40747
40902
  object.physicalDeliveryInstructions = message.physicalDeliveryInstructions;
40903
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
40904
+ object.promoterFee = message.promoterFee;
40905
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
40906
+ object.processingFee = message.processingFee;
40748
40907
  return object;
40749
40908
  };
40750
40909
 
@@ -40803,6 +40962,8 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
40803
40962
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueSeasonOrderReceiptEmailRequest dayIdsTime
40804
40963
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueSeasonOrderReceiptEmailRequest dayIdsTimeCalendar
40805
40964
  * @property {Array.<IEvent>|null} [events] QueueSeasonOrderReceiptEmailRequest events
40965
+ * @property {string|null} [promoterFee] QueueSeasonOrderReceiptEmailRequest promoterFee
40966
+ * @property {string|null} [processingFee] QueueSeasonOrderReceiptEmailRequest processingFee
40806
40967
  */
40807
40968
 
40808
40969
  /**
@@ -41104,6 +41265,22 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41104
41265
  */
41105
41266
  QueueSeasonOrderReceiptEmailRequest.prototype.events = $util.emptyArray;
41106
41267
 
41268
+ /**
41269
+ * QueueSeasonOrderReceiptEmailRequest promoterFee.
41270
+ * @member {string} promoterFee
41271
+ * @memberof QueueSeasonOrderReceiptEmailRequest
41272
+ * @instance
41273
+ */
41274
+ QueueSeasonOrderReceiptEmailRequest.prototype.promoterFee = "";
41275
+
41276
+ /**
41277
+ * QueueSeasonOrderReceiptEmailRequest processingFee.
41278
+ * @member {string} processingFee
41279
+ * @memberof QueueSeasonOrderReceiptEmailRequest
41280
+ * @instance
41281
+ */
41282
+ QueueSeasonOrderReceiptEmailRequest.prototype.processingFee = "";
41283
+
41107
41284
  /**
41108
41285
  * Creates a new QueueSeasonOrderReceiptEmailRequest instance using the specified properties.
41109
41286
  * @function create
@@ -41202,6 +41379,10 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41202
41379
  if (message.events != null && message.events.length)
41203
41380
  for (var i = 0; i < message.events.length; ++i)
41204
41381
  $root.Event.encode(message.events[i], writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
41382
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
41383
+ writer.uint32(/* id 35, wireType 2 =*/282).string(message.promoterFee);
41384
+ if (message.processingFee != null && Object.hasOwnProperty.call(message, "processingFee"))
41385
+ writer.uint32(/* id 36, wireType 2 =*/290).string(message.processingFee);
41205
41386
  return writer;
41206
41387
  };
41207
41388
 
@@ -41349,6 +41530,12 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41349
41530
  message.events = [];
41350
41531
  message.events.push($root.Event.decode(reader, reader.uint32()));
41351
41532
  break;
41533
+ case 35:
41534
+ message.promoterFee = reader.string();
41535
+ break;
41536
+ case 36:
41537
+ message.processingFee = reader.string();
41538
+ break;
41352
41539
  default:
41353
41540
  reader.skipType(tag & 7);
41354
41541
  break;
@@ -41513,6 +41700,12 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41513
41700
  return "events." + error;
41514
41701
  }
41515
41702
  }
41703
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
41704
+ if (!$util.isString(message.promoterFee))
41705
+ return "promoterFee: string expected";
41706
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
41707
+ if (!$util.isString(message.processingFee))
41708
+ return "processingFee: string expected";
41516
41709
  return null;
41517
41710
  };
41518
41711
 
@@ -41630,6 +41823,10 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41630
41823
  message.events[i] = $root.Event.fromObject(object.events[i]);
41631
41824
  }
41632
41825
  }
41826
+ if (object.promoterFee != null)
41827
+ message.promoterFee = String(object.promoterFee);
41828
+ if (object.processingFee != null)
41829
+ message.processingFee = String(object.processingFee);
41633
41830
  return message;
41634
41831
  };
41635
41832
 
@@ -41684,6 +41881,8 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41684
41881
  object.eventStart = 0;
41685
41882
  object.eventEnd = 0;
41686
41883
  object.timezone = "";
41884
+ object.promoterFee = "";
41885
+ object.processingFee = "";
41687
41886
  }
41688
41887
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
41689
41888
  object.spanContext = message.spanContext;
@@ -41767,6 +41966,10 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
41767
41966
  for (var j = 0; j < message.events.length; ++j)
41768
41967
  object.events[j] = $root.Event.toObject(message.events[j], options);
41769
41968
  }
41969
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
41970
+ object.promoterFee = message.promoterFee;
41971
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
41972
+ object.processingFee = message.processingFee;
41770
41973
  return object;
41771
41974
  };
41772
41975
 
@@ -41820,6 +42023,10 @@ $root.QueueOrderRefundEmailRequest = (function() {
41820
42023
  * @property {string|null} [refundReason] QueueOrderRefundEmailRequest refundReason
41821
42024
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderRefundEmailRequest dayIdsTime
41822
42025
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderRefundEmailRequest dayIdsTimeCalendar
42026
+ * @property {string|null} [timezone] QueueOrderRefundEmailRequest timezone
42027
+ * @property {string|null} [promoterFee] QueueOrderRefundEmailRequest promoterFee
42028
+ * @property {string|null} [processingFee] QueueOrderRefundEmailRequest processingFee
42029
+ * @property {string|null} [tax] QueueOrderRefundEmailRequest tax
41823
42030
  */
41824
42031
 
41825
42032
  /**
@@ -42080,6 +42287,38 @@ $root.QueueOrderRefundEmailRequest = (function() {
42080
42287
  */
42081
42288
  QueueOrderRefundEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
42082
42289
 
42290
+ /**
42291
+ * QueueOrderRefundEmailRequest timezone.
42292
+ * @member {string} timezone
42293
+ * @memberof QueueOrderRefundEmailRequest
42294
+ * @instance
42295
+ */
42296
+ QueueOrderRefundEmailRequest.prototype.timezone = "";
42297
+
42298
+ /**
42299
+ * QueueOrderRefundEmailRequest promoterFee.
42300
+ * @member {string} promoterFee
42301
+ * @memberof QueueOrderRefundEmailRequest
42302
+ * @instance
42303
+ */
42304
+ QueueOrderRefundEmailRequest.prototype.promoterFee = "";
42305
+
42306
+ /**
42307
+ * QueueOrderRefundEmailRequest processingFee.
42308
+ * @member {string} processingFee
42309
+ * @memberof QueueOrderRefundEmailRequest
42310
+ * @instance
42311
+ */
42312
+ QueueOrderRefundEmailRequest.prototype.processingFee = "";
42313
+
42314
+ /**
42315
+ * QueueOrderRefundEmailRequest tax.
42316
+ * @member {string} tax
42317
+ * @memberof QueueOrderRefundEmailRequest
42318
+ * @instance
42319
+ */
42320
+ QueueOrderRefundEmailRequest.prototype.tax = "";
42321
+
42083
42322
  /**
42084
42323
  * Creates a new QueueOrderRefundEmailRequest instance using the specified properties.
42085
42324
  * @function create
@@ -42167,6 +42406,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
42167
42406
  if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
42168
42407
  for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
42169
42408
  $root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim();
42409
+ if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
42410
+ writer.uint32(/* id 30, wireType 2 =*/242).string(message.timezone);
42411
+ if (message.promoterFee != null && Object.hasOwnProperty.call(message, "promoterFee"))
42412
+ writer.uint32(/* id 31, wireType 2 =*/250).string(message.promoterFee);
42413
+ if (message.processingFee != null && Object.hasOwnProperty.call(message, "processingFee"))
42414
+ writer.uint32(/* id 32, wireType 2 =*/258).string(message.processingFee);
42415
+ if (message.tax != null && Object.hasOwnProperty.call(message, "tax"))
42416
+ writer.uint32(/* id 33, wireType 2 =*/266).string(message.tax);
42170
42417
  return writer;
42171
42418
  };
42172
42419
 
@@ -42297,6 +42544,18 @@ $root.QueueOrderRefundEmailRequest = (function() {
42297
42544
  message.dayIdsTimeCalendar = [];
42298
42545
  message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
42299
42546
  break;
42547
+ case 30:
42548
+ message.timezone = reader.string();
42549
+ break;
42550
+ case 31:
42551
+ message.promoterFee = reader.string();
42552
+ break;
42553
+ case 32:
42554
+ message.processingFee = reader.string();
42555
+ break;
42556
+ case 33:
42557
+ message.tax = reader.string();
42558
+ break;
42300
42559
  default:
42301
42560
  reader.skipType(tag & 7);
42302
42561
  break;
@@ -42440,6 +42699,18 @@ $root.QueueOrderRefundEmailRequest = (function() {
42440
42699
  return "dayIdsTimeCalendar." + error;
42441
42700
  }
42442
42701
  }
42702
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
42703
+ if (!$util.isString(message.timezone))
42704
+ return "timezone: string expected";
42705
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
42706
+ if (!$util.isString(message.promoterFee))
42707
+ return "promoterFee: string expected";
42708
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
42709
+ if (!$util.isString(message.processingFee))
42710
+ return "processingFee: string expected";
42711
+ if (message.tax != null && message.hasOwnProperty("tax"))
42712
+ if (!$util.isString(message.tax))
42713
+ return "tax: string expected";
42443
42714
  return null;
42444
42715
  };
42445
42716
 
@@ -42539,6 +42810,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
42539
42810
  message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
42540
42811
  }
42541
42812
  }
42813
+ if (object.timezone != null)
42814
+ message.timezone = String(object.timezone);
42815
+ if (object.promoterFee != null)
42816
+ message.promoterFee = String(object.promoterFee);
42817
+ if (object.processingFee != null)
42818
+ message.processingFee = String(object.processingFee);
42819
+ if (object.tax != null)
42820
+ message.tax = String(object.tax);
42542
42821
  return message;
42543
42822
  };
42544
42823
 
@@ -42588,6 +42867,10 @@ $root.QueueOrderRefundEmailRequest = (function() {
42588
42867
  object.orderFeesRefunded = "";
42589
42868
  object.orderTotalRefunded = "";
42590
42869
  object.refundReason = "";
42870
+ object.timezone = "";
42871
+ object.promoterFee = "";
42872
+ object.processingFee = "";
42873
+ object.tax = "";
42591
42874
  }
42592
42875
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
42593
42876
  object.spanContext = message.spanContext;
@@ -42658,6 +42941,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
42658
42941
  for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
42659
42942
  object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
42660
42943
  }
42944
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
42945
+ object.timezone = message.timezone;
42946
+ if (message.promoterFee != null && message.hasOwnProperty("promoterFee"))
42947
+ object.promoterFee = message.promoterFee;
42948
+ if (message.processingFee != null && message.hasOwnProperty("processingFee"))
42949
+ object.processingFee = message.processingFee;
42950
+ if (message.tax != null && message.hasOwnProperty("tax"))
42951
+ object.tax = message.tax;
42661
42952
  return object;
42662
42953
  };
42663
42954
 
@@ -42711,6 +43002,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42711
43002
  * @property {string|null} [refundReason] QueueOrderCanceledEmailRequest refundReason
42712
43003
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderCanceledEmailRequest dayIdsTime
42713
43004
  * @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderCanceledEmailRequest dayIdsTimeCalendar
43005
+ * @property {string|null} [timezone] QueueOrderCanceledEmailRequest timezone
42714
43006
  */
42715
43007
 
42716
43008
  /**
@@ -42971,6 +43263,14 @@ $root.QueueOrderCanceledEmailRequest = (function() {
42971
43263
  */
42972
43264
  QueueOrderCanceledEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
42973
43265
 
43266
+ /**
43267
+ * QueueOrderCanceledEmailRequest timezone.
43268
+ * @member {string} timezone
43269
+ * @memberof QueueOrderCanceledEmailRequest
43270
+ * @instance
43271
+ */
43272
+ QueueOrderCanceledEmailRequest.prototype.timezone = "";
43273
+
42974
43274
  /**
42975
43275
  * Creates a new QueueOrderCanceledEmailRequest instance using the specified properties.
42976
43276
  * @function create
@@ -43058,6 +43358,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43058
43358
  if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
43059
43359
  for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
43060
43360
  $root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim();
43361
+ if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
43362
+ writer.uint32(/* id 30, wireType 2 =*/242).string(message.timezone);
43061
43363
  return writer;
43062
43364
  };
43063
43365
 
@@ -43188,6 +43490,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43188
43490
  message.dayIdsTimeCalendar = [];
43189
43491
  message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
43190
43492
  break;
43493
+ case 30:
43494
+ message.timezone = reader.string();
43495
+ break;
43191
43496
  default:
43192
43497
  reader.skipType(tag & 7);
43193
43498
  break;
@@ -43331,6 +43636,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43331
43636
  return "dayIdsTimeCalendar." + error;
43332
43637
  }
43333
43638
  }
43639
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
43640
+ if (!$util.isString(message.timezone))
43641
+ return "timezone: string expected";
43334
43642
  return null;
43335
43643
  };
43336
43644
 
@@ -43430,6 +43738,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43430
43738
  message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
43431
43739
  }
43432
43740
  }
43741
+ if (object.timezone != null)
43742
+ message.timezone = String(object.timezone);
43433
43743
  return message;
43434
43744
  };
43435
43745
 
@@ -43479,6 +43789,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43479
43789
  object.orderFeesRefunded = "";
43480
43790
  object.orderTotalRefunded = "";
43481
43791
  object.refundReason = "";
43792
+ object.timezone = "";
43482
43793
  }
43483
43794
  if (message.spanContext != null && message.hasOwnProperty("spanContext"))
43484
43795
  object.spanContext = message.spanContext;
@@ -43549,6 +43860,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
43549
43860
  for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
43550
43861
  object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
43551
43862
  }
43863
+ if (message.timezone != null && message.hasOwnProperty("timezone"))
43864
+ object.timezone = message.timezone;
43552
43865
  return object;
43553
43866
  };
43554
43867
 
@@ -57647,6 +57960,7 @@ $root.CancelTicketRequest = (function() {
57647
57960
  * @property {Array.<string>|null} [ticketTypeId] CancelTicketRequest ticketTypeId
57648
57961
  * @property {Array.<string>|null} [upgradesTypeId] CancelTicketRequest upgradesTypeId
57649
57962
  * @property {string|null} [promotionCode] CancelTicketRequest promotionCode
57963
+ * @property {Array.<string>|null} [upgradeId] CancelTicketRequest upgradeId
57650
57964
  */
57651
57965
 
57652
57966
  /**
@@ -57660,6 +57974,7 @@ $root.CancelTicketRequest = (function() {
57660
57974
  function CancelTicketRequest(properties) {
57661
57975
  this.ticketTypeId = [];
57662
57976
  this.upgradesTypeId = [];
57977
+ this.upgradeId = [];
57663
57978
  if (properties)
57664
57979
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
57665
57980
  if (properties[keys[i]] != null)
@@ -57714,6 +58029,14 @@ $root.CancelTicketRequest = (function() {
57714
58029
  */
57715
58030
  CancelTicketRequest.prototype.promotionCode = "";
57716
58031
 
58032
+ /**
58033
+ * CancelTicketRequest upgradeId.
58034
+ * @member {Array.<string>} upgradeId
58035
+ * @memberof CancelTicketRequest
58036
+ * @instance
58037
+ */
58038
+ CancelTicketRequest.prototype.upgradeId = $util.emptyArray;
58039
+
57717
58040
  /**
57718
58041
  * Creates a new CancelTicketRequest instance using the specified properties.
57719
58042
  * @function create
@@ -57752,6 +58075,9 @@ $root.CancelTicketRequest = (function() {
57752
58075
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.upgradesTypeId[i]);
57753
58076
  if (message.promotionCode != null && Object.hasOwnProperty.call(message, "promotionCode"))
57754
58077
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.promotionCode);
58078
+ if (message.upgradeId != null && message.upgradeId.length)
58079
+ for (var i = 0; i < message.upgradeId.length; ++i)
58080
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.upgradeId[i]);
57755
58081
  return writer;
57756
58082
  };
57757
58083
 
@@ -57808,6 +58134,11 @@ $root.CancelTicketRequest = (function() {
57808
58134
  case 5:
57809
58135
  message.promotionCode = reader.string();
57810
58136
  break;
58137
+ case 6:
58138
+ if (!(message.upgradeId && message.upgradeId.length))
58139
+ message.upgradeId = [];
58140
+ message.upgradeId.push(reader.string());
58141
+ break;
57811
58142
  default:
57812
58143
  reader.skipType(tag & 7);
57813
58144
  break;
@@ -57869,6 +58200,13 @@ $root.CancelTicketRequest = (function() {
57869
58200
  if (message.promotionCode != null && message.hasOwnProperty("promotionCode"))
57870
58201
  if (!$util.isString(message.promotionCode))
57871
58202
  return "promotionCode: string expected";
58203
+ if (message.upgradeId != null && message.hasOwnProperty("upgradeId")) {
58204
+ if (!Array.isArray(message.upgradeId))
58205
+ return "upgradeId: array expected";
58206
+ for (var i = 0; i < message.upgradeId.length; ++i)
58207
+ if (!$util.isString(message.upgradeId[i]))
58208
+ return "upgradeId: string[] expected";
58209
+ }
57872
58210
  return null;
57873
58211
  };
57874
58212
 
@@ -57906,6 +58244,13 @@ $root.CancelTicketRequest = (function() {
57906
58244
  }
57907
58245
  if (object.promotionCode != null)
57908
58246
  message.promotionCode = String(object.promotionCode);
58247
+ if (object.upgradeId) {
58248
+ if (!Array.isArray(object.upgradeId))
58249
+ throw TypeError(".CancelTicketRequest.upgradeId: array expected");
58250
+ message.upgradeId = [];
58251
+ for (var i = 0; i < object.upgradeId.length; ++i)
58252
+ message.upgradeId[i] = String(object.upgradeId[i]);
58253
+ }
57909
58254
  return message;
57910
58255
  };
57911
58256
 
@@ -57925,6 +58270,7 @@ $root.CancelTicketRequest = (function() {
57925
58270
  if (options.arrays || options.defaults) {
57926
58271
  object.ticketTypeId = [];
57927
58272
  object.upgradesTypeId = [];
58273
+ object.upgradeId = [];
57928
58274
  }
57929
58275
  if (options.defaults) {
57930
58276
  object.spanContext = "";
@@ -57950,6 +58296,11 @@ $root.CancelTicketRequest = (function() {
57950
58296
  }
57951
58297
  if (message.promotionCode != null && message.hasOwnProperty("promotionCode"))
57952
58298
  object.promotionCode = message.promotionCode;
58299
+ if (message.upgradeId && message.upgradeId.length) {
58300
+ object.upgradeId = [];
58301
+ for (var j = 0; j < message.upgradeId.length; ++j)
58302
+ object.upgradeId[j] = message.upgradeId[j];
58303
+ }
57953
58304
  return object;
57954
58305
  };
57955
58306