autumn-js 1.2.41 → 1.2.42

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 (68) hide show
  1. package/dist/backend/adapters/express.js +1 -1
  2. package/dist/backend/adapters/express.mjs +8 -8
  3. package/dist/backend/adapters/fetch.js +1 -1
  4. package/dist/backend/adapters/fetch.mjs +8 -8
  5. package/dist/backend/adapters/hono.js +1 -1
  6. package/dist/backend/adapters/hono.mjs +8 -8
  7. package/dist/backend/adapters/index.js +1 -1
  8. package/dist/backend/adapters/index.mjs +11 -11
  9. package/dist/backend/adapters/next.js +1 -1
  10. package/dist/backend/adapters/next.mjs +8 -8
  11. package/dist/backend/{chunk-2VGKOWXH.mjs → chunk-2ASVIRAA.mjs} +1 -1
  12. package/dist/backend/{chunk-CHL34LQO.mjs → chunk-5WO735CD.mjs} +1 -1
  13. package/dist/backend/{chunk-QKLYHQFJ.mjs → chunk-7L6HX4TI.mjs} +1 -1
  14. package/dist/backend/{chunk-UD2T3GKC.mjs → chunk-G5DMBKNT.mjs} +4 -4
  15. package/dist/backend/{chunk-6IRM5YOA.mjs → chunk-O2HPKVUP.mjs} +6 -6
  16. package/dist/backend/{chunk-FS2XS32M.mjs → chunk-WX5YWVPI.mjs} +1 -1
  17. package/dist/backend/{chunk-5FKCJ3TB.mjs → chunk-XO7KGLFT.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 +1 -1
  21. package/dist/backend/core/handlers/coreHandler.mjs +6 -6
  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 +4 -4
  25. package/dist/backend/core/handlers/handleRouteByName.js +1 -1
  26. package/dist/backend/core/handlers/handleRouteByName.mjs +6 -6
  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 +1 -1
  30. package/dist/backend/core/handlers/index.mjs +10 -10
  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 +1 -1
  34. package/dist/backend/core/index.mjs +9 -9
  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 +1 -1
  53. package/dist/backend/index.mjs +9 -9
  54. package/dist/backend/{routeTypes-Bqeo1-G5.d.ts → routeTypes-C1--P8gh.d.ts} +1 -1
  55. package/dist/backend/{routeTypes-6y6WfqD1.d.mts → routeTypes-DS9kdvAk.d.mts} +1 -1
  56. package/dist/better-auth/{chunk-CICEUVIO.mjs → chunk-I7YY4CZ6.mjs} +1 -1
  57. package/dist/better-auth/index.js +1 -1
  58. package/dist/better-auth/index.mjs +1 -1
  59. package/dist/better-auth/utils/handleBetterAuthRoute.js +1 -1
  60. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
  61. package/dist/better-auth/utils/index.js +1 -1
  62. package/dist/better-auth/utils/index.mjs +1 -1
  63. package/dist/sdk/index.d.mts +1 -1
  64. package/dist/sdk/index.d.ts +1 -1
  65. package/dist/sdk/index.js +1 -1
  66. package/dist/sdk/index.mjs +1 -1
  67. package/package.json +1 -1
  68. package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
@@ -26068,7 +26068,7 @@ var Billing = class extends ClientSDK {
26068
26068
  * @example
26069
26069
  * ```typescript
26070
26070
  * // Schedule a transition from a trial plan to a paid plan
26071
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26071
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26072
26072
  * ```
26073
26073
  *
26074
26074
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-CHL34LQO.mjs";
3
+ } from "../chunk-5WO735CD.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-UD2T3GKC.mjs";
7
- import "../chunk-6IRM5YOA.mjs";
6
+ import "../chunk-G5DMBKNT.mjs";
7
+ import "../chunk-O2HPKVUP.mjs";
8
+ import "../chunk-XO7KGLFT.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-5FKCJ3TB.mjs";
11
14
  import "../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
17
- import "../chunk-J44WR3QZ.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -26068,7 +26068,7 @@ var Billing = class extends ClientSDK {
26068
26068
  * @example
26069
26069
  * ```typescript
26070
26070
  * // Schedule a transition from a trial plan to a paid plan
26071
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26071
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26072
26072
  * ```
26073
26073
  *
26074
26074
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-FS2XS32M.mjs";
3
+ } from "../chunk-WX5YWVPI.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-UD2T3GKC.mjs";
7
- import "../chunk-6IRM5YOA.mjs";
6
+ import "../chunk-G5DMBKNT.mjs";
7
+ import "../chunk-O2HPKVUP.mjs";
8
+ import "../chunk-XO7KGLFT.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-5FKCJ3TB.mjs";
11
14
  import "../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
17
- import "../chunk-J44WR3QZ.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -26068,7 +26068,7 @@ var Billing = class extends ClientSDK {
26068
26068
  * @example
26069
26069
  * ```typescript
26070
26070
  * // Schedule a transition from a trial plan to a paid plan
26071
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26071
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26072
26072
  * ```
26073
26073
  *
26074
26074
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-QKLYHQFJ.mjs";
3
+ } from "../chunk-7L6HX4TI.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-UD2T3GKC.mjs";
7
- import "../chunk-6IRM5YOA.mjs";
6
+ import "../chunk-G5DMBKNT.mjs";
7
+ import "../chunk-O2HPKVUP.mjs";
8
+ import "../chunk-XO7KGLFT.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-5FKCJ3TB.mjs";
11
14
  import "../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
17
- import "../chunk-J44WR3QZ.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -26071,7 +26071,7 @@ var Billing = class extends ClientSDK {
26071
26071
  * @example
26072
26072
  * ```typescript
26073
26073
  * // Schedule a transition from a trial plan to a paid plan
26074
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26074
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26075
26075
  * ```
26076
26076
  *
26077
26077
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-CHL34LQO.mjs";
3
+ } from "../chunk-5WO735CD.mjs";
4
4
  import {
5
5
  autumnHandler as autumnHandler2
6
- } from "../chunk-FS2XS32M.mjs";
6
+ } from "../chunk-WX5YWVPI.mjs";
7
7
  import {
8
8
  autumnHandler as autumnHandler3
9
- } from "../chunk-QKLYHQFJ.mjs";
9
+ } from "../chunk-7L6HX4TI.mjs";
10
10
  import {
11
11
  autumnHandler as autumnHandler4
12
- } from "../chunk-2VGKOWXH.mjs";
12
+ } from "../chunk-2ASVIRAA.mjs";
13
13
  import "../chunk-WYDGEDEU.mjs";
14
14
  import "../chunk-VXND2UDT.mjs";
15
- import "../chunk-UD2T3GKC.mjs";
16
- import "../chunk-6IRM5YOA.mjs";
15
+ import "../chunk-G5DMBKNT.mjs";
16
+ import "../chunk-O2HPKVUP.mjs";
17
+ import "../chunk-XO7KGLFT.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-5FKCJ3TB.mjs";
20
23
  import "../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
26
- import "../chunk-J44WR3QZ.mjs";
26
+ import "../chunk-I7CD6EB6.mjs";
27
27
  import "../chunk-N7NFYY54.mjs";
28
28
  export {
29
29
  autumnHandler as expressAutumnHandler,
@@ -26069,7 +26069,7 @@ var Billing = class extends ClientSDK {
26069
26069
  * @example
26070
26070
  * ```typescript
26071
26071
  * // Schedule a transition from a trial plan to a paid plan
26072
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26072
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26073
26073
  * ```
26074
26074
  *
26075
26075
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-2VGKOWXH.mjs";
3
+ } from "../chunk-2ASVIRAA.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-UD2T3GKC.mjs";
7
- import "../chunk-6IRM5YOA.mjs";
6
+ import "../chunk-G5DMBKNT.mjs";
7
+ import "../chunk-O2HPKVUP.mjs";
8
+ import "../chunk-XO7KGLFT.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-5FKCJ3TB.mjs";
11
14
  import "../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
17
- import "../chunk-J44WR3QZ.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-6IRM5YOA.mjs";
3
+ } from "./chunk-O2HPKVUP.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-6IRM5YOA.mjs";
3
+ } from "./chunk-O2HPKVUP.mjs";
4
4
 
5
5
  // src/backend/adapters/express.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-6IRM5YOA.mjs";
3
+ } from "./chunk-O2HPKVUP.mjs";
4
4
 
5
5
  // src/backend/adapters/hono.ts
6
6
  function autumnHandler(options) {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Autumn
3
- } from "./chunk-5FKCJ3TB.mjs";
3
+ } from "./chunk-XO7KGLFT.mjs";
4
+ import {
5
+ executeRoute
6
+ } from "./chunk-MOHYGUMA.mjs";
4
7
  import {
5
8
  routeConfigs
6
9
  } from "./chunk-6WHGF4WX.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-XO7KGLFT.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-5FKCJ3TB.mjs";
7
10
  import {
8
11
  routeConfigs
9
12
  } from "./chunk-6WHGF4WX.mjs";
10
- import {
11
- executeRoute
12
- } from "./chunk-IXUCY7AU.mjs";
13
13
  import {
14
14
  secretKeyCheck
15
15
  } from "./chunk-VZIMT7AO.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-6IRM5YOA.mjs";
3
+ } from "./chunk-O2HPKVUP.mjs";
4
4
 
5
5
  // src/backend/adapters/fetch.ts
6
6
  function autumnHandler(options) {
@@ -26013,7 +26013,7 @@ var Billing = class extends ClientSDK {
26013
26013
  * @example
26014
26014
  * ```typescript
26015
26015
  * // Schedule a transition from a trial plan to a paid plan
26016
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26016
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26017
26017
  * ```
26018
26018
  *
26019
26019
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,6 +1,6 @@
1
1
  import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
2
2
  import '../../authTypes-B2FK_0xh.mjs';
3
- import '../../routeTypes-6y6WfqD1.mjs';
3
+ import '../../routeTypes-DS9kdvAk.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-B2FK_0xh.js';
3
- import '../../routeTypes-Bqeo1-G5.js';
3
+ import '../../routeTypes-C1--P8gh.js';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.js';
6
6
  import '../types/responseTypes.js';
@@ -26068,7 +26068,7 @@ var Billing = class extends ClientSDK {
26068
26068
  * @example
26069
26069
  * ```typescript
26070
26070
  * // Schedule a transition from a trial plan to a paid plan
26071
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26071
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26072
26072
  * ```
26073
26073
  *
26074
26074
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "../../chunk-6IRM5YOA.mjs";
3
+ } from "../../chunk-O2HPKVUP.mjs";
4
+ import "../../chunk-XO7KGLFT.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-5FKCJ3TB.mjs";
7
10
  import "../../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
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-6y6WfqD1.mjs';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-DS9kdvAk.mjs';
2
2
  import { A as AuthResult } from '../../authTypes-B2FK_0xh.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-Bqeo1-G5.js';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-C1--P8gh.js';
2
2
  import { A as AuthResult } from '../../authTypes-B2FK_0xh.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-IXUCY7AU.mjs";
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
@@ -26068,7 +26068,7 @@ var Billing = class extends ClientSDK {
26068
26068
  * @example
26069
26069
  * ```typescript
26070
26070
  * // Schedule a transition from a trial plan to a paid plan
26071
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26071
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26072
26072
  * ```
26073
26073
  *
26074
26074
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  handleRouteByName
3
- } from "../../chunk-UD2T3GKC.mjs";
4
- import "../../chunk-5FKCJ3TB.mjs";
3
+ } from "../../chunk-G5DMBKNT.mjs";
4
+ import "../../chunk-XO7KGLFT.mjs";
5
+ import "../../chunk-MOHYGUMA.mjs";
6
+ import "../../chunk-TBQ27LIK.mjs";
7
+ import "../../chunk-J44WR3QZ.mjs";
5
8
  import "../../chunk-6WHGF4WX.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-TBQ27LIK.mjs";
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-B2FK_0xh.mjs';
8
- import '../../routeTypes-6y6WfqD1.mjs';
8
+ import '../../routeTypes-DS9kdvAk.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-B2FK_0xh.js';
8
- import '../../routeTypes-Bqeo1-G5.js';
8
+ import '../../routeTypes-C1--P8gh.js';
9
9
  import 'zod/v4';
10
10
  import '../utils/sanitizeBody.js';
11
11
  import '../types/responseTypes.js';
@@ -26072,7 +26072,7 @@ var Billing = class extends ClientSDK {
26072
26072
  * @example
26073
26073
  * ```typescript
26074
26074
  * // Schedule a transition from a trial plan to a paid plan
26075
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26075
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26076
26076
  * ```
26077
26077
  *
26078
26078
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,26 +1,26 @@
1
1
  import "../../chunk-VXND2UDT.mjs";
2
2
  import {
3
3
  handleRouteByName
4
- } from "../../chunk-UD2T3GKC.mjs";
4
+ } from "../../chunk-G5DMBKNT.mjs";
5
5
  import {
6
6
  createCoreHandler
7
- } from "../../chunk-6IRM5YOA.mjs";
8
- import "../../chunk-TSF4YCUO.mjs";
9
- import "../../chunk-UAR3TMWI.mjs";
10
- import "../../chunk-5FKCJ3TB.mjs";
11
- import "../../chunk-6WHGF4WX.mjs";
7
+ } from "../../chunk-O2HPKVUP.mjs";
8
+ import "../../chunk-XO7KGLFT.mjs";
12
9
  import {
13
10
  executeRoute
14
- } from "../../chunk-IXUCY7AU.mjs";
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-6WHGF4WX.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,
@@ -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-B2FK_0xh.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-6y6WfqD1.mjs';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-DS9kdvAk.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-B2FK_0xh.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-Bqeo1-G5.js';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-C1--P8gh.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';
@@ -26076,7 +26076,7 @@ var Billing = class extends ClientSDK {
26076
26076
  * @example
26077
26077
  * ```typescript
26078
26078
  * // Schedule a transition from a trial plan to a paid plan
26079
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26079
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26080
26080
  * ```
26081
26081
  *
26082
26082
  * @param customerId - The ID of the customer to create the schedule for.
@@ -2,28 +2,28 @@ import "../chunk-WYDGEDEU.mjs";
2
2
  import "../chunk-VXND2UDT.mjs";
3
3
  import {
4
4
  handleRouteByName
5
- } from "../chunk-UD2T3GKC.mjs";
5
+ } from "../chunk-G5DMBKNT.mjs";
6
6
  import {
7
7
  createCoreHandler
8
- } from "../chunk-6IRM5YOA.mjs";
8
+ } from "../chunk-O2HPKVUP.mjs";
9
+ import "../chunk-XO7KGLFT.mjs";
10
+ import "../chunk-MOHYGUMA.mjs";
11
+ import "../chunk-TBQ27LIK.mjs";
12
+ import "../chunk-J44WR3QZ.mjs";
9
13
  import "../chunk-TSF4YCUO.mjs";
10
14
  import {
11
15
  buildRouter
12
16
  } from "../chunk-UAR3TMWI.mjs";
13
- import "../chunk-5FKCJ3TB.mjs";
14
17
  import {
15
18
  routeConfigs
16
19
  } from "../chunk-6WHGF4WX.mjs";
17
- import "../chunk-IXUCY7AU.mjs";
18
20
  import "../chunk-OTXV5FY7.mjs";
19
- import {
20
- sanitizeBody
21
- } from "../chunk-I7CD6EB6.mjs";
22
21
  import {
23
22
  secretKeyCheck
24
23
  } from "../chunk-VZIMT7AO.mjs";
25
- import "../chunk-TBQ27LIK.mjs";
26
- import "../chunk-J44WR3QZ.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-6y6WfqD1.mjs';
4
+ import '../../routeTypes-DS9kdvAk.mjs';
5
5
  import '../../authTypes-B2FK_0xh.mjs';
6
6
  import 'zod/v4';
7
7
  import '../utils/sanitizeBody.mjs';
@@ -1,7 +1,7 @@
1
1
  export { RouteMatch, buildRouter } from './routeBuilder.js';
2
2
  export { routeConfigs } from './routeConfigs.js';
3
3
  import 'rou3';
4
- import '../../routeTypes-Bqeo1-G5.js';
4
+ import '../../routeTypes-C1--P8gh.js';
5
5
  import '../../authTypes-B2FK_0xh.js';
6
6
  import 'zod/v4';
7
7
  import '../utils/sanitizeBody.js';
@@ -6,8 +6,8 @@ import {
6
6
  routeConfigs
7
7
  } from "../../chunk-6WHGF4WX.mjs";
8
8
  import "../../chunk-OTXV5FY7.mjs";
9
- import "../../chunk-I7CD6EB6.mjs";
10
9
  import "../../chunk-VZIMT7AO.mjs";
10
+ import "../../chunk-I7CD6EB6.mjs";
11
11
  import "../../chunk-N7NFYY54.mjs";
12
12
  export {
13
13
  buildRouter,
@@ -1,5 +1,5 @@
1
1
  import { RouterContext } from 'rou3';
2
- import { R as RouteDefinition } from '../../routeTypes-6y6WfqD1.mjs';
2
+ import { R as RouteDefinition } from '../../routeTypes-DS9kdvAk.mjs';
3
3
  import '../../authTypes-B2FK_0xh.mjs';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.mjs';
@@ -1,5 +1,5 @@
1
1
  import { RouterContext } from 'rou3';
2
- import { R as RouteDefinition } from '../../routeTypes-Bqeo1-G5.js';
2
+ import { R as RouteDefinition } from '../../routeTypes-C1--P8gh.js';
3
3
  import '../../authTypes-B2FK_0xh.js';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.js';
@@ -1,4 +1,4 @@
1
- import { R as RouteDefinition, b as RouteName } from '../../routeTypes-6y6WfqD1.mjs';
1
+ import { R as RouteDefinition, b as RouteName } from '../../routeTypes-DS9kdvAk.mjs';
2
2
  import '../../authTypes-B2FK_0xh.mjs';
3
3
  import 'zod/v4';
4
4
  import '../utils/sanitizeBody.mjs';
@@ -1,4 +1,4 @@
1
- import { R as RouteDefinition, b as RouteName } from '../../routeTypes-Bqeo1-G5.js';
1
+ import { R as RouteDefinition, b as RouteName } from '../../routeTypes-C1--P8gh.js';
2
2
  import '../../authTypes-B2FK_0xh.js';
3
3
  import 'zod/v4';
4
4
  import '../utils/sanitizeBody.js';
@@ -2,8 +2,8 @@ import {
2
2
  routeConfigs
3
3
  } from "../../chunk-6WHGF4WX.mjs";
4
4
  import "../../chunk-OTXV5FY7.mjs";
5
- import "../../chunk-I7CD6EB6.mjs";
6
5
  import "../../chunk-VZIMT7AO.mjs";
6
+ import "../../chunk-I7CD6EB6.mjs";
7
7
  import "../../chunk-N7NFYY54.mjs";
8
8
  export {
9
9
  routeConfigs
@@ -1,5 +1,5 @@
1
1
  import { A as AuthResult } from '../../authTypes-B2FK_0xh.mjs';
2
- import { R as RouteDefinition } from '../../routeTypes-6y6WfqD1.mjs';
2
+ import { R as RouteDefinition } from '../../routeTypes-DS9kdvAk.mjs';
3
3
  import './responseTypes.mjs';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.mjs';
@@ -1,5 +1,5 @@
1
1
  import { A as AuthResult } from '../../authTypes-B2FK_0xh.js';
2
- import { R as RouteDefinition } from '../../routeTypes-Bqeo1-G5.js';
2
+ import { R as RouteDefinition } from '../../routeTypes-C1--P8gh.js';
3
3
  import './responseTypes.js';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.js';
@@ -1,6 +1,6 @@
1
1
  export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-B2FK_0xh.mjs';
2
2
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './handlerTypes.mjs';
3
3
  export { BackendErrorBody, BackendResult } from './responseTypes.mjs';
4
- export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-6y6WfqD1.mjs';
4
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-DS9kdvAk.mjs';
5
5
  import 'zod/v4';
6
6
  import '../utils/sanitizeBody.mjs';
@@ -1,6 +1,6 @@
1
1
  export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-B2FK_0xh.js';
2
2
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './handlerTypes.js';
3
3
  export { BackendErrorBody, BackendResult } from './responseTypes.js';
4
- export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-Bqeo1-G5.js';
4
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-C1--P8gh.js';
5
5
  import 'zod/v4';
6
6
  import '../utils/sanitizeBody.js';
@@ -1,4 +1,4 @@
1
- export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-6y6WfqD1.mjs';
1
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-DS9kdvAk.mjs';
2
2
  import 'zod/v4';
3
3
  import '../utils/sanitizeBody.mjs';
4
4
  import '../../authTypes-B2FK_0xh.mjs';
@@ -1,4 +1,4 @@
1
- export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-Bqeo1-G5.js';
1
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-C1--P8gh.js';
2
2
  import 'zod/v4';
3
3
  import '../utils/sanitizeBody.js';
4
4
  import '../../authTypes-B2FK_0xh.js';
@@ -1,12 +1,12 @@
1
1
  import "../../chunk-OTXV5FY7.mjs";
2
+ import {
3
+ secretKeyCheck
4
+ } from "../../chunk-VZIMT7AO.mjs";
2
5
  import {
3
6
  CUSTOMER_PROTECTED_BODY_FIELDS,
4
7
  DEFAULT_PROTECTED_BODY_FIELDS,
5
8
  sanitizeBody
6
9
  } from "../../chunk-I7CD6EB6.mjs";
7
- import {
8
- secretKeyCheck
9
- } from "../../chunk-VZIMT7AO.mjs";
10
10
  import {
11
11
  backendError,
12
12
  backendSuccess,
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-B2FK_0xh.mjs';
3
3
  export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-B2FK_0xh.mjs';
4
4
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './core/types/handlerTypes.mjs';
5
5
  export { BackendErrorBody, BackendResult } from './core/types/responseTypes.mjs';
6
- import { R as RouteDefinition } from './routeTypes-6y6WfqD1.mjs';
7
- export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-6y6WfqD1.mjs';
6
+ import { R as RouteDefinition } from './routeTypes-DS9kdvAk.mjs';
7
+ export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-DS9kdvAk.mjs';
8
8
  export { buildRouter } from './core/routes/routeBuilder.mjs';
9
9
  export { routeConfigs } from './core/routes/routeConfigs.mjs';
10
10
  export { secretKeyCheck } from './core/utils/secretKeyCheck.mjs';
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-B2FK_0xh.js';
3
3
  export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-B2FK_0xh.js';
4
4
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './core/types/handlerTypes.js';
5
5
  export { BackendErrorBody, BackendResult } from './core/types/responseTypes.js';
6
- import { R as RouteDefinition } from './routeTypes-Bqeo1-G5.js';
7
- export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-Bqeo1-G5.js';
6
+ import { R as RouteDefinition } from './routeTypes-C1--P8gh.js';
7
+ export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-C1--P8gh.js';
8
8
  export { buildRouter } from './core/routes/routeBuilder.js';
9
9
  export { routeConfigs } from './core/routes/routeConfigs.js';
10
10
  export { secretKeyCheck } from './core/utils/secretKeyCheck.js';
@@ -26076,7 +26076,7 @@ var Billing = class extends ClientSDK {
26076
26076
  * @example
26077
26077
  * ```typescript
26078
26078
  * // Schedule a transition from a trial plan to a paid plan
26079
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26079
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26080
26080
  * ```
26081
26081
  *
26082
26082
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,27 +1,27 @@
1
1
  import "./chunk-WYDGEDEU.mjs";
2
2
  import "./chunk-VXND2UDT.mjs";
3
- import "./chunk-UD2T3GKC.mjs";
3
+ import "./chunk-G5DMBKNT.mjs";
4
4
  import {
5
5
  createCoreHandler
6
- } from "./chunk-6IRM5YOA.mjs";
6
+ } from "./chunk-O2HPKVUP.mjs";
7
+ import "./chunk-XO7KGLFT.mjs";
8
+ import "./chunk-MOHYGUMA.mjs";
9
+ import "./chunk-TBQ27LIK.mjs";
10
+ import "./chunk-J44WR3QZ.mjs";
7
11
  import "./chunk-TSF4YCUO.mjs";
8
12
  import {
9
13
  buildRouter
10
14
  } from "./chunk-UAR3TMWI.mjs";
11
- import "./chunk-5FKCJ3TB.mjs";
12
15
  import {
13
16
  routeConfigs
14
17
  } from "./chunk-6WHGF4WX.mjs";
15
- import "./chunk-IXUCY7AU.mjs";
16
18
  import "./chunk-OTXV5FY7.mjs";
17
- import {
18
- sanitizeBody
19
- } from "./chunk-I7CD6EB6.mjs";
20
19
  import {
21
20
  secretKeyCheck
22
21
  } from "./chunk-VZIMT7AO.mjs";
23
- import "./chunk-TBQ27LIK.mjs";
24
- import "./chunk-J44WR3QZ.mjs";
22
+ import {
23
+ sanitizeBody
24
+ } from "./chunk-I7CD6EB6.mjs";
25
25
  import {
26
26
  backendError,
27
27
  backendSuccess,
@@ -30908,7 +30908,7 @@ declare class Billing extends ClientSDK {
30908
30908
  * @example
30909
30909
  * ```typescript
30910
30910
  * // Schedule a transition from a trial plan to a paid plan
30911
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
30911
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
30912
30912
  * ```
30913
30913
  *
30914
30914
  * @param customerId - The ID of the customer to create the schedule for.
@@ -30908,7 +30908,7 @@ declare class Billing extends ClientSDK {
30908
30908
  * @example
30909
30909
  * ```typescript
30910
30910
  * // Schedule a transition from a trial plan to a paid plan
30911
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
30911
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
30912
30912
  * ```
30913
30913
  *
30914
30914
  * @param customerId - The ID of the customer to create the schedule for.
@@ -26050,7 +26050,7 @@ var Billing = class extends ClientSDK {
26050
26050
  * @example
26051
26051
  * ```typescript
26052
26052
  * // Schedule a transition from a trial plan to a paid plan
26053
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26053
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26054
26054
  * ```
26055
26055
  *
26056
26056
  * @param customerId - The ID of the customer to create the schedule for.
@@ -31900,7 +31900,7 @@ var Billing = class extends ClientSDK {
31900
31900
  * @example
31901
31901
  * ```typescript
31902
31902
  * // Schedule a transition from a trial plan to a paid plan
31903
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
31903
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
31904
31904
  * ```
31905
31905
  *
31906
31906
  * @param customerId - The ID of the customer to create the schedule for.
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UGW5CGCL.mjs";
5
5
  import {
6
6
  createHandleBetterAuthRoute
7
- } from "./chunk-CICEUVIO.mjs";
7
+ } from "./chunk-I7YY4CZ6.mjs";
8
8
  import "./chunk-J2WYVGHS.mjs";
9
9
  import "./chunk-PQ5Y4SBX.mjs";
10
10
  import "./chunk-BT3EAYVW.mjs";
@@ -26069,7 +26069,7 @@ var Billing = class extends ClientSDK {
26069
26069
  * @example
26070
26070
  * ```typescript
26071
26071
  * // Schedule a transition from a trial plan to a paid plan
26072
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
26072
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
26073
26073
  * ```
26074
26074
  *
26075
26075
  * @param customerId - The ID of the customer to create the schedule for.
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createHandleBetterAuthRoute
3
- } from "../chunk-CICEUVIO.mjs";
3
+ } from "../chunk-I7YY4CZ6.mjs";
4
4
  import "../chunk-J2WYVGHS.mjs";
5
5
  import "../chunk-PQ5Y4SBX.mjs";
6
6
  import "../chunk-BT3EAYVW.mjs";
@@ -31904,7 +31904,7 @@ var Billing = class extends ClientSDK {
31904
31904
  * @example
31905
31905
  * ```typescript
31906
31906
  * // Schedule a transition from a trial plan to a paid plan
31907
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
31907
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
31908
31908
  * ```
31909
31909
  *
31910
31910
  * @param customerId - The ID of the customer to create the schedule for.
@@ -4,7 +4,7 @@ import {
4
4
  } from "../chunk-UGW5CGCL.mjs";
5
5
  import {
6
6
  createHandleBetterAuthRoute
7
- } from "../chunk-CICEUVIO.mjs";
7
+ } from "../chunk-I7YY4CZ6.mjs";
8
8
  import {
9
9
  resolveIdentityFromScope
10
10
  } from "../chunk-J2WYVGHS.mjs";
@@ -40493,7 +40493,7 @@ declare class Billing extends ClientSDK {
40493
40493
  * @example
40494
40494
  * ```typescript
40495
40495
  * // Schedule a transition from a trial plan to a paid plan
40496
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
40496
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
40497
40497
  * ```
40498
40498
  *
40499
40499
  * @param customerId - The ID of the customer to create the schedule for.
@@ -40493,7 +40493,7 @@ declare class Billing extends ClientSDK {
40493
40493
  * @example
40494
40494
  * ```typescript
40495
40495
  * // Schedule a transition from a trial plan to a paid plan
40496
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
40496
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
40497
40497
  * ```
40498
40498
  *
40499
40499
  * @param customerId - The ID of the customer to create the schedule for.
package/dist/sdk/index.js CHANGED
@@ -33672,7 +33672,7 @@ var Billing = class extends ClientSDK {
33672
33672
  * @example
33673
33673
  * ```typescript
33674
33674
  * // Schedule a transition from a trial plan to a paid plan
33675
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
33675
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
33676
33676
  * ```
33677
33677
  *
33678
33678
  * @param customerId - The ID of the customer to create the schedule for.
@@ -33649,7 +33649,7 @@ var Billing = class extends ClientSDK {
33649
33649
  * @example
33650
33650
  * ```typescript
33651
33651
  * // Schedule a transition from a trial plan to a paid plan
33652
- * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784222138539,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785431738539,"plans":[{"planId":"pro_plan"}]}] });
33652
+ * const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1784225038752,"plans":[{"planId":"trial_plan"}]},{"startsAt":1785434638752,"plans":[{"planId":"pro_plan"}]}] });
33653
33653
  * ```
33654
33654
  *
33655
33655
  * @param customerId - The ID of the customer to create the schedule for.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "autumn-js",
3
3
  "description": "Autumn JS Library",
4
- "version": "1.2.41",
4
+ "version": "1.2.42",
5
5
  "repository": "github:useautumn/autumn",
6
6
  "homepage": "https://docs.useautumn.com",
7
7
  "main": "./dist/sdk/index.js",
@@ -1,12 +1,12 @@
1
- import {
2
- sanitizeBody
3
- } from "./chunk-I7CD6EB6.mjs";
4
1
  import {
5
2
  resolveIdentity
6
3
  } from "./chunk-TBQ27LIK.mjs";
7
4
  import {
8
5
  transformSdkError
9
6
  } from "./chunk-J44WR3QZ.mjs";
7
+ import {
8
+ sanitizeBody
9
+ } from "./chunk-I7CD6EB6.mjs";
10
10
  import {
11
11
  backendSuccess,
12
12
  isBackendResult