@sellout/models 0.0.175 → 0.0.177

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 (33) hide show
  1. package/.dist/graphql/mutations/createEventOrSeasonFee.mutation.d.ts +2 -0
  2. package/.dist/graphql/mutations/createEventOrSeasonFee.mutation.js +31 -0
  3. package/.dist/graphql/mutations/createEventOrSeasonFee.mutation.js.map +1 -0
  4. package/.dist/graphql/mutations/deleteEventOrSeasonFee.mutation.d.ts +2 -0
  5. package/.dist/graphql/mutations/deleteEventOrSeasonFee.mutation.js +13 -0
  6. package/.dist/graphql/mutations/deleteEventOrSeasonFee.mutation.js.map +1 -0
  7. package/.dist/graphql/mutations/multipleBreakApartSeasonOrder.mutation.js +4 -0
  8. package/.dist/graphql/mutations/multipleBreakApartSeasonOrder.mutation.js.map +1 -1
  9. package/.dist/graphql/mutations/updateEventOrSeasonFee.mutation.d.ts +2 -0
  10. package/.dist/graphql/mutations/updateEventOrSeasonFee.mutation.js +31 -0
  11. package/.dist/graphql/mutations/updateEventOrSeasonFee.mutation.js.map +1 -0
  12. package/.dist/graphql/queries/eventFees.query.d.ts +2 -0
  13. package/.dist/graphql/queries/eventFees.query.js +30 -0
  14. package/.dist/graphql/queries/eventFees.query.js.map +1 -0
  15. package/.dist/graphql/queries/season.query.js +1 -0
  16. package/.dist/graphql/queries/season.query.js.map +1 -1
  17. package/.dist/graphql/queries/seasonFees.query.d.ts +2 -0
  18. package/.dist/graphql/queries/seasonFees.query.js +31 -0
  19. package/.dist/graphql/queries/seasonFees.query.js.map +1 -0
  20. package/.dist/graphql/queries/seasons.query.js +1 -0
  21. package/.dist/graphql/queries/seasons.query.js.map +1 -1
  22. package/.dist/sellout-proto.js +1157 -155
  23. package/package.json +3 -3
  24. package/src/graphql/mutations/createEventOrSeasonFee.mutation.ts +27 -0
  25. package/src/graphql/mutations/deleteEventOrSeasonFee.mutation.ts +9 -0
  26. package/src/graphql/mutations/multipleBreakApartSeasonOrder.mutation.ts +4 -0
  27. package/src/graphql/mutations/updateEventOrSeasonFee.mutation.ts +27 -0
  28. package/src/graphql/queries/eventFees.query.ts +26 -0
  29. package/src/graphql/queries/season.query.ts +1 -0
  30. package/src/graphql/queries/seasonFees.query.ts +27 -0
  31. package/src/graphql/queries/seasons.query.ts +1 -0
  32. package/src/proto/fee.proto +21 -0
  33. package/src/proto/order.proto +6 -0
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,31 @@
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 mutation = (0, graphql_tag_1.default) `
8
+ mutation createEventOrSeasonFee($eventId: String,$seasonId: String, $fee: FeeInput!) {
9
+ createEventOrSeasonFee(eventId: $eventId,seasonId: $seasonId, fee: $fee) {
10
+ _id
11
+ name
12
+ eventId
13
+ seasonId
14
+ type
15
+ value
16
+ appliedTo
17
+ appliedBy
18
+ minAppliedToPrice
19
+ maxAppliedToPrice
20
+ filters
21
+ createdBy
22
+ createdAt
23
+ updatedBy
24
+ updatedAt
25
+ disabled
26
+ __typename
27
+ }
28
+ }
29
+ `;
30
+ exports.default = mutation;
31
+ //# sourceMappingURL=createEventOrSeasonFee.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createEventOrSeasonFee.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createEventOrSeasonFee.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,13 @@
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 mutation = (0, graphql_tag_1.default) `
8
+ mutation deleteEventOrSeasonFee($eventId: String, $seasonId: String, $feeId: String!, $orgId: String) {
9
+ deleteEventOrSeasonFee(eventId: $eventId, seasonId: $seasonId, feeId: $feeId, orgId:$orgId)
10
+ }
11
+ `;
12
+ exports.default = mutation;
13
+ //# sourceMappingURL=deleteEventOrSeasonFee.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"deleteEventOrSeasonFee.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/deleteEventOrSeasonFee.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -10,6 +10,10 @@ mutation multipleBreakApartSeasonOrder($orderId: [String]!) {
10
10
  multipleBreakApartSeasonOrder(orderId: $orderId) {
11
11
  _id
12
12
  userId
13
+ organization {
14
+ orgName
15
+ ticketFormat
16
+ }
13
17
  user {
14
18
  email
15
19
  firstName
@@ -1 +1 @@
1
- {"version":3,"file":"multipleBreakApartSeasonOrder.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/multipleBreakApartSeasonOrder.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAiDhB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,QAAQ;CAC3B,CAAC;AAGF,kBAAe,QAAQ,CAAC"}
1
+ {"version":3,"file":"multipleBreakApartSeasonOrder.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/multipleBreakApartSeasonOrder.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqDhB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,QAAQ;CAC3B,CAAC;AAGF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,31 @@
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 mutation = (0, graphql_tag_1.default) `
8
+ mutation updateEventOrSeasonFee($eventId: String,$seasonId: String, $fee: FeeInput!) {
9
+ updateEventOrSeasonFee(eventId: $eventId,seasonId: $seasonId, fee: $fee) {
10
+ _id
11
+ name
12
+ orgId
13
+ eventId
14
+ seasonId
15
+ type
16
+ value
17
+ appliedTo
18
+ appliedBy
19
+ minAppliedToPrice
20
+ maxAppliedToPrice
21
+ filters
22
+ createdBy
23
+ createdAt
24
+ updatedBy
25
+ updatedAt
26
+ disabled
27
+ }
28
+ }
29
+ `;
30
+ exports.default = mutation;
31
+ //# sourceMappingURL=updateEventOrSeasonFee.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"updateEventOrSeasonFee.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateEventOrSeasonFee.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;CAsBnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,30 @@
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 eventFees($eventId: String!) {
9
+ eventFees(eventId: $eventId) {
10
+ _id
11
+ name
12
+ orgId
13
+ eventId
14
+ type
15
+ value
16
+ appliedTo
17
+ appliedBy
18
+ minAppliedToPrice
19
+ maxAppliedToPrice
20
+ filters
21
+ createdBy
22
+ createdAt
23
+ updatedBy
24
+ updatedAt
25
+ disabled
26
+ __typename
27
+ }
28
+ }`;
29
+ exports.default = query;
30
+ //# sourceMappingURL=eventFees.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"eventFees.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/eventFees.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;IAqBb,CAAC;AAEL,kBAAe,KAAK,CAAC"}
@@ -34,6 +34,7 @@ const query = (0, graphql_tag_1.default) `
34
34
  address {
35
35
  state
36
36
  city
37
+ timezone
37
38
  }
38
39
  imageUrls
39
40
  }
@@ -1 +1 @@
1
- {"version":3,"file":"season.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/season.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,mFAAkD;AAElD,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmDb,yBAAM,CAAC,SAAS,CAAC,QAAQ;IACzB,yBAA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,SAAS;IAC1B,yBAAM,CAAC,SAAS,CAAC,MAAM;CAC1B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,31 @@
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 seasonFees($seasonId: String!) {
9
+ seasonFees(seasonId: $seasonId) {
10
+ _id
11
+ name
12
+ orgId
13
+ seasonId
14
+ eventId
15
+ type
16
+ value
17
+ appliedTo
18
+ appliedBy
19
+ minAppliedToPrice
20
+ maxAppliedToPrice
21
+ filters
22
+ createdBy
23
+ createdAt
24
+ updatedBy
25
+ updatedAt
26
+ disabled
27
+ __typename
28
+ }
29
+ }`;
30
+ exports.default = query;
31
+ //# sourceMappingURL=seasonFees.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"seasonFees.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/seasonFees.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;IAsBb,CAAC;AAEL,kBAAe,KAAK,CAAC"}
@@ -33,6 +33,7 @@ const query = (0, graphql_tag_1.default) `
33
33
  address {
34
34
  state
35
35
  city
36
+ timezone
36
37
  }
37
38
  imageUrls
38
39
  }
@@ -1 +1 @@
1
- {"version":3,"file":"seasons.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/seasons.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,mFAAkD;AAElD,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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