@sellout/models 0.0.186 → 0.0.187-alpha.0

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.
Files changed (36) hide show
  1. package/.dist/graphql/queries/order.query.js +0 -1
  2. package/.dist/graphql/queries/order.query.js.map +1 -1
  3. package/.dist/graphql/queries/orders.query.js +0 -1
  4. package/.dist/graphql/queries/orders.query.js.map +1 -1
  5. package/.dist/interfaces/ICreateOrderParams.d.ts +0 -2
  6. package/.dist/interfaces/IFee.d.ts +0 -1
  7. package/.dist/interfaces/IOrder.d.ts +1 -2
  8. package/.dist/interfaces/IOrder.js.map +1 -1
  9. package/.dist/interfaces/IOrderSummary.d.ts +0 -1
  10. package/.dist/schemas/Order.d.ts +0 -81
  11. package/.dist/schemas/Order.js +0 -81
  12. package/.dist/schemas/Order.js.map +1 -1
  13. package/.dist/sellout-proto.js +118 -1014
  14. package/.dist/utils/OrderUtil.js +195 -111
  15. package/.dist/utils/OrderUtil.js.map +1 -1
  16. package/.dist/utils/PaymentUtil.d.ts +2 -2
  17. package/.dist/utils/PaymentUtil.js +198 -190
  18. package/.dist/utils/PaymentUtil.js.map +1 -1
  19. package/package.json +3 -3
  20. package/src/graphql/queries/order.query.ts +0 -1
  21. package/src/graphql/queries/orders.query.ts +0 -1
  22. package/src/interfaces/ICreateOrderParams.ts +0 -2
  23. package/src/interfaces/IFee.ts +0 -2
  24. package/src/interfaces/IOrder.ts +1 -2
  25. package/src/interfaces/IOrderSummary.ts +0 -1
  26. package/src/proto/email.proto +2 -0
  27. package/src/proto/event.proto +3 -0
  28. package/src/proto/fee.proto +0 -1
  29. package/src/proto/order.proto +1 -35
  30. package/src/schemas/Order.ts +0 -81
  31. package/src/utils/OrderUtil.ts +219 -128
  32. package/src/utils/PaymentUtil.ts +269 -243
  33. package/.dist/graphql/mutations/sendSeasonOrderReceiptEmail.mutation.d.ts +0 -2
  34. package/.dist/graphql/mutations/sendSeasonOrderReceiptEmail.mutation.js +0 -13
  35. package/.dist/graphql/mutations/sendSeasonOrderReceiptEmail.mutation.js.map +0 -1
  36. package/src/graphql/mutations/sendSeasonOrderReceiptEmail.mutation.ts +0 -9
@@ -1,2 +0,0 @@
1
- declare const query: import("graphql").DocumentNode;
2
- export default query;
@@ -1,13 +0,0 @@
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
- mutation sendSeasonOrderReceiptEmail($orderId: String!) {
9
- sendSeasonOrderReceiptEmail(orderId: $orderId)
10
- }
11
- `;
12
- exports.default = query;
13
- //# sourceMappingURL=sendSeasonOrderReceiptEmail.mutation.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"sendSeasonOrderReceiptEmail.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/sendSeasonOrderReceiptEmail.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;CAIhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -1,9 +0,0 @@
1
- import gql from 'graphql-tag';
2
-
3
- const query = gql`
4
- mutation sendSeasonOrderReceiptEmail($orderId: String!) {
5
- sendSeasonOrderReceiptEmail(orderId: $orderId)
6
- }
7
- `;
8
-
9
- export default query;