autumn-js 1.5.50 → 1.5.51

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.
Files changed (97) hide show
  1. package/dist/backend/adapters/express.js +2 -2
  2. package/dist/backend/adapters/express.mjs +5 -5
  3. package/dist/backend/adapters/fetch.js +2 -2
  4. package/dist/backend/adapters/fetch.mjs +5 -5
  5. package/dist/backend/adapters/hono.js +2 -2
  6. package/dist/backend/adapters/hono.mjs +5 -5
  7. package/dist/backend/adapters/index.js +2 -2
  8. package/dist/backend/adapters/index.mjs +8 -8
  9. package/dist/backend/adapters/next.js +2 -2
  10. package/dist/backend/adapters/next.mjs +5 -5
  11. package/dist/backend/{chunk-NWYOFUW5.mjs → chunk-BCZ2UC26.mjs} +1 -1
  12. package/dist/backend/{chunk-TAYLJNYT.mjs → chunk-KKFHI5TH.mjs} +1 -1
  13. package/dist/backend/{chunk-4MI3DVSW.mjs → chunk-KRQVKZBM.mjs} +1 -1
  14. package/dist/backend/{chunk-OFDVZKAG.mjs → chunk-RKP7YVUW.mjs} +2 -2
  15. package/dist/backend/{chunk-HQN46EZ7.mjs → chunk-T4B4HJ7W.mjs} +1 -1
  16. package/dist/backend/{chunk-QAAPBH4W.mjs → chunk-X67VTGLR.mjs} +1 -1
  17. package/dist/backend/{chunk-PM4CYLK2.mjs → chunk-YDJI544U.mjs} +1 -1
  18. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  19. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.js +2 -2
  21. package/dist/backend/core/handlers/coreHandler.mjs +3 -3
  22. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  23. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  24. package/dist/backend/core/handlers/executeRoute.mjs +1 -1
  25. package/dist/backend/core/handlers/handleRouteByName.js +2 -2
  26. package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
  27. package/dist/backend/core/handlers/index.d.mts +1 -1
  28. package/dist/backend/core/handlers/index.d.ts +1 -1
  29. package/dist/backend/core/handlers/index.js +2 -2
  30. package/dist/backend/core/handlers/index.mjs +6 -6
  31. package/dist/backend/core/index.d.mts +1 -1
  32. package/dist/backend/core/index.d.ts +1 -1
  33. package/dist/backend/core/index.js +2 -2
  34. package/dist/backend/core/index.mjs +8 -8
  35. package/dist/backend/core/routes/index.d.mts +1 -1
  36. package/dist/backend/core/routes/index.d.ts +1 -1
  37. package/dist/backend/core/routes/index.mjs +1 -1
  38. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  39. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  40. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  41. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  43. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  44. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  45. package/dist/backend/core/types/index.d.mts +1 -1
  46. package/dist/backend/core/types/index.d.ts +1 -1
  47. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  48. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  49. package/dist/backend/core/utils/index.mjs +3 -3
  50. package/dist/backend/index.d.mts +2 -2
  51. package/dist/backend/index.d.ts +2 -2
  52. package/dist/backend/index.js +2 -2
  53. package/dist/backend/index.mjs +6 -6
  54. package/dist/backend/{routeTypes-D-Ci4ENS.d.mts → routeTypes-BoNrhwDM.d.mts} +33 -33
  55. package/dist/backend/{routeTypes-C6YLRNce.d.ts → routeTypes-Bobh42Qk.d.ts} +33 -33
  56. package/dist/better-auth/{chunk-ENPSYIEM.mjs → chunk-7HIRVLR2.mjs} +2 -2
  57. package/dist/better-auth/index.js +2 -2
  58. package/dist/better-auth/index.mjs +1 -1
  59. package/dist/better-auth/utils/handleBetterAuthRoute.js +2 -2
  60. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
  61. package/dist/better-auth/utils/index.js +2 -2
  62. package/dist/better-auth/utils/index.mjs +1 -1
  63. package/dist/react/AutumnContext.d.mts +1 -1
  64. package/dist/react/AutumnContext.d.ts +1 -1
  65. package/dist/react/client/AutumnClient.d.mts +1 -1
  66. package/dist/react/client/AutumnClient.d.ts +1 -1
  67. package/dist/react/client/IAutumnClient.d.mts +1 -1
  68. package/dist/react/client/IAutumnClient.d.ts +1 -1
  69. package/dist/react/client/index.d.mts +1 -1
  70. package/dist/react/client/index.d.ts +1 -1
  71. package/dist/react/hooks/index.d.mts +1 -1
  72. package/dist/react/hooks/index.d.ts +1 -1
  73. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +1 -1
  74. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +1 -1
  75. package/dist/react/hooks/internal/useCustomerActions.d.mts +1 -1
  76. package/dist/react/hooks/internal/useCustomerActions.d.ts +1 -1
  77. package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
  78. package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
  79. package/dist/react/hooks/useCustomer.d.mts +1 -1
  80. package/dist/react/hooks/useCustomer.d.ts +1 -1
  81. package/dist/react/hooks/useEntity.d.mts +1 -1
  82. package/dist/react/hooks/useEntity.d.ts +1 -1
  83. package/dist/react/hooks/useListEvents.d.mts +1 -1
  84. package/dist/react/hooks/useListEvents.d.ts +1 -1
  85. package/dist/react/hooks/useListPlans.d.mts +1 -1
  86. package/dist/react/hooks/useListPlans.d.ts +1 -1
  87. package/dist/react/hooks/useReferrals.d.mts +1 -1
  88. package/dist/react/hooks/useReferrals.d.ts +1 -1
  89. package/dist/react/index.d.mts +1 -1
  90. package/dist/react/index.d.ts +1 -1
  91. package/dist/react/{params-CWpGsqcE.d.ts → params-BFClrXjz.d.ts} +27 -27
  92. package/dist/react/{params-CSQsuIRD.d.mts → params-CgwwogoE.d.mts} +27 -27
  93. package/dist/sdk/index.d.mts +33 -33
  94. package/dist/sdk/index.d.ts +33 -33
  95. package/dist/sdk/index.js +2 -2
  96. package/dist/sdk/index.mjs +2 -2
  97. package/package.json +4 -3
@@ -130759,7 +130759,7 @@ var Billing = class extends ClientSDK {
130759
130759
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130760
130760
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130761
130761
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130762
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130762
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130763
130763
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130764
130764
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130765
130765
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130902,7 +130902,7 @@ var Billing = class extends ClientSDK {
130902
130902
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130903
130903
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130904
130904
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130905
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130905
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130906
130906
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130907
130907
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130908
130908
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-PM4CYLK2.mjs";
3
+ } from "../chunk-YDJI544U.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-TAYLJNYT.mjs";
7
- import "../chunk-4MI3DVSW.mjs";
8
- import "../chunk-OFDVZKAG.mjs";
6
+ import "../chunk-KRQVKZBM.mjs";
7
+ import "../chunk-KKFHI5TH.mjs";
8
+ import "../chunk-RKP7YVUW.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
13
13
  import "../chunk-UAR3TMWI.mjs";
14
14
  import "../chunk-V3XIDNBE.mjs";
15
15
  import "../chunk-OTXV5FY7.mjs";
16
- import "../chunk-I7CD6EB6.mjs";
17
16
  import "../chunk-VZIMT7AO.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -130759,7 +130759,7 @@ var Billing = class extends ClientSDK {
130759
130759
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130760
130760
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130761
130761
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130762
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130762
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130763
130763
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130764
130764
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130765
130765
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130902,7 +130902,7 @@ var Billing = class extends ClientSDK {
130902
130902
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130903
130903
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130904
130904
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130905
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130905
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130906
130906
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130907
130907
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130908
130908
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-NWYOFUW5.mjs";
3
+ } from "../chunk-BCZ2UC26.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-TAYLJNYT.mjs";
7
- import "../chunk-4MI3DVSW.mjs";
8
- import "../chunk-OFDVZKAG.mjs";
6
+ import "../chunk-KRQVKZBM.mjs";
7
+ import "../chunk-KKFHI5TH.mjs";
8
+ import "../chunk-RKP7YVUW.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
13
13
  import "../chunk-UAR3TMWI.mjs";
14
14
  import "../chunk-V3XIDNBE.mjs";
15
15
  import "../chunk-OTXV5FY7.mjs";
16
- import "../chunk-I7CD6EB6.mjs";
17
16
  import "../chunk-VZIMT7AO.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -130759,7 +130759,7 @@ var Billing = class extends ClientSDK {
130759
130759
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130760
130760
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130761
130761
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130762
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130762
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130763
130763
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130764
130764
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130765
130765
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130902,7 +130902,7 @@ var Billing = class extends ClientSDK {
130902
130902
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130903
130903
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130904
130904
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130905
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130905
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130906
130906
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130907
130907
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130908
130908
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-QAAPBH4W.mjs";
3
+ } from "../chunk-X67VTGLR.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-TAYLJNYT.mjs";
7
- import "../chunk-4MI3DVSW.mjs";
8
- import "../chunk-OFDVZKAG.mjs";
6
+ import "../chunk-KRQVKZBM.mjs";
7
+ import "../chunk-KKFHI5TH.mjs";
8
+ import "../chunk-RKP7YVUW.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
13
13
  import "../chunk-UAR3TMWI.mjs";
14
14
  import "../chunk-V3XIDNBE.mjs";
15
15
  import "../chunk-OTXV5FY7.mjs";
16
- import "../chunk-I7CD6EB6.mjs";
17
16
  import "../chunk-VZIMT7AO.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -130762,7 +130762,7 @@ var Billing = class extends ClientSDK {
130762
130762
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130763
130763
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130764
130764
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130765
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130765
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130766
130766
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130767
130767
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130768
130768
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130905,7 +130905,7 @@ var Billing = class extends ClientSDK {
130905
130905
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130906
130906
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130907
130907
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130908
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130908
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130909
130909
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130910
130910
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130911
130911
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-PM4CYLK2.mjs";
3
+ } from "../chunk-YDJI544U.mjs";
4
4
  import {
5
5
  autumnHandler as autumnHandler2
6
- } from "../chunk-NWYOFUW5.mjs";
6
+ } from "../chunk-BCZ2UC26.mjs";
7
7
  import {
8
8
  autumnHandler as autumnHandler3
9
- } from "../chunk-QAAPBH4W.mjs";
9
+ } from "../chunk-X67VTGLR.mjs";
10
10
  import {
11
11
  autumnHandler as autumnHandler4
12
- } from "../chunk-HQN46EZ7.mjs";
12
+ } from "../chunk-T4B4HJ7W.mjs";
13
13
  import "../chunk-WYDGEDEU.mjs";
14
14
  import "../chunk-VXND2UDT.mjs";
15
- import "../chunk-TAYLJNYT.mjs";
16
- import "../chunk-4MI3DVSW.mjs";
17
- import "../chunk-OFDVZKAG.mjs";
15
+ import "../chunk-KRQVKZBM.mjs";
16
+ import "../chunk-KKFHI5TH.mjs";
17
+ import "../chunk-RKP7YVUW.mjs";
18
18
  import "../chunk-MOHYGUMA.mjs";
19
19
  import "../chunk-TBQ27LIK.mjs";
20
20
  import "../chunk-J44WR3QZ.mjs";
@@ -22,8 +22,8 @@ import "../chunk-TSF4YCUO.mjs";
22
22
  import "../chunk-UAR3TMWI.mjs";
23
23
  import "../chunk-V3XIDNBE.mjs";
24
24
  import "../chunk-OTXV5FY7.mjs";
25
- import "../chunk-I7CD6EB6.mjs";
26
25
  import "../chunk-VZIMT7AO.mjs";
26
+ import "../chunk-I7CD6EB6.mjs";
27
27
  import "../chunk-N7NFYY54.mjs";
28
28
  export {
29
29
  autumnHandler as expressAutumnHandler,
@@ -130760,7 +130760,7 @@ var Billing = class extends ClientSDK {
130760
130760
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130761
130761
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130762
130762
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130763
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130763
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130764
130764
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130765
130765
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130766
130766
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130903,7 +130903,7 @@ var Billing = class extends ClientSDK {
130903
130903
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130904
130904
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130905
130905
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130906
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130906
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130907
130907
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130908
130908
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130909
130909
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-HQN46EZ7.mjs";
3
+ } from "../chunk-T4B4HJ7W.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-TAYLJNYT.mjs";
7
- import "../chunk-4MI3DVSW.mjs";
8
- import "../chunk-OFDVZKAG.mjs";
6
+ import "../chunk-KRQVKZBM.mjs";
7
+ import "../chunk-KKFHI5TH.mjs";
8
+ import "../chunk-RKP7YVUW.mjs";
9
9
  import "../chunk-MOHYGUMA.mjs";
10
10
  import "../chunk-TBQ27LIK.mjs";
11
11
  import "../chunk-J44WR3QZ.mjs";
@@ -13,8 +13,8 @@ import "../chunk-TSF4YCUO.mjs";
13
13
  import "../chunk-UAR3TMWI.mjs";
14
14
  import "../chunk-V3XIDNBE.mjs";
15
15
  import "../chunk-OTXV5FY7.mjs";
16
- import "../chunk-I7CD6EB6.mjs";
17
16
  import "../chunk-VZIMT7AO.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-TAYLJNYT.mjs";
3
+ } from "./chunk-KKFHI5TH.mjs";
4
4
 
5
5
  // src/backend/adapters/fetch.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Autumn
3
- } from "./chunk-OFDVZKAG.mjs";
3
+ } from "./chunk-RKP7YVUW.mjs";
4
4
  import {
5
5
  executeRoute
6
6
  } from "./chunk-MOHYGUMA.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Autumn
3
- } from "./chunk-OFDVZKAG.mjs";
3
+ } from "./chunk-RKP7YVUW.mjs";
4
4
  import {
5
5
  executeRoute
6
6
  } from "./chunk-MOHYGUMA.mjs";
@@ -130704,7 +130704,7 @@ var Billing = class extends ClientSDK {
130704
130704
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130705
130705
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130706
130706
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130707
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130707
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130708
130708
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130709
130709
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130710
130710
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130847,7 +130847,7 @@ var Billing = class extends ClientSDK {
130847
130847
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130848
130848
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130849
130849
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130850
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130850
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130851
130851
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130852
130852
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130853
130853
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-TAYLJNYT.mjs";
3
+ } from "./chunk-KKFHI5TH.mjs";
4
4
 
5
5
  // src/backend/adapters/next.ts
6
6
  import { NextResponse } from "next/server";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-TAYLJNYT.mjs";
3
+ } from "./chunk-KKFHI5TH.mjs";
4
4
 
5
5
  // src/backend/adapters/hono.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-TAYLJNYT.mjs";
3
+ } from "./chunk-KKFHI5TH.mjs";
4
4
 
5
5
  // src/backend/adapters/express.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
2
2
  import '../../authTypes-dTAu1NT5.mjs';
3
- import '../../routeTypes-D-Ci4ENS.mjs';
3
+ import '../../routeTypes-BoNrhwDM.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-dTAu1NT5.js';
3
- import '../../routeTypes-C6YLRNce.js';
3
+ import '../../routeTypes-Bobh42Qk.js';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.js';
6
6
  import '../types/responseTypes.js';
@@ -130759,7 +130759,7 @@ var Billing = class extends ClientSDK {
130759
130759
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130760
130760
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130761
130761
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130762
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130762
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130763
130763
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130764
130764
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130765
130765
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130902,7 +130902,7 @@ var Billing = class extends ClientSDK {
130902
130902
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130903
130903
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130904
130904
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130905
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130905
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130906
130906
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130907
130907
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130908
130908
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "../../chunk-TAYLJNYT.mjs";
4
- import "../../chunk-OFDVZKAG.mjs";
3
+ } from "../../chunk-KKFHI5TH.mjs";
4
+ import "../../chunk-RKP7YVUW.mjs";
5
5
  import "../../chunk-MOHYGUMA.mjs";
6
6
  import "../../chunk-TBQ27LIK.mjs";
7
7
  import "../../chunk-J44WR3QZ.mjs";
@@ -9,8 +9,8 @@ import "../../chunk-TSF4YCUO.mjs";
9
9
  import "../../chunk-UAR3TMWI.mjs";
10
10
  import "../../chunk-V3XIDNBE.mjs";
11
11
  import "../../chunk-OTXV5FY7.mjs";
12
- import "../../chunk-I7CD6EB6.mjs";
13
12
  import "../../chunk-VZIMT7AO.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-D-Ci4ENS.mjs';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-BoNrhwDM.mjs';
2
2
  import { A as AuthResult } from '../../authTypes-dTAu1NT5.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-C6YLRNce.js';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-Bobh42Qk.js';
2
2
  import { A as AuthResult } from '../../authTypes-dTAu1NT5.js';
3
3
  import { BackendResult } from '../types/responseTypes.js';
4
4
  import 'zod/v4';
@@ -4,8 +4,8 @@ import {
4
4
  import "../../chunk-TBQ27LIK.mjs";
5
5
  import "../../chunk-J44WR3QZ.mjs";
6
6
  import "../../chunk-OTXV5FY7.mjs";
7
- import "../../chunk-I7CD6EB6.mjs";
8
7
  import "../../chunk-VZIMT7AO.mjs";
8
+ import "../../chunk-I7CD6EB6.mjs";
9
9
  import "../../chunk-N7NFYY54.mjs";
10
10
  export {
11
11
  executeRoute
@@ -130759,7 +130759,7 @@ var Billing = class extends ClientSDK {
130759
130759
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130760
130760
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130761
130761
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130762
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130762
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130763
130763
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130764
130764
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130765
130765
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130902,7 +130902,7 @@ var Billing = class extends ClientSDK {
130902
130902
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130903
130903
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130904
130904
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130905
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130905
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130906
130906
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130907
130907
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130908
130908
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  handleRouteByName
3
- } from "../../chunk-4MI3DVSW.mjs";
4
- import "../../chunk-OFDVZKAG.mjs";
3
+ } from "../../chunk-KRQVKZBM.mjs";
4
+ import "../../chunk-RKP7YVUW.mjs";
5
5
  import "../../chunk-MOHYGUMA.mjs";
6
6
  import "../../chunk-TBQ27LIK.mjs";
7
7
  import "../../chunk-J44WR3QZ.mjs";
8
8
  import "../../chunk-V3XIDNBE.mjs";
9
9
  import "../../chunk-OTXV5FY7.mjs";
10
- import "../../chunk-I7CD6EB6.mjs";
11
10
  import "../../chunk-VZIMT7AO.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-dTAu1NT5.mjs';
8
- import '../../routeTypes-D-Ci4ENS.mjs';
8
+ import '../../routeTypes-BoNrhwDM.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-dTAu1NT5.js';
8
- import '../../routeTypes-C6YLRNce.js';
8
+ import '../../routeTypes-Bobh42Qk.js';
9
9
  import 'zod/v4';
10
10
  import '../utils/sanitizeBody.js';
11
11
  import '../types/responseTypes.js';
@@ -130763,7 +130763,7 @@ var Billing = class extends ClientSDK {
130763
130763
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130764
130764
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130765
130765
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130766
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130766
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130767
130767
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130768
130768
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130769
130769
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130906,7 +130906,7 @@ var Billing = class extends ClientSDK {
130906
130906
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130907
130907
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130908
130908
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130909
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130909
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130910
130910
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130911
130911
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130912
130912
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,11 +1,11 @@
1
1
  import "../../chunk-VXND2UDT.mjs";
2
- import {
3
- createCoreHandler
4
- } from "../../chunk-TAYLJNYT.mjs";
5
2
  import {
6
3
  handleRouteByName
7
- } from "../../chunk-4MI3DVSW.mjs";
8
- import "../../chunk-OFDVZKAG.mjs";
4
+ } from "../../chunk-KRQVKZBM.mjs";
5
+ import {
6
+ createCoreHandler
7
+ } from "../../chunk-KKFHI5TH.mjs";
8
+ import "../../chunk-RKP7YVUW.mjs";
9
9
  import {
10
10
  executeRoute
11
11
  } from "../../chunk-MOHYGUMA.mjs";
@@ -19,8 +19,8 @@ import "../../chunk-TSF4YCUO.mjs";
19
19
  import "../../chunk-UAR3TMWI.mjs";
20
20
  import "../../chunk-V3XIDNBE.mjs";
21
21
  import "../../chunk-OTXV5FY7.mjs";
22
- import "../../chunk-I7CD6EB6.mjs";
23
22
  import "../../chunk-VZIMT7AO.mjs";
23
+ import "../../chunk-I7CD6EB6.mjs";
24
24
  import "../../chunk-N7NFYY54.mjs";
25
25
  export {
26
26
  createCoreHandler,
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.mjs';
2
2
  export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-dTAu1NT5.mjs';
3
3
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.mjs';
4
4
  export { BackendErrorBody, BackendResult } from './types/responseTypes.mjs';
5
- export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-D-Ci4ENS.mjs';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-BoNrhwDM.mjs';
6
6
  export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.mjs';
7
7
  export { buildRouter } from './routes/routeBuilder.mjs';
8
8
  export { routeConfigs } from './routes/routeConfigs.mjs';
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.js';
2
2
  export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-dTAu1NT5.js';
3
3
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.js';
4
4
  export { BackendErrorBody, BackendResult } from './types/responseTypes.js';
5
- export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-C6YLRNce.js';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-Bobh42Qk.js';
6
6
  export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.js';
7
7
  export { buildRouter } from './routes/routeBuilder.js';
8
8
  export { routeConfigs } from './routes/routeConfigs.js';
@@ -130767,7 +130767,7 @@ var Billing = class extends ClientSDK {
130767
130767
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130768
130768
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130769
130769
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130770
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130770
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130771
130771
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130772
130772
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130773
130773
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -130910,7 +130910,7 @@ var Billing = class extends ClientSDK {
130910
130910
  * @param newBillingSubscription - Only applicable when the customer has an existing Stripe subscription. If true, creates a new separate subscription instead of merging into the existing one. (optional)
130911
130911
  * @param billingCycleAnchor - Reset the billing cycle immediately with 'now', or schedule a reset at a future Unix timestamp in milliseconds. (optional)
130912
130912
  * @param planSchedule - When the plan change should take effect. 'immediate' applies now, 'end_of_cycle' schedules for the end of the current billing cycle. By default, upgrades are immediate and downgrades are scheduled. (optional)
130913
- * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription. (optional)
130913
+ * @param startsAt - Unix timestamp in milliseconds for when the attached plan should start. Future dates create a scheduled subscription; with invoice_mode, its first invoice is sent on that date on invoice_mode.net_terms_days. (optional)
130914
130914
  * @param endsAt - Unix timestamp in milliseconds for when the attached plan should end. (optional)
130915
130915
  * @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
130916
130916
  * @param longLivedCheckout - If true, returns an Autumn-hosted checkout link that can create a fresh Stripe checkout session when opened. (optional)
@@ -1,12 +1,12 @@
1
1
  import "../chunk-WYDGEDEU.mjs";
2
2
  import "../chunk-VXND2UDT.mjs";
3
- import {
4
- createCoreHandler
5
- } from "../chunk-TAYLJNYT.mjs";
6
3
  import {
7
4
  handleRouteByName
8
- } from "../chunk-4MI3DVSW.mjs";
9
- import "../chunk-OFDVZKAG.mjs";
5
+ } from "../chunk-KRQVKZBM.mjs";
6
+ import {
7
+ createCoreHandler
8
+ } from "../chunk-KKFHI5TH.mjs";
9
+ import "../chunk-RKP7YVUW.mjs";
10
10
  import "../chunk-MOHYGUMA.mjs";
11
11
  import "../chunk-TBQ27LIK.mjs";
12
12
  import "../chunk-J44WR3QZ.mjs";
@@ -18,12 +18,12 @@ import {
18
18
  routeConfigs
19
19
  } from "../chunk-V3XIDNBE.mjs";
20
20
  import "../chunk-OTXV5FY7.mjs";
21
- import {
22
- sanitizeBody
23
- } from "../chunk-I7CD6EB6.mjs";
24
21
  import {
25
22
  secretKeyCheck
26
23
  } from "../chunk-VZIMT7AO.mjs";
24
+ import {
25
+ sanitizeBody
26
+ } from "../chunk-I7CD6EB6.mjs";
27
27
  import {
28
28
  backendError,
29
29
  backendSuccess,
@@ -1,7 +1,7 @@
1
1
  export { RouteMatch, buildRouter } from './routeBuilder.mjs';
2
2
  export { routeConfigs } from './routeConfigs.mjs';
3
3
  import 'rou3';
4
- import '../../routeTypes-D-Ci4ENS.mjs';
4
+ import '../../routeTypes-BoNrhwDM.mjs';
5
5
  import '../../authTypes-dTAu1NT5.mjs';
6
6
  import 'zod/v4';
7
7
  import '../utils/sanitizeBody.mjs';