@xuulu/xuulu-types 1.0.32 → 1.0.34
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/cjs/index.d.ts +27 -26
- package/dist/cjs/index.js +1 -0
- package/dist/cjs/sign/index.d.ts +1 -0
- package/dist/cjs/sign/index.js +1 -0
- package/dist/cjs/sign/requests/index.d.ts +9 -0
- package/dist/cjs/sign/requests/index.js +2 -0
- package/dist/cjs/sign/responses/index.d.ts +1 -1
- package/dist/cjs/stripe/index.d.ts +2 -0
- package/dist/cjs/stripe/index.js +18 -0
- package/dist/cjs/stripe/requests/index.d.ts +5 -0
- package/dist/cjs/stripe/requests/index.js +2 -0
- package/dist/cjs/stripe/responses/index.d.ts +61 -0
- package/dist/cjs/stripe/responses/index.js +8 -0
- package/dist/esm/index.d.ts +27 -26
- package/dist/esm/index.js +27 -26
- package/dist/esm/sign/index.d.ts +1 -0
- package/dist/esm/sign/index.js +1 -0
- package/dist/esm/sign/requests/index.d.ts +9 -0
- package/dist/esm/sign/requests/index.js +1 -0
- package/dist/esm/sign/responses/index.d.ts +1 -1
- package/dist/esm/stripe/index.d.ts +2 -0
- package/dist/esm/stripe/index.js +2 -0
- package/dist/esm/stripe/requests/index.d.ts +5 -0
- package/dist/esm/stripe/requests/index.js +1 -0
- package/dist/esm/stripe/responses/index.d.ts +61 -0
- package/dist/esm/stripe/responses/index.js +5 -0
- package/package.json +1 -1
- package/src/index.ts +27 -26
- package/src/sign/index.ts +1 -0
- package/src/sign/requests/index.ts +10 -0
- package/src/sign/responses/index.ts +1 -1
- package/src/stripe/index.ts +2 -0
- package/src/stripe/requests/index.ts +5 -0
- package/src/stripe/responses/index.ts +64 -0
package/dist/cjs/index.d.ts
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
1
|
+
export * from "./candidates";
|
|
2
|
+
export * from "./candidateStatuses";
|
|
3
|
+
export * from "./companies";
|
|
4
|
+
export * from "./departments";
|
|
5
|
+
export * from "./frameworks";
|
|
6
|
+
export * from "./interviewCall";
|
|
7
|
+
export * from "./interviewFeedback";
|
|
8
|
+
export * from "./InterviewQuestions";
|
|
9
|
+
export * from "./interviewQuestionsCustom";
|
|
10
|
+
export * from "./interviews";
|
|
11
|
+
export * from "./interviewSetup";
|
|
12
|
+
export * from "./interviewStatuses";
|
|
13
|
+
export * from "./interviewTypes";
|
|
14
|
+
export * from "./offices";
|
|
15
|
+
export * from "./positionContracts";
|
|
16
|
+
export * from "./positions";
|
|
17
|
+
export * from "./positionsJobTypes";
|
|
18
|
+
export * from "./positionStatuses";
|
|
19
|
+
export * from "./positionWorkplaces";
|
|
20
|
+
export * from "./questions";
|
|
21
|
+
export * from "./roles";
|
|
22
|
+
export * from "./sections";
|
|
23
|
+
export * from "./seniorityLevels";
|
|
24
|
+
export * from "./sign";
|
|
25
|
+
export * from "./users";
|
|
26
|
+
export * from "./userSettings";
|
|
27
|
+
export * from "./stripe";
|
package/dist/cjs/index.js
CHANGED
package/dist/cjs/sign/index.d.ts
CHANGED
package/dist/cjs/sign/index.js
CHANGED
|
@@ -14,4 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
17
18
|
__exportStar(require("./responses"), exports);
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CompanyResponse } from "../../companies/responses";
|
|
2
|
+
import { UsersResponse } from "../../users/responses";
|
|
3
|
+
export type SignupRequest = {
|
|
4
|
+
company: Omit<CompanyResponse, "id">;
|
|
5
|
+
user: Omit<UsersResponse, "id" | "roleId" | "settings">;
|
|
6
|
+
password: string;
|
|
7
|
+
confirmPassword: string;
|
|
8
|
+
agreeTermsAndConditions: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./requests"), exports);
|
|
18
|
+
__exportStar(require("./responses"), exports);
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
type StripePriceRecurring = {
|
|
2
|
+
aggregate_usage: string | null;
|
|
3
|
+
interval: string;
|
|
4
|
+
interval_count: number;
|
|
5
|
+
meter: string | null;
|
|
6
|
+
trial_period_days: number | null;
|
|
7
|
+
usage_type: string;
|
|
8
|
+
};
|
|
9
|
+
type StripeProductResponse = {
|
|
10
|
+
active: boolean;
|
|
11
|
+
attributes: [];
|
|
12
|
+
created: number;
|
|
13
|
+
default_price: string;
|
|
14
|
+
description: string;
|
|
15
|
+
id: string;
|
|
16
|
+
images: [];
|
|
17
|
+
livemode: boolean;
|
|
18
|
+
marketing_features: [];
|
|
19
|
+
metadata: object;
|
|
20
|
+
name: string;
|
|
21
|
+
object: string;
|
|
22
|
+
package_dimensions: null;
|
|
23
|
+
shippable: null;
|
|
24
|
+
statement_descriptor: null;
|
|
25
|
+
tax_code: string;
|
|
26
|
+
type: string;
|
|
27
|
+
unit_label: null;
|
|
28
|
+
updated: number;
|
|
29
|
+
url: null;
|
|
30
|
+
};
|
|
31
|
+
export type StripePriceResponse = {
|
|
32
|
+
active: boolean;
|
|
33
|
+
billing_scheme: string;
|
|
34
|
+
created: number;
|
|
35
|
+
currency: string;
|
|
36
|
+
custom_unit_amount: number | null;
|
|
37
|
+
id: string;
|
|
38
|
+
livemode: boolean;
|
|
39
|
+
lookup_key: string | null;
|
|
40
|
+
metadata: object;
|
|
41
|
+
nickname: string | null;
|
|
42
|
+
object: string;
|
|
43
|
+
product: StripeProductResponse;
|
|
44
|
+
recurring: StripePriceRecurring;
|
|
45
|
+
tax_behavior: string;
|
|
46
|
+
tiers_mode: string | null;
|
|
47
|
+
transform_quantity: string | null;
|
|
48
|
+
type: string;
|
|
49
|
+
unit_amount_decimal: string;
|
|
50
|
+
unit_amount: number;
|
|
51
|
+
};
|
|
52
|
+
export type StripeUpdateSubscriptionResponse = {
|
|
53
|
+
message: string;
|
|
54
|
+
redirectUrl: string;
|
|
55
|
+
success: boolean;
|
|
56
|
+
};
|
|
57
|
+
export declare enum WEBHOOK_TYPE {
|
|
58
|
+
CUSTOMER_SUBSCRIPTION_CREATED = "customer.subscription.created",
|
|
59
|
+
CUSTOMER_SUBSCRIPTION_UPDATED = "customer.subscription.updated"
|
|
60
|
+
}
|
|
61
|
+
export {};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WEBHOOK_TYPE = void 0;
|
|
4
|
+
var WEBHOOK_TYPE;
|
|
5
|
+
(function (WEBHOOK_TYPE) {
|
|
6
|
+
WEBHOOK_TYPE["CUSTOMER_SUBSCRIPTION_CREATED"] = "customer.subscription.created";
|
|
7
|
+
WEBHOOK_TYPE["CUSTOMER_SUBSCRIPTION_UPDATED"] = "customer.subscription.updated";
|
|
8
|
+
})(WEBHOOK_TYPE || (exports.WEBHOOK_TYPE = WEBHOOK_TYPE = {}));
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
1
|
+
export * from "./candidates";
|
|
2
|
+
export * from "./candidateStatuses";
|
|
3
|
+
export * from "./companies";
|
|
4
|
+
export * from "./departments";
|
|
5
|
+
export * from "./frameworks";
|
|
6
|
+
export * from "./interviewCall";
|
|
7
|
+
export * from "./interviewFeedback";
|
|
8
|
+
export * from "./InterviewQuestions";
|
|
9
|
+
export * from "./interviewQuestionsCustom";
|
|
10
|
+
export * from "./interviews";
|
|
11
|
+
export * from "./interviewSetup";
|
|
12
|
+
export * from "./interviewStatuses";
|
|
13
|
+
export * from "./interviewTypes";
|
|
14
|
+
export * from "./offices";
|
|
15
|
+
export * from "./positionContracts";
|
|
16
|
+
export * from "./positions";
|
|
17
|
+
export * from "./positionsJobTypes";
|
|
18
|
+
export * from "./positionStatuses";
|
|
19
|
+
export * from "./positionWorkplaces";
|
|
20
|
+
export * from "./questions";
|
|
21
|
+
export * from "./roles";
|
|
22
|
+
export * from "./sections";
|
|
23
|
+
export * from "./seniorityLevels";
|
|
24
|
+
export * from "./sign";
|
|
25
|
+
export * from "./users";
|
|
26
|
+
export * from "./userSettings";
|
|
27
|
+
export * from "./stripe";
|
package/dist/esm/index.js
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
1
|
+
export * from "./candidates";
|
|
2
|
+
export * from "./candidateStatuses";
|
|
3
|
+
export * from "./companies";
|
|
4
|
+
export * from "./departments";
|
|
5
|
+
export * from "./frameworks";
|
|
6
|
+
export * from "./interviewCall";
|
|
7
|
+
export * from "./interviewFeedback";
|
|
8
|
+
export * from "./InterviewQuestions";
|
|
9
|
+
export * from "./interviewQuestionsCustom";
|
|
10
|
+
export * from "./interviews";
|
|
11
|
+
export * from "./interviewSetup";
|
|
12
|
+
export * from "./interviewStatuses";
|
|
13
|
+
export * from "./interviewTypes";
|
|
14
|
+
export * from "./offices";
|
|
15
|
+
export * from "./positionContracts";
|
|
16
|
+
export * from "./positions";
|
|
17
|
+
export * from "./positionsJobTypes";
|
|
18
|
+
export * from "./positionStatuses";
|
|
19
|
+
export * from "./positionWorkplaces";
|
|
20
|
+
export * from "./questions";
|
|
21
|
+
export * from "./roles";
|
|
22
|
+
export * from "./sections";
|
|
23
|
+
export * from "./seniorityLevels";
|
|
24
|
+
export * from "./sign";
|
|
25
|
+
export * from "./users";
|
|
26
|
+
export * from "./userSettings";
|
|
27
|
+
export * from "./stripe";
|
package/dist/esm/sign/index.d.ts
CHANGED
package/dist/esm/sign/index.js
CHANGED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { CompanyResponse } from "../../companies/responses";
|
|
2
|
+
import { UsersResponse } from "../../users/responses";
|
|
3
|
+
export type SignupRequest = {
|
|
4
|
+
company: Omit<CompanyResponse, "id">;
|
|
5
|
+
user: Omit<UsersResponse, "id" | "roleId" | "settings">;
|
|
6
|
+
password: string;
|
|
7
|
+
confirmPassword: string;
|
|
8
|
+
agreeTermsAndConditions: boolean;
|
|
9
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
type StripePriceRecurring = {
|
|
2
|
+
aggregate_usage: string | null;
|
|
3
|
+
interval: string;
|
|
4
|
+
interval_count: number;
|
|
5
|
+
meter: string | null;
|
|
6
|
+
trial_period_days: number | null;
|
|
7
|
+
usage_type: string;
|
|
8
|
+
};
|
|
9
|
+
type StripeProductResponse = {
|
|
10
|
+
active: boolean;
|
|
11
|
+
attributes: [];
|
|
12
|
+
created: number;
|
|
13
|
+
default_price: string;
|
|
14
|
+
description: string;
|
|
15
|
+
id: string;
|
|
16
|
+
images: [];
|
|
17
|
+
livemode: boolean;
|
|
18
|
+
marketing_features: [];
|
|
19
|
+
metadata: object;
|
|
20
|
+
name: string;
|
|
21
|
+
object: string;
|
|
22
|
+
package_dimensions: null;
|
|
23
|
+
shippable: null;
|
|
24
|
+
statement_descriptor: null;
|
|
25
|
+
tax_code: string;
|
|
26
|
+
type: string;
|
|
27
|
+
unit_label: null;
|
|
28
|
+
updated: number;
|
|
29
|
+
url: null;
|
|
30
|
+
};
|
|
31
|
+
export type StripePriceResponse = {
|
|
32
|
+
active: boolean;
|
|
33
|
+
billing_scheme: string;
|
|
34
|
+
created: number;
|
|
35
|
+
currency: string;
|
|
36
|
+
custom_unit_amount: number | null;
|
|
37
|
+
id: string;
|
|
38
|
+
livemode: boolean;
|
|
39
|
+
lookup_key: string | null;
|
|
40
|
+
metadata: object;
|
|
41
|
+
nickname: string | null;
|
|
42
|
+
object: string;
|
|
43
|
+
product: StripeProductResponse;
|
|
44
|
+
recurring: StripePriceRecurring;
|
|
45
|
+
tax_behavior: string;
|
|
46
|
+
tiers_mode: string | null;
|
|
47
|
+
transform_quantity: string | null;
|
|
48
|
+
type: string;
|
|
49
|
+
unit_amount_decimal: string;
|
|
50
|
+
unit_amount: number;
|
|
51
|
+
};
|
|
52
|
+
export type StripeUpdateSubscriptionResponse = {
|
|
53
|
+
message: string;
|
|
54
|
+
redirectUrl: string;
|
|
55
|
+
success: boolean;
|
|
56
|
+
};
|
|
57
|
+
export declare enum WEBHOOK_TYPE {
|
|
58
|
+
CUSTOMER_SUBSCRIPTION_CREATED = "customer.subscription.created",
|
|
59
|
+
CUSTOMER_SUBSCRIPTION_UPDATED = "customer.subscription.updated"
|
|
60
|
+
}
|
|
61
|
+
export {};
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -1,26 +1,27 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
5
|
-
export * from
|
|
6
|
-
export * from
|
|
7
|
-
export * from
|
|
8
|
-
export * from
|
|
9
|
-
export * from
|
|
10
|
-
export * from
|
|
11
|
-
export * from
|
|
12
|
-
export * from
|
|
13
|
-
export * from
|
|
14
|
-
export * from
|
|
15
|
-
export * from
|
|
16
|
-
export * from
|
|
17
|
-
export * from
|
|
18
|
-
export * from
|
|
19
|
-
export * from
|
|
20
|
-
export * from
|
|
21
|
-
export * from
|
|
22
|
-
export * from
|
|
23
|
-
export * from
|
|
24
|
-
export * from
|
|
25
|
-
export * from
|
|
26
|
-
export * from
|
|
1
|
+
export * from "./candidates";
|
|
2
|
+
export * from "./candidateStatuses";
|
|
3
|
+
export * from "./companies";
|
|
4
|
+
export * from "./departments";
|
|
5
|
+
export * from "./frameworks";
|
|
6
|
+
export * from "./interviewCall";
|
|
7
|
+
export * from "./interviewFeedback";
|
|
8
|
+
export * from "./InterviewQuestions";
|
|
9
|
+
export * from "./interviewQuestionsCustom";
|
|
10
|
+
export * from "./interviews";
|
|
11
|
+
export * from "./interviewSetup";
|
|
12
|
+
export * from "./interviewStatuses";
|
|
13
|
+
export * from "./interviewTypes";
|
|
14
|
+
export * from "./offices";
|
|
15
|
+
export * from "./positionContracts";
|
|
16
|
+
export * from "./positions";
|
|
17
|
+
export * from "./positionsJobTypes";
|
|
18
|
+
export * from "./positionStatuses";
|
|
19
|
+
export * from "./positionWorkplaces";
|
|
20
|
+
export * from "./questions";
|
|
21
|
+
export * from "./roles";
|
|
22
|
+
export * from "./sections";
|
|
23
|
+
export * from "./seniorityLevels";
|
|
24
|
+
export * from "./sign";
|
|
25
|
+
export * from "./users";
|
|
26
|
+
export * from "./userSettings";
|
|
27
|
+
export * from "./stripe";
|
package/src/sign/index.ts
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CompanyResponse } from "../../companies/responses";
|
|
2
|
+
import { UsersResponse } from "../../users/responses";
|
|
3
|
+
|
|
4
|
+
export type SignupRequest = {
|
|
5
|
+
company: Omit<CompanyResponse, "id">;
|
|
6
|
+
user: Omit<UsersResponse, "id" | "roleId" | "settings">;
|
|
7
|
+
password: string;
|
|
8
|
+
confirmPassword: string;
|
|
9
|
+
agreeTermsAndConditions: boolean;
|
|
10
|
+
};
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
type StripePriceRecurring = {
|
|
2
|
+
aggregate_usage: string | null;
|
|
3
|
+
interval: string;
|
|
4
|
+
interval_count: number;
|
|
5
|
+
meter: string | null;
|
|
6
|
+
trial_period_days: number | null;
|
|
7
|
+
usage_type: string;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
type StripeProductResponse = {
|
|
11
|
+
active: boolean;
|
|
12
|
+
attributes: [];
|
|
13
|
+
created: number;
|
|
14
|
+
default_price: string;
|
|
15
|
+
description: string;
|
|
16
|
+
id: string;
|
|
17
|
+
images: [];
|
|
18
|
+
livemode: boolean;
|
|
19
|
+
marketing_features: [];
|
|
20
|
+
metadata: object;
|
|
21
|
+
name: string;
|
|
22
|
+
object: string;
|
|
23
|
+
package_dimensions: null;
|
|
24
|
+
shippable: null;
|
|
25
|
+
statement_descriptor: null;
|
|
26
|
+
tax_code: string;
|
|
27
|
+
type: string;
|
|
28
|
+
unit_label: null;
|
|
29
|
+
updated: number;
|
|
30
|
+
url: null;
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
export type StripePriceResponse = {
|
|
34
|
+
active: boolean;
|
|
35
|
+
billing_scheme: string;
|
|
36
|
+
created: number;
|
|
37
|
+
currency: string;
|
|
38
|
+
custom_unit_amount: number | null;
|
|
39
|
+
id: string;
|
|
40
|
+
livemode: boolean;
|
|
41
|
+
lookup_key: string | null;
|
|
42
|
+
metadata: object;
|
|
43
|
+
nickname: string | null;
|
|
44
|
+
object: string;
|
|
45
|
+
product: StripeProductResponse;
|
|
46
|
+
recurring: StripePriceRecurring;
|
|
47
|
+
tax_behavior: string;
|
|
48
|
+
tiers_mode: string | null;
|
|
49
|
+
transform_quantity: string | null;
|
|
50
|
+
type: string;
|
|
51
|
+
unit_amount_decimal: string;
|
|
52
|
+
unit_amount: number;
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export type StripeUpdateSubscriptionResponse = {
|
|
56
|
+
message: string;
|
|
57
|
+
redirectUrl: string;
|
|
58
|
+
success: boolean;
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export enum WEBHOOK_TYPE {
|
|
62
|
+
CUSTOMER_SUBSCRIPTION_CREATED = 'customer.subscription.created',
|
|
63
|
+
CUSTOMER_SUBSCRIPTION_UPDATED = 'customer.subscription.updated',
|
|
64
|
+
}
|