@sellout/models 0.0.148 → 0.0.150
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.
- package/.dist/graphql/fragments/event.fragment.js +2 -0
- package/.dist/graphql/fragments/event.fragment.js.map +1 -1
- package/.dist/graphql/fragments/order.fragment.js +2 -0
- package/.dist/graphql/fragments/order.fragment.js.map +1 -1
- package/.dist/graphql/mutations/breakApartOrder.js +1 -0
- package/.dist/graphql/mutations/breakApartOrder.js.map +1 -1
- package/.dist/graphql/mutations/createEvent.mutation.js +2 -0
- package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/publishEvent.mutation.js +2 -0
- package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/sendUserPhoneAuthentication.mutation.js +2 -2
- package/.dist/graphql/mutations/updateEvent.mutation.js +2 -0
- package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
- package/.dist/graphql/queries/event.query.js +2 -0
- package/.dist/graphql/queries/event.query.js.map +1 -1
- package/.dist/graphql/queries/events.query.js +2 -0
- package/.dist/graphql/queries/events.query.js.map +1 -1
- package/.dist/graphql/queries/order.query.js +2 -0
- package/.dist/graphql/queries/order.query.js.map +1 -1
- package/.dist/graphql/queries/orders.query.js +1 -0
- package/.dist/graphql/queries/orders.query.js.map +1 -1
- package/.dist/graphql/queries/promoCodeVerify.query.js +1 -0
- package/.dist/graphql/queries/promoCodeVerify.query.js.map +1 -1
- package/.dist/graphql/queries/publicEvent.query.js +2 -0
- package/.dist/graphql/queries/publicEvent.query.js.map +1 -1
- package/.dist/interfaces/ICreateOrderParams.d.ts +3 -0
- package/.dist/interfaces/IEvent.d.ts +2 -0
- package/.dist/interfaces/IEvent.js.map +1 -1
- package/.dist/interfaces/IOrderSummary.d.ts +1 -0
- package/.dist/interfaces/IOrderTicket.d.ts +2 -1
- package/.dist/interfaces/IOrderTicket.js.map +1 -1
- package/.dist/interfaces/IPerformance.d.ts +2 -1
- package/.dist/interfaces/IScan.d.ts +1 -0
- package/.dist/interfaces/ITicketType.d.ts +3 -0
- package/.dist/schemas/Event.d.ts +33 -2
- package/.dist/schemas/Event.js +33 -11
- package/.dist/schemas/Event.js.map +1 -1
- package/.dist/schemas/Order.d.ts +15 -1
- package/.dist/schemas/Order.js +12 -3
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/sellout-proto.js +957 -36
- package/.dist/utils/EventUtil.d.ts +2 -1
- package/.dist/utils/EventUtil.js +87 -7
- package/.dist/utils/EventUtil.js.map +1 -1
- package/.dist/utils/OrderUtil.js +3 -1
- package/.dist/utils/OrderUtil.js.map +1 -1
- package/package.json +3 -3
- package/src/graphql/fragments/event.fragment.ts +2 -0
- package/src/graphql/fragments/order.fragment.ts +2 -0
- package/src/graphql/mutations/breakApartOrder.ts +1 -0
- package/src/graphql/mutations/createEvent.mutation.ts +2 -0
- package/src/graphql/mutations/publishEvent.mutation.ts +2 -0
- package/src/graphql/mutations/sendUserPhoneAuthentication.mutation.ts +2 -2
- package/src/graphql/mutations/updateEvent.mutation.ts +2 -0
- package/src/graphql/queries/event.query.ts +2 -0
- package/src/graphql/queries/events.query.ts +2 -0
- package/src/graphql/queries/order.query.ts +2 -0
- package/src/graphql/queries/orders.query.ts +1 -0
- package/src/graphql/queries/promoCodeVerify.query.ts +1 -0
- package/src/graphql/queries/publicEvent.query.ts +2 -0
- package/src/interfaces/ICreateOrderParams.ts +4 -0
- package/src/interfaces/IEvent.ts +4 -2
- package/src/interfaces/IOrderSummary.ts +1 -0
- package/src/interfaces/IOrderTicket.ts +2 -1
- package/src/interfaces/IPerformance.ts +2 -1
- package/src/interfaces/IScan.ts +1 -0
- package/src/interfaces/ITicketType.ts +4 -1
- package/src/proto/email.proto +21 -0
- package/src/proto/event.proto +5 -1
- package/src/proto/order.proto +4 -1
- package/src/proto/user.proto +1 -0
- package/src/schemas/Event.ts +25 -3
- package/src/schemas/Order.ts +12 -3
- package/src/utils/EventUtil.ts +113 -23
- package/src/utils/OrderUtil.ts +96 -94
package/.dist/sellout-proto.js
CHANGED
|
@@ -13570,11 +13570,12 @@ $root.OrderTicket = (function() {
|
|
|
13570
13570
|
* @property {string|null} [paymentId] OrderTicket paymentId
|
|
13571
13571
|
* @property {string|null} [seat] OrderTicket seat
|
|
13572
13572
|
* @property {IRefund|null} [refund] OrderTicket refund
|
|
13573
|
-
* @property {IScan
|
|
13573
|
+
* @property {Array.<IScan>|null} [scan] OrderTicket scan
|
|
13574
13574
|
* @property {string|null} [state] OrderTicket state
|
|
13575
13575
|
* @property {string|null} [qrCodeUrl] OrderTicket qrCodeUrl
|
|
13576
13576
|
* @property {string|null} [values] OrderTicket values
|
|
13577
13577
|
* @property {string|null} [description] OrderTicket description
|
|
13578
|
+
* @property {Array.<string>|null} [dayIds] OrderTicket dayIds
|
|
13578
13579
|
*/
|
|
13579
13580
|
|
|
13580
13581
|
/**
|
|
@@ -13586,6 +13587,8 @@ $root.OrderTicket = (function() {
|
|
|
13586
13587
|
* @param {IOrderTicket=} [properties] Properties to set
|
|
13587
13588
|
*/
|
|
13588
13589
|
function OrderTicket(properties) {
|
|
13590
|
+
this.scan = [];
|
|
13591
|
+
this.dayIds = [];
|
|
13589
13592
|
if (properties)
|
|
13590
13593
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13591
13594
|
if (properties[keys[i]] != null)
|
|
@@ -13666,11 +13669,11 @@ $root.OrderTicket = (function() {
|
|
|
13666
13669
|
|
|
13667
13670
|
/**
|
|
13668
13671
|
* OrderTicket scan.
|
|
13669
|
-
* @member {IScan
|
|
13672
|
+
* @member {Array.<IScan>} scan
|
|
13670
13673
|
* @memberof OrderTicket
|
|
13671
13674
|
* @instance
|
|
13672
13675
|
*/
|
|
13673
|
-
OrderTicket.prototype.scan =
|
|
13676
|
+
OrderTicket.prototype.scan = $util.emptyArray;
|
|
13674
13677
|
|
|
13675
13678
|
/**
|
|
13676
13679
|
* OrderTicket state.
|
|
@@ -13704,6 +13707,14 @@ $root.OrderTicket = (function() {
|
|
|
13704
13707
|
*/
|
|
13705
13708
|
OrderTicket.prototype.description = "";
|
|
13706
13709
|
|
|
13710
|
+
/**
|
|
13711
|
+
* OrderTicket dayIds.
|
|
13712
|
+
* @member {Array.<string>} dayIds
|
|
13713
|
+
* @memberof OrderTicket
|
|
13714
|
+
* @instance
|
|
13715
|
+
*/
|
|
13716
|
+
OrderTicket.prototype.dayIds = $util.emptyArray;
|
|
13717
|
+
|
|
13707
13718
|
/**
|
|
13708
13719
|
* Creates a new OrderTicket instance using the specified properties.
|
|
13709
13720
|
* @function create
|
|
@@ -13746,8 +13757,9 @@ $root.OrderTicket = (function() {
|
|
|
13746
13757
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.seat);
|
|
13747
13758
|
if (message.refund != null && Object.hasOwnProperty.call(message, "refund"))
|
|
13748
13759
|
$root.Refund.encode(message.refund, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
13749
|
-
if (message.scan != null &&
|
|
13750
|
-
|
|
13760
|
+
if (message.scan != null && message.scan.length)
|
|
13761
|
+
for (var i = 0; i < message.scan.length; ++i)
|
|
13762
|
+
$root.Scan.encode(message.scan[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
13751
13763
|
if (message.state != null && Object.hasOwnProperty.call(message, "state"))
|
|
13752
13764
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.state);
|
|
13753
13765
|
if (message.qrCodeUrl != null && Object.hasOwnProperty.call(message, "qrCodeUrl"))
|
|
@@ -13756,6 +13768,9 @@ $root.OrderTicket = (function() {
|
|
|
13756
13768
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.values);
|
|
13757
13769
|
if (message.description != null && Object.hasOwnProperty.call(message, "description"))
|
|
13758
13770
|
writer.uint32(/* id 13, wireType 2 =*/106).string(message.description);
|
|
13771
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
13772
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
13773
|
+
writer.uint32(/* id 14, wireType 2 =*/114).string(message.dayIds[i]);
|
|
13759
13774
|
return writer;
|
|
13760
13775
|
};
|
|
13761
13776
|
|
|
@@ -13818,7 +13833,9 @@ $root.OrderTicket = (function() {
|
|
|
13818
13833
|
message.refund = $root.Refund.decode(reader, reader.uint32());
|
|
13819
13834
|
break;
|
|
13820
13835
|
case 9:
|
|
13821
|
-
message.scan
|
|
13836
|
+
if (!(message.scan && message.scan.length))
|
|
13837
|
+
message.scan = [];
|
|
13838
|
+
message.scan.push($root.Scan.decode(reader, reader.uint32()));
|
|
13822
13839
|
break;
|
|
13823
13840
|
case 10:
|
|
13824
13841
|
message.state = reader.string();
|
|
@@ -13832,6 +13849,11 @@ $root.OrderTicket = (function() {
|
|
|
13832
13849
|
case 13:
|
|
13833
13850
|
message.description = reader.string();
|
|
13834
13851
|
break;
|
|
13852
|
+
case 14:
|
|
13853
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
13854
|
+
message.dayIds = [];
|
|
13855
|
+
message.dayIds.push(reader.string());
|
|
13856
|
+
break;
|
|
13835
13857
|
default:
|
|
13836
13858
|
reader.skipType(tag & 7);
|
|
13837
13859
|
break;
|
|
@@ -13897,9 +13919,13 @@ $root.OrderTicket = (function() {
|
|
|
13897
13919
|
return "refund." + error;
|
|
13898
13920
|
}
|
|
13899
13921
|
if (message.scan != null && message.hasOwnProperty("scan")) {
|
|
13900
|
-
|
|
13901
|
-
|
|
13902
|
-
|
|
13922
|
+
if (!Array.isArray(message.scan))
|
|
13923
|
+
return "scan: array expected";
|
|
13924
|
+
for (var i = 0; i < message.scan.length; ++i) {
|
|
13925
|
+
var error = $root.Scan.verify(message.scan[i]);
|
|
13926
|
+
if (error)
|
|
13927
|
+
return "scan." + error;
|
|
13928
|
+
}
|
|
13903
13929
|
}
|
|
13904
13930
|
if (message.state != null && message.hasOwnProperty("state"))
|
|
13905
13931
|
if (!$util.isString(message.state))
|
|
@@ -13913,6 +13939,13 @@ $root.OrderTicket = (function() {
|
|
|
13913
13939
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
13914
13940
|
if (!$util.isString(message.description))
|
|
13915
13941
|
return "description: string expected";
|
|
13942
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
13943
|
+
if (!Array.isArray(message.dayIds))
|
|
13944
|
+
return "dayIds: array expected";
|
|
13945
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
13946
|
+
if (!$util.isString(message.dayIds[i]))
|
|
13947
|
+
return "dayIds: string[] expected";
|
|
13948
|
+
}
|
|
13916
13949
|
return null;
|
|
13917
13950
|
};
|
|
13918
13951
|
|
|
@@ -13949,10 +13982,15 @@ $root.OrderTicket = (function() {
|
|
|
13949
13982
|
throw TypeError(".OrderTicket.refund: object expected");
|
|
13950
13983
|
message.refund = $root.Refund.fromObject(object.refund);
|
|
13951
13984
|
}
|
|
13952
|
-
if (object.scan
|
|
13953
|
-
if (
|
|
13954
|
-
throw TypeError(".OrderTicket.scan:
|
|
13955
|
-
message.scan =
|
|
13985
|
+
if (object.scan) {
|
|
13986
|
+
if (!Array.isArray(object.scan))
|
|
13987
|
+
throw TypeError(".OrderTicket.scan: array expected");
|
|
13988
|
+
message.scan = [];
|
|
13989
|
+
for (var i = 0; i < object.scan.length; ++i) {
|
|
13990
|
+
if (typeof object.scan[i] !== "object")
|
|
13991
|
+
throw TypeError(".OrderTicket.scan: object expected");
|
|
13992
|
+
message.scan[i] = $root.Scan.fromObject(object.scan[i]);
|
|
13993
|
+
}
|
|
13956
13994
|
}
|
|
13957
13995
|
if (object.state != null)
|
|
13958
13996
|
message.state = String(object.state);
|
|
@@ -13962,6 +14000,13 @@ $root.OrderTicket = (function() {
|
|
|
13962
14000
|
message.values = String(object.values);
|
|
13963
14001
|
if (object.description != null)
|
|
13964
14002
|
message.description = String(object.description);
|
|
14003
|
+
if (object.dayIds) {
|
|
14004
|
+
if (!Array.isArray(object.dayIds))
|
|
14005
|
+
throw TypeError(".OrderTicket.dayIds: array expected");
|
|
14006
|
+
message.dayIds = [];
|
|
14007
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
14008
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
14009
|
+
}
|
|
13965
14010
|
return message;
|
|
13966
14011
|
};
|
|
13967
14012
|
|
|
@@ -13978,6 +14023,10 @@ $root.OrderTicket = (function() {
|
|
|
13978
14023
|
if (!options)
|
|
13979
14024
|
options = {};
|
|
13980
14025
|
var object = {};
|
|
14026
|
+
if (options.arrays || options.defaults) {
|
|
14027
|
+
object.scan = [];
|
|
14028
|
+
object.dayIds = [];
|
|
14029
|
+
}
|
|
13981
14030
|
if (options.defaults) {
|
|
13982
14031
|
object._id = "";
|
|
13983
14032
|
object.name = "";
|
|
@@ -13988,7 +14037,6 @@ $root.OrderTicket = (function() {
|
|
|
13988
14037
|
object.paymentId = "";
|
|
13989
14038
|
object.seat = "";
|
|
13990
14039
|
object.refund = null;
|
|
13991
|
-
object.scan = null;
|
|
13992
14040
|
object.state = "";
|
|
13993
14041
|
object.qrCodeUrl = "";
|
|
13994
14042
|
object.values = "";
|
|
@@ -14012,8 +14060,11 @@ $root.OrderTicket = (function() {
|
|
|
14012
14060
|
object.seat = message.seat;
|
|
14013
14061
|
if (message.refund != null && message.hasOwnProperty("refund"))
|
|
14014
14062
|
object.refund = $root.Refund.toObject(message.refund, options);
|
|
14015
|
-
if (message.scan
|
|
14016
|
-
object.scan =
|
|
14063
|
+
if (message.scan && message.scan.length) {
|
|
14064
|
+
object.scan = [];
|
|
14065
|
+
for (var j = 0; j < message.scan.length; ++j)
|
|
14066
|
+
object.scan[j] = $root.Scan.toObject(message.scan[j], options);
|
|
14067
|
+
}
|
|
14017
14068
|
if (message.state != null && message.hasOwnProperty("state"))
|
|
14018
14069
|
object.state = message.state;
|
|
14019
14070
|
if (message.qrCodeUrl != null && message.hasOwnProperty("qrCodeUrl"))
|
|
@@ -14022,6 +14073,11 @@ $root.OrderTicket = (function() {
|
|
|
14022
14073
|
object.values = message.values;
|
|
14023
14074
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
14024
14075
|
object.description = message.description;
|
|
14076
|
+
if (message.dayIds && message.dayIds.length) {
|
|
14077
|
+
object.dayIds = [];
|
|
14078
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
14079
|
+
object.dayIds[j] = message.dayIds[j];
|
|
14080
|
+
}
|
|
14025
14081
|
return object;
|
|
14026
14082
|
};
|
|
14027
14083
|
|
|
@@ -14466,6 +14522,7 @@ $root.Scan = (function() {
|
|
|
14466
14522
|
* @property {boolean|null} [scanned] Scan scanned
|
|
14467
14523
|
* @property {number|null} [scannedAt] Scan scannedAt
|
|
14468
14524
|
* @property {string|null} [scannedBy] Scan scannedBy
|
|
14525
|
+
* @property {number|null} [startsAt] Scan startsAt
|
|
14469
14526
|
*/
|
|
14470
14527
|
|
|
14471
14528
|
/**
|
|
@@ -14507,6 +14564,14 @@ $root.Scan = (function() {
|
|
|
14507
14564
|
*/
|
|
14508
14565
|
Scan.prototype.scannedBy = "";
|
|
14509
14566
|
|
|
14567
|
+
/**
|
|
14568
|
+
* Scan startsAt.
|
|
14569
|
+
* @member {number} startsAt
|
|
14570
|
+
* @memberof Scan
|
|
14571
|
+
* @instance
|
|
14572
|
+
*/
|
|
14573
|
+
Scan.prototype.startsAt = 0;
|
|
14574
|
+
|
|
14510
14575
|
/**
|
|
14511
14576
|
* Creates a new Scan instance using the specified properties.
|
|
14512
14577
|
* @function create
|
|
@@ -14537,6 +14602,8 @@ $root.Scan = (function() {
|
|
|
14537
14602
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.scannedAt);
|
|
14538
14603
|
if (message.scannedBy != null && Object.hasOwnProperty.call(message, "scannedBy"))
|
|
14539
14604
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.scannedBy);
|
|
14605
|
+
if (message.startsAt != null && Object.hasOwnProperty.call(message, "startsAt"))
|
|
14606
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.startsAt);
|
|
14540
14607
|
return writer;
|
|
14541
14608
|
};
|
|
14542
14609
|
|
|
@@ -14580,6 +14647,9 @@ $root.Scan = (function() {
|
|
|
14580
14647
|
case 2:
|
|
14581
14648
|
message.scannedBy = reader.string();
|
|
14582
14649
|
break;
|
|
14650
|
+
case 3:
|
|
14651
|
+
message.startsAt = reader.int32();
|
|
14652
|
+
break;
|
|
14583
14653
|
default:
|
|
14584
14654
|
reader.skipType(tag & 7);
|
|
14585
14655
|
break;
|
|
@@ -14624,6 +14694,9 @@ $root.Scan = (function() {
|
|
|
14624
14694
|
if (message.scannedBy != null && message.hasOwnProperty("scannedBy"))
|
|
14625
14695
|
if (!$util.isString(message.scannedBy))
|
|
14626
14696
|
return "scannedBy: string expected";
|
|
14697
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
14698
|
+
if (!$util.isInteger(message.startsAt))
|
|
14699
|
+
return "startsAt: integer expected";
|
|
14627
14700
|
return null;
|
|
14628
14701
|
};
|
|
14629
14702
|
|
|
@@ -14645,6 +14718,8 @@ $root.Scan = (function() {
|
|
|
14645
14718
|
message.scannedAt = object.scannedAt | 0;
|
|
14646
14719
|
if (object.scannedBy != null)
|
|
14647
14720
|
message.scannedBy = String(object.scannedBy);
|
|
14721
|
+
if (object.startsAt != null)
|
|
14722
|
+
message.startsAt = object.startsAt | 0;
|
|
14648
14723
|
return message;
|
|
14649
14724
|
};
|
|
14650
14725
|
|
|
@@ -14665,6 +14740,7 @@ $root.Scan = (function() {
|
|
|
14665
14740
|
object.scanned = false;
|
|
14666
14741
|
object.scannedAt = 0;
|
|
14667
14742
|
object.scannedBy = "";
|
|
14743
|
+
object.startsAt = 0;
|
|
14668
14744
|
}
|
|
14669
14745
|
if (message.scanned != null && message.hasOwnProperty("scanned"))
|
|
14670
14746
|
object.scanned = message.scanned;
|
|
@@ -14672,6 +14748,8 @@ $root.Scan = (function() {
|
|
|
14672
14748
|
object.scannedAt = message.scannedAt;
|
|
14673
14749
|
if (message.scannedBy != null && message.hasOwnProperty("scannedBy"))
|
|
14674
14750
|
object.scannedBy = message.scannedBy;
|
|
14751
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
14752
|
+
object.startsAt = message.startsAt;
|
|
14675
14753
|
return object;
|
|
14676
14754
|
};
|
|
14677
14755
|
|
|
@@ -16198,6 +16276,7 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16198
16276
|
* @property {string|null} [values] CreateOrderTicketParams values
|
|
16199
16277
|
* @property {string|null} [description] CreateOrderTicketParams description
|
|
16200
16278
|
* @property {string|null} [type] CreateOrderTicketParams type
|
|
16279
|
+
* @property {Array.<string>|null} [dayIds] CreateOrderTicketParams dayIds
|
|
16201
16280
|
*/
|
|
16202
16281
|
|
|
16203
16282
|
/**
|
|
@@ -16209,6 +16288,7 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16209
16288
|
* @param {ICreateOrderTicketParams=} [properties] Properties to set
|
|
16210
16289
|
*/
|
|
16211
16290
|
function CreateOrderTicketParams(properties) {
|
|
16291
|
+
this.dayIds = [];
|
|
16212
16292
|
if (properties)
|
|
16213
16293
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16214
16294
|
if (properties[keys[i]] != null)
|
|
@@ -16287,6 +16367,14 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16287
16367
|
*/
|
|
16288
16368
|
CreateOrderTicketParams.prototype.type = "";
|
|
16289
16369
|
|
|
16370
|
+
/**
|
|
16371
|
+
* CreateOrderTicketParams dayIds.
|
|
16372
|
+
* @member {Array.<string>} dayIds
|
|
16373
|
+
* @memberof CreateOrderTicketParams
|
|
16374
|
+
* @instance
|
|
16375
|
+
*/
|
|
16376
|
+
CreateOrderTicketParams.prototype.dayIds = $util.emptyArray;
|
|
16377
|
+
|
|
16290
16378
|
/**
|
|
16291
16379
|
* Creates a new CreateOrderTicketParams instance using the specified properties.
|
|
16292
16380
|
* @function create
|
|
@@ -16329,6 +16417,9 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16329
16417
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.description);
|
|
16330
16418
|
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
16331
16419
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.type);
|
|
16420
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
16421
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
16422
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.dayIds[i]);
|
|
16332
16423
|
return writer;
|
|
16333
16424
|
};
|
|
16334
16425
|
|
|
@@ -16390,6 +16481,11 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16390
16481
|
case 8:
|
|
16391
16482
|
message.type = reader.string();
|
|
16392
16483
|
break;
|
|
16484
|
+
case 9:
|
|
16485
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
16486
|
+
message.dayIds = [];
|
|
16487
|
+
message.dayIds.push(reader.string());
|
|
16488
|
+
break;
|
|
16393
16489
|
default:
|
|
16394
16490
|
reader.skipType(tag & 7);
|
|
16395
16491
|
break;
|
|
@@ -16452,6 +16548,13 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16452
16548
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
16453
16549
|
if (!$util.isString(message.type))
|
|
16454
16550
|
return "type: string expected";
|
|
16551
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
16552
|
+
if (!Array.isArray(message.dayIds))
|
|
16553
|
+
return "dayIds: array expected";
|
|
16554
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
16555
|
+
if (!$util.isString(message.dayIds[i]))
|
|
16556
|
+
return "dayIds: string[] expected";
|
|
16557
|
+
}
|
|
16455
16558
|
return null;
|
|
16456
16559
|
};
|
|
16457
16560
|
|
|
@@ -16485,6 +16588,13 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16485
16588
|
message.description = String(object.description);
|
|
16486
16589
|
if (object.type != null)
|
|
16487
16590
|
message.type = String(object.type);
|
|
16591
|
+
if (object.dayIds) {
|
|
16592
|
+
if (!Array.isArray(object.dayIds))
|
|
16593
|
+
throw TypeError(".CreateOrderTicketParams.dayIds: array expected");
|
|
16594
|
+
message.dayIds = [];
|
|
16595
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
16596
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
16597
|
+
}
|
|
16488
16598
|
return message;
|
|
16489
16599
|
};
|
|
16490
16600
|
|
|
@@ -16501,6 +16611,8 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16501
16611
|
if (!options)
|
|
16502
16612
|
options = {};
|
|
16503
16613
|
var object = {};
|
|
16614
|
+
if (options.arrays || options.defaults)
|
|
16615
|
+
object.dayIds = [];
|
|
16504
16616
|
if (options.defaults) {
|
|
16505
16617
|
object.name = "";
|
|
16506
16618
|
object.ticketTypeId = "";
|
|
@@ -16530,6 +16642,11 @@ $root.CreateOrderTicketParams = (function() {
|
|
|
16530
16642
|
object.description = message.description;
|
|
16531
16643
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
16532
16644
|
object.type = message.type;
|
|
16645
|
+
if (message.dayIds && message.dayIds.length) {
|
|
16646
|
+
object.dayIds = [];
|
|
16647
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
16648
|
+
object.dayIds[j] = message.dayIds[j];
|
|
16649
|
+
}
|
|
16533
16650
|
return object;
|
|
16534
16651
|
};
|
|
16535
16652
|
|
|
@@ -29017,6 +29134,7 @@ $root.OrderSummaryItem = (function() {
|
|
|
29017
29134
|
* @property {string|null} [seats] OrderSummaryItem seats
|
|
29018
29135
|
* @property {string|null} [description] OrderSummaryItem description
|
|
29019
29136
|
* @property {string|null} [type] OrderSummaryItem type
|
|
29137
|
+
* @property {string|null} [days] OrderSummaryItem days
|
|
29020
29138
|
*/
|
|
29021
29139
|
|
|
29022
29140
|
/**
|
|
@@ -29082,6 +29200,14 @@ $root.OrderSummaryItem = (function() {
|
|
|
29082
29200
|
*/
|
|
29083
29201
|
OrderSummaryItem.prototype.type = "";
|
|
29084
29202
|
|
|
29203
|
+
/**
|
|
29204
|
+
* OrderSummaryItem days.
|
|
29205
|
+
* @member {string} days
|
|
29206
|
+
* @memberof OrderSummaryItem
|
|
29207
|
+
* @instance
|
|
29208
|
+
*/
|
|
29209
|
+
OrderSummaryItem.prototype.days = "";
|
|
29210
|
+
|
|
29085
29211
|
/**
|
|
29086
29212
|
* Creates a new OrderSummaryItem instance using the specified properties.
|
|
29087
29213
|
* @function create
|
|
@@ -29118,6 +29244,8 @@ $root.OrderSummaryItem = (function() {
|
|
|
29118
29244
|
writer.uint32(/* id 4, wireType 2 =*/34).string(message.description);
|
|
29119
29245
|
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
29120
29246
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.type);
|
|
29247
|
+
if (message.days != null && Object.hasOwnProperty.call(message, "days"))
|
|
29248
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.days);
|
|
29121
29249
|
return writer;
|
|
29122
29250
|
};
|
|
29123
29251
|
|
|
@@ -29170,6 +29298,9 @@ $root.OrderSummaryItem = (function() {
|
|
|
29170
29298
|
case 5:
|
|
29171
29299
|
message.type = reader.string();
|
|
29172
29300
|
break;
|
|
29301
|
+
case 6:
|
|
29302
|
+
message.days = reader.string();
|
|
29303
|
+
break;
|
|
29173
29304
|
default:
|
|
29174
29305
|
reader.skipType(tag & 7);
|
|
29175
29306
|
break;
|
|
@@ -29223,6 +29354,9 @@ $root.OrderSummaryItem = (function() {
|
|
|
29223
29354
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
29224
29355
|
if (!$util.isString(message.type))
|
|
29225
29356
|
return "type: string expected";
|
|
29357
|
+
if (message.days != null && message.hasOwnProperty("days"))
|
|
29358
|
+
if (!$util.isString(message.days))
|
|
29359
|
+
return "days: string expected";
|
|
29226
29360
|
return null;
|
|
29227
29361
|
};
|
|
29228
29362
|
|
|
@@ -29250,6 +29384,8 @@ $root.OrderSummaryItem = (function() {
|
|
|
29250
29384
|
message.description = String(object.description);
|
|
29251
29385
|
if (object.type != null)
|
|
29252
29386
|
message.type = String(object.type);
|
|
29387
|
+
if (object.days != null)
|
|
29388
|
+
message.days = String(object.days);
|
|
29253
29389
|
return message;
|
|
29254
29390
|
};
|
|
29255
29391
|
|
|
@@ -29273,6 +29409,7 @@ $root.OrderSummaryItem = (function() {
|
|
|
29273
29409
|
object.seats = "";
|
|
29274
29410
|
object.description = "";
|
|
29275
29411
|
object.type = "";
|
|
29412
|
+
object.days = "";
|
|
29276
29413
|
}
|
|
29277
29414
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
29278
29415
|
object.name = message.name;
|
|
@@ -29286,6 +29423,8 @@ $root.OrderSummaryItem = (function() {
|
|
|
29286
29423
|
object.description = message.description;
|
|
29287
29424
|
if (message.type != null && message.hasOwnProperty("type"))
|
|
29288
29425
|
object.type = message.type;
|
|
29426
|
+
if (message.days != null && message.hasOwnProperty("days"))
|
|
29427
|
+
object.days = message.days;
|
|
29289
29428
|
return object;
|
|
29290
29429
|
};
|
|
29291
29430
|
|
|
@@ -29312,6 +29451,7 @@ $root.OrderRefundItem = (function() {
|
|
|
29312
29451
|
* @property {string|null} [name] OrderRefundItem name
|
|
29313
29452
|
* @property {string|null} [refundedAmount] OrderRefundItem refundedAmount
|
|
29314
29453
|
* @property {string|null} [description] OrderRefundItem description
|
|
29454
|
+
* @property {string|null} [days] OrderRefundItem days
|
|
29315
29455
|
*/
|
|
29316
29456
|
|
|
29317
29457
|
/**
|
|
@@ -29353,6 +29493,14 @@ $root.OrderRefundItem = (function() {
|
|
|
29353
29493
|
*/
|
|
29354
29494
|
OrderRefundItem.prototype.description = "";
|
|
29355
29495
|
|
|
29496
|
+
/**
|
|
29497
|
+
* OrderRefundItem days.
|
|
29498
|
+
* @member {string} days
|
|
29499
|
+
* @memberof OrderRefundItem
|
|
29500
|
+
* @instance
|
|
29501
|
+
*/
|
|
29502
|
+
OrderRefundItem.prototype.days = "";
|
|
29503
|
+
|
|
29356
29504
|
/**
|
|
29357
29505
|
* Creates a new OrderRefundItem instance using the specified properties.
|
|
29358
29506
|
* @function create
|
|
@@ -29383,6 +29531,8 @@ $root.OrderRefundItem = (function() {
|
|
|
29383
29531
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.refundedAmount);
|
|
29384
29532
|
if (message.description != null && Object.hasOwnProperty.call(message, "description"))
|
|
29385
29533
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.description);
|
|
29534
|
+
if (message.days != null && Object.hasOwnProperty.call(message, "days"))
|
|
29535
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.days);
|
|
29386
29536
|
return writer;
|
|
29387
29537
|
};
|
|
29388
29538
|
|
|
@@ -29426,6 +29576,9 @@ $root.OrderRefundItem = (function() {
|
|
|
29426
29576
|
case 2:
|
|
29427
29577
|
message.description = reader.string();
|
|
29428
29578
|
break;
|
|
29579
|
+
case 3:
|
|
29580
|
+
message.days = reader.string();
|
|
29581
|
+
break;
|
|
29429
29582
|
default:
|
|
29430
29583
|
reader.skipType(tag & 7);
|
|
29431
29584
|
break;
|
|
@@ -29470,6 +29623,9 @@ $root.OrderRefundItem = (function() {
|
|
|
29470
29623
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
29471
29624
|
if (!$util.isString(message.description))
|
|
29472
29625
|
return "description: string expected";
|
|
29626
|
+
if (message.days != null && message.hasOwnProperty("days"))
|
|
29627
|
+
if (!$util.isString(message.days))
|
|
29628
|
+
return "days: string expected";
|
|
29473
29629
|
return null;
|
|
29474
29630
|
};
|
|
29475
29631
|
|
|
@@ -29491,6 +29647,8 @@ $root.OrderRefundItem = (function() {
|
|
|
29491
29647
|
message.refundedAmount = String(object.refundedAmount);
|
|
29492
29648
|
if (object.description != null)
|
|
29493
29649
|
message.description = String(object.description);
|
|
29650
|
+
if (object.days != null)
|
|
29651
|
+
message.days = String(object.days);
|
|
29494
29652
|
return message;
|
|
29495
29653
|
};
|
|
29496
29654
|
|
|
@@ -29511,6 +29669,7 @@ $root.OrderRefundItem = (function() {
|
|
|
29511
29669
|
object.name = "";
|
|
29512
29670
|
object.refundedAmount = "";
|
|
29513
29671
|
object.description = "";
|
|
29672
|
+
object.days = "";
|
|
29514
29673
|
}
|
|
29515
29674
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
29516
29675
|
object.name = message.name;
|
|
@@ -29518,6 +29677,8 @@ $root.OrderRefundItem = (function() {
|
|
|
29518
29677
|
object.refundedAmount = message.refundedAmount;
|
|
29519
29678
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
29520
29679
|
object.description = message.description;
|
|
29680
|
+
if (message.days != null && message.hasOwnProperty("days"))
|
|
29681
|
+
object.days = message.days;
|
|
29521
29682
|
return object;
|
|
29522
29683
|
};
|
|
29523
29684
|
|
|
@@ -29767,6 +29928,238 @@ $root.orderSheetEmailRequest = (function() {
|
|
|
29767
29928
|
return orderSheetEmailRequest;
|
|
29768
29929
|
})();
|
|
29769
29930
|
|
|
29931
|
+
$root.dayIdsTimeObj = (function() {
|
|
29932
|
+
|
|
29933
|
+
/**
|
|
29934
|
+
* Properties of a dayIdsTimeObj.
|
|
29935
|
+
* @exports IdayIdsTimeObj
|
|
29936
|
+
* @interface IdayIdsTimeObj
|
|
29937
|
+
* @property {number|null} [startsAt] dayIdsTimeObj startsAt
|
|
29938
|
+
* @property {number|null} [endsAt] dayIdsTimeObj endsAt
|
|
29939
|
+
* @property {number|null} [doorsAt] dayIdsTimeObj doorsAt
|
|
29940
|
+
*/
|
|
29941
|
+
|
|
29942
|
+
/**
|
|
29943
|
+
* Constructs a new dayIdsTimeObj.
|
|
29944
|
+
* @exports dayIdsTimeObj
|
|
29945
|
+
* @classdesc Represents a dayIdsTimeObj.
|
|
29946
|
+
* @implements IdayIdsTimeObj
|
|
29947
|
+
* @constructor
|
|
29948
|
+
* @param {IdayIdsTimeObj=} [properties] Properties to set
|
|
29949
|
+
*/
|
|
29950
|
+
function dayIdsTimeObj(properties) {
|
|
29951
|
+
if (properties)
|
|
29952
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
29953
|
+
if (properties[keys[i]] != null)
|
|
29954
|
+
this[keys[i]] = properties[keys[i]];
|
|
29955
|
+
}
|
|
29956
|
+
|
|
29957
|
+
/**
|
|
29958
|
+
* dayIdsTimeObj startsAt.
|
|
29959
|
+
* @member {number} startsAt
|
|
29960
|
+
* @memberof dayIdsTimeObj
|
|
29961
|
+
* @instance
|
|
29962
|
+
*/
|
|
29963
|
+
dayIdsTimeObj.prototype.startsAt = 0;
|
|
29964
|
+
|
|
29965
|
+
/**
|
|
29966
|
+
* dayIdsTimeObj endsAt.
|
|
29967
|
+
* @member {number} endsAt
|
|
29968
|
+
* @memberof dayIdsTimeObj
|
|
29969
|
+
* @instance
|
|
29970
|
+
*/
|
|
29971
|
+
dayIdsTimeObj.prototype.endsAt = 0;
|
|
29972
|
+
|
|
29973
|
+
/**
|
|
29974
|
+
* dayIdsTimeObj doorsAt.
|
|
29975
|
+
* @member {number} doorsAt
|
|
29976
|
+
* @memberof dayIdsTimeObj
|
|
29977
|
+
* @instance
|
|
29978
|
+
*/
|
|
29979
|
+
dayIdsTimeObj.prototype.doorsAt = 0;
|
|
29980
|
+
|
|
29981
|
+
/**
|
|
29982
|
+
* Creates a new dayIdsTimeObj instance using the specified properties.
|
|
29983
|
+
* @function create
|
|
29984
|
+
* @memberof dayIdsTimeObj
|
|
29985
|
+
* @static
|
|
29986
|
+
* @param {IdayIdsTimeObj=} [properties] Properties to set
|
|
29987
|
+
* @returns {dayIdsTimeObj} dayIdsTimeObj instance
|
|
29988
|
+
*/
|
|
29989
|
+
dayIdsTimeObj.create = function create(properties) {
|
|
29990
|
+
return new dayIdsTimeObj(properties);
|
|
29991
|
+
};
|
|
29992
|
+
|
|
29993
|
+
/**
|
|
29994
|
+
* Encodes the specified dayIdsTimeObj message. Does not implicitly {@link dayIdsTimeObj.verify|verify} messages.
|
|
29995
|
+
* @function encode
|
|
29996
|
+
* @memberof dayIdsTimeObj
|
|
29997
|
+
* @static
|
|
29998
|
+
* @param {IdayIdsTimeObj} message dayIdsTimeObj message or plain object to encode
|
|
29999
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30000
|
+
* @returns {$protobuf.Writer} Writer
|
|
30001
|
+
*/
|
|
30002
|
+
dayIdsTimeObj.encode = function encode(message, writer) {
|
|
30003
|
+
if (!writer)
|
|
30004
|
+
writer = $Writer.create();
|
|
30005
|
+
if (message.startsAt != null && Object.hasOwnProperty.call(message, "startsAt"))
|
|
30006
|
+
writer.uint32(/* id 0, wireType 0 =*/0).int32(message.startsAt);
|
|
30007
|
+
if (message.endsAt != null && Object.hasOwnProperty.call(message, "endsAt"))
|
|
30008
|
+
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.endsAt);
|
|
30009
|
+
if (message.doorsAt != null && Object.hasOwnProperty.call(message, "doorsAt"))
|
|
30010
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.doorsAt);
|
|
30011
|
+
return writer;
|
|
30012
|
+
};
|
|
30013
|
+
|
|
30014
|
+
/**
|
|
30015
|
+
* Encodes the specified dayIdsTimeObj message, length delimited. Does not implicitly {@link dayIdsTimeObj.verify|verify} messages.
|
|
30016
|
+
* @function encodeDelimited
|
|
30017
|
+
* @memberof dayIdsTimeObj
|
|
30018
|
+
* @static
|
|
30019
|
+
* @param {IdayIdsTimeObj} message dayIdsTimeObj message or plain object to encode
|
|
30020
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30021
|
+
* @returns {$protobuf.Writer} Writer
|
|
30022
|
+
*/
|
|
30023
|
+
dayIdsTimeObj.encodeDelimited = function encodeDelimited(message, writer) {
|
|
30024
|
+
return this.encode(message, writer).ldelim();
|
|
30025
|
+
};
|
|
30026
|
+
|
|
30027
|
+
/**
|
|
30028
|
+
* Decodes a dayIdsTimeObj message from the specified reader or buffer.
|
|
30029
|
+
* @function decode
|
|
30030
|
+
* @memberof dayIdsTimeObj
|
|
30031
|
+
* @static
|
|
30032
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30033
|
+
* @param {number} [length] Message length if known beforehand
|
|
30034
|
+
* @returns {dayIdsTimeObj} dayIdsTimeObj
|
|
30035
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30036
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30037
|
+
*/
|
|
30038
|
+
dayIdsTimeObj.decode = function decode(reader, length) {
|
|
30039
|
+
if (!(reader instanceof $Reader))
|
|
30040
|
+
reader = $Reader.create(reader);
|
|
30041
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.dayIdsTimeObj();
|
|
30042
|
+
while (reader.pos < end) {
|
|
30043
|
+
var tag = reader.uint32();
|
|
30044
|
+
switch (tag >>> 3) {
|
|
30045
|
+
case 0:
|
|
30046
|
+
message.startsAt = reader.int32();
|
|
30047
|
+
break;
|
|
30048
|
+
case 1:
|
|
30049
|
+
message.endsAt = reader.int32();
|
|
30050
|
+
break;
|
|
30051
|
+
case 2:
|
|
30052
|
+
message.doorsAt = reader.int32();
|
|
30053
|
+
break;
|
|
30054
|
+
default:
|
|
30055
|
+
reader.skipType(tag & 7);
|
|
30056
|
+
break;
|
|
30057
|
+
}
|
|
30058
|
+
}
|
|
30059
|
+
return message;
|
|
30060
|
+
};
|
|
30061
|
+
|
|
30062
|
+
/**
|
|
30063
|
+
* Decodes a dayIdsTimeObj message from the specified reader or buffer, length delimited.
|
|
30064
|
+
* @function decodeDelimited
|
|
30065
|
+
* @memberof dayIdsTimeObj
|
|
30066
|
+
* @static
|
|
30067
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30068
|
+
* @returns {dayIdsTimeObj} dayIdsTimeObj
|
|
30069
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30070
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30071
|
+
*/
|
|
30072
|
+
dayIdsTimeObj.decodeDelimited = function decodeDelimited(reader) {
|
|
30073
|
+
if (!(reader instanceof $Reader))
|
|
30074
|
+
reader = new $Reader(reader);
|
|
30075
|
+
return this.decode(reader, reader.uint32());
|
|
30076
|
+
};
|
|
30077
|
+
|
|
30078
|
+
/**
|
|
30079
|
+
* Verifies a dayIdsTimeObj message.
|
|
30080
|
+
* @function verify
|
|
30081
|
+
* @memberof dayIdsTimeObj
|
|
30082
|
+
* @static
|
|
30083
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
30084
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
30085
|
+
*/
|
|
30086
|
+
dayIdsTimeObj.verify = function verify(message) {
|
|
30087
|
+
if (typeof message !== "object" || message === null)
|
|
30088
|
+
return "object expected";
|
|
30089
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
30090
|
+
if (!$util.isInteger(message.startsAt))
|
|
30091
|
+
return "startsAt: integer expected";
|
|
30092
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
30093
|
+
if (!$util.isInteger(message.endsAt))
|
|
30094
|
+
return "endsAt: integer expected";
|
|
30095
|
+
if (message.doorsAt != null && message.hasOwnProperty("doorsAt"))
|
|
30096
|
+
if (!$util.isInteger(message.doorsAt))
|
|
30097
|
+
return "doorsAt: integer expected";
|
|
30098
|
+
return null;
|
|
30099
|
+
};
|
|
30100
|
+
|
|
30101
|
+
/**
|
|
30102
|
+
* Creates a dayIdsTimeObj message from a plain object. Also converts values to their respective internal types.
|
|
30103
|
+
* @function fromObject
|
|
30104
|
+
* @memberof dayIdsTimeObj
|
|
30105
|
+
* @static
|
|
30106
|
+
* @param {Object.<string,*>} object Plain object
|
|
30107
|
+
* @returns {dayIdsTimeObj} dayIdsTimeObj
|
|
30108
|
+
*/
|
|
30109
|
+
dayIdsTimeObj.fromObject = function fromObject(object) {
|
|
30110
|
+
if (object instanceof $root.dayIdsTimeObj)
|
|
30111
|
+
return object;
|
|
30112
|
+
var message = new $root.dayIdsTimeObj();
|
|
30113
|
+
if (object.startsAt != null)
|
|
30114
|
+
message.startsAt = object.startsAt | 0;
|
|
30115
|
+
if (object.endsAt != null)
|
|
30116
|
+
message.endsAt = object.endsAt | 0;
|
|
30117
|
+
if (object.doorsAt != null)
|
|
30118
|
+
message.doorsAt = object.doorsAt | 0;
|
|
30119
|
+
return message;
|
|
30120
|
+
};
|
|
30121
|
+
|
|
30122
|
+
/**
|
|
30123
|
+
* Creates a plain object from a dayIdsTimeObj message. Also converts values to other types if specified.
|
|
30124
|
+
* @function toObject
|
|
30125
|
+
* @memberof dayIdsTimeObj
|
|
30126
|
+
* @static
|
|
30127
|
+
* @param {dayIdsTimeObj} message dayIdsTimeObj
|
|
30128
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
30129
|
+
* @returns {Object.<string,*>} Plain object
|
|
30130
|
+
*/
|
|
30131
|
+
dayIdsTimeObj.toObject = function toObject(message, options) {
|
|
30132
|
+
if (!options)
|
|
30133
|
+
options = {};
|
|
30134
|
+
var object = {};
|
|
30135
|
+
if (options.defaults) {
|
|
30136
|
+
object.startsAt = 0;
|
|
30137
|
+
object.endsAt = 0;
|
|
30138
|
+
object.doorsAt = 0;
|
|
30139
|
+
}
|
|
30140
|
+
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
30141
|
+
object.startsAt = message.startsAt;
|
|
30142
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
30143
|
+
object.endsAt = message.endsAt;
|
|
30144
|
+
if (message.doorsAt != null && message.hasOwnProperty("doorsAt"))
|
|
30145
|
+
object.doorsAt = message.doorsAt;
|
|
30146
|
+
return object;
|
|
30147
|
+
};
|
|
30148
|
+
|
|
30149
|
+
/**
|
|
30150
|
+
* Converts this dayIdsTimeObj to JSON.
|
|
30151
|
+
* @function toJSON
|
|
30152
|
+
* @memberof dayIdsTimeObj
|
|
30153
|
+
* @instance
|
|
30154
|
+
* @returns {Object.<string,*>} JSON object
|
|
30155
|
+
*/
|
|
30156
|
+
dayIdsTimeObj.prototype.toJSON = function toJSON() {
|
|
30157
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
30158
|
+
};
|
|
30159
|
+
|
|
30160
|
+
return dayIdsTimeObj;
|
|
30161
|
+
})();
|
|
30162
|
+
|
|
29770
30163
|
$root.QueueOrderReceiptEmailRequest = (function() {
|
|
29771
30164
|
|
|
29772
30165
|
/**
|
|
@@ -29804,6 +30197,9 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
29804
30197
|
* @property {number|null} [eventStart] QueueOrderReceiptEmailRequest eventStart
|
|
29805
30198
|
* @property {number|null} [eventEnd] QueueOrderReceiptEmailRequest eventEnd
|
|
29806
30199
|
* @property {string|null} [timezone] QueueOrderReceiptEmailRequest timezone
|
|
30200
|
+
* @property {Array.<string>|null} [dayIds] QueueOrderReceiptEmailRequest dayIds
|
|
30201
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderReceiptEmailRequest dayIdsTime
|
|
30202
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderReceiptEmailRequest dayIdsTimeCalendar
|
|
29807
30203
|
*/
|
|
29808
30204
|
|
|
29809
30205
|
/**
|
|
@@ -29816,6 +30212,9 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
29816
30212
|
*/
|
|
29817
30213
|
function QueueOrderReceiptEmailRequest(properties) {
|
|
29818
30214
|
this.orderItems = [];
|
|
30215
|
+
this.dayIds = [];
|
|
30216
|
+
this.dayIdsTime = [];
|
|
30217
|
+
this.dayIdsTimeCalendar = [];
|
|
29819
30218
|
if (properties)
|
|
29820
30219
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
29821
30220
|
if (properties[keys[i]] != null)
|
|
@@ -30070,6 +30469,30 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30070
30469
|
*/
|
|
30071
30470
|
QueueOrderReceiptEmailRequest.prototype.timezone = "";
|
|
30072
30471
|
|
|
30472
|
+
/**
|
|
30473
|
+
* QueueOrderReceiptEmailRequest dayIds.
|
|
30474
|
+
* @member {Array.<string>} dayIds
|
|
30475
|
+
* @memberof QueueOrderReceiptEmailRequest
|
|
30476
|
+
* @instance
|
|
30477
|
+
*/
|
|
30478
|
+
QueueOrderReceiptEmailRequest.prototype.dayIds = $util.emptyArray;
|
|
30479
|
+
|
|
30480
|
+
/**
|
|
30481
|
+
* QueueOrderReceiptEmailRequest dayIdsTime.
|
|
30482
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
30483
|
+
* @memberof QueueOrderReceiptEmailRequest
|
|
30484
|
+
* @instance
|
|
30485
|
+
*/
|
|
30486
|
+
QueueOrderReceiptEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
30487
|
+
|
|
30488
|
+
/**
|
|
30489
|
+
* QueueOrderReceiptEmailRequest dayIdsTimeCalendar.
|
|
30490
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTimeCalendar
|
|
30491
|
+
* @memberof QueueOrderReceiptEmailRequest
|
|
30492
|
+
* @instance
|
|
30493
|
+
*/
|
|
30494
|
+
QueueOrderReceiptEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
|
|
30495
|
+
|
|
30073
30496
|
/**
|
|
30074
30497
|
* Creates a new QueueOrderReceiptEmailRequest instance using the specified properties.
|
|
30075
30498
|
* @function create
|
|
@@ -30157,6 +30580,15 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30157
30580
|
writer.uint32(/* id 30, wireType 0 =*/240).int32(message.eventEnd);
|
|
30158
30581
|
if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
|
|
30159
30582
|
writer.uint32(/* id 31, wireType 2 =*/250).string(message.timezone);
|
|
30583
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
30584
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
30585
|
+
writer.uint32(/* id 32, wireType 2 =*/258).string(message.dayIds[i]);
|
|
30586
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
30587
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
30588
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 33, wireType 2 =*/266).fork()).ldelim();
|
|
30589
|
+
if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
|
|
30590
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
|
|
30591
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
|
|
30160
30592
|
return writer;
|
|
30161
30593
|
};
|
|
30162
30594
|
|
|
@@ -30286,6 +30718,21 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30286
30718
|
case 31:
|
|
30287
30719
|
message.timezone = reader.string();
|
|
30288
30720
|
break;
|
|
30721
|
+
case 32:
|
|
30722
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
30723
|
+
message.dayIds = [];
|
|
30724
|
+
message.dayIds.push(reader.string());
|
|
30725
|
+
break;
|
|
30726
|
+
case 33:
|
|
30727
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
30728
|
+
message.dayIdsTime = [];
|
|
30729
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
30730
|
+
break;
|
|
30731
|
+
case 34:
|
|
30732
|
+
if (!(message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length))
|
|
30733
|
+
message.dayIdsTimeCalendar = [];
|
|
30734
|
+
message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
30735
|
+
break;
|
|
30289
30736
|
default:
|
|
30290
30737
|
reader.skipType(tag & 7);
|
|
30291
30738
|
break;
|
|
@@ -30420,6 +30867,31 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30420
30867
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
30421
30868
|
if (!$util.isString(message.timezone))
|
|
30422
30869
|
return "timezone: string expected";
|
|
30870
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
30871
|
+
if (!Array.isArray(message.dayIds))
|
|
30872
|
+
return "dayIds: array expected";
|
|
30873
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
30874
|
+
if (!$util.isString(message.dayIds[i]))
|
|
30875
|
+
return "dayIds: string[] expected";
|
|
30876
|
+
}
|
|
30877
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
30878
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
30879
|
+
return "dayIdsTime: array expected";
|
|
30880
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
30881
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
30882
|
+
if (error)
|
|
30883
|
+
return "dayIdsTime." + error;
|
|
30884
|
+
}
|
|
30885
|
+
}
|
|
30886
|
+
if (message.dayIdsTimeCalendar != null && message.hasOwnProperty("dayIdsTimeCalendar")) {
|
|
30887
|
+
if (!Array.isArray(message.dayIdsTimeCalendar))
|
|
30888
|
+
return "dayIdsTimeCalendar: array expected";
|
|
30889
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i) {
|
|
30890
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTimeCalendar[i]);
|
|
30891
|
+
if (error)
|
|
30892
|
+
return "dayIdsTimeCalendar." + error;
|
|
30893
|
+
}
|
|
30894
|
+
}
|
|
30423
30895
|
return null;
|
|
30424
30896
|
};
|
|
30425
30897
|
|
|
@@ -30505,6 +30977,33 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30505
30977
|
message.eventEnd = object.eventEnd | 0;
|
|
30506
30978
|
if (object.timezone != null)
|
|
30507
30979
|
message.timezone = String(object.timezone);
|
|
30980
|
+
if (object.dayIds) {
|
|
30981
|
+
if (!Array.isArray(object.dayIds))
|
|
30982
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIds: array expected");
|
|
30983
|
+
message.dayIds = [];
|
|
30984
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
30985
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
30986
|
+
}
|
|
30987
|
+
if (object.dayIdsTime) {
|
|
30988
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
30989
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIdsTime: array expected");
|
|
30990
|
+
message.dayIdsTime = [];
|
|
30991
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
30992
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
30993
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIdsTime: object expected");
|
|
30994
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
30995
|
+
}
|
|
30996
|
+
}
|
|
30997
|
+
if (object.dayIdsTimeCalendar) {
|
|
30998
|
+
if (!Array.isArray(object.dayIdsTimeCalendar))
|
|
30999
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIdsTimeCalendar: array expected");
|
|
31000
|
+
message.dayIdsTimeCalendar = [];
|
|
31001
|
+
for (var i = 0; i < object.dayIdsTimeCalendar.length; ++i) {
|
|
31002
|
+
if (typeof object.dayIdsTimeCalendar[i] !== "object")
|
|
31003
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIdsTimeCalendar: object expected");
|
|
31004
|
+
message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
|
|
31005
|
+
}
|
|
31006
|
+
}
|
|
30508
31007
|
return message;
|
|
30509
31008
|
};
|
|
30510
31009
|
|
|
@@ -30521,8 +31020,12 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30521
31020
|
if (!options)
|
|
30522
31021
|
options = {};
|
|
30523
31022
|
var object = {};
|
|
30524
|
-
if (options.arrays || options.defaults)
|
|
31023
|
+
if (options.arrays || options.defaults) {
|
|
30525
31024
|
object.orderItems = [];
|
|
31025
|
+
object.dayIds = [];
|
|
31026
|
+
object.dayIdsTime = [];
|
|
31027
|
+
object.dayIdsTimeCalendar = [];
|
|
31028
|
+
}
|
|
30526
31029
|
if (options.defaults) {
|
|
30527
31030
|
object.spanContext = "";
|
|
30528
31031
|
object.toAddress = "";
|
|
@@ -30620,6 +31123,21 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30620
31123
|
object.eventEnd = message.eventEnd;
|
|
30621
31124
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
30622
31125
|
object.timezone = message.timezone;
|
|
31126
|
+
if (message.dayIds && message.dayIds.length) {
|
|
31127
|
+
object.dayIds = [];
|
|
31128
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
31129
|
+
object.dayIds[j] = message.dayIds[j];
|
|
31130
|
+
}
|
|
31131
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
31132
|
+
object.dayIdsTime = [];
|
|
31133
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
31134
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
31135
|
+
}
|
|
31136
|
+
if (message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length) {
|
|
31137
|
+
object.dayIdsTimeCalendar = [];
|
|
31138
|
+
for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
|
|
31139
|
+
object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
|
|
31140
|
+
}
|
|
30623
31141
|
return object;
|
|
30624
31142
|
};
|
|
30625
31143
|
|
|
@@ -30675,6 +31193,8 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
30675
31193
|
* @property {number|null} [eventStart] QueueOrderQRCodeEmailRequest eventStart
|
|
30676
31194
|
* @property {number|null} [eventEnd] QueueOrderQRCodeEmailRequest eventEnd
|
|
30677
31195
|
* @property {string|null} [timezone] QueueOrderQRCodeEmailRequest timezone
|
|
31196
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderQRCodeEmailRequest dayIdsTime
|
|
31197
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderQRCodeEmailRequest dayIdsTimeCalendar
|
|
30678
31198
|
*/
|
|
30679
31199
|
|
|
30680
31200
|
/**
|
|
@@ -30687,6 +31207,8 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
30687
31207
|
*/
|
|
30688
31208
|
function QueueOrderQRCodeEmailRequest(properties) {
|
|
30689
31209
|
this.orderItems = [];
|
|
31210
|
+
this.dayIdsTime = [];
|
|
31211
|
+
this.dayIdsTimeCalendar = [];
|
|
30690
31212
|
if (properties)
|
|
30691
31213
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
30692
31214
|
if (properties[keys[i]] != null)
|
|
@@ -30949,6 +31471,22 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
30949
31471
|
*/
|
|
30950
31472
|
QueueOrderQRCodeEmailRequest.prototype.timezone = "";
|
|
30951
31473
|
|
|
31474
|
+
/**
|
|
31475
|
+
* QueueOrderQRCodeEmailRequest dayIdsTime.
|
|
31476
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
31477
|
+
* @memberof QueueOrderQRCodeEmailRequest
|
|
31478
|
+
* @instance
|
|
31479
|
+
*/
|
|
31480
|
+
QueueOrderQRCodeEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
31481
|
+
|
|
31482
|
+
/**
|
|
31483
|
+
* QueueOrderQRCodeEmailRequest dayIdsTimeCalendar.
|
|
31484
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTimeCalendar
|
|
31485
|
+
* @memberof QueueOrderQRCodeEmailRequest
|
|
31486
|
+
* @instance
|
|
31487
|
+
*/
|
|
31488
|
+
QueueOrderQRCodeEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
|
|
31489
|
+
|
|
30952
31490
|
/**
|
|
30953
31491
|
* Creates a new QueueOrderQRCodeEmailRequest instance using the specified properties.
|
|
30954
31492
|
* @function create
|
|
@@ -31038,6 +31576,12 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31038
31576
|
writer.uint32(/* id 30, wireType 0 =*/240).int32(message.eventEnd);
|
|
31039
31577
|
if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
|
|
31040
31578
|
writer.uint32(/* id 31, wireType 2 =*/250).string(message.timezone);
|
|
31579
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
31580
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
31581
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim();
|
|
31582
|
+
if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
|
|
31583
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
|
|
31584
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
|
|
31041
31585
|
return writer;
|
|
31042
31586
|
};
|
|
31043
31587
|
|
|
@@ -31170,6 +31714,16 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31170
31714
|
case 31:
|
|
31171
31715
|
message.timezone = reader.string();
|
|
31172
31716
|
break;
|
|
31717
|
+
case 32:
|
|
31718
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
31719
|
+
message.dayIdsTime = [];
|
|
31720
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
31721
|
+
break;
|
|
31722
|
+
case 34:
|
|
31723
|
+
if (!(message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length))
|
|
31724
|
+
message.dayIdsTimeCalendar = [];
|
|
31725
|
+
message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
31726
|
+
break;
|
|
31173
31727
|
default:
|
|
31174
31728
|
reader.skipType(tag & 7);
|
|
31175
31729
|
break;
|
|
@@ -31307,6 +31861,24 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31307
31861
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
31308
31862
|
if (!$util.isString(message.timezone))
|
|
31309
31863
|
return "timezone: string expected";
|
|
31864
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
31865
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
31866
|
+
return "dayIdsTime: array expected";
|
|
31867
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
31868
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
31869
|
+
if (error)
|
|
31870
|
+
return "dayIdsTime." + error;
|
|
31871
|
+
}
|
|
31872
|
+
}
|
|
31873
|
+
if (message.dayIdsTimeCalendar != null && message.hasOwnProperty("dayIdsTimeCalendar")) {
|
|
31874
|
+
if (!Array.isArray(message.dayIdsTimeCalendar))
|
|
31875
|
+
return "dayIdsTimeCalendar: array expected";
|
|
31876
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i) {
|
|
31877
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTimeCalendar[i]);
|
|
31878
|
+
if (error)
|
|
31879
|
+
return "dayIdsTimeCalendar." + error;
|
|
31880
|
+
}
|
|
31881
|
+
}
|
|
31310
31882
|
return null;
|
|
31311
31883
|
};
|
|
31312
31884
|
|
|
@@ -31394,6 +31966,26 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31394
31966
|
message.eventEnd = object.eventEnd | 0;
|
|
31395
31967
|
if (object.timezone != null)
|
|
31396
31968
|
message.timezone = String(object.timezone);
|
|
31969
|
+
if (object.dayIdsTime) {
|
|
31970
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
31971
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.dayIdsTime: array expected");
|
|
31972
|
+
message.dayIdsTime = [];
|
|
31973
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
31974
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
31975
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.dayIdsTime: object expected");
|
|
31976
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
31977
|
+
}
|
|
31978
|
+
}
|
|
31979
|
+
if (object.dayIdsTimeCalendar) {
|
|
31980
|
+
if (!Array.isArray(object.dayIdsTimeCalendar))
|
|
31981
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.dayIdsTimeCalendar: array expected");
|
|
31982
|
+
message.dayIdsTimeCalendar = [];
|
|
31983
|
+
for (var i = 0; i < object.dayIdsTimeCalendar.length; ++i) {
|
|
31984
|
+
if (typeof object.dayIdsTimeCalendar[i] !== "object")
|
|
31985
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.dayIdsTimeCalendar: object expected");
|
|
31986
|
+
message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
|
|
31987
|
+
}
|
|
31988
|
+
}
|
|
31397
31989
|
return message;
|
|
31398
31990
|
};
|
|
31399
31991
|
|
|
@@ -31410,8 +32002,11 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31410
32002
|
if (!options)
|
|
31411
32003
|
options = {};
|
|
31412
32004
|
var object = {};
|
|
31413
|
-
if (options.arrays || options.defaults)
|
|
32005
|
+
if (options.arrays || options.defaults) {
|
|
31414
32006
|
object.orderItems = [];
|
|
32007
|
+
object.dayIdsTime = [];
|
|
32008
|
+
object.dayIdsTimeCalendar = [];
|
|
32009
|
+
}
|
|
31415
32010
|
if (options.defaults) {
|
|
31416
32011
|
object.spanContext = "";
|
|
31417
32012
|
object.toAddress = "";
|
|
@@ -31512,6 +32107,16 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31512
32107
|
object.eventEnd = message.eventEnd;
|
|
31513
32108
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
31514
32109
|
object.timezone = message.timezone;
|
|
32110
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
32111
|
+
object.dayIdsTime = [];
|
|
32112
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
32113
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
32114
|
+
}
|
|
32115
|
+
if (message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length) {
|
|
32116
|
+
object.dayIdsTimeCalendar = [];
|
|
32117
|
+
for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
|
|
32118
|
+
object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
|
|
32119
|
+
}
|
|
31515
32120
|
return object;
|
|
31516
32121
|
};
|
|
31517
32122
|
|
|
@@ -31563,6 +32168,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31563
32168
|
* @property {string|null} [orderFeesRefunded] QueueOrderRefundEmailRequest orderFeesRefunded
|
|
31564
32169
|
* @property {string|null} [orderTotalRefunded] QueueOrderRefundEmailRequest orderTotalRefunded
|
|
31565
32170
|
* @property {string|null} [refundReason] QueueOrderRefundEmailRequest refundReason
|
|
32171
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderRefundEmailRequest dayIdsTime
|
|
32172
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderRefundEmailRequest dayIdsTimeCalendar
|
|
31566
32173
|
*/
|
|
31567
32174
|
|
|
31568
32175
|
/**
|
|
@@ -31575,6 +32182,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31575
32182
|
*/
|
|
31576
32183
|
function QueueOrderRefundEmailRequest(properties) {
|
|
31577
32184
|
this.orderRefundItems = [];
|
|
32185
|
+
this.dayIdsTime = [];
|
|
32186
|
+
this.dayIdsTimeCalendar = [];
|
|
31578
32187
|
if (properties)
|
|
31579
32188
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
31580
32189
|
if (properties[keys[i]] != null)
|
|
@@ -31805,6 +32414,22 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31805
32414
|
*/
|
|
31806
32415
|
QueueOrderRefundEmailRequest.prototype.refundReason = "";
|
|
31807
32416
|
|
|
32417
|
+
/**
|
|
32418
|
+
* QueueOrderRefundEmailRequest dayIdsTime.
|
|
32419
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
32420
|
+
* @memberof QueueOrderRefundEmailRequest
|
|
32421
|
+
* @instance
|
|
32422
|
+
*/
|
|
32423
|
+
QueueOrderRefundEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
32424
|
+
|
|
32425
|
+
/**
|
|
32426
|
+
* QueueOrderRefundEmailRequest dayIdsTimeCalendar.
|
|
32427
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTimeCalendar
|
|
32428
|
+
* @memberof QueueOrderRefundEmailRequest
|
|
32429
|
+
* @instance
|
|
32430
|
+
*/
|
|
32431
|
+
QueueOrderRefundEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
|
|
32432
|
+
|
|
31808
32433
|
/**
|
|
31809
32434
|
* Creates a new QueueOrderRefundEmailRequest instance using the specified properties.
|
|
31810
32435
|
* @function create
|
|
@@ -31886,6 +32511,12 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31886
32511
|
writer.uint32(/* id 26, wireType 2 =*/210).string(message.orderTotalRefunded);
|
|
31887
32512
|
if (message.refundReason != null && Object.hasOwnProperty.call(message, "refundReason"))
|
|
31888
32513
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.refundReason);
|
|
32514
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
32515
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
32516
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
|
|
32517
|
+
if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
|
|
32518
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
|
|
32519
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim();
|
|
31889
32520
|
return writer;
|
|
31890
32521
|
};
|
|
31891
32522
|
|
|
@@ -32006,6 +32637,16 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32006
32637
|
case 27:
|
|
32007
32638
|
message.refundReason = reader.string();
|
|
32008
32639
|
break;
|
|
32640
|
+
case 28:
|
|
32641
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
32642
|
+
message.dayIdsTime = [];
|
|
32643
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
32644
|
+
break;
|
|
32645
|
+
case 29:
|
|
32646
|
+
if (!(message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length))
|
|
32647
|
+
message.dayIdsTimeCalendar = [];
|
|
32648
|
+
message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
32649
|
+
break;
|
|
32009
32650
|
default:
|
|
32010
32651
|
reader.skipType(tag & 7);
|
|
32011
32652
|
break;
|
|
@@ -32131,6 +32772,24 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32131
32772
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
32132
32773
|
if (!$util.isString(message.refundReason))
|
|
32133
32774
|
return "refundReason: string expected";
|
|
32775
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
32776
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
32777
|
+
return "dayIdsTime: array expected";
|
|
32778
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
32779
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
32780
|
+
if (error)
|
|
32781
|
+
return "dayIdsTime." + error;
|
|
32782
|
+
}
|
|
32783
|
+
}
|
|
32784
|
+
if (message.dayIdsTimeCalendar != null && message.hasOwnProperty("dayIdsTimeCalendar")) {
|
|
32785
|
+
if (!Array.isArray(message.dayIdsTimeCalendar))
|
|
32786
|
+
return "dayIdsTimeCalendar: array expected";
|
|
32787
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i) {
|
|
32788
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTimeCalendar[i]);
|
|
32789
|
+
if (error)
|
|
32790
|
+
return "dayIdsTimeCalendar." + error;
|
|
32791
|
+
}
|
|
32792
|
+
}
|
|
32134
32793
|
return null;
|
|
32135
32794
|
};
|
|
32136
32795
|
|
|
@@ -32210,6 +32869,26 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32210
32869
|
message.orderTotalRefunded = String(object.orderTotalRefunded);
|
|
32211
32870
|
if (object.refundReason != null)
|
|
32212
32871
|
message.refundReason = String(object.refundReason);
|
|
32872
|
+
if (object.dayIdsTime) {
|
|
32873
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
32874
|
+
throw TypeError(".QueueOrderRefundEmailRequest.dayIdsTime: array expected");
|
|
32875
|
+
message.dayIdsTime = [];
|
|
32876
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
32877
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
32878
|
+
throw TypeError(".QueueOrderRefundEmailRequest.dayIdsTime: object expected");
|
|
32879
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
32880
|
+
}
|
|
32881
|
+
}
|
|
32882
|
+
if (object.dayIdsTimeCalendar) {
|
|
32883
|
+
if (!Array.isArray(object.dayIdsTimeCalendar))
|
|
32884
|
+
throw TypeError(".QueueOrderRefundEmailRequest.dayIdsTimeCalendar: array expected");
|
|
32885
|
+
message.dayIdsTimeCalendar = [];
|
|
32886
|
+
for (var i = 0; i < object.dayIdsTimeCalendar.length; ++i) {
|
|
32887
|
+
if (typeof object.dayIdsTimeCalendar[i] !== "object")
|
|
32888
|
+
throw TypeError(".QueueOrderRefundEmailRequest.dayIdsTimeCalendar: object expected");
|
|
32889
|
+
message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
|
|
32890
|
+
}
|
|
32891
|
+
}
|
|
32213
32892
|
return message;
|
|
32214
32893
|
};
|
|
32215
32894
|
|
|
@@ -32226,8 +32905,11 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32226
32905
|
if (!options)
|
|
32227
32906
|
options = {};
|
|
32228
32907
|
var object = {};
|
|
32229
|
-
if (options.arrays || options.defaults)
|
|
32908
|
+
if (options.arrays || options.defaults) {
|
|
32230
32909
|
object.orderRefundItems = [];
|
|
32910
|
+
object.dayIdsTime = [];
|
|
32911
|
+
object.dayIdsTimeCalendar = [];
|
|
32912
|
+
}
|
|
32231
32913
|
if (options.defaults) {
|
|
32232
32914
|
object.spanContext = "";
|
|
32233
32915
|
object.toAddress = "";
|
|
@@ -32316,6 +32998,16 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32316
32998
|
object.orderTotalRefunded = message.orderTotalRefunded;
|
|
32317
32999
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
32318
33000
|
object.refundReason = message.refundReason;
|
|
33001
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
33002
|
+
object.dayIdsTime = [];
|
|
33003
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
33004
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
33005
|
+
}
|
|
33006
|
+
if (message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length) {
|
|
33007
|
+
object.dayIdsTimeCalendar = [];
|
|
33008
|
+
for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
|
|
33009
|
+
object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
|
|
33010
|
+
}
|
|
32319
33011
|
return object;
|
|
32320
33012
|
};
|
|
32321
33013
|
|
|
@@ -32367,6 +33059,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32367
33059
|
* @property {string|null} [orderFeesRefunded] QueueOrderCanceledEmailRequest orderFeesRefunded
|
|
32368
33060
|
* @property {string|null} [orderTotalRefunded] QueueOrderCanceledEmailRequest orderTotalRefunded
|
|
32369
33061
|
* @property {string|null} [refundReason] QueueOrderCanceledEmailRequest refundReason
|
|
33062
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderCanceledEmailRequest dayIdsTime
|
|
33063
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTimeCalendar] QueueOrderCanceledEmailRequest dayIdsTimeCalendar
|
|
32370
33064
|
*/
|
|
32371
33065
|
|
|
32372
33066
|
/**
|
|
@@ -32379,6 +33073,8 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32379
33073
|
*/
|
|
32380
33074
|
function QueueOrderCanceledEmailRequest(properties) {
|
|
32381
33075
|
this.orderRefundItems = [];
|
|
33076
|
+
this.dayIdsTime = [];
|
|
33077
|
+
this.dayIdsTimeCalendar = [];
|
|
32382
33078
|
if (properties)
|
|
32383
33079
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32384
33080
|
if (properties[keys[i]] != null)
|
|
@@ -32609,6 +33305,22 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32609
33305
|
*/
|
|
32610
33306
|
QueueOrderCanceledEmailRequest.prototype.refundReason = "";
|
|
32611
33307
|
|
|
33308
|
+
/**
|
|
33309
|
+
* QueueOrderCanceledEmailRequest dayIdsTime.
|
|
33310
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
33311
|
+
* @memberof QueueOrderCanceledEmailRequest
|
|
33312
|
+
* @instance
|
|
33313
|
+
*/
|
|
33314
|
+
QueueOrderCanceledEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
33315
|
+
|
|
33316
|
+
/**
|
|
33317
|
+
* QueueOrderCanceledEmailRequest dayIdsTimeCalendar.
|
|
33318
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTimeCalendar
|
|
33319
|
+
* @memberof QueueOrderCanceledEmailRequest
|
|
33320
|
+
* @instance
|
|
33321
|
+
*/
|
|
33322
|
+
QueueOrderCanceledEmailRequest.prototype.dayIdsTimeCalendar = $util.emptyArray;
|
|
33323
|
+
|
|
32612
33324
|
/**
|
|
32613
33325
|
* Creates a new QueueOrderCanceledEmailRequest instance using the specified properties.
|
|
32614
33326
|
* @function create
|
|
@@ -32690,6 +33402,12 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32690
33402
|
writer.uint32(/* id 26, wireType 2 =*/210).string(message.orderTotalRefunded);
|
|
32691
33403
|
if (message.refundReason != null && Object.hasOwnProperty.call(message, "refundReason"))
|
|
32692
33404
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.refundReason);
|
|
33405
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
33406
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
33407
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
|
|
33408
|
+
if (message.dayIdsTimeCalendar != null && message.dayIdsTimeCalendar.length)
|
|
33409
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i)
|
|
33410
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTimeCalendar[i], writer.uint32(/* id 29, wireType 2 =*/234).fork()).ldelim();
|
|
32693
33411
|
return writer;
|
|
32694
33412
|
};
|
|
32695
33413
|
|
|
@@ -32810,6 +33528,16 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32810
33528
|
case 27:
|
|
32811
33529
|
message.refundReason = reader.string();
|
|
32812
33530
|
break;
|
|
33531
|
+
case 28:
|
|
33532
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
33533
|
+
message.dayIdsTime = [];
|
|
33534
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
33535
|
+
break;
|
|
33536
|
+
case 29:
|
|
33537
|
+
if (!(message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length))
|
|
33538
|
+
message.dayIdsTimeCalendar = [];
|
|
33539
|
+
message.dayIdsTimeCalendar.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
33540
|
+
break;
|
|
32813
33541
|
default:
|
|
32814
33542
|
reader.skipType(tag & 7);
|
|
32815
33543
|
break;
|
|
@@ -32935,6 +33663,24 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32935
33663
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
32936
33664
|
if (!$util.isString(message.refundReason))
|
|
32937
33665
|
return "refundReason: string expected";
|
|
33666
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
33667
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
33668
|
+
return "dayIdsTime: array expected";
|
|
33669
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
33670
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
33671
|
+
if (error)
|
|
33672
|
+
return "dayIdsTime." + error;
|
|
33673
|
+
}
|
|
33674
|
+
}
|
|
33675
|
+
if (message.dayIdsTimeCalendar != null && message.hasOwnProperty("dayIdsTimeCalendar")) {
|
|
33676
|
+
if (!Array.isArray(message.dayIdsTimeCalendar))
|
|
33677
|
+
return "dayIdsTimeCalendar: array expected";
|
|
33678
|
+
for (var i = 0; i < message.dayIdsTimeCalendar.length; ++i) {
|
|
33679
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTimeCalendar[i]);
|
|
33680
|
+
if (error)
|
|
33681
|
+
return "dayIdsTimeCalendar." + error;
|
|
33682
|
+
}
|
|
33683
|
+
}
|
|
32938
33684
|
return null;
|
|
32939
33685
|
};
|
|
32940
33686
|
|
|
@@ -33014,6 +33760,26 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
33014
33760
|
message.orderTotalRefunded = String(object.orderTotalRefunded);
|
|
33015
33761
|
if (object.refundReason != null)
|
|
33016
33762
|
message.refundReason = String(object.refundReason);
|
|
33763
|
+
if (object.dayIdsTime) {
|
|
33764
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
33765
|
+
throw TypeError(".QueueOrderCanceledEmailRequest.dayIdsTime: array expected");
|
|
33766
|
+
message.dayIdsTime = [];
|
|
33767
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
33768
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
33769
|
+
throw TypeError(".QueueOrderCanceledEmailRequest.dayIdsTime: object expected");
|
|
33770
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
33771
|
+
}
|
|
33772
|
+
}
|
|
33773
|
+
if (object.dayIdsTimeCalendar) {
|
|
33774
|
+
if (!Array.isArray(object.dayIdsTimeCalendar))
|
|
33775
|
+
throw TypeError(".QueueOrderCanceledEmailRequest.dayIdsTimeCalendar: array expected");
|
|
33776
|
+
message.dayIdsTimeCalendar = [];
|
|
33777
|
+
for (var i = 0; i < object.dayIdsTimeCalendar.length; ++i) {
|
|
33778
|
+
if (typeof object.dayIdsTimeCalendar[i] !== "object")
|
|
33779
|
+
throw TypeError(".QueueOrderCanceledEmailRequest.dayIdsTimeCalendar: object expected");
|
|
33780
|
+
message.dayIdsTimeCalendar[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTimeCalendar[i]);
|
|
33781
|
+
}
|
|
33782
|
+
}
|
|
33017
33783
|
return message;
|
|
33018
33784
|
};
|
|
33019
33785
|
|
|
@@ -33030,8 +33796,11 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
33030
33796
|
if (!options)
|
|
33031
33797
|
options = {};
|
|
33032
33798
|
var object = {};
|
|
33033
|
-
if (options.arrays || options.defaults)
|
|
33799
|
+
if (options.arrays || options.defaults) {
|
|
33034
33800
|
object.orderRefundItems = [];
|
|
33801
|
+
object.dayIdsTime = [];
|
|
33802
|
+
object.dayIdsTimeCalendar = [];
|
|
33803
|
+
}
|
|
33035
33804
|
if (options.defaults) {
|
|
33036
33805
|
object.spanContext = "";
|
|
33037
33806
|
object.toAddress = "";
|
|
@@ -33120,6 +33889,16 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
33120
33889
|
object.orderTotalRefunded = message.orderTotalRefunded;
|
|
33121
33890
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
33122
33891
|
object.refundReason = message.refundReason;
|
|
33892
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
33893
|
+
object.dayIdsTime = [];
|
|
33894
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
33895
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
33896
|
+
}
|
|
33897
|
+
if (message.dayIdsTimeCalendar && message.dayIdsTimeCalendar.length) {
|
|
33898
|
+
object.dayIdsTimeCalendar = [];
|
|
33899
|
+
for (var j = 0; j < message.dayIdsTimeCalendar.length; ++j)
|
|
33900
|
+
object.dayIdsTimeCalendar[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTimeCalendar[j], options);
|
|
33901
|
+
}
|
|
33123
33902
|
return object;
|
|
33124
33903
|
};
|
|
33125
33904
|
|
|
@@ -33571,6 +34350,8 @@ $root.Event = (function() {
|
|
|
33571
34350
|
* @property {boolean|null} [salesBeginImmediately] Event salesBeginImmediately
|
|
33572
34351
|
* @property {boolean|null} [cancel] Event cancel
|
|
33573
34352
|
* @property {boolean|null} [taxDeduction] Event taxDeduction
|
|
34353
|
+
* @property {boolean|null} [isMultipleDays] Event isMultipleDays
|
|
34354
|
+
* @property {string|null} [totalDays] Event totalDays
|
|
33574
34355
|
*/
|
|
33575
34356
|
|
|
33576
34357
|
/**
|
|
@@ -33834,6 +34615,22 @@ $root.Event = (function() {
|
|
|
33834
34615
|
*/
|
|
33835
34616
|
Event.prototype.taxDeduction = false;
|
|
33836
34617
|
|
|
34618
|
+
/**
|
|
34619
|
+
* Event isMultipleDays.
|
|
34620
|
+
* @member {boolean} isMultipleDays
|
|
34621
|
+
* @memberof Event
|
|
34622
|
+
* @instance
|
|
34623
|
+
*/
|
|
34624
|
+
Event.prototype.isMultipleDays = false;
|
|
34625
|
+
|
|
34626
|
+
/**
|
|
34627
|
+
* Event totalDays.
|
|
34628
|
+
* @member {string} totalDays
|
|
34629
|
+
* @memberof Event
|
|
34630
|
+
* @instance
|
|
34631
|
+
*/
|
|
34632
|
+
Event.prototype.totalDays = "";
|
|
34633
|
+
|
|
33837
34634
|
/**
|
|
33838
34635
|
* Creates a new Event instance using the specified properties.
|
|
33839
34636
|
* @function create
|
|
@@ -33924,6 +34721,10 @@ $root.Event = (function() {
|
|
|
33924
34721
|
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.cancel);
|
|
33925
34722
|
if (message.taxDeduction != null && Object.hasOwnProperty.call(message, "taxDeduction"))
|
|
33926
34723
|
writer.uint32(/* id 30, wireType 0 =*/240).bool(message.taxDeduction);
|
|
34724
|
+
if (message.isMultipleDays != null && Object.hasOwnProperty.call(message, "isMultipleDays"))
|
|
34725
|
+
writer.uint32(/* id 31, wireType 0 =*/248).bool(message.isMultipleDays);
|
|
34726
|
+
if (message.totalDays != null && Object.hasOwnProperty.call(message, "totalDays"))
|
|
34727
|
+
writer.uint32(/* id 32, wireType 2 =*/258).string(message.totalDays);
|
|
33927
34728
|
return writer;
|
|
33928
34729
|
};
|
|
33929
34730
|
|
|
@@ -34060,6 +34861,12 @@ $root.Event = (function() {
|
|
|
34060
34861
|
case 30:
|
|
34061
34862
|
message.taxDeduction = reader.bool();
|
|
34062
34863
|
break;
|
|
34864
|
+
case 31:
|
|
34865
|
+
message.isMultipleDays = reader.bool();
|
|
34866
|
+
break;
|
|
34867
|
+
case 32:
|
|
34868
|
+
message.totalDays = reader.string();
|
|
34869
|
+
break;
|
|
34063
34870
|
default:
|
|
34064
34871
|
reader.skipType(tag & 7);
|
|
34065
34872
|
break;
|
|
@@ -34229,6 +35036,12 @@ $root.Event = (function() {
|
|
|
34229
35036
|
if (message.taxDeduction != null && message.hasOwnProperty("taxDeduction"))
|
|
34230
35037
|
if (typeof message.taxDeduction !== "boolean")
|
|
34231
35038
|
return "taxDeduction: boolean expected";
|
|
35039
|
+
if (message.isMultipleDays != null && message.hasOwnProperty("isMultipleDays"))
|
|
35040
|
+
if (typeof message.isMultipleDays !== "boolean")
|
|
35041
|
+
return "isMultipleDays: boolean expected";
|
|
35042
|
+
if (message.totalDays != null && message.hasOwnProperty("totalDays"))
|
|
35043
|
+
if (!$util.isString(message.totalDays))
|
|
35044
|
+
return "totalDays: string expected";
|
|
34232
35045
|
return null;
|
|
34233
35046
|
};
|
|
34234
35047
|
|
|
@@ -34364,6 +35177,10 @@ $root.Event = (function() {
|
|
|
34364
35177
|
message.cancel = Boolean(object.cancel);
|
|
34365
35178
|
if (object.taxDeduction != null)
|
|
34366
35179
|
message.taxDeduction = Boolean(object.taxDeduction);
|
|
35180
|
+
if (object.isMultipleDays != null)
|
|
35181
|
+
message.isMultipleDays = Boolean(object.isMultipleDays);
|
|
35182
|
+
if (object.totalDays != null)
|
|
35183
|
+
message.totalDays = String(object.totalDays);
|
|
34367
35184
|
return message;
|
|
34368
35185
|
};
|
|
34369
35186
|
|
|
@@ -34413,6 +35230,8 @@ $root.Event = (function() {
|
|
|
34413
35230
|
object.salesBeginImmediately = false;
|
|
34414
35231
|
object.cancel = false;
|
|
34415
35232
|
object.taxDeduction = false;
|
|
35233
|
+
object.isMultipleDays = false;
|
|
35234
|
+
object.totalDays = "";
|
|
34416
35235
|
}
|
|
34417
35236
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
34418
35237
|
object._id = message._id;
|
|
@@ -34492,6 +35311,10 @@ $root.Event = (function() {
|
|
|
34492
35311
|
object.cancel = message.cancel;
|
|
34493
35312
|
if (message.taxDeduction != null && message.hasOwnProperty("taxDeduction"))
|
|
34494
35313
|
object.taxDeduction = message.taxDeduction;
|
|
35314
|
+
if (message.isMultipleDays != null && message.hasOwnProperty("isMultipleDays"))
|
|
35315
|
+
object.isMultipleDays = message.isMultipleDays;
|
|
35316
|
+
if (message.totalDays != null && message.hasOwnProperty("totalDays"))
|
|
35317
|
+
object.totalDays = message.totalDays;
|
|
34495
35318
|
return object;
|
|
34496
35319
|
};
|
|
34497
35320
|
|
|
@@ -36338,6 +37161,7 @@ $root.PerformanceSchedule = (function() {
|
|
|
36338
37161
|
* @interface IPerformanceSchedule
|
|
36339
37162
|
* @property {number|null} [doorsAt] PerformanceSchedule doorsAt
|
|
36340
37163
|
* @property {number|null} [startsAt] PerformanceSchedule startsAt
|
|
37164
|
+
* @property {number|null} [endsAt] PerformanceSchedule endsAt
|
|
36341
37165
|
*/
|
|
36342
37166
|
|
|
36343
37167
|
/**
|
|
@@ -36371,6 +37195,14 @@ $root.PerformanceSchedule = (function() {
|
|
|
36371
37195
|
*/
|
|
36372
37196
|
PerformanceSchedule.prototype.startsAt = 0;
|
|
36373
37197
|
|
|
37198
|
+
/**
|
|
37199
|
+
* PerformanceSchedule endsAt.
|
|
37200
|
+
* @member {number} endsAt
|
|
37201
|
+
* @memberof PerformanceSchedule
|
|
37202
|
+
* @instance
|
|
37203
|
+
*/
|
|
37204
|
+
PerformanceSchedule.prototype.endsAt = 0;
|
|
37205
|
+
|
|
36374
37206
|
/**
|
|
36375
37207
|
* Creates a new PerformanceSchedule instance using the specified properties.
|
|
36376
37208
|
* @function create
|
|
@@ -36399,6 +37231,8 @@ $root.PerformanceSchedule = (function() {
|
|
|
36399
37231
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.doorsAt);
|
|
36400
37232
|
if (message.startsAt != null && Object.hasOwnProperty.call(message, "startsAt"))
|
|
36401
37233
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.startsAt);
|
|
37234
|
+
if (message.endsAt != null && Object.hasOwnProperty.call(message, "endsAt"))
|
|
37235
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.endsAt);
|
|
36402
37236
|
return writer;
|
|
36403
37237
|
};
|
|
36404
37238
|
|
|
@@ -36439,6 +37273,9 @@ $root.PerformanceSchedule = (function() {
|
|
|
36439
37273
|
case 2:
|
|
36440
37274
|
message.startsAt = reader.int32();
|
|
36441
37275
|
break;
|
|
37276
|
+
case 3:
|
|
37277
|
+
message.endsAt = reader.int32();
|
|
37278
|
+
break;
|
|
36442
37279
|
default:
|
|
36443
37280
|
reader.skipType(tag & 7);
|
|
36444
37281
|
break;
|
|
@@ -36480,6 +37317,9 @@ $root.PerformanceSchedule = (function() {
|
|
|
36480
37317
|
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
36481
37318
|
if (!$util.isInteger(message.startsAt))
|
|
36482
37319
|
return "startsAt: integer expected";
|
|
37320
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
37321
|
+
if (!$util.isInteger(message.endsAt))
|
|
37322
|
+
return "endsAt: integer expected";
|
|
36483
37323
|
return null;
|
|
36484
37324
|
};
|
|
36485
37325
|
|
|
@@ -36499,6 +37339,8 @@ $root.PerformanceSchedule = (function() {
|
|
|
36499
37339
|
message.doorsAt = object.doorsAt | 0;
|
|
36500
37340
|
if (object.startsAt != null)
|
|
36501
37341
|
message.startsAt = object.startsAt | 0;
|
|
37342
|
+
if (object.endsAt != null)
|
|
37343
|
+
message.endsAt = object.endsAt | 0;
|
|
36502
37344
|
return message;
|
|
36503
37345
|
};
|
|
36504
37346
|
|
|
@@ -36518,11 +37360,14 @@ $root.PerformanceSchedule = (function() {
|
|
|
36518
37360
|
if (options.defaults) {
|
|
36519
37361
|
object.doorsAt = 0;
|
|
36520
37362
|
object.startsAt = 0;
|
|
37363
|
+
object.endsAt = 0;
|
|
36521
37364
|
}
|
|
36522
37365
|
if (message.doorsAt != null && message.hasOwnProperty("doorsAt"))
|
|
36523
37366
|
object.doorsAt = message.doorsAt;
|
|
36524
37367
|
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
36525
37368
|
object.startsAt = message.startsAt;
|
|
37369
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
37370
|
+
object.endsAt = message.endsAt;
|
|
36526
37371
|
return object;
|
|
36527
37372
|
};
|
|
36528
37373
|
|
|
@@ -36555,7 +37400,7 @@ $root.Performance = (function() {
|
|
|
36555
37400
|
* @property {string|null} [posterImageUrl] Performance posterImageUrl
|
|
36556
37401
|
* @property {string|null} [videoLink] Performance videoLink
|
|
36557
37402
|
* @property {string|null} [songLink] Performance songLink
|
|
36558
|
-
* @property {IPerformanceSchedule
|
|
37403
|
+
* @property {Array.<IPerformanceSchedule>|null} [schedule] Performance schedule
|
|
36559
37404
|
*/
|
|
36560
37405
|
|
|
36561
37406
|
/**
|
|
@@ -36569,6 +37414,7 @@ $root.Performance = (function() {
|
|
|
36569
37414
|
function Performance(properties) {
|
|
36570
37415
|
this.headliningArtistIds = [];
|
|
36571
37416
|
this.openingArtistIds = [];
|
|
37417
|
+
this.schedule = [];
|
|
36572
37418
|
if (properties)
|
|
36573
37419
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36574
37420
|
if (properties[keys[i]] != null)
|
|
@@ -36649,11 +37495,11 @@ $root.Performance = (function() {
|
|
|
36649
37495
|
|
|
36650
37496
|
/**
|
|
36651
37497
|
* Performance schedule.
|
|
36652
|
-
* @member {IPerformanceSchedule
|
|
37498
|
+
* @member {Array.<IPerformanceSchedule>} schedule
|
|
36653
37499
|
* @memberof Performance
|
|
36654
37500
|
* @instance
|
|
36655
37501
|
*/
|
|
36656
|
-
Performance.prototype.schedule =
|
|
37502
|
+
Performance.prototype.schedule = $util.emptyArray;
|
|
36657
37503
|
|
|
36658
37504
|
/**
|
|
36659
37505
|
* Creates a new Performance instance using the specified properties.
|
|
@@ -36699,8 +37545,9 @@ $root.Performance = (function() {
|
|
|
36699
37545
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.videoLink);
|
|
36700
37546
|
if (message.songLink != null && Object.hasOwnProperty.call(message, "songLink"))
|
|
36701
37547
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.songLink);
|
|
36702
|
-
if (message.schedule != null &&
|
|
36703
|
-
|
|
37548
|
+
if (message.schedule != null && message.schedule.length)
|
|
37549
|
+
for (var i = 0; i < message.schedule.length; ++i)
|
|
37550
|
+
$root.PerformanceSchedule.encode(message.schedule[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
36704
37551
|
return writer;
|
|
36705
37552
|
};
|
|
36706
37553
|
|
|
@@ -36767,7 +37614,9 @@ $root.Performance = (function() {
|
|
|
36767
37614
|
message.songLink = reader.string();
|
|
36768
37615
|
break;
|
|
36769
37616
|
case 10:
|
|
36770
|
-
message.schedule
|
|
37617
|
+
if (!(message.schedule && message.schedule.length))
|
|
37618
|
+
message.schedule = [];
|
|
37619
|
+
message.schedule.push($root.PerformanceSchedule.decode(reader, reader.uint32()));
|
|
36771
37620
|
break;
|
|
36772
37621
|
default:
|
|
36773
37622
|
reader.skipType(tag & 7);
|
|
@@ -36840,9 +37689,13 @@ $root.Performance = (function() {
|
|
|
36840
37689
|
if (!$util.isString(message.songLink))
|
|
36841
37690
|
return "songLink: string expected";
|
|
36842
37691
|
if (message.schedule != null && message.hasOwnProperty("schedule")) {
|
|
36843
|
-
|
|
36844
|
-
|
|
36845
|
-
|
|
37692
|
+
if (!Array.isArray(message.schedule))
|
|
37693
|
+
return "schedule: array expected";
|
|
37694
|
+
for (var i = 0; i < message.schedule.length; ++i) {
|
|
37695
|
+
var error = $root.PerformanceSchedule.verify(message.schedule[i]);
|
|
37696
|
+
if (error)
|
|
37697
|
+
return "schedule." + error;
|
|
37698
|
+
}
|
|
36846
37699
|
}
|
|
36847
37700
|
return null;
|
|
36848
37701
|
};
|
|
@@ -36887,10 +37740,15 @@ $root.Performance = (function() {
|
|
|
36887
37740
|
message.videoLink = String(object.videoLink);
|
|
36888
37741
|
if (object.songLink != null)
|
|
36889
37742
|
message.songLink = String(object.songLink);
|
|
36890
|
-
if (object.schedule
|
|
36891
|
-
if (
|
|
36892
|
-
throw TypeError(".Performance.schedule:
|
|
36893
|
-
message.schedule =
|
|
37743
|
+
if (object.schedule) {
|
|
37744
|
+
if (!Array.isArray(object.schedule))
|
|
37745
|
+
throw TypeError(".Performance.schedule: array expected");
|
|
37746
|
+
message.schedule = [];
|
|
37747
|
+
for (var i = 0; i < object.schedule.length; ++i) {
|
|
37748
|
+
if (typeof object.schedule[i] !== "object")
|
|
37749
|
+
throw TypeError(".Performance.schedule: object expected");
|
|
37750
|
+
message.schedule[i] = $root.PerformanceSchedule.fromObject(object.schedule[i]);
|
|
37751
|
+
}
|
|
36894
37752
|
}
|
|
36895
37753
|
return message;
|
|
36896
37754
|
};
|
|
@@ -36911,6 +37769,7 @@ $root.Performance = (function() {
|
|
|
36911
37769
|
if (options.arrays || options.defaults) {
|
|
36912
37770
|
object.headliningArtistIds = [];
|
|
36913
37771
|
object.openingArtistIds = [];
|
|
37772
|
+
object.schedule = [];
|
|
36914
37773
|
}
|
|
36915
37774
|
if (options.defaults) {
|
|
36916
37775
|
object._id = "";
|
|
@@ -36920,7 +37779,6 @@ $root.Performance = (function() {
|
|
|
36920
37779
|
object.posterImageUrl = "";
|
|
36921
37780
|
object.videoLink = "";
|
|
36922
37781
|
object.songLink = "";
|
|
36923
|
-
object.schedule = null;
|
|
36924
37782
|
}
|
|
36925
37783
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
36926
37784
|
object._id = message._id;
|
|
@@ -36946,8 +37804,11 @@ $root.Performance = (function() {
|
|
|
36946
37804
|
object.videoLink = message.videoLink;
|
|
36947
37805
|
if (message.songLink != null && message.hasOwnProperty("songLink"))
|
|
36948
37806
|
object.songLink = message.songLink;
|
|
36949
|
-
if (message.schedule
|
|
36950
|
-
object.schedule =
|
|
37807
|
+
if (message.schedule && message.schedule.length) {
|
|
37808
|
+
object.schedule = [];
|
|
37809
|
+
for (var j = 0; j < message.schedule.length; ++j)
|
|
37810
|
+
object.schedule[j] = $root.PerformanceSchedule.toObject(message.schedule[j], options);
|
|
37811
|
+
}
|
|
36951
37812
|
return object;
|
|
36952
37813
|
};
|
|
36953
37814
|
|
|
@@ -36983,6 +37844,7 @@ $root.TicketType = (function() {
|
|
|
36983
37844
|
* @property {boolean|null} [rollFees] TicketType rollFees
|
|
36984
37845
|
* @property {string|null} [promo] TicketType promo
|
|
36985
37846
|
* @property {string|null} [values] TicketType values
|
|
37847
|
+
* @property {Array.<string>|null} [dayIds] TicketType dayIds
|
|
36986
37848
|
*/
|
|
36987
37849
|
|
|
36988
37850
|
/**
|
|
@@ -36996,6 +37858,7 @@ $root.TicketType = (function() {
|
|
|
36996
37858
|
function TicketType(properties) {
|
|
36997
37859
|
this.performanceIds = [];
|
|
36998
37860
|
this.tiers = [];
|
|
37861
|
+
this.dayIds = [];
|
|
36999
37862
|
if (properties)
|
|
37000
37863
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37001
37864
|
if (properties[keys[i]] != null)
|
|
@@ -37098,6 +37961,14 @@ $root.TicketType = (function() {
|
|
|
37098
37961
|
*/
|
|
37099
37962
|
TicketType.prototype.values = "";
|
|
37100
37963
|
|
|
37964
|
+
/**
|
|
37965
|
+
* TicketType dayIds.
|
|
37966
|
+
* @member {Array.<string>} dayIds
|
|
37967
|
+
* @memberof TicketType
|
|
37968
|
+
* @instance
|
|
37969
|
+
*/
|
|
37970
|
+
TicketType.prototype.dayIds = $util.emptyArray;
|
|
37971
|
+
|
|
37101
37972
|
/**
|
|
37102
37973
|
* Creates a new TicketType instance using the specified properties.
|
|
37103
37974
|
* @function create
|
|
@@ -37148,6 +38019,9 @@ $root.TicketType = (function() {
|
|
|
37148
38019
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.promo);
|
|
37149
38020
|
if (message.values != null && Object.hasOwnProperty.call(message, "values"))
|
|
37150
38021
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.values);
|
|
38022
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
38023
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
38024
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.dayIds[i]);
|
|
37151
38025
|
return writer;
|
|
37152
38026
|
};
|
|
37153
38027
|
|
|
@@ -37222,6 +38096,11 @@ $root.TicketType = (function() {
|
|
|
37222
38096
|
case 12:
|
|
37223
38097
|
message.values = reader.string();
|
|
37224
38098
|
break;
|
|
38099
|
+
case 13:
|
|
38100
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
38101
|
+
message.dayIds = [];
|
|
38102
|
+
message.dayIds.push(reader.string());
|
|
38103
|
+
break;
|
|
37225
38104
|
default:
|
|
37226
38105
|
reader.skipType(tag & 7);
|
|
37227
38106
|
break;
|
|
@@ -37303,6 +38182,13 @@ $root.TicketType = (function() {
|
|
|
37303
38182
|
if (message.values != null && message.hasOwnProperty("values"))
|
|
37304
38183
|
if (!$util.isString(message.values))
|
|
37305
38184
|
return "values: string expected";
|
|
38185
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
38186
|
+
if (!Array.isArray(message.dayIds))
|
|
38187
|
+
return "dayIds: array expected";
|
|
38188
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
38189
|
+
if (!$util.isString(message.dayIds[i]))
|
|
38190
|
+
return "dayIds: string[] expected";
|
|
38191
|
+
}
|
|
37306
38192
|
return null;
|
|
37307
38193
|
};
|
|
37308
38194
|
|
|
@@ -37355,6 +38241,13 @@ $root.TicketType = (function() {
|
|
|
37355
38241
|
message.promo = String(object.promo);
|
|
37356
38242
|
if (object.values != null)
|
|
37357
38243
|
message.values = String(object.values);
|
|
38244
|
+
if (object.dayIds) {
|
|
38245
|
+
if (!Array.isArray(object.dayIds))
|
|
38246
|
+
throw TypeError(".TicketType.dayIds: array expected");
|
|
38247
|
+
message.dayIds = [];
|
|
38248
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
38249
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
38250
|
+
}
|
|
37358
38251
|
return message;
|
|
37359
38252
|
};
|
|
37360
38253
|
|
|
@@ -37374,6 +38267,7 @@ $root.TicketType = (function() {
|
|
|
37374
38267
|
if (options.arrays || options.defaults) {
|
|
37375
38268
|
object.performanceIds = [];
|
|
37376
38269
|
object.tiers = [];
|
|
38270
|
+
object.dayIds = [];
|
|
37377
38271
|
}
|
|
37378
38272
|
if (options.defaults) {
|
|
37379
38273
|
object._id = "";
|
|
@@ -37417,6 +38311,11 @@ $root.TicketType = (function() {
|
|
|
37417
38311
|
object.promo = message.promo;
|
|
37418
38312
|
if (message.values != null && message.hasOwnProperty("values"))
|
|
37419
38313
|
object.values = message.values;
|
|
38314
|
+
if (message.dayIds && message.dayIds.length) {
|
|
38315
|
+
object.dayIds = [];
|
|
38316
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
38317
|
+
object.dayIds[j] = message.dayIds[j];
|
|
38318
|
+
}
|
|
37420
38319
|
return object;
|
|
37421
38320
|
};
|
|
37422
38321
|
|
|
@@ -98107,6 +99006,7 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98107
99006
|
* @property {string|null} [spanContext] UserPhoneAuthenticationRequest spanContext
|
|
98108
99007
|
* @property {string|null} [email] UserPhoneAuthenticationRequest email
|
|
98109
99008
|
* @property {string|null} [phoneNumber] UserPhoneAuthenticationRequest phoneNumber
|
|
99009
|
+
* @property {boolean|null} [isLogin] UserPhoneAuthenticationRequest isLogin
|
|
98110
99010
|
*/
|
|
98111
99011
|
|
|
98112
99012
|
/**
|
|
@@ -98148,6 +99048,14 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98148
99048
|
*/
|
|
98149
99049
|
UserPhoneAuthenticationRequest.prototype.phoneNumber = "";
|
|
98150
99050
|
|
|
99051
|
+
/**
|
|
99052
|
+
* UserPhoneAuthenticationRequest isLogin.
|
|
99053
|
+
* @member {boolean} isLogin
|
|
99054
|
+
* @memberof UserPhoneAuthenticationRequest
|
|
99055
|
+
* @instance
|
|
99056
|
+
*/
|
|
99057
|
+
UserPhoneAuthenticationRequest.prototype.isLogin = false;
|
|
99058
|
+
|
|
98151
99059
|
/**
|
|
98152
99060
|
* Creates a new UserPhoneAuthenticationRequest instance using the specified properties.
|
|
98153
99061
|
* @function create
|
|
@@ -98178,6 +99086,8 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98178
99086
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.email);
|
|
98179
99087
|
if (message.phoneNumber != null && Object.hasOwnProperty.call(message, "phoneNumber"))
|
|
98180
99088
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.phoneNumber);
|
|
99089
|
+
if (message.isLogin != null && Object.hasOwnProperty.call(message, "isLogin"))
|
|
99090
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isLogin);
|
|
98181
99091
|
return writer;
|
|
98182
99092
|
};
|
|
98183
99093
|
|
|
@@ -98221,6 +99131,9 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98221
99131
|
case 2:
|
|
98222
99132
|
message.phoneNumber = reader.string();
|
|
98223
99133
|
break;
|
|
99134
|
+
case 3:
|
|
99135
|
+
message.isLogin = reader.bool();
|
|
99136
|
+
break;
|
|
98224
99137
|
default:
|
|
98225
99138
|
reader.skipType(tag & 7);
|
|
98226
99139
|
break;
|
|
@@ -98265,6 +99178,9 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98265
99178
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
98266
99179
|
if (!$util.isString(message.phoneNumber))
|
|
98267
99180
|
return "phoneNumber: string expected";
|
|
99181
|
+
if (message.isLogin != null && message.hasOwnProperty("isLogin"))
|
|
99182
|
+
if (typeof message.isLogin !== "boolean")
|
|
99183
|
+
return "isLogin: boolean expected";
|
|
98268
99184
|
return null;
|
|
98269
99185
|
};
|
|
98270
99186
|
|
|
@@ -98286,6 +99202,8 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98286
99202
|
message.email = String(object.email);
|
|
98287
99203
|
if (object.phoneNumber != null)
|
|
98288
99204
|
message.phoneNumber = String(object.phoneNumber);
|
|
99205
|
+
if (object.isLogin != null)
|
|
99206
|
+
message.isLogin = Boolean(object.isLogin);
|
|
98289
99207
|
return message;
|
|
98290
99208
|
};
|
|
98291
99209
|
|
|
@@ -98306,6 +99224,7 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98306
99224
|
object.spanContext = "";
|
|
98307
99225
|
object.email = "";
|
|
98308
99226
|
object.phoneNumber = "";
|
|
99227
|
+
object.isLogin = false;
|
|
98309
99228
|
}
|
|
98310
99229
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
98311
99230
|
object.spanContext = message.spanContext;
|
|
@@ -98313,6 +99232,8 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98313
99232
|
object.email = message.email;
|
|
98314
99233
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
98315
99234
|
object.phoneNumber = message.phoneNumber;
|
|
99235
|
+
if (message.isLogin != null && message.hasOwnProperty("isLogin"))
|
|
99236
|
+
object.isLogin = message.isLogin;
|
|
98316
99237
|
return object;
|
|
98317
99238
|
};
|
|
98318
99239
|
|