@sellout/models 0.0.148 → 0.0.149
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 +785 -36
- package/.dist/utils/EventUtil.d.ts +2 -1
- package/.dist/utils/EventUtil.js +73 -5
- 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 +14 -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 +98 -19
- 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,8 @@ $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
|
|
29807
30202
|
*/
|
|
29808
30203
|
|
|
29809
30204
|
/**
|
|
@@ -29816,6 +30211,8 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
29816
30211
|
*/
|
|
29817
30212
|
function QueueOrderReceiptEmailRequest(properties) {
|
|
29818
30213
|
this.orderItems = [];
|
|
30214
|
+
this.dayIds = [];
|
|
30215
|
+
this.dayIdsTime = [];
|
|
29819
30216
|
if (properties)
|
|
29820
30217
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
29821
30218
|
if (properties[keys[i]] != null)
|
|
@@ -30070,6 +30467,22 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30070
30467
|
*/
|
|
30071
30468
|
QueueOrderReceiptEmailRequest.prototype.timezone = "";
|
|
30072
30469
|
|
|
30470
|
+
/**
|
|
30471
|
+
* QueueOrderReceiptEmailRequest dayIds.
|
|
30472
|
+
* @member {Array.<string>} dayIds
|
|
30473
|
+
* @memberof QueueOrderReceiptEmailRequest
|
|
30474
|
+
* @instance
|
|
30475
|
+
*/
|
|
30476
|
+
QueueOrderReceiptEmailRequest.prototype.dayIds = $util.emptyArray;
|
|
30477
|
+
|
|
30478
|
+
/**
|
|
30479
|
+
* QueueOrderReceiptEmailRequest dayIdsTime.
|
|
30480
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
30481
|
+
* @memberof QueueOrderReceiptEmailRequest
|
|
30482
|
+
* @instance
|
|
30483
|
+
*/
|
|
30484
|
+
QueueOrderReceiptEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
30485
|
+
|
|
30073
30486
|
/**
|
|
30074
30487
|
* Creates a new QueueOrderReceiptEmailRequest instance using the specified properties.
|
|
30075
30488
|
* @function create
|
|
@@ -30157,6 +30570,12 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30157
30570
|
writer.uint32(/* id 30, wireType 0 =*/240).int32(message.eventEnd);
|
|
30158
30571
|
if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
|
|
30159
30572
|
writer.uint32(/* id 31, wireType 2 =*/250).string(message.timezone);
|
|
30573
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
30574
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
30575
|
+
writer.uint32(/* id 32, wireType 2 =*/258).string(message.dayIds[i]);
|
|
30576
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
30577
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
30578
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 33, wireType 2 =*/266).fork()).ldelim();
|
|
30160
30579
|
return writer;
|
|
30161
30580
|
};
|
|
30162
30581
|
|
|
@@ -30286,6 +30705,16 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30286
30705
|
case 31:
|
|
30287
30706
|
message.timezone = reader.string();
|
|
30288
30707
|
break;
|
|
30708
|
+
case 32:
|
|
30709
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
30710
|
+
message.dayIds = [];
|
|
30711
|
+
message.dayIds.push(reader.string());
|
|
30712
|
+
break;
|
|
30713
|
+
case 33:
|
|
30714
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
30715
|
+
message.dayIdsTime = [];
|
|
30716
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
30717
|
+
break;
|
|
30289
30718
|
default:
|
|
30290
30719
|
reader.skipType(tag & 7);
|
|
30291
30720
|
break;
|
|
@@ -30420,6 +30849,22 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30420
30849
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
30421
30850
|
if (!$util.isString(message.timezone))
|
|
30422
30851
|
return "timezone: string expected";
|
|
30852
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
30853
|
+
if (!Array.isArray(message.dayIds))
|
|
30854
|
+
return "dayIds: array expected";
|
|
30855
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
30856
|
+
if (!$util.isString(message.dayIds[i]))
|
|
30857
|
+
return "dayIds: string[] expected";
|
|
30858
|
+
}
|
|
30859
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
30860
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
30861
|
+
return "dayIdsTime: array expected";
|
|
30862
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
30863
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
30864
|
+
if (error)
|
|
30865
|
+
return "dayIdsTime." + error;
|
|
30866
|
+
}
|
|
30867
|
+
}
|
|
30423
30868
|
return null;
|
|
30424
30869
|
};
|
|
30425
30870
|
|
|
@@ -30505,6 +30950,23 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30505
30950
|
message.eventEnd = object.eventEnd | 0;
|
|
30506
30951
|
if (object.timezone != null)
|
|
30507
30952
|
message.timezone = String(object.timezone);
|
|
30953
|
+
if (object.dayIds) {
|
|
30954
|
+
if (!Array.isArray(object.dayIds))
|
|
30955
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIds: array expected");
|
|
30956
|
+
message.dayIds = [];
|
|
30957
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
30958
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
30959
|
+
}
|
|
30960
|
+
if (object.dayIdsTime) {
|
|
30961
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
30962
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIdsTime: array expected");
|
|
30963
|
+
message.dayIdsTime = [];
|
|
30964
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
30965
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
30966
|
+
throw TypeError(".QueueOrderReceiptEmailRequest.dayIdsTime: object expected");
|
|
30967
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
30968
|
+
}
|
|
30969
|
+
}
|
|
30508
30970
|
return message;
|
|
30509
30971
|
};
|
|
30510
30972
|
|
|
@@ -30521,8 +30983,11 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30521
30983
|
if (!options)
|
|
30522
30984
|
options = {};
|
|
30523
30985
|
var object = {};
|
|
30524
|
-
if (options.arrays || options.defaults)
|
|
30986
|
+
if (options.arrays || options.defaults) {
|
|
30525
30987
|
object.orderItems = [];
|
|
30988
|
+
object.dayIds = [];
|
|
30989
|
+
object.dayIdsTime = [];
|
|
30990
|
+
}
|
|
30526
30991
|
if (options.defaults) {
|
|
30527
30992
|
object.spanContext = "";
|
|
30528
30993
|
object.toAddress = "";
|
|
@@ -30620,6 +31085,16 @@ $root.QueueOrderReceiptEmailRequest = (function() {
|
|
|
30620
31085
|
object.eventEnd = message.eventEnd;
|
|
30621
31086
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
30622
31087
|
object.timezone = message.timezone;
|
|
31088
|
+
if (message.dayIds && message.dayIds.length) {
|
|
31089
|
+
object.dayIds = [];
|
|
31090
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
31091
|
+
object.dayIds[j] = message.dayIds[j];
|
|
31092
|
+
}
|
|
31093
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
31094
|
+
object.dayIdsTime = [];
|
|
31095
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
31096
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
31097
|
+
}
|
|
30623
31098
|
return object;
|
|
30624
31099
|
};
|
|
30625
31100
|
|
|
@@ -30675,6 +31150,7 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
30675
31150
|
* @property {number|null} [eventStart] QueueOrderQRCodeEmailRequest eventStart
|
|
30676
31151
|
* @property {number|null} [eventEnd] QueueOrderQRCodeEmailRequest eventEnd
|
|
30677
31152
|
* @property {string|null} [timezone] QueueOrderQRCodeEmailRequest timezone
|
|
31153
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderQRCodeEmailRequest dayIdsTime
|
|
30678
31154
|
*/
|
|
30679
31155
|
|
|
30680
31156
|
/**
|
|
@@ -30687,6 +31163,7 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
30687
31163
|
*/
|
|
30688
31164
|
function QueueOrderQRCodeEmailRequest(properties) {
|
|
30689
31165
|
this.orderItems = [];
|
|
31166
|
+
this.dayIdsTime = [];
|
|
30690
31167
|
if (properties)
|
|
30691
31168
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
30692
31169
|
if (properties[keys[i]] != null)
|
|
@@ -30949,6 +31426,14 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
30949
31426
|
*/
|
|
30950
31427
|
QueueOrderQRCodeEmailRequest.prototype.timezone = "";
|
|
30951
31428
|
|
|
31429
|
+
/**
|
|
31430
|
+
* QueueOrderQRCodeEmailRequest dayIdsTime.
|
|
31431
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
31432
|
+
* @memberof QueueOrderQRCodeEmailRequest
|
|
31433
|
+
* @instance
|
|
31434
|
+
*/
|
|
31435
|
+
QueueOrderQRCodeEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
31436
|
+
|
|
30952
31437
|
/**
|
|
30953
31438
|
* Creates a new QueueOrderQRCodeEmailRequest instance using the specified properties.
|
|
30954
31439
|
* @function create
|
|
@@ -31038,6 +31523,9 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31038
31523
|
writer.uint32(/* id 30, wireType 0 =*/240).int32(message.eventEnd);
|
|
31039
31524
|
if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
|
|
31040
31525
|
writer.uint32(/* id 31, wireType 2 =*/250).string(message.timezone);
|
|
31526
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
31527
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
31528
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 32, wireType 2 =*/258).fork()).ldelim();
|
|
31041
31529
|
return writer;
|
|
31042
31530
|
};
|
|
31043
31531
|
|
|
@@ -31170,6 +31658,11 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31170
31658
|
case 31:
|
|
31171
31659
|
message.timezone = reader.string();
|
|
31172
31660
|
break;
|
|
31661
|
+
case 32:
|
|
31662
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
31663
|
+
message.dayIdsTime = [];
|
|
31664
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
31665
|
+
break;
|
|
31173
31666
|
default:
|
|
31174
31667
|
reader.skipType(tag & 7);
|
|
31175
31668
|
break;
|
|
@@ -31307,6 +31800,15 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31307
31800
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
31308
31801
|
if (!$util.isString(message.timezone))
|
|
31309
31802
|
return "timezone: string expected";
|
|
31803
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
31804
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
31805
|
+
return "dayIdsTime: array expected";
|
|
31806
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
31807
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
31808
|
+
if (error)
|
|
31809
|
+
return "dayIdsTime." + error;
|
|
31810
|
+
}
|
|
31811
|
+
}
|
|
31310
31812
|
return null;
|
|
31311
31813
|
};
|
|
31312
31814
|
|
|
@@ -31394,6 +31896,16 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31394
31896
|
message.eventEnd = object.eventEnd | 0;
|
|
31395
31897
|
if (object.timezone != null)
|
|
31396
31898
|
message.timezone = String(object.timezone);
|
|
31899
|
+
if (object.dayIdsTime) {
|
|
31900
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
31901
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.dayIdsTime: array expected");
|
|
31902
|
+
message.dayIdsTime = [];
|
|
31903
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
31904
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
31905
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.dayIdsTime: object expected");
|
|
31906
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
31907
|
+
}
|
|
31908
|
+
}
|
|
31397
31909
|
return message;
|
|
31398
31910
|
};
|
|
31399
31911
|
|
|
@@ -31410,8 +31922,10 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31410
31922
|
if (!options)
|
|
31411
31923
|
options = {};
|
|
31412
31924
|
var object = {};
|
|
31413
|
-
if (options.arrays || options.defaults)
|
|
31925
|
+
if (options.arrays || options.defaults) {
|
|
31414
31926
|
object.orderItems = [];
|
|
31927
|
+
object.dayIdsTime = [];
|
|
31928
|
+
}
|
|
31415
31929
|
if (options.defaults) {
|
|
31416
31930
|
object.spanContext = "";
|
|
31417
31931
|
object.toAddress = "";
|
|
@@ -31512,6 +32026,11 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
31512
32026
|
object.eventEnd = message.eventEnd;
|
|
31513
32027
|
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
31514
32028
|
object.timezone = message.timezone;
|
|
32029
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
32030
|
+
object.dayIdsTime = [];
|
|
32031
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
32032
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
32033
|
+
}
|
|
31515
32034
|
return object;
|
|
31516
32035
|
};
|
|
31517
32036
|
|
|
@@ -31563,6 +32082,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31563
32082
|
* @property {string|null} [orderFeesRefunded] QueueOrderRefundEmailRequest orderFeesRefunded
|
|
31564
32083
|
* @property {string|null} [orderTotalRefunded] QueueOrderRefundEmailRequest orderTotalRefunded
|
|
31565
32084
|
* @property {string|null} [refundReason] QueueOrderRefundEmailRequest refundReason
|
|
32085
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderRefundEmailRequest dayIdsTime
|
|
31566
32086
|
*/
|
|
31567
32087
|
|
|
31568
32088
|
/**
|
|
@@ -31575,6 +32095,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31575
32095
|
*/
|
|
31576
32096
|
function QueueOrderRefundEmailRequest(properties) {
|
|
31577
32097
|
this.orderRefundItems = [];
|
|
32098
|
+
this.dayIdsTime = [];
|
|
31578
32099
|
if (properties)
|
|
31579
32100
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
31580
32101
|
if (properties[keys[i]] != null)
|
|
@@ -31805,6 +32326,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31805
32326
|
*/
|
|
31806
32327
|
QueueOrderRefundEmailRequest.prototype.refundReason = "";
|
|
31807
32328
|
|
|
32329
|
+
/**
|
|
32330
|
+
* QueueOrderRefundEmailRequest dayIdsTime.
|
|
32331
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
32332
|
+
* @memberof QueueOrderRefundEmailRequest
|
|
32333
|
+
* @instance
|
|
32334
|
+
*/
|
|
32335
|
+
QueueOrderRefundEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
32336
|
+
|
|
31808
32337
|
/**
|
|
31809
32338
|
* Creates a new QueueOrderRefundEmailRequest instance using the specified properties.
|
|
31810
32339
|
* @function create
|
|
@@ -31886,6 +32415,9 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
31886
32415
|
writer.uint32(/* id 26, wireType 2 =*/210).string(message.orderTotalRefunded);
|
|
31887
32416
|
if (message.refundReason != null && Object.hasOwnProperty.call(message, "refundReason"))
|
|
31888
32417
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.refundReason);
|
|
32418
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
32419
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
32420
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
|
|
31889
32421
|
return writer;
|
|
31890
32422
|
};
|
|
31891
32423
|
|
|
@@ -32006,6 +32538,11 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32006
32538
|
case 27:
|
|
32007
32539
|
message.refundReason = reader.string();
|
|
32008
32540
|
break;
|
|
32541
|
+
case 28:
|
|
32542
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
32543
|
+
message.dayIdsTime = [];
|
|
32544
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
32545
|
+
break;
|
|
32009
32546
|
default:
|
|
32010
32547
|
reader.skipType(tag & 7);
|
|
32011
32548
|
break;
|
|
@@ -32131,6 +32668,15 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32131
32668
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
32132
32669
|
if (!$util.isString(message.refundReason))
|
|
32133
32670
|
return "refundReason: string expected";
|
|
32671
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
32672
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
32673
|
+
return "dayIdsTime: array expected";
|
|
32674
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
32675
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
32676
|
+
if (error)
|
|
32677
|
+
return "dayIdsTime." + error;
|
|
32678
|
+
}
|
|
32679
|
+
}
|
|
32134
32680
|
return null;
|
|
32135
32681
|
};
|
|
32136
32682
|
|
|
@@ -32210,6 +32756,16 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32210
32756
|
message.orderTotalRefunded = String(object.orderTotalRefunded);
|
|
32211
32757
|
if (object.refundReason != null)
|
|
32212
32758
|
message.refundReason = String(object.refundReason);
|
|
32759
|
+
if (object.dayIdsTime) {
|
|
32760
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
32761
|
+
throw TypeError(".QueueOrderRefundEmailRequest.dayIdsTime: array expected");
|
|
32762
|
+
message.dayIdsTime = [];
|
|
32763
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
32764
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
32765
|
+
throw TypeError(".QueueOrderRefundEmailRequest.dayIdsTime: object expected");
|
|
32766
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
32767
|
+
}
|
|
32768
|
+
}
|
|
32213
32769
|
return message;
|
|
32214
32770
|
};
|
|
32215
32771
|
|
|
@@ -32226,8 +32782,10 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32226
32782
|
if (!options)
|
|
32227
32783
|
options = {};
|
|
32228
32784
|
var object = {};
|
|
32229
|
-
if (options.arrays || options.defaults)
|
|
32785
|
+
if (options.arrays || options.defaults) {
|
|
32230
32786
|
object.orderRefundItems = [];
|
|
32787
|
+
object.dayIdsTime = [];
|
|
32788
|
+
}
|
|
32231
32789
|
if (options.defaults) {
|
|
32232
32790
|
object.spanContext = "";
|
|
32233
32791
|
object.toAddress = "";
|
|
@@ -32316,6 +32874,11 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
32316
32874
|
object.orderTotalRefunded = message.orderTotalRefunded;
|
|
32317
32875
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
32318
32876
|
object.refundReason = message.refundReason;
|
|
32877
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
32878
|
+
object.dayIdsTime = [];
|
|
32879
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
32880
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
32881
|
+
}
|
|
32319
32882
|
return object;
|
|
32320
32883
|
};
|
|
32321
32884
|
|
|
@@ -32367,6 +32930,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32367
32930
|
* @property {string|null} [orderFeesRefunded] QueueOrderCanceledEmailRequest orderFeesRefunded
|
|
32368
32931
|
* @property {string|null} [orderTotalRefunded] QueueOrderCanceledEmailRequest orderTotalRefunded
|
|
32369
32932
|
* @property {string|null} [refundReason] QueueOrderCanceledEmailRequest refundReason
|
|
32933
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] QueueOrderCanceledEmailRequest dayIdsTime
|
|
32370
32934
|
*/
|
|
32371
32935
|
|
|
32372
32936
|
/**
|
|
@@ -32379,6 +32943,7 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32379
32943
|
*/
|
|
32380
32944
|
function QueueOrderCanceledEmailRequest(properties) {
|
|
32381
32945
|
this.orderRefundItems = [];
|
|
32946
|
+
this.dayIdsTime = [];
|
|
32382
32947
|
if (properties)
|
|
32383
32948
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
32384
32949
|
if (properties[keys[i]] != null)
|
|
@@ -32609,6 +33174,14 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32609
33174
|
*/
|
|
32610
33175
|
QueueOrderCanceledEmailRequest.prototype.refundReason = "";
|
|
32611
33176
|
|
|
33177
|
+
/**
|
|
33178
|
+
* QueueOrderCanceledEmailRequest dayIdsTime.
|
|
33179
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
33180
|
+
* @memberof QueueOrderCanceledEmailRequest
|
|
33181
|
+
* @instance
|
|
33182
|
+
*/
|
|
33183
|
+
QueueOrderCanceledEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
33184
|
+
|
|
32612
33185
|
/**
|
|
32613
33186
|
* Creates a new QueueOrderCanceledEmailRequest instance using the specified properties.
|
|
32614
33187
|
* @function create
|
|
@@ -32690,6 +33263,9 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32690
33263
|
writer.uint32(/* id 26, wireType 2 =*/210).string(message.orderTotalRefunded);
|
|
32691
33264
|
if (message.refundReason != null && Object.hasOwnProperty.call(message, "refundReason"))
|
|
32692
33265
|
writer.uint32(/* id 27, wireType 2 =*/218).string(message.refundReason);
|
|
33266
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
33267
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
33268
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 28, wireType 2 =*/226).fork()).ldelim();
|
|
32693
33269
|
return writer;
|
|
32694
33270
|
};
|
|
32695
33271
|
|
|
@@ -32810,6 +33386,11 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32810
33386
|
case 27:
|
|
32811
33387
|
message.refundReason = reader.string();
|
|
32812
33388
|
break;
|
|
33389
|
+
case 28:
|
|
33390
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
33391
|
+
message.dayIdsTime = [];
|
|
33392
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
33393
|
+
break;
|
|
32813
33394
|
default:
|
|
32814
33395
|
reader.skipType(tag & 7);
|
|
32815
33396
|
break;
|
|
@@ -32935,6 +33516,15 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
32935
33516
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
32936
33517
|
if (!$util.isString(message.refundReason))
|
|
32937
33518
|
return "refundReason: string expected";
|
|
33519
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
33520
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
33521
|
+
return "dayIdsTime: array expected";
|
|
33522
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
33523
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
33524
|
+
if (error)
|
|
33525
|
+
return "dayIdsTime." + error;
|
|
33526
|
+
}
|
|
33527
|
+
}
|
|
32938
33528
|
return null;
|
|
32939
33529
|
};
|
|
32940
33530
|
|
|
@@ -33014,6 +33604,16 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
33014
33604
|
message.orderTotalRefunded = String(object.orderTotalRefunded);
|
|
33015
33605
|
if (object.refundReason != null)
|
|
33016
33606
|
message.refundReason = String(object.refundReason);
|
|
33607
|
+
if (object.dayIdsTime) {
|
|
33608
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
33609
|
+
throw TypeError(".QueueOrderCanceledEmailRequest.dayIdsTime: array expected");
|
|
33610
|
+
message.dayIdsTime = [];
|
|
33611
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
33612
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
33613
|
+
throw TypeError(".QueueOrderCanceledEmailRequest.dayIdsTime: object expected");
|
|
33614
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
33615
|
+
}
|
|
33616
|
+
}
|
|
33017
33617
|
return message;
|
|
33018
33618
|
};
|
|
33019
33619
|
|
|
@@ -33030,8 +33630,10 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
33030
33630
|
if (!options)
|
|
33031
33631
|
options = {};
|
|
33032
33632
|
var object = {};
|
|
33033
|
-
if (options.arrays || options.defaults)
|
|
33633
|
+
if (options.arrays || options.defaults) {
|
|
33034
33634
|
object.orderRefundItems = [];
|
|
33635
|
+
object.dayIdsTime = [];
|
|
33636
|
+
}
|
|
33035
33637
|
if (options.defaults) {
|
|
33036
33638
|
object.spanContext = "";
|
|
33037
33639
|
object.toAddress = "";
|
|
@@ -33120,6 +33722,11 @@ $root.QueueOrderCanceledEmailRequest = (function() {
|
|
|
33120
33722
|
object.orderTotalRefunded = message.orderTotalRefunded;
|
|
33121
33723
|
if (message.refundReason != null && message.hasOwnProperty("refundReason"))
|
|
33122
33724
|
object.refundReason = message.refundReason;
|
|
33725
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
33726
|
+
object.dayIdsTime = [];
|
|
33727
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
33728
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
33729
|
+
}
|
|
33123
33730
|
return object;
|
|
33124
33731
|
};
|
|
33125
33732
|
|
|
@@ -33571,6 +34178,8 @@ $root.Event = (function() {
|
|
|
33571
34178
|
* @property {boolean|null} [salesBeginImmediately] Event salesBeginImmediately
|
|
33572
34179
|
* @property {boolean|null} [cancel] Event cancel
|
|
33573
34180
|
* @property {boolean|null} [taxDeduction] Event taxDeduction
|
|
34181
|
+
* @property {boolean|null} [isMultipleDays] Event isMultipleDays
|
|
34182
|
+
* @property {string|null} [totalDays] Event totalDays
|
|
33574
34183
|
*/
|
|
33575
34184
|
|
|
33576
34185
|
/**
|
|
@@ -33834,6 +34443,22 @@ $root.Event = (function() {
|
|
|
33834
34443
|
*/
|
|
33835
34444
|
Event.prototype.taxDeduction = false;
|
|
33836
34445
|
|
|
34446
|
+
/**
|
|
34447
|
+
* Event isMultipleDays.
|
|
34448
|
+
* @member {boolean} isMultipleDays
|
|
34449
|
+
* @memberof Event
|
|
34450
|
+
* @instance
|
|
34451
|
+
*/
|
|
34452
|
+
Event.prototype.isMultipleDays = false;
|
|
34453
|
+
|
|
34454
|
+
/**
|
|
34455
|
+
* Event totalDays.
|
|
34456
|
+
* @member {string} totalDays
|
|
34457
|
+
* @memberof Event
|
|
34458
|
+
* @instance
|
|
34459
|
+
*/
|
|
34460
|
+
Event.prototype.totalDays = "";
|
|
34461
|
+
|
|
33837
34462
|
/**
|
|
33838
34463
|
* Creates a new Event instance using the specified properties.
|
|
33839
34464
|
* @function create
|
|
@@ -33924,6 +34549,10 @@ $root.Event = (function() {
|
|
|
33924
34549
|
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.cancel);
|
|
33925
34550
|
if (message.taxDeduction != null && Object.hasOwnProperty.call(message, "taxDeduction"))
|
|
33926
34551
|
writer.uint32(/* id 30, wireType 0 =*/240).bool(message.taxDeduction);
|
|
34552
|
+
if (message.isMultipleDays != null && Object.hasOwnProperty.call(message, "isMultipleDays"))
|
|
34553
|
+
writer.uint32(/* id 31, wireType 0 =*/248).bool(message.isMultipleDays);
|
|
34554
|
+
if (message.totalDays != null && Object.hasOwnProperty.call(message, "totalDays"))
|
|
34555
|
+
writer.uint32(/* id 32, wireType 2 =*/258).string(message.totalDays);
|
|
33927
34556
|
return writer;
|
|
33928
34557
|
};
|
|
33929
34558
|
|
|
@@ -34060,6 +34689,12 @@ $root.Event = (function() {
|
|
|
34060
34689
|
case 30:
|
|
34061
34690
|
message.taxDeduction = reader.bool();
|
|
34062
34691
|
break;
|
|
34692
|
+
case 31:
|
|
34693
|
+
message.isMultipleDays = reader.bool();
|
|
34694
|
+
break;
|
|
34695
|
+
case 32:
|
|
34696
|
+
message.totalDays = reader.string();
|
|
34697
|
+
break;
|
|
34063
34698
|
default:
|
|
34064
34699
|
reader.skipType(tag & 7);
|
|
34065
34700
|
break;
|
|
@@ -34229,6 +34864,12 @@ $root.Event = (function() {
|
|
|
34229
34864
|
if (message.taxDeduction != null && message.hasOwnProperty("taxDeduction"))
|
|
34230
34865
|
if (typeof message.taxDeduction !== "boolean")
|
|
34231
34866
|
return "taxDeduction: boolean expected";
|
|
34867
|
+
if (message.isMultipleDays != null && message.hasOwnProperty("isMultipleDays"))
|
|
34868
|
+
if (typeof message.isMultipleDays !== "boolean")
|
|
34869
|
+
return "isMultipleDays: boolean expected";
|
|
34870
|
+
if (message.totalDays != null && message.hasOwnProperty("totalDays"))
|
|
34871
|
+
if (!$util.isString(message.totalDays))
|
|
34872
|
+
return "totalDays: string expected";
|
|
34232
34873
|
return null;
|
|
34233
34874
|
};
|
|
34234
34875
|
|
|
@@ -34364,6 +35005,10 @@ $root.Event = (function() {
|
|
|
34364
35005
|
message.cancel = Boolean(object.cancel);
|
|
34365
35006
|
if (object.taxDeduction != null)
|
|
34366
35007
|
message.taxDeduction = Boolean(object.taxDeduction);
|
|
35008
|
+
if (object.isMultipleDays != null)
|
|
35009
|
+
message.isMultipleDays = Boolean(object.isMultipleDays);
|
|
35010
|
+
if (object.totalDays != null)
|
|
35011
|
+
message.totalDays = String(object.totalDays);
|
|
34367
35012
|
return message;
|
|
34368
35013
|
};
|
|
34369
35014
|
|
|
@@ -34413,6 +35058,8 @@ $root.Event = (function() {
|
|
|
34413
35058
|
object.salesBeginImmediately = false;
|
|
34414
35059
|
object.cancel = false;
|
|
34415
35060
|
object.taxDeduction = false;
|
|
35061
|
+
object.isMultipleDays = false;
|
|
35062
|
+
object.totalDays = "";
|
|
34416
35063
|
}
|
|
34417
35064
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
34418
35065
|
object._id = message._id;
|
|
@@ -34492,6 +35139,10 @@ $root.Event = (function() {
|
|
|
34492
35139
|
object.cancel = message.cancel;
|
|
34493
35140
|
if (message.taxDeduction != null && message.hasOwnProperty("taxDeduction"))
|
|
34494
35141
|
object.taxDeduction = message.taxDeduction;
|
|
35142
|
+
if (message.isMultipleDays != null && message.hasOwnProperty("isMultipleDays"))
|
|
35143
|
+
object.isMultipleDays = message.isMultipleDays;
|
|
35144
|
+
if (message.totalDays != null && message.hasOwnProperty("totalDays"))
|
|
35145
|
+
object.totalDays = message.totalDays;
|
|
34495
35146
|
return object;
|
|
34496
35147
|
};
|
|
34497
35148
|
|
|
@@ -36338,6 +36989,7 @@ $root.PerformanceSchedule = (function() {
|
|
|
36338
36989
|
* @interface IPerformanceSchedule
|
|
36339
36990
|
* @property {number|null} [doorsAt] PerformanceSchedule doorsAt
|
|
36340
36991
|
* @property {number|null} [startsAt] PerformanceSchedule startsAt
|
|
36992
|
+
* @property {number|null} [endsAt] PerformanceSchedule endsAt
|
|
36341
36993
|
*/
|
|
36342
36994
|
|
|
36343
36995
|
/**
|
|
@@ -36371,6 +37023,14 @@ $root.PerformanceSchedule = (function() {
|
|
|
36371
37023
|
*/
|
|
36372
37024
|
PerformanceSchedule.prototype.startsAt = 0;
|
|
36373
37025
|
|
|
37026
|
+
/**
|
|
37027
|
+
* PerformanceSchedule endsAt.
|
|
37028
|
+
* @member {number} endsAt
|
|
37029
|
+
* @memberof PerformanceSchedule
|
|
37030
|
+
* @instance
|
|
37031
|
+
*/
|
|
37032
|
+
PerformanceSchedule.prototype.endsAt = 0;
|
|
37033
|
+
|
|
36374
37034
|
/**
|
|
36375
37035
|
* Creates a new PerformanceSchedule instance using the specified properties.
|
|
36376
37036
|
* @function create
|
|
@@ -36399,6 +37059,8 @@ $root.PerformanceSchedule = (function() {
|
|
|
36399
37059
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.doorsAt);
|
|
36400
37060
|
if (message.startsAt != null && Object.hasOwnProperty.call(message, "startsAt"))
|
|
36401
37061
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.startsAt);
|
|
37062
|
+
if (message.endsAt != null && Object.hasOwnProperty.call(message, "endsAt"))
|
|
37063
|
+
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.endsAt);
|
|
36402
37064
|
return writer;
|
|
36403
37065
|
};
|
|
36404
37066
|
|
|
@@ -36439,6 +37101,9 @@ $root.PerformanceSchedule = (function() {
|
|
|
36439
37101
|
case 2:
|
|
36440
37102
|
message.startsAt = reader.int32();
|
|
36441
37103
|
break;
|
|
37104
|
+
case 3:
|
|
37105
|
+
message.endsAt = reader.int32();
|
|
37106
|
+
break;
|
|
36442
37107
|
default:
|
|
36443
37108
|
reader.skipType(tag & 7);
|
|
36444
37109
|
break;
|
|
@@ -36480,6 +37145,9 @@ $root.PerformanceSchedule = (function() {
|
|
|
36480
37145
|
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
36481
37146
|
if (!$util.isInteger(message.startsAt))
|
|
36482
37147
|
return "startsAt: integer expected";
|
|
37148
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
37149
|
+
if (!$util.isInteger(message.endsAt))
|
|
37150
|
+
return "endsAt: integer expected";
|
|
36483
37151
|
return null;
|
|
36484
37152
|
};
|
|
36485
37153
|
|
|
@@ -36499,6 +37167,8 @@ $root.PerformanceSchedule = (function() {
|
|
|
36499
37167
|
message.doorsAt = object.doorsAt | 0;
|
|
36500
37168
|
if (object.startsAt != null)
|
|
36501
37169
|
message.startsAt = object.startsAt | 0;
|
|
37170
|
+
if (object.endsAt != null)
|
|
37171
|
+
message.endsAt = object.endsAt | 0;
|
|
36502
37172
|
return message;
|
|
36503
37173
|
};
|
|
36504
37174
|
|
|
@@ -36518,11 +37188,14 @@ $root.PerformanceSchedule = (function() {
|
|
|
36518
37188
|
if (options.defaults) {
|
|
36519
37189
|
object.doorsAt = 0;
|
|
36520
37190
|
object.startsAt = 0;
|
|
37191
|
+
object.endsAt = 0;
|
|
36521
37192
|
}
|
|
36522
37193
|
if (message.doorsAt != null && message.hasOwnProperty("doorsAt"))
|
|
36523
37194
|
object.doorsAt = message.doorsAt;
|
|
36524
37195
|
if (message.startsAt != null && message.hasOwnProperty("startsAt"))
|
|
36525
37196
|
object.startsAt = message.startsAt;
|
|
37197
|
+
if (message.endsAt != null && message.hasOwnProperty("endsAt"))
|
|
37198
|
+
object.endsAt = message.endsAt;
|
|
36526
37199
|
return object;
|
|
36527
37200
|
};
|
|
36528
37201
|
|
|
@@ -36555,7 +37228,7 @@ $root.Performance = (function() {
|
|
|
36555
37228
|
* @property {string|null} [posterImageUrl] Performance posterImageUrl
|
|
36556
37229
|
* @property {string|null} [videoLink] Performance videoLink
|
|
36557
37230
|
* @property {string|null} [songLink] Performance songLink
|
|
36558
|
-
* @property {IPerformanceSchedule
|
|
37231
|
+
* @property {Array.<IPerformanceSchedule>|null} [schedule] Performance schedule
|
|
36559
37232
|
*/
|
|
36560
37233
|
|
|
36561
37234
|
/**
|
|
@@ -36569,6 +37242,7 @@ $root.Performance = (function() {
|
|
|
36569
37242
|
function Performance(properties) {
|
|
36570
37243
|
this.headliningArtistIds = [];
|
|
36571
37244
|
this.openingArtistIds = [];
|
|
37245
|
+
this.schedule = [];
|
|
36572
37246
|
if (properties)
|
|
36573
37247
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
36574
37248
|
if (properties[keys[i]] != null)
|
|
@@ -36649,11 +37323,11 @@ $root.Performance = (function() {
|
|
|
36649
37323
|
|
|
36650
37324
|
/**
|
|
36651
37325
|
* Performance schedule.
|
|
36652
|
-
* @member {IPerformanceSchedule
|
|
37326
|
+
* @member {Array.<IPerformanceSchedule>} schedule
|
|
36653
37327
|
* @memberof Performance
|
|
36654
37328
|
* @instance
|
|
36655
37329
|
*/
|
|
36656
|
-
Performance.prototype.schedule =
|
|
37330
|
+
Performance.prototype.schedule = $util.emptyArray;
|
|
36657
37331
|
|
|
36658
37332
|
/**
|
|
36659
37333
|
* Creates a new Performance instance using the specified properties.
|
|
@@ -36699,8 +37373,9 @@ $root.Performance = (function() {
|
|
|
36699
37373
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.videoLink);
|
|
36700
37374
|
if (message.songLink != null && Object.hasOwnProperty.call(message, "songLink"))
|
|
36701
37375
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.songLink);
|
|
36702
|
-
if (message.schedule != null &&
|
|
36703
|
-
|
|
37376
|
+
if (message.schedule != null && message.schedule.length)
|
|
37377
|
+
for (var i = 0; i < message.schedule.length; ++i)
|
|
37378
|
+
$root.PerformanceSchedule.encode(message.schedule[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
36704
37379
|
return writer;
|
|
36705
37380
|
};
|
|
36706
37381
|
|
|
@@ -36767,7 +37442,9 @@ $root.Performance = (function() {
|
|
|
36767
37442
|
message.songLink = reader.string();
|
|
36768
37443
|
break;
|
|
36769
37444
|
case 10:
|
|
36770
|
-
message.schedule
|
|
37445
|
+
if (!(message.schedule && message.schedule.length))
|
|
37446
|
+
message.schedule = [];
|
|
37447
|
+
message.schedule.push($root.PerformanceSchedule.decode(reader, reader.uint32()));
|
|
36771
37448
|
break;
|
|
36772
37449
|
default:
|
|
36773
37450
|
reader.skipType(tag & 7);
|
|
@@ -36840,9 +37517,13 @@ $root.Performance = (function() {
|
|
|
36840
37517
|
if (!$util.isString(message.songLink))
|
|
36841
37518
|
return "songLink: string expected";
|
|
36842
37519
|
if (message.schedule != null && message.hasOwnProperty("schedule")) {
|
|
36843
|
-
|
|
36844
|
-
|
|
36845
|
-
|
|
37520
|
+
if (!Array.isArray(message.schedule))
|
|
37521
|
+
return "schedule: array expected";
|
|
37522
|
+
for (var i = 0; i < message.schedule.length; ++i) {
|
|
37523
|
+
var error = $root.PerformanceSchedule.verify(message.schedule[i]);
|
|
37524
|
+
if (error)
|
|
37525
|
+
return "schedule." + error;
|
|
37526
|
+
}
|
|
36846
37527
|
}
|
|
36847
37528
|
return null;
|
|
36848
37529
|
};
|
|
@@ -36887,10 +37568,15 @@ $root.Performance = (function() {
|
|
|
36887
37568
|
message.videoLink = String(object.videoLink);
|
|
36888
37569
|
if (object.songLink != null)
|
|
36889
37570
|
message.songLink = String(object.songLink);
|
|
36890
|
-
if (object.schedule
|
|
36891
|
-
if (
|
|
36892
|
-
throw TypeError(".Performance.schedule:
|
|
36893
|
-
message.schedule =
|
|
37571
|
+
if (object.schedule) {
|
|
37572
|
+
if (!Array.isArray(object.schedule))
|
|
37573
|
+
throw TypeError(".Performance.schedule: array expected");
|
|
37574
|
+
message.schedule = [];
|
|
37575
|
+
for (var i = 0; i < object.schedule.length; ++i) {
|
|
37576
|
+
if (typeof object.schedule[i] !== "object")
|
|
37577
|
+
throw TypeError(".Performance.schedule: object expected");
|
|
37578
|
+
message.schedule[i] = $root.PerformanceSchedule.fromObject(object.schedule[i]);
|
|
37579
|
+
}
|
|
36894
37580
|
}
|
|
36895
37581
|
return message;
|
|
36896
37582
|
};
|
|
@@ -36911,6 +37597,7 @@ $root.Performance = (function() {
|
|
|
36911
37597
|
if (options.arrays || options.defaults) {
|
|
36912
37598
|
object.headliningArtistIds = [];
|
|
36913
37599
|
object.openingArtistIds = [];
|
|
37600
|
+
object.schedule = [];
|
|
36914
37601
|
}
|
|
36915
37602
|
if (options.defaults) {
|
|
36916
37603
|
object._id = "";
|
|
@@ -36920,7 +37607,6 @@ $root.Performance = (function() {
|
|
|
36920
37607
|
object.posterImageUrl = "";
|
|
36921
37608
|
object.videoLink = "";
|
|
36922
37609
|
object.songLink = "";
|
|
36923
|
-
object.schedule = null;
|
|
36924
37610
|
}
|
|
36925
37611
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
36926
37612
|
object._id = message._id;
|
|
@@ -36946,8 +37632,11 @@ $root.Performance = (function() {
|
|
|
36946
37632
|
object.videoLink = message.videoLink;
|
|
36947
37633
|
if (message.songLink != null && message.hasOwnProperty("songLink"))
|
|
36948
37634
|
object.songLink = message.songLink;
|
|
36949
|
-
if (message.schedule
|
|
36950
|
-
object.schedule =
|
|
37635
|
+
if (message.schedule && message.schedule.length) {
|
|
37636
|
+
object.schedule = [];
|
|
37637
|
+
for (var j = 0; j < message.schedule.length; ++j)
|
|
37638
|
+
object.schedule[j] = $root.PerformanceSchedule.toObject(message.schedule[j], options);
|
|
37639
|
+
}
|
|
36951
37640
|
return object;
|
|
36952
37641
|
};
|
|
36953
37642
|
|
|
@@ -36983,6 +37672,7 @@ $root.TicketType = (function() {
|
|
|
36983
37672
|
* @property {boolean|null} [rollFees] TicketType rollFees
|
|
36984
37673
|
* @property {string|null} [promo] TicketType promo
|
|
36985
37674
|
* @property {string|null} [values] TicketType values
|
|
37675
|
+
* @property {Array.<string>|null} [dayIds] TicketType dayIds
|
|
36986
37676
|
*/
|
|
36987
37677
|
|
|
36988
37678
|
/**
|
|
@@ -36996,6 +37686,7 @@ $root.TicketType = (function() {
|
|
|
36996
37686
|
function TicketType(properties) {
|
|
36997
37687
|
this.performanceIds = [];
|
|
36998
37688
|
this.tiers = [];
|
|
37689
|
+
this.dayIds = [];
|
|
36999
37690
|
if (properties)
|
|
37000
37691
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
37001
37692
|
if (properties[keys[i]] != null)
|
|
@@ -37098,6 +37789,14 @@ $root.TicketType = (function() {
|
|
|
37098
37789
|
*/
|
|
37099
37790
|
TicketType.prototype.values = "";
|
|
37100
37791
|
|
|
37792
|
+
/**
|
|
37793
|
+
* TicketType dayIds.
|
|
37794
|
+
* @member {Array.<string>} dayIds
|
|
37795
|
+
* @memberof TicketType
|
|
37796
|
+
* @instance
|
|
37797
|
+
*/
|
|
37798
|
+
TicketType.prototype.dayIds = $util.emptyArray;
|
|
37799
|
+
|
|
37101
37800
|
/**
|
|
37102
37801
|
* Creates a new TicketType instance using the specified properties.
|
|
37103
37802
|
* @function create
|
|
@@ -37148,6 +37847,9 @@ $root.TicketType = (function() {
|
|
|
37148
37847
|
writer.uint32(/* id 11, wireType 2 =*/90).string(message.promo);
|
|
37149
37848
|
if (message.values != null && Object.hasOwnProperty.call(message, "values"))
|
|
37150
37849
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.values);
|
|
37850
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
37851
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
37852
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.dayIds[i]);
|
|
37151
37853
|
return writer;
|
|
37152
37854
|
};
|
|
37153
37855
|
|
|
@@ -37222,6 +37924,11 @@ $root.TicketType = (function() {
|
|
|
37222
37924
|
case 12:
|
|
37223
37925
|
message.values = reader.string();
|
|
37224
37926
|
break;
|
|
37927
|
+
case 13:
|
|
37928
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
37929
|
+
message.dayIds = [];
|
|
37930
|
+
message.dayIds.push(reader.string());
|
|
37931
|
+
break;
|
|
37225
37932
|
default:
|
|
37226
37933
|
reader.skipType(tag & 7);
|
|
37227
37934
|
break;
|
|
@@ -37303,6 +38010,13 @@ $root.TicketType = (function() {
|
|
|
37303
38010
|
if (message.values != null && message.hasOwnProperty("values"))
|
|
37304
38011
|
if (!$util.isString(message.values))
|
|
37305
38012
|
return "values: string expected";
|
|
38013
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
38014
|
+
if (!Array.isArray(message.dayIds))
|
|
38015
|
+
return "dayIds: array expected";
|
|
38016
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
38017
|
+
if (!$util.isString(message.dayIds[i]))
|
|
38018
|
+
return "dayIds: string[] expected";
|
|
38019
|
+
}
|
|
37306
38020
|
return null;
|
|
37307
38021
|
};
|
|
37308
38022
|
|
|
@@ -37355,6 +38069,13 @@ $root.TicketType = (function() {
|
|
|
37355
38069
|
message.promo = String(object.promo);
|
|
37356
38070
|
if (object.values != null)
|
|
37357
38071
|
message.values = String(object.values);
|
|
38072
|
+
if (object.dayIds) {
|
|
38073
|
+
if (!Array.isArray(object.dayIds))
|
|
38074
|
+
throw TypeError(".TicketType.dayIds: array expected");
|
|
38075
|
+
message.dayIds = [];
|
|
38076
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
38077
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
38078
|
+
}
|
|
37358
38079
|
return message;
|
|
37359
38080
|
};
|
|
37360
38081
|
|
|
@@ -37374,6 +38095,7 @@ $root.TicketType = (function() {
|
|
|
37374
38095
|
if (options.arrays || options.defaults) {
|
|
37375
38096
|
object.performanceIds = [];
|
|
37376
38097
|
object.tiers = [];
|
|
38098
|
+
object.dayIds = [];
|
|
37377
38099
|
}
|
|
37378
38100
|
if (options.defaults) {
|
|
37379
38101
|
object._id = "";
|
|
@@ -37417,6 +38139,11 @@ $root.TicketType = (function() {
|
|
|
37417
38139
|
object.promo = message.promo;
|
|
37418
38140
|
if (message.values != null && message.hasOwnProperty("values"))
|
|
37419
38141
|
object.values = message.values;
|
|
38142
|
+
if (message.dayIds && message.dayIds.length) {
|
|
38143
|
+
object.dayIds = [];
|
|
38144
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
38145
|
+
object.dayIds[j] = message.dayIds[j];
|
|
38146
|
+
}
|
|
37420
38147
|
return object;
|
|
37421
38148
|
};
|
|
37422
38149
|
|
|
@@ -98107,6 +98834,7 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98107
98834
|
* @property {string|null} [spanContext] UserPhoneAuthenticationRequest spanContext
|
|
98108
98835
|
* @property {string|null} [email] UserPhoneAuthenticationRequest email
|
|
98109
98836
|
* @property {string|null} [phoneNumber] UserPhoneAuthenticationRequest phoneNumber
|
|
98837
|
+
* @property {boolean|null} [isLogin] UserPhoneAuthenticationRequest isLogin
|
|
98110
98838
|
*/
|
|
98111
98839
|
|
|
98112
98840
|
/**
|
|
@@ -98148,6 +98876,14 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98148
98876
|
*/
|
|
98149
98877
|
UserPhoneAuthenticationRequest.prototype.phoneNumber = "";
|
|
98150
98878
|
|
|
98879
|
+
/**
|
|
98880
|
+
* UserPhoneAuthenticationRequest isLogin.
|
|
98881
|
+
* @member {boolean} isLogin
|
|
98882
|
+
* @memberof UserPhoneAuthenticationRequest
|
|
98883
|
+
* @instance
|
|
98884
|
+
*/
|
|
98885
|
+
UserPhoneAuthenticationRequest.prototype.isLogin = false;
|
|
98886
|
+
|
|
98151
98887
|
/**
|
|
98152
98888
|
* Creates a new UserPhoneAuthenticationRequest instance using the specified properties.
|
|
98153
98889
|
* @function create
|
|
@@ -98178,6 +98914,8 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98178
98914
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.email);
|
|
98179
98915
|
if (message.phoneNumber != null && Object.hasOwnProperty.call(message, "phoneNumber"))
|
|
98180
98916
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.phoneNumber);
|
|
98917
|
+
if (message.isLogin != null && Object.hasOwnProperty.call(message, "isLogin"))
|
|
98918
|
+
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isLogin);
|
|
98181
98919
|
return writer;
|
|
98182
98920
|
};
|
|
98183
98921
|
|
|
@@ -98221,6 +98959,9 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98221
98959
|
case 2:
|
|
98222
98960
|
message.phoneNumber = reader.string();
|
|
98223
98961
|
break;
|
|
98962
|
+
case 3:
|
|
98963
|
+
message.isLogin = reader.bool();
|
|
98964
|
+
break;
|
|
98224
98965
|
default:
|
|
98225
98966
|
reader.skipType(tag & 7);
|
|
98226
98967
|
break;
|
|
@@ -98265,6 +99006,9 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98265
99006
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
98266
99007
|
if (!$util.isString(message.phoneNumber))
|
|
98267
99008
|
return "phoneNumber: string expected";
|
|
99009
|
+
if (message.isLogin != null && message.hasOwnProperty("isLogin"))
|
|
99010
|
+
if (typeof message.isLogin !== "boolean")
|
|
99011
|
+
return "isLogin: boolean expected";
|
|
98268
99012
|
return null;
|
|
98269
99013
|
};
|
|
98270
99014
|
|
|
@@ -98286,6 +99030,8 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98286
99030
|
message.email = String(object.email);
|
|
98287
99031
|
if (object.phoneNumber != null)
|
|
98288
99032
|
message.phoneNumber = String(object.phoneNumber);
|
|
99033
|
+
if (object.isLogin != null)
|
|
99034
|
+
message.isLogin = Boolean(object.isLogin);
|
|
98289
99035
|
return message;
|
|
98290
99036
|
};
|
|
98291
99037
|
|
|
@@ -98306,6 +99052,7 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98306
99052
|
object.spanContext = "";
|
|
98307
99053
|
object.email = "";
|
|
98308
99054
|
object.phoneNumber = "";
|
|
99055
|
+
object.isLogin = false;
|
|
98309
99056
|
}
|
|
98310
99057
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
98311
99058
|
object.spanContext = message.spanContext;
|
|
@@ -98313,6 +99060,8 @@ $root.UserPhoneAuthenticationRequest = (function() {
|
|
|
98313
99060
|
object.email = message.email;
|
|
98314
99061
|
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
98315
99062
|
object.phoneNumber = message.phoneNumber;
|
|
99063
|
+
if (message.isLogin != null && message.hasOwnProperty("isLogin"))
|
|
99064
|
+
object.isLogin = message.isLogin;
|
|
98316
99065
|
return object;
|
|
98317
99066
|
};
|
|
98318
99067
|
|