autumn-js 1.2.39 → 1.2.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/adapters/express.js +1 -1
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +1 -1
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +1 -1
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +1 -1
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +1 -1
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-5IUIFE55.mjs → chunk-BXGUUY7P.mjs} +1 -1
- package/dist/backend/{chunk-UMTASWZL.mjs → chunk-ONQXDLOV.mjs} +1 -1
- package/dist/backend/{chunk-GL2SBEQ5.mjs → chunk-PA7JVFRP.mjs} +1 -1
- package/dist/backend/{chunk-V32P22RC.mjs → chunk-RHDPT37C.mjs} +1 -1
- package/dist/backend/{chunk-KM5AXZWJ.mjs → chunk-TOVDM235.mjs} +1 -1
- package/dist/backend/{chunk-MSMJS42G.mjs → chunk-UQRKOR63.mjs} +1 -1
- package/dist/backend/{chunk-KJP3DHPM.mjs → chunk-W3Y77RLS.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +1 -1
- package/dist/backend/core/handlers/coreHandler.mjs +2 -2
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +1 -1
- package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +1 -1
- package/dist/backend/core/handlers/index.mjs +3 -3
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +1 -1
- package/dist/backend/core/index.mjs +3 -3
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +1 -1
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-CIqS7yVo.d.mts → routeTypes-BSYpcqUh.d.mts} +1 -1
- package/dist/backend/{routeTypes-uWaE8YYa.d.ts → routeTypes-D4BWkDI8.d.ts} +1 -1
- package/dist/better-auth/{chunk-LLBM6UQN.mjs → chunk-QHRMGNGT.mjs} +1 -1
- package/dist/better-auth/index.js +1 -1
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +1 -1
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +1 -1
- package/dist/sdk/index.d.ts +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -23481,7 +23481,7 @@ var Billing = class extends ClientSDK {
|
|
|
23481
23481
|
* @example
|
|
23482
23482
|
* ```typescript
|
|
23483
23483
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23484
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23484
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23485
23485
|
* ```
|
|
23486
23486
|
*
|
|
23487
23487
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-PA7JVFRP.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-TOVDM235.mjs";
|
|
7
|
+
import "../chunk-RHDPT37C.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-UQRKOR63.mjs";
|
|
11
11
|
import "../chunk-NHBJ3QDV.mjs";
|
|
12
12
|
import "../chunk-IXUCY7AU.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -23481,7 +23481,7 @@ var Billing = class extends ClientSDK {
|
|
|
23481
23481
|
* @example
|
|
23482
23482
|
* ```typescript
|
|
23483
23483
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23484
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23484
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23485
23485
|
* ```
|
|
23486
23486
|
*
|
|
23487
23487
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-W3Y77RLS.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-TOVDM235.mjs";
|
|
7
|
+
import "../chunk-RHDPT37C.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-UQRKOR63.mjs";
|
|
11
11
|
import "../chunk-NHBJ3QDV.mjs";
|
|
12
12
|
import "../chunk-IXUCY7AU.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -23481,7 +23481,7 @@ var Billing = class extends ClientSDK {
|
|
|
23481
23481
|
* @example
|
|
23482
23482
|
* ```typescript
|
|
23483
23483
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23484
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23484
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23485
23485
|
* ```
|
|
23486
23486
|
*
|
|
23487
23487
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-ONQXDLOV.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-TOVDM235.mjs";
|
|
7
|
+
import "../chunk-RHDPT37C.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-UQRKOR63.mjs";
|
|
11
11
|
import "../chunk-NHBJ3QDV.mjs";
|
|
12
12
|
import "../chunk-IXUCY7AU.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -23484,7 +23484,7 @@ var Billing = class extends ClientSDK {
|
|
|
23484
23484
|
* @example
|
|
23485
23485
|
* ```typescript
|
|
23486
23486
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23487
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23487
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23488
23488
|
* ```
|
|
23489
23489
|
*
|
|
23490
23490
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-PA7JVFRP.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-W3Y77RLS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-ONQXDLOV.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-BXGUUY7P.mjs";
|
|
13
13
|
import "../chunk-WYDGEDEU.mjs";
|
|
14
14
|
import "../chunk-VXND2UDT.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-TOVDM235.mjs";
|
|
16
|
+
import "../chunk-RHDPT37C.mjs";
|
|
17
17
|
import "../chunk-TSF4YCUO.mjs";
|
|
18
18
|
import "../chunk-UAR3TMWI.mjs";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-UQRKOR63.mjs";
|
|
20
20
|
import "../chunk-NHBJ3QDV.mjs";
|
|
21
21
|
import "../chunk-IXUCY7AU.mjs";
|
|
22
22
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -23482,7 +23482,7 @@ var Billing = class extends ClientSDK {
|
|
|
23482
23482
|
* @example
|
|
23483
23483
|
* ```typescript
|
|
23484
23484
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23485
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23485
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23486
23486
|
* ```
|
|
23487
23487
|
*
|
|
23488
23488
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
autumnHandler
|
|
3
|
-
} from "../chunk-
|
|
3
|
+
} from "../chunk-BXGUUY7P.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-TOVDM235.mjs";
|
|
7
|
+
import "../chunk-RHDPT37C.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-UQRKOR63.mjs";
|
|
11
11
|
import "../chunk-NHBJ3QDV.mjs";
|
|
12
12
|
import "../chunk-IXUCY7AU.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -23426,7 +23426,7 @@ var Billing = class extends ClientSDK {
|
|
|
23426
23426
|
* @example
|
|
23427
23427
|
* ```typescript
|
|
23428
23428
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23429
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23429
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23430
23430
|
* ```
|
|
23431
23431
|
*
|
|
23432
23432
|
* @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-jU7ON-I5.mjs';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-BSYpcqUh.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-jU7ON-I5.js';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-D4BWkDI8.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
6
6
|
import '../types/responseTypes.js';
|
|
@@ -23481,7 +23481,7 @@ var Billing = class extends ClientSDK {
|
|
|
23481
23481
|
* @example
|
|
23482
23482
|
* ```typescript
|
|
23483
23483
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23484
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23484
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23485
23485
|
* ```
|
|
23486
23486
|
*
|
|
23487
23487
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createCoreHandler
|
|
3
|
-
} from "../../chunk-
|
|
3
|
+
} from "../../chunk-RHDPT37C.mjs";
|
|
4
4
|
import "../../chunk-TSF4YCUO.mjs";
|
|
5
5
|
import "../../chunk-UAR3TMWI.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-UQRKOR63.mjs";
|
|
7
7
|
import "../../chunk-NHBJ3QDV.mjs";
|
|
8
8
|
import "../../chunk-IXUCY7AU.mjs";
|
|
9
9
|
import "../../chunk-OTXV5FY7.mjs";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-BSYpcqUh.mjs';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-jU7ON-I5.mjs';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-
|
|
1
|
+
import { A as Autumn, R as RouteDefinition } from '../../routeTypes-D4BWkDI8.js';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-jU7ON-I5.js';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -23481,7 +23481,7 @@ var Billing = class extends ClientSDK {
|
|
|
23481
23481
|
* @example
|
|
23482
23482
|
* ```typescript
|
|
23483
23483
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23484
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23484
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23485
23485
|
* ```
|
|
23486
23486
|
*
|
|
23487
23487
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
handleRouteByName
|
|
3
|
-
} from "../../chunk-
|
|
4
|
-
import "../../chunk-
|
|
3
|
+
} from "../../chunk-TOVDM235.mjs";
|
|
4
|
+
import "../../chunk-UQRKOR63.mjs";
|
|
5
5
|
import "../../chunk-NHBJ3QDV.mjs";
|
|
6
6
|
import "../../chunk-IXUCY7AU.mjs";
|
|
7
7
|
import "../../chunk-OTXV5FY7.mjs";
|
|
@@ -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-jU7ON-I5.mjs';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-BSYpcqUh.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-jU7ON-I5.js';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-D4BWkDI8.js';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../utils/sanitizeBody.js';
|
|
11
11
|
import '../types/responseTypes.js';
|
|
@@ -23485,7 +23485,7 @@ var Billing = class extends ClientSDK {
|
|
|
23485
23485
|
* @example
|
|
23486
23486
|
* ```typescript
|
|
23487
23487
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23488
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23488
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23489
23489
|
* ```
|
|
23490
23490
|
*
|
|
23491
23491
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import "../../chunk-VXND2UDT.mjs";
|
|
2
2
|
import {
|
|
3
3
|
handleRouteByName
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-TOVDM235.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCoreHandler
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-RHDPT37C.mjs";
|
|
8
8
|
import "../../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-UQRKOR63.mjs";
|
|
11
11
|
import "../../chunk-NHBJ3QDV.mjs";
|
|
12
12
|
import {
|
|
13
13
|
executeRoute
|
|
@@ -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-jU7ON-I5.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-
|
|
5
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-BSYpcqUh.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-jU7ON-I5.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-
|
|
5
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-D4BWkDI8.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';
|
|
@@ -23489,7 +23489,7 @@ var Billing = class extends ClientSDK {
|
|
|
23489
23489
|
* @example
|
|
23490
23490
|
* ```typescript
|
|
23491
23491
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23492
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23492
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23493
23493
|
* ```
|
|
23494
23494
|
*
|
|
23495
23495
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -2,15 +2,15 @@ import "../chunk-WYDGEDEU.mjs";
|
|
|
2
2
|
import "../chunk-VXND2UDT.mjs";
|
|
3
3
|
import {
|
|
4
4
|
handleRouteByName
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TOVDM235.mjs";
|
|
6
6
|
import {
|
|
7
7
|
createCoreHandler
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-RHDPT37C.mjs";
|
|
9
9
|
import "../chunk-TSF4YCUO.mjs";
|
|
10
10
|
import {
|
|
11
11
|
buildRouter
|
|
12
12
|
} from "../chunk-UAR3TMWI.mjs";
|
|
13
|
-
import "../chunk-
|
|
13
|
+
import "../chunk-UQRKOR63.mjs";
|
|
14
14
|
import {
|
|
15
15
|
routeConfigs
|
|
16
16
|
} from "../chunk-NHBJ3QDV.mjs";
|
|
@@ -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-
|
|
4
|
+
import '../../routeTypes-BSYpcqUh.mjs';
|
|
5
5
|
import '../../authTypes-jU7ON-I5.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-
|
|
4
|
+
import '../../routeTypes-D4BWkDI8.js';
|
|
5
5
|
import '../../authTypes-jU7ON-I5.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../utils/sanitizeBody.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { RouterContext } from 'rou3';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-BSYpcqUh.mjs';
|
|
3
3
|
import '../../authTypes-jU7ON-I5.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-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-D4BWkDI8.js';
|
|
3
3
|
import '../../authTypes-jU7ON-I5.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../utils/sanitizeBody.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { A as AuthResult } from '../../authTypes-jU7ON-I5.mjs';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-BSYpcqUh.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-jU7ON-I5.js';
|
|
2
|
-
import { R as RouteDefinition } from '../../routeTypes-
|
|
2
|
+
import { R as RouteDefinition } from '../../routeTypes-D4BWkDI8.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-jU7ON-I5.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-
|
|
4
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-BSYpcqUh.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-jU7ON-I5.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-
|
|
4
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-D4BWkDI8.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-
|
|
1
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-BSYpcqUh.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.mjs';
|
|
4
4
|
import '../../authTypes-jU7ON-I5.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-
|
|
1
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, c as ROUTE_NAMES, R as RouteDefinition, b as RouteName } from '../../routeTypes-D4BWkDI8.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.js';
|
|
4
4
|
import '../../authTypes-jU7ON-I5.js';
|
package/dist/backend/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-jU7ON-I5.mjs';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-jU7ON-I5.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-
|
|
7
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-
|
|
6
|
+
import { R as RouteDefinition } from './routeTypes-BSYpcqUh.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-BSYpcqUh.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';
|
package/dist/backend/index.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-jU7ON-I5.js';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-jU7ON-I5.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-
|
|
7
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-
|
|
6
|
+
import { R as RouteDefinition } from './routeTypes-D4BWkDI8.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-D4BWkDI8.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';
|
package/dist/backend/index.js
CHANGED
|
@@ -23489,7 +23489,7 @@ var Billing = class extends ClientSDK {
|
|
|
23489
23489
|
* @example
|
|
23490
23490
|
* ```typescript
|
|
23491
23491
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23492
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23492
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23493
23493
|
* ```
|
|
23494
23494
|
*
|
|
23495
23495
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/backend/index.mjs
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "./chunk-WYDGEDEU.mjs";
|
|
2
2
|
import "./chunk-VXND2UDT.mjs";
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-TOVDM235.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-RHDPT37C.mjs";
|
|
7
7
|
import "./chunk-TSF4YCUO.mjs";
|
|
8
8
|
import {
|
|
9
9
|
buildRouter
|
|
10
10
|
} from "./chunk-UAR3TMWI.mjs";
|
|
11
|
-
import "./chunk-
|
|
11
|
+
import "./chunk-UQRKOR63.mjs";
|
|
12
12
|
import {
|
|
13
13
|
routeConfigs
|
|
14
14
|
} from "./chunk-NHBJ3QDV.mjs";
|
|
@@ -27735,7 +27735,7 @@ declare class Billing extends ClientSDK {
|
|
|
27735
27735
|
* @example
|
|
27736
27736
|
* ```typescript
|
|
27737
27737
|
* // Schedule a transition from a trial plan to a paid plan
|
|
27738
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
27738
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
27739
27739
|
* ```
|
|
27740
27740
|
*
|
|
27741
27741
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -27735,7 +27735,7 @@ declare class Billing extends ClientSDK {
|
|
|
27735
27735
|
* @example
|
|
27736
27736
|
* ```typescript
|
|
27737
27737
|
* // Schedule a transition from a trial plan to a paid plan
|
|
27738
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
27738
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
27739
27739
|
* ```
|
|
27740
27740
|
*
|
|
27741
27741
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -23463,7 +23463,7 @@ var Billing = class extends ClientSDK {
|
|
|
23463
23463
|
* @example
|
|
23464
23464
|
* ```typescript
|
|
23465
23465
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23466
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23466
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23467
23467
|
* ```
|
|
23468
23468
|
*
|
|
23469
23469
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -27782,7 +27782,7 @@ var Billing = class extends ClientSDK {
|
|
|
27782
27782
|
* @example
|
|
27783
27783
|
* ```typescript
|
|
27784
27784
|
* // Schedule a transition from a trial plan to a paid plan
|
|
27785
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
27785
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
27786
27786
|
* ```
|
|
27787
27787
|
*
|
|
27788
27788
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -23482,7 +23482,7 @@ var Billing = class extends ClientSDK {
|
|
|
23482
23482
|
* @example
|
|
23483
23483
|
* ```typescript
|
|
23484
23484
|
* // Schedule a transition from a trial plan to a paid plan
|
|
23485
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
23485
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
23486
23486
|
* ```
|
|
23487
23487
|
*
|
|
23488
23488
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -27786,7 +27786,7 @@ var Billing = class extends ClientSDK {
|
|
|
27786
27786
|
* @example
|
|
27787
27787
|
* ```typescript
|
|
27788
27788
|
* // Schedule a transition from a trial plan to a paid plan
|
|
27789
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
27789
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
27790
27790
|
* ```
|
|
27791
27791
|
*
|
|
27792
27792
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.d.mts
CHANGED
|
@@ -35896,7 +35896,7 @@ declare class Billing extends ClientSDK {
|
|
|
35896
35896
|
* @example
|
|
35897
35897
|
* ```typescript
|
|
35898
35898
|
* // Schedule a transition from a trial plan to a paid plan
|
|
35899
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
35899
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
35900
35900
|
* ```
|
|
35901
35901
|
*
|
|
35902
35902
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -35896,7 +35896,7 @@ declare class Billing extends ClientSDK {
|
|
|
35896
35896
|
* @example
|
|
35897
35897
|
* ```typescript
|
|
35898
35898
|
* // Schedule a transition from a trial plan to a paid plan
|
|
35899
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
35899
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
35900
35900
|
* ```
|
|
35901
35901
|
*
|
|
35902
35902
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.js
CHANGED
|
@@ -30012,7 +30012,7 @@ var Billing = class extends ClientSDK {
|
|
|
30012
30012
|
* @example
|
|
30013
30013
|
* ```typescript
|
|
30014
30014
|
* // Schedule a transition from a trial plan to a paid plan
|
|
30015
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
30015
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
30016
30016
|
* ```
|
|
30017
30017
|
*
|
|
30018
30018
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.mjs
CHANGED
|
@@ -29989,7 +29989,7 @@ var Billing = class extends ClientSDK {
|
|
|
29989
29989
|
* @example
|
|
29990
29990
|
* ```typescript
|
|
29991
29991
|
* // Schedule a transition from a trial plan to a paid plan
|
|
29992
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
29992
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1783704557304,"plans":[{"planId":"trial_plan"}]},{"startsAt":1784914157304,"plans":[{"planId":"pro_plan"}]}] });
|
|
29993
29993
|
* ```
|
|
29994
29994
|
*
|
|
29995
29995
|
* @param customerId - The ID of the customer to create the schedule for.
|