@sellout/models 0.0.169 → 0.0.170

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.
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,18 @@
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 ticketRestriction($query: TicketRestrictionInput) {
9
+ ticketRestriction(query:$query){
10
+ eventId
11
+ seasonId
12
+ teiMemberId
13
+ invalidTeiMemberIds
14
+ }
15
+ }
16
+ `;
17
+ exports.default = query;
18
+ //# sourceMappingURL=ticketRestriction.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ticketRestriction.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/ticketRestriction.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,IAAA,qBAAG,EAAA;;;;;;;;;CAShB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -44,3 +44,9 @@ export interface ICreateOrderUpgradeParams {
44
44
  rollFees: boolean;
45
45
  description?: string;
46
46
  }
47
+ export interface IOrderTicketRestrictedParams {
48
+ eventId?: string;
49
+ seasonId?: string;
50
+ teiMemberId?: any[];
51
+ invalidTeiMemberIds?: any[];
52
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.169",
3
+ "version": "0.0.170",
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.169",
20
+ "@sellout/utils": "^0.0.170",
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": "ae7b9ef1784201127949da2a91dd47ca933df8f7"
34
+ "gitHead": "023c7e2acc283dbc89cbba05933a1a89c5e35ac2"
35
35
  }
@@ -0,0 +1,14 @@
1
+ import gql from "graphql-tag";
2
+
3
+ const query = gql`
4
+ query ticketRestriction($query: TicketRestrictionInput) {
5
+ ticketRestriction(query:$query){
6
+ eventId
7
+ seasonId
8
+ teiMemberId
9
+ invalidTeiMemberIds
10
+ }
11
+ }
12
+ `;
13
+
14
+ export default query;
@@ -47,3 +47,13 @@ export interface ICreateOrderUpgradeParams {
47
47
  rollFees: boolean;
48
48
  description?: string;
49
49
  }
50
+
51
+ export interface IOrderTicketRestrictedParams {
52
+ eventId?: string;
53
+ seasonId?: string;
54
+ teiMemberId?: any[];
55
+ invalidTeiMemberIds?: any[];
56
+ }
57
+
58
+
59
+