autumn-js 1.5.76 → 1.5.78
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/backend/adapters/express.js +2 -0
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.js +2 -0
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.js +2 -0
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.js +2 -0
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.js +2 -0
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{chunk-RWTVQOX5.mjs → chunk-BLV2SYP6.mjs} +2 -0
- package/dist/backend/{chunk-BYXGFSWL.mjs → chunk-O6HQFQF4.mjs} +1 -1
- package/dist/backend/{chunk-NIVJ64FU.mjs → chunk-OZRVVG2G.mjs} +1 -1
- package/dist/backend/{chunk-6JGCK7VE.mjs → chunk-PNK2VRBE.mjs} +1 -1
- package/dist/backend/{chunk-FSO7BN7P.mjs → chunk-W4JBLNUW.mjs} +1 -1
- package/dist/backend/{chunk-5RVG4WCI.mjs → chunk-W6SCXAZO.mjs} +1 -1
- package/dist/backend/{chunk-JTJOX2VG.mjs → chunk-YZ3DNHYS.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 +2 -0
- package/dist/backend/core/handlers/coreHandler.mjs +3 -3
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +2 -0
- package/dist/backend/core/handlers/handleRouteByName.mjs +3 -3
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +2 -0
- package/dist/backend/core/handlers/index.mjs +6 -6
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +2 -0
- package/dist/backend/core/index.mjs +8 -8
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.mjs +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.mjs +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +2 -0
- package/dist/backend/index.mjs +6 -6
- package/dist/backend/{routeTypes-DxaGKVb4.d.mts → routeTypes-CLdikyjM.d.mts} +8 -0
- package/dist/backend/{routeTypes-PWIPf5Pt.d.ts → routeTypes-CSjhFsCE.d.ts} +8 -0
- package/dist/better-auth/{chunk-YWYWWGFV.mjs → chunk-LBJJ4YWT.mjs} +2 -0
- package/dist/better-auth/index.js +2 -0
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +2 -0
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +2 -0
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/react/AutumnContext.d.mts +4 -4
- package/dist/react/AutumnContext.d.ts +4 -4
- package/dist/react/client/AutumnClient.d.mts +4 -4
- package/dist/react/client/AutumnClient.d.ts +4 -4
- package/dist/react/client/IAutumnClient.d.mts +4 -4
- package/dist/react/client/IAutumnClient.d.ts +4 -4
- package/dist/react/client/index.d.mts +4 -4
- package/dist/react/client/index.d.ts +4 -4
- package/dist/react/{customer-DXIylcA2.d.ts → customer-Bbzqqp31.d.ts} +1 -1
- package/dist/react/{customer-CvvxFXe1.d.mts → customer-G7pUzyod.d.mts} +1 -1
- package/dist/react/hooks/index.d.mts +4 -4
- package/dist/react/hooks/index.d.ts +4 -4
- package/dist/react/hooks/index.mjs +5 -5
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
- package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
- package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
- package/dist/react/hooks/useCustomer.d.mts +3 -3
- package/dist/react/hooks/useCustomer.d.ts +3 -3
- package/dist/react/hooks/useEntity.d.mts +2 -2
- package/dist/react/hooks/useEntity.d.ts +2 -2
- package/dist/react/hooks/useListEvents.d.mts +2 -2
- package/dist/react/hooks/useListEvents.d.ts +2 -2
- package/dist/react/hooks/useListPlans.d.mts +3 -3
- package/dist/react/hooks/useListPlans.d.ts +3 -3
- package/dist/react/hooks/useReferrals.d.mts +2 -2
- package/dist/react/hooks/useReferrals.d.ts +2 -2
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.d.ts +4 -4
- package/dist/react/index.mjs +5 -5
- package/dist/react/{list-plans-response-D2hGtcnZ.d.ts → list-plans-response-BgUKygvt.d.ts} +1 -1
- package/dist/react/{list-plans-response-Cysh-Nl7.d.mts → list-plans-response-CP1yoELX.d.mts} +1 -1
- package/dist/react/{params-C_nNJhdD.d.mts → params-DgPo8Z9o.d.mts} +1 -1
- package/dist/react/{params-DlX6Au4q.d.ts → params-k3xjhEMz.d.ts} +1 -1
- package/dist/react/{plan-2ztwsPTP.d.mts → plan-cML7I3gL.d.mts} +4 -0
- package/dist/react/{plan-2ztwsPTP.d.ts → plan-cML7I3gL.d.ts} +4 -0
- package/dist/sdk/index.d.mts +8 -0
- package/dist/sdk/index.d.ts +8 -0
- package/dist/sdk/index.js +2 -0
- package/dist/sdk/index.mjs +2 -0
- package/package.json +2 -2
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../../authTypes-gdVF6IHz.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-CLdikyjM.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-gdVF6IHz.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-CSjhFsCE.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-CLdikyjM.mjs';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.mjs';
|
|
4
4
|
import '../../authTypes-gdVF6IHz.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-CSjhFsCE.js';
|
|
2
2
|
import 'zod/v4';
|
|
3
3
|
import '../utils/sanitizeBody.js';
|
|
4
4
|
import '../../authTypes-gdVF6IHz.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,
|
package/dist/backend/index.d.mts
CHANGED
|
@@ -3,8 +3,8 @@ import { C as CustomerData } from './authTypes-gdVF6IHz.mjs';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-gdVF6IHz.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-CLdikyjM.mjs';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-CLdikyjM.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-gdVF6IHz.js';
|
|
|
3
3
|
export { A as AuthResult, a as CustomerId, R as ResolvedIdentity } from './authTypes-gdVF6IHz.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-CSjhFsCE.js';
|
|
7
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn } from './routeTypes-CSjhFsCE.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
|
@@ -78817,6 +78817,7 @@ var Breakdown$inboundSchema = z54.pipe(
|
|
|
78817
78817
|
);
|
|
78818
78818
|
var BalanceRollover$inboundSchema = z54.pipe(
|
|
78819
78819
|
z54.object({
|
|
78820
|
+
id: string5(),
|
|
78820
78821
|
granted: number2(),
|
|
78821
78822
|
balance: number2(),
|
|
78822
78823
|
expires_at: number2()
|
|
@@ -101495,6 +101496,7 @@ var ListBalancesAllocation$inboundSchema = z113.object({
|
|
|
101495
101496
|
var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
|
|
101496
101497
|
var ListBalancesRollover$inboundSchema = z113.pipe(
|
|
101497
101498
|
z113.object({
|
|
101499
|
+
id: string5(),
|
|
101498
101500
|
granted: number2(),
|
|
101499
101501
|
balance: number2(),
|
|
101500
101502
|
expires_at: number2()
|
package/dist/backend/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-WYDGEDEU.mjs";
|
|
2
2
|
import "./chunk-VXND2UDT.mjs";
|
|
3
|
+
import "./chunk-W4JBLNUW.mjs";
|
|
3
4
|
import {
|
|
4
5
|
createCoreHandler
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-RWTVQOX5.mjs";
|
|
6
|
+
} from "./chunk-O6HQFQF4.mjs";
|
|
7
|
+
import "./chunk-BLV2SYP6.mjs";
|
|
8
8
|
import "./chunk-MOHYGUMA.mjs";
|
|
9
9
|
import "./chunk-TBQ27LIK.mjs";
|
|
10
10
|
import "./chunk-J44WR3QZ.mjs";
|
|
@@ -16,12 +16,12 @@ import {
|
|
|
16
16
|
routeConfigs
|
|
17
17
|
} from "./chunk-ABXVA7WZ.mjs";
|
|
18
18
|
import "./chunk-OTXV5FY7.mjs";
|
|
19
|
-
import {
|
|
20
|
-
sanitizeBody
|
|
21
|
-
} from "./chunk-I7CD6EB6.mjs";
|
|
22
19
|
import {
|
|
23
20
|
secretKeyCheck
|
|
24
21
|
} from "./chunk-VZIMT7AO.mjs";
|
|
22
|
+
import {
|
|
23
|
+
sanitizeBody
|
|
24
|
+
} from "./chunk-I7CD6EB6.mjs";
|
|
25
25
|
import {
|
|
26
26
|
backendError,
|
|
27
27
|
backendSuccess,
|
|
@@ -30289,6 +30289,10 @@ type Breakdown = {
|
|
|
30289
30289
|
contributions?: Contributions | undefined;
|
|
30290
30290
|
};
|
|
30291
30291
|
type BalanceRollover = {
|
|
30292
|
+
/**
|
|
30293
|
+
* ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
|
|
30294
|
+
*/
|
|
30295
|
+
id: string;
|
|
30292
30296
|
/**
|
|
30293
30297
|
* Amount originally rolled over from a previous period, before any of it was consumed.
|
|
30294
30298
|
*/
|
|
@@ -59275,6 +59279,10 @@ declare const ListBalancesListStatus: {
|
|
|
59275
59279
|
*/
|
|
59276
59280
|
type ListBalancesListStatus = OpenEnum<typeof ListBalancesListStatus>;
|
|
59277
59281
|
type ListBalancesRollover = {
|
|
59282
|
+
/**
|
|
59283
|
+
* ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
|
|
59284
|
+
*/
|
|
59285
|
+
id: string;
|
|
59278
59286
|
/**
|
|
59279
59287
|
* Amount originally rolled over from a previous period, before any of it was consumed.
|
|
59280
59288
|
*/
|
|
@@ -30289,6 +30289,10 @@ type Breakdown = {
|
|
|
30289
30289
|
contributions?: Contributions | undefined;
|
|
30290
30290
|
};
|
|
30291
30291
|
type BalanceRollover = {
|
|
30292
|
+
/**
|
|
30293
|
+
* ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
|
|
30294
|
+
*/
|
|
30295
|
+
id: string;
|
|
30292
30296
|
/**
|
|
30293
30297
|
* Amount originally rolled over from a previous period, before any of it was consumed.
|
|
30294
30298
|
*/
|
|
@@ -59275,6 +59279,10 @@ declare const ListBalancesListStatus: {
|
|
|
59275
59279
|
*/
|
|
59276
59280
|
type ListBalancesListStatus = OpenEnum<typeof ListBalancesListStatus>;
|
|
59277
59281
|
type ListBalancesRollover = {
|
|
59282
|
+
/**
|
|
59283
|
+
* ID of this rollover. Matches balance_id in track and events.list deductions that drew from it.
|
|
59284
|
+
*/
|
|
59285
|
+
id: string;
|
|
59278
59286
|
/**
|
|
59279
59287
|
* Amount originally rolled over from a previous period, before any of it was consumed.
|
|
59280
59288
|
*/
|
|
@@ -78791,6 +78791,7 @@ var Breakdown$inboundSchema = z54.pipe(
|
|
|
78791
78791
|
);
|
|
78792
78792
|
var BalanceRollover$inboundSchema = z54.pipe(
|
|
78793
78793
|
z54.object({
|
|
78794
|
+
id: string5(),
|
|
78794
78795
|
granted: number2(),
|
|
78795
78796
|
balance: number2(),
|
|
78796
78797
|
expires_at: number2()
|
|
@@ -101469,6 +101470,7 @@ var ListBalancesAllocation$inboundSchema = z113.object({
|
|
|
101469
101470
|
var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
|
|
101470
101471
|
var ListBalancesRollover$inboundSchema = z113.pipe(
|
|
101471
101472
|
z113.object({
|
|
101473
|
+
id: string5(),
|
|
101472
101474
|
granted: number2(),
|
|
101473
101475
|
balance: number2(),
|
|
101474
101476
|
expires_at: number2()
|
|
@@ -88487,6 +88487,7 @@ var Breakdown$inboundSchema = z73.pipe(
|
|
|
88487
88487
|
);
|
|
88488
88488
|
var BalanceRollover$inboundSchema = z73.pipe(
|
|
88489
88489
|
z73.object({
|
|
88490
|
+
id: string5(),
|
|
88490
88491
|
granted: number2(),
|
|
88491
88492
|
balance: number2(),
|
|
88492
88493
|
expires_at: number2()
|
|
@@ -111165,6 +111166,7 @@ var ListBalancesAllocation$inboundSchema = z132.object({
|
|
|
111165
111166
|
var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
|
|
111166
111167
|
var ListBalancesRollover$inboundSchema = z132.pipe(
|
|
111167
111168
|
z132.object({
|
|
111169
|
+
id: string5(),
|
|
111168
111170
|
granted: number2(),
|
|
111169
111171
|
balance: number2(),
|
|
111170
111172
|
expires_at: number2()
|
|
@@ -78810,6 +78810,7 @@ var Breakdown$inboundSchema = z54.pipe(
|
|
|
78810
78810
|
);
|
|
78811
78811
|
var BalanceRollover$inboundSchema = z54.pipe(
|
|
78812
78812
|
z54.object({
|
|
78813
|
+
id: string5(),
|
|
78813
78814
|
granted: number2(),
|
|
78814
78815
|
balance: number2(),
|
|
78815
78816
|
expires_at: number2()
|
|
@@ -101488,6 +101489,7 @@ var ListBalancesAllocation$inboundSchema = z113.object({
|
|
|
101488
101489
|
var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
|
|
101489
101490
|
var ListBalancesRollover$inboundSchema = z113.pipe(
|
|
101490
101491
|
z113.object({
|
|
101492
|
+
id: string5(),
|
|
101491
101493
|
granted: number2(),
|
|
101492
101494
|
balance: number2(),
|
|
101493
101495
|
expires_at: number2()
|
|
@@ -88491,6 +88491,7 @@ var Breakdown$inboundSchema = z73.pipe(
|
|
|
88491
88491
|
);
|
|
88492
88492
|
var BalanceRollover$inboundSchema = z73.pipe(
|
|
88493
88493
|
z73.object({
|
|
88494
|
+
id: string5(),
|
|
88494
88495
|
granted: number2(),
|
|
88495
88496
|
balance: number2(),
|
|
88496
88497
|
expires_at: number2()
|
|
@@ -111169,6 +111170,7 @@ var ListBalancesAllocation$inboundSchema = z132.object({
|
|
|
111169
111170
|
var ListBalancesListStatus$inboundSchema = inboundSchema(ListBalancesListStatus);
|
|
111170
111171
|
var ListBalancesRollover$inboundSchema = z132.pipe(
|
|
111171
111172
|
z132.object({
|
|
111173
|
+
id: string5(),
|
|
111172
111174
|
granted: number2(),
|
|
111173
111175
|
balance: number2(),
|
|
111174
111176
|
expires_at: number2()
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { IAutumnClient } from './client/IAutumnClient.mjs';
|
|
3
|
-
import './params-
|
|
4
|
-
import './plan-
|
|
5
|
-
import './customer-
|
|
6
|
-
import './list-plans-response-
|
|
3
|
+
import './params-DgPo8Z9o.mjs';
|
|
4
|
+
import './plan-cML7I3gL.mjs';
|
|
5
|
+
import './customer-G7pUzyod.mjs';
|
|
6
|
+
import './list-plans-response-CP1yoELX.mjs';
|
|
7
7
|
|
|
8
8
|
type AutumnContextValue = {
|
|
9
9
|
client: IAutumnClient;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { IAutumnClient } from './client/IAutumnClient.js';
|
|
3
|
-
import './params-
|
|
4
|
-
import './plan-
|
|
5
|
-
import './customer-
|
|
6
|
-
import './list-plans-response-
|
|
3
|
+
import './params-k3xjhEMz.js';
|
|
4
|
+
import './plan-cML7I3gL.js';
|
|
5
|
+
import './customer-Bbzqqp31.js';
|
|
6
|
+
import './list-plans-response-BgUKygvt.js';
|
|
7
7
|
|
|
8
8
|
type AutumnContextValue = {
|
|
9
9
|
client: IAutumnClient;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IAutumnClient } from './IAutumnClient.mjs';
|
|
2
|
-
import '../params-
|
|
3
|
-
import '../plan-
|
|
4
|
-
import '../customer-
|
|
5
|
-
import '../list-plans-response-
|
|
2
|
+
import '../params-DgPo8Z9o.mjs';
|
|
3
|
+
import '../plan-cML7I3gL.mjs';
|
|
4
|
+
import '../customer-G7pUzyod.mjs';
|
|
5
|
+
import '../list-plans-response-CP1yoELX.mjs';
|
|
6
6
|
|
|
7
7
|
/** Configuration for Autumn client */
|
|
8
8
|
type AutumnClientConfig = {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { IAutumnClient } from './IAutumnClient.js';
|
|
2
|
-
import '../params-
|
|
3
|
-
import '../plan-
|
|
4
|
-
import '../customer-
|
|
5
|
-
import '../list-plans-response-
|
|
2
|
+
import '../params-k3xjhEMz.js';
|
|
3
|
+
import '../plan-cML7I3gL.js';
|
|
4
|
+
import '../customer-Bbzqqp31.js';
|
|
5
|
+
import '../list-plans-response-BgUKygvt.js';
|
|
6
6
|
|
|
7
7
|
/** Configuration for Autumn client */
|
|
8
8
|
type AutumnClientConfig = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
3
|
-
import { L as ListPlansResponse } from '../list-plans-response-
|
|
4
|
-
import '../plan-
|
|
1
|
+
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-DgPo8Z9o.mjs';
|
|
2
|
+
import { C as Customer } from '../customer-G7pUzyod.mjs';
|
|
3
|
+
import { L as ListPlansResponse } from '../list-plans-response-CP1yoELX.mjs';
|
|
4
|
+
import '../plan-cML7I3gL.mjs';
|
|
5
5
|
|
|
6
6
|
/** Client interface matching backend RPC routes */
|
|
7
7
|
interface IAutumnClient {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
3
|
-
import { L as ListPlansResponse } from '../list-plans-response-
|
|
4
|
-
import '../plan-
|
|
1
|
+
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, t as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, u as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-k3xjhEMz.js';
|
|
2
|
+
import { C as Customer } from '../customer-Bbzqqp31.js';
|
|
3
|
+
import { L as ListPlansResponse } from '../list-plans-response-BgUKygvt.js';
|
|
4
|
+
import '../plan-cML7I3gL.js';
|
|
5
5
|
|
|
6
6
|
/** Client interface matching backend RPC routes */
|
|
7
7
|
interface IAutumnClient {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AutumnClientConfig, createAutumnClient } from './AutumnClient.mjs';
|
|
2
2
|
export { AutumnClientError } from './AutumnClientError.mjs';
|
|
3
3
|
export { IAutumnClient } from './IAutumnClient.mjs';
|
|
4
|
-
import '../params-
|
|
5
|
-
import '../plan-
|
|
6
|
-
import '../customer-
|
|
7
|
-
import '../list-plans-response-
|
|
4
|
+
import '../params-DgPo8Z9o.mjs';
|
|
5
|
+
import '../plan-cML7I3gL.mjs';
|
|
6
|
+
import '../customer-G7pUzyod.mjs';
|
|
7
|
+
import '../list-plans-response-CP1yoELX.mjs';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { AutumnClientConfig, createAutumnClient } from './AutumnClient.js';
|
|
2
2
|
export { AutumnClientError } from './AutumnClientError.js';
|
|
3
3
|
export { IAutumnClient } from './IAutumnClient.js';
|
|
4
|
-
import '../params-
|
|
5
|
-
import '../plan-
|
|
6
|
-
import '../customer-
|
|
7
|
-
import '../list-plans-response-
|
|
4
|
+
import '../params-k3xjhEMz.js';
|
|
5
|
+
import '../plan-cML7I3gL.js';
|
|
6
|
+
import '../customer-Bbzqqp31.js';
|
|
7
|
+
import '../list-plans-response-BgUKygvt.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, P as Plan, a as Balance, C as CreditDimensionUnion, b as ClosedEnum } from './plan-
|
|
1
|
+
import { O as OpenEnum, P as Plan, a as Balance, C as CreditDimensionUnion, b as ClosedEnum } from './plan-cML7I3gL.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The environment this customer was created in.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, P as Plan, a as Balance, C as CreditDimensionUnion, b as ClosedEnum } from './plan-
|
|
1
|
+
import { O as OpenEnum, P as Plan, a as Balance, C as CreditDimensionUnion, b as ClosedEnum } from './plan-cML7I3gL.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The environment this customer was created in.
|
|
@@ -7,7 +7,7 @@ export { UseListPlansParams, useListPlans } from './useListPlans.mjs';
|
|
|
7
7
|
export { UseReferralsParams, UseReferralsResult, useReferrals } from './useReferrals.mjs';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import '../client/AutumnClientError.mjs';
|
|
10
|
-
import '../params-
|
|
11
|
-
import '../plan-
|
|
12
|
-
import '../customer-
|
|
13
|
-
import '../list-plans-response-
|
|
10
|
+
import '../params-DgPo8Z9o.mjs';
|
|
11
|
+
import '../plan-cML7I3gL.mjs';
|
|
12
|
+
import '../customer-G7pUzyod.mjs';
|
|
13
|
+
import '../list-plans-response-CP1yoELX.mjs';
|
|
@@ -7,7 +7,7 @@ export { UseListPlansParams, useListPlans } from './useListPlans.js';
|
|
|
7
7
|
export { UseReferralsParams, UseReferralsResult, useReferrals } from './useReferrals.js';
|
|
8
8
|
import '@tanstack/react-query';
|
|
9
9
|
import '../client/AutumnClientError.js';
|
|
10
|
-
import '../params-
|
|
11
|
-
import '../plan-
|
|
12
|
-
import '../customer-
|
|
13
|
-
import '../list-plans-response-
|
|
10
|
+
import '../params-k3xjhEMz.js';
|
|
11
|
+
import '../plan-cML7I3gL.js';
|
|
12
|
+
import '../customer-Bbzqqp31.js';
|
|
13
|
+
import '../list-plans-response-BgUKygvt.js';
|
|
@@ -6,11 +6,6 @@ import {
|
|
|
6
6
|
useCustomer
|
|
7
7
|
} from "../chunk-JV4GHJ4W.mjs";
|
|
8
8
|
import "../chunk-VKY4SZNZ.mjs";
|
|
9
|
-
import "../chunk-Q7HVHWDK.mjs";
|
|
10
|
-
import "../chunk-GSJF6P3Q.mjs";
|
|
11
|
-
import "../chunk-SEQHNPTF.mjs";
|
|
12
|
-
import "../chunk-4TON573W.mjs";
|
|
13
|
-
import "../chunk-NDHIXCZM.mjs";
|
|
14
9
|
import {
|
|
15
10
|
useEntity
|
|
16
11
|
} from "../chunk-7SRCZYRC.mjs";
|
|
@@ -23,6 +18,11 @@ import {
|
|
|
23
18
|
import {
|
|
24
19
|
useReferrals
|
|
25
20
|
} from "../chunk-QUGX6XRQ.mjs";
|
|
21
|
+
import "../chunk-Q7HVHWDK.mjs";
|
|
22
|
+
import "../chunk-GSJF6P3Q.mjs";
|
|
23
|
+
import "../chunk-SEQHNPTF.mjs";
|
|
24
|
+
import "../chunk-4TON573W.mjs";
|
|
25
|
+
import "../chunk-NDHIXCZM.mjs";
|
|
26
26
|
import "../chunk-KCOHZSS3.mjs";
|
|
27
27
|
import "../chunk-SOA7GEAN.mjs";
|
|
28
28
|
export {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-G7pUzyod.mjs';
|
|
2
|
+
import '../../../plan-cML7I3gL.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerBalance = Customer["balances"][string];
|
|
5
5
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-Bbzqqp31.js';
|
|
2
|
+
import '../../../plan-cML7I3gL.js';
|
|
3
3
|
|
|
4
4
|
type CustomerBalance = Customer["balances"][string];
|
|
5
5
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-G7pUzyod.mjs';
|
|
2
|
+
import '../../../plan-cML7I3gL.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const customerToFeatures: ({ customer, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-Bbzqqp31.js';
|
|
2
|
+
import '../../../plan-cML7I3gL.js';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const customerToFeatures: ({ customer, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BalanceFeature } from '../../../plan-
|
|
2
|
-
import { C as Customer } from '../../../customer-
|
|
1
|
+
import { B as BalanceFeature } from '../../../plan-cML7I3gL.mjs';
|
|
2
|
+
import { C as Customer } from '../../../customer-G7pUzyod.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const findCreditSystemsByFeature: ({ featureId, features, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { B as BalanceFeature } from '../../../plan-
|
|
2
|
-
import { C as Customer } from '../../../customer-
|
|
1
|
+
import { B as BalanceFeature } from '../../../plan-cML7I3gL.js';
|
|
2
|
+
import { C as Customer } from '../../../customer-Bbzqqp31.js';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const findCreditSystemsByFeature: ({ featureId, features, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-G7pUzyod.mjs';
|
|
2
|
+
import '../../../plan-cML7I3gL.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const getCreditCost: ({ featureId, creditSystem, amount, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
-
import '../../../plan-
|
|
1
|
+
import { C as Customer } from '../../../customer-Bbzqqp31.js';
|
|
2
|
+
import '../../../plan-cML7I3gL.js';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const getCreditCost: ({ featureId, creditSystem, amount, }: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ClientCheckParams, o as CheckResponse } from '../../params-
|
|
2
|
-
import { C as Customer } from '../../customer-
|
|
3
|
-
import '../../plan-
|
|
1
|
+
import { n as ClientCheckParams, o as CheckResponse } from '../../params-DgPo8Z9o.mjs';
|
|
2
|
+
import { C as Customer } from '../../customer-G7pUzyod.mjs';
|
|
3
|
+
import '../../plan-cML7I3gL.mjs';
|
|
4
4
|
|
|
5
5
|
declare const getLocalCheckResponse: ({ customer, params, }: {
|
|
6
6
|
customer: Customer | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as ClientCheckParams, o as CheckResponse } from '../../params-
|
|
2
|
-
import { C as Customer } from '../../customer-
|
|
3
|
-
import '../../plan-
|
|
1
|
+
import { n as ClientCheckParams, o as CheckResponse } from '../../params-k3xjhEMz.js';
|
|
2
|
+
import { C as Customer } from '../../customer-Bbzqqp31.js';
|
|
3
|
+
import '../../plan-cML7I3gL.js';
|
|
4
4
|
|
|
5
5
|
declare const getLocalCheckResponse: ({ customer, params, }: {
|
|
6
6
|
customer: Customer | null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-
|
|
2
|
-
import { C as Customer } from '../../customer-
|
|
1
|
+
import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-DgPo8Z9o.mjs';
|
|
2
|
+
import { C as Customer } from '../../customer-G7pUzyod.mjs';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.mjs';
|
|
4
|
-
import '../../plan-
|
|
5
|
-
import '../../list-plans-response-
|
|
4
|
+
import '../../plan-cML7I3gL.mjs';
|
|
5
|
+
import '../../list-plans-response-CP1yoELX.mjs';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Autumn's React hooks are deprecated, as they don't scale well over time. Please use our backend SDK instead.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-
|
|
2
|
-
import { C as Customer } from '../../customer-
|
|
1
|
+
import { a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, n as ClientCheckParams, o as CheckResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse } from '../../params-k3xjhEMz.js';
|
|
2
|
+
import { C as Customer } from '../../customer-Bbzqqp31.js';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.js';
|
|
4
|
-
import '../../plan-
|
|
5
|
-
import '../../list-plans-response-
|
|
4
|
+
import '../../plan-cML7I3gL.js';
|
|
5
|
+
import '../../list-plans-response-BgUKygvt.js';
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* @deprecated Autumn's React hooks are deprecated, as they don't scale well over time. Please use our backend SDK instead.
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, w as AggregateEventsTotal } from '../params-
|
|
2
|
+
import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, w as AggregateEventsTotal } from '../params-DgPo8Z9o.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
|
-
import '../plan-
|
|
5
|
+
import '../plan-cML7I3gL.mjs';
|
|
6
6
|
|
|
7
7
|
type UseAggregateEventsParams = HookParams<ClientAggregateEventsParams, AggregateEventsResponse>;
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, w as AggregateEventsTotal } from '../params-
|
|
2
|
+
import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, w as AggregateEventsTotal } from '../params-k3xjhEMz.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
|
-
import '../plan-
|
|
5
|
+
import '../plan-cML7I3gL.js';
|
|
6
6
|
|
|
7
7
|
type UseAggregateEventsParams = HookParams<ClientAggregateEventsParams, AggregateEventsResponse>;
|
|
8
8
|
/**
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, o as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
1
|
+
import { n as ClientCheckParams, d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, A as AttachResponse, h as ClientPreviewAttachParams, p as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, q as PreviewUpdateResponse, o as CheckResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, r as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse } from '../params-DgPo8Z9o.mjs';
|
|
2
|
+
import { C as Customer } from '../customer-G7pUzyod.mjs';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.mjs';
|
|
4
|
-
import '../plan-
|
|
4
|
+
import '../plan-cML7I3gL.mjs';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import '../client/AutumnClientError.mjs';
|
|
7
7
|
|