@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.
@@ -38,6 +38,7 @@ Order.fragments = {
38
38
  scannedAt
39
39
  scannedBy
40
40
  startsAt
41
+ scannerName
41
42
  }
42
43
  parentTicketId
43
44
  }
@@ -66,6 +67,7 @@ Order.fragments = {
66
67
  scannedAt
67
68
  scannedBy
68
69
  startsAt
70
+ scannerName
69
71
  }
70
72
  parentUpgradeId
71
73
  }
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCX;IACD,QAAQ,EAAE,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BZ;IACD,UAAU,EAAE,IAAA,YAAG,EAAA;;;;;;;;;;;;;;;;;;;;;GAqBd;CACF,CAAC"}
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,2 @@
1
+ declare const mutation: import("@apollo/client").DocumentNode;
2
+ export default mutation;
@@ -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;;;;;;;;;CASnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
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
@@ -25,6 +25,7 @@ const query = (0, client_1.gql) `
25
25
  phoneNumber
26
26
  preferredLogin
27
27
  promoAvailable
28
+ secondaryEmails
28
29
  __typename
29
30
  }
30
31
  }
@@ -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;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
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"}
@@ -3,4 +3,5 @@ export default interface IScan {
3
3
  scannedAt: number;
4
4
  scannedBy: string;
5
5
  startsAt?: number;
6
+ scannerName?: string;
6
7
  }
@@ -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,SAQX;AARD,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;AACnD,CAAC,EARW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAQpB"}
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"}