autumn-js 1.2.21 → 1.2.22
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 +3 -3
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +3 -3
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +3 -3
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +3 -3
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +3 -3
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-73KXFYFC.mjs → chunk-7CKSHBDB.mjs} +1 -1
- package/dist/backend/{chunk-5JNYI5HM.mjs → chunk-7XMPPAZW.mjs} +1 -1
- package/dist/backend/{chunk-TGR2RWLO.mjs → chunk-DV6G3SKP.mjs} +1 -1
- package/dist/backend/{chunk-NNIHXZQM.mjs → chunk-NNB5AJJV.mjs} +1 -1
- package/dist/backend/{chunk-GKYVE5XN.mjs → chunk-S2B2FKPR.mjs} +3 -3
- package/dist/backend/{chunk-H6KJYTJY.mjs → chunk-SZPTE2DZ.mjs} +1 -1
- package/dist/backend/{chunk-K2JSUNJX.mjs → chunk-XWVGR2CL.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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- 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 +3 -3
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-B-Bkse9m.d.ts → routeTypes-HvP8u0wg.d.ts} +1 -1
- package/dist/backend/{routeTypes-DZFxBYSb.d.mts → routeTypes-J2Y6i14Y.d.mts} +1 -1
- package/dist/better-auth/{chunk-4OLXYKUC.mjs → chunk-HX6AO7RF.mjs} +3 -3
- package/dist/better-auth/index.js +3 -3
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +3 -3
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +3 -3
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/sdk/index.d.mts +3 -3
- package/dist/sdk/index.d.ts +3 -3
- package/dist/sdk/index.js +3 -3
- package/dist/sdk/index.mjs +3 -3
- package/package.json +1 -1
|
@@ -78,8 +78,8 @@ var SDK_METADATA = {
|
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
81
|
+
genVersion: "2.882.0",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -14817,7 +14817,7 @@ var Billing = class extends ClientSDK {
|
|
|
14817
14817
|
* @example
|
|
14818
14818
|
* ```typescript
|
|
14819
14819
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14820
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14820
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14821
14821
|
* ```
|
|
14822
14822
|
*
|
|
14823
14823
|
* @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-7XMPPAZW.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7CKSHBDB.mjs";
|
|
7
|
+
import "../chunk-SZPTE2DZ.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-S2B2FKPR.mjs";
|
|
11
11
|
import "../chunk-NSHGFU5H.mjs";
|
|
12
12
|
import "../chunk-S5HPMJ4U.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -78,8 +78,8 @@ var SDK_METADATA = {
|
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
81
|
+
genVersion: "2.882.0",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -14817,7 +14817,7 @@ var Billing = class extends ClientSDK {
|
|
|
14817
14817
|
* @example
|
|
14818
14818
|
* ```typescript
|
|
14819
14819
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14820
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14820
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14821
14821
|
* ```
|
|
14822
14822
|
*
|
|
14823
14823
|
* @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-XWVGR2CL.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7CKSHBDB.mjs";
|
|
7
|
+
import "../chunk-SZPTE2DZ.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-S2B2FKPR.mjs";
|
|
11
11
|
import "../chunk-NSHGFU5H.mjs";
|
|
12
12
|
import "../chunk-S5HPMJ4U.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -78,8 +78,8 @@ var SDK_METADATA = {
|
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
81
|
+
genVersion: "2.882.0",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -14817,7 +14817,7 @@ var Billing = class extends ClientSDK {
|
|
|
14817
14817
|
* @example
|
|
14818
14818
|
* ```typescript
|
|
14819
14819
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14820
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14820
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14821
14821
|
* ```
|
|
14822
14822
|
*
|
|
14823
14823
|
* @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-DV6G3SKP.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7CKSHBDB.mjs";
|
|
7
|
+
import "../chunk-SZPTE2DZ.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-S2B2FKPR.mjs";
|
|
11
11
|
import "../chunk-NSHGFU5H.mjs";
|
|
12
12
|
import "../chunk-S5HPMJ4U.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -81,8 +81,8 @@ var SDK_METADATA = {
|
|
|
81
81
|
language: "typescript",
|
|
82
82
|
openapiDocVersion: "2.2.0",
|
|
83
83
|
sdkVersion: "0.10.17",
|
|
84
|
-
genVersion: "2.
|
|
85
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
84
|
+
genVersion: "2.882.0",
|
|
85
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
86
86
|
};
|
|
87
87
|
|
|
88
88
|
// ../sdk/src/lib/http.ts
|
|
@@ -14820,7 +14820,7 @@ var Billing = class extends ClientSDK {
|
|
|
14820
14820
|
* @example
|
|
14821
14821
|
* ```typescript
|
|
14822
14822
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14823
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14823
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14824
14824
|
* ```
|
|
14825
14825
|
*
|
|
14826
14826
|
* @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-7XMPPAZW.mjs";
|
|
4
4
|
import {
|
|
5
5
|
autumnHandler as autumnHandler2
|
|
6
|
-
} from "../chunk-
|
|
6
|
+
} from "../chunk-XWVGR2CL.mjs";
|
|
7
7
|
import {
|
|
8
8
|
autumnHandler as autumnHandler3
|
|
9
|
-
} from "../chunk-
|
|
9
|
+
} from "../chunk-DV6G3SKP.mjs";
|
|
10
10
|
import {
|
|
11
11
|
autumnHandler as autumnHandler4
|
|
12
|
-
} from "../chunk-
|
|
12
|
+
} from "../chunk-NNB5AJJV.mjs";
|
|
13
13
|
import "../chunk-WYDGEDEU.mjs";
|
|
14
14
|
import "../chunk-VXND2UDT.mjs";
|
|
15
|
-
import "../chunk-
|
|
16
|
-
import "../chunk-
|
|
15
|
+
import "../chunk-7CKSHBDB.mjs";
|
|
16
|
+
import "../chunk-SZPTE2DZ.mjs";
|
|
17
17
|
import "../chunk-TSF4YCUO.mjs";
|
|
18
18
|
import "../chunk-UAR3TMWI.mjs";
|
|
19
|
-
import "../chunk-
|
|
19
|
+
import "../chunk-S2B2FKPR.mjs";
|
|
20
20
|
import "../chunk-NSHGFU5H.mjs";
|
|
21
21
|
import "../chunk-S5HPMJ4U.mjs";
|
|
22
22
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -79,8 +79,8 @@ var SDK_METADATA = {
|
|
|
79
79
|
language: "typescript",
|
|
80
80
|
openapiDocVersion: "2.2.0",
|
|
81
81
|
sdkVersion: "0.10.17",
|
|
82
|
-
genVersion: "2.
|
|
83
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
82
|
+
genVersion: "2.882.0",
|
|
83
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
// ../sdk/src/lib/http.ts
|
|
@@ -14818,7 +14818,7 @@ var Billing = class extends ClientSDK {
|
|
|
14818
14818
|
* @example
|
|
14819
14819
|
* ```typescript
|
|
14820
14820
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14821
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14821
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14822
14822
|
* ```
|
|
14823
14823
|
*
|
|
14824
14824
|
* @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-NNB5AJJV.mjs";
|
|
4
4
|
import "../chunk-WYDGEDEU.mjs";
|
|
5
5
|
import "../chunk-VXND2UDT.mjs";
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
6
|
+
import "../chunk-7CKSHBDB.mjs";
|
|
7
|
+
import "../chunk-SZPTE2DZ.mjs";
|
|
8
8
|
import "../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../chunk-
|
|
10
|
+
import "../chunk-S2B2FKPR.mjs";
|
|
11
11
|
import "../chunk-NSHGFU5H.mjs";
|
|
12
12
|
import "../chunk-S5HPMJ4U.mjs";
|
|
13
13
|
import "../chunk-OTXV5FY7.mjs";
|
|
@@ -13233,8 +13233,8 @@ var SDK_METADATA = {
|
|
|
13233
13233
|
language: "typescript",
|
|
13234
13234
|
openapiDocVersion: "2.2.0",
|
|
13235
13235
|
sdkVersion: "0.10.17",
|
|
13236
|
-
genVersion: "2.
|
|
13237
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
13236
|
+
genVersion: "2.882.0",
|
|
13237
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
13238
13238
|
};
|
|
13239
13239
|
|
|
13240
13240
|
// ../sdk/src/lib/retries.ts
|
|
@@ -14762,7 +14762,7 @@ var Billing = class extends ClientSDK {
|
|
|
14762
14762
|
* @example
|
|
14763
14763
|
* ```typescript
|
|
14764
14764
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14765
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14765
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14766
14766
|
* ```
|
|
14767
14767
|
*
|
|
14768
14768
|
* @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-B7b2mex1.mjs';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-J2Y6i14Y.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../types/responseTypes.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.js';
|
|
2
2
|
import '../../authTypes-B7b2mex1.js';
|
|
3
|
-
import '../../routeTypes-
|
|
3
|
+
import '../../routeTypes-HvP8u0wg.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../types/responseTypes.js';
|
|
6
6
|
|
|
@@ -78,8 +78,8 @@ var SDK_METADATA = {
|
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
81
|
+
genVersion: "2.882.0",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -14817,7 +14817,7 @@ var Billing = class extends ClientSDK {
|
|
|
14817
14817
|
* @example
|
|
14818
14818
|
* ```typescript
|
|
14819
14819
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14820
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14820
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14821
14821
|
* ```
|
|
14822
14822
|
*
|
|
14823
14823
|
* @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-SZPTE2DZ.mjs";
|
|
4
4
|
import "../../chunk-TSF4YCUO.mjs";
|
|
5
5
|
import "../../chunk-UAR3TMWI.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-S2B2FKPR.mjs";
|
|
7
7
|
import "../../chunk-NSHGFU5H.mjs";
|
|
8
8
|
import "../../chunk-S5HPMJ4U.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-J2Y6i14Y.mjs';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-B7b2mex1.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-HvP8u0wg.js';
|
|
2
2
|
import { A as AuthResult } from '../../authTypes-B7b2mex1.js';
|
|
3
3
|
import { BackendResult } from '../types/responseTypes.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -78,8 +78,8 @@ var SDK_METADATA = {
|
|
|
78
78
|
language: "typescript",
|
|
79
79
|
openapiDocVersion: "2.2.0",
|
|
80
80
|
sdkVersion: "0.10.17",
|
|
81
|
-
genVersion: "2.
|
|
82
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
81
|
+
genVersion: "2.882.0",
|
|
82
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
83
83
|
};
|
|
84
84
|
|
|
85
85
|
// ../sdk/src/lib/http.ts
|
|
@@ -14817,7 +14817,7 @@ var Billing = class extends ClientSDK {
|
|
|
14817
14817
|
* @example
|
|
14818
14818
|
* ```typescript
|
|
14819
14819
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14820
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14820
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14821
14821
|
* ```
|
|
14822
14822
|
*
|
|
14823
14823
|
* @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-7CKSHBDB.mjs";
|
|
4
|
+
import "../../chunk-S2B2FKPR.mjs";
|
|
5
5
|
import "../../chunk-NSHGFU5H.mjs";
|
|
6
6
|
import "../../chunk-S5HPMJ4U.mjs";
|
|
7
7
|
import "../../chunk-OTXV5FY7.mjs";
|
|
@@ -5,6 +5,6 @@ export { handleRouteByName } from './handleRouteByName.mjs';
|
|
|
5
5
|
export { resolveIdentity } from './resolveIdentity.mjs';
|
|
6
6
|
import '../types/handlerTypes.mjs';
|
|
7
7
|
import '../../authTypes-B7b2mex1.mjs';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-J2Y6i14Y.mjs';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../types/responseTypes.mjs';
|
|
@@ -5,6 +5,6 @@ export { handleRouteByName } from './handleRouteByName.js';
|
|
|
5
5
|
export { resolveIdentity } from './resolveIdentity.js';
|
|
6
6
|
import '../types/handlerTypes.js';
|
|
7
7
|
import '../../authTypes-B7b2mex1.js';
|
|
8
|
-
import '../../routeTypes-
|
|
8
|
+
import '../../routeTypes-HvP8u0wg.js';
|
|
9
9
|
import 'zod/v4';
|
|
10
10
|
import '../types/responseTypes.js';
|
|
@@ -82,8 +82,8 @@ var SDK_METADATA = {
|
|
|
82
82
|
language: "typescript",
|
|
83
83
|
openapiDocVersion: "2.2.0",
|
|
84
84
|
sdkVersion: "0.10.17",
|
|
85
|
-
genVersion: "2.
|
|
86
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
85
|
+
genVersion: "2.882.0",
|
|
86
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
87
87
|
};
|
|
88
88
|
|
|
89
89
|
// ../sdk/src/lib/http.ts
|
|
@@ -14821,7 +14821,7 @@ var Billing = class extends ClientSDK {
|
|
|
14821
14821
|
* @example
|
|
14822
14822
|
* ```typescript
|
|
14823
14823
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14824
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14824
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14825
14825
|
* ```
|
|
14826
14826
|
*
|
|
14827
14827
|
* @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-7CKSHBDB.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCoreHandler
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-SZPTE2DZ.mjs";
|
|
8
8
|
import "../../chunk-TSF4YCUO.mjs";
|
|
9
9
|
import "../../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-S2B2FKPR.mjs";
|
|
11
11
|
import "../../chunk-NSHGFU5H.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-B7b2mex1.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-J2Y6i14Y.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-B7b2mex1.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-HvP8u0wg.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';
|
|
@@ -86,8 +86,8 @@ var SDK_METADATA = {
|
|
|
86
86
|
language: "typescript",
|
|
87
87
|
openapiDocVersion: "2.2.0",
|
|
88
88
|
sdkVersion: "0.10.17",
|
|
89
|
-
genVersion: "2.
|
|
90
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
89
|
+
genVersion: "2.882.0",
|
|
90
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// ../sdk/src/lib/http.ts
|
|
@@ -14825,7 +14825,7 @@ var Billing = class extends ClientSDK {
|
|
|
14825
14825
|
* @example
|
|
14826
14826
|
* ```typescript
|
|
14827
14827
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14828
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14828
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14829
14829
|
* ```
|
|
14830
14830
|
*
|
|
14831
14831
|
* @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-7CKSHBDB.mjs";
|
|
6
6
|
import {
|
|
7
7
|
createCoreHandler
|
|
8
|
-
} from "../chunk-
|
|
8
|
+
} from "../chunk-SZPTE2DZ.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-S2B2FKPR.mjs";
|
|
14
14
|
import {
|
|
15
15
|
routeConfigs
|
|
16
16
|
} from "../chunk-NSHGFU5H.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-J2Y6i14Y.mjs';
|
|
5
5
|
import '../../authTypes-B7b2mex1.mjs';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../types/responseTypes.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-HvP8u0wg.js';
|
|
5
5
|
import '../../authTypes-B7b2mex1.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
import '../types/responseTypes.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-J2Y6i14Y.mjs';
|
|
3
3
|
import '../../authTypes-B7b2mex1.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../types/responseTypes.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-HvP8u0wg.js';
|
|
3
3
|
import '../../authTypes-B7b2mex1.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
import '../types/responseTypes.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { R as RouteDefinition, b as RouteName } from '../../routeTypes-
|
|
1
|
+
import { R as RouteDefinition, b as RouteName } from '../../routeTypes-J2Y6i14Y.mjs';
|
|
2
2
|
import '../../authTypes-B7b2mex1.mjs';
|
|
3
3
|
import 'zod/v4';
|
|
4
4
|
import '../types/responseTypes.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-B7b2mex1.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-J2Y6i14Y.mjs';
|
|
5
5
|
import 'zod/v4';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-B7b2mex1.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-HvP8u0wg.js';
|
|
5
5
|
import 'zod/v4';
|
|
@@ -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-J2Y6i14Y.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../../authTypes-B7b2mex1.mjs';
|
|
4
4
|
import './responseTypes.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-HvP8u0wg.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../../authTypes-B7b2mex1.js';
|
|
4
4
|
import './responseTypes.js';
|
package/dist/backend/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-B7b2mex1.mjs';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-B7b2mex1.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-J2Y6i14Y.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-J2Y6i14Y.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-B7b2mex1.js';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-B7b2mex1.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-HvP8u0wg.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-HvP8u0wg.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
|
@@ -86,8 +86,8 @@ var SDK_METADATA = {
|
|
|
86
86
|
language: "typescript",
|
|
87
87
|
openapiDocVersion: "2.2.0",
|
|
88
88
|
sdkVersion: "0.10.17",
|
|
89
|
-
genVersion: "2.
|
|
90
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
89
|
+
genVersion: "2.882.0",
|
|
90
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
91
91
|
};
|
|
92
92
|
|
|
93
93
|
// ../sdk/src/lib/http.ts
|
|
@@ -14825,7 +14825,7 @@ var Billing = class extends ClientSDK {
|
|
|
14825
14825
|
* @example
|
|
14826
14826
|
* ```typescript
|
|
14827
14827
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14828
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14828
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14829
14829
|
* ```
|
|
14830
14830
|
*
|
|
14831
14831
|
* @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-7CKSHBDB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SZPTE2DZ.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-S2B2FKPR.mjs";
|
|
12
12
|
import {
|
|
13
13
|
routeConfigs
|
|
14
14
|
} from "./chunk-NSHGFU5H.mjs";
|
|
@@ -16707,7 +16707,7 @@ declare class Billing extends ClientSDK {
|
|
|
16707
16707
|
* @example
|
|
16708
16708
|
* ```typescript
|
|
16709
16709
|
* // Schedule a transition from a trial plan to a paid plan
|
|
16710
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
16710
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
16711
16711
|
* ```
|
|
16712
16712
|
*
|
|
16713
16713
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -16707,7 +16707,7 @@ declare class Billing extends ClientSDK {
|
|
|
16707
16707
|
* @example
|
|
16708
16708
|
* ```typescript
|
|
16709
16709
|
* // Schedule a transition from a trial plan to a paid plan
|
|
16710
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
16710
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
16711
16711
|
* ```
|
|
16712
16712
|
*
|
|
16713
16713
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -60,8 +60,8 @@ var SDK_METADATA = {
|
|
|
60
60
|
language: "typescript",
|
|
61
61
|
openapiDocVersion: "2.2.0",
|
|
62
62
|
sdkVersion: "0.10.17",
|
|
63
|
-
genVersion: "2.
|
|
64
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
63
|
+
genVersion: "2.882.0",
|
|
64
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
// ../sdk/src/lib/http.ts
|
|
@@ -14799,7 +14799,7 @@ var Billing = class extends ClientSDK {
|
|
|
14799
14799
|
* @example
|
|
14800
14800
|
* ```typescript
|
|
14801
14801
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14802
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14802
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14803
14803
|
* ```
|
|
14804
14804
|
*
|
|
14805
14805
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -3287,8 +3287,8 @@ var SDK_METADATA = {
|
|
|
3287
3287
|
language: "typescript",
|
|
3288
3288
|
openapiDocVersion: "2.2.0",
|
|
3289
3289
|
sdkVersion: "0.10.17",
|
|
3290
|
-
genVersion: "2.
|
|
3291
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
3290
|
+
genVersion: "2.882.0",
|
|
3291
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
3292
3292
|
};
|
|
3293
3293
|
|
|
3294
3294
|
// ../sdk/src/lib/http.ts
|
|
@@ -18026,7 +18026,7 @@ var Billing = class extends ClientSDK {
|
|
|
18026
18026
|
* @example
|
|
18027
18027
|
* ```typescript
|
|
18028
18028
|
* // Schedule a transition from a trial plan to a paid plan
|
|
18029
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
18029
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
18030
18030
|
* ```
|
|
18031
18031
|
*
|
|
18032
18032
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -79,8 +79,8 @@ var SDK_METADATA = {
|
|
|
79
79
|
language: "typescript",
|
|
80
80
|
openapiDocVersion: "2.2.0",
|
|
81
81
|
sdkVersion: "0.10.17",
|
|
82
|
-
genVersion: "2.
|
|
83
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
82
|
+
genVersion: "2.882.0",
|
|
83
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
84
84
|
};
|
|
85
85
|
|
|
86
86
|
// ../sdk/src/lib/http.ts
|
|
@@ -14818,7 +14818,7 @@ var Billing = class extends ClientSDK {
|
|
|
14818
14818
|
* @example
|
|
14819
14819
|
* ```typescript
|
|
14820
14820
|
* // Schedule a transition from a trial plan to a paid plan
|
|
14821
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
14821
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
14822
14822
|
* ```
|
|
14823
14823
|
*
|
|
14824
14824
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
@@ -3291,8 +3291,8 @@ var SDK_METADATA = {
|
|
|
3291
3291
|
language: "typescript",
|
|
3292
3292
|
openapiDocVersion: "2.2.0",
|
|
3293
3293
|
sdkVersion: "0.10.17",
|
|
3294
|
-
genVersion: "2.
|
|
3295
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
3294
|
+
genVersion: "2.882.0",
|
|
3295
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
3296
3296
|
};
|
|
3297
3297
|
|
|
3298
3298
|
// ../sdk/src/lib/http.ts
|
|
@@ -18030,7 +18030,7 @@ var Billing = class extends ClientSDK {
|
|
|
18030
18030
|
* @example
|
|
18031
18031
|
* ```typescript
|
|
18032
18032
|
* // Schedule a transition from a trial plan to a paid plan
|
|
18033
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
18033
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
18034
18034
|
* ```
|
|
18035
18035
|
*
|
|
18036
18036
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.d.mts
CHANGED
|
@@ -111,8 +111,8 @@ declare const SDK_METADATA: {
|
|
|
111
111
|
readonly language: "typescript";
|
|
112
112
|
readonly openapiDocVersion: "2.2.0";
|
|
113
113
|
readonly sdkVersion: "0.10.17";
|
|
114
|
-
readonly genVersion: "2.
|
|
115
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
114
|
+
readonly genVersion: "2.882.0";
|
|
115
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk";
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
/**
|
|
@@ -21662,7 +21662,7 @@ declare class Billing extends ClientSDK {
|
|
|
21662
21662
|
* @example
|
|
21663
21663
|
* ```typescript
|
|
21664
21664
|
* // Schedule a transition from a trial plan to a paid plan
|
|
21665
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
21665
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
21666
21666
|
* ```
|
|
21667
21667
|
*
|
|
21668
21668
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -111,8 +111,8 @@ declare const SDK_METADATA: {
|
|
|
111
111
|
readonly language: "typescript";
|
|
112
112
|
readonly openapiDocVersion: "2.2.0";
|
|
113
113
|
readonly sdkVersion: "0.10.17";
|
|
114
|
-
readonly genVersion: "2.
|
|
115
|
-
readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
114
|
+
readonly genVersion: "2.882.0";
|
|
115
|
+
readonly userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk";
|
|
116
116
|
};
|
|
117
117
|
|
|
118
118
|
/**
|
|
@@ -21662,7 +21662,7 @@ declare class Billing extends ClientSDK {
|
|
|
21662
21662
|
* @example
|
|
21663
21663
|
* ```typescript
|
|
21664
21664
|
* // Schedule a transition from a trial plan to a paid plan
|
|
21665
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
21665
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
21666
21666
|
* ```
|
|
21667
21667
|
*
|
|
21668
21668
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.js
CHANGED
|
@@ -83,8 +83,8 @@ var SDK_METADATA = {
|
|
|
83
83
|
language: "typescript",
|
|
84
84
|
openapiDocVersion: "2.2.0",
|
|
85
85
|
sdkVersion: "0.10.17",
|
|
86
|
-
genVersion: "2.
|
|
87
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
86
|
+
genVersion: "2.882.0",
|
|
87
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
88
88
|
};
|
|
89
89
|
|
|
90
90
|
// ../sdk/src/lib/files.ts
|
|
@@ -18641,7 +18641,7 @@ var Billing = class extends ClientSDK {
|
|
|
18641
18641
|
* @example
|
|
18642
18642
|
* ```typescript
|
|
18643
18643
|
* // Schedule a transition from a trial plan to a paid plan
|
|
18644
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
18644
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
18645
18645
|
* ```
|
|
18646
18646
|
*
|
|
18647
18647
|
* @param customerId - The ID of the customer to create the schedule for.
|
package/dist/sdk/index.mjs
CHANGED
|
@@ -60,8 +60,8 @@ var SDK_METADATA = {
|
|
|
60
60
|
language: "typescript",
|
|
61
61
|
openapiDocVersion: "2.2.0",
|
|
62
62
|
sdkVersion: "0.10.17",
|
|
63
|
-
genVersion: "2.
|
|
64
|
-
userAgent: "speakeasy-sdk/typescript 0.10.17 2.
|
|
63
|
+
genVersion: "2.882.0",
|
|
64
|
+
userAgent: "speakeasy-sdk/typescript 0.10.17 2.882.0 2.2.0 @useautumn/sdk"
|
|
65
65
|
};
|
|
66
66
|
|
|
67
67
|
// ../sdk/src/lib/files.ts
|
|
@@ -18618,7 +18618,7 @@ var Billing = class extends ClientSDK {
|
|
|
18618
18618
|
* @example
|
|
18619
18619
|
* ```typescript
|
|
18620
18620
|
* // Schedule a transition from a trial plan to a paid plan
|
|
18621
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
18621
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1778740134669,"plans":[{"planId":"trial_plan"}]},{"startsAt":1779949734669,"plans":[{"planId":"pro_plan"}]}] });
|
|
18622
18622
|
* ```
|
|
18623
18623
|
*
|
|
18624
18624
|
* @param customerId - The ID of the customer to create the schedule for.
|