@sellout/models 0.0.102 → 0.0.104
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/PaymentMethodEnum.d.ts +5 -0
- package/.dist/enums/PaymentMethodEnum.js +10 -0
- package/.dist/enums/PaymentMethodEnum.js.map +1 -0
- package/.dist/graphql/mutations/{setUserOrgContextId.js → createStripeSetupIntent.js} +3 -5
- package/.dist/graphql/mutations/createStripeSetupIntent.js.map +1 -0
- package/.dist/graphql/mutations/listStripeTerminalReaders.mutation.js +21 -0
- package/.dist/graphql/mutations/listStripeTerminalReaders.mutation.js.map +1 -0
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.d.ts +2 -0
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.js +21 -0
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.js.map +1 -0
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js +13 -0
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js.map +1 -0
- package/.dist/graphql/mutations/registerStripeTerminalReader.d.ts +2 -0
- package/.dist/graphql/mutations/{resetPasswordInApp.mutation.js → registerStripeTerminalReader.js} +3 -3
- package/.dist/graphql/mutations/registerStripeTerminalReader.js.map +1 -0
- package/.dist/graphql/mutations/verifyPhoneAuthentication.mutation.js +15 -0
- package/.dist/graphql/mutations/verifyPhoneAuthentication.mutation.js.map +1 -0
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.js +15 -0
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.js.map +1 -0
- package/.dist/graphql/queries/metrics.query.js +29 -0
- package/.dist/graphql/queries/metrics.query.js.map +1 -0
- package/.dist/graphql/queries/metricsData.query.d.ts +2 -0
- package/.dist/graphql/queries/metricsData.query.js +29 -0
- package/.dist/graphql/queries/metricsData.query.js.map +1 -0
- package/.dist/interfaces/IMetricData.d.ts +57 -0
- package/.dist/interfaces/IMetricData.js +70 -0
- package/.dist/interfaces/IMetricData.js.map +1 -0
- package/.dist/interfaces/IStripe.d.ts +9 -0
- package/.dist/interfaces/{ISecondaryEmail.js → IStripe.js} +1 -1
- package/.dist/interfaces/IStripe.js.map +1 -0
- package/.dist/interfaces/IStripeSource.d.ts +1 -1
- package/.dist/utils/MetricsUtil.d.ts +7 -0
- package/.dist/utils/MetricsUtil.js +29 -0
- package/.dist/utils/MetricsUtil.js.map +1 -0
- package/.dist/utils/fee-util-broken-but-why.d.ts +8 -0
- package/.dist/utils/fee-util-broken-but-why.js +38 -0
- package/.dist/utils/fee-util-broken-but-why.js.map +1 -0
- package/package.json +4 -4
- package/.dist/enums/DefaultPerformerImageUrls.d.ts +0 -5
- package/.dist/enums/DefaultPerformerImageUrls.js +0 -11
- package/.dist/enums/DefaultPerformerImageUrls.js.map +0 -1
- package/.dist/graphql/mutations/resetPasswordInApp.mutation.js.map +0 -1
- package/.dist/graphql/mutations/setUserOrgContextId.js.map +0 -1
- package/.dist/graphql/queries/customerProfile.js +0 -42
- package/.dist/graphql/queries/customerProfile.js.map +0 -1
- package/.dist/graphql/queries/organization.query.js +0 -49
- package/.dist/graphql/queries/organization.query.js.map +0 -1
- package/.dist/graphql/queries/organizations.js +0 -49
- package/.dist/graphql/queries/organizations.js.map +0 -1
- package/.dist/interfaces/ISecondaryEmail.d.ts +0 -4
- package/.dist/interfaces/ISecondaryEmail.js.map +0 -1
- package/.dist/schemas/SecondaryEmail.d.ts +0 -12
- package/.dist/schemas/SecondaryEmail.js +0 -14
- package/.dist/schemas/SecondaryEmail.js.map +0 -1
- /package/.dist/graphql/mutations/{resetPasswordInApp.mutation.d.ts → createStripeSetupIntent.d.ts} +0 -0
- /package/.dist/graphql/mutations/{setUserOrgContextId.d.ts → listStripeTerminalReaders.mutation.d.ts} +0 -0
- /package/.dist/graphql/{queries/customerProfile.d.ts → mutations/verifyPhoneAuthentication.mutation.d.ts} +0 -0
- /package/.dist/graphql/{queries/organization.query.d.ts → mutations/verifyUserPhoneAuthentication.d.ts} +0 -0
- /package/.dist/graphql/queries/{organizations.d.ts → metrics.query.d.ts} +0 -0
|
@@ -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
|
|
9
|
-
|
|
10
|
-
token
|
|
11
|
-
}
|
|
8
|
+
mutation createStripeSetupIntent {
|
|
9
|
+
createStripeSetupIntent
|
|
12
10
|
}
|
|
13
11
|
`;
|
|
14
12
|
exports.default = mutation;
|
|
15
|
-
//# sourceMappingURL=
|
|
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,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,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"}
|
package/.dist/graphql/mutations/{resetPasswordInApp.mutation.js → registerStripeTerminalReader.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 registerStripeTerminalReader(label: String, registrationCode: String) {
|
|
9
|
+
registerStripeTerminalReader(label: $label, registrationCode: $registrationCode)
|
|
10
10
|
}
|
|
11
11
|
`;
|
|
12
12
|
exports.default = mutation;
|
|
13
|
-
//# sourceMappingURL=
|
|
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,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,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 @@
|
|
|
1
|
+
{"version":3,"file":"IStripe.js","sourceRoot":"","sources":["../../src/interfaces/IStripe.ts"],"names":[],"mappings":""}
|
|
@@ -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,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.
|
|
3
|
+
"version": "0.0.104",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@hapi/joi": "^16.1.7",
|
|
20
|
-
"@sellout/service": "^0.0.
|
|
21
|
-
"@sellout/utils": "^0.0.
|
|
20
|
+
"@sellout/service": "^0.0.104",
|
|
21
|
+
"@sellout/utils": "^0.0.104",
|
|
22
22
|
"@types/hapi__joi": "^16.0.1",
|
|
23
23
|
"@types/shortid": "0.0.29",
|
|
24
24
|
"apollo-link-debounce": "^2.1.0",
|
|
@@ -32,5 +32,5 @@
|
|
|
32
32
|
"protobufjs": "~6.10.1",
|
|
33
33
|
"typescript": "^3.8.3"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "9408866a768d7f332dce7d2bfbc07b8057ff78f3"
|
|
36
36
|
}
|
|
@@ -1,5 +0,0 @@
|
|
|
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
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
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
|
|
@@ -1 +0,0 @@
|
|
|
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"}
|
|
@@ -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 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ISecondaryEmail.js","sourceRoot":"","sources":["../../src/interfaces/ISecondaryEmail.ts"],"names":[],"mappings":""}
|
|
@@ -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"}
|
/package/.dist/graphql/mutations/{resetPasswordInApp.mutation.d.ts → createStripeSetupIntent.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|