autumn-js 1.2.13 → 1.2.15
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/backend/adapters/express.js +623 -108
- package/dist/backend/adapters/express.mjs +8 -8
- package/dist/backend/adapters/fetch.js +623 -108
- package/dist/backend/adapters/fetch.mjs +8 -8
- package/dist/backend/adapters/hono.js +623 -108
- package/dist/backend/adapters/hono.mjs +8 -8
- package/dist/backend/adapters/index.js +623 -108
- package/dist/backend/adapters/index.mjs +11 -11
- package/dist/backend/adapters/next.js +623 -108
- package/dist/backend/adapters/next.mjs +8 -8
- package/dist/backend/{chunk-DNNJOZAT.mjs → chunk-BQVZ6GCE.mjs} +1 -1
- package/dist/backend/{chunk-YSQQKZBU.mjs → chunk-IEOQUAJY.mjs} +7 -7
- package/dist/backend/{chunk-MANTLPDT.mjs → chunk-IQS3LQVP.mjs} +36 -8
- package/dist/backend/{chunk-7BVATYGA.mjs → chunk-NDB3VKT4.mjs} +1 -1
- package/dist/backend/{chunk-RPH5L44S.mjs → chunk-NRTK5YZK.mjs} +1 -1
- package/dist/backend/{chunk-T42RZEUZ.mjs → chunk-OXCQHLZX.mjs} +587 -100
- package/dist/backend/{chunk-EJGHP7KT.mjs → chunk-RSIOYTRW.mjs} +5 -5
- package/dist/backend/{chunk-OUDB34Y7.mjs → chunk-X7LDYBKC.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +623 -108
- package/dist/backend/core/handlers/coreHandler.mjs +6 -6
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +3 -3
- package/dist/backend/core/handlers/handleRouteByName.js +623 -108
- package/dist/backend/core/handlers/handleRouteByName.mjs +6 -6
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +623 -108
- package/dist/backend/core/handlers/index.mjs +10 -10
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +623 -108
- package/dist/backend/core/index.mjs +7 -7
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.js +36 -8
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.js +36 -8
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +623 -108
- package/dist/backend/index.mjs +7 -7
- package/dist/backend/{routeTypes-DVwngaBn.d.mts → routeTypes-CIspXIZ4.d.mts} +841 -169
- package/dist/backend/{routeTypes-B94_Mq2J.d.ts → routeTypes-COwIJFNS.d.ts} +841 -169
- package/dist/better-auth/{chunk-4OWECHZC.mjs → chunk-L6XX4ONM.mjs} +1 -1
- package/dist/better-auth/{chunk-ZZGFPTHO.mjs → chunk-QT6R3AXQ.mjs} +588 -101
- package/dist/better-auth/{chunk-JIFD4TSN.mjs → chunk-ZO3KGM5W.mjs} +36 -8
- package/dist/better-auth/client.d.mts +2 -4
- package/dist/better-auth/client.d.ts +2 -4
- package/dist/better-auth/{createAutumnEndpoint-CvXRCg-M.d.ts → createAutumnEndpoint-Clm1sxhQ.d.mts} +4 -8
- package/dist/better-auth/{createAutumnEndpoint-CvXRCg-M.d.mts → createAutumnEndpoint-Clm1sxhQ.d.ts} +4 -8
- package/dist/better-auth/index.d.mts +2 -4
- package/dist/better-auth/index.d.ts +2 -4
- package/dist/better-auth/index.js +623 -108
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.d.mts +2 -4
- package/dist/better-auth/utils/createAutumnEndpoint.d.ts +2 -4
- package/dist/better-auth/utils/createAutumnEndpoint.js +36 -8
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.d.mts +2 -4
- package/dist/better-auth/utils/handleBetterAuthRoute.d.ts +2 -4
- package/dist/better-auth/utils/handleBetterAuthRoute.js +623 -108
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.d.mts +3 -4
- package/dist/better-auth/utils/index.d.ts +3 -4
- package/dist/better-auth/utils/index.js +623 -108
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +2 -2
- package/dist/react/AutumnContext.d.ts +2 -2
- package/dist/react/client/AutumnClient.d.mts +2 -2
- package/dist/react/client/AutumnClient.d.ts +2 -2
- package/dist/react/client/IAutumnClient.d.mts +2 -2
- package/dist/react/client/IAutumnClient.d.ts +2 -2
- package/dist/react/client/index.d.mts +2 -2
- package/dist/react/client/index.d.ts +2 -2
- package/dist/react/{customer-DB8vL_m7.d.mts → customer-BDxW2bu6.d.mts} +35 -9
- package/dist/react/{customer-CaGJEN5J.d.ts → customer-BPUObmME.d.ts} +35 -9
- package/dist/react/hooks/index.d.mts +2 -2
- package/dist/react/hooks/index.d.ts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +1 -1
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +1 -1
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +1 -1
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +1 -1
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +1 -1
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +1 -1
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +1 -1
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +2 -2
- package/dist/react/hooks/internal/useCustomerActions.d.mts +2 -2
- package/dist/react/hooks/internal/useCustomerActions.d.ts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
- package/dist/react/hooks/useCustomer.d.mts +2 -2
- package/dist/react/hooks/useCustomer.d.ts +2 -2
- package/dist/react/hooks/useEntity.d.mts +1 -1
- package/dist/react/hooks/useEntity.d.ts +1 -1
- package/dist/react/hooks/useListEvents.d.mts +1 -1
- package/dist/react/hooks/useListEvents.d.ts +1 -1
- package/dist/react/hooks/useListPlans.d.mts +1 -1
- package/dist/react/hooks/useListPlans.d.ts +1 -1
- package/dist/react/hooks/useReferrals.d.mts +1 -1
- package/dist/react/hooks/useReferrals.d.ts +1 -1
- package/dist/react/index.d.mts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/{params-B5l9vHfZ.d.ts → params-D4cEukOJ.d.ts} +615 -64
- package/dist/react/{params-BVglT8vT.d.mts → params-DzbSUS8O.d.mts} +615 -64
- package/dist/sdk/index.d.mts +980 -173
- package/dist/sdk/index.d.ts +980 -173
- package/dist/sdk/index.js +978 -212
- package/dist/sdk/index.mjs +825 -149
- package/package.json +1 -1
- package/dist/backend/{chunk-S5HPMJ4U.mjs → chunk-55C2WWXQ.mjs} +3 -3
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-X7LDYBKC.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-RSIOYTRW.mjs";
|
|
7
|
+
import "../chunk-IEOQUAJY.mjs";
|
|
8
|
+
import "../chunk-OXCQHLZX.mjs";
|
|
9
|
+
import "../chunk-55C2WWXQ.mjs";
|
|
10
|
+
import "../chunk-TBQ27LIK.mjs";
|
|
11
|
+
import "../chunk-J44WR3QZ.mjs";
|
|
8
12
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
13
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-MANTLPDT.mjs";
|
|
12
|
-
import "../chunk-S5HPMJ4U.mjs";
|
|
14
|
+
import "../chunk-IQS3LQVP.mjs";
|
|
13
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
14
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
15
17
|
import "../chunk-Z6QP3YEA.mjs";
|
|
16
|
-
import "../chunk-TBQ27LIK.mjs";
|
|
17
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Autumn
|
|
3
|
+
} from "./chunk-OXCQHLZX.mjs";
|
|
4
|
+
import {
|
|
5
|
+
executeRoute
|
|
6
|
+
} from "./chunk-55C2WWXQ.mjs";
|
|
1
7
|
import {
|
|
2
8
|
buildRouter
|
|
3
9
|
} from "./chunk-UAR3TMWI.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Autumn
|
|
6
|
-
} from "./chunk-T42RZEUZ.mjs";
|
|
7
10
|
import {
|
|
8
11
|
routeConfigs
|
|
9
|
-
} from "./chunk-
|
|
10
|
-
import {
|
|
11
|
-
executeRoute
|
|
12
|
-
} from "./chunk-S5HPMJ4U.mjs";
|
|
12
|
+
} from "./chunk-IQS3LQVP.mjs";
|
|
13
13
|
import {
|
|
14
14
|
secretKeyCheck
|
|
15
15
|
} from "./chunk-VZIMT7AO.mjs";
|
|
@@ -218,7 +218,8 @@ var attachParamsOutboundSchema = z2.object({
|
|
|
218
218
|
carry_over_balances: z2.union([attachCarryOverBalancesOutboundSchema, z2.undefined()]).optional(),
|
|
219
219
|
carry_over_usages: z2.union([attachCarryOverUsagesOutboundSchema, z2.undefined()]).optional(),
|
|
220
220
|
metadata: z2.union([z2.record(z2.string(), z2.string()), z2.undefined()]).optional(),
|
|
221
|
-
no_billing_changes: z2.union([z2.boolean(), z2.undefined()]).optional()
|
|
221
|
+
no_billing_changes: z2.union([z2.boolean(), z2.undefined()]).optional(),
|
|
222
|
+
enable_plan_immediately: z2.union([z2.boolean(), z2.undefined()]).optional()
|
|
222
223
|
});
|
|
223
224
|
var closedEnumSchema2 = z2.any();
|
|
224
225
|
var openEnumSchema = z2.any();
|
|
@@ -304,7 +305,8 @@ var attachParamsSchema = z2.object({
|
|
|
304
305
|
carryOverBalances: z2.union([attachCarryOverBalancesSchema, z2.undefined()]).optional(),
|
|
305
306
|
carryOverUsages: z2.union([attachCarryOverUsagesSchema, z2.undefined()]).optional(),
|
|
306
307
|
metadata: z2.union([z2.record(z2.string(), z2.string()), z2.undefined()]).optional(),
|
|
307
|
-
noBillingChanges: z2.union([z2.boolean(), z2.undefined()]).optional()
|
|
308
|
+
noBillingChanges: z2.union([z2.boolean(), z2.undefined()]).optional(),
|
|
309
|
+
enablePlanImmediately: z2.union([z2.boolean(), z2.undefined()]).optional()
|
|
308
310
|
});
|
|
309
311
|
var attachCodeSchema = openEnumSchema;
|
|
310
312
|
var attachRequiredActionSchema = z2.object({
|
|
@@ -875,6 +877,7 @@ var multiAttachParamsSchema = z7.object({
|
|
|
875
877
|
checkoutSessionParams: z7.union([z7.record(z7.string(), z7.any()), z7.undefined()]).optional(),
|
|
876
878
|
redirectMode: z7.union([multiAttachRedirectModeSchema, z7.undefined()]).optional(),
|
|
877
879
|
newBillingSubscription: z7.union([z7.boolean(), z7.undefined()]).optional(),
|
|
880
|
+
enablePlanImmediately: z7.union([z7.boolean(), z7.undefined()]).optional(),
|
|
878
881
|
customerData: z7.union([customerDataSchema, z7.undefined()]).optional(),
|
|
879
882
|
entityData: z7.union([multiAttachEntityDataSchema, z7.undefined()]).optional()
|
|
880
883
|
});
|
|
@@ -901,6 +904,7 @@ var multiAttachParamsOutboundSchema = z7.object({
|
|
|
901
904
|
checkout_session_params: z7.union([z7.record(z7.string(), z7.any()), z7.undefined()]).optional(),
|
|
902
905
|
redirect_mode: z7.string(),
|
|
903
906
|
new_billing_subscription: z7.union([z7.boolean(), z7.undefined()]).optional(),
|
|
907
|
+
enable_plan_immediately: z7.union([z7.boolean(), z7.undefined()]).optional(),
|
|
904
908
|
customer_data: z7.union([customerDataOutboundSchema, z7.undefined()]).optional(),
|
|
905
909
|
entity_data: z7.union([multiAttachEntityDataOutboundSchema, z7.undefined()]).optional()
|
|
906
910
|
});
|
|
@@ -1134,7 +1138,8 @@ var previewAttachParamsOutboundSchema = z9.object({
|
|
|
1134
1138
|
carry_over_balances: z9.union([previewAttachCarryOverBalancesOutboundSchema, z9.undefined()]).optional(),
|
|
1135
1139
|
carry_over_usages: z9.union([previewAttachCarryOverUsagesOutboundSchema, z9.undefined()]).optional(),
|
|
1136
1140
|
metadata: z9.union([z9.record(z9.string(), z9.string()), z9.undefined()]).optional(),
|
|
1137
|
-
no_billing_changes: z9.union([z9.boolean(), z9.undefined()]).optional()
|
|
1141
|
+
no_billing_changes: z9.union([z9.boolean(), z9.undefined()]).optional(),
|
|
1142
|
+
enable_plan_immediately: z9.union([z9.boolean(), z9.undefined()]).optional()
|
|
1138
1143
|
});
|
|
1139
1144
|
var closedEnumSchema5 = z9.any();
|
|
1140
1145
|
var planSchema = z9.any();
|
|
@@ -1221,7 +1226,8 @@ var previewAttachParamsSchema = z9.object({
|
|
|
1221
1226
|
carryOverBalances: z9.union([previewAttachCarryOverBalancesSchema, z9.undefined()]).optional(),
|
|
1222
1227
|
carryOverUsages: z9.union([previewAttachCarryOverUsagesSchema, z9.undefined()]).optional(),
|
|
1223
1228
|
metadata: z9.union([z9.record(z9.string(), z9.string()), z9.undefined()]).optional(),
|
|
1224
|
-
noBillingChanges: z9.union([z9.boolean(), z9.undefined()]).optional()
|
|
1229
|
+
noBillingChanges: z9.union([z9.boolean(), z9.undefined()]).optional(),
|
|
1230
|
+
enablePlanImmediately: z9.union([z9.boolean(), z9.undefined()]).optional()
|
|
1225
1231
|
});
|
|
1226
1232
|
var previewAttachIncomingSchema = z9.object({
|
|
1227
1233
|
planId: z9.string(),
|
|
@@ -1240,6 +1246,14 @@ var previewAttachOutgoingSchema = z9.object({
|
|
|
1240
1246
|
expiresAt: z9.number().nullable()
|
|
1241
1247
|
});
|
|
1242
1248
|
var previewAttachCheckoutTypeSchema = openEnumSchema4;
|
|
1249
|
+
var previewAttachStatusSchema = openEnumSchema4;
|
|
1250
|
+
var previewAttachTaxSchema = z9.object({
|
|
1251
|
+
total: z9.number(),
|
|
1252
|
+
amountInclusive: z9.number(),
|
|
1253
|
+
amountExclusive: z9.number(),
|
|
1254
|
+
currency: z9.string(),
|
|
1255
|
+
status: previewAttachStatusSchema
|
|
1256
|
+
});
|
|
1243
1257
|
var previewAttachResponseSchema = z9.object({
|
|
1244
1258
|
customerId: z9.string(),
|
|
1245
1259
|
lineItems: z9.array(previewAttachLineItemSchema),
|
|
@@ -1251,7 +1265,8 @@ var previewAttachResponseSchema = z9.object({
|
|
|
1251
1265
|
incoming: z9.array(previewAttachIncomingSchema),
|
|
1252
1266
|
outgoing: z9.array(previewAttachOutgoingSchema),
|
|
1253
1267
|
redirectToCheckout: z9.boolean(),
|
|
1254
|
-
checkoutType: previewAttachCheckoutTypeSchema.nullable()
|
|
1268
|
+
checkoutType: previewAttachCheckoutTypeSchema.nullable(),
|
|
1269
|
+
tax: z9.union([previewAttachTaxSchema, z9.undefined()]).optional()
|
|
1255
1270
|
});
|
|
1256
1271
|
|
|
1257
1272
|
// src/generated/previewMultiAttachSchemas.ts
|
|
@@ -1565,6 +1580,7 @@ var previewMultiAttachParamsSchema = z10.object({
|
|
|
1565
1580
|
checkoutSessionParams: z10.union([z10.record(z10.string(), z10.any()), z10.undefined()]).optional(),
|
|
1566
1581
|
redirectMode: z10.union([previewMultiAttachRedirectModeSchema, z10.undefined()]).optional(),
|
|
1567
1582
|
newBillingSubscription: z10.union([z10.boolean(), z10.undefined()]).optional(),
|
|
1583
|
+
enablePlanImmediately: z10.union([z10.boolean(), z10.undefined()]).optional(),
|
|
1568
1584
|
customerData: z10.union([customerDataSchema2, z10.undefined()]).optional(),
|
|
1569
1585
|
entityData: z10.union([previewMultiAttachEntityDataSchema, z10.undefined()]).optional()
|
|
1570
1586
|
});
|
|
@@ -1585,6 +1601,14 @@ var previewMultiAttachOutgoingSchema = z10.object({
|
|
|
1585
1601
|
expiresAt: z10.number().nullable()
|
|
1586
1602
|
});
|
|
1587
1603
|
var previewMultiAttachCheckoutTypeSchema = openEnumSchema5;
|
|
1604
|
+
var previewMultiAttachStatusSchema = openEnumSchema5;
|
|
1605
|
+
var previewMultiAttachTaxSchema = z10.object({
|
|
1606
|
+
total: z10.number(),
|
|
1607
|
+
amountInclusive: z10.number(),
|
|
1608
|
+
amountExclusive: z10.number(),
|
|
1609
|
+
currency: z10.string(),
|
|
1610
|
+
status: previewMultiAttachStatusSchema
|
|
1611
|
+
});
|
|
1588
1612
|
var previewMultiAttachResponseSchema = z10.object({
|
|
1589
1613
|
customerId: z10.string(),
|
|
1590
1614
|
lineItems: z10.array(previewMultiAttachLineItemSchema),
|
|
@@ -1596,7 +1620,8 @@ var previewMultiAttachResponseSchema = z10.object({
|
|
|
1596
1620
|
incoming: z10.array(previewMultiAttachIncomingSchema),
|
|
1597
1621
|
outgoing: z10.array(previewMultiAttachOutgoingSchema),
|
|
1598
1622
|
redirectToCheckout: z10.boolean(),
|
|
1599
|
-
checkoutType: previewMultiAttachCheckoutTypeSchema.nullable()
|
|
1623
|
+
checkoutType: previewMultiAttachCheckoutTypeSchema.nullable(),
|
|
1624
|
+
tax: z10.union([previewMultiAttachTaxSchema, z10.undefined()]).optional()
|
|
1600
1625
|
});
|
|
1601
1626
|
var previewMultiAttachParamsOutboundSchema = z10.object({
|
|
1602
1627
|
customer_id: z10.string(),
|
|
@@ -1612,6 +1637,7 @@ var previewMultiAttachParamsOutboundSchema = z10.object({
|
|
|
1612
1637
|
checkout_session_params: z10.union([z10.record(z10.string(), z10.any()), z10.undefined()]).optional(),
|
|
1613
1638
|
redirect_mode: z10.string(),
|
|
1614
1639
|
new_billing_subscription: z10.union([z10.boolean(), z10.undefined()]).optional(),
|
|
1640
|
+
enable_plan_immediately: z10.union([z10.boolean(), z10.undefined()]).optional(),
|
|
1615
1641
|
customer_data: z10.union([customerDataOutboundSchema2, z10.undefined()]).optional(),
|
|
1616
1642
|
entity_data: z10.union([previewMultiAttachEntityDataOutboundSchema, z10.undefined()]).optional()
|
|
1617
1643
|
});
|
|
@@ -2061,7 +2087,8 @@ var setupPaymentParamsOutboundSchema = z13.object({
|
|
|
2061
2087
|
carry_over_balances: z13.union([setupPaymentCarryOverBalancesOutboundSchema, z13.undefined()]).optional(),
|
|
2062
2088
|
carry_over_usages: z13.union([setupPaymentCarryOverUsagesOutboundSchema, z13.undefined()]).optional(),
|
|
2063
2089
|
metadata: z13.union([z13.record(z13.string(), z13.string()), z13.undefined()]).optional(),
|
|
2064
|
-
no_billing_changes: z13.union([z13.boolean(), z13.undefined()]).optional()
|
|
2090
|
+
no_billing_changes: z13.union([z13.boolean(), z13.undefined()]).optional(),
|
|
2091
|
+
enable_plan_immediately: z13.union([z13.boolean(), z13.undefined()]).optional()
|
|
2065
2092
|
});
|
|
2066
2093
|
var closedEnumSchema8 = z13.any();
|
|
2067
2094
|
var setupPaymentPriceIntervalSchema = closedEnumSchema8;
|
|
@@ -2140,7 +2167,8 @@ var setupPaymentParamsSchema = z13.object({
|
|
|
2140
2167
|
carryOverBalances: z13.union([setupPaymentCarryOverBalancesSchema, z13.undefined()]).optional(),
|
|
2141
2168
|
carryOverUsages: z13.union([setupPaymentCarryOverUsagesSchema, z13.undefined()]).optional(),
|
|
2142
2169
|
metadata: z13.union([z13.record(z13.string(), z13.string()), z13.undefined()]).optional(),
|
|
2143
|
-
noBillingChanges: z13.union([z13.boolean(), z13.undefined()]).optional()
|
|
2170
|
+
noBillingChanges: z13.union([z13.boolean(), z13.undefined()]).optional(),
|
|
2171
|
+
enablePlanImmediately: z13.union([z13.boolean(), z13.undefined()]).optional()
|
|
2144
2172
|
});
|
|
2145
2173
|
|
|
2146
2174
|
// src/generated/updateSubscriptionSchemas.ts
|