autumn-js 1.2.45 → 1.2.46
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 +109 -23
- package/dist/backend/adapters/express.mjs +9 -9
- package/dist/backend/adapters/fetch.js +109 -23
- package/dist/backend/adapters/fetch.mjs +9 -9
- package/dist/backend/adapters/hono.js +109 -23
- package/dist/backend/adapters/hono.mjs +9 -9
- package/dist/backend/adapters/index.js +109 -23
- package/dist/backend/adapters/index.mjs +12 -12
- package/dist/backend/adapters/next.js +109 -23
- package/dist/backend/adapters/next.mjs +9 -9
- package/dist/backend/{chunk-L7N6FVEE.mjs → chunk-564D2O3W.mjs} +1 -1
- package/dist/backend/{chunk-DY6WMOCT.mjs → chunk-KW47VZ73.mjs} +5 -5
- package/dist/backend/{chunk-PVDDMLWT.mjs → chunk-RPUV2OZA.mjs} +91 -19
- package/dist/backend/{chunk-5DLBV5WP.mjs → chunk-SBZEXVB4.mjs} +7 -7
- package/dist/backend/{chunk-67LHAREL.mjs → chunk-TEDQUFQV.mjs} +1 -1
- package/dist/backend/{chunk-YKRFY5TK.mjs → chunk-UJS4Q7J4.mjs} +18 -4
- package/dist/backend/{chunk-P2TFPTAM.mjs → chunk-WR6ZPCQG.mjs} +1 -1
- package/dist/backend/{chunk-J2VZ3UZS.mjs → chunk-XOAX5KAL.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 +109 -23
- 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 +109 -23
- 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 +109 -23
- 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 +109 -23
- 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 +18 -4
- 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 +18 -4
- 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 +109 -23
- package/dist/backend/index.mjs +10 -10
- package/dist/backend/{routeTypes-UN48tvoc.d.mts → routeTypes-DnUY8ksp.d.mts} +121 -8
- package/dist/backend/{routeTypes-COLvwrcx.d.ts → routeTypes-TbN5QHEp.d.ts} +121 -8
- package/dist/better-auth/{chunk-MOCG3CBD.mjs → chunk-SABPXZTZ.mjs} +92 -20
- package/dist/better-auth/{chunk-3LKXO3EE.mjs → chunk-TOQRV6D7.mjs} +1 -1
- package/dist/better-auth/{chunk-J3W4EO5H.mjs → chunk-YRHQ4VL7.mjs} +18 -4
- package/dist/better-auth/index.js +109 -23
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +18 -4
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +109 -23
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +109 -23
- 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/AutumnProvider.js +1 -1
- package/dist/react/AutumnProvider.mjs +2 -2
- package/dist/react/{chunk-EE3XPYSL.mjs → chunk-2C6RX3EW.mjs} +1 -1
- package/dist/react/{chunk-SBCI4L22.mjs → chunk-2X7HXG2W.mjs} +1 -1
- package/dist/react/{chunk-7SRCZYRC.mjs → chunk-3WU4ZFXU.mjs} +1 -1
- package/dist/react/{chunk-LUBYNTYC.mjs → chunk-4HU5BGSM.mjs} +1 -1
- package/dist/react/{chunk-RTZAB46K.mjs → chunk-7RF3IGDO.mjs} +1 -1
- package/dist/react/{chunk-KCOHZSS3.mjs → chunk-C6I2RW56.mjs} +8 -8
- package/dist/react/{chunk-CQF3ER2L.mjs → chunk-NWF7OFFQ.mjs} +2 -2
- package/dist/react/{chunk-CSJHU3F2.mjs → chunk-SRSYG5ZV.mjs} +1 -1
- package/dist/react/{chunk-QUGX6XRQ.mjs → chunk-UNQZV3K5.mjs} +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/index.js +7 -7
- package/dist/react/hooks/index.mjs +8 -8
- 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/internal/useCustomerActions.js +1 -1
- package/dist/react/hooks/internal/useCustomerActions.mjs +2 -2
- package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
- package/dist/react/hooks/useAggregateEvents.js +7 -7
- package/dist/react/hooks/useAggregateEvents.mjs +2 -2
- package/dist/react/hooks/useCustomer.d.mts +1 -1
- package/dist/react/hooks/useCustomer.d.ts +1 -1
- package/dist/react/hooks/useCustomer.js +7 -7
- package/dist/react/hooks/useCustomer.mjs +3 -3
- package/dist/react/hooks/useEntity.d.mts +1 -1
- package/dist/react/hooks/useEntity.d.ts +1 -1
- package/dist/react/hooks/useEntity.js +7 -7
- package/dist/react/hooks/useEntity.mjs +2 -2
- package/dist/react/hooks/useListEvents.d.mts +1 -1
- package/dist/react/hooks/useListEvents.d.ts +1 -1
- package/dist/react/hooks/useListEvents.js +7 -7
- package/dist/react/hooks/useListEvents.mjs +2 -2
- package/dist/react/hooks/useListPlans.d.mts +1 -1
- package/dist/react/hooks/useListPlans.d.ts +1 -1
- package/dist/react/hooks/useListPlans.js +7 -7
- package/dist/react/hooks/useListPlans.mjs +2 -2
- package/dist/react/hooks/useReferrals.d.mts +1 -1
- package/dist/react/hooks/useReferrals.d.ts +1 -1
- package/dist/react/hooks/useReferrals.js +7 -7
- package/dist/react/hooks/useReferrals.mjs +2 -2
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +7 -7
- package/dist/react/index.mjs +9 -9
- package/dist/react/{params-DlzWLPN2.d.mts → params-BrFcJdeO.d.mts} +50 -4
- package/dist/react/{params-ChMwkOJA.d.ts → params-BwHZca3H.d.ts} +50 -4
- package/dist/sdk/index.d.mts +151 -10
- package/dist/sdk/index.d.ts +151 -10
- package/dist/sdk/index.js +110 -21
- package/dist/sdk/index.mjs +99 -20
- package/package.json +1 -1
- package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
|
@@ -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-BrFcJdeO.mjs';
|
|
2
2
|
import { C as Customer } from '../customer-VD6pkmpz.mjs';
|
|
3
3
|
import { L as ListPlansResponse } from '../list-plans-op-CvGXtKAO.mjs';
|
|
4
4
|
import '../plan-DBswUtWr.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-BwHZca3H.js';
|
|
2
2
|
import { C as Customer } from '../customer-CNfSCDv_.js';
|
|
3
3
|
import { L as ListPlansResponse } from '../list-plans-op-B87IUSZR.js';
|
|
4
4
|
import '../plan-DBswUtWr.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-BrFcJdeO.mjs';
|
|
5
5
|
import '../plan-DBswUtWr.mjs';
|
|
6
6
|
import '../customer-VD6pkmpz.mjs';
|
|
7
7
|
import '../list-plans-op-CvGXtKAO.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-BwHZca3H.js';
|
|
5
5
|
import '../plan-DBswUtWr.js';
|
|
6
6
|
import '../customer-CNfSCDv_.js';
|
|
7
7
|
import '../list-plans-op-B87IUSZR.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-BrFcJdeO.mjs';
|
|
11
11
|
import '../plan-DBswUtWr.mjs';
|
|
12
12
|
import '../customer-VD6pkmpz.mjs';
|
|
13
13
|
import '../list-plans-op-CvGXtKAO.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-BwHZca3H.js';
|
|
11
11
|
import '../plan-DBswUtWr.js';
|
|
12
12
|
import '../customer-CNfSCDv_.js';
|
|
13
13
|
import '../list-plans-op-B87IUSZR.js';
|
|
@@ -956,7 +956,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
956
956
|
return false;
|
|
957
957
|
}
|
|
958
958
|
|
|
959
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
959
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
960
960
|
var React = __toESM(require("react"), 1);
|
|
961
961
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
962
962
|
var QueryClientContext = React.createContext(
|
|
@@ -973,13 +973,13 @@ var useQueryClient = (queryClient) => {
|
|
|
973
973
|
return client;
|
|
974
974
|
};
|
|
975
975
|
|
|
976
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
976
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
977
977
|
var React2 = __toESM(require("react"), 1);
|
|
978
978
|
var IsRestoringContext = React2.createContext(false);
|
|
979
979
|
var useIsRestoring = () => React2.useContext(IsRestoringContext);
|
|
980
980
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
981
981
|
|
|
982
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
982
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
983
983
|
var React3 = __toESM(require("react"), 1);
|
|
984
984
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
985
985
|
function createValue() {
|
|
@@ -999,7 +999,7 @@ function createValue() {
|
|
|
999
999
|
var QueryErrorResetBoundaryContext = React3.createContext(createValue());
|
|
1000
1000
|
var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
|
|
1001
1001
|
|
|
1002
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1002
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
1003
1003
|
var React4 = __toESM(require("react"), 1);
|
|
1004
1004
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
1005
1005
|
const throwOnError = query?.state.error && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
@@ -1024,7 +1024,7 @@ var getHasError = ({
|
|
|
1024
1024
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
1025
1025
|
};
|
|
1026
1026
|
|
|
1027
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1027
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
1028
1028
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
1029
1029
|
if (defaultedOptions.suspense) {
|
|
1030
1030
|
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
@@ -1045,7 +1045,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
1045
1045
|
errorResetBoundary.clearReset();
|
|
1046
1046
|
});
|
|
1047
1047
|
|
|
1048
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1048
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1049
1049
|
var React5 = __toESM(require("react"), 1);
|
|
1050
1050
|
function useBaseQuery(options, Observer, queryClient) {
|
|
1051
1051
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1131,7 +1131,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
1131
1131
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
1132
1132
|
}
|
|
1133
1133
|
|
|
1134
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1134
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1135
1135
|
function useQuery(options, queryClient) {
|
|
1136
1136
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
1137
1137
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useAggregateEvents
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-7RF3IGDO.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useCustomer
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-NWF7OFFQ.mjs";
|
|
8
|
+
import "../chunk-4HU5BGSM.mjs";
|
|
9
9
|
import "../chunk-BWKG32GC.mjs";
|
|
10
10
|
import "../chunk-GSJF6P3Q.mjs";
|
|
11
11
|
import "../chunk-SEQHNPTF.mjs";
|
|
@@ -13,17 +13,17 @@ import "../chunk-4TON573W.mjs";
|
|
|
13
13
|
import "../chunk-D6DFRS3U.mjs";
|
|
14
14
|
import {
|
|
15
15
|
useEntity
|
|
16
|
-
} from "../chunk-
|
|
16
|
+
} from "../chunk-3WU4ZFXU.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useListEvents
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-SRSYG5ZV.mjs";
|
|
20
20
|
import {
|
|
21
21
|
useListPlans
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-2X7HXG2W.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useReferrals
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-UNQZV3K5.mjs";
|
|
26
|
+
import "../chunk-C6I2RW56.mjs";
|
|
27
27
|
import "../chunk-SOA7GEAN.mjs";
|
|
28
28
|
export {
|
|
29
29
|
useAggregateEvents,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as ClientCheckParams, o as CheckResponse } from '../../params-
|
|
1
|
+
import { n as ClientCheckParams, o as CheckResponse } from '../../params-BrFcJdeO.mjs';
|
|
2
2
|
import { C as Customer } from '../../customer-VD6pkmpz.mjs';
|
|
3
3
|
import '../../plan-DBswUtWr.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-BwHZca3H.js';
|
|
2
2
|
import { C as Customer } from '../../customer-CNfSCDv_.js';
|
|
3
3
|
import '../../plan-DBswUtWr.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-BrFcJdeO.mjs';
|
|
2
2
|
import { C as Customer } from '../../customer-VD6pkmpz.mjs';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.mjs';
|
|
4
4
|
import '../../plan-DBswUtWr.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-BwHZca3H.js';
|
|
2
2
|
import { C as Customer } from '../../customer-CNfSCDv_.js';
|
|
3
3
|
import { IAutumnClient } from '../../client/IAutumnClient.js';
|
|
4
4
|
import '../../plan-DBswUtWr.js';
|
|
@@ -36,7 +36,7 @@ __export(useCustomerActions_exports, {
|
|
|
36
36
|
});
|
|
37
37
|
module.exports = __toCommonJS(useCustomerActions_exports);
|
|
38
38
|
|
|
39
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
39
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
40
40
|
var React = __toESM(require("react"), 1);
|
|
41
41
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
42
|
var QueryClientContext = React.createContext(
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
useCustomerActions
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-4HU5BGSM.mjs";
|
|
6
6
|
import "../../chunk-BWKG32GC.mjs";
|
|
7
7
|
import "../../chunk-GSJF6P3Q.mjs";
|
|
8
8
|
import "../../chunk-SEQHNPTF.mjs";
|
|
9
9
|
import "../../chunk-4TON573W.mjs";
|
|
10
10
|
import "../../chunk-D6DFRS3U.mjs";
|
|
11
|
-
import "../../chunk-
|
|
11
|
+
import "../../chunk-C6I2RW56.mjs";
|
|
12
12
|
export {
|
|
13
13
|
useCustomerActions
|
|
14
14
|
};
|
|
@@ -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-BrFcJdeO.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
5
|
import '../plan-DBswUtWr.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-BwHZca3H.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
5
|
import '../plan-DBswUtWr.js';
|
|
@@ -952,7 +952,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
952
952
|
return false;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
955
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
956
956
|
var React = __toESM(require("react"), 1);
|
|
957
957
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
958
958
|
var QueryClientContext = React.createContext(
|
|
@@ -969,13 +969,13 @@ var useQueryClient = (queryClient) => {
|
|
|
969
969
|
return client;
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
972
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
973
973
|
var React2 = __toESM(require("react"), 1);
|
|
974
974
|
var IsRestoringContext = React2.createContext(false);
|
|
975
975
|
var useIsRestoring = () => React2.useContext(IsRestoringContext);
|
|
976
976
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
977
977
|
|
|
978
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
978
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
979
979
|
var React3 = __toESM(require("react"), 1);
|
|
980
980
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
981
981
|
function createValue() {
|
|
@@ -995,7 +995,7 @@ function createValue() {
|
|
|
995
995
|
var QueryErrorResetBoundaryContext = React3.createContext(createValue());
|
|
996
996
|
var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
|
|
997
997
|
|
|
998
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
998
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
999
999
|
var React4 = __toESM(require("react"), 1);
|
|
1000
1000
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
1001
1001
|
const throwOnError = query?.state.error && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
@@ -1020,7 +1020,7 @@ var getHasError = ({
|
|
|
1020
1020
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1023
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
1024
1024
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
1025
1025
|
if (defaultedOptions.suspense) {
|
|
1026
1026
|
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
@@ -1041,7 +1041,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
1041
1041
|
errorResetBoundary.clearReset();
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1044
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1045
1045
|
var React5 = __toESM(require("react"), 1);
|
|
1046
1046
|
function useBaseQuery(options, Observer, queryClient) {
|
|
1047
1047
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1127,7 +1127,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
1127
1127
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1130
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1131
1131
|
function useQuery(options, queryClient) {
|
|
1132
1132
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
1133
1133
|
}
|
|
@@ -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-BrFcJdeO.mjs';
|
|
2
2
|
import { C as Customer } from '../customer-VD6pkmpz.mjs';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.mjs';
|
|
4
4
|
import '../plan-DBswUtWr.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-BwHZca3H.js';
|
|
2
2
|
import { C as Customer } from '../customer-CNfSCDv_.js';
|
|
3
3
|
import { HookParams, HookResultWithMethods } from './types.js';
|
|
4
4
|
import '../plan-DBswUtWr.js';
|
|
@@ -952,7 +952,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
952
952
|
return false;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
955
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
956
956
|
var React = __toESM(require("react"), 1);
|
|
957
957
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
958
958
|
var QueryClientContext = React.createContext(
|
|
@@ -969,13 +969,13 @@ var useQueryClient = (queryClient) => {
|
|
|
969
969
|
return client;
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
972
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
973
973
|
var React2 = __toESM(require("react"), 1);
|
|
974
974
|
var IsRestoringContext = React2.createContext(false);
|
|
975
975
|
var useIsRestoring = () => React2.useContext(IsRestoringContext);
|
|
976
976
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
977
977
|
|
|
978
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
978
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
979
979
|
var React3 = __toESM(require("react"), 1);
|
|
980
980
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
981
981
|
function createValue() {
|
|
@@ -995,7 +995,7 @@ function createValue() {
|
|
|
995
995
|
var QueryErrorResetBoundaryContext = React3.createContext(createValue());
|
|
996
996
|
var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
|
|
997
997
|
|
|
998
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
998
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
999
999
|
var React4 = __toESM(require("react"), 1);
|
|
1000
1000
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
1001
1001
|
const throwOnError = query?.state.error && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
@@ -1020,7 +1020,7 @@ var getHasError = ({
|
|
|
1020
1020
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1023
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
1024
1024
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
1025
1025
|
if (defaultedOptions.suspense) {
|
|
1026
1026
|
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
@@ -1041,7 +1041,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
1041
1041
|
errorResetBoundary.clearReset();
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1044
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1045
1045
|
var React5 = __toESM(require("react"), 1);
|
|
1046
1046
|
function useBaseQuery(options, Observer, queryClient) {
|
|
1047
1047
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1127,7 +1127,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
1127
1127
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1130
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1131
1131
|
function useQuery(options, queryClient) {
|
|
1132
1132
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
1133
1133
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
import {
|
|
4
4
|
useCustomer
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
5
|
+
} from "../chunk-NWF7OFFQ.mjs";
|
|
6
|
+
import "../chunk-4HU5BGSM.mjs";
|
|
7
7
|
import "../chunk-BWKG32GC.mjs";
|
|
8
8
|
import "../chunk-GSJF6P3Q.mjs";
|
|
9
9
|
import "../chunk-SEQHNPTF.mjs";
|
|
10
10
|
import "../chunk-4TON573W.mjs";
|
|
11
11
|
import "../chunk-D6DFRS3U.mjs";
|
|
12
|
-
import "../chunk-
|
|
12
|
+
import "../chunk-C6I2RW56.mjs";
|
|
13
13
|
import "../chunk-SOA7GEAN.mjs";
|
|
14
14
|
export {
|
|
15
15
|
useCustomer
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
1
|
+
import { c as ClientGetEntityParams, G as GetEntityResponse } from '../params-BrFcJdeO.mjs';
|
|
2
2
|
import { HookParams, HookResult } from './types.mjs';
|
|
3
3
|
import '../plan-DBswUtWr.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-BwHZca3H.js';
|
|
2
2
|
import { HookParams, HookResult } from './types.js';
|
|
3
3
|
import '../plan-DBswUtWr.js';
|
|
4
4
|
import '@tanstack/react-query';
|
|
@@ -952,7 +952,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
952
952
|
return false;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
955
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
956
956
|
var React = __toESM(require("react"), 1);
|
|
957
957
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
958
958
|
var QueryClientContext = React.createContext(
|
|
@@ -969,13 +969,13 @@ var useQueryClient = (queryClient) => {
|
|
|
969
969
|
return client;
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
972
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
973
973
|
var React2 = __toESM(require("react"), 1);
|
|
974
974
|
var IsRestoringContext = React2.createContext(false);
|
|
975
975
|
var useIsRestoring = () => React2.useContext(IsRestoringContext);
|
|
976
976
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
977
977
|
|
|
978
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
978
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
979
979
|
var React3 = __toESM(require("react"), 1);
|
|
980
980
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
981
981
|
function createValue() {
|
|
@@ -995,7 +995,7 @@ function createValue() {
|
|
|
995
995
|
var QueryErrorResetBoundaryContext = React3.createContext(createValue());
|
|
996
996
|
var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
|
|
997
997
|
|
|
998
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
998
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
999
999
|
var React4 = __toESM(require("react"), 1);
|
|
1000
1000
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
1001
1001
|
const throwOnError = query?.state.error && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
@@ -1020,7 +1020,7 @@ var getHasError = ({
|
|
|
1020
1020
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1023
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
1024
1024
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
1025
1025
|
if (defaultedOptions.suspense) {
|
|
1026
1026
|
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
@@ -1041,7 +1041,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
1041
1041
|
errorResetBoundary.clearReset();
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1044
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1045
1045
|
var React5 = __toESM(require("react"), 1);
|
|
1046
1046
|
function useBaseQuery(options, Observer, queryClient) {
|
|
1047
1047
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1127,7 +1127,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
1127
1127
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1130
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1131
1131
|
function useQuery(options, queryClient) {
|
|
1132
1132
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
1133
1133
|
}
|
|
@@ -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-BrFcJdeO.mjs';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
4
4
|
import { HookParams } from './types.mjs';
|
|
5
5
|
import '../plan-DBswUtWr.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-BwHZca3H.js';
|
|
3
3
|
import { AutumnClientError } from '../client/AutumnClientError.js';
|
|
4
4
|
import { HookParams } from './types.js';
|
|
5
5
|
import '../plan-DBswUtWr.js';
|
|
@@ -952,7 +952,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
952
952
|
return false;
|
|
953
953
|
}
|
|
954
954
|
|
|
955
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
955
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
956
956
|
var React = __toESM(require("react"), 1);
|
|
957
957
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
958
958
|
var QueryClientContext = React.createContext(
|
|
@@ -969,13 +969,13 @@ var useQueryClient = (queryClient) => {
|
|
|
969
969
|
return client;
|
|
970
970
|
};
|
|
971
971
|
|
|
972
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
972
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
973
973
|
var React2 = __toESM(require("react"), 1);
|
|
974
974
|
var IsRestoringContext = React2.createContext(false);
|
|
975
975
|
var useIsRestoring = () => React2.useContext(IsRestoringContext);
|
|
976
976
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
977
977
|
|
|
978
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
978
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
979
979
|
var React3 = __toESM(require("react"), 1);
|
|
980
980
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
981
981
|
function createValue() {
|
|
@@ -995,7 +995,7 @@ function createValue() {
|
|
|
995
995
|
var QueryErrorResetBoundaryContext = React3.createContext(createValue());
|
|
996
996
|
var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
|
|
997
997
|
|
|
998
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
998
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
999
999
|
var React4 = __toESM(require("react"), 1);
|
|
1000
1000
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary, query) => {
|
|
1001
1001
|
const throwOnError = query?.state.error && typeof options.throwOnError === "function" ? shouldThrowError(options.throwOnError, [query.state.error, query]) : options.throwOnError;
|
|
@@ -1020,7 +1020,7 @@ var getHasError = ({
|
|
|
1020
1020
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
1021
1021
|
};
|
|
1022
1022
|
|
|
1023
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1023
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
1024
1024
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
1025
1025
|
if (defaultedOptions.suspense) {
|
|
1026
1026
|
const MIN_SUSPENSE_TIME_MS = 1e3;
|
|
@@ -1041,7 +1041,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
1041
1041
|
errorResetBoundary.clearReset();
|
|
1042
1042
|
});
|
|
1043
1043
|
|
|
1044
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1044
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
1045
1045
|
var React5 = __toESM(require("react"), 1);
|
|
1046
1046
|
function useBaseQuery(options, Observer, queryClient) {
|
|
1047
1047
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1127,7 +1127,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
1127
1127
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
1128
1128
|
}
|
|
1129
1129
|
|
|
1130
|
-
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+
|
|
1130
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.101.1+0f58469d5b3bd39f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1131
1131
|
function useQuery(options, queryClient) {
|
|
1132
1132
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
1133
1133
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _tanstack_react_query from '@tanstack/react-query';
|
|
2
2
|
import { a as ListPlansList } from '../list-plans-op-CvGXtKAO.mjs';
|
|
3
|
-
import { t as ClientListPlansParams } from '../params-
|
|
3
|
+
import { t as ClientListPlansParams } from '../params-BrFcJdeO.mjs';
|
|
4
4
|
import { AutumnClientError } from '../client/AutumnClientError.mjs';
|
|
5
5
|
import { HookParams } from './types.mjs';
|
|
6
6
|
import '../plan-DBswUtWr.mjs';
|