@sellout/models 0.0.78 → 0.0.79

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 (65) hide show
  1. package/.dist/enums/PaymentMethodEnum.d.ts +5 -0
  2. package/.dist/enums/PaymentMethodEnum.js +10 -0
  3. package/.dist/enums/PaymentMethodEnum.js.map +1 -0
  4. package/.dist/graphql/mutations/{setUserOrgContextId.js → createStripeSetupIntent.js} +3 -5
  5. package/.dist/graphql/mutations/createStripeSetupIntent.js.map +1 -0
  6. package/.dist/graphql/mutations/listStripeTerminalReaders.mutation.js +21 -0
  7. package/.dist/graphql/mutations/listStripeTerminalReaders.mutation.js.map +1 -0
  8. package/.dist/graphql/mutations/listStripeTerminalReaders.query.d.ts +2 -0
  9. package/.dist/graphql/mutations/listStripeTerminalReaders.query.js +21 -0
  10. package/.dist/graphql/mutations/listStripeTerminalReaders.query.js.map +1 -0
  11. package/.dist/graphql/mutations/publishEvent.mutation.d.ts +2 -0
  12. package/.dist/graphql/mutations/publishEvent.mutation.js +74 -0
  13. package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -0
  14. package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.d.ts +2 -0
  15. package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js +13 -0
  16. package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js.map +1 -0
  17. package/.dist/graphql/mutations/registerStripeTerminalReader.d.ts +2 -0
  18. package/.dist/graphql/mutations/{resetPasswordInApp.mutation.js → registerStripeTerminalReader.js} +3 -3
  19. package/.dist/graphql/mutations/registerStripeTerminalReader.js.map +1 -0
  20. package/.dist/graphql/mutations/verifyPhoneAuthentication.mutation.js +15 -0
  21. package/.dist/graphql/mutations/verifyPhoneAuthentication.mutation.js.map +1 -0
  22. package/.dist/graphql/mutations/verifyUserPhoneAuthentication.js +15 -0
  23. package/.dist/graphql/mutations/verifyUserPhoneAuthentication.js.map +1 -0
  24. package/.dist/graphql/queries/metrics.query.js +29 -0
  25. package/.dist/graphql/queries/metrics.query.js.map +1 -0
  26. package/.dist/graphql/queries/metricsData.query.d.ts +2 -0
  27. package/.dist/graphql/queries/metricsData.query.js +29 -0
  28. package/.dist/graphql/queries/metricsData.query.js.map +1 -0
  29. package/.dist/graphql/queries/webflow.query.d.ts +2 -0
  30. package/.dist/graphql/queries/webflow.query.js +42 -0
  31. package/.dist/graphql/queries/webflow.query.js.map +1 -0
  32. package/.dist/interfaces/IMetricData.d.ts +57 -0
  33. package/.dist/interfaces/IMetricData.js +70 -0
  34. package/.dist/interfaces/IMetricData.js.map +1 -0
  35. package/.dist/interfaces/IStripe.d.ts +9 -0
  36. package/.dist/interfaces/{ISecondaryEmail.js → IStripe.js} +1 -1
  37. package/.dist/interfaces/IStripe.js.map +1 -0
  38. package/.dist/interfaces/IStripeSource.d.ts +1 -1
  39. package/.dist/utils/MetricsUtil.d.ts +7 -0
  40. package/.dist/utils/MetricsUtil.js +29 -0
  41. package/.dist/utils/MetricsUtil.js.map +1 -0
  42. package/.dist/utils/fee-util-broken-but-why.d.ts +8 -0
  43. package/.dist/utils/fee-util-broken-but-why.js +38 -0
  44. package/.dist/utils/fee-util-broken-but-why.js.map +1 -0
  45. package/package.json +4 -4
  46. package/src/graphql/mutations/publishEvent.mutation.ts +70 -0
  47. package/src/graphql/queries/webflow.query.ts +38 -0
  48. package/.dist/graphql/mutations/resetPasswordInApp.mutation.js.map +0 -1
  49. package/.dist/graphql/mutations/setUserOrgContextId.js.map +0 -1
  50. package/.dist/graphql/queries/customerProfile.js +0 -42
  51. package/.dist/graphql/queries/customerProfile.js.map +0 -1
  52. package/.dist/graphql/queries/organization.query.js +0 -49
  53. package/.dist/graphql/queries/organization.query.js.map +0 -1
  54. package/.dist/graphql/queries/organizations.js +0 -49
  55. package/.dist/graphql/queries/organizations.js.map +0 -1
  56. package/.dist/interfaces/ISecondaryEmail.d.ts +0 -4
  57. package/.dist/interfaces/ISecondaryEmail.js.map +0 -1
  58. package/.dist/schemas/SecondaryEmail.d.ts +0 -12
  59. package/.dist/schemas/SecondaryEmail.js +0 -14
  60. package/.dist/schemas/SecondaryEmail.js.map +0 -1
  61. /package/.dist/graphql/mutations/{resetPasswordInApp.mutation.d.ts → createStripeSetupIntent.d.ts} +0 -0
  62. /package/.dist/graphql/mutations/{setUserOrgContextId.d.ts → listStripeTerminalReaders.mutation.d.ts} +0 -0
  63. /package/.dist/graphql/{queries/customerProfile.d.ts → mutations/verifyPhoneAuthentication.mutation.d.ts} +0 -0
  64. /package/.dist/graphql/{queries/organization.query.d.ts → mutations/verifyUserPhoneAuthentication.d.ts} +0 -0
  65. /package/.dist/graphql/queries/{organizations.d.ts → metrics.query.d.ts} +0 -0
@@ -0,0 +1,5 @@
1
+ export declare enum PaymentMethodEnum {
2
+ CardEntry = "Card Entry",
3
+ CardReader = "Card Reader",
4
+ Cash = "Cash"
5
+ }
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PaymentMethodEnum = void 0;
4
+ var PaymentMethodEnum;
5
+ (function (PaymentMethodEnum) {
6
+ PaymentMethodEnum["CardEntry"] = "Card Entry";
7
+ PaymentMethodEnum["CardReader"] = "Card Reader";
8
+ PaymentMethodEnum["Cash"] = "Cash";
9
+ })(PaymentMethodEnum = exports.PaymentMethodEnum || (exports.PaymentMethodEnum = {}));
10
+ //# sourceMappingURL=PaymentMethodEnum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentMethodEnum.js","sourceRoot":"","sources":["../../src/enums/PaymentMethodEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,6CAAwB,CAAA;IACxB,+CAA0B,CAAA;IAC1B,kCAAa,CAAA;AACf,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B"}
@@ -5,11 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
7
  const mutation = graphql_tag_1.default `
8
- mutation setUserOrgContextId($orgId: String) {
9
- setUserOrgContextId(orgId: $orgId) {
10
- token
11
- }
8
+ mutation createStripeSetupIntent {
9
+ createStripeSetupIntent
12
10
  }
13
11
  `;
14
12
  exports.default = mutation;
15
- //# sourceMappingURL=setUserOrgContextId.js.map
13
+ //# sourceMappingURL=createStripeSetupIntent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createStripeSetupIntent.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createStripeSetupIntent.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,21 @@
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 = graphql_tag_1.default `
8
+ mutation listStripeTerminalReaders {
9
+ listStripeTerminalReaders {
10
+ id
11
+ label
12
+ type
13
+ location
14
+ serialNumber
15
+ status
16
+ ipAddress
17
+ }
18
+ }
19
+ `;
20
+ exports.default = mutation;
21
+ //# sourceMappingURL=listStripeTerminalReaders.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listStripeTerminalReaders.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/listStripeTerminalReaders.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;CAYnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,21 @@
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 = graphql_tag_1.default `
8
+ mutation listStripeTerminalReaders {
9
+ listStripeTerminalReaders {
10
+ id
11
+ label
12
+ type
13
+ location
14
+ serialNumber
15
+ status
16
+ ipAddress
17
+ }
18
+ }
19
+ `;
20
+ exports.default = mutation;
21
+ //# sourceMappingURL=listStripeTerminalReaders.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listStripeTerminalReaders.query.js","sourceRoot":"","sources":["../../../src/graphql/mutations/listStripeTerminalReaders.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;CAYnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -0,0 +1,74 @@
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 event_fragment_1 = __importDefault(require("../fragments/event.fragment"));
8
+ const mutation = graphql_tag_1.default `
9
+ mutation publishEvent(
10
+ $eventId: String!,
11
+ $publishSiteIds: [String],
12
+ $unpublishSiteIds: [String]
13
+ ) {
14
+ publishEvent(
15
+ eventId: $eventId,
16
+ publishSiteIds: $publishSiteIds,
17
+ unpublishSiteIds: $unpublishSiteIds
18
+ ) {
19
+ _id
20
+ orgId
21
+ type
22
+ name
23
+ subtitle
24
+ description
25
+ userAgreement
26
+ processAs
27
+ posterImageUrl
28
+ venueId
29
+ createdAt
30
+ publishable
31
+ seatingChartKey
32
+ age
33
+ sendQRCode
34
+ hasOrders
35
+ organization {
36
+ orgName
37
+ }
38
+ venue {
39
+ name
40
+ address {
41
+ state
42
+ city
43
+ }
44
+ }
45
+ ...EventSchedule
46
+ ...Location
47
+ ...Performances
48
+ ...TicketTypes
49
+ ...TicketHolds
50
+ ...EventUpgrades
51
+ ...EventPromotions
52
+ ...EventCustomFields
53
+ ...TicketExchange
54
+ ...Fees
55
+ ...Artists
56
+ ...WebFlowEntity
57
+ }
58
+ }
59
+
60
+ ${event_fragment_1.default.fragments.schedule}
61
+ ${event_fragment_1.default.fragments.location}
62
+ ${event_fragment_1.default.fragments.performances}
63
+ ${event_fragment_1.default.fragments.ticketTypes}
64
+ ${event_fragment_1.default.fragments.holds}
65
+ ${event_fragment_1.default.fragments.upgrades}
66
+ ${event_fragment_1.default.fragments.promotions}
67
+ ${event_fragment_1.default.fragments.customFields}
68
+ ${event_fragment_1.default.fragments.exchange}
69
+ ${event_fragment_1.default.fragments.fees}
70
+ ${event_fragment_1.default.fragments.artists}
71
+ ${event_fragment_1.default.fragments.webFlowEntity}
72
+ `;
73
+ exports.default = mutation;
74
+ //# sourceMappingURL=publishEvent.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"publishEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/publishEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoDhB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,KAAK;IACrB,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,IAAI;IACpB,wBAAK,CAAC,SAAS,CAAC,OAAO;IACvB,wBAAK,CAAC,SAAS,CAAC,aAAa;CAChC,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 = graphql_tag_1.default `
8
+ mutation registerStripeTerminalReader(label: String, registrationCode: String) {
9
+ registerStripeTerminalReader(label: $label, registrationCode: $registrationCode)
10
+ }
11
+ `;
12
+ exports.default = mutation;
13
+ //# sourceMappingURL=registerStripeTermainlReader.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerStripeTermainlReader.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/registerStripeTermainlReader.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const mutation: import("graphql").DocumentNode;
2
+ export default mutation;
@@ -5,9 +5,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
5
5
  Object.defineProperty(exports, "__esModule", { value: true });
6
6
  const graphql_tag_1 = __importDefault(require("graphql-tag"));
7
7
  const mutation = graphql_tag_1.default `
8
- mutation resetUserPasswordInApp($oldPassword: String!, $newPassword: String!) {
9
- resetUserPasswordInApp(oldPassword: $oldPassword, newPassword: $newPassword)
8
+ mutation registerStripeTerminalReader(label: String, registrationCode: String) {
9
+ registerStripeTerminalReader(label: $label, registrationCode: $registrationCode)
10
10
  }
11
11
  `;
12
12
  exports.default = mutation;
13
- //# sourceMappingURL=resetPasswordInApp.mutation.js.map
13
+ //# sourceMappingURL=registerStripeTerminalReader.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerStripeTerminalReader.js","sourceRoot":"","sources":["../../../src/graphql/mutations/registerStripeTerminalReader.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -0,0 +1,15 @@
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
+ mutation verifyUserPhoneAuthentication($email: String, $phoneNumber: String, $phoneVerificationToken: String!){
9
+ verifyUserPhoneAuthentication(email: $email, phoneNumber: $phoneNumber, phoneVerificationToken: $phoneVerificationToken) {
10
+ token
11
+ }
12
+ }
13
+ `;
14
+ exports.default = query;
15
+ //# sourceMappingURL=verifyPhoneAuthentication.mutation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verifyPhoneAuthentication.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyPhoneAuthentication.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;CAMhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,15 @@
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
+ mutation verifyUserPhoneAuthentication($email: String, $phoneNumber: String, $phoneVerificationToken: String!){
9
+ verifyUserPhoneAuthentication(email: $email, phoneNumber: $phoneNumber, phoneVerificationToken: $phoneVerificationToken) {
10
+ token
11
+ }
12
+ }
13
+ `;
14
+ exports.default = query;
15
+ //# sourceMappingURL=verifyUserPhoneAuthentication.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"verifyUserPhoneAuthentication.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyUserPhoneAuthentication.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;CAMhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,29 @@
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 metrics($params: MetricParamsInput!) {
9
+ metrics(params: $params) {
10
+ label
11
+ type
12
+ interval
13
+ coordinates {
14
+ x
15
+ y
16
+ }
17
+ segments {
18
+ label
19
+ type
20
+ coordinates {
21
+ x
22
+ y
23
+ }
24
+ }
25
+ }
26
+ }
27
+ `;
28
+ exports.default = query;
29
+ //# sourceMappingURL=metrics.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metrics.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/metrics.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;CAoBhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,29 @@
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 Analytics($params: MetricParamsInput!) {
9
+ analytics(params: $params) {
10
+ label
11
+ type
12
+ interval
13
+ coordinates {
14
+ x
15
+ y
16
+ }
17
+ segments {
18
+ label
19
+ type
20
+ coordinates {
21
+ x
22
+ y
23
+ }
24
+ }
25
+ }
26
+ }
27
+ `;
28
+ exports.default = query;
29
+ //# sourceMappingURL=metricsData.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"metricsData.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/metricsData.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;CAoBhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,2 @@
1
+ declare const query: import("graphql").DocumentNode;
2
+ export default query;
@@ -0,0 +1,42 @@
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 webFlow {
9
+ webFlow {
10
+ _id
11
+ orgId
12
+ sites {
13
+ name
14
+ webFlowId
15
+ enabled
16
+ createdAt
17
+ updatedAt
18
+ previewUrl
19
+ domains {
20
+ lastPublishedAt
21
+ name
22
+ }
23
+ }
24
+ entities {
25
+ _id
26
+ name
27
+ selloutId
28
+ entityType
29
+ alwaysPublishTo
30
+ webFlowIds {
31
+ webFlowSiteId
32
+ webFlowEntityId
33
+ slug
34
+ }
35
+ }
36
+ createdAt
37
+ updatedAt
38
+ }
39
+ }
40
+ `;
41
+ exports.default = query;
42
+ //# sourceMappingURL=webflow.query.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"webflow.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/webflow.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -0,0 +1,57 @@
1
+ declare enum MetricDataIntervalEnum {
2
+ Hour = "Hour",
3
+ Day = "Day",
4
+ Week = "Week",
5
+ Month = "Month",
6
+ Year = "Year"
7
+ }
8
+ declare enum MetricDataDurationEnum {
9
+ AllTime = "All Time",
10
+ Today = "Today",
11
+ OneWeek = "One Week",
12
+ OneMonth = "One Month",
13
+ MonthToDate = "MTD",
14
+ YearToDate = "YTD",
15
+ OneYear = "One Year",
16
+ Custom = "Custom"
17
+ }
18
+ declare enum MetricDataCardTypeEnum {
19
+ TicketSales = "Ticket Sales",
20
+ UpgradeSales = "Upgrades Sales",
21
+ ExtraFeeRevenue = "Extra Fee Revenue",
22
+ TicketsSold = "Tickets Sold",
23
+ TotalOrders = "Total Orders",
24
+ Promotions = "Promotioins",
25
+ TicketComps = "Ticket Comps",
26
+ UpgradeComps = "Upgrade Comps",
27
+ OnlineSessions = "Online Sessions",
28
+ OnlineConversationRate = "Online Converstation Rate",
29
+ AvgOrderValue = "Avg. Order Value"
30
+ }
31
+ declare enum MetricDataValueTypeEnum {
32
+ Quantity = "Quantity",
33
+ Currency = "Currency",
34
+ Percent = "Percent"
35
+ }
36
+ interface IMetricDataParams {
37
+ eventId?: string;
38
+ venueId?: string;
39
+ artistId?: string;
40
+ startAt?: number;
41
+ endAt?: number;
42
+ interval?: MetricDataIntervalEnum;
43
+ types: MetricDataCardTypeEnum[];
44
+ }
45
+ interface Coordinate {
46
+ x: number;
47
+ y: number;
48
+ }
49
+ interface DataPoint {
50
+ label: string;
51
+ interval?: MetricDataIntervalEnum;
52
+ coordinates?: Coordinate[];
53
+ segments?: DataPoint[];
54
+ type: MetricDataValueTypeEnum;
55
+ totalValue?: number;
56
+ }
57
+ declare const TicketSalesCard: DataPoint;
@@ -0,0 +1,70 @@
1
+ var MetricDataIntervalEnum;
2
+ (function (MetricDataIntervalEnum) {
3
+ MetricDataIntervalEnum["Hour"] = "Hour";
4
+ MetricDataIntervalEnum["Day"] = "Day";
5
+ MetricDataIntervalEnum["Week"] = "Week";
6
+ MetricDataIntervalEnum["Month"] = "Month";
7
+ MetricDataIntervalEnum["Year"] = "Year";
8
+ })(MetricDataIntervalEnum || (MetricDataIntervalEnum = {}));
9
+ var MetricDataDurationEnum;
10
+ (function (MetricDataDurationEnum) {
11
+ MetricDataDurationEnum["AllTime"] = "All Time";
12
+ MetricDataDurationEnum["Today"] = "Today";
13
+ MetricDataDurationEnum["OneWeek"] = "One Week";
14
+ MetricDataDurationEnum["OneMonth"] = "One Month";
15
+ MetricDataDurationEnum["MonthToDate"] = "MTD";
16
+ MetricDataDurationEnum["YearToDate"] = "YTD";
17
+ MetricDataDurationEnum["OneYear"] = "One Year";
18
+ MetricDataDurationEnum["Custom"] = "Custom";
19
+ })(MetricDataDurationEnum || (MetricDataDurationEnum = {}));
20
+ ;
21
+ var MetricDataCardTypeEnum;
22
+ (function (MetricDataCardTypeEnum) {
23
+ MetricDataCardTypeEnum["TicketSales"] = "Ticket Sales";
24
+ MetricDataCardTypeEnum["UpgradeSales"] = "Upgrades Sales";
25
+ MetricDataCardTypeEnum["ExtraFeeRevenue"] = "Extra Fee Revenue";
26
+ MetricDataCardTypeEnum["TicketsSold"] = "Tickets Sold";
27
+ MetricDataCardTypeEnum["TotalOrders"] = "Total Orders";
28
+ MetricDataCardTypeEnum["Promotions"] = "Promotioins";
29
+ MetricDataCardTypeEnum["TicketComps"] = "Ticket Comps";
30
+ MetricDataCardTypeEnum["UpgradeComps"] = "Upgrade Comps";
31
+ MetricDataCardTypeEnum["OnlineSessions"] = "Online Sessions";
32
+ MetricDataCardTypeEnum["OnlineConversationRate"] = "Online Converstation Rate";
33
+ MetricDataCardTypeEnum["AvgOrderValue"] = "Avg. Order Value";
34
+ })(MetricDataCardTypeEnum || (MetricDataCardTypeEnum = {}));
35
+ var MetricDataValueTypeEnum;
36
+ (function (MetricDataValueTypeEnum) {
37
+ MetricDataValueTypeEnum["Quantity"] = "Quantity";
38
+ MetricDataValueTypeEnum["Currency"] = "Currency";
39
+ MetricDataValueTypeEnum["Percent"] = "Percent";
40
+ })(MetricDataValueTypeEnum || (MetricDataValueTypeEnum = {}));
41
+ const TicketSalesCard = {
42
+ label: MetricDataCardTypeEnum.TicketSales,
43
+ type: MetricDataValueTypeEnum.Currency,
44
+ interval: MetricDataIntervalEnum.Hour,
45
+ totalValue: 1000,
46
+ coordinates: [
47
+ {
48
+ x: 1,
49
+ y: 1,
50
+ }
51
+ ],
52
+ segments: [
53
+ {
54
+ label: 'General Admission',
55
+ type: MetricDataValueTypeEnum.Currency,
56
+ totalValue: 300,
57
+ coordinates: [
58
+ {
59
+ x: 1,
60
+ y: 1,
61
+ },
62
+ {
63
+ x: 2,
64
+ y: 1,
65
+ }
66
+ ]
67
+ }
68
+ ]
69
+ };
70
+ //# sourceMappingURL=IMetricData.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IMetricData.js","sourceRoot":"","sources":["../../src/interfaces/IMetricData.ts"],"names":[],"mappings":"AAAA,IAAK,sBAMJ;AAND,WAAK,sBAAsB;IACzB,uCAAa,CAAA;IACb,qCAAW,CAAA;IACX,uCAAa,CAAA;IACb,yCAAe,CAAA;IACf,uCAAa,CAAA;AACf,CAAC,EANI,sBAAsB,KAAtB,sBAAsB,QAM1B;AAED,IAAK,sBASJ;AATD,WAAK,sBAAsB;IACzB,8CAAoB,CAAA;IACpB,yCAAe,CAAA;IACf,8CAAoB,CAAA;IACpB,gDAAsB,CAAA;IACtB,6CAAmB,CAAA;IACnB,4CAAkB,CAAA;IAClB,8CAAoB,CAAA;IACpB,2CAAiB,CAAA;AACnB,CAAC,EATI,sBAAsB,KAAtB,sBAAsB,QAS1B;AAAA,CAAC;AAGF,IAAK,sBAYJ;AAZD,WAAK,sBAAsB;IACzB,sDAA4B,CAAA;IAC5B,yDAA+B,CAAA;IAC/B,+DAAqC,CAAA;IACrC,sDAA4B,CAAA;IAC5B,sDAA4B,CAAA;IAC5B,oDAA0B,CAAA;IAC1B,sDAA4B,CAAA;IAC5B,wDAA8B,CAAA;IAC9B,4DAAkC,CAAA;IAClC,8EAAoD,CAAA;IACpD,4DAAkC,CAAA;AACpC,CAAC,EAZI,sBAAsB,KAAtB,sBAAsB,QAY1B;AAED,IAAK,uBAIJ;AAJD,WAAK,uBAAuB;IAC1B,gDAAqB,CAAA;IACrB,gDAAqB,CAAA;IACrB,8CAAmB,CAAA;AACrB,CAAC,EAJI,uBAAuB,KAAvB,uBAAuB,QAI3B;AA0BD,MAAM,eAAe,GAAc;IACjC,KAAK,EAAE,sBAAsB,CAAC,WAAW;IACzC,IAAI,EAAE,uBAAuB,CAAC,QAAQ;IACtC,QAAQ,EAAE,sBAAsB,CAAC,IAAI;IACrC,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE;QACX;YACE,CAAC,EAAE,CAAC;YACJ,CAAC,EAAE,CAAC;SACL;KACF;IACD,QAAQ,EAAE;QACR;YACE,KAAK,EAAE,mBAAmB;YAC1B,IAAI,EAAE,uBAAuB,CAAC,QAAQ;YACtC,UAAU,EAAE,GAAG;YACf,WAAW,EAAE;gBACX;oBACE,CAAC,EAAE,CAAC;oBACJ,CAAC,EAAE,CAAC;iBACL;gBACD;oBACE,CAAC,EAAE,CAAC;oBACJ,CAAC,EAAE,CAAC;iBACL;aACF;SACF;KACF;CACF,CAAA"}
@@ -0,0 +1,9 @@
1
+ export default interface IStripeTerminalReader {
2
+ id: string;
3
+ label: string;
4
+ type: string;
5
+ location: string;
6
+ serialNumber: string;
7
+ status: string;
8
+ ipAddress: string;
9
+ }
@@ -1,3 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ISecondaryEmail.js.map
3
+ //# sourceMappingURL=IStripe.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IStripe.js","sourceRoot":"","sources":["../../src/interfaces/IStripe.ts"],"names":[],"mappings":""}
@@ -1,4 +1,4 @@
1
- export default interface IStripeSource {
1
+ export default interface IStripePaymentMethod {
2
2
  sourceId: string;
3
3
  brand: string;
4
4
  last4: string;
@@ -0,0 +1,7 @@
1
+ declare const _default: {
2
+ const: {
3
+ [x: number]: () => null;
4
+ };
5
+ timeSpanIntervals(interval: any): void;
6
+ };
7
+ export default _default;
@@ -0,0 +1,29 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.default = {
4
+ // Returns start and end date
5
+ const: getMetricsTimespan = {
6
+ [MetricTimespanEnum.AllTime]: () => null,
7
+ [MetricTimespanEnum.Today]: () => null,
8
+ [MetricTimespanEnum.OneWeek]: () => null,
9
+ [MetricTimespanEnum.OneMonth]: () => null,
10
+ [MetricTimespanEnum.MonthToDate]: () => null,
11
+ [MetricTimespanEnum.YearToDate]: () => null,
12
+ [MetricTimespanEnum.OneYear]: () => null,
13
+ [MetricTimespanEnum.Custom]: () => null,
14
+ },
15
+ // Returns available intervals
16
+ timeSpanIntervals(interval) {
17
+ const intervals = {
18
+ [MetricTimespanEnum.AllTime]: () => [],
19
+ [MetricTimespanEnum.Today]: () => [],
20
+ [MetricTimespanEnum.OneWeek]: () => [],
21
+ [MetricTimespanEnum.OneMonth]: () => [],
22
+ [MetricTimespanEnum.MonthToDate]: () => [],
23
+ [MetricTimespanEnum.YearToDate]: () => [],
24
+ [MetricTimespanEnum.OneYear]: () => [],
25
+ [MetricTimespanEnum.Custom]: () => [],
26
+ };
27
+ },
28
+ };
29
+ //# sourceMappingURL=MetricsUtil.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"MetricsUtil.js","sourceRoot":"","sources":["../../src/utils/MetricsUtil.ts"],"names":[],"mappings":";;AAAA,kBAAe;IACb,6BAA6B;IAC/B,KAAK,EAAC,kBAAkB,GAAG;QACzB,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QACxC,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QACtC,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QACxC,CAAC,kBAAkB,CAAC,QAAQ,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QACzC,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QAC5C,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QAC3C,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;QACxC,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,IAAI;KACxC;IAED,8BAA8B;IAC9B,iBAAiB,CAAC,QAAS;QACzB,MAAM,SAAS,GAAG;YAChB,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAC5D,CAAC,kBAAkB,CAAC,KAAK,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAC1D,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAC5D,CAAC,kBAAkB,CAAC,QAAQ,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAC7D,CAAC,kBAAkB,CAAC,WAAW,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAChE,CAAC,kBAAkB,CAAC,UAAU,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAC/D,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;YAC5D,CAAC,kBAAkB,CAAC,MAAM,CAAC,EAAE,GAAyB,EAAE,CAAC,EAAE;SAC5D,CAAC;IACJ,CAAC;CAEA,CAAA"}
@@ -0,0 +1,8 @@
1
+ import IFee from '../interfaces/IFee";;
2
+ declare const _default: {
3
+ processingFees(fees: IFee[]): any[];
4
+ selloutFees(fees: IFee[]): any[];
5
+ stripeFees(fees: IFee[]): any[];
6
+ promoterFees(fees: IFee[]): any[];
7
+ };
8
+ export default _default;
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ const IFee__1 = require("../interfaces/IFee\";");
4
+ exports.default = {
5
+ processingFees(fees) {
6
+ return fees.filter((fee) => {
7
+ if (fee.appliedBy === IFee__1.FeeAppliedByEnum.Sellout || fee.appliedBy === IFee__1.FeeAppliedByEnum.Stripe) {
8
+ return true;
9
+ }
10
+ return false;
11
+ });
12
+ },
13
+ selloutFees(fees) {
14
+ return fees.filter((fee) => {
15
+ if (fee.appliedBy === IFee__1.FeeAppliedByEnum.Sellout) {
16
+ return true;
17
+ }
18
+ return false;
19
+ });
20
+ },
21
+ stripeFees(fees) {
22
+ return fees.filter((fee) => {
23
+ if (fee.appliedBy === IFee__1.FeeAppliedByEnum.Stripe) {
24
+ return false;
25
+ }
26
+ return true;
27
+ });
28
+ },
29
+ promoterFees(fees) {
30
+ return fees.filter((fee) => {
31
+ if (fee.appliedBy === IFee__1.FeeAppliedByEnum.Sellout || fee.appliedBy === IFee__1.FeeAppliedByEnum.Stripe) {
32
+ return false;
33
+ }
34
+ return true;
35
+ });
36
+ },
37
+ };
38
+ //# sourceMappingURL=fee-util-broken-but-why.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fee-util-broken-but-why.js","sourceRoot":"","sources":["../../src/utils/fee-util-broken-but-why.ts"],"names":[],"mappings":";;AAAA,iDAA4D;AAE5D,kBAAe;IACb,cAAc,CAAC,IAAY;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAS,EAAE,EAAE;YAC/B,IAAI,GAAG,CAAC,SAAS,KAAK,wBAAgB,CAAC,OAAO,IAAI,GAAG,CAAC,SAAS,KAAK,wBAAgB,CAAC,MAAM,EAAE;gBAC3F,OAAO,IAAI,CAAC;aACb;YACD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;IACD,WAAW,CAAC,IAAY;QACtB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAS,EAAE,EAAE;YAC/B,IAAI,GAAG,CAAC,SAAS,KAAK,wBAAgB,CAAC,OAAO,EAAE;gBAC9C,OAAO,IAAI,CAAC;aACb;YACD,OAAO,KAAK,CAAC;QACf,CAAC,CAAC,CAAC;IACL,CAAC;IACD,UAAU,CAAC,IAAY;QACrB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAS,EAAE,EAAE;YAC/B,IAAI,GAAG,CAAC,SAAS,KAAK,wBAAgB,CAAC,MAAM,EAAE;gBAC7C,OAAO,KAAK,CAAC;aACd;YACD,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;IACL,CAAC;IACD,YAAY,CAAC,IAAY;QACvB,OAAO,IAAI,CAAC,MAAM,CAAC,CAAC,GAAS,EAAE,EAAE;YAC/B,IAAI,GAAG,CAAC,SAAS,KAAK,wBAAgB,CAAC,OAAO,IAAI,GAAG,CAAC,SAAS,KAAK,wBAAgB,CAAC,MAAM,EAAE;gBAC3F,OAAO,KAAK,CAAC;aACd;YACD,OAAO,IAAI,CAAC;QACd,CAAC,CAAC,CAAC;IACL,CAAC;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sellout/models",
3
- "version": "0.0.78",
3
+ "version": "0.0.79",
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.78",
20
- "@sellout/utils": "^0.0.78",
19
+ "@sellout/service": "^0.0.79",
20
+ "@sellout/utils": "^0.0.79",
21
21
  "@types/shortid": "0.0.29",
22
22
  "apollo-link-debounce": "^2.1.0",
23
23
  "graphql": "^14.6.0",
@@ -30,5 +30,5 @@
30
30
  "protobufjs": "~6.10.1",
31
31
  "typescript": "^3.8.3"
32
32
  },
33
- "gitHead": "19e63de4c9a6fed51631eacb87941d325168e5d2"
33
+ "gitHead": "b3e60a2f774a64bb48b0b496f83813a02db0c2c1"
34
34
  }
@@ -0,0 +1,70 @@
1
+ import gql from "graphql-tag";
2
+ import Event from "../fragments/event.fragment";
3
+
4
+ const mutation = gql`
5
+ mutation publishEvent(
6
+ $eventId: String!,
7
+ $publishSiteIds: [String],
8
+ $unpublishSiteIds: [String]
9
+ ) {
10
+ publishEvent(
11
+ eventId: $eventId,
12
+ publishSiteIds: $publishSiteIds,
13
+ unpublishSiteIds: $unpublishSiteIds
14
+ ) {
15
+ _id
16
+ orgId
17
+ type
18
+ name
19
+ subtitle
20
+ description
21
+ userAgreement
22
+ processAs
23
+ posterImageUrl
24
+ venueId
25
+ createdAt
26
+ publishable
27
+ seatingChartKey
28
+ age
29
+ sendQRCode
30
+ hasOrders
31
+ organization {
32
+ orgName
33
+ }
34
+ venue {
35
+ name
36
+ address {
37
+ state
38
+ city
39
+ }
40
+ }
41
+ ...EventSchedule
42
+ ...Location
43
+ ...Performances
44
+ ...TicketTypes
45
+ ...TicketHolds
46
+ ...EventUpgrades
47
+ ...EventPromotions
48
+ ...EventCustomFields
49
+ ...TicketExchange
50
+ ...Fees
51
+ ...Artists
52
+ ...WebFlowEntity
53
+ }
54
+ }
55
+
56
+ ${Event.fragments.schedule}
57
+ ${Event.fragments.location}
58
+ ${Event.fragments.performances}
59
+ ${Event.fragments.ticketTypes}
60
+ ${Event.fragments.holds}
61
+ ${Event.fragments.upgrades}
62
+ ${Event.fragments.promotions}
63
+ ${Event.fragments.customFields}
64
+ ${Event.fragments.exchange}
65
+ ${Event.fragments.fees}
66
+ ${Event.fragments.artists}
67
+ ${Event.fragments.webFlowEntity}
68
+ `;
69
+
70
+ export default mutation;
@@ -0,0 +1,38 @@
1
+ import gql from 'graphql-tag';
2
+
3
+ const query = gql`
4
+ query webFlow {
5
+ webFlow {
6
+ _id
7
+ orgId
8
+ sites {
9
+ name
10
+ webFlowId
11
+ enabled
12
+ createdAt
13
+ updatedAt
14
+ previewUrl
15
+ domains {
16
+ lastPublishedAt
17
+ name
18
+ }
19
+ }
20
+ entities {
21
+ _id
22
+ name
23
+ selloutId
24
+ entityType
25
+ alwaysPublishTo
26
+ webFlowIds {
27
+ webFlowSiteId
28
+ webFlowEntityId
29
+ slug
30
+ }
31
+ }
32
+ createdAt
33
+ updatedAt
34
+ }
35
+ }
36
+ `;
37
+
38
+ export default query;
@@ -1 +0,0 @@
1
- {"version":3,"file":"resetPasswordInApp.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/resetPasswordInApp.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"setUserOrgContextId.js","sourceRoot":"","sources":["../../../src/graphql/mutations/setUserOrgContextId.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;CAMnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
@@ -1,42 +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 = graphql_tag_1.default `
8
- query userProfiles($query: UserProfileQueryInput) {
9
- userProfiles(query: $query) {
10
- _id
11
- imageUrl
12
- user {
13
- _id
14
- email
15
- firstName
16
- lastName
17
- phoneNumber
18
- phoneNumberVerifiedAt
19
- }
20
- metrics {
21
- orgId
22
- yearToDateValue
23
- lifeTimeValue
24
- createdAt
25
- lifeTimeTicketsPurchased
26
- lifeTimeUpgradesPurchased
27
- }
28
- stripeCustomerId
29
- address {
30
- address1
31
- address2
32
- city
33
- state
34
- zip
35
- country
36
- phone
37
- }
38
- }
39
- }
40
- `;
41
- exports.default = query;
42
- //# sourceMappingURL=customerProfile.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"customerProfile.js","sourceRoot":"","sources":["../../../src/graphql/queries/customerProfile.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -1,49 +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 = graphql_tag_1.default `
8
- query organizations {
9
- organizations {
10
- _id
11
- orgName
12
- orgUrls
13
- orgLogoUrl
14
- createdAt
15
- address {
16
- address1
17
- address2
18
- city
19
- state
20
- zip
21
- country
22
- }
23
- user {
24
- email
25
- }
26
- seating {
27
- publicKey
28
- secretKey
29
- designerKey
30
- }
31
- webFlow {
32
- sites {
33
- name
34
- webFlowId
35
- enabled
36
- createdAt
37
- updatedAt
38
- previewUrl
39
- domains {
40
- lastPublishedAt
41
- name
42
- }
43
- }
44
- }
45
- }
46
- }
47
- `;
48
- exports.default = query;
49
- //# sourceMappingURL=organization.query.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organization.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/organization.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -1,49 +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 = graphql_tag_1.default `
8
- query organizations {
9
- organizations {
10
- _id
11
- orgName
12
- orgUrls
13
- orgLogoUrl
14
- createdAt
15
- address {
16
- address1
17
- address2
18
- city
19
- state
20
- zip
21
- country
22
- }
23
- user {
24
- email
25
- }
26
- seating {
27
- publicKey
28
- secretKey
29
- designerKey
30
- }
31
- webFlow {
32
- sites {
33
- name
34
- webFlowId
35
- enabled
36
- createdAt
37
- updatedAt
38
- previewUrl
39
- domains {
40
- lastPublishedAt
41
- name
42
- }
43
- }
44
- }
45
- }
46
- }
47
- `;
48
- exports.default = query;
49
- //# sourceMappingURL=organizations.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organizations.js","sourceRoot":"","sources":["../../../src/graphql/queries/organizations.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAwChB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
@@ -1,4 +0,0 @@
1
- export default interface ISecondaryEmail {
2
- email: string;
3
- verifiedAt?: number;
4
- }
@@ -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"}