@sellout/models 0.0.54 → 0.0.56

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,39 @@
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 userProfiles($query: UserProfileQueryInput, $pagination: PaginationInput) {
9
+ userProfiles(query: $query, pagination: $pagination) {
10
+ userId
11
+ imageUrl
12
+ firstName
13
+ lastName
14
+ email
15
+ phoneNumber
16
+ authyId
17
+ stripeCustomerId
18
+ metrics {
19
+ orgId
20
+ yearToDateValue
21
+ lifeTimeValue
22
+ createdAt
23
+ lifeTimeUpgradesPurchased
24
+ lifeTimeUpgradesRefunded
25
+ }
26
+ address {
27
+ address1
28
+ address2
29
+ city
30
+ state
31
+ zip
32
+ country
33
+ phone
34
+ }
35
+ }
36
+ }
37
+ `;
38
+ exports.default = query;
39
+ //# sourceMappingURL=profiles.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"profiles.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/profiles.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8BhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -9,8 +9,8 @@ import IEventCustomField from './IEventCustomField';
9
9
  import IAddress from "./IAddress";
10
10
  import IMetrics from "./IMetrics";
11
11
  export declare enum EventTypeEnum {
12
- Concert = "Concert",
13
- BasicEvent = "Basic Event"
12
+ BasicEvent = "Basic Event",
13
+ Concert = "Concert"
14
14
  }
15
15
  export declare enum EventAgeEnum {
16
16
  AllAges = "All Ages",
@@ -3,8 +3,20 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.EventProcessAsEnum = exports.SendQRCodeEnum = exports.EventAgeEnum = exports.EventTypeEnum = void 0;
4
4
  var EventTypeEnum;
5
5
  (function (EventTypeEnum) {
6
- EventTypeEnum["Concert"] = "Concert";
6
+ // GeneralEvent = 'General Event',
7
7
  EventTypeEnum["BasicEvent"] = "Basic Event";
8
+ EventTypeEnum["Concert"] = "Concert";
9
+ // Festival = 'Festival',
10
+ // TEDx = 'TEDx',
11
+ // DinnerParty = 'Dinner Party',
12
+ // Conference = 'Conference',
13
+ // FilmScreening = 'Film Screening',
14
+ // VirtualEvent = 'Virtual Event',
15
+ // StandUpComedy = 'StandUp Comedy',
16
+ // Rodeo = 'Rodeo',
17
+ // ImprovComedy = 'Improv Comedy',
18
+ // Class = 'Class',
19
+ // WorkShop = 'Workshop',
8
20
  })(EventTypeEnum = exports.EventTypeEnum || (exports.EventTypeEnum = {}));
9
21
  var EventAgeEnum;
10
22
  (function (EventAgeEnum) {
@@ -1 +1 @@
1
- {"version":3,"file":"IEvent.js","sourceRoot":"","sources":["../../src/interfaces/IEvent.ts"],"names":[],"mappings":";;;AAWA,IAAY,aAGX;AAHD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,2CAA0B,CAAA;AAC5B,CAAC,EAHW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAGxB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,oCAAoB,CAAA;IACpB,oCAAoB,CAAA;IACpB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,0CAAwB,CAAA;IACxB,0DAAwC,CAAA;AAC1C,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
1
+ {"version":3,"file":"IEvent.js","sourceRoot":"","sources":["../../src/interfaces/IEvent.ts"],"names":[],"mappings":";;;AAWA,IAAY,aAeX;AAfD,WAAY,aAAa;IACvB,kCAAkC;IAClC,2CAA0B,CAAA;IAC1B,oCAAmB,CAAA;IACnB,yBAAyB;IACzB,iBAAiB;IACjB,gCAAgC;IAChC,6BAA6B;IAC7B,oCAAoC;IACpC,kCAAkC;IAClC,oCAAoC;IACpC,mBAAmB;IACnB,kCAAkC;IAClC,mBAAmB;IACnB,yBAAyB;AAC3B,CAAC,EAfW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAexB;AAED,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,oCAAoB,CAAA;IACpB,oCAAoB,CAAA;IACpB,qCAAqB,CAAA;AACvB,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB;AAED,IAAY,cAIX;AAJD,WAAY,cAAc;IACxB,2CAAyB,CAAA;IACzB,0CAAwB,CAAA;IACxB,0DAAwC,CAAA;AAC1C,CAAC,EAJW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAIzB;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,mCAAa,CAAA;IACb,mCAAa,CAAA;IACb,mCAAa,CAAA;AACf,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.54",
3
+ "version": "0.0.56",
4
4
  "description": "Sellout.io models",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -16,8 +16,8 @@
16
16
  "author": "samheutmaker@gmail.com",
17
17
  "license": "MIT",
18
18
  "dependencies": {
19
- "@sellout/service": "^0.0.54",
20
- "@sellout/utils": "^0.0.54",
19
+ "@sellout/service": "^0.0.56",
20
+ "@sellout/utils": "^0.0.56",
21
21
  "@types/shortid": "0.0.29",
22
22
  "graphql": "^14.6.0",
23
23
  "graphql-tag": "^2.10.3",
@@ -29,5 +29,5 @@
29
29
  "protobufjs": "~6.8.8",
30
30
  "typescript": "^3.8.3"
31
31
  },
32
- "gitHead": "381c26eb2e0af38f005a2a17320c238f8f0d4099"
32
+ "gitHead": "e7d2afa0f4d0eff8d1696990a34dd9c6cadd812e"
33
33
  }
@@ -0,0 +1,35 @@
1
+ import gql from "graphql-tag";
2
+
3
+ const query = gql`
4
+ query userProfiles($query: UserProfileQueryInput, $pagination: PaginationInput) {
5
+ userProfiles(query: $query, pagination: $pagination) {
6
+ userId
7
+ imageUrl
8
+ firstName
9
+ lastName
10
+ email
11
+ phoneNumber
12
+ authyId
13
+ stripeCustomerId
14
+ metrics {
15
+ orgId
16
+ yearToDateValue
17
+ lifeTimeValue
18
+ createdAt
19
+ lifeTimeUpgradesPurchased
20
+ lifeTimeUpgradesRefunded
21
+ }
22
+ address {
23
+ address1
24
+ address2
25
+ city
26
+ state
27
+ zip
28
+ country
29
+ phone
30
+ }
31
+ }
32
+ }
33
+ `;
34
+
35
+ export default query;
@@ -10,8 +10,20 @@ import IAddress from "./IAddress";
10
10
  import IMetrics from "./IMetrics";
11
11
 
12
12
  export enum EventTypeEnum {
13
- Concert = 'Concert',
13
+ // GeneralEvent = 'General Event',
14
14
  BasicEvent = 'Basic Event',
15
+ Concert = 'Concert',
16
+ // Festival = 'Festival',
17
+ // TEDx = 'TEDx',
18
+ // DinnerParty = 'Dinner Party',
19
+ // Conference = 'Conference',
20
+ // FilmScreening = 'Film Screening',
21
+ // VirtualEvent = 'Virtual Event',
22
+ // StandUpComedy = 'StandUp Comedy',
23
+ // Rodeo = 'Rodeo',
24
+ // ImprovComedy = 'Improv Comedy',
25
+ // Class = 'Class',
26
+ // WorkShop = 'Workshop',
15
27
  }
16
28
 
17
29
  export enum EventAgeEnum {
@@ -1,4 +0,0 @@
1
- export default interface ISecondaryEmail {
2
- email: string;
3
- verifiedAt?: number;
4
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ISecondaryEmail.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ISecondaryEmail.js","sourceRoot":"","sources":["../../src/interfaces/ISecondaryEmail.ts"],"names":[],"mappings":""}
@@ -1,12 +0,0 @@
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;
@@ -1,14 +0,0 @@
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
@@ -1 +0,0 @@
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"}