@sellout/models 0.0.64 → 0.0.65
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/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/{setUserOrgContextId.js → createStripeSetupIntent.js} +3 -5
- package/.dist/graphql/mutations/createStripeSetupIntent.js.map +1 -0
- 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/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/ICreateOrderParams.d.ts +3 -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/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 +14171 -12051
- 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/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/OrderChannelEnum.ts +4 -0
- package/src/graphql/mutations/createOrder.mutation.ts +0 -3
- package/src/graphql/mutations/createOrderPaymentIntent.mutation.ts +12 -0
- package/src/interfaces/ICreateOrderParams.ts +3 -1
- package/src/interfaces/IOrder.ts +2 -0
- package/src/proto/order.proto +44 -12
- package/src/proto/stripe.proto +24 -0
- package/src/schemas/Order.ts +4 -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/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,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,CA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IACnF,+EAA+E;IAC/E,0BAA0B;IAC1B,mDAAmD;IACnD,qBAAqB;IACrB,OAAO;IACP,kBAAkB;IAClB,0CAA0C;IAC1C,iBAAiB;IACjB,kBAAkB;IAClB,6CAA6C;IAC7C,UAAU;IACV,QAAQ;IACR,uBAAuB;IACvB,QAAQ;IAER,sGAAsG;IACtG,4BAA4B;IAC5B,wFAAwF;IACxF,sBAAsB;IACtB,QAAQ;IAER,iDAAiD;IACjD,wDAAwD;IAExD,gDAAgD;IAC1C,oBAAoB;IAC1B,6CAA6C;IAC7C,oCAAoC;IACpC,kDAAkD;IAClD,gDAAgD;IAChD,UAAU;IACV,QAAQ;IAGR,gDAAgD;IAChD,iDAAiD;IACjD,WAAW;IAEX,6CAA6C;IAC7C,qCAAqC;IACrC,WAAW;IAEX,oBAAoB;IACpB,MAAM;IAEN,8EAA8E;IAC9E,gDAAgD;IAEhD,qDAAqD;IAErD,4CAA4C;IAC5C,wDAAwD;IACxD,qBAAqB;IACrB,wBAAwB;IAExB,MAAM;IAEN,4FAA4F;IAC5F,8DAA8D;IAC1D,wCAAwC;IAC5C,eAAe;IACf,mBAAmB;IACnB,eAAe;IACf,QAAQ;IACR,QAAQ;IAIR,oGAAoG;IACpG,kBAAkB;IAClB,uBAAuB;IACvB,kDAAkD;IAClD,WAAW;IACX,WAAW;IAEX,aAAa;IACb,eAAe;IACf,gBAAgB;IAChB,OAAO;IACP,KAAK;IACL,cAAc,CAAC,MAAgC;
|
|
1
|
+
{"version":3,"file":"PaymentUtil.js","sourceRoot":"","sources":["../../src/utils/PaymentUtil.ts"],"names":[],"mappings":";;AACA,6CAAyF;AACzF,0EAAuE;AAUvE,0BAA0B;AAC1B,yCAAyC;AACzC,2CAA2C;AAC3C,IAAI;AAEJ,kBAAe;IACb,qCAAqC;IACrC,4EAA4E;IAE5E,UAAU;IACV,qBAAqB;IACrB,qBAAqB;IACrB,iBAAiB;IACjB,yBAAyB;IACzB,gBAAgB;IAGhB,mBAAmB;IACnB,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AC,GAAG,EAAE,OAAO,EAAE,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;QAE/E,MAAM,eAAe,GAAG,QAAQ,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;YACvD,OAAO,GAAG,GAAG,WAAW,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE,CAAC,GAAG,GAAG,eAAe,CAAC,OAAO,EAAE,GAAG,CAAC,EAAE,CAAC,CAAC,CAAC;QACxF,CAAC,EAAE,CAAC,CAAC,CAAC;QAEN,MAAM,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,WAAW,GAAG,cAAc,GAAG,YAAY,GAAG,eAAe,CAAC,CAAC;QAEhG,iDAAiD;QAEjD,MAAM,UAAU,GAAG,SAAS,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;YAC/C,OAAO,aAAa,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;QACjC,CAAC,EAAE,aAAa,CAAC,CAAC;QAElB,0CAA0C;QAE1C,OAAO,UAAU,CAAC;IACpB,CAAC;CACF,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.65",
|
|
4
4
|
"description": "Sellout.io models",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"scripts": {
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
"author": "samheutmaker@gmail.com",
|
|
17
17
|
"license": "MIT",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"@sellout/service": "^0.0.
|
|
20
|
-
"@sellout/utils": "^0.0.
|
|
19
|
+
"@sellout/service": "^0.0.65",
|
|
20
|
+
"@sellout/utils": "^0.0.65",
|
|
21
21
|
"@types/shortid": "0.0.29",
|
|
22
22
|
"apollo-link-debounce": "^2.1.0",
|
|
23
23
|
"graphql": "^14.6.0",
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"protobufjs": "~6.10.1",
|
|
31
31
|
"typescript": "^3.8.3"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "3583bb33aa76ed973c7253a31eeb39d3f1206f36"
|
|
34
34
|
}
|
|
@@ -3,8 +3,6 @@ import gql from 'graphql-tag';
|
|
|
3
3
|
const mutation = gql`
|
|
4
4
|
mutation createOrder($params: OrderInput!) {
|
|
5
5
|
createOrder(params: $params) {
|
|
6
|
-
clientSecret
|
|
7
|
-
order {
|
|
8
6
|
_id
|
|
9
7
|
userId
|
|
10
8
|
orgId
|
|
@@ -48,7 +46,6 @@ const mutation = gql`
|
|
|
48
46
|
scannedBy
|
|
49
47
|
}
|
|
50
48
|
}
|
|
51
|
-
}
|
|
52
49
|
}
|
|
53
50
|
}
|
|
54
51
|
`;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import IOrderCustomField from "../interfaces/IOrderCustomField";
|
|
2
2
|
import { OrderTypeEnum } from "../interfaces/IOrderType";
|
|
3
|
+
import { OrderChannelEnum } from '../enums/OrderChannelEnum';
|
|
3
4
|
import { PaymentMethodTypeEnum } from '../enums/PaymentMethodTypeEnum';
|
|
4
5
|
|
|
5
6
|
export default interface ICreateOrderParams {
|
|
@@ -9,10 +10,11 @@ export default interface ICreateOrderParams {
|
|
|
9
10
|
tickets: ICreateOrderTicketParams[];
|
|
10
11
|
upgrades: ICreateOrderUpgradeParams[];
|
|
11
12
|
type: OrderTypeEnum;
|
|
13
|
+
channel: OrderChannelEnum;
|
|
12
14
|
promotionCode: string;
|
|
13
15
|
customFields: IOrderCustomField[];
|
|
14
16
|
paymentMethodType: PaymentMethodTypeEnum;
|
|
15
|
-
|
|
17
|
+
paymentIntentId: string;
|
|
16
18
|
holdToken?: string;
|
|
17
19
|
}
|
|
18
20
|
|
package/src/interfaces/IOrder.ts
CHANGED
|
@@ -5,6 +5,7 @@ import IOrderUpgrade from './IOrderUpgrade';
|
|
|
5
5
|
import IOrderCustomField from './IOrderCustomField'
|
|
6
6
|
import { OrderStateEnum } from './IOrderState';
|
|
7
7
|
import { OrderTypeEnum } from './IOrderType';
|
|
8
|
+
import { OrderChannelEnum } from '../enums/OrderChannelEnum';
|
|
8
9
|
|
|
9
10
|
export default interface IOrder {
|
|
10
11
|
_id?: string;
|
|
@@ -24,6 +25,7 @@ export default interface IOrder {
|
|
|
24
25
|
state?: OrderStateEnum,
|
|
25
26
|
refundedAmount?: number; // BACKFILL
|
|
26
27
|
type?: OrderTypeEnum;
|
|
28
|
+
channel: OrderChannelEnum,
|
|
27
29
|
createdAt?: number;
|
|
28
30
|
createdBy?: string;
|
|
29
31
|
promotionCode?: string;
|
package/src/proto/order.proto
CHANGED
|
@@ -25,13 +25,14 @@ message Order {
|
|
|
25
25
|
string state = 14;
|
|
26
26
|
int32 refundedAmount = 15;
|
|
27
27
|
string type = 16;
|
|
28
|
-
string
|
|
29
|
-
string
|
|
30
|
-
string
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
28
|
+
string channel = 17;
|
|
29
|
+
string createdBy = 18;
|
|
30
|
+
string promotionCode = 19;
|
|
31
|
+
string ipAddress = 20;
|
|
32
|
+
Address address = 21;
|
|
33
|
+
repeated OrderCustomField customFields = 22;
|
|
34
|
+
string refundReason = 23;
|
|
35
|
+
repeated Payment payments = 24;
|
|
35
36
|
}
|
|
36
37
|
|
|
37
38
|
message OrderTicket {
|
|
@@ -107,11 +108,13 @@ message CreateOrderParams {
|
|
|
107
108
|
repeated CreateOrderTicketParams tickets = 3;
|
|
108
109
|
repeated CreateOrderUpgradeParams upgrades = 4;
|
|
109
110
|
string type = 5;
|
|
110
|
-
string
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
string
|
|
114
|
-
string
|
|
111
|
+
string channel = 6;
|
|
112
|
+
string promotionCode = 7;
|
|
113
|
+
repeated OrderCustomField customFields = 8;
|
|
114
|
+
string paymentMethodType = 9;
|
|
115
|
+
string paymentIntentId = 10;
|
|
116
|
+
string holdToken = 11;
|
|
117
|
+
string ipAddress = 12;
|
|
115
118
|
}
|
|
116
119
|
|
|
117
120
|
message CreateOrderTicketParams {
|
|
@@ -139,6 +142,34 @@ message CreateOrderResponse {
|
|
|
139
142
|
StatusCode status = 1;
|
|
140
143
|
repeated Error errors = 2;
|
|
141
144
|
Order order = 3;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
/****************************************************************************************
|
|
148
|
+
Create Order Payment Intent
|
|
149
|
+
****************************************************************************************/
|
|
150
|
+
|
|
151
|
+
message CreateOrderPaymentIntentParams {
|
|
152
|
+
string userId = 0;
|
|
153
|
+
string orgId = 1;
|
|
154
|
+
string eventId = 2;
|
|
155
|
+
repeated CreateOrderTicketParams tickets = 3;
|
|
156
|
+
repeated CreateOrderUpgradeParams upgrades = 4;
|
|
157
|
+
string promotionCode = 5;
|
|
158
|
+
string paymentMethodType = 6;
|
|
159
|
+
string paymentMethodId = 7;
|
|
160
|
+
string stalePaymentIntentId = 8;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
message CreateOrderPaymentIntentRequest {
|
|
164
|
+
string spanContext = 0;
|
|
165
|
+
string requestorId = 1;
|
|
166
|
+
CreateOrderPaymentIntentParams params = 2;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
message CreateOrderPaymentIntentResponse {
|
|
170
|
+
StatusCode status = 1;
|
|
171
|
+
repeated Error errors = 2;
|
|
172
|
+
string paymentIntentId = 3;
|
|
142
173
|
string clientSecret = 4;
|
|
143
174
|
}
|
|
144
175
|
|
|
@@ -345,6 +376,7 @@ message BreakApartOrderResponse {
|
|
|
345
376
|
service OrderService {
|
|
346
377
|
// Create
|
|
347
378
|
rpc createOrder(CreateOrderRequest) returns (CreateOrderResponse) {}
|
|
379
|
+
rpc createOrderPaymentIntent(CreateOrderPaymentIntentRequest) returns (CreateOrderPaymentIntentResponse) {}
|
|
348
380
|
// QR Code
|
|
349
381
|
rpc sendOrderQRCodeEmail(SendOrderQRCodeEmailRequest) returns (SendOrderQRCodeEmailResponse) {}
|
|
350
382
|
rpc sendOrderReceiptEmail(SendOrderReceiptEmailRequest) returns (SendOrderReceiptEmailResponse) {}
|
package/src/proto/stripe.proto
CHANGED
|
@@ -230,6 +230,28 @@ message CreateStripePaymentIntentResponse {
|
|
|
230
230
|
string clientSecret = 3;
|
|
231
231
|
}
|
|
232
232
|
|
|
233
|
+
message CaptureStripePaymentIntentRequest {
|
|
234
|
+
string spanContext = 0;
|
|
235
|
+
string orgId = 1;
|
|
236
|
+
string paymentIntentId = 2;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
message CaptureStripePaymentIntentResponse {
|
|
240
|
+
StatusCode status = 0;
|
|
241
|
+
repeated Error errors = 1;
|
|
242
|
+
bool success = 2;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
message CancelStripePaymentIntentRequest {
|
|
246
|
+
string spanContext = 0;
|
|
247
|
+
string paymentIntentId = 1;
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
message CancelStripePaymentIntentResponse {
|
|
251
|
+
StatusCode status = 0;
|
|
252
|
+
repeated Error errors = 1;
|
|
253
|
+
}
|
|
254
|
+
|
|
233
255
|
/***************************************************************************************
|
|
234
256
|
Terminal
|
|
235
257
|
****************************************************************************************/
|
|
@@ -315,6 +337,8 @@ service StripeService {
|
|
|
315
337
|
rpc deleteStripeSource(DeleteStripeSourceRequest) returns (DeleteStripeSourceResponse) {}
|
|
316
338
|
// Payment Intent
|
|
317
339
|
rpc createStripePaymentIntent(CreateStripePaymentIntentRequest) returns (CreateStripePaymentIntentResponse) {}
|
|
340
|
+
rpc captureStripePaymentIntent(CaptureStripePaymentIntentRequest) returns (CaptureStripePaymentIntentResponse) {}
|
|
341
|
+
rpc cancelStripePaymentIntent(CancelStripePaymentIntentRequest) returns (CancelStripePaymentIntentResponse) {}
|
|
318
342
|
// Payment Method
|
|
319
343
|
rpc createStripeSetupIntent(CreateStripeSetupIntentRequest) returns (CreateStripeSetupIntentResponse) {}
|
|
320
344
|
rpc attachStripePaymentMethod(AttachStripePaymentMethodRequest) returns (AttachStripePaymentMethodResponse) {}
|
package/src/schemas/Order.ts
CHANGED
package/src/utils/PaymentUtil.ts
CHANGED
|
@@ -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/{setUserOrgContextId.d.ts → createOrderPaymentIntent.mutation.d.ts}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|