@sellout/models 0.0.361 → 0.0.363
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/order.fragment.js +2 -0
- package/.dist/graphql/fragments/order.fragment.js.map +1 -1
- package/.dist/graphql/mutations/generateEventQRCode.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/generateEventQRCode.mutation.js +10 -0
- package/.dist/graphql/mutations/generateEventQRCode.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateUserInfo.mutation.js +3 -2
- package/.dist/graphql/mutations/updateUserInfo.mutation.js.map +1 -1
- package/.dist/graphql/queries/order.query.js +2 -2
- package/.dist/graphql/queries/userExists.query.js +1 -0
- package/.dist/graphql/queries/userExists.query.js.map +1 -1
- package/.dist/interfaces/IScan.d.ts +1 -0
- package/.dist/interfaces/ITask.d.ts +2 -1
- package/.dist/interfaces/ITask.js +1 -0
- package/.dist/interfaces/ITask.js.map +1 -1
- package/.dist/sellout-proto.js +2339 -457
- package/package.json +3 -3
- package/src/graphql/fragments/order.fragment.ts +2 -0
- package/src/graphql/mutations/generateEventQRCode.mutation.ts +9 -0
- package/src/graphql/mutations/updateUserInfo.mutation.ts +3 -2
- package/src/graphql/queries/order.query.ts +2 -2
- package/src/graphql/queries/userExists.query.ts +1 -0
- package/src/interfaces/IScan.ts +1 -0
- package/src/interfaces/ITask.ts +1 -0
- package/src/proto/event.proto +28 -0
- package/src/proto/order.proto +2 -0
- package/src/proto/user-profile.proto +1 -0
- package/src/proto/user.proto +14 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"order.fragment.js","sourceRoot":"","sources":["../../../src/graphql/fragments/order.fragment.ts"],"names":[],"mappings":";;AAAA,2CAAqC;AAYrC,MAAM,KAAK,GAAkB;IAC3B,SAAS,EAAE;QACT,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEF,kBAAe,KAAK,CAAC;AAErB,KAAK,CAAC,SAAS,GAAG;IAChB,OAAO,EAAE,IAAA,YAAG,EAAA
|
|
1
|
+
{"version":3,"file":"order.fragment.js","sourceRoot":"","sources":["../../../src/graphql/fragments/order.fragment.ts"],"names":[],"mappings":";;AAAA,2CAAqC;AAYrC,MAAM,KAAK,GAAkB;IAC3B,SAAS,EAAE;QACT,OAAO,EAAE,EAAE;QACX,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;KACf;CACF,CAAC;AAEF,kBAAe,KAAK,CAAC;AAErB,KAAK,CAAC,SAAS,GAAG;IAChB,OAAO,EAAE,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCX;IACD,QAAQ,EAAE,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BZ;IACD,UAAU,EAAE,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;GAqBd;CACF,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
const client_1 = require("@apollo/client");
|
|
4
|
+
const mutation = (0, client_1.gql) `
|
|
5
|
+
mutation generateEventQRCode($eventId: String) {
|
|
6
|
+
generateEventQRCode(eventId: $eventId)
|
|
7
|
+
}
|
|
8
|
+
`;
|
|
9
|
+
exports.default = mutation;
|
|
10
|
+
//# sourceMappingURL=generateEventQRCode.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"generateEventQRCode.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/generateEventQRCode.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAqC;AAErC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -2,12 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
const client_1 = require("@apollo/client");
|
|
4
4
|
const mutation = (0, client_1.gql) `
|
|
5
|
-
mutation updateUserInfo($_id: String, $email: String, $phoneNumber: String, $preferredLogin: String) {
|
|
6
|
-
updateUserInfo(_id: $_id, email: $email, phoneNumber: $phoneNumber,preferredLogin: $preferredLogin) {
|
|
5
|
+
mutation updateUserInfo($_id: String, $email: String, $phoneNumber: String, $preferredLogin: String, $secondaryEmails: [String]) {
|
|
6
|
+
updateUserInfo(_id: $_id, email: $email, phoneNumber: $phoneNumber, preferredLogin: $preferredLogin, secondaryEmails: $secondaryEmails) {
|
|
7
7
|
_id
|
|
8
8
|
email
|
|
9
9
|
phoneNumber
|
|
10
10
|
preferredLogin
|
|
11
|
+
secondaryEmails
|
|
11
12
|
}
|
|
12
13
|
}
|
|
13
14
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateUserInfo.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateUserInfo.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA
|
|
1
|
+
{"version":3,"file":"updateUserInfo.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateUserInfo.mutation.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,QAAQ,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;CAUnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
6
6
|
const client_1 = require("@apollo/client");
|
|
7
7
|
const order_fragment_1 = __importDefault(require("../fragments/order.fragment"));
|
|
8
8
|
const query = (0, client_1.gql) `
|
|
9
|
-
query order($orderId: String) {
|
|
10
|
-
order(orderId: $orderId) {
|
|
9
|
+
query order($orderId: String, $getScannerName: Boolean) {
|
|
10
|
+
order(orderId: $orderId, getScannerName: $getScannerName) {
|
|
11
11
|
_id
|
|
12
12
|
userId
|
|
13
13
|
printed
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"userExists.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/userExists.query.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,KAAK,GAAG,IAAA,YAAG,EAAA
|
|
1
|
+
{"version":3,"file":"userExists.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/userExists.query.ts"],"names":[],"mappings":";;AAAA,2CAAmC;AAEnC,MAAM,KAAK,GAAG,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -6,7 +6,8 @@ export declare enum TaskTypes {
|
|
|
6
6
|
SalesReport = "SalesReport",
|
|
7
7
|
NotifyEvent = "NotifyEvent",
|
|
8
8
|
sendOrderReceiptEmail = "sendOrderReceiptEmail",
|
|
9
|
-
SetTicketTierInventory = "SetTicketTierInventory"
|
|
9
|
+
SetTicketTierInventory = "SetTicketTierInventory",
|
|
10
|
+
ClearExpiredEventQrCodes = "ClearExpiredEventQrCodes"
|
|
10
11
|
}
|
|
11
12
|
export default interface ITask {
|
|
12
13
|
_id?: string;
|
|
@@ -10,5 +10,6 @@ var TaskTypes;
|
|
|
10
10
|
TaskTypes["NotifyEvent"] = "NotifyEvent";
|
|
11
11
|
TaskTypes["sendOrderReceiptEmail"] = "sendOrderReceiptEmail";
|
|
12
12
|
TaskTypes["SetTicketTierInventory"] = "SetTicketTierInventory";
|
|
13
|
+
TaskTypes["ClearExpiredEventQrCodes"] = "ClearExpiredEventQrCodes";
|
|
13
14
|
})(TaskTypes = exports.TaskTypes || (exports.TaskTypes = {}));
|
|
14
15
|
//# sourceMappingURL=ITask.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ITask.js","sourceRoot":"","sources":["../../src/interfaces/ITask.ts"],"names":[],"mappings":";;;AAEA,IAAY,
|
|
1
|
+
{"version":3,"file":"ITask.js","sourceRoot":"","sources":["../../src/interfaces/ITask.ts"],"names":[],"mappings":";;;AAEA,IAAY,SASX;AATD,WAAY,SAAS;IACnB,0DAA6C,CAAA;IAC7C,sDAAyC,CAAA;IACzC,sDAAyC,CAAA;IACzC,wCAA2B,CAAA;IAC3B,wCAA2B,CAAA;IAC3B,4DAA+C,CAAA;IAC/C,8DAAiD,CAAA;IACjD,kEAAqD,CAAA;AACvD,CAAC,EATW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QASpB"}
|