@sellout/models 0.0.65 → 0.0.67
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/CustomFieldTypeEnum.d.ts +6 -0
- package/.dist/enums/CustomFieldTypeEnum.js +11 -0
- package/.dist/enums/CustomFieldTypeEnum.js.map +1 -0
- package/.dist/enums/PaymentMethodTypeEnum.d.ts +2 -1
- package/.dist/enums/PaymentMethodTypeEnum.js +1 -0
- package/.dist/enums/PaymentMethodTypeEnum.js.map +1 -1
- package/.dist/graphql/mutations/deleteUnverifiedUser.mutation.d.ts +2 -2
- package/.dist/graphql/mutations/deleteUnverifiedUser.mutation.js +2 -2
- package/.dist/graphql/mutations/deleteUnverifiedUser.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/{registerStripeTermainlReader.mutation.js → resetUserPassword.mutation.js} +3 -3
- package/.dist/graphql/mutations/resetUserPassword.mutation.js.map +1 -0
- package/.dist/graphql/mutations/resetUserPasswordInApp.mutation.js +13 -0
- package/.dist/graphql/mutations/resetUserPasswordInApp.mutation.js.map +1 -0
- package/.dist/graphql/mutations/{verifyUserPhoneAuthentication.js → sendUserEmailVerification.mutation.js} +4 -4
- package/.dist/graphql/mutations/sendUserEmailVerification.mutation.js.map +1 -0
- package/.dist/graphql/mutations/{createStripeSetupIntent.js → sendUserPhoneVerification.mutation.js} +5 -3
- package/.dist/graphql/mutations/sendUserPhoneVerification.mutation.js.map +1 -0
- package/.dist/graphql/mutations/{listStripeTerminalReaders.query.js → setUserOrgContextId.js} +4 -10
- package/.dist/graphql/mutations/setUserOrgContextId.js.map +1 -0
- package/.dist/graphql/mutations/updateBasicUserInfo.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateBasicUserInfo.mutation.js +15 -0
- package/.dist/graphql/mutations/updateBasicUserInfo.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateOrganization.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/{listStripeTerminalReaders.mutation.js → updateOrganization.mutation.js} +4 -10
- package/.dist/graphql/mutations/updateOrganization.mutation.js.map +1 -0
- package/.dist/graphql/mutations/updateUserPhoneNumber.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/updateUserPhoneNumber.mutation.js +27 -0
- package/.dist/graphql/mutations/updateUserPhoneNumber.mutation.js.map +1 -0
- package/.dist/graphql/mutations/verifyUserEmail.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/verifyUserEmail.mutation.js +15 -0
- package/.dist/graphql/mutations/verifyUserEmail.mutation.js.map +1 -0
- package/.dist/graphql/mutations/verifyUserPhoneNumber.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/verifyUserPhoneNumber.mutation.js +15 -0
- package/.dist/graphql/mutations/verifyUserPhoneNumber.mutation.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/customerProfile.query.js +12 -0
- package/.dist/graphql/queries/customerProfile.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/IEventCustomField.d.ts +2 -7
- package/.dist/interfaces/IEventCustomField.js +0 -8
- package/.dist/interfaces/IEventCustomField.js.map +1 -1
- package/.dist/interfaces/IOrderCustomField.d.ts +3 -2
- package/.dist/interfaces/IOrderCustomField.js.map +1 -1
- 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/sellout-proto.js +15 -15
- package/.dist/utils/AnalyticsUtil.js +1 -1
- package/.dist/utils/EventUtil.d.ts +10 -3
- package/.dist/utils/EventUtil.js +38 -20
- package/.dist/utils/EventUtil.js.map +1 -1
- package/.dist/utils/OrderUtil.d.ts +7 -0
- package/.dist/utils/OrderUtil.js +7 -0
- package/.dist/utils/OrderUtil.js.map +1 -1
- package/.dist/utils/TierUtil.js +1 -1
- package/package.json +4 -4
- package/src/enums/CustomFieldTypeEnum.ts +6 -0
- package/src/enums/PaymentMethodTypeEnum.ts +1 -0
- package/src/graphql/mutations/deleteUnverifiedUser.mutation.ts +2 -2
- package/src/graphql/mutations/resetUserPassword.mutation.ts +9 -0
- package/src/graphql/mutations/resetUserPasswordInApp.mutation.ts +9 -0
- package/src/graphql/mutations/sendUserPhoneVerification.mutation.ts +11 -0
- package/src/graphql/mutations/updateBasicUserInfo.mutation.ts +11 -0
- package/src/graphql/mutations/updateOrganization.mutation.ts +11 -0
- package/src/graphql/mutations/updateUserPhoneNumber.mutation.ts +23 -0
- package/src/graphql/mutations/verifyUserEmail.mutation.ts +11 -0
- package/src/graphql/mutations/verifyUserPhoneNumber.mutation.ts +11 -0
- package/src/graphql/queries/customerProfile.query.ts +12 -0
- package/src/interfaces/IEventCustomField.ts +2 -7
- package/src/interfaces/IOrderCustomField.ts +3 -2
- package/src/proto/email.proto +1 -1
- package/src/proto/event.proto +4 -4
- package/src/utils/EventUtil.ts +43 -25
- package/src/utils/OrderUtil.ts +11 -0
- 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.map +0 -1
- package/.dist/graphql/mutations/listStripeTerminalReaders.query.js.map +0 -1
- package/.dist/graphql/mutations/registerStripeTermainlReader.mutation.js.map +0 -1
- 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.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 → resetUserPassword.mutation.d.ts} +0 -0
- /package/.dist/graphql/mutations/{listStripeTerminalReaders.query.d.ts → resetUserPasswordInApp.mutation.d.ts} +0 -0
- /package/.dist/graphql/mutations/{verifyPhoneAuthentication.mutation.d.ts → sendUserEmailVerification.mutation.d.ts} +0 -0
- /package/.dist/graphql/mutations/{registerStripeTermainlReader.mutation.d.ts → sendUserPhoneVerification.mutation.d.ts} +0 -0
- /package/.dist/graphql/mutations/{registerStripeTerminalReader.d.ts → setUserOrgContextId.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
- /package/src/graphql/mutations/{sendUserEmailVerification.ts → sendUserEmailVerification.mutation.ts} +0 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CustomFieldTypeEnum = void 0;
|
|
4
|
+
var CustomFieldTypeEnum;
|
|
5
|
+
(function (CustomFieldTypeEnum) {
|
|
6
|
+
CustomFieldTypeEnum["Text"] = "Text";
|
|
7
|
+
CustomFieldTypeEnum["Number"] = "Number";
|
|
8
|
+
CustomFieldTypeEnum["Address"] = "Address";
|
|
9
|
+
CustomFieldTypeEnum["Dropdown"] = "Dropdown";
|
|
10
|
+
})(CustomFieldTypeEnum = exports.CustomFieldTypeEnum || (exports.CustomFieldTypeEnum = {}));
|
|
11
|
+
//# sourceMappingURL=CustomFieldTypeEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CustomFieldTypeEnum.js","sourceRoot":"","sources":["../../src/enums/CustomFieldTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAKX;AALD,WAAY,mBAAmB;IAC7B,oCAAa,CAAA;IACb,wCAAiB,CAAA;IACjB,0CAAmB,CAAA;IACnB,4CAAqB,CAAA;AACvB,CAAC,EALW,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAK9B"}
|
|
@@ -6,5 +6,6 @@ var PaymentMethodTypeEnum;
|
|
|
6
6
|
PaymentMethodTypeEnum["CardEntry"] = "Card Entry";
|
|
7
7
|
PaymentMethodTypeEnum["CardReader"] = "Card Reader";
|
|
8
8
|
PaymentMethodTypeEnum["Cash"] = "Cash";
|
|
9
|
+
PaymentMethodTypeEnum["None"] = "None";
|
|
9
10
|
})(PaymentMethodTypeEnum = exports.PaymentMethodTypeEnum || (exports.PaymentMethodTypeEnum = {}));
|
|
10
11
|
//# sourceMappingURL=PaymentMethodTypeEnum.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentMethodTypeEnum.js","sourceRoot":"","sources":["../../src/enums/PaymentMethodTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,
|
|
1
|
+
{"version":3,"file":"PaymentMethodTypeEnum.js","sourceRoot":"","sources":["../../src/enums/PaymentMethodTypeEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qBAKX;AALD,WAAY,qBAAqB;IAC/B,iDAAwB,CAAA;IACxB,mDAA0B,CAAA;IAC1B,sCAAa,CAAA;IACb,sCAAa,CAAA;AACf,CAAC,EALW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKhC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
declare const
|
|
2
|
-
export default
|
|
1
|
+
declare const mutation: import("graphql").DocumentNode;
|
|
2
|
+
export default mutation;
|
|
@@ -5,10 +5,10 @@ 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
|
// need to update this mutation to delete userProfiles
|
|
8
|
-
const
|
|
8
|
+
const mutation = graphql_tag_1.default `
|
|
9
9
|
mutation deleteUnverifiedUser($userId: String, $email: String, $phoneNumber: String) {
|
|
10
10
|
deleteUnverifiedUser(userId: $userId, email: $email, phoneNumber: $phoneNumber)
|
|
11
11
|
}
|
|
12
12
|
`;
|
|
13
|
-
exports.default =
|
|
13
|
+
exports.default = mutation;
|
|
14
14
|
//# sourceMappingURL=deleteUnverifiedUser.mutation.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"deleteUnverifiedUser.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/deleteUnverifiedUser.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,sDAAsD;AACtD,MAAM,
|
|
1
|
+
{"version":3,"file":"deleteUnverifiedUser.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/deleteUnverifiedUser.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,sDAAsD;AACtD,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,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,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 resetUserPassword($forgotPasswordCode: String!, $password: String!) {
|
|
9
|
+
resetUserPassword(forgotPasswordCode: $forgotPasswordCode password: $password)
|
|
10
10
|
}
|
|
11
11
|
`;
|
|
12
12
|
exports.default = mutation;
|
|
13
|
-
//# sourceMappingURL=
|
|
13
|
+
//# sourceMappingURL=resetUserPassword.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetUserPassword.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/resetUserPassword.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAA"}
|
|
@@ -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 resetUserPasswordInApp($oldPassword: String!, $newPassword: String!) {
|
|
9
|
+
resetUserPasswordInApp(oldPassword: $oldPassword, newPassword: $newPassword)
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
12
|
+
exports.default = mutation;
|
|
13
|
+
//# sourceMappingURL=resetUserPasswordInApp.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resetUserPasswordInApp.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/resetUserPasswordInApp.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;CAInB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -5,11 +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 query = graphql_tag_1.default `
|
|
8
|
-
mutation
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
mutation sendUserEmailVerification {
|
|
9
|
+
sendUserEmailVerification {
|
|
10
|
+
sent
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
`;
|
|
14
14
|
exports.default = query;
|
|
15
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=sendUserEmailVerification.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendUserEmailVerification.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/sendUserEmailVerification.mutation.ts"],"names":[],"mappings":";;;;;AACA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;CAMhB,CAAC;AAEF,kBAAe,KAAK,CAAC"}
|
package/.dist/graphql/mutations/{createStripeSetupIntent.js → sendUserPhoneVerification.mutation.js}
RENAMED
|
@@ -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 sendUserPhoneVerification {
|
|
9
|
+
sendUserPhoneVerification {
|
|
10
|
+
sent
|
|
11
|
+
}
|
|
10
12
|
}
|
|
11
13
|
`;
|
|
12
14
|
exports.default = mutation;
|
|
13
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=sendUserPhoneVerification.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sendUserPhoneVerification.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/sendUserPhoneVerification.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;CAMnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
package/.dist/graphql/mutations/{listStripeTerminalReaders.query.js → setUserOrgContextId.js}
RENAMED
|
@@ -5,17 +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
|
-
|
|
10
|
-
|
|
11
|
-
label
|
|
12
|
-
type
|
|
13
|
-
location
|
|
14
|
-
serialNumber
|
|
15
|
-
status
|
|
16
|
-
ipAddress
|
|
8
|
+
mutation setUserOrgContextId($orgId: String) {
|
|
9
|
+
setUserOrgContextId(orgId: $orgId) {
|
|
10
|
+
token
|
|
17
11
|
}
|
|
18
12
|
}
|
|
19
13
|
`;
|
|
20
14
|
exports.default = mutation;
|
|
21
|
-
//# 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"}
|
|
@@ -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 mutation = graphql_tag_1.default `
|
|
8
|
+
mutation updateBasicUserInfo ($firstName: String, $lastName: String, $imageUrl: String) {
|
|
9
|
+
updateBasicUserInfo (firstName: $firstName, lastName: $lastName, imageUrl: $imageUrl) {
|
|
10
|
+
_id
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = mutation;
|
|
15
|
+
//# sourceMappingURL=updateBasicUserInfo.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateBasicUserInfo.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateBasicUserInfo.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAI,qBAAG,CAAA;;;;;;CAMpB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -5,17 +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
|
-
|
|
10
|
-
|
|
11
|
-
label
|
|
12
|
-
type
|
|
13
|
-
location
|
|
14
|
-
serialNumber
|
|
15
|
-
status
|
|
16
|
-
ipAddress
|
|
8
|
+
mutation updateOrganization($organization: OrganizationInput!) {
|
|
9
|
+
updateOrganization(organization: $organization) {
|
|
10
|
+
_id
|
|
17
11
|
}
|
|
18
12
|
}
|
|
19
13
|
`;
|
|
20
14
|
exports.default = mutation;
|
|
21
|
-
//# sourceMappingURL=
|
|
15
|
+
//# sourceMappingURL=updateOrganization.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateOrganization.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateOrganization.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;CAMnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,27 @@
|
|
|
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 updateUserPhoneNumber ($newPhoneNumber: String!) {
|
|
9
|
+
updateUserPhoneNumber (newPhoneNumber: $newPhoneNumber) {
|
|
10
|
+
_id
|
|
11
|
+
firstName
|
|
12
|
+
lastName
|
|
13
|
+
email
|
|
14
|
+
emailVerifiedAt
|
|
15
|
+
phoneNumber
|
|
16
|
+
phoneNumberVerifiedAt
|
|
17
|
+
orgContextId
|
|
18
|
+
phoneNumberWaitingForVerify
|
|
19
|
+
emailWaitingForVerify
|
|
20
|
+
userProfile {
|
|
21
|
+
imageUrl
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
`;
|
|
26
|
+
exports.default = mutation;
|
|
27
|
+
//# sourceMappingURL=updateUserPhoneNumber.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateUserPhoneNumber.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/updateUserPhoneNumber.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;CAkBnB,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 mutation = graphql_tag_1.default `
|
|
8
|
+
mutation verifyUserEmail($emailVerificationToken: String!) {
|
|
9
|
+
verifyUserEmail(emailVerificationToken: $emailVerificationToken) {
|
|
10
|
+
emailVerified
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = mutation;
|
|
15
|
+
//# sourceMappingURL=verifyUserEmail.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyUserEmail.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyUserEmail.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;CAMnB,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 mutation = graphql_tag_1.default `
|
|
8
|
+
mutation verifyUserPhoneNumber($phoneVerificationToken: String!) {
|
|
9
|
+
verifyUserPhoneNumber(phoneVerificationToken: $phoneVerificationToken) {
|
|
10
|
+
phoneVerified
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = mutation;
|
|
15
|
+
//# sourceMappingURL=verifyUserPhoneNumber.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"verifyUserPhoneNumber.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/verifyUserPhoneNumber.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;CAMnB,CAAC;AAEF,kBAAe,QAAQ,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"customerProfile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/customerProfile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"customerProfile.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/customerProfile.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA4BhB,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"}
|
|
@@ -1,13 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
Text = "Text",
|
|
3
|
-
Number = "Number",
|
|
4
|
-
Address = "Address",
|
|
5
|
-
Dropdown = "Dropdown"
|
|
6
|
-
}
|
|
1
|
+
import { CustomFieldTypeEnum } from '../enums/CustomFieldTypeEnum';
|
|
7
2
|
export default interface IEventCustomField {
|
|
8
3
|
_id?: string;
|
|
9
4
|
label?: string;
|
|
10
|
-
type:
|
|
5
|
+
type: CustomFieldTypeEnum;
|
|
11
6
|
minLength: number;
|
|
12
7
|
maxLength: number;
|
|
13
8
|
maxValue: number;
|
|
@@ -1,11 +1,3 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.EventCustomFieldTypeEnum = void 0;
|
|
4
|
-
var EventCustomFieldTypeEnum;
|
|
5
|
-
(function (EventCustomFieldTypeEnum) {
|
|
6
|
-
EventCustomFieldTypeEnum["Text"] = "Text";
|
|
7
|
-
EventCustomFieldTypeEnum["Number"] = "Number";
|
|
8
|
-
EventCustomFieldTypeEnum["Address"] = "Address";
|
|
9
|
-
EventCustomFieldTypeEnum["Dropdown"] = "Dropdown";
|
|
10
|
-
})(EventCustomFieldTypeEnum = exports.EventCustomFieldTypeEnum || (exports.EventCustomFieldTypeEnum = {}));
|
|
11
3
|
//# sourceMappingURL=IEventCustomField.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IEventCustomField.js","sourceRoot":"","sources":["../../src/interfaces/IEventCustomField.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"IEventCustomField.js","sourceRoot":"","sources":["../../src/interfaces/IEventCustomField.ts"],"names":[],"mappings":""}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { CustomFieldTypeEnum } from '../enums/CustomFieldTypeEnum';
|
|
1
2
|
export default interface IOrderCustomField {
|
|
2
3
|
_id?: string;
|
|
3
4
|
label: string;
|
|
4
|
-
value: string;
|
|
5
|
+
value: string | number;
|
|
5
6
|
customFieldId: string;
|
|
6
|
-
type:
|
|
7
|
+
type: CustomFieldTypeEnum;
|
|
7
8
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOrderCustomField.js","sourceRoot":"","sources":["../../src/interfaces/IOrderCustomField.ts"],"names":[],"mappings":";;
|
|
1
|
+
{"version":3,"file":"IOrderCustomField.js","sourceRoot":"","sources":["../../src/interfaces/IOrderCustomField.ts"],"names":[],"mappings":";;AAOC,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"}
|