@sellout/models 0.0.128 → 0.0.130
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/queries/seatingKeys.query.d.ts +2 -0
- package/.dist/graphql/queries/seatingKeys.query.js +15 -0
- package/.dist/graphql/queries/seatingKeys.query.js.map +1 -0
- package/.dist/sellout-proto.js +309 -0
- package/package.json +3 -3
- package/src/graphql/queries/seatingKeys.query.ts +11 -0
- package/src/proto/email.proto +8 -0
- package/src/proto/order.proto +1 -0
- package/src/proto/user.proto +1 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
7
|
+
const query = (0, graphql_tag_1.default) `
|
|
8
|
+
query seating($orgId: String) {
|
|
9
|
+
seating(orgId: $orgId) {
|
|
10
|
+
secretKey
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = query;
|
|
15
|
+
//# sourceMappingURL=seatingKeys.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"seatingKeys.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/seatingKeys.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;CAMhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
package/.dist/sellout-proto.js
CHANGED
|
@@ -21694,6 +21694,7 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21694
21694
|
* @property {string|null} [spanContext] GenerateOrderReportRequest spanContext
|
|
21695
21695
|
* @property {string|null} [orgId] GenerateOrderReportRequest orgId
|
|
21696
21696
|
* @property {IOrderQuery|null} [query] GenerateOrderReportRequest query
|
|
21697
|
+
* @property {string|null} [userId] GenerateOrderReportRequest userId
|
|
21697
21698
|
*/
|
|
21698
21699
|
|
|
21699
21700
|
/**
|
|
@@ -21735,6 +21736,14 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21735
21736
|
*/
|
|
21736
21737
|
GenerateOrderReportRequest.prototype.query = null;
|
|
21737
21738
|
|
|
21739
|
+
/**
|
|
21740
|
+
* GenerateOrderReportRequest userId.
|
|
21741
|
+
* @member {string} userId
|
|
21742
|
+
* @memberof GenerateOrderReportRequest
|
|
21743
|
+
* @instance
|
|
21744
|
+
*/
|
|
21745
|
+
GenerateOrderReportRequest.prototype.userId = "";
|
|
21746
|
+
|
|
21738
21747
|
/**
|
|
21739
21748
|
* Creates a new GenerateOrderReportRequest instance using the specified properties.
|
|
21740
21749
|
* @function create
|
|
@@ -21765,6 +21774,8 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21765
21774
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgId);
|
|
21766
21775
|
if (message.query != null && Object.hasOwnProperty.call(message, "query"))
|
|
21767
21776
|
$root.OrderQuery.encode(message.query, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
21777
|
+
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
21778
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.userId);
|
|
21768
21779
|
return writer;
|
|
21769
21780
|
};
|
|
21770
21781
|
|
|
@@ -21808,6 +21819,9 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21808
21819
|
case 2:
|
|
21809
21820
|
message.query = $root.OrderQuery.decode(reader, reader.uint32());
|
|
21810
21821
|
break;
|
|
21822
|
+
case 3:
|
|
21823
|
+
message.userId = reader.string();
|
|
21824
|
+
break;
|
|
21811
21825
|
default:
|
|
21812
21826
|
reader.skipType(tag & 7);
|
|
21813
21827
|
break;
|
|
@@ -21854,6 +21868,9 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21854
21868
|
if (error)
|
|
21855
21869
|
return "query." + error;
|
|
21856
21870
|
}
|
|
21871
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
21872
|
+
if (!$util.isString(message.userId))
|
|
21873
|
+
return "userId: string expected";
|
|
21857
21874
|
return null;
|
|
21858
21875
|
};
|
|
21859
21876
|
|
|
@@ -21878,6 +21895,8 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21878
21895
|
throw TypeError(".GenerateOrderReportRequest.query: object expected");
|
|
21879
21896
|
message.query = $root.OrderQuery.fromObject(object.query);
|
|
21880
21897
|
}
|
|
21898
|
+
if (object.userId != null)
|
|
21899
|
+
message.userId = String(object.userId);
|
|
21881
21900
|
return message;
|
|
21882
21901
|
};
|
|
21883
21902
|
|
|
@@ -21898,6 +21917,7 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21898
21917
|
object.spanContext = "";
|
|
21899
21918
|
object.orgId = "";
|
|
21900
21919
|
object.query = null;
|
|
21920
|
+
object.userId = "";
|
|
21901
21921
|
}
|
|
21902
21922
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
21903
21923
|
object.spanContext = message.spanContext;
|
|
@@ -21905,6 +21925,8 @@ $root.GenerateOrderReportRequest = (function() {
|
|
|
21905
21925
|
object.orgId = message.orgId;
|
|
21906
21926
|
if (message.query != null && message.hasOwnProperty("query"))
|
|
21907
21927
|
object.query = $root.OrderQuery.toObject(message.query, options);
|
|
21928
|
+
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
21929
|
+
object.userId = message.userId;
|
|
21908
21930
|
return object;
|
|
21909
21931
|
};
|
|
21910
21932
|
|
|
@@ -28641,6 +28663,238 @@ $root.OrderRefundItem = (function() {
|
|
|
28641
28663
|
return OrderRefundItem;
|
|
28642
28664
|
})();
|
|
28643
28665
|
|
|
28666
|
+
$root.orderSheetEmailRequest = (function() {
|
|
28667
|
+
|
|
28668
|
+
/**
|
|
28669
|
+
* Properties of an orderSheetEmailRequest.
|
|
28670
|
+
* @exports IorderSheetEmailRequest
|
|
28671
|
+
* @interface IorderSheetEmailRequest
|
|
28672
|
+
* @property {string|null} [toAddress] orderSheetEmailRequest toAddress
|
|
28673
|
+
* @property {string|null} [orgName] orderSheetEmailRequest orgName
|
|
28674
|
+
* @property {string|null} [url] orderSheetEmailRequest url
|
|
28675
|
+
*/
|
|
28676
|
+
|
|
28677
|
+
/**
|
|
28678
|
+
* Constructs a new orderSheetEmailRequest.
|
|
28679
|
+
* @exports orderSheetEmailRequest
|
|
28680
|
+
* @classdesc Represents an orderSheetEmailRequest.
|
|
28681
|
+
* @implements IorderSheetEmailRequest
|
|
28682
|
+
* @constructor
|
|
28683
|
+
* @param {IorderSheetEmailRequest=} [properties] Properties to set
|
|
28684
|
+
*/
|
|
28685
|
+
function orderSheetEmailRequest(properties) {
|
|
28686
|
+
if (properties)
|
|
28687
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
28688
|
+
if (properties[keys[i]] != null)
|
|
28689
|
+
this[keys[i]] = properties[keys[i]];
|
|
28690
|
+
}
|
|
28691
|
+
|
|
28692
|
+
/**
|
|
28693
|
+
* orderSheetEmailRequest toAddress.
|
|
28694
|
+
* @member {string} toAddress
|
|
28695
|
+
* @memberof orderSheetEmailRequest
|
|
28696
|
+
* @instance
|
|
28697
|
+
*/
|
|
28698
|
+
orderSheetEmailRequest.prototype.toAddress = "";
|
|
28699
|
+
|
|
28700
|
+
/**
|
|
28701
|
+
* orderSheetEmailRequest orgName.
|
|
28702
|
+
* @member {string} orgName
|
|
28703
|
+
* @memberof orderSheetEmailRequest
|
|
28704
|
+
* @instance
|
|
28705
|
+
*/
|
|
28706
|
+
orderSheetEmailRequest.prototype.orgName = "";
|
|
28707
|
+
|
|
28708
|
+
/**
|
|
28709
|
+
* orderSheetEmailRequest url.
|
|
28710
|
+
* @member {string} url
|
|
28711
|
+
* @memberof orderSheetEmailRequest
|
|
28712
|
+
* @instance
|
|
28713
|
+
*/
|
|
28714
|
+
orderSheetEmailRequest.prototype.url = "";
|
|
28715
|
+
|
|
28716
|
+
/**
|
|
28717
|
+
* Creates a new orderSheetEmailRequest instance using the specified properties.
|
|
28718
|
+
* @function create
|
|
28719
|
+
* @memberof orderSheetEmailRequest
|
|
28720
|
+
* @static
|
|
28721
|
+
* @param {IorderSheetEmailRequest=} [properties] Properties to set
|
|
28722
|
+
* @returns {orderSheetEmailRequest} orderSheetEmailRequest instance
|
|
28723
|
+
*/
|
|
28724
|
+
orderSheetEmailRequest.create = function create(properties) {
|
|
28725
|
+
return new orderSheetEmailRequest(properties);
|
|
28726
|
+
};
|
|
28727
|
+
|
|
28728
|
+
/**
|
|
28729
|
+
* Encodes the specified orderSheetEmailRequest message. Does not implicitly {@link orderSheetEmailRequest.verify|verify} messages.
|
|
28730
|
+
* @function encode
|
|
28731
|
+
* @memberof orderSheetEmailRequest
|
|
28732
|
+
* @static
|
|
28733
|
+
* @param {IorderSheetEmailRequest} message orderSheetEmailRequest message or plain object to encode
|
|
28734
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
28735
|
+
* @returns {$protobuf.Writer} Writer
|
|
28736
|
+
*/
|
|
28737
|
+
orderSheetEmailRequest.encode = function encode(message, writer) {
|
|
28738
|
+
if (!writer)
|
|
28739
|
+
writer = $Writer.create();
|
|
28740
|
+
if (message.toAddress != null && Object.hasOwnProperty.call(message, "toAddress"))
|
|
28741
|
+
writer.uint32(/* id 0, wireType 2 =*/2).string(message.toAddress);
|
|
28742
|
+
if (message.orgName != null && Object.hasOwnProperty.call(message, "orgName"))
|
|
28743
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.orgName);
|
|
28744
|
+
if (message.url != null && Object.hasOwnProperty.call(message, "url"))
|
|
28745
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.url);
|
|
28746
|
+
return writer;
|
|
28747
|
+
};
|
|
28748
|
+
|
|
28749
|
+
/**
|
|
28750
|
+
* Encodes the specified orderSheetEmailRequest message, length delimited. Does not implicitly {@link orderSheetEmailRequest.verify|verify} messages.
|
|
28751
|
+
* @function encodeDelimited
|
|
28752
|
+
* @memberof orderSheetEmailRequest
|
|
28753
|
+
* @static
|
|
28754
|
+
* @param {IorderSheetEmailRequest} message orderSheetEmailRequest message or plain object to encode
|
|
28755
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
28756
|
+
* @returns {$protobuf.Writer} Writer
|
|
28757
|
+
*/
|
|
28758
|
+
orderSheetEmailRequest.encodeDelimited = function encodeDelimited(message, writer) {
|
|
28759
|
+
return this.encode(message, writer).ldelim();
|
|
28760
|
+
};
|
|
28761
|
+
|
|
28762
|
+
/**
|
|
28763
|
+
* Decodes an orderSheetEmailRequest message from the specified reader or buffer.
|
|
28764
|
+
* @function decode
|
|
28765
|
+
* @memberof orderSheetEmailRequest
|
|
28766
|
+
* @static
|
|
28767
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
28768
|
+
* @param {number} [length] Message length if known beforehand
|
|
28769
|
+
* @returns {orderSheetEmailRequest} orderSheetEmailRequest
|
|
28770
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28771
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28772
|
+
*/
|
|
28773
|
+
orderSheetEmailRequest.decode = function decode(reader, length) {
|
|
28774
|
+
if (!(reader instanceof $Reader))
|
|
28775
|
+
reader = $Reader.create(reader);
|
|
28776
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.orderSheetEmailRequest();
|
|
28777
|
+
while (reader.pos < end) {
|
|
28778
|
+
var tag = reader.uint32();
|
|
28779
|
+
switch (tag >>> 3) {
|
|
28780
|
+
case 0:
|
|
28781
|
+
message.toAddress = reader.string();
|
|
28782
|
+
break;
|
|
28783
|
+
case 1:
|
|
28784
|
+
message.orgName = reader.string();
|
|
28785
|
+
break;
|
|
28786
|
+
case 2:
|
|
28787
|
+
message.url = reader.string();
|
|
28788
|
+
break;
|
|
28789
|
+
default:
|
|
28790
|
+
reader.skipType(tag & 7);
|
|
28791
|
+
break;
|
|
28792
|
+
}
|
|
28793
|
+
}
|
|
28794
|
+
return message;
|
|
28795
|
+
};
|
|
28796
|
+
|
|
28797
|
+
/**
|
|
28798
|
+
* Decodes an orderSheetEmailRequest message from the specified reader or buffer, length delimited.
|
|
28799
|
+
* @function decodeDelimited
|
|
28800
|
+
* @memberof orderSheetEmailRequest
|
|
28801
|
+
* @static
|
|
28802
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
28803
|
+
* @returns {orderSheetEmailRequest} orderSheetEmailRequest
|
|
28804
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
28805
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
28806
|
+
*/
|
|
28807
|
+
orderSheetEmailRequest.decodeDelimited = function decodeDelimited(reader) {
|
|
28808
|
+
if (!(reader instanceof $Reader))
|
|
28809
|
+
reader = new $Reader(reader);
|
|
28810
|
+
return this.decode(reader, reader.uint32());
|
|
28811
|
+
};
|
|
28812
|
+
|
|
28813
|
+
/**
|
|
28814
|
+
* Verifies an orderSheetEmailRequest message.
|
|
28815
|
+
* @function verify
|
|
28816
|
+
* @memberof orderSheetEmailRequest
|
|
28817
|
+
* @static
|
|
28818
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
28819
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
28820
|
+
*/
|
|
28821
|
+
orderSheetEmailRequest.verify = function verify(message) {
|
|
28822
|
+
if (typeof message !== "object" || message === null)
|
|
28823
|
+
return "object expected";
|
|
28824
|
+
if (message.toAddress != null && message.hasOwnProperty("toAddress"))
|
|
28825
|
+
if (!$util.isString(message.toAddress))
|
|
28826
|
+
return "toAddress: string expected";
|
|
28827
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
28828
|
+
if (!$util.isString(message.orgName))
|
|
28829
|
+
return "orgName: string expected";
|
|
28830
|
+
if (message.url != null && message.hasOwnProperty("url"))
|
|
28831
|
+
if (!$util.isString(message.url))
|
|
28832
|
+
return "url: string expected";
|
|
28833
|
+
return null;
|
|
28834
|
+
};
|
|
28835
|
+
|
|
28836
|
+
/**
|
|
28837
|
+
* Creates an orderSheetEmailRequest message from a plain object. Also converts values to their respective internal types.
|
|
28838
|
+
* @function fromObject
|
|
28839
|
+
* @memberof orderSheetEmailRequest
|
|
28840
|
+
* @static
|
|
28841
|
+
* @param {Object.<string,*>} object Plain object
|
|
28842
|
+
* @returns {orderSheetEmailRequest} orderSheetEmailRequest
|
|
28843
|
+
*/
|
|
28844
|
+
orderSheetEmailRequest.fromObject = function fromObject(object) {
|
|
28845
|
+
if (object instanceof $root.orderSheetEmailRequest)
|
|
28846
|
+
return object;
|
|
28847
|
+
var message = new $root.orderSheetEmailRequest();
|
|
28848
|
+
if (object.toAddress != null)
|
|
28849
|
+
message.toAddress = String(object.toAddress);
|
|
28850
|
+
if (object.orgName != null)
|
|
28851
|
+
message.orgName = String(object.orgName);
|
|
28852
|
+
if (object.url != null)
|
|
28853
|
+
message.url = String(object.url);
|
|
28854
|
+
return message;
|
|
28855
|
+
};
|
|
28856
|
+
|
|
28857
|
+
/**
|
|
28858
|
+
* Creates a plain object from an orderSheetEmailRequest message. Also converts values to other types if specified.
|
|
28859
|
+
* @function toObject
|
|
28860
|
+
* @memberof orderSheetEmailRequest
|
|
28861
|
+
* @static
|
|
28862
|
+
* @param {orderSheetEmailRequest} message orderSheetEmailRequest
|
|
28863
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
28864
|
+
* @returns {Object.<string,*>} Plain object
|
|
28865
|
+
*/
|
|
28866
|
+
orderSheetEmailRequest.toObject = function toObject(message, options) {
|
|
28867
|
+
if (!options)
|
|
28868
|
+
options = {};
|
|
28869
|
+
var object = {};
|
|
28870
|
+
if (options.defaults) {
|
|
28871
|
+
object.toAddress = "";
|
|
28872
|
+
object.orgName = "";
|
|
28873
|
+
object.url = "";
|
|
28874
|
+
}
|
|
28875
|
+
if (message.toAddress != null && message.hasOwnProperty("toAddress"))
|
|
28876
|
+
object.toAddress = message.toAddress;
|
|
28877
|
+
if (message.orgName != null && message.hasOwnProperty("orgName"))
|
|
28878
|
+
object.orgName = message.orgName;
|
|
28879
|
+
if (message.url != null && message.hasOwnProperty("url"))
|
|
28880
|
+
object.url = message.url;
|
|
28881
|
+
return object;
|
|
28882
|
+
};
|
|
28883
|
+
|
|
28884
|
+
/**
|
|
28885
|
+
* Converts this orderSheetEmailRequest to JSON.
|
|
28886
|
+
* @function toJSON
|
|
28887
|
+
* @memberof orderSheetEmailRequest
|
|
28888
|
+
* @instance
|
|
28889
|
+
* @returns {Object.<string,*>} JSON object
|
|
28890
|
+
*/
|
|
28891
|
+
orderSheetEmailRequest.prototype.toJSON = function toJSON() {
|
|
28892
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
28893
|
+
};
|
|
28894
|
+
|
|
28895
|
+
return orderSheetEmailRequest;
|
|
28896
|
+
})();
|
|
28897
|
+
|
|
28644
28898
|
$root.QueueOrderReceiptEmailRequest = (function() {
|
|
28645
28899
|
|
|
28646
28900
|
/**
|
|
@@ -32120,6 +32374,39 @@ $root.EmailService = (function() {
|
|
|
32120
32374
|
* @variation 2
|
|
32121
32375
|
*/
|
|
32122
32376
|
|
|
32377
|
+
/**
|
|
32378
|
+
* Callback as used by {@link EmailService#orderSheetEmail}.
|
|
32379
|
+
* @memberof EmailService
|
|
32380
|
+
* @typedef orderSheetEmailCallback
|
|
32381
|
+
* @type {function}
|
|
32382
|
+
* @param {Error|null} error Error, if any
|
|
32383
|
+
* @param {google.protobuf.Empty} [response] Empty
|
|
32384
|
+
*/
|
|
32385
|
+
|
|
32386
|
+
/**
|
|
32387
|
+
* Calls orderSheetEmail.
|
|
32388
|
+
* @function orderSheetEmail
|
|
32389
|
+
* @memberof EmailService
|
|
32390
|
+
* @instance
|
|
32391
|
+
* @param {IorderSheetEmailRequest} request orderSheetEmailRequest message or plain object
|
|
32392
|
+
* @param {EmailService.orderSheetEmailCallback} callback Node-style callback called with the error, if any, and Empty
|
|
32393
|
+
* @returns {undefined}
|
|
32394
|
+
* @variation 1
|
|
32395
|
+
*/
|
|
32396
|
+
Object.defineProperty(EmailService.prototype.orderSheetEmail = function orderSheetEmail(request, callback) {
|
|
32397
|
+
return this.rpcCall(orderSheetEmail, $root.orderSheetEmailRequest, $root.google.protobuf.Empty, request, callback);
|
|
32398
|
+
}, "name", { value: "orderSheetEmail" });
|
|
32399
|
+
|
|
32400
|
+
/**
|
|
32401
|
+
* Calls orderSheetEmail.
|
|
32402
|
+
* @function orderSheetEmail
|
|
32403
|
+
* @memberof EmailService
|
|
32404
|
+
* @instance
|
|
32405
|
+
* @param {IorderSheetEmailRequest} request orderSheetEmailRequest message or plain object
|
|
32406
|
+
* @returns {Promise<google.protobuf.Empty>} Promise
|
|
32407
|
+
* @variation 2
|
|
32408
|
+
*/
|
|
32409
|
+
|
|
32123
32410
|
return EmailService;
|
|
32124
32411
|
})();
|
|
32125
32412
|
|
|
@@ -85799,6 +86086,7 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85799
86086
|
* @interface ISendUserEmailVerificationRequest
|
|
85800
86087
|
* @property {string|null} [spanContext] SendUserEmailVerificationRequest spanContext
|
|
85801
86088
|
* @property {string|null} [userId] SendUserEmailVerificationRequest userId
|
|
86089
|
+
* @property {string|null} [email] SendUserEmailVerificationRequest email
|
|
85802
86090
|
*/
|
|
85803
86091
|
|
|
85804
86092
|
/**
|
|
@@ -85832,6 +86120,14 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85832
86120
|
*/
|
|
85833
86121
|
SendUserEmailVerificationRequest.prototype.userId = "";
|
|
85834
86122
|
|
|
86123
|
+
/**
|
|
86124
|
+
* SendUserEmailVerificationRequest email.
|
|
86125
|
+
* @member {string} email
|
|
86126
|
+
* @memberof SendUserEmailVerificationRequest
|
|
86127
|
+
* @instance
|
|
86128
|
+
*/
|
|
86129
|
+
SendUserEmailVerificationRequest.prototype.email = "";
|
|
86130
|
+
|
|
85835
86131
|
/**
|
|
85836
86132
|
* Creates a new SendUserEmailVerificationRequest instance using the specified properties.
|
|
85837
86133
|
* @function create
|
|
@@ -85860,6 +86156,8 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85860
86156
|
writer.uint32(/* id 0, wireType 2 =*/2).string(message.spanContext);
|
|
85861
86157
|
if (message.userId != null && Object.hasOwnProperty.call(message, "userId"))
|
|
85862
86158
|
writer.uint32(/* id 1, wireType 2 =*/10).string(message.userId);
|
|
86159
|
+
if (message.email != null && Object.hasOwnProperty.call(message, "email"))
|
|
86160
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.email);
|
|
85863
86161
|
return writer;
|
|
85864
86162
|
};
|
|
85865
86163
|
|
|
@@ -85900,6 +86198,9 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85900
86198
|
case 1:
|
|
85901
86199
|
message.userId = reader.string();
|
|
85902
86200
|
break;
|
|
86201
|
+
case 2:
|
|
86202
|
+
message.email = reader.string();
|
|
86203
|
+
break;
|
|
85903
86204
|
default:
|
|
85904
86205
|
reader.skipType(tag & 7);
|
|
85905
86206
|
break;
|
|
@@ -85941,6 +86242,9 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85941
86242
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
85942
86243
|
if (!$util.isString(message.userId))
|
|
85943
86244
|
return "userId: string expected";
|
|
86245
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
86246
|
+
if (!$util.isString(message.email))
|
|
86247
|
+
return "email: string expected";
|
|
85944
86248
|
return null;
|
|
85945
86249
|
};
|
|
85946
86250
|
|
|
@@ -85960,6 +86264,8 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85960
86264
|
message.spanContext = String(object.spanContext);
|
|
85961
86265
|
if (object.userId != null)
|
|
85962
86266
|
message.userId = String(object.userId);
|
|
86267
|
+
if (object.email != null)
|
|
86268
|
+
message.email = String(object.email);
|
|
85963
86269
|
return message;
|
|
85964
86270
|
};
|
|
85965
86271
|
|
|
@@ -85979,11 +86285,14 @@ $root.SendUserEmailVerificationRequest = (function() {
|
|
|
85979
86285
|
if (options.defaults) {
|
|
85980
86286
|
object.spanContext = "";
|
|
85981
86287
|
object.userId = "";
|
|
86288
|
+
object.email = "";
|
|
85982
86289
|
}
|
|
85983
86290
|
if (message.spanContext != null && message.hasOwnProperty("spanContext"))
|
|
85984
86291
|
object.spanContext = message.spanContext;
|
|
85985
86292
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
85986
86293
|
object.userId = message.userId;
|
|
86294
|
+
if (message.email != null && message.hasOwnProperty("email"))
|
|
86295
|
+
object.email = message.email;
|
|
85987
86296
|
return object;
|
|
85988
86297
|
};
|
|
85989
86298
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sellout/models",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.130",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/utils": "^0.0.130",
|
|
21
21
|
"@types/hapi__joi": "^16.0.1",
|
|
22
22
|
"@types/shortid": "^0.0.29",
|
|
23
23
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"protobufjs": "^6.11.2",
|
|
32
32
|
"typescript": "^4.4.2"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "c085b019cbd89df7b717eea620deb92ee9e6cf27"
|
|
35
35
|
}
|
package/src/proto/email.proto
CHANGED
|
@@ -45,6 +45,12 @@ message OrderRefundItem {
|
|
|
45
45
|
string refundedAmount = 1;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
+
message orderSheetEmailRequest {
|
|
49
|
+
string toAddress = 0;
|
|
50
|
+
string orgName = 1;
|
|
51
|
+
string url = 2;
|
|
52
|
+
}
|
|
53
|
+
|
|
48
54
|
message QueueOrderReceiptEmailRequest {
|
|
49
55
|
string spanContext = 0;
|
|
50
56
|
string toAddress = 1;
|
|
@@ -179,4 +185,6 @@ service EmailService {
|
|
|
179
185
|
rpc queueOrderQRCodeEmail (QueueOrderQRCodeEmailRequest) returns (google.protobuf.Empty) {}
|
|
180
186
|
rpc queueOrderRefundEmail (QueueOrderRefundEmailRequest) returns (google.protobuf.Empty) {}
|
|
181
187
|
rpc queueOrderCanceledEmail (QueueOrderCanceledEmailRequest) returns (google.protobuf.Empty) {}
|
|
188
|
+
rpc orderSheetEmail (orderSheetEmailRequest) returns (google.protobuf.Empty) {}
|
|
189
|
+
|
|
182
190
|
}
|
package/src/proto/order.proto
CHANGED