autumn-js 1.3.6 → 1.3.8
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 +4856 -3933
- package/dist/backend/adapters/express.mjs +5 -5
- package/dist/backend/adapters/fetch.js +4856 -3933
- package/dist/backend/adapters/fetch.mjs +5 -5
- package/dist/backend/adapters/hono.js +4856 -3933
- package/dist/backend/adapters/hono.mjs +5 -5
- package/dist/backend/adapters/index.js +4856 -3933
- package/dist/backend/adapters/index.mjs +8 -8
- package/dist/backend/adapters/next.js +4856 -3933
- package/dist/backend/adapters/next.mjs +5 -5
- package/dist/backend/{chunk-KVDAF2Z7.mjs → chunk-2UUPONJZ.mjs} +1 -1
- package/dist/backend/{chunk-E6XWPTEU.mjs → chunk-C2NPCEJI.mjs} +1 -1
- package/dist/backend/{chunk-VIKIP3AN.mjs → chunk-C6ZZJ7EE.mjs} +1 -1
- package/dist/backend/{chunk-2EVDDYOT.mjs → chunk-DPUV4QAN.mjs} +1 -1
- package/dist/backend/{chunk-CW3BRFWR.mjs → chunk-IAILCOBU.mjs} +4847 -3927
- package/dist/backend/{chunk-QTW6YBAQ.mjs → chunk-R6G7SG3N.mjs} +3 -0
- package/dist/backend/{chunk-VZAVSXW4.mjs → chunk-SYMBZ24L.mjs} +2 -2
- package/dist/backend/{chunk-FNRQ65GB.mjs → chunk-XJWHTUI6.mjs} +2 -2
- 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 +4856 -3933
- 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/handleRouteByName.js +4856 -3933
- 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 +4856 -3933
- package/dist/backend/core/handlers/index.mjs +4 -4
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +4856 -3933
- package/dist/backend/core/index.mjs +4 -4
- 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 +3 -0
- 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.js +3 -0
- 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/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +4856 -3933
- package/dist/backend/index.mjs +4 -4
- package/dist/backend/{routeTypes-BB9mD-Vk.d.mts → routeTypes-BoCJIb-T.d.mts} +1002 -36
- package/dist/backend/{routeTypes-BxBswjbK.d.ts → routeTypes-CIZ-ZBtX.d.ts} +1002 -36
- package/dist/better-auth/{chunk-SK65TCHD.mjs → chunk-C6ATXDH4.mjs} +4848 -3928
- package/dist/better-auth/{chunk-AYUZ7BAL.mjs → chunk-CWELMXBP.mjs} +1 -1
- package/dist/better-auth/{chunk-MAM2SPNT.mjs → chunk-U5BLUB3E.mjs} +3 -0
- package/dist/better-auth/index.js +4856 -3933
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +3 -0
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +4856 -3933
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +4856 -3933
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +1 -1
- package/dist/react/AutumnContext.d.ts +1 -1
- package/dist/react/client/AutumnClient.d.mts +1 -1
- package/dist/react/client/AutumnClient.d.ts +1 -1
- package/dist/react/client/IAutumnClient.d.mts +1 -1
- package/dist/react/client/IAutumnClient.d.ts +1 -1
- package/dist/react/client/index.d.mts +1 -1
- package/dist/react/client/index.d.ts +1 -1
- package/dist/react/hooks/index.d.mts +1 -1
- package/dist/react/hooks/index.d.ts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.mts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.ts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
- package/dist/react/hooks/useCustomer.d.mts +1 -1
- package/dist/react/hooks/useCustomer.d.ts +1 -1
- package/dist/react/hooks/useEntity.d.mts +1 -1
- package/dist/react/hooks/useEntity.d.ts +1 -1
- package/dist/react/hooks/useListEvents.d.mts +1 -1
- package/dist/react/hooks/useListEvents.d.ts +1 -1
- package/dist/react/hooks/useListPlans.d.mts +1 -1
- package/dist/react/hooks/useListPlans.d.ts +1 -1
- package/dist/react/hooks/useReferrals.d.mts +1 -1
- package/dist/react/hooks/useReferrals.d.ts +1 -1
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/{params-CXktWOLV.d.mts → params-B5IVa4Ut.d.mts} +12 -0
- package/dist/react/{params-8EvbWq-y.d.ts → params-CT8HBmlA.d.ts} +12 -0
- package/dist/sdk/index.d.mts +1630 -81
- package/dist/sdk/index.d.ts +1630 -81
- package/dist/sdk/index.js +1900 -406
- package/dist/sdk/index.mjs +1713 -379
- package/package.json +2 -2
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import "../chunk-HIWOK3G6.mjs";
|
|
2
2
|
import {
|
|
3
3
|
createAutumnEndpoint
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CWELMXBP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createHandleBetterAuthRoute
|
|
7
|
-
} from "../chunk-
|
|
7
|
+
} from "../chunk-C6ATXDH4.mjs";
|
|
8
8
|
import {
|
|
9
9
|
resolveIdentityFromScope
|
|
10
10
|
} from "../chunk-J2WYVGHS.mjs";
|
|
11
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-U5BLUB3E.mjs";
|
|
12
12
|
import {
|
|
13
13
|
getActiveOrganization
|
|
14
14
|
} from "../chunk-BT3EAYVW.mjs";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { IAutumnClient } from './client/IAutumnClient.mjs';
|
|
3
|
-
import './params-
|
|
3
|
+
import './params-B5IVa4Ut.mjs';
|
|
4
4
|
import './plan-CrpW2EZo.mjs';
|
|
5
5
|
import './customer-Ho7hCUyc.mjs';
|
|
6
6
|
import './list-plans-response-CN5npYlB.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { IAutumnClient } from './client/IAutumnClient.js';
|
|
3
|
-
import './params-
|
|
3
|
+
import './params-CT8HBmlA.js';
|
|
4
4
|
import './plan-CrpW2EZo.js';
|
|
5
5
|
import './customer-Bp7Npmb4.js';
|
|
6
6
|
import './list-plans-response-ZA4i4qbk.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B5IVa4Ut.mjs';
|
|
2
2
|
import { C as Customer } from '../customer-Ho7hCUyc.mjs';
|
|
3
3
|
import { L as ListPlansResponse } from '../list-plans-response-CN5npYlB.mjs';
|
|
4
4
|
import '../plan-CrpW2EZo.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CT8HBmlA.js';
|
|
2
2
|
import { C as Customer } from '../customer-Bp7Npmb4.js';
|
|
3
3
|
import { L as ListPlansResponse } from '../list-plans-response-ZA4i4qbk.js';
|
|
4
4
|
import '../plan-CrpW2EZo.js';
|
|
@@ -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-
|
|
4
|
+
import '../params-B5IVa4Ut.mjs';
|
|
5
5
|
import '../plan-CrpW2EZo.mjs';
|
|
6
6
|
import '../customer-Ho7hCUyc.mjs';
|
|
7
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-
|
|
4
|
+
import '../params-CT8HBmlA.js';
|
|
5
5
|
import '../plan-CrpW2EZo.js';
|
|
6
6
|
import '../customer-Bp7Npmb4.js';
|
|
7
7
|
import '../list-plans-response-ZA4i4qbk.js';
|
|
@@ -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-
|
|
10
|
+
import '../params-B5IVa4Ut.mjs';
|
|
11
11
|
import '../plan-CrpW2EZo.mjs';
|
|
12
12
|
import '../customer-Ho7hCUyc.mjs';
|
|
13
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-
|
|
10
|
+
import '../params-CT8HBmlA.js';
|
|
11
11
|
import '../plan-CrpW2EZo.js';
|
|
12
12
|
import '../customer-Bp7Npmb4.js';
|
|
13
13
|
import '../list-plans-response-ZA4i4qbk.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientCheckParams, o as CheckResponse } from '../../params-
|
|
1
|
+
import { n as ClientCheckParams, o as CheckResponse } from '../../params-B5IVa4Ut.mjs';
|
|
2
2
|
import { C as Customer } from '../../customer-Ho7hCUyc.mjs';
|
|
3
3
|
import '../../plan-CrpW2EZo.mjs';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientCheckParams, o as CheckResponse } from '../../params-
|
|
1
|
+
import { n as ClientCheckParams, o as CheckResponse } from '../../params-CT8HBmlA.js';
|
|
2
2
|
import { C as Customer } from '../../customer-Bp7Npmb4.js';
|
|
3
3
|
import '../../plan-CrpW2EZo.js';
|
|
4
4
|
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B5IVa4Ut.mjs';
|
|
2
2
|
import { C as Customer } from '../../customer-Ho7hCUyc.mjs';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.mjs';
|
|
4
4
|
import '../../plan-CrpW2EZo.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CT8HBmlA.js';
|
|
2
2
|
import { C as Customer } from '../../customer-Bp7Npmb4.js';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.js';
|
|
4
4
|
import '../../plan-CrpW2EZo.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
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-B5IVa4Ut.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
5
|
import '../plan-CrpW2EZo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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-CT8HBmlA.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
5
|
import '../plan-CrpW2EZo.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-B5IVa4Ut.mjs';
|
|
2
2
|
import { C as Customer } from '../customer-Ho7hCUyc.mjs';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.mjs';
|
|
4
4
|
import '../plan-CrpW2EZo.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-
|
|
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-CT8HBmlA.js';
|
|
2
2
|
import { C as Customer } from '../customer-Bp7Npmb4.js';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.js';
|
|
4
4
|
import '../plan-CrpW2EZo.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
1
|
+
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-B5IVa4Ut.mjs';
|
|
2
2
|
import { HookParams, HookResult } from './types.mjs';
|
|
3
3
|
import '../plan-CrpW2EZo.mjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
1
|
+
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-CT8HBmlA.js';
|
|
2
2
|
import { HookParams, HookResult } from './types.js';
|
|
3
3
|
import '../plan-CrpW2EZo.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,5 +1,5 @@
|
|
|
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-B5IVa4Ut.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
5
|
import '../plan-CrpW2EZo.mjs';
|
|
@@ -1,5 +1,5 @@
|
|
|
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-CT8HBmlA.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
5
|
import '../plan-CrpW2EZo.js';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { a as ListPlansList } from '../list-plans-response-CN5npYlB.mjs';
|
|
3
|
-
import { t as ClientListPlansParams } from '../params-
|
|
3
|
+
import { t as ClientListPlansParams } from '../params-B5IVa4Ut.mjs';
|
|
4
4
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
5
5
|
import { HookParams } from './types.mjs';
|
|
6
6
|
import '../plan-CrpW2EZo.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { a as ListPlansList } from '../list-plans-response-ZA4i4qbk.js';
|
|
3
|
-
import { t as ClientListPlansParams } from '../params-
|
|
3
|
+
import { t as ClientListPlansParams } from '../params-CT8HBmlA.js';
|
|
4
4
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
5
5
|
import { HookParams } from './types.js';
|
|
6
6
|
import '../plan-CrpW2EZo.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-B5IVa4Ut.mjs';
|
|
2
2
|
import { HookParams, HookResultWithMethods } from './types.mjs';
|
|
3
3
|
import '../plan-CrpW2EZo.mjs';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -1,4 +1,4 @@
|
|
|
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-CT8HBmlA.js';
|
|
2
2
|
import { HookParams, HookResultWithMethods } from './types.js';
|
|
3
3
|
import '../plan-CrpW2EZo.js';
|
|
4
4
|
import '@tanstack/react-query';
|
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-B5IVa4Ut.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';
|
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-CT8HBmlA.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';
|
|
@@ -12216,6 +12216,10 @@ type PreviewAttachInvoiceCredits = {
|
|
|
12216
12216
|
* Stripe customer credit balance available, expressed as a positive number in major currency units.
|
|
12217
12217
|
*/
|
|
12218
12218
|
balance: number;
|
|
12219
|
+
/**
|
|
12220
|
+
* How much of that balance this invoice consumes, capped at its total. The rest stays on the customer.
|
|
12221
|
+
*/
|
|
12222
|
+
applied?: number | undefined;
|
|
12219
12223
|
/**
|
|
12220
12224
|
* Three-letter currency code.
|
|
12221
12225
|
*/
|
|
@@ -13538,6 +13542,10 @@ type PreviewMultiAttachInvoiceCredits = {
|
|
|
13538
13542
|
* Stripe customer credit balance available, expressed as a positive number in major currency units.
|
|
13539
13543
|
*/
|
|
13540
13544
|
balance: number;
|
|
13545
|
+
/**
|
|
13546
|
+
* How much of that balance this invoice consumes, capped at its total. The rest stays on the customer.
|
|
13547
|
+
*/
|
|
13548
|
+
applied?: number | undefined;
|
|
13541
13549
|
/**
|
|
13542
13550
|
* Three-letter currency code.
|
|
13543
13551
|
*/
|
|
@@ -16213,6 +16221,10 @@ type PreviewUpdateInvoiceCredits = {
|
|
|
16213
16221
|
* Stripe customer credit balance available, expressed as a positive number in major currency units.
|
|
16214
16222
|
*/
|
|
16215
16223
|
balance: number;
|
|
16224
|
+
/**
|
|
16225
|
+
* How much of that balance this invoice consumes, capped at its total. The rest stays on the customer.
|
|
16226
|
+
*/
|
|
16227
|
+
applied?: number | undefined;
|
|
16216
16228
|
/**
|
|
16217
16229
|
* Three-letter currency code.
|
|
16218
16230
|
*/
|
|
@@ -12216,6 +12216,10 @@ type PreviewAttachInvoiceCredits = {
|
|
|
12216
12216
|
* Stripe customer credit balance available, expressed as a positive number in major currency units.
|
|
12217
12217
|
*/
|
|
12218
12218
|
balance: number;
|
|
12219
|
+
/**
|
|
12220
|
+
* How much of that balance this invoice consumes, capped at its total. The rest stays on the customer.
|
|
12221
|
+
*/
|
|
12222
|
+
applied?: number | undefined;
|
|
12219
12223
|
/**
|
|
12220
12224
|
* Three-letter currency code.
|
|
12221
12225
|
*/
|
|
@@ -13538,6 +13542,10 @@ type PreviewMultiAttachInvoiceCredits = {
|
|
|
13538
13542
|
* Stripe customer credit balance available, expressed as a positive number in major currency units.
|
|
13539
13543
|
*/
|
|
13540
13544
|
balance: number;
|
|
13545
|
+
/**
|
|
13546
|
+
* How much of that balance this invoice consumes, capped at its total. The rest stays on the customer.
|
|
13547
|
+
*/
|
|
13548
|
+
applied?: number | undefined;
|
|
13541
13549
|
/**
|
|
13542
13550
|
* Three-letter currency code.
|
|
13543
13551
|
*/
|
|
@@ -16213,6 +16221,10 @@ type PreviewUpdateInvoiceCredits = {
|
|
|
16213
16221
|
* Stripe customer credit balance available, expressed as a positive number in major currency units.
|
|
16214
16222
|
*/
|
|
16215
16223
|
balance: number;
|
|
16224
|
+
/**
|
|
16225
|
+
* How much of that balance this invoice consumes, capped at its total. The rest stays on the customer.
|
|
16226
|
+
*/
|
|
16227
|
+
applied?: number | undefined;
|
|
16216
16228
|
/**
|
|
16217
16229
|
* Three-letter currency code.
|
|
16218
16230
|
*/
|