@sellout/models 0.0.64 → 0.0.66
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/OrderChannelEnum.d.ts +4 -0
- package/.dist/enums/OrderChannelEnum.js +10 -0
- package/.dist/enums/OrderChannelEnum.js.map +1 -0
- 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/createOrder.mutation.js +0 -3
- package/.dist/graphql/mutations/createOrder.mutation.js.map +1 -1
- package/.dist/graphql/mutations/createOrderPaymentIntent.mutation.js +16 -0
- package/.dist/graphql/mutations/createOrderPaymentIntent.mutation.js.map +1 -0
- package/.dist/graphql/mutations/createStripeSetupIntent.d.ts +2 -0
- package/.dist/graphql/mutations/createStripeSetupIntent.js +13 -0
- package/.dist/graphql/mutations/createStripeSetupIntent.js.map +1 -0
- 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/listStripeTerminalReaders.mutation.d.ts +2 -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/registerStripeTerminalReader.js +13 -0
- package/.dist/graphql/mutations/registerStripeTerminalReader.js.map +1 -0
- package/.dist/graphql/mutations/resetUserPassword.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/resetUserPassword.mutation.js +13 -0
- package/.dist/graphql/mutations/resetUserPassword.mutation.js.map +1 -0
- package/.dist/graphql/mutations/resetUserPasswordInApp.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/resetUserPasswordInApp.mutation.js +13 -0
- package/.dist/graphql/mutations/resetUserPasswordInApp.mutation.js.map +1 -0
- package/.dist/graphql/mutations/sendUserEmailVerification.mutation.js +15 -0
- package/.dist/graphql/mutations/sendUserEmailVerification.mutation.js.map +1 -0
- package/.dist/graphql/mutations/sendUserPhoneVerification.mutation.d.ts +2 -0
- package/.dist/graphql/mutations/{setUserOrgContextId.js → sendUserPhoneVerification.mutation.js} +4 -4
- package/.dist/graphql/mutations/sendUserPhoneVerification.mutation.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/updateOrganization.mutation.js +15 -0
- 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/verifyPhoneAuthentication.mutation.js +15 -0
- package/.dist/graphql/mutations/verifyPhoneAuthentication.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/verifyUserPhoneAuthentication.js +15 -0
- package/.dist/graphql/mutations/verifyUserPhoneAuthentication.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.query.js +12 -0
- package/.dist/graphql/queries/customerProfile.query.js.map +1 -1
- package/.dist/graphql/queries/metrics.query.d.ts +2 -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/ICreateOrderParams.d.ts +3 -1
- 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/IMetricData.d.ts +57 -0
- package/.dist/interfaces/IMetricData.js +70 -0
- package/.dist/interfaces/IMetricData.js.map +1 -0
- package/.dist/interfaces/IOrder.d.ts +2 -0
- package/.dist/interfaces/IOrder.js.map +1 -1
- package/.dist/interfaces/IOrderCustomField.d.ts +3 -2
- package/.dist/interfaces/IOrderCustomField.js.map +1 -1
- 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/schemas/Order.d.ts +4 -0
- package/.dist/schemas/Order.js +4 -0
- package/.dist/schemas/Order.js.map +1 -1
- package/.dist/sellout-proto.js +14186 -12066
- package/.dist/utils/EventUtil.d.ts +10 -3
- package/.dist/utils/EventUtil.js +37 -19
- package/.dist/utils/EventUtil.js.map +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/OrderUtil.d.ts +7 -0
- package/.dist/utils/OrderUtil.js +7 -0
- package/.dist/utils/OrderUtil.js.map +1 -1
- package/.dist/utils/PaymentUtil.js.map +1 -1
- 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/src/enums/CustomFieldTypeEnum.ts +6 -0
- package/src/enums/OrderChannelEnum.ts +4 -0
- package/src/graphql/mutations/createOrder.mutation.ts +0 -3
- package/src/graphql/mutations/createOrderPaymentIntent.mutation.ts +12 -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/ICreateOrderParams.ts +3 -1
- package/src/interfaces/IEventCustomField.ts +2 -7
- package/src/interfaces/IOrder.ts +2 -0
- package/src/interfaces/IOrderCustomField.ts +3 -2
- package/src/proto/email.proto +1 -1
- package/src/proto/event.proto +4 -4
- package/src/proto/order.proto +44 -12
- package/src/proto/stripe.proto +24 -0
- package/src/schemas/Order.ts +4 -0
- package/src/utils/EventUtil.ts +43 -25
- package/src/utils/OrderUtil.ts +11 -0
- package/src/utils/PaymentUtil.ts +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/{setUserOrgContextId.d.ts → createOrderPaymentIntent.mutation.d.ts} +0 -0
- /package/.dist/graphql/{queries/customerProfile.d.ts → mutations/sendUserEmailVerification.mutation.d.ts} +0 -0
- /package/.dist/graphql/{queries/organization.query.d.ts → mutations/verifyPhoneAuthentication.mutation.d.ts} +0 -0
- /package/.dist/graphql/{queries/organizations.d.ts → mutations/verifyUserPhoneAuthentication.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"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.OrderChannelEnum = void 0;
|
|
4
|
+
var OrderChannelEnum;
|
|
5
|
+
(function (OrderChannelEnum) {
|
|
6
|
+
OrderChannelEnum["Online"] = "Online";
|
|
7
|
+
OrderChannelEnum["BoxOffice"] = "BoxOffice";
|
|
8
|
+
})(OrderChannelEnum = exports.OrderChannelEnum || (exports.OrderChannelEnum = {}));
|
|
9
|
+
;
|
|
10
|
+
//# sourceMappingURL=OrderChannelEnum.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OrderChannelEnum.js","sourceRoot":"","sources":["../../src/enums/OrderChannelEnum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAGX;AAHD,WAAY,gBAAgB;IAC1B,qCAAiB,CAAA;IACjB,2CAAuB,CAAA;AACzB,CAAC,EAHW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAG3B;AAAA,CAAC"}
|
|
@@ -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"}
|
|
@@ -7,8 +7,6 @@ const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
|
7
7
|
const mutation = graphql_tag_1.default `
|
|
8
8
|
mutation createOrder($params: OrderInput!) {
|
|
9
9
|
createOrder(params: $params) {
|
|
10
|
-
clientSecret
|
|
11
|
-
order {
|
|
12
10
|
_id
|
|
13
11
|
userId
|
|
14
12
|
orgId
|
|
@@ -52,7 +50,6 @@ const mutation = graphql_tag_1.default `
|
|
|
52
50
|
scannedBy
|
|
53
51
|
}
|
|
54
52
|
}
|
|
55
|
-
}
|
|
56
53
|
}
|
|
57
54
|
}
|
|
58
55
|
`;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"createOrder.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createOrder.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA
|
|
1
|
+
{"version":3,"file":"createOrder.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createOrder.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgDnB,CAAC;AAEF,kBAAe,QAAQ,CAAC"}
|
|
@@ -0,0 +1,16 @@
|
|
|
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 createOrderPaymentIntent($params: OrderPaymentIntentInput!) {
|
|
9
|
+
createOrderPaymentIntent(params: $params) {
|
|
10
|
+
paymentIntentId
|
|
11
|
+
clientSecret
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
15
|
+
exports.default = mutation;
|
|
16
|
+
//# sourceMappingURL=createOrderPaymentIntent.mutation.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"createOrderPaymentIntent.mutation.js","sourceRoot":"","sources":["../../../src/graphql/mutations/createOrderPaymentIntent.mutation.ts"],"names":[],"mappings":";;;;;AAAA,8DAA8B;AAE9B,MAAM,QAAQ,GAAG,qBAAG,CAAA;;;;;;;CAOnB,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 createStripeSetupIntent {
|
|
9
|
+
createStripeSetupIntent
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
12
|
+
exports.default = mutation;
|
|
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"}
|
|
@@ -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"}
|
|
@@ -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"}
|
|
@@ -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=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,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 resetUserPassword($forgotPasswordCode: String!, $password: String!) {
|
|
9
|
+
resetUserPassword(forgotPasswordCode: $forgotPasswordCode password: $password)
|
|
10
|
+
}
|
|
11
|
+
`;
|
|
12
|
+
exports.default = mutation;
|
|
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"}
|
|
@@ -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 sendUserEmailVerification {
|
|
9
|
+
sendUserEmailVerification {
|
|
10
|
+
sent
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = query;
|
|
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/{setUserOrgContextId.js → sendUserPhoneVerification.mutation.js}
RENAMED
|
@@ -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 mutation = graphql_tag_1.default `
|
|
8
|
-
mutation
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
mutation sendUserPhoneVerification {
|
|
9
|
+
sendUserPhoneVerification {
|
|
10
|
+
sent
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
`;
|
|
14
14
|
exports.default = mutation;
|
|
15
|
-
//# 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"}
|
|
@@ -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"}
|
|
@@ -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 updateOrganization($organization: OrganizationInput!) {
|
|
9
|
+
updateOrganization(organization: $organization) {
|
|
10
|
+
_id
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
`;
|
|
14
|
+
exports.default = mutation;
|
|
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 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 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 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,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"}
|
|
@@ -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,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"}
|