@sellout/models 0.0.99 → 0.0.100
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.
- package/.dist/enums/DefaultPerformerImageUrls.d.ts +5 -0
- package/.dist/enums/DefaultPerformerImageUrls.js +11 -0
- package/.dist/enums/DefaultPerformerImageUrls.js.map +1 -0
- package/.dist/graphql/fragments/event.fragment.d.ts +1 -0
- package/.dist/graphql/fragments/event.fragment.js +23 -0
- package/.dist/graphql/fragments/event.fragment.js.map +1 -1
- package/.dist/graphql/mutations/createEvent.mutation.js +2 -0
- package/.dist/graphql/mutations/createEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/publishEvent.mutation.js +2 -0
- package/.dist/graphql/mutations/publishEvent.mutation.js.map +1 -1
- package/.dist/graphql/mutations/{registerStripeTerminalReader.js → resetPasswordInApp.mutation.js} +3 -3
- package/.dist/graphql/mutations/resetPasswordInApp.mutation.js.map +1 -0
- package/.dist/graphql/mutations/{createStripeSetupIntent.js → setUserOrgContextId.js} +5 -3
- package/.dist/graphql/mutations/setUserOrgContextId.js.map +1 -0
- package/.dist/graphql/mutations/updateEvent.mutation.js +2 -0
- package/.dist/graphql/mutations/updateEvent.mutation.js.map +1 -1
- package/.dist/graphql/queries/customerOrders.query.js +43 -0
- package/.dist/graphql/queries/customerOrders.query.js.map +1 -0
- package/.dist/graphql/queries/customerProfile.js +42 -0
- package/.dist/graphql/queries/customerProfile.js.map +1 -0
- package/.dist/graphql/queries/event.query.js +2 -0
- package/.dist/graphql/queries/event.query.js.map +1 -1
- package/.dist/graphql/queries/events.query.js +2 -18
- package/.dist/graphql/queries/events.query.js.map +1 -1
- package/.dist/graphql/queries/organization.query.js +49 -0
- package/.dist/graphql/queries/organization.query.js.map +1 -0
- package/.dist/graphql/queries/organizations.js +49 -0
- package/.dist/graphql/queries/organizations.js.map +1 -0
- package/.dist/interfaces/ISecondaryEmail.d.ts +4 -0
- package/.dist/interfaces/{IStripe.js → ISecondaryEmail.js} +1 -1
- package/.dist/interfaces/ISecondaryEmail.js.map +1 -0
- package/.dist/interfaces/IStripeSource.d.ts +1 -1
- package/.dist/schemas/SecondaryEmail.d.ts +12 -0
- package/.dist/schemas/SecondaryEmail.js +14 -0
- package/.dist/schemas/SecondaryEmail.js.map +1 -0
- package/.dist/utils/EventUtil.d.ts +8 -2
- package/.dist/utils/EventUtil.js +54 -8
- package/.dist/utils/EventUtil.js.map +1 -1
- package/package.json +4 -4
- package/src/graphql/fragments/event.fragment.ts +24 -0
- package/src/graphql/mutations/createEvent.mutation.ts +2 -0
- package/src/graphql/mutations/publishEvent.mutation.ts +2 -0
- package/src/graphql/mutations/updateEvent.mutation.ts +2 -0
- package/src/graphql/queries/customerOrders.query.ts +39 -0
- package/src/graphql/queries/event.query.ts +2 -0
- package/src/graphql/queries/events.query.ts +2 -18
- package/src/utils/EventUtil.ts +53 -9
- package/.dist/enums/PaymentMethodEnum.d.ts +0 -5
- package/.dist/enums/PaymentMethodEnum.js +0 -10
- package/.dist/enums/PaymentMethodEnum.js.map +0 -1
- package/.dist/graphql/mutations/createStripeSetupIntent.js.map +0 -1
- package/.dist/graphql/mutations/listStripeTerminalReaders.mutation.js +0 -21
- package/.dist/graphql/mutations/listStripeTerminalReaders.mutation.js.map +0 -1
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.d.ts +0 -2
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.js +0 -21
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.js.map +0 -1
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.d.ts +0 -2
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js +0 -13
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js.map +0 -1
- package/.dist/graphql/mutations/registerStripeTerminalReader.d.ts +0 -2
- package/.dist/graphql/mutations/registerStripeTerminalReader.js.map +0 -1
- package/.dist/graphql/mutations/verifyPhoneAuthentication.mutation.js +0 -15
- package/.dist/graphql/mutations/verifyPhoneAuthentication.mutation.js.map +0 -1
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.js +0 -15
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.js.map +0 -1
- package/.dist/graphql/queries/metrics.query.js +0 -29
- package/.dist/graphql/queries/metrics.query.js.map +0 -1
- package/.dist/graphql/queries/metricsData.query.js +0 -29
- package/.dist/graphql/queries/metricsData.query.js.map +0 -1
- package/.dist/interfaces/IMetricData.d.ts +0 -57
- package/.dist/interfaces/IMetricData.js +0 -70
- package/.dist/interfaces/IMetricData.js.map +0 -1
- package/.dist/interfaces/IStripe.d.ts +0 -9
- package/.dist/interfaces/IStripe.js.map +0 -1
- package/.dist/utils/MetricsUtil.d.ts +0 -7
- package/.dist/utils/MetricsUtil.js +0 -29
- package/.dist/utils/MetricsUtil.js.map +0 -1
- package/.dist/utils/fee-util-broken-but-why.d.ts +0 -8
- package/.dist/utils/fee-util-broken-but-why.js +0 -38
- package/.dist/utils/fee-util-broken-but-why.js.map +0 -1
- /package/.dist/graphql/mutations/{createStripeSetupIntent.d.ts → resetPasswordInApp.mutation.d.ts} +0 -0
- /package/.dist/graphql/mutations/{listStripeTerminalReaders.mutation.d.ts → setUserOrgContextId.d.ts} +0 -0
- /package/.dist/graphql/{mutations/verifyPhoneAuthentication.mutation.d.ts → queries/customerOrders.query.d.ts} +0 -0
- /package/.dist/graphql/{mutations/verifyUserPhoneAuthentication.d.ts → queries/customerProfile.d.ts} +0 -0
- /package/.dist/graphql/queries/{metrics.query.d.ts → organization.query.d.ts} +0 -0
- /package/.dist/graphql/queries/{metricsData.query.d.ts → organizations.d.ts} +0 -0
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare enum DefaultArtistImageUrls {
|
|
2
|
+
Individual = "https://storage.googleapis.com/sellout-assets/default-images/performer/individual.jpg",
|
|
3
|
+
MusicalArtist = "https://storage.googleapis.com/sellout-assets/default-images/performer/musical-artist.jpg",
|
|
4
|
+
Film = "https://storage.googleapis.com/sellout-assets/default-images/performer/film.jpg"
|
|
5
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.DefaultArtistImageUrls = void 0;
|
|
4
|
+
var DefaultArtistImageUrls;
|
|
5
|
+
(function (DefaultArtistImageUrls) {
|
|
6
|
+
DefaultArtistImageUrls["Individual"] = "https://storage.googleapis.com/sellout-assets/default-images/performer/individual.jpg";
|
|
7
|
+
DefaultArtistImageUrls["MusicalArtist"] = "https://storage.googleapis.com/sellout-assets/default-images/performer/musical-artist.jpg";
|
|
8
|
+
DefaultArtistImageUrls["Film"] = "https://storage.googleapis.com/sellout-assets/default-images/performer/film.jpg";
|
|
9
|
+
})(DefaultArtistImageUrls = exports.DefaultArtistImageUrls || (exports.DefaultArtistImageUrls = {}));
|
|
10
|
+
;
|
|
11
|
+
//# sourceMappingURL=DefaultPerformerImageUrls.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DefaultPerformerImageUrls.js","sourceRoot":"","sources":["../../src/enums/DefaultPerformerImageUrls.ts"],"names":[],"mappings":";;;AAAA,IAAY,sBAIX;AAJD,WAAY,sBAAsB;IAChC,8HAAoG,CAAA;IACpG,qIAA2G,CAAA;IAC3G,kHAAwF,CAAA;AAC1F,CAAC,EAJW,sBAAsB,GAAtB,8BAAsB,KAAtB,8BAAsB,QAIjC;AAAA,CAAC"}
|
|
@@ -19,6 +19,7 @@ const Event = {
|
|
|
19
19
|
metrics: {},
|
|
20
20
|
webFlowEntity: {},
|
|
21
21
|
artists: {},
|
|
22
|
+
analytics: {},
|
|
22
23
|
}
|
|
23
24
|
};
|
|
24
25
|
Event.fragments = {
|
|
@@ -249,6 +250,28 @@ Event.fragments = {
|
|
|
249
250
|
}
|
|
250
251
|
}
|
|
251
252
|
`,
|
|
253
|
+
analytics: graphql_tag_1.default `
|
|
254
|
+
fragment Analytics on Event {
|
|
255
|
+
analytics {
|
|
256
|
+
label
|
|
257
|
+
type
|
|
258
|
+
interval
|
|
259
|
+
intervalOptions
|
|
260
|
+
coordinates {
|
|
261
|
+
x
|
|
262
|
+
y
|
|
263
|
+
}
|
|
264
|
+
segments {
|
|
265
|
+
label
|
|
266
|
+
type
|
|
267
|
+
coordinates {
|
|
268
|
+
x
|
|
269
|
+
y
|
|
270
|
+
}
|
|
271
|
+
}
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
`,
|
|
252
275
|
};
|
|
253
276
|
exports.default = Event;
|
|
254
277
|
// Event.fragments.event = gql`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.fragment.js","sourceRoot":"","sources":["../../../src/graphql/fragments/event.fragment.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;
|
|
1
|
+
{"version":3,"file":"event.fragment.js","sourceRoot":"","sources":["../../../src/graphql/fragments/event.fragment.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAuB9B,MAAM,KAAK,GAAkB;IAC3B,SAAS,EAAE;QACT,QAAQ,EAAE,EAAE;QACZ,QAAQ,EAAE,EAAE;QACZ,YAAY,EAAE,EAAE;QAChB,WAAW,EAAE,EAAE;QACf,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,EAAE;QACZ,UAAU,EAAE,EAAE;QACd,YAAY,EAAE,EAAE;QAChB,IAAI,EAAE,EAAE;QACR,QAAQ,EAAE,EAAE;QACZ,OAAO,EAAE,EAAE;QACX,aAAa,EAAE,EAAE;QACjB,OAAO,EAAE,EAAE;QACX,SAAS,EAAE,EAAE;KACd;CACF,CAAC;AAEF,KAAK,CAAC,SAAS,GAAG;IAChB,QAAQ,EAAE,qBAAG,CAAA;;;;;;;;;;GAUZ;IACD,QAAQ,EAAE,qBAAG,CAAA;;;;;;;;;;;;GAYZ;IACD,YAAY,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;GAmBhB;IACD,WAAW,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBf;IACD,KAAK,EAAE,qBAAG,CAAA;;;;;;;;;GAST;IACD,QAAQ,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;GAmBZ;IACD,UAAU,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;GAkBd;IACD,YAAY,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;GAehB;IACD,IAAI,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;GAqBR;IACD,OAAO,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBX;IACD,QAAQ,EAAE,qBAAG,CAAA;;;;;;;GAOZ;IACD,OAAO,EAAE,qBAAG,CAAA;;;;;;;;;;;GAWX;IACD,aAAa,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;GA2BjB;IACD,SAAS,EAAE,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;GAqBb;CACF,CAAC;AAEF,kBAAe,KAAK,CAAC;AAErB,+BAA+B;AAC/B,8BAA8B;AAC9B,UAAU;AACV,YAAY;AACZ,WAAW;AACX,WAAW;AACX,eAAe;AACf,kBAAkB;AAClB,qBAAqB;AACrB,cAAc;AACd,gBAAgB;AAChB,kBAAkB;AAClB,uBAAuB;AACvB,kBAAkB;AAClB,sBAAsB;AACtB,qBAAqB;AACrB,qBAAqB;AACrB,uBAAuB;AACvB,yBAAyB;AACzB,2BAA2B;AAC3B,wBAAwB;AACxB,cAAc;AACd,MAAM;AAEN,gCAAgC;AAChC,gCAAgC;AAChC,oCAAoC;AACpC,mCAAmC;AACnC,6BAA6B;AAC7B,gCAAgC;AAChC,kCAAkC;AAClC,oCAAoC;AACpC,gCAAgC;AAChC,4BAA4B;AAC5B,KAAK"}
|
|
@@ -47,6 +47,7 @@ const mutation = graphql_tag_1.default `
|
|
|
47
47
|
...Fees
|
|
48
48
|
...Artists
|
|
49
49
|
...WebFlowEntity
|
|
50
|
+
...Analytics
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -62,6 +63,7 @@ const mutation = graphql_tag_1.default `
|
|
|
62
63
|
${event_fragment_1.default.fragments.fees}
|
|
63
64
|
${event_fragment_1.default.fragments.artists}
|
|
64
65
|
${event_fragment_1.default.fragments.webFlowEntity}
|
|
66
|
+
${event_fragment_1.default.fragments.analytics}
|
|
65
67
|
`;
|
|
66
68
|
exports.default = mutation;
|
|
67
69
|
//# sourceMappingURL=createEvent.mutation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"createEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8ChB,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;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -57,6 +57,7 @@ const mutation = graphql_tag_1.default `
|
|
|
57
57
|
...Fees
|
|
58
58
|
...Artists
|
|
59
59
|
...WebFlowEntity
|
|
60
|
+
...Analytics
|
|
60
61
|
}
|
|
61
62
|
}
|
|
62
63
|
|
|
@@ -72,6 +73,7 @@ const mutation = graphql_tag_1.default `
|
|
|
72
73
|
${event_fragment_1.default.fragments.fees}
|
|
73
74
|
${event_fragment_1.default.fragments.artists}
|
|
74
75
|
${event_fragment_1.default.fragments.webFlowEntity}
|
|
76
|
+
${event_fragment_1.default.fragments.analytics}
|
|
75
77
|
`;
|
|
76
78
|
exports.default = mutation;
|
|
77
79
|
//# sourceMappingURL=publishEvent.mutation.js.map
|
|
@@ -1 +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
|
|
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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAwDhB,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;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
package/.dist/graphql/mutations/{registerStripeTerminalReader.js → resetPasswordInApp.mutation.js}
RENAMED
|
@@ -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
|
|
9
|
-
|
|
8
|
+
mutation resetUserPasswordInApp($oldPassword: String!, $newPassword: String!) {
|
|
9
|
+
resetUserPasswordInApp(oldPassword: $oldPassword, newPassword: $newPassword)
|
|
10
10
|
}
|
|
11
11
|
`;
|
|
12
12
|
exports.default = mutation;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=resetPasswordInApp.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -5,9 +5,11 @@ 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
|
|
9
|
-
|
|
8
|
+
mutation setUserOrgContextId($orgId: String) {
|
|
9
|
+
setUserOrgContextId(orgId: $orgId) {
|
|
10
|
+
token
|
|
11
|
+
}
|
|
10
12
|
}
|
|
11
13
|
`;
|
|
12
14
|
exports.default = mutation;
|
|
13
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=setUserOrgContextId.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -47,6 +47,7 @@ const mutation = graphql_tag_1.default `
|
|
|
47
47
|
...Fees
|
|
48
48
|
...Artists
|
|
49
49
|
...WebFlowEntity
|
|
50
|
+
...Analytics
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -62,6 +63,7 @@ const mutation = graphql_tag_1.default `
|
|
|
62
63
|
${event_fragment_1.default.fragments.fees}
|
|
63
64
|
${event_fragment_1.default.fragments.artists}
|
|
64
65
|
${event_fragment_1.default.fragments.webFlowEntity}
|
|
66
|
+
${event_fragment_1.default.fragments.analytics}
|
|
65
67
|
`;
|
|
66
68
|
exports.default = mutation;
|
|
67
69
|
//# sourceMappingURL=updateEvent.mutation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"updateEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"updateEvent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateEvent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8ChB,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;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
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
|
+
// This one is for the recent orders card on the customer overview page in backstage.
|
|
9
|
+
const query = graphql_tag_1.default `
|
|
10
|
+
query orders($query: OrderQueryInput, $pagination: PaginationInput) {
|
|
11
|
+
orders(query: $query, pagination: $pagination) {
|
|
12
|
+
event {
|
|
13
|
+
_id
|
|
14
|
+
name
|
|
15
|
+
subtitle
|
|
16
|
+
posterImageUrl
|
|
17
|
+
hasOrders
|
|
18
|
+
schedule {
|
|
19
|
+
startsAt
|
|
20
|
+
}
|
|
21
|
+
venue {
|
|
22
|
+
name
|
|
23
|
+
address {
|
|
24
|
+
state
|
|
25
|
+
city
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
published
|
|
29
|
+
...EventSchedule
|
|
30
|
+
...TicketTypes
|
|
31
|
+
...EventUpgrades
|
|
32
|
+
...WebFlowEntity
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
${event_fragment_1.default.fragments.schedule}
|
|
38
|
+
${event_fragment_1.default.fragments.ticketTypes}
|
|
39
|
+
${event_fragment_1.default.fragments.upgrades}
|
|
40
|
+
${event_fragment_1.default.fragments.webFlowEntity}
|
|
41
|
+
`;
|
|
42
|
+
exports.default = query;
|
|
43
|
+
//# sourceMappingURL=customerOrders.query.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"customerOrders.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/customerOrders.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,qFAAqF;AACrF,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA4Bb,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,WAAW;IAC3B,wBAAK,CAAC,SAAS,CAAC,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,aAAa;CAChC,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -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 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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -47,6 +47,7 @@ const query = graphql_tag_1.default `
|
|
|
47
47
|
...Fees
|
|
48
48
|
...Artists
|
|
49
49
|
...WebFlowEntity
|
|
50
|
+
...Analytics
|
|
50
51
|
}
|
|
51
52
|
}
|
|
52
53
|
|
|
@@ -62,6 +63,7 @@ const query = graphql_tag_1.default `
|
|
|
62
63
|
${event_fragment_1.default.fragments.fees}
|
|
63
64
|
${event_fragment_1.default.fragments.artists}
|
|
64
65
|
${event_fragment_1.default.fragments.webFlowEntity}
|
|
66
|
+
${event_fragment_1.default.fragments.analytics}
|
|
65
67
|
`;
|
|
66
68
|
exports.default = query;
|
|
67
69
|
//# sourceMappingURL=event.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"event.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/event.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"event.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/event.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8Cb,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;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -34,24 +34,6 @@ const query = graphql_tag_1.default `
|
|
|
34
34
|
city
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
analytics {
|
|
38
|
-
label
|
|
39
|
-
type
|
|
40
|
-
interval
|
|
41
|
-
intervalOptions
|
|
42
|
-
coordinates {
|
|
43
|
-
x
|
|
44
|
-
y
|
|
45
|
-
}
|
|
46
|
-
segments {
|
|
47
|
-
label
|
|
48
|
-
type
|
|
49
|
-
coordinates {
|
|
50
|
-
x
|
|
51
|
-
y
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
37
|
published
|
|
56
38
|
...EventSchedule
|
|
57
39
|
...Location
|
|
@@ -65,6 +47,7 @@ const query = graphql_tag_1.default `
|
|
|
65
47
|
...Fees
|
|
66
48
|
...Artists
|
|
67
49
|
...WebFlowEntity
|
|
50
|
+
...Analytics
|
|
68
51
|
}
|
|
69
52
|
}
|
|
70
53
|
|
|
@@ -80,6 +63,7 @@ const query = graphql_tag_1.default `
|
|
|
80
63
|
${event_fragment_1.default.fragments.fees}
|
|
81
64
|
${event_fragment_1.default.fragments.artists}
|
|
82
65
|
${event_fragment_1.default.fragments.webFlowEntity}
|
|
66
|
+
${event_fragment_1.default.fragments.analytics}
|
|
83
67
|
`;
|
|
84
68
|
exports.default = query;
|
|
85
69
|
//# sourceMappingURL=events.query.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"events.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/events.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"events.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/events.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8Cb,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;IAC7B,wBAAK,CAAC,SAAS,CAAC,SAAS;CAC5B,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1,49 @@
|
|
|
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
|
|
@@ -0,0 +1 @@
|
|
|
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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ISecondaryEmail.js","sourceRoot":"","sources":["../../src/interfaces/ISecondaryEmail.ts"],"names":[],"mappings":""}
|
|
@@ -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"}
|
|
@@ -3,16 +3,21 @@ import IEvent from "../interfaces/IEvent";
|
|
|
3
3
|
import IOrderCustomField from "../interfaces/IOrderCustomField";
|
|
4
4
|
import IEventUpgrade from "../interfaces/IEventUpgrade";
|
|
5
5
|
import ITicketType from "../interfaces/ITicketType";
|
|
6
|
+
import IEventPromotion from "../interfaces/IEventPromotion";
|
|
7
|
+
import { EventPromotionTypeEnum } from '../interfaces/IEventPromotion';
|
|
6
8
|
declare const _default: {
|
|
7
9
|
/****************************************************************************************
|
|
8
10
|
* Schedule
|
|
9
11
|
****************************************************************************************/
|
|
10
|
-
|
|
12
|
+
hasBeenAnnounced(event: any): boolean;
|
|
11
13
|
isAnnounced(event: any): boolean;
|
|
12
14
|
isOnSale(event: any): boolean;
|
|
13
15
|
isInProgress(event: any): boolean;
|
|
14
16
|
saleHasEnded(event: any): boolean;
|
|
17
|
+
isSoldOut(event: IEvent): boolean;
|
|
15
18
|
hasEnded(event: any): boolean;
|
|
19
|
+
isUnavailable(event: IEvent): boolean;
|
|
20
|
+
allTicketsAreLocked(event: IEvent): boolean;
|
|
16
21
|
/****************************************************************************************
|
|
17
22
|
* QR Code
|
|
18
23
|
****************************************************************************************/
|
|
@@ -52,6 +57,7 @@ declare const _default: {
|
|
|
52
57
|
****************************************************************************************/
|
|
53
58
|
upgrade(event: any, upgradeId: any): any;
|
|
54
59
|
activeUpgrades(event: IEvent): IEventUpgrade[];
|
|
60
|
+
activeNonComplimentaryUpgrades(event: IEvent): IEventUpgrade[];
|
|
55
61
|
remainingUpgradeQty(event: any, upgradeId?: string | null): number;
|
|
56
62
|
remainingQtyByUpgrades(event: any): object;
|
|
57
63
|
purchaseLimitByUpgrades(event: any): object;
|
|
@@ -60,7 +66,7 @@ declare const _default: {
|
|
|
60
66
|
* Promotions
|
|
61
67
|
****************************************************************************************/
|
|
62
68
|
promotion(event: any, promotionId: string): any;
|
|
63
|
-
|
|
69
|
+
activePromotions(event: IEvent, type?: EventPromotionTypeEnum | null): IEventPromotion[];
|
|
64
70
|
/****************************************************************************************
|
|
65
71
|
* Custom Fields
|
|
66
72
|
****************************************************************************************/
|