autumn-js 1.3.2 → 1.3.3
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 +6018 -6627
- package/dist/backend/adapters/express.mjs +9 -9
- package/dist/backend/adapters/fetch.js +6018 -6627
- package/dist/backend/adapters/fetch.mjs +9 -9
- package/dist/backend/adapters/hono.js +6018 -6627
- package/dist/backend/adapters/hono.mjs +9 -9
- package/dist/backend/adapters/index.js +6019 -6628
- package/dist/backend/adapters/index.mjs +12 -12
- package/dist/backend/adapters/next.js +6018 -6627
- package/dist/backend/adapters/next.mjs +9 -9
- package/dist/backend/{chunk-P3NB2TPD.mjs → chunk-65W4TZTS.mjs} +1 -1
- package/dist/backend/{chunk-U3XVAFP3.mjs → chunk-7KCCF4EQ.mjs} +1 -1
- package/dist/backend/{chunk-BN2RKNWA.mjs → chunk-7M2QJK3F.mjs} +1 -1
- package/dist/backend/{chunk-WBVNGT6C.mjs → chunk-ALCYAWIU.mjs} +5615 -5173
- package/dist/backend/{chunk-UFFJTOUP.mjs → chunk-DMYETTMK.mjs} +1 -1
- package/dist/backend/{chunk-O2FNE4BV.mjs → chunk-ECPEYFTT.mjs} +7 -7
- package/dist/backend/{chunk-MMTTJRJ7.mjs → chunk-QTW6YBAQ.mjs} +790 -1841
- package/dist/backend/{chunk-2WFPFKXF.mjs → chunk-UCE7X36J.mjs} +5 -5
- 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 +6018 -6627
- package/dist/backend/core/handlers/coreHandler.mjs +7 -7
- 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 +4 -4
- package/dist/backend/core/handlers/handleRouteByName.js +6018 -6627
- package/dist/backend/core/handlers/handleRouteByName.mjs +7 -7
- 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 +6018 -6627
- package/dist/backend/core/handlers/index.mjs +10 -10
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +6018 -6627
- package/dist/backend/core/index.mjs +10 -10
- 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.js +790 -1841
- package/dist/backend/core/routes/index.mjs +2 -2
- 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.js +790 -1841
- package/dist/backend/core/routes/routeConfigs.mjs +2 -2
- 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 +6018 -6627
- package/dist/backend/index.mjs +10 -10
- package/dist/backend/{routeTypes-B4IhP62O.d.mts → routeTypes-CIyvTbT-.d.mts} +933 -268
- package/dist/backend/{routeTypes-Clg-tGZs.d.ts → routeTypes-Dovw-kXS.d.ts} +933 -268
- package/dist/better-auth/{chunk-QRHWL7PJ.mjs → chunk-AYUZ7BAL.mjs} +1 -1
- package/dist/better-auth/{chunk-ZSPHK3QP.mjs → chunk-MAM2SPNT.mjs} +790 -1841
- package/dist/better-auth/{chunk-GHX3KM47.mjs → chunk-RXQY5TZP.mjs} +5616 -5174
- package/dist/better-auth/index.js +6247 -6856
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +790 -1841
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +6018 -6627
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +6247 -6856
- package/dist/better-auth/utils/index.mjs +3 -3
- 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-7v3j-HM8.d.ts → customer-Bp7Npmb4.d.ts} +1 -5
- package/dist/react/{customer-B1dHh-Kx.d.mts → customer-Ho7hCUyc.d.mts} +1 -5
- 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-BdNdM3Qx.d.ts → list-plans-response-CN5npYlB.d.mts} +126 -5
- package/dist/react/{list-plans-response-CH1VbFIg.d.mts → list-plans-response-ZA4i4qbk.d.ts} +126 -5
- package/dist/react/{params-ClWEGYj-.d.mts → params-ChTAunjw.d.ts} +344 -25
- package/dist/react/{params-cj_zZr99.d.ts → params-xlsDk_Hb.d.mts} +344 -25
- package/dist/react/{plan-Dq6s6t9I.d.mts → plan-CrpW2EZo.d.mts} +52 -5
- package/dist/react/{plan-Dq6s6t9I.d.ts → plan-CrpW2EZo.d.ts} +52 -5
- package/dist/sdk/index.d.mts +4387 -3312
- package/dist/sdk/index.d.ts +4387 -3312
- package/dist/sdk/index.js +19203 -18287
- package/dist/sdk/index.mjs +19003 -18271
- package/package.json +3 -2
- package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-HIWOK3G6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
createAutumnEndpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-AYUZ7BAL.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createHandleBetterAuthRoute
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-RXQY5TZP.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveIdentityFromScope
|
|
10
10
|
} from "../chunk-J2WYVGHS.mjs";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-MAM2SPNT.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getActiveOrganization
|
|
14
14
|
} from "../chunk-BT3EAYVW.mjs";
|
|
@@ -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-xlsDk_Hb.mjs';
|
|
4
|
+
import './plan-CrpW2EZo.mjs';
|
|
5
|
+
import './customer-Ho7hCUyc.mjs';
|
|
6
|
+
import './list-plans-response-CN5npYlB.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-ChTAunjw.js';
|
|
4
|
+
import './plan-CrpW2EZo.js';
|
|
5
|
+
import './customer-Bp7Npmb4.js';
|
|
6
|
+
import './list-plans-response-ZA4i4qbk.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-xlsDk_Hb.mjs';
|
|
3
|
+
import '../plan-CrpW2EZo.mjs';
|
|
4
|
+
import '../customer-Ho7hCUyc.mjs';
|
|
5
|
+
import '../list-plans-response-CN5npYlB.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-ChTAunjw.js';
|
|
3
|
+
import '../plan-CrpW2EZo.js';
|
|
4
|
+
import '../customer-Bp7Npmb4.js';
|
|
5
|
+
import '../list-plans-response-ZA4i4qbk.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-xlsDk_Hb.mjs';
|
|
2
|
+
import { C as Customer } from '../customer-Ho7hCUyc.mjs';
|
|
3
|
+
import { L as ListPlansResponse } from '../list-plans-response-CN5npYlB.mjs';
|
|
4
|
+
import '../plan-CrpW2EZo.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-ChTAunjw.js';
|
|
2
|
+
import { C as Customer } from '../customer-Bp7Npmb4.js';
|
|
3
|
+
import { L as ListPlansResponse } from '../list-plans-response-ZA4i4qbk.js';
|
|
4
|
+
import '../plan-CrpW2EZo.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-xlsDk_Hb.mjs';
|
|
5
|
+
import '../plan-CrpW2EZo.mjs';
|
|
6
|
+
import '../customer-Ho7hCUyc.mjs';
|
|
7
|
+
import '../list-plans-response-CN5npYlB.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-ChTAunjw.js';
|
|
5
|
+
import '../plan-CrpW2EZo.js';
|
|
6
|
+
import '../customer-Bp7Npmb4.js';
|
|
7
|
+
import '../list-plans-response-ZA4i4qbk.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-
|
|
1
|
+
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-CrpW2EZo.js';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The environment this customer was created in.
|
|
@@ -852,10 +852,6 @@ type CustomerFeature = {
|
|
|
852
852
|
* For classic credit systems: maps metered features to flat or graduated credit costs.
|
|
853
853
|
*/
|
|
854
854
|
creditSchema?: Array<CustomerCreditSchema1 | CustomerCreditSchema2 | CustomerCreditSchema3> | undefined;
|
|
855
|
-
/**
|
|
856
|
-
* Whether usage of this classic credit system should be itemized as invoice credits.
|
|
857
|
-
*/
|
|
858
|
-
invoiceCredit?: boolean | undefined;
|
|
859
855
|
/**
|
|
860
856
|
* Per-model markup overrides for AI credit systems.
|
|
861
857
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-
|
|
1
|
+
import { O as OpenEnum, P as Plan, a as Balance, C as ClosedEnum } from './plan-CrpW2EZo.mjs';
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* The environment this customer was created in.
|
|
@@ -852,10 +852,6 @@ type CustomerFeature = {
|
|
|
852
852
|
* For classic credit systems: maps metered features to flat or graduated credit costs.
|
|
853
853
|
*/
|
|
854
854
|
creditSchema?: Array<CustomerCreditSchema1 | CustomerCreditSchema2 | CustomerCreditSchema3> | undefined;
|
|
855
|
-
/**
|
|
856
|
-
* Whether usage of this classic credit system should be itemized as invoice credits.
|
|
857
|
-
*/
|
|
858
|
-
invoiceCredit?: boolean | undefined;
|
|
859
855
|
/**
|
|
860
856
|
* Per-model markup overrides for AI credit systems.
|
|
861
857
|
*/
|
|
@@ -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-xlsDk_Hb.mjs';
|
|
11
|
+
import '../plan-CrpW2EZo.mjs';
|
|
12
|
+
import '../customer-Ho7hCUyc.mjs';
|
|
13
|
+
import '../list-plans-response-CN5npYlB.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-ChTAunjw.js';
|
|
11
|
+
import '../plan-CrpW2EZo.js';
|
|
12
|
+
import '../customer-Bp7Npmb4.js';
|
|
13
|
+
import '../list-plans-response-ZA4i4qbk.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-Ho7hCUyc.mjs';
|
|
2
|
+
import '../../../plan-CrpW2EZo.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-Bp7Npmb4.js';
|
|
2
|
+
import '../../../plan-CrpW2EZo.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-Ho7hCUyc.mjs';
|
|
2
|
+
import '../../../plan-CrpW2EZo.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-Bp7Npmb4.js';
|
|
2
|
+
import '../../../plan-CrpW2EZo.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-CrpW2EZo.mjs';
|
|
2
|
+
import { C as Customer } from '../../../customer-Ho7hCUyc.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-CrpW2EZo.js';
|
|
2
|
+
import { C as Customer } from '../../../customer-Bp7Npmb4.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-Ho7hCUyc.mjs';
|
|
2
|
+
import '../../../plan-CrpW2EZo.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-Bp7Npmb4.js';
|
|
2
|
+
import '../../../plan-CrpW2EZo.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-xlsDk_Hb.mjs';
|
|
2
|
+
import { C as Customer } from '../../customer-Ho7hCUyc.mjs';
|
|
3
|
+
import '../../plan-CrpW2EZo.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-ChTAunjw.js';
|
|
2
|
+
import { C as Customer } from '../../customer-Bp7Npmb4.js';
|
|
3
|
+
import '../../plan-CrpW2EZo.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-xlsDk_Hb.mjs';
|
|
2
|
+
import { C as Customer } from '../../customer-Ho7hCUyc.mjs';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.mjs';
|
|
4
|
-
import '../../plan-
|
|
5
|
-
import '../../list-plans-response-
|
|
4
|
+
import '../../plan-CrpW2EZo.mjs';
|
|
5
|
+
import '../../list-plans-response-CN5npYlB.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-ChTAunjw.js';
|
|
2
|
+
import { C as Customer } from '../../customer-Bp7Npmb4.js';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.js';
|
|
4
|
-
import '../../plan-
|
|
5
|
-
import '../../list-plans-response-
|
|
4
|
+
import '../../plan-CrpW2EZo.js';
|
|
5
|
+
import '../../list-plans-response-ZA4i4qbk.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, T as Total } from '../params-
|
|
2
|
+
import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-xlsDk_Hb.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
|
-
import '../plan-
|
|
5
|
+
import '../plan-CrpW2EZo.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, T as Total } from '../params-
|
|
2
|
+
import { C as ClientAggregateEventsParams, u as AggregateEventsResponse, v as AggregateEventsList, T as Total } from '../params-ChTAunjw.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
|
-
import '../plan-
|
|
5
|
+
import '../plan-CrpW2EZo.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-xlsDk_Hb.mjs';
|
|
2
|
+
import { C as Customer } from '../customer-Ho7hCUyc.mjs';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.mjs';
|
|
4
|
-
import '../plan-
|
|
4
|
+
import '../plan-CrpW2EZo.mjs';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import '../client/AutumnClientError.mjs';
|
|
7
7
|
|
|
@@ -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-ChTAunjw.js';
|
|
2
|
+
import { C as Customer } from '../customer-Bp7Npmb4.js';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.js';
|
|
4
|
-
import '../plan-
|
|
4
|
+
import '../plan-CrpW2EZo.js';
|
|
5
5
|
import '@tanstack/react-query';
|
|
6
6
|
import '../client/AutumnClientError.js';
|
|
7
7
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
1
|
+
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-xlsDk_Hb.mjs';
|
|
2
2
|
import { HookParams, HookResult } from './types.mjs';
|
|
3
|
-
import '../plan-
|
|
3
|
+
import '../plan-CrpW2EZo.mjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '../client/AutumnClientError.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
1
|
+
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-ChTAunjw.js';
|
|
2
2
|
import { HookParams, HookResult } from './types.js';
|
|
3
|
-
import '../plan-
|
|
3
|
+
import '../plan-CrpW2EZo.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '../client/AutumnClientError.js';
|
|
6
6
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-
|
|
2
|
+
import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-xlsDk_Hb.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
|
-
import '../plan-
|
|
5
|
+
import '../plan-CrpW2EZo.mjs';
|
|
6
6
|
|
|
7
7
|
type UseListEventsParams = HookParams<ClientListEventsParams, ListEventsResponse>;
|
|
8
8
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-
|
|
2
|
+
import { e as ClientListEventsParams, L as ListEventsResponse, w as ListEventsList } from '../params-ChTAunjw.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
|
-
import '../plan-
|
|
5
|
+
import '../plan-CrpW2EZo.js';
|
|
6
6
|
|
|
7
7
|
type UseListEventsParams = HookParams<ClientListEventsParams, ListEventsResponse>;
|
|
8
8
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { a as ListPlansList } from '../list-plans-response-
|
|
3
|
-
import { t as ClientListPlansParams } from '../params-
|
|
2
|
+
import { a as ListPlansList } from '../list-plans-response-CN5npYlB.mjs';
|
|
3
|
+
import { t as ClientListPlansParams } from '../params-xlsDk_Hb.mjs';
|
|
4
4
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
5
5
|
import { HookParams } from './types.mjs';
|
|
6
|
-
import '../plan-
|
|
6
|
+
import '../plan-CrpW2EZo.mjs';
|
|
7
7
|
|
|
8
8
|
type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>;
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
|
-
import { a as ListPlansList } from '../list-plans-response-
|
|
3
|
-
import { t as ClientListPlansParams } from '../params-
|
|
2
|
+
import { a as ListPlansList } from '../list-plans-response-ZA4i4qbk.js';
|
|
3
|
+
import { t as ClientListPlansParams } from '../params-ChTAunjw.js';
|
|
4
4
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
5
5
|
import { HookParams } from './types.js';
|
|
6
|
-
import '../plan-
|
|
6
|
+
import '../plan-CrpW2EZo.js';
|
|
7
7
|
|
|
8
8
|
type UseListPlansParams = HookParams<ClientListPlansParams, ListPlansList[]>;
|
|
9
9
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-
|
|
1
|
+
import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-xlsDk_Hb.mjs';
|
|
2
2
|
import { HookParams, HookResultWithMethods } from './types.mjs';
|
|
3
|
-
import '../plan-
|
|
3
|
+
import '../plan-CrpW2EZo.mjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '../client/AutumnClientError.mjs';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-
|
|
1
|
+
import { b as ClientCreateReferralCodeParams, s as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse } from '../params-ChTAunjw.js';
|
|
2
2
|
import { HookParams, HookResultWithMethods } from './types.js';
|
|
3
|
-
import '../plan-
|
|
3
|
+
import '../plan-CrpW2EZo.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
5
5
|
import '../client/AutumnClientError.js';
|
|
6
6
|
|
package/dist/react/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-
|
|
1
|
+
export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-xlsDk_Hb.mjs';
|
|
2
2
|
export { useAutumnClient } from './AutumnContext.mjs';
|
|
3
3
|
export { AutumnProvider, AutumnProviderProps } from './AutumnProvider.mjs';
|
|
4
4
|
export { AutumnClientConfig, createAutumnClient } from './client/AutumnClient.mjs';
|
|
@@ -10,9 +10,9 @@ export { UseEntityParams, UseEntityResult, useEntity } from './hooks/useEntity.m
|
|
|
10
10
|
export { UseListEventsParams, useListEvents } from './hooks/useListEvents.mjs';
|
|
11
11
|
export { UseListPlansParams, useListPlans } from './hooks/useListPlans.mjs';
|
|
12
12
|
export { UseReferralsParams, UseReferralsResult, useReferrals } from './hooks/useReferrals.mjs';
|
|
13
|
-
import './plan-
|
|
13
|
+
import './plan-CrpW2EZo.mjs';
|
|
14
14
|
import 'react';
|
|
15
|
-
import './customer-
|
|
16
|
-
import './list-plans-response-
|
|
15
|
+
import './customer-Ho7hCUyc.mjs';
|
|
16
|
+
import './list-plans-response-CN5npYlB.mjs';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
18
|
import './hooks/types.mjs';
|
package/dist/react/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-
|
|
1
|
+
export { C as ClientAggregateEventsParams, a as ClientAttachParams, b as ClientCreateReferralCodeParams, c as ClientGetEntityParams, d as ClientGetOrCreateCustomerParams, e as ClientListEventsParams, f as ClientMultiAttachParams, g as ClientOpenCustomerPortalParams, h as ClientPreviewAttachParams, i as ClientPreviewMultiAttachParams, j as ClientPreviewUpdateSubscriptionParams, k as ClientRedeemReferralCodeParams, l as ClientSetupPaymentParams, m as ClientUpdateSubscriptionParams, P as ProtectedFields } from './params-ChTAunjw.js';
|
|
2
2
|
export { useAutumnClient } from './AutumnContext.js';
|
|
3
3
|
export { AutumnProvider, AutumnProviderProps } from './AutumnProvider.js';
|
|
4
4
|
export { AutumnClientConfig, createAutumnClient } from './client/AutumnClient.js';
|
|
@@ -10,9 +10,9 @@ export { UseEntityParams, UseEntityResult, useEntity } from './hooks/useEntity.j
|
|
|
10
10
|
export { UseListEventsParams, useListEvents } from './hooks/useListEvents.js';
|
|
11
11
|
export { UseListPlansParams, useListPlans } from './hooks/useListPlans.js';
|
|
12
12
|
export { UseReferralsParams, UseReferralsResult, useReferrals } from './hooks/useReferrals.js';
|
|
13
|
-
import './plan-
|
|
13
|
+
import './plan-CrpW2EZo.js';
|
|
14
14
|
import 'react';
|
|
15
|
-
import './customer-
|
|
16
|
-
import './list-plans-response-
|
|
15
|
+
import './customer-Bp7Npmb4.js';
|
|
16
|
+
import './list-plans-response-ZA4i4qbk.js';
|
|
17
17
|
import '@tanstack/react-query';
|
|
18
18
|
import './hooks/types.js';
|
package/dist/react/index.mjs
CHANGED
|
@@ -17,11 +17,6 @@ import {
|
|
|
17
17
|
useCustomer
|
|
18
18
|
} from "./chunk-JV4GHJ4W.mjs";
|
|
19
19
|
import "./chunk-VKY4SZNZ.mjs";
|
|
20
|
-
import "./chunk-Q7HVHWDK.mjs";
|
|
21
|
-
import "./chunk-GSJF6P3Q.mjs";
|
|
22
|
-
import "./chunk-SEQHNPTF.mjs";
|
|
23
|
-
import "./chunk-4TON573W.mjs";
|
|
24
|
-
import "./chunk-NDHIXCZM.mjs";
|
|
25
20
|
import {
|
|
26
21
|
useEntity
|
|
27
22
|
} from "./chunk-7SRCZYRC.mjs";
|
|
@@ -34,6 +29,11 @@ import {
|
|
|
34
29
|
import {
|
|
35
30
|
useReferrals
|
|
36
31
|
} from "./chunk-QUGX6XRQ.mjs";
|
|
32
|
+
import "./chunk-Q7HVHWDK.mjs";
|
|
33
|
+
import "./chunk-GSJF6P3Q.mjs";
|
|
34
|
+
import "./chunk-SEQHNPTF.mjs";
|
|
35
|
+
import "./chunk-4TON573W.mjs";
|
|
36
|
+
import "./chunk-NDHIXCZM.mjs";
|
|
37
37
|
import "./chunk-KCOHZSS3.mjs";
|
|
38
38
|
import {
|
|
39
39
|
useAutumnClient
|