autumn-js 1.2.20 → 1.2.21
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 +208 -51
- package/dist/backend/adapters/express.mjs +9 -9
- package/dist/backend/adapters/fetch.js +208 -51
- package/dist/backend/adapters/fetch.mjs +9 -9
- package/dist/backend/adapters/hono.js +208 -51
- package/dist/backend/adapters/hono.mjs +9 -9
- package/dist/backend/adapters/index.js +208 -51
- package/dist/backend/adapters/index.mjs +12 -12
- package/dist/backend/adapters/next.js +208 -51
- package/dist/backend/adapters/next.mjs +9 -9
- package/dist/backend/{chunk-VQFHHLQH.mjs → chunk-5JNYI5HM.mjs} +1 -1
- package/dist/backend/{chunk-M2PFN4F6.mjs → chunk-73KXFYFC.mjs} +5 -5
- package/dist/backend/{chunk-B4WDT4SC.mjs → chunk-GKYVE5XN.mjs} +149 -11
- package/dist/backend/{chunk-XZAJX563.mjs → chunk-H6KJYTJY.mjs} +7 -7
- package/dist/backend/{chunk-HNX2UJYZ.mjs → chunk-K2JSUNJX.mjs} +1 -1
- package/dist/backend/{chunk-BHVWYX4E.mjs → chunk-NNIHXZQM.mjs} +1 -1
- package/dist/backend/{chunk-IJ2K62QI.mjs → chunk-NSHGFU5H.mjs} +59 -40
- package/dist/backend/{chunk-CMMPKYHL.mjs → chunk-TGR2RWLO.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 +208 -51
- 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 +208 -51
- 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 +208 -51
- 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 +208 -51
- 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 +59 -40
- 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 +59 -40
- 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 +208 -51
- package/dist/backend/index.mjs +10 -10
- package/dist/backend/{routeTypes-7V_qHC8n.d.ts → routeTypes-B-Bkse9m.d.ts} +161 -1
- package/dist/backend/{routeTypes-CeXEBV-E.d.mts → routeTypes-DZFxBYSb.d.mts} +161 -1
- package/dist/better-auth/{chunk-HA7OIVY4.mjs → chunk-4OLXYKUC.mjs} +150 -12
- package/dist/better-auth/{chunk-4QQUN4SQ.mjs → chunk-R35KMMJZ.mjs} +1 -1
- package/dist/better-auth/{chunk-XXPUYN7Z.mjs → chunk-X6KOCWP3.mjs} +59 -40
- package/dist/better-auth/index.js +208 -51
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +59 -40
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +208 -51
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +208 -51
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +2 -2
- package/dist/react/AutumnContext.d.ts +2 -2
- package/dist/react/AutumnProvider.js +15 -15
- package/dist/react/AutumnProvider.mjs +2 -2
- package/dist/react/{chunk-7IDH4OMG.mjs → chunk-26CKSAPZ.mjs} +1 -1
- package/dist/react/{chunk-NSFHAUTD.mjs → chunk-CHU7CIWP.mjs} +1 -1
- package/dist/react/{chunk-YQFYWH7J.mjs → chunk-G7FTQLT7.mjs} +1 -1
- package/dist/react/{chunk-BDG6JHEW.mjs → chunk-HSQUB3BZ.mjs} +1 -1
- package/dist/react/{chunk-DEZBJQEG.mjs → chunk-KB72KQKN.mjs} +1 -1
- package/dist/react/{chunk-J6SLKTKE.mjs → chunk-MC2YYATT.mjs} +1 -1
- package/dist/react/{chunk-FWWIAOPU.mjs → chunk-OXQG65ZT.mjs} +1 -1
- package/dist/react/{chunk-E5ZHOMZ4.mjs → chunk-XJZH5NMZ.mjs} +23 -23
- package/dist/react/{chunk-HVBDZARN.mjs → chunk-ZGPE4R6H.mjs} +2 -2
- package/dist/react/client/AutumnClient.d.mts +2 -2
- package/dist/react/client/AutumnClient.d.ts +2 -2
- package/dist/react/client/IAutumnClient.d.mts +2 -2
- package/dist/react/client/IAutumnClient.d.ts +2 -2
- package/dist/react/client/index.d.mts +2 -2
- package/dist/react/client/index.d.ts +2 -2
- package/dist/react/{customer-SSq4WO45.d.ts → customer-CzMuZp8W.d.ts} +1 -0
- package/dist/react/{customer-BgMiezZt.d.mts → customer-DjlCjlmM.d.mts} +1 -0
- package/dist/react/hooks/index.d.mts +2 -2
- package/dist/react/hooks/index.d.ts +2 -2
- package/dist/react/hooks/index.js +16 -16
- package/dist/react/hooks/index.mjs +8 -8
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +1 -1
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +1 -1
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +1 -1
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +1 -1
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +1 -1
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +1 -1
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +1 -1
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +2 -2
- package/dist/react/hooks/internal/useCustomerActions.d.mts +2 -2
- package/dist/react/hooks/internal/useCustomerActions.d.ts +2 -2
- 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 +16 -16
- package/dist/react/hooks/useAggregateEvents.mjs +2 -2
- package/dist/react/hooks/useCustomer.d.mts +2 -2
- package/dist/react/hooks/useCustomer.d.ts +2 -2
- package/dist/react/hooks/useCustomer.js +16 -16
- 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 +16 -16
- 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 +16 -16
- 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 +16 -16
- 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 +16 -16
- package/dist/react/hooks/useReferrals.mjs +2 -2
- package/dist/react/index.d.mts +2 -2
- package/dist/react/index.d.ts +2 -2
- package/dist/react/index.js +22 -22
- package/dist/react/index.mjs +9 -9
- package/dist/react/{params--mMxYT5w.d.mts → params-BUQLwLrI.d.mts} +52 -0
- package/dist/react/{params-DVrQcAu7.d.ts → params-dYykqsvL.d.ts} +52 -0
- package/dist/sdk/index.d.mts +214 -7
- package/dist/sdk/index.d.ts +214 -7
- package/dist/sdk/index.js +241 -16
- package/dist/sdk/index.mjs +216 -15
- package/package.json +1 -1
- package/dist/backend/{chunk-55C2WWXQ.mjs → chunk-S5HPMJ4U.mjs} +3 -3
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
// ../../node_modules/@tanstack/query-core/build/modern/utils.js
|
|
3
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/utils.js
|
|
4
4
|
var isServer = typeof window === "undefined" || "Deno" in globalThis;
|
|
5
5
|
function noop() {
|
|
6
6
|
}
|
|
@@ -225,7 +225,7 @@ function shouldThrowError(throwOnError, params) {
|
|
|
225
225
|
return !!throwOnError;
|
|
226
226
|
}
|
|
227
227
|
|
|
228
|
-
// ../../node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
228
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
229
229
|
var defaultScheduler = (cb) => setTimeout(cb, 0);
|
|
230
230
|
function createNotifyManager() {
|
|
231
231
|
let queue = [];
|
|
@@ -305,7 +305,7 @@ function createNotifyManager() {
|
|
|
305
305
|
}
|
|
306
306
|
var notifyManager = createNotifyManager();
|
|
307
307
|
|
|
308
|
-
// ../../node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
308
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
309
309
|
var Subscribable = class {
|
|
310
310
|
constructor() {
|
|
311
311
|
this.listeners = /* @__PURE__ */ new Set();
|
|
@@ -328,7 +328,7 @@ var Subscribable = class {
|
|
|
328
328
|
}
|
|
329
329
|
};
|
|
330
330
|
|
|
331
|
-
// ../../node_modules/@tanstack/query-core/build/modern/focusManager.js
|
|
331
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/focusManager.js
|
|
332
332
|
var FocusManager = class extends Subscribable {
|
|
333
333
|
#focused;
|
|
334
334
|
#cleanup;
|
|
@@ -390,7 +390,7 @@ var FocusManager = class extends Subscribable {
|
|
|
390
390
|
};
|
|
391
391
|
var focusManager = new FocusManager();
|
|
392
392
|
|
|
393
|
-
// ../../node_modules/@tanstack/query-core/build/modern/onlineManager.js
|
|
393
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/onlineManager.js
|
|
394
394
|
var OnlineManager = class extends Subscribable {
|
|
395
395
|
#online = true;
|
|
396
396
|
#cleanup;
|
|
@@ -442,7 +442,7 @@ var OnlineManager = class extends Subscribable {
|
|
|
442
442
|
};
|
|
443
443
|
var onlineManager = new OnlineManager();
|
|
444
444
|
|
|
445
|
-
// ../../node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
445
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
446
446
|
function pendingThenable() {
|
|
447
447
|
let resolve;
|
|
448
448
|
let reject;
|
|
@@ -475,7 +475,7 @@ function pendingThenable() {
|
|
|
475
475
|
return thenable;
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
// ../../node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
478
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
479
479
|
function defaultRetryDelay(failureCount) {
|
|
480
480
|
return Math.min(1e3 * 2 ** failureCount, 3e4);
|
|
481
481
|
}
|
|
@@ -595,7 +595,7 @@ function createRetryer(config) {
|
|
|
595
595
|
};
|
|
596
596
|
}
|
|
597
597
|
|
|
598
|
-
// ../../node_modules/@tanstack/query-core/build/modern/removable.js
|
|
598
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/removable.js
|
|
599
599
|
var Removable = class {
|
|
600
600
|
#gcTimeout;
|
|
601
601
|
destroy() {
|
|
@@ -623,7 +623,7 @@ var Removable = class {
|
|
|
623
623
|
}
|
|
624
624
|
};
|
|
625
625
|
|
|
626
|
-
// ../../node_modules/@tanstack/query-core/build/modern/query.js
|
|
626
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/query.js
|
|
627
627
|
var Query = class extends Removable {
|
|
628
628
|
#initialState;
|
|
629
629
|
#revertState;
|
|
@@ -1024,7 +1024,7 @@ function getDefaultState(options) {
|
|
|
1024
1024
|
};
|
|
1025
1025
|
}
|
|
1026
1026
|
|
|
1027
|
-
// ../../node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1027
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/queryCache.js
|
|
1028
1028
|
var QueryCache = class extends Subscribable {
|
|
1029
1029
|
constructor(config = {}) {
|
|
1030
1030
|
super();
|
|
@@ -1114,7 +1114,7 @@ var QueryCache = class extends Subscribable {
|
|
|
1114
1114
|
}
|
|
1115
1115
|
};
|
|
1116
1116
|
|
|
1117
|
-
// ../../node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1117
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/mutation.js
|
|
1118
1118
|
var Mutation = class extends Removable {
|
|
1119
1119
|
#observers;
|
|
1120
1120
|
#mutationCache;
|
|
@@ -1345,7 +1345,7 @@ function getDefaultState2() {
|
|
|
1345
1345
|
};
|
|
1346
1346
|
}
|
|
1347
1347
|
|
|
1348
|
-
// ../../node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1348
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/mutationCache.js
|
|
1349
1349
|
var MutationCache = class extends Subscribable {
|
|
1350
1350
|
constructor(config = {}) {
|
|
1351
1351
|
super();
|
|
@@ -1461,7 +1461,7 @@ function scopeFor(mutation) {
|
|
|
1461
1461
|
return mutation.options.scope?.id;
|
|
1462
1462
|
}
|
|
1463
1463
|
|
|
1464
|
-
// ../../node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
1464
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/infiniteQueryBehavior.js
|
|
1465
1465
|
function infiniteQueryBehavior(pages) {
|
|
1466
1466
|
return {
|
|
1467
1467
|
onFetch: (context, query) => {
|
|
@@ -1570,7 +1570,7 @@ function getPreviousPageParam(options, { pages, pageParams }) {
|
|
|
1570
1570
|
return pages.length > 0 ? options.getPreviousPageParam?.(pages[0], pages, pageParams[0], pageParams) : void 0;
|
|
1571
1571
|
}
|
|
1572
1572
|
|
|
1573
|
-
// ../../node_modules/@tanstack/query-core/build/modern/queryClient.js
|
|
1573
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/queryClient.js
|
|
1574
1574
|
var QueryClient = class {
|
|
1575
1575
|
#queryCache;
|
|
1576
1576
|
#mutationCache;
|
|
@@ -1857,7 +1857,7 @@ var QueryClient = class {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
};
|
|
1859
1859
|
|
|
1860
|
-
// ../../node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
1860
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
1861
1861
|
var QueryObserver = class extends Subscribable {
|
|
1862
1862
|
constructor(client, options) {
|
|
1863
1863
|
super();
|
|
@@ -2305,7 +2305,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
2305
2305
|
return false;
|
|
2306
2306
|
}
|
|
2307
2307
|
|
|
2308
|
-
// ../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
2308
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
2309
2309
|
import * as React from "react";
|
|
2310
2310
|
import { jsx } from "react/jsx-runtime";
|
|
2311
2311
|
var QueryClientContext = React.createContext(
|
|
@@ -2334,10 +2334,10 @@ var QueryClientProvider = ({
|
|
|
2334
2334
|
return /* @__PURE__ */ jsx(QueryClientContext.Provider, { value: client, children });
|
|
2335
2335
|
};
|
|
2336
2336
|
|
|
2337
|
-
// ../../node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
2337
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
2338
2338
|
import * as React5 from "react";
|
|
2339
2339
|
|
|
2340
|
-
// ../../node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
2340
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
2341
2341
|
import * as React2 from "react";
|
|
2342
2342
|
import { jsx as jsx2 } from "react/jsx-runtime";
|
|
2343
2343
|
function createValue() {
|
|
@@ -2357,7 +2357,7 @@ function createValue() {
|
|
|
2357
2357
|
var QueryErrorResetBoundaryContext = React2.createContext(createValue());
|
|
2358
2358
|
var useQueryErrorResetBoundary = () => React2.useContext(QueryErrorResetBoundaryContext);
|
|
2359
2359
|
|
|
2360
|
-
// ../../node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
2360
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
2361
2361
|
import * as React3 from "react";
|
|
2362
2362
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => {
|
|
2363
2363
|
if (options.suspense || options.throwOnError || options.experimental_prefetchInRender) {
|
|
@@ -2381,13 +2381,13 @@ var getHasError = ({
|
|
|
2381
2381
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
2382
2382
|
};
|
|
2383
2383
|
|
|
2384
|
-
// ../../node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
2384
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
2385
2385
|
import * as React4 from "react";
|
|
2386
2386
|
var IsRestoringContext = React4.createContext(false);
|
|
2387
2387
|
var useIsRestoring = () => React4.useContext(IsRestoringContext);
|
|
2388
2388
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
2389
2389
|
|
|
2390
|
-
// ../../node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
2390
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
2391
2391
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
2392
2392
|
if (defaultedOptions.suspense) {
|
|
2393
2393
|
const clamp = (value) => value === "static" ? value : Math.max(value ?? 1e3, 1e3);
|
|
@@ -2404,7 +2404,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
2404
2404
|
errorResetBoundary.clearReset();
|
|
2405
2405
|
});
|
|
2406
2406
|
|
|
2407
|
-
// ../../node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
2407
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
2408
2408
|
function useBaseQuery(options, Observer, queryClient) {
|
|
2409
2409
|
if (process.env.NODE_ENV !== "production") {
|
|
2410
2410
|
if (typeof options !== "object" || Array.isArray(options)) {
|
|
@@ -2487,7 +2487,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
2487
2487
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
2488
2488
|
}
|
|
2489
2489
|
|
|
2490
|
-
// ../../node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
2490
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
2491
2491
|
function useQuery(options, queryClient) {
|
|
2492
2492
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
2493
2493
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useCustomerActions
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KB72KQKN.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useQuery
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-XJZH5NMZ.mjs";
|
|
8
8
|
import {
|
|
9
9
|
useAutumnClient
|
|
10
10
|
} from "./chunk-SOA7GEAN.mjs";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAutumnClient } from './IAutumnClient.mjs';
|
|
2
|
-
import '../params
|
|
2
|
+
import '../params-BUQLwLrI.mjs';
|
|
3
3
|
import '../plan-DSTBzzTY.mjs';
|
|
4
|
-
import '../customer-
|
|
4
|
+
import '../customer-DjlCjlmM.mjs';
|
|
5
5
|
|
|
6
6
|
/** Configuration for Autumn client */
|
|
7
7
|
type AutumnClientConfig = {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IAutumnClient } from './IAutumnClient.js';
|
|
2
|
-
import '../params-
|
|
2
|
+
import '../params-dYykqsvL.js';
|
|
3
3
|
import '../plan-DSTBzzTY.js';
|
|
4
|
-
import '../customer-
|
|
4
|
+
import '../customer-CzMuZp8W.js';
|
|
5
5
|
|
|
6
6
|
/** Configuration for Autumn client */
|
|
7
7
|
type AutumnClientConfig = {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, v as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, A as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
1
|
+
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, v as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, A as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-BUQLwLrI.mjs';
|
|
2
|
+
import { C as Customer } from '../customer-DjlCjlmM.mjs';
|
|
3
3
|
import { O as OpenEnum } from '../plan-DSTBzzTY.mjs';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, v as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, A as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-
|
|
2
|
-
import { C as Customer } from '../customer-
|
|
1
|
+
import { d as ClientGetOrCreateCustomerParams, a as ClientAttachParams, p as AttachResponse, h as ClientPreviewAttachParams, q as PreviewAttachResponse, m as ClientUpdateSubscriptionParams, B as BillingUpdateResponse, j as ClientPreviewUpdateSubscriptionParams, r as PreviewUpdateResponse, f as ClientMultiAttachParams, M as MultiAttachResponse, i as ClientPreviewMultiAttachParams, t as PreviewMultiAttachResponse, l as ClientSetupPaymentParams, S as SetupPaymentResponse, g as ClientOpenCustomerPortalParams, O as OpenCustomerPortalResponse, b as ClientCreateReferralCodeParams, w as CreateReferralCodeResponse, k as ClientRedeemReferralCodeParams, R as RedeemReferralCodeResponse, v as ClientListPlansParams, e as ClientListEventsParams, L as ListEventsResponse, C as ClientAggregateEventsParams, A as AggregateEventsResponse, c as ClientGetEntityParams, G as GetEntityResponse } from '../params-dYykqsvL.js';
|
|
2
|
+
import { C as Customer } from '../customer-CzMuZp8W.js';
|
|
3
3
|
import { O as OpenEnum } from '../plan-DSTBzzTY.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
@@ -1,6 +1,6 @@
|
|
|
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-BUQLwLrI.mjs';
|
|
5
5
|
import '../plan-DSTBzzTY.mjs';
|
|
6
|
-
import '../customer-
|
|
6
|
+
import '../customer-DjlCjlmM.mjs';
|
|
@@ -1,6 +1,6 @@
|
|
|
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-dYykqsvL.js';
|
|
5
5
|
import '../plan-DSTBzzTY.js';
|
|
6
|
-
import '../customer-
|
|
6
|
+
import '../customer-CzMuZp8W.js';
|
|
@@ -504,6 +504,7 @@ declare const CustomerRewardsType: {
|
|
|
504
504
|
readonly FixedDiscount: "fixed_discount";
|
|
505
505
|
readonly FreeProduct: "free_product";
|
|
506
506
|
readonly InvoiceCredits: "invoice_credits";
|
|
507
|
+
readonly FeatureGrant: "feature_grant";
|
|
507
508
|
};
|
|
508
509
|
/**
|
|
509
510
|
* The type of reward
|
|
@@ -504,6 +504,7 @@ declare const CustomerRewardsType: {
|
|
|
504
504
|
readonly FixedDiscount: "fixed_discount";
|
|
505
505
|
readonly FreeProduct: "free_product";
|
|
506
506
|
readonly InvoiceCredits: "invoice_credits";
|
|
507
|
+
readonly FeatureGrant: "feature_grant";
|
|
507
508
|
};
|
|
508
509
|
/**
|
|
509
510
|
* The type of reward
|
|
@@ -7,6 +7,6 @@ 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-BUQLwLrI.mjs';
|
|
11
11
|
import '../plan-DSTBzzTY.mjs';
|
|
12
|
-
import '../customer-
|
|
12
|
+
import '../customer-DjlCjlmM.mjs';
|
|
@@ -7,6 +7,6 @@ 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-dYykqsvL.js';
|
|
11
11
|
import '../plan-DSTBzzTY.js';
|
|
12
|
-
import '../customer-
|
|
12
|
+
import '../customer-CzMuZp8W.js';
|
|
@@ -40,7 +40,7 @@ __export(hooks_exports, {
|
|
|
40
40
|
});
|
|
41
41
|
module.exports = __toCommonJS(hooks_exports);
|
|
42
42
|
|
|
43
|
-
// ../../node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
43
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/subscribable.js
|
|
44
44
|
var Subscribable = class {
|
|
45
45
|
constructor() {
|
|
46
46
|
this.listeners = /* @__PURE__ */ new Set();
|
|
@@ -63,7 +63,7 @@ var Subscribable = class {
|
|
|
63
63
|
}
|
|
64
64
|
};
|
|
65
65
|
|
|
66
|
-
// ../../node_modules/@tanstack/query-core/build/modern/utils.js
|
|
66
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/utils.js
|
|
67
67
|
var isServer = typeof window === "undefined" || "Deno" in globalThis;
|
|
68
68
|
function noop() {
|
|
69
69
|
}
|
|
@@ -171,7 +171,7 @@ function shouldThrowError(throwOnError, params) {
|
|
|
171
171
|
return !!throwOnError;
|
|
172
172
|
}
|
|
173
173
|
|
|
174
|
-
// ../../node_modules/@tanstack/query-core/build/modern/focusManager.js
|
|
174
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/focusManager.js
|
|
175
175
|
var FocusManager = class extends Subscribable {
|
|
176
176
|
#focused;
|
|
177
177
|
#cleanup;
|
|
@@ -233,7 +233,7 @@ var FocusManager = class extends Subscribable {
|
|
|
233
233
|
};
|
|
234
234
|
var focusManager = new FocusManager();
|
|
235
235
|
|
|
236
|
-
// ../../node_modules/@tanstack/query-core/build/modern/onlineManager.js
|
|
236
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/onlineManager.js
|
|
237
237
|
var OnlineManager = class extends Subscribable {
|
|
238
238
|
#online = true;
|
|
239
239
|
#cleanup;
|
|
@@ -285,7 +285,7 @@ var OnlineManager = class extends Subscribable {
|
|
|
285
285
|
};
|
|
286
286
|
var onlineManager = new OnlineManager();
|
|
287
287
|
|
|
288
|
-
// ../../node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
288
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/thenable.js
|
|
289
289
|
function pendingThenable() {
|
|
290
290
|
let resolve;
|
|
291
291
|
let reject;
|
|
@@ -318,12 +318,12 @@ function pendingThenable() {
|
|
|
318
318
|
return thenable;
|
|
319
319
|
}
|
|
320
320
|
|
|
321
|
-
// ../../node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
321
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/retryer.js
|
|
322
322
|
function canFetch(networkMode) {
|
|
323
323
|
return (networkMode ?? "online") === "online" ? onlineManager.isOnline() : true;
|
|
324
324
|
}
|
|
325
325
|
|
|
326
|
-
// ../../node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
326
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/notifyManager.js
|
|
327
327
|
var defaultScheduler = (cb) => setTimeout(cb, 0);
|
|
328
328
|
function createNotifyManager() {
|
|
329
329
|
let queue = [];
|
|
@@ -403,7 +403,7 @@ function createNotifyManager() {
|
|
|
403
403
|
}
|
|
404
404
|
var notifyManager = createNotifyManager();
|
|
405
405
|
|
|
406
|
-
// ../../node_modules/@tanstack/query-core/build/modern/query.js
|
|
406
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/query.js
|
|
407
407
|
function fetchState(data, options) {
|
|
408
408
|
return {
|
|
409
409
|
fetchFailureCount: 0,
|
|
@@ -416,7 +416,7 @@ function fetchState(data, options) {
|
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
418
|
|
|
419
|
-
// ../../node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
419
|
+
// ../../node_modules/.bun/@tanstack+query-core@5.85.6/node_modules/@tanstack/query-core/build/modern/queryObserver.js
|
|
420
420
|
var QueryObserver = class extends Subscribable {
|
|
421
421
|
constructor(client, options) {
|
|
422
422
|
super();
|
|
@@ -864,7 +864,7 @@ function shouldAssignObserverCurrentProperties(observer, optimisticResult) {
|
|
|
864
864
|
return false;
|
|
865
865
|
}
|
|
866
866
|
|
|
867
|
-
// ../../node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
867
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/QueryClientProvider.js
|
|
868
868
|
var React = __toESM(require("react"), 1);
|
|
869
869
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
870
870
|
var QueryClientContext = React.createContext(
|
|
@@ -881,13 +881,13 @@ var useQueryClient = (queryClient) => {
|
|
|
881
881
|
return client;
|
|
882
882
|
};
|
|
883
883
|
|
|
884
|
-
// ../../node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
884
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/IsRestoringProvider.js
|
|
885
885
|
var React2 = __toESM(require("react"), 1);
|
|
886
886
|
var IsRestoringContext = React2.createContext(false);
|
|
887
887
|
var useIsRestoring = () => React2.useContext(IsRestoringContext);
|
|
888
888
|
var IsRestoringProvider = IsRestoringContext.Provider;
|
|
889
889
|
|
|
890
|
-
// ../../node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
890
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/QueryErrorResetBoundary.js
|
|
891
891
|
var React3 = __toESM(require("react"), 1);
|
|
892
892
|
var import_jsx_runtime2 = require("react/jsx-runtime");
|
|
893
893
|
function createValue() {
|
|
@@ -907,7 +907,7 @@ function createValue() {
|
|
|
907
907
|
var QueryErrorResetBoundaryContext = React3.createContext(createValue());
|
|
908
908
|
var useQueryErrorResetBoundary = () => React3.useContext(QueryErrorResetBoundaryContext);
|
|
909
909
|
|
|
910
|
-
// ../../node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
910
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/errorBoundaryUtils.js
|
|
911
911
|
var React4 = __toESM(require("react"), 1);
|
|
912
912
|
var ensurePreventErrorBoundaryRetry = (options, errorResetBoundary) => {
|
|
913
913
|
if (options.suspense || options.throwOnError || options.experimental_prefetchInRender) {
|
|
@@ -931,7 +931,7 @@ var getHasError = ({
|
|
|
931
931
|
return result.isError && !errorResetBoundary.isReset() && !result.isFetching && query && (suspense && result.data === void 0 || shouldThrowError(throwOnError, [result.error, query]));
|
|
932
932
|
};
|
|
933
933
|
|
|
934
|
-
// ../../node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
934
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/suspense.js
|
|
935
935
|
var ensureSuspenseTimers = (defaultedOptions) => {
|
|
936
936
|
if (defaultedOptions.suspense) {
|
|
937
937
|
const clamp = (value) => value === "static" ? value : Math.max(value ?? 1e3, 1e3);
|
|
@@ -948,7 +948,7 @@ var fetchOptimistic = (defaultedOptions, observer, errorResetBoundary) => observ
|
|
|
948
948
|
errorResetBoundary.clearReset();
|
|
949
949
|
});
|
|
950
950
|
|
|
951
|
-
// ../../node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
951
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/useBaseQuery.js
|
|
952
952
|
var React5 = __toESM(require("react"), 1);
|
|
953
953
|
function useBaseQuery(options, Observer, queryClient) {
|
|
954
954
|
if (process.env.NODE_ENV !== "production") {
|
|
@@ -1032,7 +1032,7 @@ function useBaseQuery(options, Observer, queryClient) {
|
|
|
1032
1032
|
return !defaultedOptions.notifyOnChangeProps ? observer.trackResult(result) : result;
|
|
1033
1033
|
}
|
|
1034
1034
|
|
|
1035
|
-
// ../../node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1035
|
+
// ../../node_modules/.bun/@tanstack+react-query@5.85.6+f4eacebf2041cd4f/node_modules/@tanstack/react-query/build/modern/useQuery.js
|
|
1036
1036
|
function useQuery(options, queryClient) {
|
|
1037
1037
|
return useBaseQuery(options, QueryObserver, queryClient);
|
|
1038
1038
|
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useAggregateEvents
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-CHU7CIWP.mjs";
|
|
5
5
|
import {
|
|
6
6
|
useCustomer
|
|
7
|
-
} from "../chunk-
|
|
8
|
-
import "../chunk-
|
|
7
|
+
} from "../chunk-ZGPE4R6H.mjs";
|
|
8
|
+
import "../chunk-KB72KQKN.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-OXQG65ZT.mjs";
|
|
17
17
|
import {
|
|
18
18
|
useListEvents
|
|
19
|
-
} from "../chunk-
|
|
19
|
+
} from "../chunk-MC2YYATT.mjs";
|
|
20
20
|
import {
|
|
21
21
|
useListPlans
|
|
22
|
-
} from "../chunk-
|
|
22
|
+
} from "../chunk-HSQUB3BZ.mjs";
|
|
23
23
|
import {
|
|
24
24
|
useReferrals
|
|
25
|
-
} from "../chunk-
|
|
26
|
-
import "../chunk-
|
|
25
|
+
} from "../chunk-G7FTQLT7.mjs";
|
|
26
|
+
import "../chunk-XJZH5NMZ.mjs";
|
|
27
27
|
import "../chunk-SOA7GEAN.mjs";
|
|
28
28
|
export {
|
|
29
29
|
useAggregateEvents,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BalanceFeature } from '../../../plan-DSTBzzTY.mjs';
|
|
2
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
+
import { C as Customer } from '../../../customer-DjlCjlmM.mjs';
|
|
3
3
|
|
|
4
4
|
type CustomerFeature = NonNullable<Customer["balances"][string]["feature"]>;
|
|
5
5
|
declare const findCreditSystemsByFeature: ({ featureId, features, }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { B as BalanceFeature } from '../../../plan-DSTBzzTY.js';
|
|
2
|
-
import { C as Customer } from '../../../customer-
|
|
2
|
+
import { C as Customer } from '../../../customer-CzMuZp8W.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 { o as ClientCheckParams, s as CheckResponse } from '../../params
|
|
2
|
-
import { C as Customer } from '../../customer-
|
|
1
|
+
import { o as ClientCheckParams, s as CheckResponse } from '../../params-BUQLwLrI.mjs';
|
|
2
|
+
import { C as Customer } from '../../customer-DjlCjlmM.mjs';
|
|
3
3
|
import '../../plan-DSTBzzTY.mjs';
|
|
4
4
|
|
|
5
5
|
declare const getLocalCheckResponse: ({ customer, params, }: {
|