@sellout/models 0.0.72 → 0.0.74
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/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/queries/customerProfile.js +42 -0
- package/.dist/graphql/queries/customerProfile.js.map +1 -0
- 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/graphql/queries/publicEvent.query.js +2 -0
- package/.dist/graphql/queries/publicEvent.query.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 +561 -0
- package/package.json +4 -4
- package/src/graphql/queries/publicEvent.query.ts +2 -0
- package/src/proto/role.proto +20 -4
- 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.d.ts +0 -2
- 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/customerProfile.d.ts} +0 -0
- /package/.dist/graphql/{mutations/verifyUserPhoneAuthentication.d.ts → queries/organization.query.d.ts} +0 -0
- /package/.dist/graphql/queries/{metrics.query.d.ts → organizations.d.ts} +0 -0
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"}
|
|
@@ -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"}
|
|
@@ -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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"publicEvent.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/publicEvent.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"publicEvent.query.js","sourceRoot":"","sources":["../../../src/graphql/queries/publicEvent.query.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAC9B,iFAAgD;AAEhD,MAAM,KAAK,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA2Cb,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,QAAQ;IACxB,wBAAK,CAAC,SAAS,CAAC,UAAU;IAC1B,wBAAK,CAAC,SAAS,CAAC,YAAY;IAC5B,wBAAK,CAAC,SAAS,CAAC,IAAI;CACvB,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"}
|