@forklaunch/interfaces-billing 0.8.22 → 0.9.0
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.
|
@@ -11,7 +11,7 @@ export type CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> =
|
|
|
11
11
|
features?: string[];
|
|
12
12
|
providerFields?: unknown;
|
|
13
13
|
externalId: string;
|
|
14
|
-
billingProvider
|
|
14
|
+
billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
|
|
15
15
|
};
|
|
16
16
|
export type UpdatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> =
|
|
17
17
|
Partial<CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>> &
|
|
@@ -9,7 +9,7 @@ export type CreateSubscriptionDto<PartyType, BillingProviderType> =
|
|
|
9
9
|
productId: string;
|
|
10
10
|
providerFields?: unknown;
|
|
11
11
|
externalId: string;
|
|
12
|
-
billingProvider
|
|
12
|
+
billingProvider: BillingProviderType[keyof BillingProviderType];
|
|
13
13
|
startDate: Date;
|
|
14
14
|
endDate?: Date;
|
|
15
15
|
status: string;
|
package/lib/types/index.d.mts
CHANGED
|
@@ -61,7 +61,7 @@ type CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = Partial
|
|
|
61
61
|
features?: string[];
|
|
62
62
|
providerFields?: unknown;
|
|
63
63
|
externalId: string;
|
|
64
|
-
billingProvider
|
|
64
|
+
billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
|
|
65
65
|
};
|
|
66
66
|
type UpdatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = Partial<CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>> & IdDto;
|
|
67
67
|
type PlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> & IdDto & Partial<RecordTimingDto>;
|
|
@@ -81,7 +81,7 @@ type CreateSubscriptionDto<PartyType, BillingProviderType> = Partial<IdDto> & {
|
|
|
81
81
|
productId: string;
|
|
82
82
|
providerFields?: unknown;
|
|
83
83
|
externalId: string;
|
|
84
|
-
billingProvider
|
|
84
|
+
billingProvider: BillingProviderType[keyof BillingProviderType];
|
|
85
85
|
startDate: Date;
|
|
86
86
|
endDate?: Date;
|
|
87
87
|
status: string;
|
package/lib/types/index.d.ts
CHANGED
|
@@ -61,7 +61,7 @@ type CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = Partial
|
|
|
61
61
|
features?: string[];
|
|
62
62
|
providerFields?: unknown;
|
|
63
63
|
externalId: string;
|
|
64
|
-
billingProvider
|
|
64
|
+
billingProvider: BillingProviderEnum[keyof BillingProviderEnum];
|
|
65
65
|
};
|
|
66
66
|
type UpdatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = Partial<CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum>> & IdDto;
|
|
67
67
|
type PlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> = CreatePlanDto<PlanCadenceEnum, CurrencyEnum, BillingProviderEnum> & IdDto & Partial<RecordTimingDto>;
|
|
@@ -81,7 +81,7 @@ type CreateSubscriptionDto<PartyType, BillingProviderType> = Partial<IdDto> & {
|
|
|
81
81
|
productId: string;
|
|
82
82
|
providerFields?: unknown;
|
|
83
83
|
externalId: string;
|
|
84
|
-
billingProvider
|
|
84
|
+
billingProvider: BillingProviderType[keyof BillingProviderType];
|
|
85
85
|
startDate: Date;
|
|
86
86
|
endDate?: Date;
|
|
87
87
|
status: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@forklaunch/interfaces-billing",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.9.0",
|
|
4
4
|
"description": "Billing interfaces for forklaunch",
|
|
5
5
|
"homepage": "https://github.com/forklaunch/forklaunch-js#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -31,11 +31,11 @@
|
|
|
31
31
|
"lib/**"
|
|
32
32
|
],
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"@forklaunch/common": "^0.
|
|
35
|
-
"@mikro-orm/core": "7.0.
|
|
34
|
+
"@forklaunch/common": "^0.7.5",
|
|
35
|
+
"@mikro-orm/core": "7.0.4"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
|
-
"@typescript/native-preview": "7.0.0-dev.
|
|
38
|
+
"@typescript/native-preview": "7.0.0-dev.20260320.1",
|
|
39
39
|
"depcheck": "^1.4.7",
|
|
40
40
|
"prettier": "^3.8.1",
|
|
41
41
|
"typedoc": "^0.28.17"
|