autumn-js 1.3.52 → 1.3.54
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 +2 -2
- package/dist/backend/adapters/express.mjs +8 -8
- package/dist/backend/adapters/fetch.js +2 -2
- package/dist/backend/adapters/fetch.mjs +8 -8
- package/dist/backend/adapters/hono.js +2 -2
- package/dist/backend/adapters/hono.mjs +8 -8
- package/dist/backend/adapters/index.js +2 -2
- package/dist/backend/adapters/index.mjs +11 -11
- package/dist/backend/adapters/next.js +2 -2
- package/dist/backend/adapters/next.mjs +8 -8
- package/dist/backend/{chunk-7D4Q6DD5.mjs → chunk-3RJ4UI53.mjs} +4 -4
- package/dist/backend/{chunk-MLNOZNXA.mjs → chunk-7HTOZMKW.mjs} +1 -1
- package/dist/backend/{chunk-DAFJNKRC.mjs → chunk-HI54YU3D.mjs} +1 -1
- package/dist/backend/{chunk-JANEVXQD.mjs → chunk-L6KEJB2P.mjs} +6 -6
- package/dist/backend/{chunk-HO6HXFXB.mjs → chunk-RAGDMUCF.mjs} +1 -1
- package/dist/backend/{chunk-4XONQCNS.mjs → chunk-SQKT6KS7.mjs} +1 -1
- package/dist/backend/{chunk-NTT3NWTL.mjs → chunk-ZMYAMYEL.mjs} +2 -2
- 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 +2 -2
- 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 +4 -4
- package/dist/backend/core/handlers/handleRouteByName.js +2 -2
- 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 +2 -2
- 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 +2 -2
- package/dist/backend/core/index.mjs +9 -9
- 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.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.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/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +2 -2
- package/dist/backend/index.mjs +9 -9
- package/dist/backend/{routeTypes-Czot4Qi-.d.mts → routeTypes-BYO_tt3w.d.mts} +5 -5
- package/dist/backend/{routeTypes-D4pVj85I.d.ts → routeTypes-j2nKc0Ve.d.ts} +5 -5
- package/dist/better-auth/{chunk-54S4JXQI.mjs → chunk-QBGNMDVZ.mjs} +2 -2
- package/dist/better-auth/index.js +2 -2
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +2 -2
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/react/AutumnContext.d.mts +1 -1
- package/dist/react/AutumnContext.d.ts +1 -1
- package/dist/react/client/AutumnClient.d.mts +1 -1
- package/dist/react/client/AutumnClient.d.ts +1 -1
- package/dist/react/client/IAutumnClient.d.mts +1 -1
- package/dist/react/client/IAutumnClient.d.ts +1 -1
- package/dist/react/client/index.d.mts +1 -1
- package/dist/react/client/index.d.ts +1 -1
- package/dist/react/hooks/index.d.mts +1 -1
- package/dist/react/hooks/index.d.ts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.mts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.ts +1 -1
- 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 +1 -1
- package/dist/react/hooks/useCustomer.d.ts +1 -1
- 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 +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/{params-BGpmxI8B.d.mts → params-B2XEzt8i.d.mts} +3 -3
- package/dist/react/{params-C7_vr_BA.d.ts → params-CnjoLoXH.d.ts} +3 -3
- package/dist/sdk/index.d.mts +5 -5
- package/dist/sdk/index.d.ts +5 -5
- package/dist/sdk/index.js +2 -2
- package/dist/sdk/index.mjs +2 -2
- package/package.json +2 -2
- package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
|
@@ -58925,7 +58925,7 @@ var Billing = class extends ClientSDK {
|
|
|
58925
58925
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58926
58926
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58927
58927
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58928
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58928
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58929
58929
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58930
58930
|
*
|
|
58931
58931
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59063,7 +59063,7 @@ var Billing = class extends ClientSDK {
|
|
|
59063
59063
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59064
59064
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59065
59065
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59066
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59066
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59067
59067
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59068
59068
|
*
|
|
59069
59069
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-HI54YU3D.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-3RJ4UI53.mjs";
|
|
7
|
+
import "../chunk-L6KEJB2P.mjs";
|
|
8
|
+
import "../chunk-ZMYAMYEL.mjs";
|
|
9
|
+
import "../chunk-MOHYGUMA.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-NTT3NWTL.mjs";
|
|
11
14
|
import "../chunk-IQQQ5P6R.mjs";
|
|
12
|
-
import "../chunk-IXUCY7AU.mjs";
|
|
13
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
14
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
15
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -58925,7 +58925,7 @@ var Billing = class extends ClientSDK {
|
|
|
58925
58925
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58926
58926
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58927
58927
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58928
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58928
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58929
58929
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58930
58930
|
*
|
|
58931
58931
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59063,7 +59063,7 @@ var Billing = class extends ClientSDK {
|
|
|
59063
59063
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59064
59064
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59065
59065
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59066
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59066
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59067
59067
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59068
59068
|
*
|
|
59069
59069
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-SQKT6KS7.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-3RJ4UI53.mjs";
|
|
7
|
+
import "../chunk-L6KEJB2P.mjs";
|
|
8
|
+
import "../chunk-ZMYAMYEL.mjs";
|
|
9
|
+
import "../chunk-MOHYGUMA.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-NTT3NWTL.mjs";
|
|
11
14
|
import "../chunk-IQQQ5P6R.mjs";
|
|
12
|
-
import "../chunk-IXUCY7AU.mjs";
|
|
13
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
14
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
15
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -58925,7 +58925,7 @@ var Billing = class extends ClientSDK {
|
|
|
58925
58925
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58926
58926
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58927
58927
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58928
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58928
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58929
58929
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58930
58930
|
*
|
|
58931
58931
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59063,7 +59063,7 @@ var Billing = class extends ClientSDK {
|
|
|
59063
59063
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59064
59064
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59065
59065
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59066
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59066
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59067
59067
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59068
59068
|
*
|
|
59069
59069
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-7HTOZMKW.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-3RJ4UI53.mjs";
|
|
7
|
+
import "../chunk-L6KEJB2P.mjs";
|
|
8
|
+
import "../chunk-ZMYAMYEL.mjs";
|
|
9
|
+
import "../chunk-MOHYGUMA.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-NTT3NWTL.mjs";
|
|
11
14
|
import "../chunk-IQQQ5P6R.mjs";
|
|
12
|
-
import "../chunk-IXUCY7AU.mjs";
|
|
13
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
14
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
15
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -58928,7 +58928,7 @@ var Billing = class extends ClientSDK {
|
|
|
58928
58928
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58929
58929
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58930
58930
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58931
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58931
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58932
58932
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58933
58933
|
*
|
|
58934
58934
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59066,7 +59066,7 @@ var Billing = class extends ClientSDK {
|
|
|
59066
59066
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59067
59067
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59068
59068
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59069
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59069
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59070
59070
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59071
59071
|
*
|
|
59072
59072
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-HI54YU3D.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-SQKT6KS7.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-7HTOZMKW.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-RAGDMUCF.mjs";
|
|
13
13
|
import "../chunk-WYDGEDEU.mjs";
|
|
14
14
|
import "../chunk-VXND2UDT.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-3RJ4UI53.mjs";
|
|
16
|
+
import "../chunk-L6KEJB2P.mjs";
|
|
17
|
+
import "../chunk-ZMYAMYEL.mjs";
|
|
18
|
+
import "../chunk-MOHYGUMA.mjs";
|
|
19
|
+
import "../chunk-TBQ27LIK.mjs";
|
|
20
|
+
import "../chunk-J44WR3QZ.mjs";
|
|
17
21
|
import "../chunk-TSF4YCUO.mjs";
|
|
18
22
|
import "../chunk-UAR3TMWI.mjs";
|
|
19
|
-
import "../chunk-NTT3NWTL.mjs";
|
|
20
23
|
import "../chunk-IQQQ5P6R.mjs";
|
|
21
|
-
import "../chunk-IXUCY7AU.mjs";
|
|
22
24
|
import "../chunk-OTXV5FY7.mjs";
|
|
23
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
24
25
|
import "../chunk-VZIMT7AO.mjs";
|
|
25
|
-
import "../chunk-
|
|
26
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
26
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
27
27
|
import "../chunk-N7NFYY54.mjs";
|
|
28
28
|
export {
|
|
29
29
|
autumnHandler as expressAutumnHandler,
|
|
@@ -58926,7 +58926,7 @@ var Billing = class extends ClientSDK {
|
|
|
58926
58926
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58927
58927
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58928
58928
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58929
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58929
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58930
58930
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58931
58931
|
*
|
|
58932
58932
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59064,7 +59064,7 @@ var Billing = class extends ClientSDK {
|
|
|
59064
59064
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59065
59065
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59066
59066
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59067
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59067
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59068
59068
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59069
59069
|
*
|
|
59070
59070
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-RAGDMUCF.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-3RJ4UI53.mjs";
|
|
7
|
+
import "../chunk-L6KEJB2P.mjs";
|
|
8
|
+
import "../chunk-ZMYAMYEL.mjs";
|
|
9
|
+
import "../chunk-MOHYGUMA.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-NTT3NWTL.mjs";
|
|
11
14
|
import "../chunk-IQQQ5P6R.mjs";
|
|
12
|
-
import "../chunk-IXUCY7AU.mjs";
|
|
13
15
|
import "../chunk-OTXV5FY7.mjs";
|
|
14
|
-
import "../chunk-I7CD6EB6.mjs";
|
|
15
16
|
import "../chunk-VZIMT7AO.mjs";
|
|
16
|
-
import "../chunk-
|
|
17
|
-
import "../chunk-J44WR3QZ.mjs";
|
|
17
|
+
import "../chunk-I7CD6EB6.mjs";
|
|
18
18
|
import "../chunk-N7NFYY54.mjs";
|
|
19
19
|
export {
|
|
20
20
|
autumnHandler
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Autumn
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZMYAMYEL.mjs";
|
|
4
|
+
import {
|
|
5
|
+
executeRoute
|
|
6
|
+
} from "./chunk-MOHYGUMA.mjs";
|
|
4
7
|
import {
|
|
5
8
|
routeConfigs
|
|
6
9
|
} from "./chunk-IQQQ5P6R.mjs";
|
|
7
|
-
import {
|
|
8
|
-
executeRoute
|
|
9
|
-
} from "./chunk-IXUCY7AU.mjs";
|
|
10
10
|
import {
|
|
11
11
|
secretKeyCheck
|
|
12
12
|
} from "./chunk-VZIMT7AO.mjs";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Autumn
|
|
3
|
+
} from "./chunk-ZMYAMYEL.mjs";
|
|
4
|
+
import {
|
|
5
|
+
executeRoute
|
|
6
|
+
} from "./chunk-MOHYGUMA.mjs";
|
|
1
7
|
import {
|
|
2
8
|
buildRouter
|
|
3
9
|
} from "./chunk-UAR3TMWI.mjs";
|
|
4
|
-
import {
|
|
5
|
-
Autumn
|
|
6
|
-
} from "./chunk-NTT3NWTL.mjs";
|
|
7
10
|
import {
|
|
8
11
|
routeConfigs
|
|
9
12
|
} from "./chunk-IQQQ5P6R.mjs";
|
|
10
|
-
import {
|
|
11
|
-
executeRoute
|
|
12
|
-
} from "./chunk-IXUCY7AU.mjs";
|
|
13
13
|
import {
|
|
14
14
|
secretKeyCheck
|
|
15
15
|
} from "./chunk-VZIMT7AO.mjs";
|
|
@@ -58870,7 +58870,7 @@ var Billing = class extends ClientSDK {
|
|
|
58870
58870
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58871
58871
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58872
58872
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58873
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58873
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58874
58874
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58875
58875
|
*
|
|
58876
58876
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59008,7 +59008,7 @@ var Billing = class extends ClientSDK {
|
|
|
59008
59008
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59009
59009
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59010
59010
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59011
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59011
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59012
59012
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59013
59013
|
*
|
|
59014
59014
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
|
|
2
2
|
import '../../authTypes-TPWTIfcM.mjs';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-BYO_tt3w.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.mjs';
|
|
6
6
|
import '../types/responseTypes.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.js';
|
|
2
2
|
import '../../authTypes-TPWTIfcM.js';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-j2nKc0Ve.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
6
6
|
import '../types/responseTypes.js';
|
|
@@ -58925,7 +58925,7 @@ var Billing = class extends ClientSDK {
|
|
|
58925
58925
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58926
58926
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58927
58927
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58928
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58928
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58929
58929
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58930
58930
|
*
|
|
58931
58931
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59063,7 +59063,7 @@ var Billing = class extends ClientSDK {
|
|
|
59063
59063
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59064
59064
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59065
59065
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59066
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59066
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59067
59067
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59068
59068
|
*
|
|
59069
59069
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCoreHandler
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-L6KEJB2P.mjs";
|
|
4
|
+
import "../../chunk-ZMYAMYEL.mjs";
|
|
5
|
+
import "../../chunk-MOHYGUMA.mjs";
|
|
6
|
+
import "../../chunk-TBQ27LIK.mjs";
|
|
7
|
+
import "../../chunk-J44WR3QZ.mjs";
|
|
4
8
|
import "../../chunk-TSF4YCUO.mjs";
|
|
5
9
|
import "../../chunk-UAR3TMWI.mjs";
|
|
6
|
-
import "../../chunk-NTT3NWTL.mjs";
|
|
7
10
|
import "../../chunk-IQQQ5P6R.mjs";
|
|
8
|
-
import "../../chunk-IXUCY7AU.mjs";
|
|
9
11
|
import "../../chunk-OTXV5FY7.mjs";
|
|
10
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
11
12
|
import "../../chunk-VZIMT7AO.mjs";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-J44WR3QZ.mjs";
|
|
13
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
14
14
|
import "../../chunk-N7NFYY54.mjs";
|
|
15
15
|
export {
|
|
16
16
|
createCoreHandler
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-BYO_tt3w.mjs';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-TPWTIfcM.mjs';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-j2nKc0Ve.js';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-TPWTIfcM.js';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeRoute
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-OTXV5FY7.mjs";
|
|
5
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
6
|
-
import "../../chunk-VZIMT7AO.mjs";
|
|
3
|
+
} from "../../chunk-MOHYGUMA.mjs";
|
|
7
4
|
import "../../chunk-TBQ27LIK.mjs";
|
|
8
5
|
import "../../chunk-J44WR3QZ.mjs";
|
|
6
|
+
import "../../chunk-OTXV5FY7.mjs";
|
|
7
|
+
import "../../chunk-VZIMT7AO.mjs";
|
|
8
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
9
9
|
import "../../chunk-N7NFYY54.mjs";
|
|
10
10
|
export {
|
|
11
11
|
executeRoute
|
|
@@ -58925,7 +58925,7 @@ var Billing = class extends ClientSDK {
|
|
|
58925
58925
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58926
58926
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58927
58927
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58928
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58928
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58929
58929
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58930
58930
|
*
|
|
58931
58931
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59063,7 +59063,7 @@ var Billing = class extends ClientSDK {
|
|
|
59063
59063
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59064
59064
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59065
59065
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59066
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59066
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59067
59067
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59068
59068
|
*
|
|
59069
59069
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleRouteByName
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-3RJ4UI53.mjs";
|
|
4
|
+
import "../../chunk-ZMYAMYEL.mjs";
|
|
5
|
+
import "../../chunk-MOHYGUMA.mjs";
|
|
6
|
+
import "../../chunk-TBQ27LIK.mjs";
|
|
7
|
+
import "../../chunk-J44WR3QZ.mjs";
|
|
5
8
|
import "../../chunk-IQQQ5P6R.mjs";
|
|
6
|
-
import "../../chunk-IXUCY7AU.mjs";
|
|
7
9
|
import "../../chunk-OTXV5FY7.mjs";
|
|
8
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
9
10
|
import "../../chunk-VZIMT7AO.mjs";
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-J44WR3QZ.mjs";
|
|
11
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
12
12
|
import "../../chunk-N7NFYY54.mjs";
|
|
13
13
|
export {
|
|
14
14
|
handleRouteByName
|
|
@@ -5,7 +5,7 @@ export { handleRouteByName } from './handleRouteByName.mjs';
|
|
|
5
5
|
export { resolveIdentity } from './resolveIdentity.mjs';
|
|
6
6
|
import '../types/handlerTypes.mjs';
|
|
7
7
|
import '../../authTypes-TPWTIfcM.mjs';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-BYO_tt3w.mjs';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../utils/sanitizeBody.mjs';
|
|
11
11
|
import '../types/responseTypes.mjs';
|
|
@@ -5,7 +5,7 @@ export { handleRouteByName } from './handleRouteByName.js';
|
|
|
5
5
|
export { resolveIdentity } from './resolveIdentity.js';
|
|
6
6
|
import '../types/handlerTypes.js';
|
|
7
7
|
import '../../authTypes-TPWTIfcM.js';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-j2nKc0Ve.js';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../utils/sanitizeBody.js';
|
|
11
11
|
import '../types/responseTypes.js';
|
|
@@ -58929,7 +58929,7 @@ var Billing = class extends ClientSDK {
|
|
|
58929
58929
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
58930
58930
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
58931
58931
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
58932
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
58932
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
58933
58933
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
58934
58934
|
*
|
|
58935
58935
|
* @returns A billing response with customer ID, invoice details, and payment URL (if checkout required).
|
|
@@ -59067,7 +59067,7 @@ var Billing = class extends ClientSDK {
|
|
|
59067
59067
|
* @param enablePlanImmediately - If true, the customer's plan is activated immediately even when payment is deferred (invoice mode) or pending (Stripe checkout). For Stripe checkout, the customer_product is inserted before the customer completes the hosted form. Set it here rather than on `invoice_mode`, which only covers the invoice-unpaid case. (optional)
|
|
59068
59068
|
* @param taxRateId - Stripe tax rate ID (txr_...) to apply as the default tax rate on the created subscription, invoice, or checkout session line items. (optional)
|
|
59069
59069
|
* @param currency - Currency to bill this attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and the plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
59070
|
-
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan
|
|
59070
|
+
* @param removePlanIds - Plan IDs to expire on the customer as part of this attach. Each must be an active plan. When no plan in the same group is being replaced, the attach takes over the subscription of the first paid plan listed here, unless `new_billing_subscription` is true (paid plans cannot be removed in that case). Any other paid plan must be billed on that same subscription (free plans can always be removed). Only allowed when the new plan starts immediately (not with `plan_schedule: end_of_cycle`, or a future `starts_at` without `enable_plan_immediately`). (optional)
|
|
59071
59071
|
* @param removeDiscounts - Discounts to remove from the subscription, by reward ID. Discounts not listed are left unchanged. (optional)
|
|
59072
59072
|
*
|
|
59073
59073
|
* @returns A preview response with line items, totals, and effective dates for the proposed changes.
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import "../../chunk-VXND2UDT.mjs";
|
|
2
2
|
import {
|
|
3
3
|
handleRouteByName
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-3RJ4UI53.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCoreHandler
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../../chunk-NTT3NWTL.mjs";
|
|
11
|
-
import "../../chunk-IQQQ5P6R.mjs";
|
|
7
|
+
} from "../../chunk-L6KEJB2P.mjs";
|
|
8
|
+
import "../../chunk-ZMYAMYEL.mjs";
|
|
12
9
|
import {
|
|
13
10
|
executeRoute
|
|
14
|
-
} from "../../chunk-
|
|
15
|
-
import "../../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
17
|
-
import "../../chunk-VZIMT7AO.mjs";
|
|
11
|
+
} from "../../chunk-MOHYGUMA.mjs";
|
|
18
12
|
import {
|
|
19
13
|
resolveIdentity
|
|
20
14
|
} from "../../chunk-TBQ27LIK.mjs";
|
|
21
15
|
import {
|
|
22
16
|
transformSdkError
|
|
23
17
|
} from "../../chunk-J44WR3QZ.mjs";
|
|
18
|
+
import "../../chunk-TSF4YCUO.mjs";
|
|
19
|
+
import "../../chunk-UAR3TMWI.mjs";
|
|
20
|
+
import "../../chunk-IQQQ5P6R.mjs";
|
|
21
|
+
import "../../chunk-OTXV5FY7.mjs";
|
|
22
|
+
import "../../chunk-VZIMT7AO.mjs";
|
|
23
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
24
24
|
import "../../chunk-N7NFYY54.mjs";
|
|
25
25
|
export {
|
|
26
26
|
createCoreHandler,
|