@sellout/models 0.0.279 → 0.0.281
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 +1 -0
- package/.dist/graphql/fragments/event.fragment.js.map +1 -1
- package/.dist/graphql/mutations/createEvent.mutation.js +3 -0
- package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/duplicateEvent.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/duplicateEvent.mutation.js +86 -0
- package/.dist/graphql/mutations/duplicateEvent.mutation.js.map +1 -0
- package/.dist/interfaces/IEvent.d.ts +1 -0
- package/.dist/sellout-proto.js +1139 -7
- package/.dist/utils/PaymentUtil.js +1 -0
- package/.dist/utils/PaymentUtil.js.map +1 -1
- package/package.json +3 -3
- package/src/graphql/fragments/event.fragment.ts +1 -0
- package/src/graphql/mutations/createEvent.mutation.ts +3 -0
- package/src/graphql/mutations/duplicateEvent.mutation.ts +82 -0
- package/src/interfaces/IEvent.ts +1 -0
- package/src/proto/broadcast.proto +4 -1
- package/src/proto/email.proto +13 -0
- package/src/proto/event.proto +24 -1
- package/src/utils/PaymentUtil.ts +365 -0
package/.dist/sellout-proto.js
CHANGED
|
@@ -9877,6 +9877,8 @@ $root.Broadcast = (function() {
|
|
|
9877
9877
|
* @property {string|null} [orgId] EventCreatedNotification orgId
|
|
9878
9878
|
* @property {string|null} [eventId] EventCreatedNotification eventId
|
|
9879
9879
|
* @property {string|null} [seasonId] EventCreatedNotification seasonId
|
|
9880
|
+
* @property {string|null} [duplicateEventId] EventCreatedNotification duplicateEventId
|
|
9881
|
+
* @property {string|null} [duplicateFeeId] EventCreatedNotification duplicateFeeId
|
|
9880
9882
|
*/
|
|
9881
9883
|
|
|
9882
9884
|
/**
|
|
@@ -9926,6 +9928,22 @@ $root.Broadcast = (function() {
|
|
|
9926
9928
|
*/
|
|
9927
9929
|
EventCreatedNotification.prototype.seasonId = "";
|
|
9928
9930
|
|
|
9931
|
+
/**
|
|
9932
|
+
* EventCreatedNotification duplicateEventId.
|
|
9933
|
+
* @member {string} duplicateEventId
|
|
9934
|
+
* @memberof Broadcast.EventCreatedNotification
|
|
9935
|
+
* @instance
|
|
9936
|
+
*/
|
|
9937
|
+
EventCreatedNotification.prototype.duplicateEventId = "";
|
|
9938
|
+
|
|
9939
|
+
/**
|
|
9940
|
+
* EventCreatedNotification duplicateFeeId.
|
|
9941
|
+
* @member {string} duplicateFeeId
|
|
9942
|
+
* @memberof Broadcast.EventCreatedNotification
|
|
9943
|
+
* @instance
|
|
9944
|
+
*/
|
|
9945
|
+
EventCreatedNotification.prototype.duplicateFeeId = "";
|
|
9946
|
+
|
|
9929
9947
|
/**
|
|
9930
9948
|
* Creates a new EventCreatedNotification instance using the specified properties.
|
|
9931
9949
|
* @function create
|
|
@@ -9958,6 +9976,10 @@ $root.Broadcast = (function() {
|
|
|
9958
9976
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.eventId);
|
|
9959
9977
|
if (message.seasonId != null && Object.hasOwnProperty.call(message, "seasonId"))
|
|
9960
9978
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.seasonId);
|
|
9979
|
+
if (message.duplicateEventId != null && Object.hasOwnProperty.call(message, "duplicateEventId"))
|
|
9980
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.duplicateEventId);
|
|
9981
|
+
if (message.duplicateFeeId != null && Object.hasOwnProperty.call(message, "duplicateFeeId"))
|
|
9982
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.duplicateFeeId);
|
|
9961
9983
|
return writer;
|
|
9962
9984
|
};
|
|
9963
9985
|
|
|
@@ -10004,6 +10026,12 @@ $root.Broadcast = (function() {
|
|
|
10004
10026
|
case 3:
|
|
10005
10027
|
message.seasonId = reader.string();
|
|
10006
10028
|
break;
|
|
10029
|
+
case 4:
|
|
10030
|
+
message.duplicateEventId = reader.string();
|
|
10031
|
+
break;
|
|
10032
|
+
case 5:
|
|
10033
|
+
message.duplicateFeeId = reader.string();
|
|
10034
|
+
break;
|
|
10007
10035
|
default:
|
|
10008
10036
|
reader.skipType(tag & 7);
|
|
10009
10037
|
break;
|
|
@@ -10051,6 +10079,12 @@ $root.Broadcast = (function() {
|
|
|
10051
10079
|
if (message.seasonId != null && message.hasOwnProperty("seasonId"))
|
|
10052
10080
|
if (!$util.isString(message.seasonId))
|
|
10053
10081
|
return "seasonId: string expected";
|
|
10082
|
+
if (message.duplicateEventId != null && message.hasOwnProperty("duplicateEventId"))
|
|
10083
|
+
if (!$util.isString(message.duplicateEventId))
|
|
10084
|
+
return "duplicateEventId: string expected";
|
|
10085
|
+
if (message.duplicateFeeId != null && message.hasOwnProperty("duplicateFeeId"))
|
|
10086
|
+
if (!$util.isString(message.duplicateFeeId))
|
|
10087
|
+
return "duplicateFeeId: string expected";
|
|
10054
10088
|
return null;
|
|
10055
10089
|
};
|
|
10056
10090
|
|
|
@@ -10074,6 +10108,10 @@ $root.Broadcast = (function() {
|
|
|
10074
10108
|
message.eventId = String(object.eventId);
|
|
10075
10109
|
if (object.seasonId != null)
|
|
10076
10110
|
message.seasonId = String(object.seasonId);
|
|
10111
|
+
if (object.duplicateEventId != null)
|
|
10112
|
+
message.duplicateEventId = String(object.duplicateEventId);
|
|
10113
|
+
if (object.duplicateFeeId != null)
|
|
10114
|
+
message.duplicateFeeId = String(object.duplicateFeeId);
|
|
10077
10115
|
return message;
|
|
10078
10116
|
};
|
|
10079
10117
|
|
|
@@ -10095,6 +10133,8 @@ $root.Broadcast = (function() {
|
|
|
10095
10133
|
object.orgId = "";
|
|
10096
10134
|
object.eventId = "";
|
|
10097
10135
|
object.seasonId = "";
|
|
10136
|
+
object.duplicateEventId = "";
|
|
10137
|
+
object.duplicateFeeId = "";
|
|
10098
10138
|
}
|
|
10099
10139
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
10100
10140
|
object.spanContext = message.spanContext;
|
|
@@ -10104,6 +10144,10 @@ $root.Broadcast = (function() {
|
|
|
10104
10144
|
object.eventId = message.eventId;
|
|
10105
10145
|
if (message.seasonId != null && message.hasOwnProperty("seasonId"))
|
|
10106
10146
|
object.seasonId = message.seasonId;
|
|
10147
|
+
if (message.duplicateEventId != null && message.hasOwnProperty("duplicateEventId"))
|
|
10148
|
+
object.duplicateEventId = message.duplicateEventId;
|
|
10149
|
+
if (message.duplicateFeeId != null && message.hasOwnProperty("duplicateFeeId"))
|
|
10150
|
+
object.duplicateFeeId = message.duplicateFeeId;
|
|
10107
10151
|
return object;
|
|
10108
10152
|
};
|
|
10109
10153
|
|
|
@@ -12627,6 +12671,39 @@ $root.Broadcast = (function() {
|
|
|
12627
12671
|
* @variation 2
|
|
12628
12672
|
*/
|
|
12629
12673
|
|
|
12674
|
+
/**
|
|
12675
|
+
* Callback as used by {@link Broadcast.Publisher#duplicateEventCreated}.
|
|
12676
|
+
* @memberof Broadcast.Publisher
|
|
12677
|
+
* @typedef duplicateEventCreatedCallback
|
|
12678
|
+
* @type {function}
|
|
12679
|
+
* @param {Error|null} error Error, if any
|
|
12680
|
+
* @param {google.protobuf.Empty} [response] Empty
|
|
12681
|
+
*/
|
|
12682
|
+
|
|
12683
|
+
/**
|
|
12684
|
+
* Calls duplicateEventCreated.
|
|
12685
|
+
* @function duplicateEventCreated
|
|
12686
|
+
* @memberof Broadcast.Publisher
|
|
12687
|
+
* @instance
|
|
12688
|
+
* @param {Broadcast.IEventCreatedNotification} request EventCreatedNotification message or plain object
|
|
12689
|
+
* @param {Broadcast.Publisher.duplicateEventCreatedCallback} callback Node-style callback called with the error, if any, and Empty
|
|
12690
|
+
* @returns {undefined}
|
|
12691
|
+
* @variation 1
|
|
12692
|
+
*/
|
|
12693
|
+
Object.defineProperty(Publisher.prototype.duplicateEventCreated = function duplicateEventCreated(request, callback) {
|
|
12694
|
+
return this.rpcCall(duplicateEventCreated, $root.Broadcast.EventCreatedNotification, $root.google.protobuf.Empty, request, callback);
|
|
12695
|
+
}, "name", { value: "duplicateEventCreated" });
|
|
12696
|
+
|
|
12697
|
+
/**
|
|
12698
|
+
* Calls duplicateEventCreated.
|
|
12699
|
+
* @function duplicateEventCreated
|
|
12700
|
+
* @memberof Broadcast.Publisher
|
|
12701
|
+
* @instance
|
|
12702
|
+
* @param {Broadcast.IEventCreatedNotification} request EventCreatedNotification message or plain object
|
|
12703
|
+
* @returns {Promise<google.protobuf.Empty>} Promise
|
|
12704
|
+
* @variation 2
|
|
12705
|
+
*/
|
|
12706
|
+
|
|
12630
12707
|
/**
|
|
12631
12708
|
* Callback as used by {@link Broadcast.Publisher#seasonCreated}.
|
|
12632
12709
|
* @memberof Broadcast.Publisher
|
|
@@ -40373,6 +40450,216 @@ $root.dayIdsTimeObj = (function() {
|
|
|
40373
40450
|
return dayIdsTimeObj;
|
|
40374
40451
|
})();
|
|
40375
40452
|
|
|
40453
|
+
$root.PromoterFeeObj = (function() {
|
|
40454
|
+
|
|
40455
|
+
/**
|
|
40456
|
+
* Properties of a PromoterFeeObj.
|
|
40457
|
+
* @exports IPromoterFeeObj
|
|
40458
|
+
* @interface IPromoterFeeObj
|
|
40459
|
+
* @property {string|null} [name] PromoterFeeObj name
|
|
40460
|
+
* @property {string|null} [amount] PromoterFeeObj amount
|
|
40461
|
+
*/
|
|
40462
|
+
|
|
40463
|
+
/**
|
|
40464
|
+
* Constructs a new PromoterFeeObj.
|
|
40465
|
+
* @exports PromoterFeeObj
|
|
40466
|
+
* @classdesc Represents a PromoterFeeObj.
|
|
40467
|
+
* @implements IPromoterFeeObj
|
|
40468
|
+
* @constructor
|
|
40469
|
+
* @param {IPromoterFeeObj=} [properties] Properties to set
|
|
40470
|
+
*/
|
|
40471
|
+
function PromoterFeeObj(properties) {
|
|
40472
|
+
if (properties)
|
|
40473
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
40474
|
+
if (properties[keys[i]] != null)
|
|
40475
|
+
this[keys[i]] = properties[keys[i]];
|
|
40476
|
+
}
|
|
40477
|
+
|
|
40478
|
+
/**
|
|
40479
|
+
* PromoterFeeObj name.
|
|
40480
|
+
* @member {string} name
|
|
40481
|
+
* @memberof PromoterFeeObj
|
|
40482
|
+
* @instance
|
|
40483
|
+
*/
|
|
40484
|
+
PromoterFeeObj.prototype.name = "";
|
|
40485
|
+
|
|
40486
|
+
/**
|
|
40487
|
+
* PromoterFeeObj amount.
|
|
40488
|
+
* @member {string} amount
|
|
40489
|
+
* @memberof PromoterFeeObj
|
|
40490
|
+
* @instance
|
|
40491
|
+
*/
|
|
40492
|
+
PromoterFeeObj.prototype.amount = "";
|
|
40493
|
+
|
|
40494
|
+
/**
|
|
40495
|
+
* Creates a new PromoterFeeObj instance using the specified properties.
|
|
40496
|
+
* @function create
|
|
40497
|
+
* @memberof PromoterFeeObj
|
|
40498
|
+
* @static
|
|
40499
|
+
* @param {IPromoterFeeObj=} [properties] Properties to set
|
|
40500
|
+
* @returns {PromoterFeeObj} PromoterFeeObj instance
|
|
40501
|
+
*/
|
|
40502
|
+
PromoterFeeObj.create = function create(properties) {
|
|
40503
|
+
return new PromoterFeeObj(properties);
|
|
40504
|
+
};
|
|
40505
|
+
|
|
40506
|
+
/**
|
|
40507
|
+
* Encodes the specified PromoterFeeObj message. Does not implicitly {@link PromoterFeeObj.verify|verify} messages.
|
|
40508
|
+
* @function encode
|
|
40509
|
+
* @memberof PromoterFeeObj
|
|
40510
|
+
* @static
|
|
40511
|
+
* @param {IPromoterFeeObj} message PromoterFeeObj message or plain object to encode
|
|
40512
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
40513
|
+
* @returns {$protobuf.Writer} Writer
|
|
40514
|
+
*/
|
|
40515
|
+
PromoterFeeObj.encode = function encode(message, writer) {
|
|
40516
|
+
if (!writer)
|
|
40517
|
+
writer = $Writer.create();
|
|
40518
|
+
if (message.name != null && Object.hasOwnProperty.call(message, "name"))
|
|
40519
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message.name);
|
|
40520
|
+
if (message.amount != null && Object.hasOwnProperty.call(message, "amount"))
|
|
40521
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.amount);
|
|
40522
|
+
return writer;
|
|
40523
|
+
};
|
|
40524
|
+
|
|
40525
|
+
/**
|
|
40526
|
+
* Encodes the specified PromoterFeeObj message, length delimited. Does not implicitly {@link PromoterFeeObj.verify|verify} messages.
|
|
40527
|
+
* @function encodeDelimited
|
|
40528
|
+
* @memberof PromoterFeeObj
|
|
40529
|
+
* @static
|
|
40530
|
+
* @param {IPromoterFeeObj} message PromoterFeeObj message or plain object to encode
|
|
40531
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
40532
|
+
* @returns {$protobuf.Writer} Writer
|
|
40533
|
+
*/
|
|
40534
|
+
PromoterFeeObj.encodeDelimited = function encodeDelimited(message, writer) {
|
|
40535
|
+
return this.encode(message, writer).ldelim();
|
|
40536
|
+
};
|
|
40537
|
+
|
|
40538
|
+
/**
|
|
40539
|
+
* Decodes a PromoterFeeObj message from the specified reader or buffer.
|
|
40540
|
+
* @function decode
|
|
40541
|
+
* @memberof PromoterFeeObj
|
|
40542
|
+
* @static
|
|
40543
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
40544
|
+
* @param {number} [length] Message length if known beforehand
|
|
40545
|
+
* @returns {PromoterFeeObj} PromoterFeeObj
|
|
40546
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40547
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40548
|
+
*/
|
|
40549
|
+
PromoterFeeObj.decode = function decode(reader, length) {
|
|
40550
|
+
if (!(reader instanceof $Reader))
|
|
40551
|
+
reader = $Reader.create(reader);
|
|
40552
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.PromoterFeeObj();
|
|
40553
|
+
while (reader.pos < end) {
|
|
40554
|
+
var tag = reader.uint32();
|
|
40555
|
+
switch (tag >>> 3) {
|
|
40556
|
+
case 0:
|
|
40557
|
+
message.name = reader.string();
|
|
40558
|
+
break;
|
|
40559
|
+
case 1:
|
|
40560
|
+
message.amount = reader.string();
|
|
40561
|
+
break;
|
|
40562
|
+
default:
|
|
40563
|
+
reader.skipType(tag & 7);
|
|
40564
|
+
break;
|
|
40565
|
+
}
|
|
40566
|
+
}
|
|
40567
|
+
return message;
|
|
40568
|
+
};
|
|
40569
|
+
|
|
40570
|
+
/**
|
|
40571
|
+
* Decodes a PromoterFeeObj message from the specified reader or buffer, length delimited.
|
|
40572
|
+
* @function decodeDelimited
|
|
40573
|
+
* @memberof PromoterFeeObj
|
|
40574
|
+
* @static
|
|
40575
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
40576
|
+
* @returns {PromoterFeeObj} PromoterFeeObj
|
|
40577
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
40578
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
40579
|
+
*/
|
|
40580
|
+
PromoterFeeObj.decodeDelimited = function decodeDelimited(reader) {
|
|
40581
|
+
if (!(reader instanceof $Reader))
|
|
40582
|
+
reader = new $Reader(reader);
|
|
40583
|
+
return this.decode(reader, reader.uint32());
|
|
40584
|
+
};
|
|
40585
|
+
|
|
40586
|
+
/**
|
|
40587
|
+
* Verifies a PromoterFeeObj message.
|
|
40588
|
+
* @function verify
|
|
40589
|
+
* @memberof PromoterFeeObj
|
|
40590
|
+
* @static
|
|
40591
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
40592
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
40593
|
+
*/
|
|
40594
|
+
PromoterFeeObj.verify = function verify(message) {
|
|
40595
|
+
if (typeof message !== "object" || message === null)
|
|
40596
|
+
return "object expected";
|
|
40597
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
40598
|
+
if (!$util.isString(message.name))
|
|
40599
|
+
return "name: string expected";
|
|
40600
|
+
if (message.amount != null && message.hasOwnProperty("amount"))
|
|
40601
|
+
if (!$util.isString(message.amount))
|
|
40602
|
+
return "amount: string expected";
|
|
40603
|
+
return null;
|
|
40604
|
+
};
|
|
40605
|
+
|
|
40606
|
+
/**
|
|
40607
|
+
* Creates a PromoterFeeObj message from a plain object. Also converts values to their respective internal types.
|
|
40608
|
+
* @function fromObject
|
|
40609
|
+
* @memberof PromoterFeeObj
|
|
40610
|
+
* @static
|
|
40611
|
+
* @param {Object.<string,*>} object Plain object
|
|
40612
|
+
* @returns {PromoterFeeObj} PromoterFeeObj
|
|
40613
|
+
*/
|
|
40614
|
+
PromoterFeeObj.fromObject = function fromObject(object) {
|
|
40615
|
+
if (object instanceof $root.PromoterFeeObj)
|
|
40616
|
+
return object;
|
|
40617
|
+
var message = new $root.PromoterFeeObj();
|
|
40618
|
+
if (object.name != null)
|
|
40619
|
+
message.name = String(object.name);
|
|
40620
|
+
if (object.amount != null)
|
|
40621
|
+
message.amount = String(object.amount);
|
|
40622
|
+
return message;
|
|
40623
|
+
};
|
|
40624
|
+
|
|
40625
|
+
/**
|
|
40626
|
+
* Creates a plain object from a PromoterFeeObj message. Also converts values to other types if specified.
|
|
40627
|
+
* @function toObject
|
|
40628
|
+
* @memberof PromoterFeeObj
|
|
40629
|
+
* @static
|
|
40630
|
+
* @param {PromoterFeeObj} message PromoterFeeObj
|
|
40631
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
40632
|
+
* @returns {Object.<string,*>} Plain object
|
|
40633
|
+
*/
|
|
40634
|
+
PromoterFeeObj.toObject = function toObject(message, options) {
|
|
40635
|
+
if (!options)
|
|
40636
|
+
options = {};
|
|
40637
|
+
var object = {};
|
|
40638
|
+
if (options.defaults) {
|
|
40639
|
+
object.name = "";
|
|
40640
|
+
object.amount = "";
|
|
40641
|
+
}
|
|
40642
|
+
if (message.name != null && message.hasOwnProperty("name"))
|
|
40643
|
+
object.name = message.name;
|
|
40644
|
+
if (message.amount != null && message.hasOwnProperty("amount"))
|
|
40645
|
+
object.amount = message.amount;
|
|
40646
|
+
return object;
|
|
40647
|
+
};
|
|
40648
|
+
|
|
40649
|
+
/**
|
|
40650
|
+
* Converts this PromoterFeeObj to JSON.
|
|
40651
|
+
* @function toJSON
|
|
40652
|
+
* @memberof PromoterFeeObj
|
|
40653
|
+
* @instance
|
|
40654
|
+
* @returns {Object.<string,*>} JSON object
|
|
40655
|
+
*/
|
|
40656
|
+
PromoterFeeObj.prototype.toJSON = function toJSON() {
|
|
40657
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
40658
|
+
};
|
|
40659
|
+
|
|
40660
|
+
return PromoterFeeObj;
|
|
40661
|
+
})();
|
|
40662
|
+
|
|
40376
40663
|
$root.QueueOrderReceiptEmailRequest = (function() {
|
|
40377
40664
|
|
|
40378
40665
|
/**
|
|
@@ -41503,6 +41790,8 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
41503
41790
|
* @property {string|null} [discount] QueueOrderQRCodeEmailRequest discount
|
|
41504
41791
|
* @property {string|null} [url] QueueOrderQRCodeEmailRequest url
|
|
41505
41792
|
* @property {string|null} [description] QueueOrderQRCodeEmailRequest description
|
|
41793
|
+
* @property {string|null} [serviceFee] QueueOrderQRCodeEmailRequest serviceFee
|
|
41794
|
+
* @property {Array.<IPromoterFeeObj>|null} [promoterFeeList] QueueOrderQRCodeEmailRequest promoterFeeList
|
|
41506
41795
|
*/
|
|
41507
41796
|
|
|
41508
41797
|
/**
|
|
@@ -41517,6 +41806,7 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
41517
41806
|
this.orderItems = [];
|
|
41518
41807
|
this.dayIdsTime = [];
|
|
41519
41808
|
this.dayIdsTimeCalendar = [];
|
|
41809
|
+
this.promoterFeeList = [];
|
|
41520
41810
|
if (properties)
|
|
41521
41811
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
41522
41812
|
if (properties[keys[i]] != null)
|
|
@@ -41851,6 +42141,22 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
41851
42141
|
*/
|
|
41852
42142
|
QueueOrderQRCodeEmailRequest.prototype.description = "";
|
|
41853
42143
|
|
|
42144
|
+
/**
|
|
42145
|
+
* QueueOrderQRCodeEmailRequest serviceFee.
|
|
42146
|
+
* @member {string} serviceFee
|
|
42147
|
+
* @memberof QueueOrderQRCodeEmailRequest
|
|
42148
|
+
* @instance
|
|
42149
|
+
*/
|
|
42150
|
+
QueueOrderQRCodeEmailRequest.prototype.serviceFee = "";
|
|
42151
|
+
|
|
42152
|
+
/**
|
|
42153
|
+
* QueueOrderQRCodeEmailRequest promoterFeeList.
|
|
42154
|
+
* @member {Array.<IPromoterFeeObj>} promoterFeeList
|
|
42155
|
+
* @memberof QueueOrderQRCodeEmailRequest
|
|
42156
|
+
* @instance
|
|
42157
|
+
*/
|
|
42158
|
+
QueueOrderQRCodeEmailRequest.prototype.promoterFeeList = $util.emptyArray;
|
|
42159
|
+
|
|
41854
42160
|
/**
|
|
41855
42161
|
* Creates a new QueueOrderQRCodeEmailRequest instance using the specified properties.
|
|
41856
42162
|
* @function create
|
|
@@ -41960,6 +42266,11 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
41960
42266
|
writer.uint32(/* id 39, wireType 2 =*/314).string(message.url);
|
|
41961
42267
|
if (message.description != null && Object.hasOwnProperty.call(message, "description"))
|
|
41962
42268
|
writer.uint32(/* id 40, wireType 2 =*/322).string(message.description);
|
|
42269
|
+
if (message.serviceFee != null && Object.hasOwnProperty.call(message, "serviceFee"))
|
|
42270
|
+
writer.uint32(/* id 41, wireType 2 =*/330).string(message.serviceFee);
|
|
42271
|
+
if (message.promoterFeeList != null && message.promoterFeeList.length)
|
|
42272
|
+
for (var i = 0; i < message.promoterFeeList.length; ++i)
|
|
42273
|
+
$root.PromoterFeeObj.encode(message.promoterFeeList[i], writer.uint32(/* id 42, wireType 2 =*/338).fork()).ldelim();
|
|
41963
42274
|
return writer;
|
|
41964
42275
|
};
|
|
41965
42276
|
|
|
@@ -42123,6 +42434,14 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
42123
42434
|
case 40:
|
|
42124
42435
|
message.description = reader.string();
|
|
42125
42436
|
break;
|
|
42437
|
+
case 41:
|
|
42438
|
+
message.serviceFee = reader.string();
|
|
42439
|
+
break;
|
|
42440
|
+
case 42:
|
|
42441
|
+
if (!(message.promoterFeeList && message.promoterFeeList.length))
|
|
42442
|
+
message.promoterFeeList = [];
|
|
42443
|
+
message.promoterFeeList.push($root.PromoterFeeObj.decode(reader, reader.uint32()));
|
|
42444
|
+
break;
|
|
42126
42445
|
default:
|
|
42127
42446
|
reader.skipType(tag & 7);
|
|
42128
42447
|
break;
|
|
@@ -42299,6 +42618,18 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
42299
42618
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
42300
42619
|
if (!$util.isString(message.description))
|
|
42301
42620
|
return "description: string expected";
|
|
42621
|
+
if (message.serviceFee != null && message.hasOwnProperty("serviceFee"))
|
|
42622
|
+
if (!$util.isString(message.serviceFee))
|
|
42623
|
+
return "serviceFee: string expected";
|
|
42624
|
+
if (message.promoterFeeList != null && message.hasOwnProperty("promoterFeeList")) {
|
|
42625
|
+
if (!Array.isArray(message.promoterFeeList))
|
|
42626
|
+
return "promoterFeeList: array expected";
|
|
42627
|
+
for (var i = 0; i < message.promoterFeeList.length; ++i) {
|
|
42628
|
+
var error = $root.PromoterFeeObj.verify(message.promoterFeeList[i]);
|
|
42629
|
+
if (error)
|
|
42630
|
+
return "promoterFeeList." + error;
|
|
42631
|
+
}
|
|
42632
|
+
}
|
|
42302
42633
|
return null;
|
|
42303
42634
|
};
|
|
42304
42635
|
|
|
@@ -42420,6 +42751,18 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
42420
42751
|
message.url = String(object.url);
|
|
42421
42752
|
if (object.description != null)
|
|
42422
42753
|
message.description = String(object.description);
|
|
42754
|
+
if (object.serviceFee != null)
|
|
42755
|
+
message.serviceFee = String(object.serviceFee);
|
|
42756
|
+
if (object.promoterFeeList) {
|
|
42757
|
+
if (!Array.isArray(object.promoterFeeList))
|
|
42758
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.promoterFeeList: array expected");
|
|
42759
|
+
message.promoterFeeList = [];
|
|
42760
|
+
for (var i = 0; i < object.promoterFeeList.length; ++i) {
|
|
42761
|
+
if (typeof object.promoterFeeList[i] !== "object")
|
|
42762
|
+
throw TypeError(".QueueOrderQRCodeEmailRequest.promoterFeeList: object expected");
|
|
42763
|
+
message.promoterFeeList[i] = $root.PromoterFeeObj.fromObject(object.promoterFeeList[i]);
|
|
42764
|
+
}
|
|
42765
|
+
}
|
|
42423
42766
|
return message;
|
|
42424
42767
|
};
|
|
42425
42768
|
|
|
@@ -42440,6 +42783,7 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
42440
42783
|
object.orderItems = [];
|
|
42441
42784
|
object.dayIdsTime = [];
|
|
42442
42785
|
object.dayIdsTimeCalendar = [];
|
|
42786
|
+
object.promoterFeeList = [];
|
|
42443
42787
|
}
|
|
42444
42788
|
if (options.defaults) {
|
|
42445
42789
|
object.spanContext = "";
|
|
@@ -42480,6 +42824,7 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
42480
42824
|
object.discount = "";
|
|
42481
42825
|
object.url = "";
|
|
42482
42826
|
object.description = "";
|
|
42827
|
+
object.serviceFee = "";
|
|
42483
42828
|
}
|
|
42484
42829
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
42485
42830
|
object.spanContext = message.spanContext;
|
|
@@ -42572,6 +42917,13 @@ $root.QueueOrderQRCodeEmailRequest = (function() {
|
|
|
42572
42917
|
object.url = message.url;
|
|
42573
42918
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
42574
42919
|
object.description = message.description;
|
|
42920
|
+
if (message.serviceFee != null && message.hasOwnProperty("serviceFee"))
|
|
42921
|
+
object.serviceFee = message.serviceFee;
|
|
42922
|
+
if (message.promoterFeeList && message.promoterFeeList.length) {
|
|
42923
|
+
object.promoterFeeList = [];
|
|
42924
|
+
for (var j = 0; j < message.promoterFeeList.length; ++j)
|
|
42925
|
+
object.promoterFeeList[j] = $root.PromoterFeeObj.toObject(message.promoterFeeList[j], options);
|
|
42926
|
+
}
|
|
42575
42927
|
return object;
|
|
42576
42928
|
};
|
|
42577
42929
|
|
|
@@ -42632,6 +42984,8 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
42632
42984
|
* @property {Array.<IEvent>|null} [events] QueueSeasonOrderReceiptEmailRequest events
|
|
42633
42985
|
* @property {string|null} [promoterFee] QueueSeasonOrderReceiptEmailRequest promoterFee
|
|
42634
42986
|
* @property {string|null} [processingFee] QueueSeasonOrderReceiptEmailRequest processingFee
|
|
42987
|
+
* @property {string|null} [serviceFee] QueueSeasonOrderReceiptEmailRequest serviceFee
|
|
42988
|
+
* @property {Array.<IPromoterFeeObj>|null} [promoterFeeList] QueueSeasonOrderReceiptEmailRequest promoterFeeList
|
|
42635
42989
|
*/
|
|
42636
42990
|
|
|
42637
42991
|
/**
|
|
@@ -42647,6 +43001,7 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
42647
43001
|
this.dayIdsTime = [];
|
|
42648
43002
|
this.dayIdsTimeCalendar = [];
|
|
42649
43003
|
this.events = [];
|
|
43004
|
+
this.promoterFeeList = [];
|
|
42650
43005
|
if (properties)
|
|
42651
43006
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
42652
43007
|
if (properties[keys[i]] != null)
|
|
@@ -42949,6 +43304,22 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
42949
43304
|
*/
|
|
42950
43305
|
QueueSeasonOrderReceiptEmailRequest.prototype.processingFee = "";
|
|
42951
43306
|
|
|
43307
|
+
/**
|
|
43308
|
+
* QueueSeasonOrderReceiptEmailRequest serviceFee.
|
|
43309
|
+
* @member {string} serviceFee
|
|
43310
|
+
* @memberof QueueSeasonOrderReceiptEmailRequest
|
|
43311
|
+
* @instance
|
|
43312
|
+
*/
|
|
43313
|
+
QueueSeasonOrderReceiptEmailRequest.prototype.serviceFee = "";
|
|
43314
|
+
|
|
43315
|
+
/**
|
|
43316
|
+
* QueueSeasonOrderReceiptEmailRequest promoterFeeList.
|
|
43317
|
+
* @member {Array.<IPromoterFeeObj>} promoterFeeList
|
|
43318
|
+
* @memberof QueueSeasonOrderReceiptEmailRequest
|
|
43319
|
+
* @instance
|
|
43320
|
+
*/
|
|
43321
|
+
QueueSeasonOrderReceiptEmailRequest.prototype.promoterFeeList = $util.emptyArray;
|
|
43322
|
+
|
|
42952
43323
|
/**
|
|
42953
43324
|
* Creates a new QueueSeasonOrderReceiptEmailRequest instance using the specified properties.
|
|
42954
43325
|
* @function create
|
|
@@ -43051,6 +43422,11 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43051
43422
|
writer.uint32(/* id 35, wireType 2 =*/282).string(message.promoterFee);
|
|
43052
43423
|
if (message.processingFee != null && Object.hasOwnProperty.call(message, "processingFee"))
|
|
43053
43424
|
writer.uint32(/* id 36, wireType 2 =*/290).string(message.processingFee);
|
|
43425
|
+
if (message.serviceFee != null && Object.hasOwnProperty.call(message, "serviceFee"))
|
|
43426
|
+
writer.uint32(/* id 37, wireType 2 =*/298).string(message.serviceFee);
|
|
43427
|
+
if (message.promoterFeeList != null && message.promoterFeeList.length)
|
|
43428
|
+
for (var i = 0; i < message.promoterFeeList.length; ++i)
|
|
43429
|
+
$root.PromoterFeeObj.encode(message.promoterFeeList[i], writer.uint32(/* id 38, wireType 2 =*/306).fork()).ldelim();
|
|
43054
43430
|
return writer;
|
|
43055
43431
|
};
|
|
43056
43432
|
|
|
@@ -43204,6 +43580,14 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43204
43580
|
case 36:
|
|
43205
43581
|
message.processingFee = reader.string();
|
|
43206
43582
|
break;
|
|
43583
|
+
case 37:
|
|
43584
|
+
message.serviceFee = reader.string();
|
|
43585
|
+
break;
|
|
43586
|
+
case 38:
|
|
43587
|
+
if (!(message.promoterFeeList && message.promoterFeeList.length))
|
|
43588
|
+
message.promoterFeeList = [];
|
|
43589
|
+
message.promoterFeeList.push($root.PromoterFeeObj.decode(reader, reader.uint32()));
|
|
43590
|
+
break;
|
|
43207
43591
|
default:
|
|
43208
43592
|
reader.skipType(tag & 7);
|
|
43209
43593
|
break;
|
|
@@ -43374,6 +43758,18 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43374
43758
|
if (message.processingFee != null && message.hasOwnProperty("processingFee"))
|
|
43375
43759
|
if (!$util.isString(message.processingFee))
|
|
43376
43760
|
return "processingFee: string expected";
|
|
43761
|
+
if (message.serviceFee != null && message.hasOwnProperty("serviceFee"))
|
|
43762
|
+
if (!$util.isString(message.serviceFee))
|
|
43763
|
+
return "serviceFee: string expected";
|
|
43764
|
+
if (message.promoterFeeList != null && message.hasOwnProperty("promoterFeeList")) {
|
|
43765
|
+
if (!Array.isArray(message.promoterFeeList))
|
|
43766
|
+
return "promoterFeeList: array expected";
|
|
43767
|
+
for (var i = 0; i < message.promoterFeeList.length; ++i) {
|
|
43768
|
+
var error = $root.PromoterFeeObj.verify(message.promoterFeeList[i]);
|
|
43769
|
+
if (error)
|
|
43770
|
+
return "promoterFeeList." + error;
|
|
43771
|
+
}
|
|
43772
|
+
}
|
|
43377
43773
|
return null;
|
|
43378
43774
|
};
|
|
43379
43775
|
|
|
@@ -43495,6 +43891,18 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43495
43891
|
message.promoterFee = String(object.promoterFee);
|
|
43496
43892
|
if (object.processingFee != null)
|
|
43497
43893
|
message.processingFee = String(object.processingFee);
|
|
43894
|
+
if (object.serviceFee != null)
|
|
43895
|
+
message.serviceFee = String(object.serviceFee);
|
|
43896
|
+
if (object.promoterFeeList) {
|
|
43897
|
+
if (!Array.isArray(object.promoterFeeList))
|
|
43898
|
+
throw TypeError(".QueueSeasonOrderReceiptEmailRequest.promoterFeeList: array expected");
|
|
43899
|
+
message.promoterFeeList = [];
|
|
43900
|
+
for (var i = 0; i < object.promoterFeeList.length; ++i) {
|
|
43901
|
+
if (typeof object.promoterFeeList[i] !== "object")
|
|
43902
|
+
throw TypeError(".QueueSeasonOrderReceiptEmailRequest.promoterFeeList: object expected");
|
|
43903
|
+
message.promoterFeeList[i] = $root.PromoterFeeObj.fromObject(object.promoterFeeList[i]);
|
|
43904
|
+
}
|
|
43905
|
+
}
|
|
43498
43906
|
return message;
|
|
43499
43907
|
};
|
|
43500
43908
|
|
|
@@ -43516,6 +43924,7 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43516
43924
|
object.dayIdsTime = [];
|
|
43517
43925
|
object.dayIdsTimeCalendar = [];
|
|
43518
43926
|
object.events = [];
|
|
43927
|
+
object.promoterFeeList = [];
|
|
43519
43928
|
}
|
|
43520
43929
|
if (options.defaults) {
|
|
43521
43930
|
object.spanContext = "";
|
|
@@ -43551,6 +43960,7 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43551
43960
|
object.timezone = "";
|
|
43552
43961
|
object.promoterFee = "";
|
|
43553
43962
|
object.processingFee = "";
|
|
43963
|
+
object.serviceFee = "";
|
|
43554
43964
|
}
|
|
43555
43965
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
43556
43966
|
object.spanContext = message.spanContext;
|
|
@@ -43638,6 +44048,13 @@ $root.QueueSeasonOrderReceiptEmailRequest = (function() {
|
|
|
43638
44048
|
object.promoterFee = message.promoterFee;
|
|
43639
44049
|
if (message.processingFee != null && message.hasOwnProperty("processingFee"))
|
|
43640
44050
|
object.processingFee = message.processingFee;
|
|
44051
|
+
if (message.serviceFee != null && message.hasOwnProperty("serviceFee"))
|
|
44052
|
+
object.serviceFee = message.serviceFee;
|
|
44053
|
+
if (message.promoterFeeList && message.promoterFeeList.length) {
|
|
44054
|
+
object.promoterFeeList = [];
|
|
44055
|
+
for (var j = 0; j < message.promoterFeeList.length; ++j)
|
|
44056
|
+
object.promoterFeeList[j] = $root.PromoterFeeObj.toObject(message.promoterFeeList[j], options);
|
|
44057
|
+
}
|
|
43641
44058
|
return object;
|
|
43642
44059
|
};
|
|
43643
44060
|
|
|
@@ -43695,6 +44112,8 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
43695
44112
|
* @property {string|null} [promoterFee] QueueOrderRefundEmailRequest promoterFee
|
|
43696
44113
|
* @property {string|null} [processingFee] QueueOrderRefundEmailRequest processingFee
|
|
43697
44114
|
* @property {string|null} [tax] QueueOrderRefundEmailRequest tax
|
|
44115
|
+
* @property {string|null} [serviceFee] QueueOrderRefundEmailRequest serviceFee
|
|
44116
|
+
* @property {Array.<IPromoterFeeObj>|null} [promoterFeeList] QueueOrderRefundEmailRequest promoterFeeList
|
|
43698
44117
|
*/
|
|
43699
44118
|
|
|
43700
44119
|
/**
|
|
@@ -43709,6 +44128,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
43709
44128
|
this.orderRefundItems = [];
|
|
43710
44129
|
this.dayIdsTime = [];
|
|
43711
44130
|
this.dayIdsTimeCalendar = [];
|
|
44131
|
+
this.promoterFeeList = [];
|
|
43712
44132
|
if (properties)
|
|
43713
44133
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
43714
44134
|
if (properties[keys[i]] != null)
|
|
@@ -43987,6 +44407,22 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
43987
44407
|
*/
|
|
43988
44408
|
QueueOrderRefundEmailRequest.prototype.tax = "";
|
|
43989
44409
|
|
|
44410
|
+
/**
|
|
44411
|
+
* QueueOrderRefundEmailRequest serviceFee.
|
|
44412
|
+
* @member {string} serviceFee
|
|
44413
|
+
* @memberof QueueOrderRefundEmailRequest
|
|
44414
|
+
* @instance
|
|
44415
|
+
*/
|
|
44416
|
+
QueueOrderRefundEmailRequest.prototype.serviceFee = "";
|
|
44417
|
+
|
|
44418
|
+
/**
|
|
44419
|
+
* QueueOrderRefundEmailRequest promoterFeeList.
|
|
44420
|
+
* @member {Array.<IPromoterFeeObj>} promoterFeeList
|
|
44421
|
+
* @memberof QueueOrderRefundEmailRequest
|
|
44422
|
+
* @instance
|
|
44423
|
+
*/
|
|
44424
|
+
QueueOrderRefundEmailRequest.prototype.promoterFeeList = $util.emptyArray;
|
|
44425
|
+
|
|
43990
44426
|
/**
|
|
43991
44427
|
* Creates a new QueueOrderRefundEmailRequest instance using the specified properties.
|
|
43992
44428
|
* @function create
|
|
@@ -44082,6 +44518,11 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44082
44518
|
writer.uint32(/* id 32, wireType 2 =*/258).string(message.processingFee);
|
|
44083
44519
|
if (message.tax != null && Object.hasOwnProperty.call(message, "tax"))
|
|
44084
44520
|
writer.uint32(/* id 33, wireType 2 =*/266).string(message.tax);
|
|
44521
|
+
if (message.serviceFee != null && Object.hasOwnProperty.call(message, "serviceFee"))
|
|
44522
|
+
writer.uint32(/* id 34, wireType 2 =*/274).string(message.serviceFee);
|
|
44523
|
+
if (message.promoterFeeList != null && message.promoterFeeList.length)
|
|
44524
|
+
for (var i = 0; i < message.promoterFeeList.length; ++i)
|
|
44525
|
+
$root.PromoterFeeObj.encode(message.promoterFeeList[i], writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim();
|
|
44085
44526
|
return writer;
|
|
44086
44527
|
};
|
|
44087
44528
|
|
|
@@ -44224,6 +44665,14 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44224
44665
|
case 33:
|
|
44225
44666
|
message.tax = reader.string();
|
|
44226
44667
|
break;
|
|
44668
|
+
case 34:
|
|
44669
|
+
message.serviceFee = reader.string();
|
|
44670
|
+
break;
|
|
44671
|
+
case 35:
|
|
44672
|
+
if (!(message.promoterFeeList && message.promoterFeeList.length))
|
|
44673
|
+
message.promoterFeeList = [];
|
|
44674
|
+
message.promoterFeeList.push($root.PromoterFeeObj.decode(reader, reader.uint32()));
|
|
44675
|
+
break;
|
|
44227
44676
|
default:
|
|
44228
44677
|
reader.skipType(tag & 7);
|
|
44229
44678
|
break;
|
|
@@ -44379,6 +44828,18 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44379
44828
|
if (message.tax != null && message.hasOwnProperty("tax"))
|
|
44380
44829
|
if (!$util.isString(message.tax))
|
|
44381
44830
|
return "tax: string expected";
|
|
44831
|
+
if (message.serviceFee != null && message.hasOwnProperty("serviceFee"))
|
|
44832
|
+
if (!$util.isString(message.serviceFee))
|
|
44833
|
+
return "serviceFee: string expected";
|
|
44834
|
+
if (message.promoterFeeList != null && message.hasOwnProperty("promoterFeeList")) {
|
|
44835
|
+
if (!Array.isArray(message.promoterFeeList))
|
|
44836
|
+
return "promoterFeeList: array expected";
|
|
44837
|
+
for (var i = 0; i < message.promoterFeeList.length; ++i) {
|
|
44838
|
+
var error = $root.PromoterFeeObj.verify(message.promoterFeeList[i]);
|
|
44839
|
+
if (error)
|
|
44840
|
+
return "promoterFeeList." + error;
|
|
44841
|
+
}
|
|
44842
|
+
}
|
|
44382
44843
|
return null;
|
|
44383
44844
|
};
|
|
44384
44845
|
|
|
@@ -44486,6 +44947,18 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44486
44947
|
message.processingFee = String(object.processingFee);
|
|
44487
44948
|
if (object.tax != null)
|
|
44488
44949
|
message.tax = String(object.tax);
|
|
44950
|
+
if (object.serviceFee != null)
|
|
44951
|
+
message.serviceFee = String(object.serviceFee);
|
|
44952
|
+
if (object.promoterFeeList) {
|
|
44953
|
+
if (!Array.isArray(object.promoterFeeList))
|
|
44954
|
+
throw TypeError(".QueueOrderRefundEmailRequest.promoterFeeList: array expected");
|
|
44955
|
+
message.promoterFeeList = [];
|
|
44956
|
+
for (var i = 0; i < object.promoterFeeList.length; ++i) {
|
|
44957
|
+
if (typeof object.promoterFeeList[i] !== "object")
|
|
44958
|
+
throw TypeError(".QueueOrderRefundEmailRequest.promoterFeeList: object expected");
|
|
44959
|
+
message.promoterFeeList[i] = $root.PromoterFeeObj.fromObject(object.promoterFeeList[i]);
|
|
44960
|
+
}
|
|
44961
|
+
}
|
|
44489
44962
|
return message;
|
|
44490
44963
|
};
|
|
44491
44964
|
|
|
@@ -44506,6 +44979,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44506
44979
|
object.orderRefundItems = [];
|
|
44507
44980
|
object.dayIdsTime = [];
|
|
44508
44981
|
object.dayIdsTimeCalendar = [];
|
|
44982
|
+
object.promoterFeeList = [];
|
|
44509
44983
|
}
|
|
44510
44984
|
if (options.defaults) {
|
|
44511
44985
|
object.spanContext = "";
|
|
@@ -44539,6 +45013,7 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44539
45013
|
object.promoterFee = "";
|
|
44540
45014
|
object.processingFee = "";
|
|
44541
45015
|
object.tax = "";
|
|
45016
|
+
object.serviceFee = "";
|
|
44542
45017
|
}
|
|
44543
45018
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
44544
45019
|
object.spanContext = message.spanContext;
|
|
@@ -44617,6 +45092,13 @@ $root.QueueOrderRefundEmailRequest = (function() {
|
|
|
44617
45092
|
object.processingFee = message.processingFee;
|
|
44618
45093
|
if (message.tax != null && message.hasOwnProperty("tax"))
|
|
44619
45094
|
object.tax = message.tax;
|
|
45095
|
+
if (message.serviceFee != null && message.hasOwnProperty("serviceFee"))
|
|
45096
|
+
object.serviceFee = message.serviceFee;
|
|
45097
|
+
if (message.promoterFeeList && message.promoterFeeList.length) {
|
|
45098
|
+
object.promoterFeeList = [];
|
|
45099
|
+
for (var j = 0; j < message.promoterFeeList.length; ++j)
|
|
45100
|
+
object.promoterFeeList[j] = $root.PromoterFeeObj.toObject(message.promoterFeeList[j], options);
|
|
45101
|
+
}
|
|
44620
45102
|
return object;
|
|
44621
45103
|
};
|
|
44622
45104
|
|
|
@@ -46422,6 +46904,8 @@ $root.Event = (function() {
|
|
|
46422
46904
|
* @property {boolean|null} [isHold] Event isHold
|
|
46423
46905
|
* @property {string|null} [stub] Event stub
|
|
46424
46906
|
* @property {Array.<IWaitList>|null} [waitList] Event waitList
|
|
46907
|
+
* @property {string|null} [duplicateEventId] Event duplicateEventId
|
|
46908
|
+
* @property {string|null} [duplicateFeeId] Event duplicateFeeId
|
|
46425
46909
|
*/
|
|
46426
46910
|
|
|
46427
46911
|
/**
|
|
@@ -46775,6 +47259,22 @@ $root.Event = (function() {
|
|
|
46775
47259
|
*/
|
|
46776
47260
|
Event.prototype.waitList = $util.emptyArray;
|
|
46777
47261
|
|
|
47262
|
+
/**
|
|
47263
|
+
* Event duplicateEventId.
|
|
47264
|
+
* @member {string} duplicateEventId
|
|
47265
|
+
* @memberof Event
|
|
47266
|
+
* @instance
|
|
47267
|
+
*/
|
|
47268
|
+
Event.prototype.duplicateEventId = "";
|
|
47269
|
+
|
|
47270
|
+
/**
|
|
47271
|
+
* Event duplicateFeeId.
|
|
47272
|
+
* @member {string} duplicateFeeId
|
|
47273
|
+
* @memberof Event
|
|
47274
|
+
* @instance
|
|
47275
|
+
*/
|
|
47276
|
+
Event.prototype.duplicateFeeId = "";
|
|
47277
|
+
|
|
46778
47278
|
/**
|
|
46779
47279
|
* Creates a new Event instance using the specified properties.
|
|
46780
47280
|
* @function create
|
|
@@ -46889,6 +47389,10 @@ $root.Event = (function() {
|
|
|
46889
47389
|
if (message.waitList != null && message.waitList.length)
|
|
46890
47390
|
for (var i = 0; i < message.waitList.length; ++i)
|
|
46891
47391
|
$root.WaitList.encode(message.waitList[i], writer.uint32(/* id 41, wireType 2 =*/330).fork()).ldelim();
|
|
47392
|
+
if (message.duplicateEventId != null && Object.hasOwnProperty.call(message, "duplicateEventId"))
|
|
47393
|
+
writer.uint32(/* id 42, wireType 2 =*/338).string(message.duplicateEventId);
|
|
47394
|
+
if (message.duplicateFeeId != null && Object.hasOwnProperty.call(message, "duplicateFeeId"))
|
|
47395
|
+
writer.uint32(/* id 43, wireType 2 =*/346).string(message.duplicateFeeId);
|
|
46892
47396
|
return writer;
|
|
46893
47397
|
};
|
|
46894
47398
|
|
|
@@ -47062,6 +47566,12 @@ $root.Event = (function() {
|
|
|
47062
47566
|
message.waitList = [];
|
|
47063
47567
|
message.waitList.push($root.WaitList.decode(reader, reader.uint32()));
|
|
47064
47568
|
break;
|
|
47569
|
+
case 42:
|
|
47570
|
+
message.duplicateEventId = reader.string();
|
|
47571
|
+
break;
|
|
47572
|
+
case 43:
|
|
47573
|
+
message.duplicateFeeId = reader.string();
|
|
47574
|
+
break;
|
|
47065
47575
|
default:
|
|
47066
47576
|
reader.skipType(tag & 7);
|
|
47067
47577
|
break;
|
|
@@ -47276,6 +47786,12 @@ $root.Event = (function() {
|
|
|
47276
47786
|
return "waitList." + error;
|
|
47277
47787
|
}
|
|
47278
47788
|
}
|
|
47789
|
+
if (message.duplicateEventId != null && message.hasOwnProperty("duplicateEventId"))
|
|
47790
|
+
if (!$util.isString(message.duplicateEventId))
|
|
47791
|
+
return "duplicateEventId: string expected";
|
|
47792
|
+
if (message.duplicateFeeId != null && message.hasOwnProperty("duplicateFeeId"))
|
|
47793
|
+
if (!$util.isString(message.duplicateFeeId))
|
|
47794
|
+
return "duplicateFeeId: string expected";
|
|
47279
47795
|
return null;
|
|
47280
47796
|
};
|
|
47281
47797
|
|
|
@@ -47449,6 +47965,10 @@ $root.Event = (function() {
|
|
|
47449
47965
|
message.waitList[i] = $root.WaitList.fromObject(object.waitList[i]);
|
|
47450
47966
|
}
|
|
47451
47967
|
}
|
|
47968
|
+
if (object.duplicateEventId != null)
|
|
47969
|
+
message.duplicateEventId = String(object.duplicateEventId);
|
|
47970
|
+
if (object.duplicateFeeId != null)
|
|
47971
|
+
message.duplicateFeeId = String(object.duplicateFeeId);
|
|
47452
47972
|
return message;
|
|
47453
47973
|
};
|
|
47454
47974
|
|
|
@@ -47509,6 +48029,8 @@ $root.Event = (function() {
|
|
|
47509
48029
|
object.guestTicketPerMember = "";
|
|
47510
48030
|
object.isHold = false;
|
|
47511
48031
|
object.stub = "";
|
|
48032
|
+
object.duplicateEventId = "";
|
|
48033
|
+
object.duplicateFeeId = "";
|
|
47512
48034
|
}
|
|
47513
48035
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
47514
48036
|
object._id = message._id;
|
|
@@ -47616,6 +48138,10 @@ $root.Event = (function() {
|
|
|
47616
48138
|
for (var j = 0; j < message.waitList.length; ++j)
|
|
47617
48139
|
object.waitList[j] = $root.WaitList.toObject(message.waitList[j], options);
|
|
47618
48140
|
}
|
|
48141
|
+
if (message.duplicateEventId != null && message.hasOwnProperty("duplicateEventId"))
|
|
48142
|
+
object.duplicateEventId = message.duplicateEventId;
|
|
48143
|
+
if (message.duplicateFeeId != null && message.hasOwnProperty("duplicateFeeId"))
|
|
48144
|
+
object.duplicateFeeId = message.duplicateFeeId;
|
|
47619
48145
|
return object;
|
|
47620
48146
|
};
|
|
47621
48147
|
|
|
@@ -48797,11 +49323,12 @@ $root.PublicEventDetails = (function() {
|
|
|
48797
49323
|
* @property {boolean|null} [salesBeginImmediately] PublicEventDetails salesBeginImmediately
|
|
48798
49324
|
* @property {boolean|null} [cancel] PublicEventDetails cancel
|
|
48799
49325
|
* @property {boolean|null} [taxDeduction] PublicEventDetails taxDeduction
|
|
48800
|
-
* @property {
|
|
49326
|
+
* @property {IOrganizationEvent|null} [organization] PublicEventDetails organization
|
|
48801
49327
|
* @property {IVenue|null} [venue] PublicEventDetails venue
|
|
48802
49328
|
* @property {string|null} [status] PublicEventDetails status
|
|
48803
49329
|
* @property {number|null} [remainingQty] PublicEventDetails remainingQty
|
|
48804
49330
|
* @property {string|null} [stub] PublicEventDetails stub
|
|
49331
|
+
* @property {number|null} [highestPrice] PublicEventDetails highestPrice
|
|
48805
49332
|
*/
|
|
48806
49333
|
|
|
48807
49334
|
/**
|
|
@@ -49014,7 +49541,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49014
49541
|
|
|
49015
49542
|
/**
|
|
49016
49543
|
* PublicEventDetails organization.
|
|
49017
|
-
* @member {
|
|
49544
|
+
* @member {IOrganizationEvent|null|undefined} organization
|
|
49018
49545
|
* @memberof PublicEventDetails
|
|
49019
49546
|
* @instance
|
|
49020
49547
|
*/
|
|
@@ -49052,6 +49579,14 @@ $root.PublicEventDetails = (function() {
|
|
|
49052
49579
|
*/
|
|
49053
49580
|
PublicEventDetails.prototype.stub = "";
|
|
49054
49581
|
|
|
49582
|
+
/**
|
|
49583
|
+
* PublicEventDetails highestPrice.
|
|
49584
|
+
* @member {number} highestPrice
|
|
49585
|
+
* @memberof PublicEventDetails
|
|
49586
|
+
* @instance
|
|
49587
|
+
*/
|
|
49588
|
+
PublicEventDetails.prototype.highestPrice = 0;
|
|
49589
|
+
|
|
49055
49590
|
/**
|
|
49056
49591
|
* Creates a new PublicEventDetails instance using the specified properties.
|
|
49057
49592
|
* @function create
|
|
@@ -49126,7 +49661,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49126
49661
|
if (message.taxDeduction != null && Object.hasOwnProperty.call(message, "taxDeduction"))
|
|
49127
49662
|
writer.uint32(/* id 24, wireType 0 =*/192).bool(message.taxDeduction);
|
|
49128
49663
|
if (message.organization != null && Object.hasOwnProperty.call(message, "organization"))
|
|
49129
|
-
$root.
|
|
49664
|
+
$root.OrganizationEvent.encode(message.organization, writer.uint32(/* id 25, wireType 2 =*/202).fork()).ldelim();
|
|
49130
49665
|
if (message.venue != null && Object.hasOwnProperty.call(message, "venue"))
|
|
49131
49666
|
$root.Venue.encode(message.venue, writer.uint32(/* id 26, wireType 2 =*/210).fork()).ldelim();
|
|
49132
49667
|
if (message.status != null && Object.hasOwnProperty.call(message, "status"))
|
|
@@ -49135,6 +49670,8 @@ $root.PublicEventDetails = (function() {
|
|
|
49135
49670
|
writer.uint32(/* id 28, wireType 0 =*/224).int32(message.remainingQty);
|
|
49136
49671
|
if (message.stub != null && Object.hasOwnProperty.call(message, "stub"))
|
|
49137
49672
|
writer.uint32(/* id 29, wireType 2 =*/234).string(message.stub);
|
|
49673
|
+
if (message.highestPrice != null && Object.hasOwnProperty.call(message, "highestPrice"))
|
|
49674
|
+
writer.uint32(/* id 30, wireType 0 =*/240).int32(message.highestPrice);
|
|
49138
49675
|
return writer;
|
|
49139
49676
|
};
|
|
49140
49677
|
|
|
@@ -49244,7 +49781,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49244
49781
|
message.taxDeduction = reader.bool();
|
|
49245
49782
|
break;
|
|
49246
49783
|
case 25:
|
|
49247
|
-
message.organization = $root.
|
|
49784
|
+
message.organization = $root.OrganizationEvent.decode(reader, reader.uint32());
|
|
49248
49785
|
break;
|
|
49249
49786
|
case 26:
|
|
49250
49787
|
message.venue = $root.Venue.decode(reader, reader.uint32());
|
|
@@ -49258,6 +49795,9 @@ $root.PublicEventDetails = (function() {
|
|
|
49258
49795
|
case 29:
|
|
49259
49796
|
message.stub = reader.string();
|
|
49260
49797
|
break;
|
|
49798
|
+
case 30:
|
|
49799
|
+
message.highestPrice = reader.int32();
|
|
49800
|
+
break;
|
|
49261
49801
|
default:
|
|
49262
49802
|
reader.skipType(tag & 7);
|
|
49263
49803
|
break;
|
|
@@ -49376,7 +49916,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49376
49916
|
if (typeof message.taxDeduction !== "boolean")
|
|
49377
49917
|
return "taxDeduction: boolean expected";
|
|
49378
49918
|
if (message.organization != null && message.hasOwnProperty("organization")) {
|
|
49379
|
-
var error = $root.
|
|
49919
|
+
var error = $root.OrganizationEvent.verify(message.organization);
|
|
49380
49920
|
if (error)
|
|
49381
49921
|
return "organization." + error;
|
|
49382
49922
|
}
|
|
@@ -49394,6 +49934,9 @@ $root.PublicEventDetails = (function() {
|
|
|
49394
49934
|
if (message.stub != null && message.hasOwnProperty("stub"))
|
|
49395
49935
|
if (!$util.isString(message.stub))
|
|
49396
49936
|
return "stub: string expected";
|
|
49937
|
+
if (message.highestPrice != null && message.hasOwnProperty("highestPrice"))
|
|
49938
|
+
if (!$util.isInteger(message.highestPrice))
|
|
49939
|
+
return "highestPrice: integer expected";
|
|
49397
49940
|
return null;
|
|
49398
49941
|
};
|
|
49399
49942
|
|
|
@@ -49474,7 +50017,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49474
50017
|
if (object.organization != null) {
|
|
49475
50018
|
if (typeof object.organization !== "object")
|
|
49476
50019
|
throw TypeError(".PublicEventDetails.organization: object expected");
|
|
49477
|
-
message.organization = $root.
|
|
50020
|
+
message.organization = $root.OrganizationEvent.fromObject(object.organization);
|
|
49478
50021
|
}
|
|
49479
50022
|
if (object.venue != null) {
|
|
49480
50023
|
if (typeof object.venue !== "object")
|
|
@@ -49487,6 +50030,8 @@ $root.PublicEventDetails = (function() {
|
|
|
49487
50030
|
message.remainingQty = object.remainingQty | 0;
|
|
49488
50031
|
if (object.stub != null)
|
|
49489
50032
|
message.stub = String(object.stub);
|
|
50033
|
+
if (object.highestPrice != null)
|
|
50034
|
+
message.highestPrice = object.highestPrice | 0;
|
|
49490
50035
|
return message;
|
|
49491
50036
|
};
|
|
49492
50037
|
|
|
@@ -49534,6 +50079,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49534
50079
|
object.status = "";
|
|
49535
50080
|
object.remainingQty = 0;
|
|
49536
50081
|
object.stub = "";
|
|
50082
|
+
object.highestPrice = 0;
|
|
49537
50083
|
}
|
|
49538
50084
|
if (message._id != null && message.hasOwnProperty("_id"))
|
|
49539
50085
|
object._id = message._id;
|
|
@@ -49587,7 +50133,7 @@ $root.PublicEventDetails = (function() {
|
|
|
49587
50133
|
if (message.taxDeduction != null && message.hasOwnProperty("taxDeduction"))
|
|
49588
50134
|
object.taxDeduction = message.taxDeduction;
|
|
49589
50135
|
if (message.organization != null && message.hasOwnProperty("organization"))
|
|
49590
|
-
object.organization = $root.
|
|
50136
|
+
object.organization = $root.OrganizationEvent.toObject(message.organization, options);
|
|
49591
50137
|
if (message.venue != null && message.hasOwnProperty("venue"))
|
|
49592
50138
|
object.venue = $root.Venue.toObject(message.venue, options);
|
|
49593
50139
|
if (message.status != null && message.hasOwnProperty("status"))
|
|
@@ -49596,6 +50142,8 @@ $root.PublicEventDetails = (function() {
|
|
|
49596
50142
|
object.remainingQty = message.remainingQty;
|
|
49597
50143
|
if (message.stub != null && message.hasOwnProperty("stub"))
|
|
49598
50144
|
object.stub = message.stub;
|
|
50145
|
+
if (message.highestPrice != null && message.hasOwnProperty("highestPrice"))
|
|
50146
|
+
object.highestPrice = message.highestPrice;
|
|
49599
50147
|
return object;
|
|
49600
50148
|
};
|
|
49601
50149
|
|
|
@@ -49613,6 +50161,590 @@ $root.PublicEventDetails = (function() {
|
|
|
49613
50161
|
return PublicEventDetails;
|
|
49614
50162
|
})();
|
|
49615
50163
|
|
|
50164
|
+
$root.OrganizationEvent = (function() {
|
|
50165
|
+
|
|
50166
|
+
/**
|
|
50167
|
+
* Properties of an OrganizationEvent.
|
|
50168
|
+
* @exports IOrganizationEvent
|
|
50169
|
+
* @interface IOrganizationEvent
|
|
50170
|
+
* @property {string|null} [_id] OrganizationEvent _id
|
|
50171
|
+
* @property {string|null} [userId] OrganizationEvent userId
|
|
50172
|
+
* @property {number|null} [createdAt] OrganizationEvent createdAt
|
|
50173
|
+
* @property {string|null} [authyId] OrganizationEvent authyId
|
|
50174
|
+
* @property {string|null} [orgName] OrganizationEvent orgName
|
|
50175
|
+
* @property {Array.<string>|null} [orgUrls] OrganizationEvent orgUrls
|
|
50176
|
+
* @property {IAddress|null} [address] OrganizationEvent address
|
|
50177
|
+
* @property {string|null} [orgLogoUrl] OrganizationEvent orgLogoUrl
|
|
50178
|
+
* @property {string|null} [orgColorHex] OrganizationEvent orgColorHex
|
|
50179
|
+
* @property {string|null} [bio] OrganizationEvent bio
|
|
50180
|
+
* @property {string|null} [email] OrganizationEvent email
|
|
50181
|
+
* @property {string|null} [phoneNumber] OrganizationEvent phoneNumber
|
|
50182
|
+
* @property {string|null} [facebookPixelId] OrganizationEvent facebookPixelId
|
|
50183
|
+
* @property {string|null} [googleAnalyticsId] OrganizationEvent googleAnalyticsId
|
|
50184
|
+
* @property {boolean|null} [isSeasonTickets] OrganizationEvent isSeasonTickets
|
|
50185
|
+
* @property {boolean|null} [isTegIntegration] OrganizationEvent isTegIntegration
|
|
50186
|
+
* @property {string|null} [ticketFormat] OrganizationEvent ticketFormat
|
|
50187
|
+
* @property {boolean|null} [validateMemberId] OrganizationEvent validateMemberId
|
|
50188
|
+
*/
|
|
50189
|
+
|
|
50190
|
+
/**
|
|
50191
|
+
* Constructs a new OrganizationEvent.
|
|
50192
|
+
* @exports OrganizationEvent
|
|
50193
|
+
* @classdesc Represents an OrganizationEvent.
|
|
50194
|
+
* @implements IOrganizationEvent
|
|
50195
|
+
* @constructor
|
|
50196
|
+
* @param {IOrganizationEvent=} [properties] Properties to set
|
|
50197
|
+
*/
|
|
50198
|
+
function OrganizationEvent(properties) {
|
|
50199
|
+
this.orgUrls = [];
|
|
50200
|
+
if (properties)
|
|
50201
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
50202
|
+
if (properties[keys[i]] != null)
|
|
50203
|
+
this[keys[i]] = properties[keys[i]];
|
|
50204
|
+
}
|
|
50205
|
+
|
|
50206
|
+
/**
|
|
50207
|
+
* OrganizationEvent _id.
|
|
50208
|
+
* @member {string} _id
|
|
50209
|
+
* @memberof OrganizationEvent
|
|
50210
|
+
* @instance
|
|
50211
|
+
*/
|
|
50212
|
+
OrganizationEvent.prototype._id = "";
|
|
50213
|
+
|
|
50214
|
+
/**
|
|
50215
|
+
* OrganizationEvent userId.
|
|
50216
|
+
* @member {string} userId
|
|
50217
|
+
* @memberof OrganizationEvent
|
|
50218
|
+
* @instance
|
|
50219
|
+
*/
|
|
50220
|
+
OrganizationEvent.prototype.userId = "";
|
|
50221
|
+
|
|
50222
|
+
/**
|
|
50223
|
+
* OrganizationEvent createdAt.
|
|
50224
|
+
* @member {number} createdAt
|
|
50225
|
+
* @memberof OrganizationEvent
|
|
50226
|
+
* @instance
|
|
50227
|
+
*/
|
|
50228
|
+
OrganizationEvent.prototype.createdAt = 0;
|
|
50229
|
+
|
|
50230
|
+
/**
|
|
50231
|
+
* OrganizationEvent authyId.
|
|
50232
|
+
* @member {string} authyId
|
|
50233
|
+
* @memberof OrganizationEvent
|
|
50234
|
+
* @instance
|
|
50235
|
+
*/
|
|
50236
|
+
OrganizationEvent.prototype.authyId = "";
|
|
50237
|
+
|
|
50238
|
+
/**
|
|
50239
|
+
* OrganizationEvent orgName.
|
|
50240
|
+
* @member {string} orgName
|
|
50241
|
+
* @memberof OrganizationEvent
|
|
50242
|
+
* @instance
|
|
50243
|
+
*/
|
|
50244
|
+
OrganizationEvent.prototype.orgName = "";
|
|
50245
|
+
|
|
50246
|
+
/**
|
|
50247
|
+
* OrganizationEvent orgUrls.
|
|
50248
|
+
* @member {Array.<string>} orgUrls
|
|
50249
|
+
* @memberof OrganizationEvent
|
|
50250
|
+
* @instance
|
|
50251
|
+
*/
|
|
50252
|
+
OrganizationEvent.prototype.orgUrls = $util.emptyArray;
|
|
50253
|
+
|
|
50254
|
+
/**
|
|
50255
|
+
* OrganizationEvent address.
|
|
50256
|
+
* @member {IAddress|null|undefined} address
|
|
50257
|
+
* @memberof OrganizationEvent
|
|
50258
|
+
* @instance
|
|
50259
|
+
*/
|
|
50260
|
+
OrganizationEvent.prototype.address = null;
|
|
50261
|
+
|
|
50262
|
+
/**
|
|
50263
|
+
* OrganizationEvent orgLogoUrl.
|
|
50264
|
+
* @member {string} orgLogoUrl
|
|
50265
|
+
* @memberof OrganizationEvent
|
|
50266
|
+
* @instance
|
|
50267
|
+
*/
|
|
50268
|
+
OrganizationEvent.prototype.orgLogoUrl = "";
|
|
50269
|
+
|
|
50270
|
+
/**
|
|
50271
|
+
* OrganizationEvent orgColorHex.
|
|
50272
|
+
* @member {string} orgColorHex
|
|
50273
|
+
* @memberof OrganizationEvent
|
|
50274
|
+
* @instance
|
|
50275
|
+
*/
|
|
50276
|
+
OrganizationEvent.prototype.orgColorHex = "";
|
|
50277
|
+
|
|
50278
|
+
/**
|
|
50279
|
+
* OrganizationEvent bio.
|
|
50280
|
+
* @member {string} bio
|
|
50281
|
+
* @memberof OrganizationEvent
|
|
50282
|
+
* @instance
|
|
50283
|
+
*/
|
|
50284
|
+
OrganizationEvent.prototype.bio = "";
|
|
50285
|
+
|
|
50286
|
+
/**
|
|
50287
|
+
* OrganizationEvent email.
|
|
50288
|
+
* @member {string} email
|
|
50289
|
+
* @memberof OrganizationEvent
|
|
50290
|
+
* @instance
|
|
50291
|
+
*/
|
|
50292
|
+
OrganizationEvent.prototype.email = "";
|
|
50293
|
+
|
|
50294
|
+
/**
|
|
50295
|
+
* OrganizationEvent phoneNumber.
|
|
50296
|
+
* @member {string} phoneNumber
|
|
50297
|
+
* @memberof OrganizationEvent
|
|
50298
|
+
* @instance
|
|
50299
|
+
*/
|
|
50300
|
+
OrganizationEvent.prototype.phoneNumber = "";
|
|
50301
|
+
|
|
50302
|
+
/**
|
|
50303
|
+
* OrganizationEvent facebookPixelId.
|
|
50304
|
+
* @member {string} facebookPixelId
|
|
50305
|
+
* @memberof OrganizationEvent
|
|
50306
|
+
* @instance
|
|
50307
|
+
*/
|
|
50308
|
+
OrganizationEvent.prototype.facebookPixelId = "";
|
|
50309
|
+
|
|
50310
|
+
/**
|
|
50311
|
+
* OrganizationEvent googleAnalyticsId.
|
|
50312
|
+
* @member {string} googleAnalyticsId
|
|
50313
|
+
* @memberof OrganizationEvent
|
|
50314
|
+
* @instance
|
|
50315
|
+
*/
|
|
50316
|
+
OrganizationEvent.prototype.googleAnalyticsId = "";
|
|
50317
|
+
|
|
50318
|
+
/**
|
|
50319
|
+
* OrganizationEvent isSeasonTickets.
|
|
50320
|
+
* @member {boolean} isSeasonTickets
|
|
50321
|
+
* @memberof OrganizationEvent
|
|
50322
|
+
* @instance
|
|
50323
|
+
*/
|
|
50324
|
+
OrganizationEvent.prototype.isSeasonTickets = false;
|
|
50325
|
+
|
|
50326
|
+
/**
|
|
50327
|
+
* OrganizationEvent isTegIntegration.
|
|
50328
|
+
* @member {boolean} isTegIntegration
|
|
50329
|
+
* @memberof OrganizationEvent
|
|
50330
|
+
* @instance
|
|
50331
|
+
*/
|
|
50332
|
+
OrganizationEvent.prototype.isTegIntegration = false;
|
|
50333
|
+
|
|
50334
|
+
/**
|
|
50335
|
+
* OrganizationEvent ticketFormat.
|
|
50336
|
+
* @member {string} ticketFormat
|
|
50337
|
+
* @memberof OrganizationEvent
|
|
50338
|
+
* @instance
|
|
50339
|
+
*/
|
|
50340
|
+
OrganizationEvent.prototype.ticketFormat = "";
|
|
50341
|
+
|
|
50342
|
+
/**
|
|
50343
|
+
* OrganizationEvent validateMemberId.
|
|
50344
|
+
* @member {boolean} validateMemberId
|
|
50345
|
+
* @memberof OrganizationEvent
|
|
50346
|
+
* @instance
|
|
50347
|
+
*/
|
|
50348
|
+
OrganizationEvent.prototype.validateMemberId = false;
|
|
50349
|
+
|
|
50350
|
+
/**
|
|
50351
|
+
* Creates a new OrganizationEvent instance using the specified properties.
|
|
50352
|
+
* @function create
|
|
50353
|
+
* @memberof OrganizationEvent
|
|
50354
|
+
* @static
|
|
50355
|
+
* @param {IOrganizationEvent=} [properties] Properties to set
|
|
50356
|
+
* @returns {OrganizationEvent} OrganizationEvent instance
|
|
50357
|
+
*/
|
|
50358
|
+
OrganizationEvent.create = function create(properties) {
|
|
50359
|
+
return new OrganizationEvent(properties);
|
|
50360
|
+
};
|
|
50361
|
+
|
|
50362
|
+
/**
|
|
50363
|
+
* Encodes the specified OrganizationEvent message. Does not implicitly {@link OrganizationEvent.verify|verify} messages.
|
|
50364
|
+
* @function encode
|
|
50365
|
+
* @memberof OrganizationEvent
|
|
50366
|
+
* @static
|
|
50367
|
+
* @param {IOrganizationEvent} message OrganizationEvent message or plain object to encode
|
|
50368
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50369
|
+
* @returns {$protobuf.Writer} Writer
|
|
50370
|
+
*/
|
|
50371
|
+
OrganizationEvent.encode = function encode(message, writer) {
|
|
50372
|
+
if (!writer)
|
|
50373
|
+
writer = $Writer.create();
|
|
50374
|
+
if (message._id != null && Object.hasOwnProperty.call(message, "_id"))
|
|
50375
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message._id);
|
|
50376
|
+
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
50377
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
50378
|
+
if (message.createdAt != null && Object.hasOwnProperty.call(message, "createdAt"))
|
|
50379
|
+
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.createdAt);
|
|
50380
|
+
if (message.authyId != null && Object.hasOwnProperty.call(message, "authyId"))
|
|
50381
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.authyId);
|
|
50382
|
+
if (message.orgName != null && Object.hasOwnProperty.call(message, "orgName"))
|
|
50383
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.orgName);
|
|
50384
|
+
if (message.orgUrls != null && message.orgUrls.length)
|
|
50385
|
+
for (var i = 0; i < message.orgUrls.length; ++i)
|
|
50386
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.orgUrls[i]);
|
|
50387
|
+
if (message.address != null && Object.hasOwnProperty.call(message, "address"))
|
|
50388
|
+
$root.Address.encode(message.address, writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim();
|
|
50389
|
+
if (message.orgLogoUrl != null && Object.hasOwnProperty.call(message, "orgLogoUrl"))
|
|
50390
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.orgLogoUrl);
|
|
50391
|
+
if (message.orgColorHex != null && Object.hasOwnProperty.call(message, "orgColorHex"))
|
|
50392
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.orgColorHex);
|
|
50393
|
+
if (message.bio != null && Object.hasOwnProperty.call(message, "bio"))
|
|
50394
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.bio);
|
|
50395
|
+
if (message.email != null && Object.hasOwnProperty.call(message, "email"))
|
|
50396
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.email);
|
|
50397
|
+
if (message.phoneNumber != null && Object.hasOwnProperty.call(message, "phoneNumber"))
|
|
50398
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.phoneNumber);
|
|
50399
|
+
if (message.facebookPixelId != null && Object.hasOwnProperty.call(message, "facebookPixelId"))
|
|
50400
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.facebookPixelId);
|
|
50401
|
+
if (message.googleAnalyticsId != null && Object.hasOwnProperty.call(message, "googleAnalyticsId"))
|
|
50402
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.googleAnalyticsId);
|
|
50403
|
+
if (message.isSeasonTickets != null && Object.hasOwnProperty.call(message, "isSeasonTickets"))
|
|
50404
|
+
writer.uint32(/* id 14, wireType 0 =*/112).bool(message.isSeasonTickets);
|
|
50405
|
+
if (message.isTegIntegration != null && Object.hasOwnProperty.call(message, "isTegIntegration"))
|
|
50406
|
+
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.isTegIntegration);
|
|
50407
|
+
if (message.ticketFormat != null && Object.hasOwnProperty.call(message, "ticketFormat"))
|
|
50408
|
+
writer.uint32(/* id 16, wireType 2 =*/130).string(message.ticketFormat);
|
|
50409
|
+
if (message.validateMemberId != null && Object.hasOwnProperty.call(message, "validateMemberId"))
|
|
50410
|
+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.validateMemberId);
|
|
50411
|
+
return writer;
|
|
50412
|
+
};
|
|
50413
|
+
|
|
50414
|
+
/**
|
|
50415
|
+
* Encodes the specified OrganizationEvent message, length delimited. Does not implicitly {@link OrganizationEvent.verify|verify} messages.
|
|
50416
|
+
* @function encodeDelimited
|
|
50417
|
+
* @memberof OrganizationEvent
|
|
50418
|
+
* @static
|
|
50419
|
+
* @param {IOrganizationEvent} message OrganizationEvent message or plain object to encode
|
|
50420
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
50421
|
+
* @returns {$protobuf.Writer} Writer
|
|
50422
|
+
*/
|
|
50423
|
+
OrganizationEvent.encodeDelimited = function encodeDelimited(message, writer) {
|
|
50424
|
+
return this.encode(message, writer).ldelim();
|
|
50425
|
+
};
|
|
50426
|
+
|
|
50427
|
+
/**
|
|
50428
|
+
* Decodes an OrganizationEvent message from the specified reader or buffer.
|
|
50429
|
+
* @function decode
|
|
50430
|
+
* @memberof OrganizationEvent
|
|
50431
|
+
* @static
|
|
50432
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50433
|
+
* @param {number} [length] Message length if known beforehand
|
|
50434
|
+
* @returns {OrganizationEvent} OrganizationEvent
|
|
50435
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50436
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50437
|
+
*/
|
|
50438
|
+
OrganizationEvent.decode = function decode(reader, length) {
|
|
50439
|
+
if (!(reader instanceof $Reader))
|
|
50440
|
+
reader = $Reader.create(reader);
|
|
50441
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.OrganizationEvent();
|
|
50442
|
+
while (reader.pos < end) {
|
|
50443
|
+
var tag = reader.uint32();
|
|
50444
|
+
switch (tag >>> 3) {
|
|
50445
|
+
case 0:
|
|
50446
|
+
message._id = reader.string();
|
|
50447
|
+
break;
|
|
50448
|
+
case 1:
|
|
50449
|
+
message.userId = reader.string();
|
|
50450
|
+
break;
|
|
50451
|
+
case 2:
|
|
50452
|
+
message.createdAt = reader.int32();
|
|
50453
|
+
break;
|
|
50454
|
+
case 3:
|
|
50455
|
+
message.authyId = reader.string();
|
|
50456
|
+
break;
|
|
50457
|
+
case 4:
|
|
50458
|
+
message.orgName = reader.string();
|
|
50459
|
+
break;
|
|
50460
|
+
case 5:
|
|
50461
|
+
if (!(message.orgUrls && message.orgUrls.length))
|
|
50462
|
+
message.orgUrls = [];
|
|
50463
|
+
message.orgUrls.push(reader.string());
|
|
50464
|
+
break;
|
|
50465
|
+
case 6:
|
|
50466
|
+
message.address = $root.Address.decode(reader, reader.uint32());
|
|
50467
|
+
break;
|
|
50468
|
+
case 7:
|
|
50469
|
+
message.orgLogoUrl = reader.string();
|
|
50470
|
+
break;
|
|
50471
|
+
case 8:
|
|
50472
|
+
message.orgColorHex = reader.string();
|
|
50473
|
+
break;
|
|
50474
|
+
case 9:
|
|
50475
|
+
message.bio = reader.string();
|
|
50476
|
+
break;
|
|
50477
|
+
case 10:
|
|
50478
|
+
message.email = reader.string();
|
|
50479
|
+
break;
|
|
50480
|
+
case 11:
|
|
50481
|
+
message.phoneNumber = reader.string();
|
|
50482
|
+
break;
|
|
50483
|
+
case 12:
|
|
50484
|
+
message.facebookPixelId = reader.string();
|
|
50485
|
+
break;
|
|
50486
|
+
case 13:
|
|
50487
|
+
message.googleAnalyticsId = reader.string();
|
|
50488
|
+
break;
|
|
50489
|
+
case 14:
|
|
50490
|
+
message.isSeasonTickets = reader.bool();
|
|
50491
|
+
break;
|
|
50492
|
+
case 15:
|
|
50493
|
+
message.isTegIntegration = reader.bool();
|
|
50494
|
+
break;
|
|
50495
|
+
case 16:
|
|
50496
|
+
message.ticketFormat = reader.string();
|
|
50497
|
+
break;
|
|
50498
|
+
case 17:
|
|
50499
|
+
message.validateMemberId = reader.bool();
|
|
50500
|
+
break;
|
|
50501
|
+
default:
|
|
50502
|
+
reader.skipType(tag & 7);
|
|
50503
|
+
break;
|
|
50504
|
+
}
|
|
50505
|
+
}
|
|
50506
|
+
return message;
|
|
50507
|
+
};
|
|
50508
|
+
|
|
50509
|
+
/**
|
|
50510
|
+
* Decodes an OrganizationEvent message from the specified reader or buffer, length delimited.
|
|
50511
|
+
* @function decodeDelimited
|
|
50512
|
+
* @memberof OrganizationEvent
|
|
50513
|
+
* @static
|
|
50514
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
50515
|
+
* @returns {OrganizationEvent} OrganizationEvent
|
|
50516
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
50517
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
50518
|
+
*/
|
|
50519
|
+
OrganizationEvent.decodeDelimited = function decodeDelimited(reader) {
|
|
50520
|
+
if (!(reader instanceof $Reader))
|
|
50521
|
+
reader = new $Reader(reader);
|
|
50522
|
+
return this.decode(reader, reader.uint32());
|
|
50523
|
+
};
|
|
50524
|
+
|
|
50525
|
+
/**
|
|
50526
|
+
* Verifies an OrganizationEvent message.
|
|
50527
|
+
* @function verify
|
|
50528
|
+
* @memberof OrganizationEvent
|
|
50529
|
+
* @static
|
|
50530
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
50531
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
50532
|
+
*/
|
|
50533
|
+
OrganizationEvent.verify = function verify(message) {
|
|
50534
|
+
if (typeof message !== "object" || message === null)
|
|
50535
|
+
return "object expected";
|
|
50536
|
+
if (message._id != null && message.hasOwnProperty("_id"))
|
|
50537
|
+
if (!$util.isString(message._id))
|
|
50538
|
+
return "_id: string expected";
|
|
50539
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
50540
|
+
if (!$util.isString(message.userId))
|
|
50541
|
+
return "userId: string expected";
|
|
50542
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
50543
|
+
if (!$util.isInteger(message.createdAt))
|
|
50544
|
+
return "createdAt: integer expected";
|
|
50545
|
+
if (message.authyId != null && message.hasOwnProperty("authyId"))
|
|
50546
|
+
if (!$util.isString(message.authyId))
|
|
50547
|
+
return "authyId: string expected";
|
|
50548
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
50549
|
+
if (!$util.isString(message.orgName))
|
|
50550
|
+
return "orgName: string expected";
|
|
50551
|
+
if (message.orgUrls != null && message.hasOwnProperty("orgUrls")) {
|
|
50552
|
+
if (!Array.isArray(message.orgUrls))
|
|
50553
|
+
return "orgUrls: array expected";
|
|
50554
|
+
for (var i = 0; i < message.orgUrls.length; ++i)
|
|
50555
|
+
if (!$util.isString(message.orgUrls[i]))
|
|
50556
|
+
return "orgUrls: string[] expected";
|
|
50557
|
+
}
|
|
50558
|
+
if (message.address != null && message.hasOwnProperty("address")) {
|
|
50559
|
+
var error = $root.Address.verify(message.address);
|
|
50560
|
+
if (error)
|
|
50561
|
+
return "address." + error;
|
|
50562
|
+
}
|
|
50563
|
+
if (message.orgLogoUrl != null && message.hasOwnProperty("orgLogoUrl"))
|
|
50564
|
+
if (!$util.isString(message.orgLogoUrl))
|
|
50565
|
+
return "orgLogoUrl: string expected";
|
|
50566
|
+
if (message.orgColorHex != null && message.hasOwnProperty("orgColorHex"))
|
|
50567
|
+
if (!$util.isString(message.orgColorHex))
|
|
50568
|
+
return "orgColorHex: string expected";
|
|
50569
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
50570
|
+
if (!$util.isString(message.bio))
|
|
50571
|
+
return "bio: string expected";
|
|
50572
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
50573
|
+
if (!$util.isString(message.email))
|
|
50574
|
+
return "email: string expected";
|
|
50575
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
50576
|
+
if (!$util.isString(message.phoneNumber))
|
|
50577
|
+
return "phoneNumber: string expected";
|
|
50578
|
+
if (message.facebookPixelId != null && message.hasOwnProperty("facebookPixelId"))
|
|
50579
|
+
if (!$util.isString(message.facebookPixelId))
|
|
50580
|
+
return "facebookPixelId: string expected";
|
|
50581
|
+
if (message.googleAnalyticsId != null && message.hasOwnProperty("googleAnalyticsId"))
|
|
50582
|
+
if (!$util.isString(message.googleAnalyticsId))
|
|
50583
|
+
return "googleAnalyticsId: string expected";
|
|
50584
|
+
if (message.isSeasonTickets != null && message.hasOwnProperty("isSeasonTickets"))
|
|
50585
|
+
if (typeof message.isSeasonTickets !== "boolean")
|
|
50586
|
+
return "isSeasonTickets: boolean expected";
|
|
50587
|
+
if (message.isTegIntegration != null && message.hasOwnProperty("isTegIntegration"))
|
|
50588
|
+
if (typeof message.isTegIntegration !== "boolean")
|
|
50589
|
+
return "isTegIntegration: boolean expected";
|
|
50590
|
+
if (message.ticketFormat != null && message.hasOwnProperty("ticketFormat"))
|
|
50591
|
+
if (!$util.isString(message.ticketFormat))
|
|
50592
|
+
return "ticketFormat: string expected";
|
|
50593
|
+
if (message.validateMemberId != null && message.hasOwnProperty("validateMemberId"))
|
|
50594
|
+
if (typeof message.validateMemberId !== "boolean")
|
|
50595
|
+
return "validateMemberId: boolean expected";
|
|
50596
|
+
return null;
|
|
50597
|
+
};
|
|
50598
|
+
|
|
50599
|
+
/**
|
|
50600
|
+
* Creates an OrganizationEvent message from a plain object. Also converts values to their respective internal types.
|
|
50601
|
+
* @function fromObject
|
|
50602
|
+
* @memberof OrganizationEvent
|
|
50603
|
+
* @static
|
|
50604
|
+
* @param {Object.<string,*>} object Plain object
|
|
50605
|
+
* @returns {OrganizationEvent} OrganizationEvent
|
|
50606
|
+
*/
|
|
50607
|
+
OrganizationEvent.fromObject = function fromObject(object) {
|
|
50608
|
+
if (object instanceof $root.OrganizationEvent)
|
|
50609
|
+
return object;
|
|
50610
|
+
var message = new $root.OrganizationEvent();
|
|
50611
|
+
if (object._id != null)
|
|
50612
|
+
message._id = String(object._id);
|
|
50613
|
+
if (object.userId != null)
|
|
50614
|
+
message.userId = String(object.userId);
|
|
50615
|
+
if (object.createdAt != null)
|
|
50616
|
+
message.createdAt = object.createdAt | 0;
|
|
50617
|
+
if (object.authyId != null)
|
|
50618
|
+
message.authyId = String(object.authyId);
|
|
50619
|
+
if (object.orgName != null)
|
|
50620
|
+
message.orgName = String(object.orgName);
|
|
50621
|
+
if (object.orgUrls) {
|
|
50622
|
+
if (!Array.isArray(object.orgUrls))
|
|
50623
|
+
throw TypeError(".OrganizationEvent.orgUrls: array expected");
|
|
50624
|
+
message.orgUrls = [];
|
|
50625
|
+
for (var i = 0; i < object.orgUrls.length; ++i)
|
|
50626
|
+
message.orgUrls[i] = String(object.orgUrls[i]);
|
|
50627
|
+
}
|
|
50628
|
+
if (object.address != null) {
|
|
50629
|
+
if (typeof object.address !== "object")
|
|
50630
|
+
throw TypeError(".OrganizationEvent.address: object expected");
|
|
50631
|
+
message.address = $root.Address.fromObject(object.address);
|
|
50632
|
+
}
|
|
50633
|
+
if (object.orgLogoUrl != null)
|
|
50634
|
+
message.orgLogoUrl = String(object.orgLogoUrl);
|
|
50635
|
+
if (object.orgColorHex != null)
|
|
50636
|
+
message.orgColorHex = String(object.orgColorHex);
|
|
50637
|
+
if (object.bio != null)
|
|
50638
|
+
message.bio = String(object.bio);
|
|
50639
|
+
if (object.email != null)
|
|
50640
|
+
message.email = String(object.email);
|
|
50641
|
+
if (object.phoneNumber != null)
|
|
50642
|
+
message.phoneNumber = String(object.phoneNumber);
|
|
50643
|
+
if (object.facebookPixelId != null)
|
|
50644
|
+
message.facebookPixelId = String(object.facebookPixelId);
|
|
50645
|
+
if (object.googleAnalyticsId != null)
|
|
50646
|
+
message.googleAnalyticsId = String(object.googleAnalyticsId);
|
|
50647
|
+
if (object.isSeasonTickets != null)
|
|
50648
|
+
message.isSeasonTickets = Boolean(object.isSeasonTickets);
|
|
50649
|
+
if (object.isTegIntegration != null)
|
|
50650
|
+
message.isTegIntegration = Boolean(object.isTegIntegration);
|
|
50651
|
+
if (object.ticketFormat != null)
|
|
50652
|
+
message.ticketFormat = String(object.ticketFormat);
|
|
50653
|
+
if (object.validateMemberId != null)
|
|
50654
|
+
message.validateMemberId = Boolean(object.validateMemberId);
|
|
50655
|
+
return message;
|
|
50656
|
+
};
|
|
50657
|
+
|
|
50658
|
+
/**
|
|
50659
|
+
* Creates a plain object from an OrganizationEvent message. Also converts values to other types if specified.
|
|
50660
|
+
* @function toObject
|
|
50661
|
+
* @memberof OrganizationEvent
|
|
50662
|
+
* @static
|
|
50663
|
+
* @param {OrganizationEvent} message OrganizationEvent
|
|
50664
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
50665
|
+
* @returns {Object.<string,*>} Plain object
|
|
50666
|
+
*/
|
|
50667
|
+
OrganizationEvent.toObject = function toObject(message, options) {
|
|
50668
|
+
if (!options)
|
|
50669
|
+
options = {};
|
|
50670
|
+
var object = {};
|
|
50671
|
+
if (options.arrays || options.defaults)
|
|
50672
|
+
object.orgUrls = [];
|
|
50673
|
+
if (options.defaults) {
|
|
50674
|
+
object._id = "";
|
|
50675
|
+
object.userId = "";
|
|
50676
|
+
object.createdAt = 0;
|
|
50677
|
+
object.authyId = "";
|
|
50678
|
+
object.orgName = "";
|
|
50679
|
+
object.address = null;
|
|
50680
|
+
object.orgLogoUrl = "";
|
|
50681
|
+
object.orgColorHex = "";
|
|
50682
|
+
object.bio = "";
|
|
50683
|
+
object.email = "";
|
|
50684
|
+
object.phoneNumber = "";
|
|
50685
|
+
object.facebookPixelId = "";
|
|
50686
|
+
object.googleAnalyticsId = "";
|
|
50687
|
+
object.isSeasonTickets = false;
|
|
50688
|
+
object.isTegIntegration = false;
|
|
50689
|
+
object.ticketFormat = "";
|
|
50690
|
+
object.validateMemberId = false;
|
|
50691
|
+
}
|
|
50692
|
+
if (message._id != null && message.hasOwnProperty("_id"))
|
|
50693
|
+
object._id = message._id;
|
|
50694
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
50695
|
+
object.userId = message.userId;
|
|
50696
|
+
if (message.createdAt != null && message.hasOwnProperty("createdAt"))
|
|
50697
|
+
object.createdAt = message.createdAt;
|
|
50698
|
+
if (message.authyId != null && message.hasOwnProperty("authyId"))
|
|
50699
|
+
object.authyId = message.authyId;
|
|
50700
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
50701
|
+
object.orgName = message.orgName;
|
|
50702
|
+
if (message.orgUrls && message.orgUrls.length) {
|
|
50703
|
+
object.orgUrls = [];
|
|
50704
|
+
for (var j = 0; j < message.orgUrls.length; ++j)
|
|
50705
|
+
object.orgUrls[j] = message.orgUrls[j];
|
|
50706
|
+
}
|
|
50707
|
+
if (message.address != null && message.hasOwnProperty("address"))
|
|
50708
|
+
object.address = $root.Address.toObject(message.address, options);
|
|
50709
|
+
if (message.orgLogoUrl != null && message.hasOwnProperty("orgLogoUrl"))
|
|
50710
|
+
object.orgLogoUrl = message.orgLogoUrl;
|
|
50711
|
+
if (message.orgColorHex != null && message.hasOwnProperty("orgColorHex"))
|
|
50712
|
+
object.orgColorHex = message.orgColorHex;
|
|
50713
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
50714
|
+
object.bio = message.bio;
|
|
50715
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
50716
|
+
object.email = message.email;
|
|
50717
|
+
if (message.phoneNumber != null && message.hasOwnProperty("phoneNumber"))
|
|
50718
|
+
object.phoneNumber = message.phoneNumber;
|
|
50719
|
+
if (message.facebookPixelId != null && message.hasOwnProperty("facebookPixelId"))
|
|
50720
|
+
object.facebookPixelId = message.facebookPixelId;
|
|
50721
|
+
if (message.googleAnalyticsId != null && message.hasOwnProperty("googleAnalyticsId"))
|
|
50722
|
+
object.googleAnalyticsId = message.googleAnalyticsId;
|
|
50723
|
+
if (message.isSeasonTickets != null && message.hasOwnProperty("isSeasonTickets"))
|
|
50724
|
+
object.isSeasonTickets = message.isSeasonTickets;
|
|
50725
|
+
if (message.isTegIntegration != null && message.hasOwnProperty("isTegIntegration"))
|
|
50726
|
+
object.isTegIntegration = message.isTegIntegration;
|
|
50727
|
+
if (message.ticketFormat != null && message.hasOwnProperty("ticketFormat"))
|
|
50728
|
+
object.ticketFormat = message.ticketFormat;
|
|
50729
|
+
if (message.validateMemberId != null && message.hasOwnProperty("validateMemberId"))
|
|
50730
|
+
object.validateMemberId = message.validateMemberId;
|
|
50731
|
+
return object;
|
|
50732
|
+
};
|
|
50733
|
+
|
|
50734
|
+
/**
|
|
50735
|
+
* Converts this OrganizationEvent to JSON.
|
|
50736
|
+
* @function toJSON
|
|
50737
|
+
* @memberof OrganizationEvent
|
|
50738
|
+
* @instance
|
|
50739
|
+
* @returns {Object.<string,*>} JSON object
|
|
50740
|
+
*/
|
|
50741
|
+
OrganizationEvent.prototype.toJSON = function toJSON() {
|
|
50742
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
50743
|
+
};
|
|
50744
|
+
|
|
50745
|
+
return OrganizationEvent;
|
|
50746
|
+
})();
|
|
50747
|
+
|
|
49616
50748
|
$root.EventSchedule = (function() {
|
|
49617
50749
|
|
|
49618
50750
|
/**
|