@sellout/models 0.0.355 → 0.0.357
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/sellout-proto.js
CHANGED
|
@@ -85482,6 +85482,557 @@ $root.emailTicketHolderRequest = (function() {
|
|
|
85482
85482
|
return emailTicketHolderRequest;
|
|
85483
85483
|
})();
|
|
85484
85484
|
|
|
85485
|
+
$root.orderExportIssueEmailRequest = (function() {
|
|
85486
|
+
|
|
85487
|
+
/**
|
|
85488
|
+
* Properties of an orderExportIssueEmailRequest.
|
|
85489
|
+
* @exports IorderExportIssueEmailRequest
|
|
85490
|
+
* @interface IorderExportIssueEmailRequest
|
|
85491
|
+
* @property {string|null} [eventName] orderExportIssueEmailRequest eventName
|
|
85492
|
+
* @property {string|null} [toAddress] orderExportIssueEmailRequest toAddress
|
|
85493
|
+
* @property {string|null} [orgName] orderExportIssueEmailRequest orgName
|
|
85494
|
+
* @property {Array.<string>|null} [cc] orderExportIssueEmailRequest cc
|
|
85495
|
+
* @property {Array.<string>|null} [dayIds] orderExportIssueEmailRequest dayIds
|
|
85496
|
+
* @property {string|null} [timezone] orderExportIssueEmailRequest timezone
|
|
85497
|
+
* @property {string|null} [eventSubtitle] orderExportIssueEmailRequest eventSubtitle
|
|
85498
|
+
* @property {string|null} [cityState] orderExportIssueEmailRequest cityState
|
|
85499
|
+
* @property {string|null} [venueName] orderExportIssueEmailRequest venueName
|
|
85500
|
+
* @property {string|null} [eventDate] orderExportIssueEmailRequest eventDate
|
|
85501
|
+
* @property {string|null} [eventPosterImageUrl] orderExportIssueEmailRequest eventPosterImageUrl
|
|
85502
|
+
* @property {string|null} [orgLogoUrl] orderExportIssueEmailRequest orgLogoUrl
|
|
85503
|
+
* @property {string|null} [doorsAt] orderExportIssueEmailRequest doorsAt
|
|
85504
|
+
* @property {string|null} [showAt] orderExportIssueEmailRequest showAt
|
|
85505
|
+
* @property {Array.<IdayIdsTimeObj>|null} [dayIdsTime] orderExportIssueEmailRequest dayIdsTime
|
|
85506
|
+
*/
|
|
85507
|
+
|
|
85508
|
+
/**
|
|
85509
|
+
* Constructs a new orderExportIssueEmailRequest.
|
|
85510
|
+
* @exports orderExportIssueEmailRequest
|
|
85511
|
+
* @classdesc Represents an orderExportIssueEmailRequest.
|
|
85512
|
+
* @implements IorderExportIssueEmailRequest
|
|
85513
|
+
* @constructor
|
|
85514
|
+
* @param {IorderExportIssueEmailRequest=} [properties] Properties to set
|
|
85515
|
+
*/
|
|
85516
|
+
function orderExportIssueEmailRequest(properties) {
|
|
85517
|
+
this.cc = [];
|
|
85518
|
+
this.dayIds = [];
|
|
85519
|
+
this.dayIdsTime = [];
|
|
85520
|
+
if (properties)
|
|
85521
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
85522
|
+
if (properties[keys[i]] != null)
|
|
85523
|
+
this[keys[i]] = properties[keys[i]];
|
|
85524
|
+
}
|
|
85525
|
+
|
|
85526
|
+
/**
|
|
85527
|
+
* orderExportIssueEmailRequest eventName.
|
|
85528
|
+
* @member {string} eventName
|
|
85529
|
+
* @memberof orderExportIssueEmailRequest
|
|
85530
|
+
* @instance
|
|
85531
|
+
*/
|
|
85532
|
+
orderExportIssueEmailRequest.prototype.eventName = "";
|
|
85533
|
+
|
|
85534
|
+
/**
|
|
85535
|
+
* orderExportIssueEmailRequest toAddress.
|
|
85536
|
+
* @member {string} toAddress
|
|
85537
|
+
* @memberof orderExportIssueEmailRequest
|
|
85538
|
+
* @instance
|
|
85539
|
+
*/
|
|
85540
|
+
orderExportIssueEmailRequest.prototype.toAddress = "";
|
|
85541
|
+
|
|
85542
|
+
/**
|
|
85543
|
+
* orderExportIssueEmailRequest orgName.
|
|
85544
|
+
* @member {string} orgName
|
|
85545
|
+
* @memberof orderExportIssueEmailRequest
|
|
85546
|
+
* @instance
|
|
85547
|
+
*/
|
|
85548
|
+
orderExportIssueEmailRequest.prototype.orgName = "";
|
|
85549
|
+
|
|
85550
|
+
/**
|
|
85551
|
+
* orderExportIssueEmailRequest cc.
|
|
85552
|
+
* @member {Array.<string>} cc
|
|
85553
|
+
* @memberof orderExportIssueEmailRequest
|
|
85554
|
+
* @instance
|
|
85555
|
+
*/
|
|
85556
|
+
orderExportIssueEmailRequest.prototype.cc = $util.emptyArray;
|
|
85557
|
+
|
|
85558
|
+
/**
|
|
85559
|
+
* orderExportIssueEmailRequest dayIds.
|
|
85560
|
+
* @member {Array.<string>} dayIds
|
|
85561
|
+
* @memberof orderExportIssueEmailRequest
|
|
85562
|
+
* @instance
|
|
85563
|
+
*/
|
|
85564
|
+
orderExportIssueEmailRequest.prototype.dayIds = $util.emptyArray;
|
|
85565
|
+
|
|
85566
|
+
/**
|
|
85567
|
+
* orderExportIssueEmailRequest timezone.
|
|
85568
|
+
* @member {string} timezone
|
|
85569
|
+
* @memberof orderExportIssueEmailRequest
|
|
85570
|
+
* @instance
|
|
85571
|
+
*/
|
|
85572
|
+
orderExportIssueEmailRequest.prototype.timezone = "";
|
|
85573
|
+
|
|
85574
|
+
/**
|
|
85575
|
+
* orderExportIssueEmailRequest eventSubtitle.
|
|
85576
|
+
* @member {string} eventSubtitle
|
|
85577
|
+
* @memberof orderExportIssueEmailRequest
|
|
85578
|
+
* @instance
|
|
85579
|
+
*/
|
|
85580
|
+
orderExportIssueEmailRequest.prototype.eventSubtitle = "";
|
|
85581
|
+
|
|
85582
|
+
/**
|
|
85583
|
+
* orderExportIssueEmailRequest cityState.
|
|
85584
|
+
* @member {string} cityState
|
|
85585
|
+
* @memberof orderExportIssueEmailRequest
|
|
85586
|
+
* @instance
|
|
85587
|
+
*/
|
|
85588
|
+
orderExportIssueEmailRequest.prototype.cityState = "";
|
|
85589
|
+
|
|
85590
|
+
/**
|
|
85591
|
+
* orderExportIssueEmailRequest venueName.
|
|
85592
|
+
* @member {string} venueName
|
|
85593
|
+
* @memberof orderExportIssueEmailRequest
|
|
85594
|
+
* @instance
|
|
85595
|
+
*/
|
|
85596
|
+
orderExportIssueEmailRequest.prototype.venueName = "";
|
|
85597
|
+
|
|
85598
|
+
/**
|
|
85599
|
+
* orderExportIssueEmailRequest eventDate.
|
|
85600
|
+
* @member {string} eventDate
|
|
85601
|
+
* @memberof orderExportIssueEmailRequest
|
|
85602
|
+
* @instance
|
|
85603
|
+
*/
|
|
85604
|
+
orderExportIssueEmailRequest.prototype.eventDate = "";
|
|
85605
|
+
|
|
85606
|
+
/**
|
|
85607
|
+
* orderExportIssueEmailRequest eventPosterImageUrl.
|
|
85608
|
+
* @member {string} eventPosterImageUrl
|
|
85609
|
+
* @memberof orderExportIssueEmailRequest
|
|
85610
|
+
* @instance
|
|
85611
|
+
*/
|
|
85612
|
+
orderExportIssueEmailRequest.prototype.eventPosterImageUrl = "";
|
|
85613
|
+
|
|
85614
|
+
/**
|
|
85615
|
+
* orderExportIssueEmailRequest orgLogoUrl.
|
|
85616
|
+
* @member {string} orgLogoUrl
|
|
85617
|
+
* @memberof orderExportIssueEmailRequest
|
|
85618
|
+
* @instance
|
|
85619
|
+
*/
|
|
85620
|
+
orderExportIssueEmailRequest.prototype.orgLogoUrl = "";
|
|
85621
|
+
|
|
85622
|
+
/**
|
|
85623
|
+
* orderExportIssueEmailRequest doorsAt.
|
|
85624
|
+
* @member {string} doorsAt
|
|
85625
|
+
* @memberof orderExportIssueEmailRequest
|
|
85626
|
+
* @instance
|
|
85627
|
+
*/
|
|
85628
|
+
orderExportIssueEmailRequest.prototype.doorsAt = "";
|
|
85629
|
+
|
|
85630
|
+
/**
|
|
85631
|
+
* orderExportIssueEmailRequest showAt.
|
|
85632
|
+
* @member {string} showAt
|
|
85633
|
+
* @memberof orderExportIssueEmailRequest
|
|
85634
|
+
* @instance
|
|
85635
|
+
*/
|
|
85636
|
+
orderExportIssueEmailRequest.prototype.showAt = "";
|
|
85637
|
+
|
|
85638
|
+
/**
|
|
85639
|
+
* orderExportIssueEmailRequest dayIdsTime.
|
|
85640
|
+
* @member {Array.<IdayIdsTimeObj>} dayIdsTime
|
|
85641
|
+
* @memberof orderExportIssueEmailRequest
|
|
85642
|
+
* @instance
|
|
85643
|
+
*/
|
|
85644
|
+
orderExportIssueEmailRequest.prototype.dayIdsTime = $util.emptyArray;
|
|
85645
|
+
|
|
85646
|
+
/**
|
|
85647
|
+
* Creates a new orderExportIssueEmailRequest instance using the specified properties.
|
|
85648
|
+
* @function create
|
|
85649
|
+
* @memberof orderExportIssueEmailRequest
|
|
85650
|
+
* @static
|
|
85651
|
+
* @param {IorderExportIssueEmailRequest=} [properties] Properties to set
|
|
85652
|
+
* @returns {orderExportIssueEmailRequest} orderExportIssueEmailRequest instance
|
|
85653
|
+
*/
|
|
85654
|
+
orderExportIssueEmailRequest.create = function create(properties) {
|
|
85655
|
+
return new orderExportIssueEmailRequest(properties);
|
|
85656
|
+
};
|
|
85657
|
+
|
|
85658
|
+
/**
|
|
85659
|
+
* Encodes the specified orderExportIssueEmailRequest message. Does not implicitly {@link orderExportIssueEmailRequest.verify|verify} messages.
|
|
85660
|
+
* @function encode
|
|
85661
|
+
* @memberof orderExportIssueEmailRequest
|
|
85662
|
+
* @static
|
|
85663
|
+
* @param {IorderExportIssueEmailRequest} message orderExportIssueEmailRequest message or plain object to encode
|
|
85664
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85665
|
+
* @returns {$protobuf.Writer} Writer
|
|
85666
|
+
*/
|
|
85667
|
+
orderExportIssueEmailRequest.encode = function encode(message, writer) {
|
|
85668
|
+
if (!writer)
|
|
85669
|
+
writer = $Writer.create();
|
|
85670
|
+
if (message.eventName != null && Object.hasOwnProperty.call(message, "eventName"))
|
|
85671
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message.eventName);
|
|
85672
|
+
if (message.toAddress != null && Object.hasOwnProperty.call(message, "toAddress"))
|
|
85673
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.toAddress);
|
|
85674
|
+
if (message.orgName != null && Object.hasOwnProperty.call(message, "orgName"))
|
|
85675
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.orgName);
|
|
85676
|
+
if (message.cc != null && message.cc.length)
|
|
85677
|
+
for (var i = 0; i < message.cc.length; ++i)
|
|
85678
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.cc[i]);
|
|
85679
|
+
if (message.dayIds != null && message.dayIds.length)
|
|
85680
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
85681
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.dayIds[i]);
|
|
85682
|
+
if (message.timezone != null && Object.hasOwnProperty.call(message, "timezone"))
|
|
85683
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.timezone);
|
|
85684
|
+
if (message.eventSubtitle != null && Object.hasOwnProperty.call(message, "eventSubtitle"))
|
|
85685
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.eventSubtitle);
|
|
85686
|
+
if (message.cityState != null && Object.hasOwnProperty.call(message, "cityState"))
|
|
85687
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.cityState);
|
|
85688
|
+
if (message.venueName != null && Object.hasOwnProperty.call(message, "venueName"))
|
|
85689
|
+
writer.uint32(/* id 8, wireType 2 =*/66).string(message.venueName);
|
|
85690
|
+
if (message.eventDate != null && Object.hasOwnProperty.call(message, "eventDate"))
|
|
85691
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.eventDate);
|
|
85692
|
+
if (message.eventPosterImageUrl != null && Object.hasOwnProperty.call(message, "eventPosterImageUrl"))
|
|
85693
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.eventPosterImageUrl);
|
|
85694
|
+
if (message.orgLogoUrl != null && Object.hasOwnProperty.call(message, "orgLogoUrl"))
|
|
85695
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.orgLogoUrl);
|
|
85696
|
+
if (message.doorsAt != null && Object.hasOwnProperty.call(message, "doorsAt"))
|
|
85697
|
+
writer.uint32(/* id 12, wireType 2 =*/98).string(message.doorsAt);
|
|
85698
|
+
if (message.showAt != null && Object.hasOwnProperty.call(message, "showAt"))
|
|
85699
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.showAt);
|
|
85700
|
+
if (message.dayIdsTime != null && message.dayIdsTime.length)
|
|
85701
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i)
|
|
85702
|
+
$root.dayIdsTimeObj.encode(message.dayIdsTime[i], writer.uint32(/* id 14, wireType 2 =*/114).fork()).ldelim();
|
|
85703
|
+
return writer;
|
|
85704
|
+
};
|
|
85705
|
+
|
|
85706
|
+
/**
|
|
85707
|
+
* Encodes the specified orderExportIssueEmailRequest message, length delimited. Does not implicitly {@link orderExportIssueEmailRequest.verify|verify} messages.
|
|
85708
|
+
* @function encodeDelimited
|
|
85709
|
+
* @memberof orderExportIssueEmailRequest
|
|
85710
|
+
* @static
|
|
85711
|
+
* @param {IorderExportIssueEmailRequest} message orderExportIssueEmailRequest message or plain object to encode
|
|
85712
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
85713
|
+
* @returns {$protobuf.Writer} Writer
|
|
85714
|
+
*/
|
|
85715
|
+
orderExportIssueEmailRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
85716
|
+
return this.encode(message, writer).ldelim();
|
|
85717
|
+
};
|
|
85718
|
+
|
|
85719
|
+
/**
|
|
85720
|
+
* Decodes an orderExportIssueEmailRequest message from the specified reader or buffer.
|
|
85721
|
+
* @function decode
|
|
85722
|
+
* @memberof orderExportIssueEmailRequest
|
|
85723
|
+
* @static
|
|
85724
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85725
|
+
* @param {number} [length] Message length if known beforehand
|
|
85726
|
+
* @returns {orderExportIssueEmailRequest} orderExportIssueEmailRequest
|
|
85727
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85728
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85729
|
+
*/
|
|
85730
|
+
orderExportIssueEmailRequest.decode = function decode(reader, length) {
|
|
85731
|
+
if (!(reader instanceof $Reader))
|
|
85732
|
+
reader = $Reader.create(reader);
|
|
85733
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.orderExportIssueEmailRequest();
|
|
85734
|
+
while (reader.pos < end) {
|
|
85735
|
+
var tag = reader.uint32();
|
|
85736
|
+
switch (tag >>> 3) {
|
|
85737
|
+
case 0:
|
|
85738
|
+
message.eventName = reader.string();
|
|
85739
|
+
break;
|
|
85740
|
+
case 1:
|
|
85741
|
+
message.toAddress = reader.string();
|
|
85742
|
+
break;
|
|
85743
|
+
case 2:
|
|
85744
|
+
message.orgName = reader.string();
|
|
85745
|
+
break;
|
|
85746
|
+
case 3:
|
|
85747
|
+
if (!(message.cc && message.cc.length))
|
|
85748
|
+
message.cc = [];
|
|
85749
|
+
message.cc.push(reader.string());
|
|
85750
|
+
break;
|
|
85751
|
+
case 4:
|
|
85752
|
+
if (!(message.dayIds && message.dayIds.length))
|
|
85753
|
+
message.dayIds = [];
|
|
85754
|
+
message.dayIds.push(reader.string());
|
|
85755
|
+
break;
|
|
85756
|
+
case 5:
|
|
85757
|
+
message.timezone = reader.string();
|
|
85758
|
+
break;
|
|
85759
|
+
case 6:
|
|
85760
|
+
message.eventSubtitle = reader.string();
|
|
85761
|
+
break;
|
|
85762
|
+
case 7:
|
|
85763
|
+
message.cityState = reader.string();
|
|
85764
|
+
break;
|
|
85765
|
+
case 8:
|
|
85766
|
+
message.venueName = reader.string();
|
|
85767
|
+
break;
|
|
85768
|
+
case 9:
|
|
85769
|
+
message.eventDate = reader.string();
|
|
85770
|
+
break;
|
|
85771
|
+
case 10:
|
|
85772
|
+
message.eventPosterImageUrl = reader.string();
|
|
85773
|
+
break;
|
|
85774
|
+
case 11:
|
|
85775
|
+
message.orgLogoUrl = reader.string();
|
|
85776
|
+
break;
|
|
85777
|
+
case 12:
|
|
85778
|
+
message.doorsAt = reader.string();
|
|
85779
|
+
break;
|
|
85780
|
+
case 13:
|
|
85781
|
+
message.showAt = reader.string();
|
|
85782
|
+
break;
|
|
85783
|
+
case 14:
|
|
85784
|
+
if (!(message.dayIdsTime && message.dayIdsTime.length))
|
|
85785
|
+
message.dayIdsTime = [];
|
|
85786
|
+
message.dayIdsTime.push($root.dayIdsTimeObj.decode(reader, reader.uint32()));
|
|
85787
|
+
break;
|
|
85788
|
+
default:
|
|
85789
|
+
reader.skipType(tag & 7);
|
|
85790
|
+
break;
|
|
85791
|
+
}
|
|
85792
|
+
}
|
|
85793
|
+
return message;
|
|
85794
|
+
};
|
|
85795
|
+
|
|
85796
|
+
/**
|
|
85797
|
+
* Decodes an orderExportIssueEmailRequest message from the specified reader or buffer, length delimited.
|
|
85798
|
+
* @function decodeDelimited
|
|
85799
|
+
* @memberof orderExportIssueEmailRequest
|
|
85800
|
+
* @static
|
|
85801
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
85802
|
+
* @returns {orderExportIssueEmailRequest} orderExportIssueEmailRequest
|
|
85803
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
85804
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
85805
|
+
*/
|
|
85806
|
+
orderExportIssueEmailRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
85807
|
+
if (!(reader instanceof $Reader))
|
|
85808
|
+
reader = new $Reader(reader);
|
|
85809
|
+
return this.decode(reader, reader.uint32());
|
|
85810
|
+
};
|
|
85811
|
+
|
|
85812
|
+
/**
|
|
85813
|
+
* Verifies an orderExportIssueEmailRequest message.
|
|
85814
|
+
* @function verify
|
|
85815
|
+
* @memberof orderExportIssueEmailRequest
|
|
85816
|
+
* @static
|
|
85817
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
85818
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
85819
|
+
*/
|
|
85820
|
+
orderExportIssueEmailRequest.verify = function verify(message) {
|
|
85821
|
+
if (typeof message !== "object" || message === null)
|
|
85822
|
+
return "object expected";
|
|
85823
|
+
if (message.eventName != null && message.hasOwnProperty("eventName"))
|
|
85824
|
+
if (!$util.isString(message.eventName))
|
|
85825
|
+
return "eventName: string expected";
|
|
85826
|
+
if (message.toAddress != null && message.hasOwnProperty("toAddress"))
|
|
85827
|
+
if (!$util.isString(message.toAddress))
|
|
85828
|
+
return "toAddress: string expected";
|
|
85829
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
85830
|
+
if (!$util.isString(message.orgName))
|
|
85831
|
+
return "orgName: string expected";
|
|
85832
|
+
if (message.cc != null && message.hasOwnProperty("cc")) {
|
|
85833
|
+
if (!Array.isArray(message.cc))
|
|
85834
|
+
return "cc: array expected";
|
|
85835
|
+
for (var i = 0; i < message.cc.length; ++i)
|
|
85836
|
+
if (!$util.isString(message.cc[i]))
|
|
85837
|
+
return "cc: string[] expected";
|
|
85838
|
+
}
|
|
85839
|
+
if (message.dayIds != null && message.hasOwnProperty("dayIds")) {
|
|
85840
|
+
if (!Array.isArray(message.dayIds))
|
|
85841
|
+
return "dayIds: array expected";
|
|
85842
|
+
for (var i = 0; i < message.dayIds.length; ++i)
|
|
85843
|
+
if (!$util.isString(message.dayIds[i]))
|
|
85844
|
+
return "dayIds: string[] expected";
|
|
85845
|
+
}
|
|
85846
|
+
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
85847
|
+
if (!$util.isString(message.timezone))
|
|
85848
|
+
return "timezone: string expected";
|
|
85849
|
+
if (message.eventSubtitle != null && message.hasOwnProperty("eventSubtitle"))
|
|
85850
|
+
if (!$util.isString(message.eventSubtitle))
|
|
85851
|
+
return "eventSubtitle: string expected";
|
|
85852
|
+
if (message.cityState != null && message.hasOwnProperty("cityState"))
|
|
85853
|
+
if (!$util.isString(message.cityState))
|
|
85854
|
+
return "cityState: string expected";
|
|
85855
|
+
if (message.venueName != null && message.hasOwnProperty("venueName"))
|
|
85856
|
+
if (!$util.isString(message.venueName))
|
|
85857
|
+
return "venueName: string expected";
|
|
85858
|
+
if (message.eventDate != null && message.hasOwnProperty("eventDate"))
|
|
85859
|
+
if (!$util.isString(message.eventDate))
|
|
85860
|
+
return "eventDate: string expected";
|
|
85861
|
+
if (message.eventPosterImageUrl != null && message.hasOwnProperty("eventPosterImageUrl"))
|
|
85862
|
+
if (!$util.isString(message.eventPosterImageUrl))
|
|
85863
|
+
return "eventPosterImageUrl: string expected";
|
|
85864
|
+
if (message.orgLogoUrl != null && message.hasOwnProperty("orgLogoUrl"))
|
|
85865
|
+
if (!$util.isString(message.orgLogoUrl))
|
|
85866
|
+
return "orgLogoUrl: string expected";
|
|
85867
|
+
if (message.doorsAt != null && message.hasOwnProperty("doorsAt"))
|
|
85868
|
+
if (!$util.isString(message.doorsAt))
|
|
85869
|
+
return "doorsAt: string expected";
|
|
85870
|
+
if (message.showAt != null && message.hasOwnProperty("showAt"))
|
|
85871
|
+
if (!$util.isString(message.showAt))
|
|
85872
|
+
return "showAt: string expected";
|
|
85873
|
+
if (message.dayIdsTime != null && message.hasOwnProperty("dayIdsTime")) {
|
|
85874
|
+
if (!Array.isArray(message.dayIdsTime))
|
|
85875
|
+
return "dayIdsTime: array expected";
|
|
85876
|
+
for (var i = 0; i < message.dayIdsTime.length; ++i) {
|
|
85877
|
+
var error = $root.dayIdsTimeObj.verify(message.dayIdsTime[i]);
|
|
85878
|
+
if (error)
|
|
85879
|
+
return "dayIdsTime." + error;
|
|
85880
|
+
}
|
|
85881
|
+
}
|
|
85882
|
+
return null;
|
|
85883
|
+
};
|
|
85884
|
+
|
|
85885
|
+
/**
|
|
85886
|
+
* Creates an orderExportIssueEmailRequest message from a plain object. Also converts values to their respective internal types.
|
|
85887
|
+
* @function fromObject
|
|
85888
|
+
* @memberof orderExportIssueEmailRequest
|
|
85889
|
+
* @static
|
|
85890
|
+
* @param {Object.<string,*>} object Plain object
|
|
85891
|
+
* @returns {orderExportIssueEmailRequest} orderExportIssueEmailRequest
|
|
85892
|
+
*/
|
|
85893
|
+
orderExportIssueEmailRequest.fromObject = function fromObject(object) {
|
|
85894
|
+
if (object instanceof $root.orderExportIssueEmailRequest)
|
|
85895
|
+
return object;
|
|
85896
|
+
var message = new $root.orderExportIssueEmailRequest();
|
|
85897
|
+
if (object.eventName != null)
|
|
85898
|
+
message.eventName = String(object.eventName);
|
|
85899
|
+
if (object.toAddress != null)
|
|
85900
|
+
message.toAddress = String(object.toAddress);
|
|
85901
|
+
if (object.orgName != null)
|
|
85902
|
+
message.orgName = String(object.orgName);
|
|
85903
|
+
if (object.cc) {
|
|
85904
|
+
if (!Array.isArray(object.cc))
|
|
85905
|
+
throw TypeError(".orderExportIssueEmailRequest.cc: array expected");
|
|
85906
|
+
message.cc = [];
|
|
85907
|
+
for (var i = 0; i < object.cc.length; ++i)
|
|
85908
|
+
message.cc[i] = String(object.cc[i]);
|
|
85909
|
+
}
|
|
85910
|
+
if (object.dayIds) {
|
|
85911
|
+
if (!Array.isArray(object.dayIds))
|
|
85912
|
+
throw TypeError(".orderExportIssueEmailRequest.dayIds: array expected");
|
|
85913
|
+
message.dayIds = [];
|
|
85914
|
+
for (var i = 0; i < object.dayIds.length; ++i)
|
|
85915
|
+
message.dayIds[i] = String(object.dayIds[i]);
|
|
85916
|
+
}
|
|
85917
|
+
if (object.timezone != null)
|
|
85918
|
+
message.timezone = String(object.timezone);
|
|
85919
|
+
if (object.eventSubtitle != null)
|
|
85920
|
+
message.eventSubtitle = String(object.eventSubtitle);
|
|
85921
|
+
if (object.cityState != null)
|
|
85922
|
+
message.cityState = String(object.cityState);
|
|
85923
|
+
if (object.venueName != null)
|
|
85924
|
+
message.venueName = String(object.venueName);
|
|
85925
|
+
if (object.eventDate != null)
|
|
85926
|
+
message.eventDate = String(object.eventDate);
|
|
85927
|
+
if (object.eventPosterImageUrl != null)
|
|
85928
|
+
message.eventPosterImageUrl = String(object.eventPosterImageUrl);
|
|
85929
|
+
if (object.orgLogoUrl != null)
|
|
85930
|
+
message.orgLogoUrl = String(object.orgLogoUrl);
|
|
85931
|
+
if (object.doorsAt != null)
|
|
85932
|
+
message.doorsAt = String(object.doorsAt);
|
|
85933
|
+
if (object.showAt != null)
|
|
85934
|
+
message.showAt = String(object.showAt);
|
|
85935
|
+
if (object.dayIdsTime) {
|
|
85936
|
+
if (!Array.isArray(object.dayIdsTime))
|
|
85937
|
+
throw TypeError(".orderExportIssueEmailRequest.dayIdsTime: array expected");
|
|
85938
|
+
message.dayIdsTime = [];
|
|
85939
|
+
for (var i = 0; i < object.dayIdsTime.length; ++i) {
|
|
85940
|
+
if (typeof object.dayIdsTime[i] !== "object")
|
|
85941
|
+
throw TypeError(".orderExportIssueEmailRequest.dayIdsTime: object expected");
|
|
85942
|
+
message.dayIdsTime[i] = $root.dayIdsTimeObj.fromObject(object.dayIdsTime[i]);
|
|
85943
|
+
}
|
|
85944
|
+
}
|
|
85945
|
+
return message;
|
|
85946
|
+
};
|
|
85947
|
+
|
|
85948
|
+
/**
|
|
85949
|
+
* Creates a plain object from an orderExportIssueEmailRequest message. Also converts values to other types if specified.
|
|
85950
|
+
* @function toObject
|
|
85951
|
+
* @memberof orderExportIssueEmailRequest
|
|
85952
|
+
* @static
|
|
85953
|
+
* @param {orderExportIssueEmailRequest} message orderExportIssueEmailRequest
|
|
85954
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
85955
|
+
* @returns {Object.<string,*>} Plain object
|
|
85956
|
+
*/
|
|
85957
|
+
orderExportIssueEmailRequest.toObject = function toObject(message, options) {
|
|
85958
|
+
if (!options)
|
|
85959
|
+
options = {};
|
|
85960
|
+
var object = {};
|
|
85961
|
+
if (options.arrays || options.defaults) {
|
|
85962
|
+
object.cc = [];
|
|
85963
|
+
object.dayIds = [];
|
|
85964
|
+
object.dayIdsTime = [];
|
|
85965
|
+
}
|
|
85966
|
+
if (options.defaults) {
|
|
85967
|
+
object.eventName = "";
|
|
85968
|
+
object.toAddress = "";
|
|
85969
|
+
object.orgName = "";
|
|
85970
|
+
object.timezone = "";
|
|
85971
|
+
object.eventSubtitle = "";
|
|
85972
|
+
object.cityState = "";
|
|
85973
|
+
object.venueName = "";
|
|
85974
|
+
object.eventDate = "";
|
|
85975
|
+
object.eventPosterImageUrl = "";
|
|
85976
|
+
object.orgLogoUrl = "";
|
|
85977
|
+
object.doorsAt = "";
|
|
85978
|
+
object.showAt = "";
|
|
85979
|
+
}
|
|
85980
|
+
if (message.eventName != null && message.hasOwnProperty("eventName"))
|
|
85981
|
+
object.eventName = message.eventName;
|
|
85982
|
+
if (message.toAddress != null && message.hasOwnProperty("toAddress"))
|
|
85983
|
+
object.toAddress = message.toAddress;
|
|
85984
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
85985
|
+
object.orgName = message.orgName;
|
|
85986
|
+
if (message.cc && message.cc.length) {
|
|
85987
|
+
object.cc = [];
|
|
85988
|
+
for (var j = 0; j < message.cc.length; ++j)
|
|
85989
|
+
object.cc[j] = message.cc[j];
|
|
85990
|
+
}
|
|
85991
|
+
if (message.dayIds && message.dayIds.length) {
|
|
85992
|
+
object.dayIds = [];
|
|
85993
|
+
for (var j = 0; j < message.dayIds.length; ++j)
|
|
85994
|
+
object.dayIds[j] = message.dayIds[j];
|
|
85995
|
+
}
|
|
85996
|
+
if (message.timezone != null && message.hasOwnProperty("timezone"))
|
|
85997
|
+
object.timezone = message.timezone;
|
|
85998
|
+
if (message.eventSubtitle != null && message.hasOwnProperty("eventSubtitle"))
|
|
85999
|
+
object.eventSubtitle = message.eventSubtitle;
|
|
86000
|
+
if (message.cityState != null && message.hasOwnProperty("cityState"))
|
|
86001
|
+
object.cityState = message.cityState;
|
|
86002
|
+
if (message.venueName != null && message.hasOwnProperty("venueName"))
|
|
86003
|
+
object.venueName = message.venueName;
|
|
86004
|
+
if (message.eventDate != null && message.hasOwnProperty("eventDate"))
|
|
86005
|
+
object.eventDate = message.eventDate;
|
|
86006
|
+
if (message.eventPosterImageUrl != null && message.hasOwnProperty("eventPosterImageUrl"))
|
|
86007
|
+
object.eventPosterImageUrl = message.eventPosterImageUrl;
|
|
86008
|
+
if (message.orgLogoUrl != null && message.hasOwnProperty("orgLogoUrl"))
|
|
86009
|
+
object.orgLogoUrl = message.orgLogoUrl;
|
|
86010
|
+
if (message.doorsAt != null && message.hasOwnProperty("doorsAt"))
|
|
86011
|
+
object.doorsAt = message.doorsAt;
|
|
86012
|
+
if (message.showAt != null && message.hasOwnProperty("showAt"))
|
|
86013
|
+
object.showAt = message.showAt;
|
|
86014
|
+
if (message.dayIdsTime && message.dayIdsTime.length) {
|
|
86015
|
+
object.dayIdsTime = [];
|
|
86016
|
+
for (var j = 0; j < message.dayIdsTime.length; ++j)
|
|
86017
|
+
object.dayIdsTime[j] = $root.dayIdsTimeObj.toObject(message.dayIdsTime[j], options);
|
|
86018
|
+
}
|
|
86019
|
+
return object;
|
|
86020
|
+
};
|
|
86021
|
+
|
|
86022
|
+
/**
|
|
86023
|
+
* Converts this orderExportIssueEmailRequest to JSON.
|
|
86024
|
+
* @function toJSON
|
|
86025
|
+
* @memberof orderExportIssueEmailRequest
|
|
86026
|
+
* @instance
|
|
86027
|
+
* @returns {Object.<string,*>} JSON object
|
|
86028
|
+
*/
|
|
86029
|
+
orderExportIssueEmailRequest.prototype.toJSON = function toJSON() {
|
|
86030
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
86031
|
+
};
|
|
86032
|
+
|
|
86033
|
+
return orderExportIssueEmailRequest;
|
|
86034
|
+
})();
|
|
86035
|
+
|
|
85485
86036
|
$root.EmailService = (function() {
|
|
85486
86037
|
|
|
85487
86038
|
/**
|
|
@@ -86141,6 +86692,39 @@ $root.EmailService = (function() {
|
|
|
86141
86692
|
* @variation 2
|
|
86142
86693
|
*/
|
|
86143
86694
|
|
|
86695
|
+
/**
|
|
86696
|
+
* Callback as used by {@link EmailService#orderExportIssueEmail}.
|
|
86697
|
+
* @memberof EmailService
|
|
86698
|
+
* @typedef orderExportIssueEmailCallback
|
|
86699
|
+
* @type {function}
|
|
86700
|
+
* @param {Error|null} error Error, if any
|
|
86701
|
+
* @param {google.protobuf.Empty} [response] Empty
|
|
86702
|
+
*/
|
|
86703
|
+
|
|
86704
|
+
/**
|
|
86705
|
+
* Calls orderExportIssueEmail.
|
|
86706
|
+
* @function orderExportIssueEmail
|
|
86707
|
+
* @memberof EmailService
|
|
86708
|
+
* @instance
|
|
86709
|
+
* @param {IorderExportIssueEmailRequest} request orderExportIssueEmailRequest message or plain object
|
|
86710
|
+
* @param {EmailService.orderExportIssueEmailCallback} callback Node-style callback called with the error, if any, and Empty
|
|
86711
|
+
* @returns {undefined}
|
|
86712
|
+
* @variation 1
|
|
86713
|
+
*/
|
|
86714
|
+
Object.defineProperty(EmailService.prototype.orderExportIssueEmail = function orderExportIssueEmail(request, callback) {
|
|
86715
|
+
return this.rpcCall(orderExportIssueEmail, $root.orderExportIssueEmailRequest, $root.google.protobuf.Empty, request, callback);
|
|
86716
|
+
}, "name", { value: "orderExportIssueEmail" });
|
|
86717
|
+
|
|
86718
|
+
/**
|
|
86719
|
+
* Calls orderExportIssueEmail.
|
|
86720
|
+
* @function orderExportIssueEmail
|
|
86721
|
+
* @memberof EmailService
|
|
86722
|
+
* @instance
|
|
86723
|
+
* @param {IorderExportIssueEmailRequest} request orderExportIssueEmailRequest message or plain object
|
|
86724
|
+
* @returns {Promise<google.protobuf.Empty>} Promise
|
|
86725
|
+
* @variation 2
|
|
86726
|
+
*/
|
|
86727
|
+
|
|
86144
86728
|
return EmailService;
|
|
86145
86729
|
})();
|
|
86146
86730
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.357",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@apollo/client": "^3.9.6",
|
|
20
20
|
"@hapi/joi": "^17.1.1",
|
|
21
|
-
"@sellout/utils": "^0.0.
|
|
21
|
+
"@sellout/utils": "^0.0.357",
|
|
22
22
|
"@types/hapi__joi": "^16.0.1",
|
|
23
23
|
"@types/shortid": "^0.0.29",
|
|
24
24
|
"@types/zen-observable": "^0.8.7",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"protobufjs": "^6.11.2",
|
|
33
33
|
"typescript": "^4.9.5"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "c9dc0344a25efc282a55b8d784075e13d2da2e12"
|
|
36
36
|
}
|
package/src/proto/email.proto
CHANGED
|
@@ -405,6 +405,24 @@ message emailTicketHolderRequest {
|
|
|
405
405
|
string replyTo = 38;
|
|
406
406
|
}
|
|
407
407
|
|
|
408
|
+
message orderExportIssueEmailRequest {
|
|
409
|
+
string eventName = 0;
|
|
410
|
+
string toAddress = 1;
|
|
411
|
+
string orgName = 2;
|
|
412
|
+
repeated string cc = 3;
|
|
413
|
+
repeated string dayIds = 4;
|
|
414
|
+
string timezone = 5;
|
|
415
|
+
string eventSubtitle = 6;
|
|
416
|
+
string cityState = 7;
|
|
417
|
+
string venueName = 8;
|
|
418
|
+
string eventDate = 9;
|
|
419
|
+
string eventPosterImageUrl = 10;
|
|
420
|
+
string orgLogoUrl = 11;
|
|
421
|
+
string doorsAt = 12;
|
|
422
|
+
string showAt = 13;
|
|
423
|
+
repeated dayIdsTimeObj dayIdsTime = 14;
|
|
424
|
+
}
|
|
425
|
+
|
|
408
426
|
service EmailService {
|
|
409
427
|
// User
|
|
410
428
|
rpc queueUserWelcomeEmail (QueueUserWelcomeEmailRequest) returns (google.protobuf.Empty) {}
|
|
@@ -427,4 +445,6 @@ service EmailService {
|
|
|
427
445
|
rpc notifyEmail (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
|
|
428
446
|
rpc immediateNotifyEmail (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
|
|
429
447
|
rpc emailTicketHolder (emailTicketHolderRequest) returns (google.protobuf.Empty) {}
|
|
448
|
+
rpc orderExportIssueEmail (orderExportIssueEmailRequest) returns (google.protobuf.Empty) {}
|
|
449
|
+
|
|
430
450
|
}
|