@sellout/models 0.0.51 → 0.0.54

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.
@@ -18,6 +18,7 @@ const query = graphql_tag_1.default `
18
18
  phoneNumberWaitingForVerify
19
19
  emailWaitingForVerify
20
20
  preferredLogin
21
+ secondaryEmails
21
22
  userProfile {
22
23
  imageUrl
23
24
  }
@@ -1 +1 @@
1
- {"version":3,"file":"profile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgFhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
1
+ {"version":3,"file":"profile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiFhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,36 @@
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 = graphql_tag_1.default `
8
+ query venue($venueId: String) {
9
+ venue(venueId: $venueId) {
10
+ _id
11
+ name
12
+ description
13
+ capacity
14
+ address {
15
+ address1
16
+ address2
17
+ city
18
+ state
19
+ zip
20
+ country
21
+ phone
22
+ lat
23
+ lng
24
+ placeId
25
+ timezone
26
+ }
27
+ url
28
+ imageUrls
29
+ seatingMapIds
30
+ venueGlobalId
31
+ orgId
32
+ }
33
+ }
34
+ `;
35
+ exports.default = query;
36
+ //# sourceMappingURL=venue.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"venue.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/venue.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2BhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,48 @@
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 = graphql_tag_1.default `
8
+ query venues($query: VenueQueryInput, $pagination: PaginationInput) {
9
+ venues(query: $query, pagination: $pagination) {
10
+ _id
11
+ name
12
+ description
13
+ capacity
14
+ address {
15
+ address1
16
+ address2
17
+ city
18
+ state
19
+ zip
20
+ country
21
+ phone
22
+ lat
23
+ lng
24
+ placeId
25
+ timezone
26
+ }
27
+ url
28
+ imageUrls
29
+ seatingMapIds
30
+ venueGlobalId
31
+ orgId
32
+ metrics {
33
+ lifeTimeTicketsPurchased
34
+ lifeTimeTicketsRefunded
35
+ lifeTimeValue
36
+ lifeTimeValueRefunded
37
+ yearToDateTicketsPurchased
38
+ yearToDateTicketsRefunded
39
+ yearToDateValue
40
+ yearToDateValueRefunded
41
+ lifeTimeUpgradesPurchased
42
+ lifeTimeUpgradesRefunded
43
+ }
44
+ }
45
+ }
46
+ `;
47
+ exports.default = query;
48
+ //# sourceMappingURL=venues.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"venues.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/venues.query.ts"],"names":[],"mappings":";;;;;AACA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAuChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,4 @@
1
+ export default interface ISecondaryEmail {
2
+ email: string;
3
+ verifiedAt?: number;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=ISecondaryEmail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ISecondaryEmail.js","sourceRoot":"","sources":["../../src/interfaces/ISecondaryEmail.ts"],"names":[],"mappings":""}
@@ -25,4 +25,5 @@ export default interface IUser {
25
25
  preferredLogin?: LoginTypes;
26
26
  authAttempts?: number;
27
27
  authTimeOut?: number;
28
+ secondaryEmails?: string[];
28
29
  }
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ email: {
3
+ type: StringConstructor;
4
+ required: boolean;
5
+ };
6
+ verifiedAt: {
7
+ type: NumberConstructor;
8
+ required: boolean;
9
+ default: number;
10
+ };
11
+ };
12
+ export default _default;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ email: {
5
+ type: String,
6
+ required: true,
7
+ },
8
+ verifiedAt: {
9
+ type: Number,
10
+ required: false,
11
+ default: 0,
12
+ },
13
+ };
14
+ //# sourceMappingURL=SecondaryEmail.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SecondaryEmail.js","sourceRoot":"","sources":["../../src/schemas/SecondaryEmail.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,KAAK,EAAE;QACL,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,IAAI;KACf;IACD,UAAU,EAAE;QACV,IAAI,EAAE,MAAM;QACZ,QAAQ,EAAE,KAAK;QACf,OAAO,EAAE,CAAC;KACX;CACF,CAAC"}