autumn-js 0.1.9 → 0.1.10
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/libraries/backend/better-auth.d.mts +33 -33
- package/dist/libraries/backend/better-auth.d.ts +33 -33
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/index.d.mts +1 -1
- package/dist/libraries/backend/index.d.ts +1 -1
- package/dist/libraries/backend/{referralTypes-BEcapeWf.d.mts → referralTypes-DpLmOy8-.d.mts} +44 -43
- package/dist/libraries/backend/{referralTypes-DuAlUwev.d.ts → referralTypes-nXl36Opw.d.ts} +44 -43
- package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
- package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
- package/dist/libraries/react/AutumnContext.d.mts +6 -6
- package/dist/libraries/react/AutumnContext.d.ts +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.mts +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.ts +6 -6
- package/dist/libraries/react/{ReactAutumnClient-DCMQEadM.d.ts → ReactAutumnClient-BozBPLWS.d.ts} +17 -17
- package/dist/libraries/react/{ReactAutumnClient-Dm14G99_.d.mts → ReactAutumnClient-CDp4DLo0.d.mts} +17 -17
- package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -2
- package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -2
- package/dist/libraries/react/{attachTypes-Sv_paJZ2.d.mts → attachTypes-BqXH38Ft.d.mts} +5 -5
- package/dist/libraries/react/{attachTypes-QTf_JXj7.d.ts → attachTypes-DxfaWOQB.d.ts} +5 -5
- package/dist/libraries/react/{chunk-4UPD6W4L.mjs → chunk-4EPRIJNB.mjs} +425 -423
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +6 -6
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +6 -6
- package/dist/libraries/react/client/clientCompMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientCompMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientCusMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientCusMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientEntityMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientEntityMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientGenMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientGenMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientProdMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientProdMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientReferralMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientReferralMethods.d.ts +6 -6
- package/dist/libraries/react/client/types/clientAttachTypes.d.mts +20 -20
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +20 -20
- package/dist/libraries/react/client/types/clientGenTypes.d.mts +4 -4
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +4 -4
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.mts +2 -2
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.ts +2 -2
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +12 -12
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.mts +2 -2
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.d.ts +2 -2
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.mts +1 -1
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.d.ts +1 -1
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +12 -12
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.mts +1 -1
- package/dist/libraries/react/components/pricing-table/lib/pricing-table-content.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.mts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.d.ts +1 -1
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +12 -12
- package/dist/libraries/react/components/ui/dialog.mjs +2 -2
- package/dist/libraries/react/components/ui/popover.mjs +2 -2
- package/dist/libraries/react/{cusTypes-DbCQV8Sj.d.mts → cusTypes-B2w8Kg9H.d.mts} +4 -3
- package/dist/libraries/react/{cusTypes-BeSXIQ6P.d.ts → cusTypes-C8UH2xVw.d.ts} +4 -3
- package/dist/libraries/react/{entTypes-0CBBecul.d.ts → entTypes-Byz3wYbQ.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-kVUQcah5.d.mts → entTypes-ItJ8BoHV.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-fEH_nqSm.d.mts → genTypes-DSvR32on.d.mts} +5 -5
- package/dist/libraries/react/{genTypes-DsiuvyWS.d.ts → genTypes-EyxQImzh.d.ts} +5 -5
- package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +6 -6
- package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +6 -6
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +7 -7
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +7 -7
- package/dist/libraries/react/hooks/useAnalytics.d.mts +2 -2
- package/dist/libraries/react/hooks/useAnalytics.d.ts +2 -2
- package/dist/libraries/react/hooks/useCustomer.d.mts +6 -6
- package/dist/libraries/react/hooks/useCustomer.d.ts +6 -6
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +6 -6
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +6 -6
- package/dist/libraries/react/hooks/useEntity.d.mts +4 -4
- package/dist/libraries/react/hooks/useEntity.d.ts +4 -4
- package/dist/libraries/react/hooks/useEntityBase.d.mts +6 -6
- package/dist/libraries/react/hooks/useEntityBase.d.ts +6 -6
- package/dist/libraries/react/hooks/usePaywall.d.mts +1 -1
- package/dist/libraries/react/hooks/usePaywall.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTable.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +6 -6
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +6 -6
- package/dist/libraries/react/hooks/useProductsBase.d.mts +6 -6
- package/dist/libraries/react/hooks/useProductsBase.d.ts +6 -6
- package/dist/libraries/react/index.d.mts +1 -0
- package/dist/libraries/react/index.d.ts +1 -0
- package/dist/libraries/react/{prodTypes--VvnyGlN.d.mts → prodTypes-Bmoibf-M.d.mts} +5 -5
- package/dist/libraries/react/{prodTypes--VvnyGlN.d.ts → prodTypes-Bmoibf-M.d.ts} +5 -5
- package/dist/next/client/NextAutumnClient.d.mts +6 -6
- package/dist/next/client/NextAutumnClient.d.ts +6 -6
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{cusTypes-CYojUJSJ.d.ts → cusTypes-DRJ574aU.d.ts} +3 -2
- package/dist/next/client/{cusTypes-CIGvysWL.d.mts → cusTypes-c6-g1-Yy.d.mts} +3 -2
- package/dist/next/client/{entTypes-mOI7WnPZ.d.mts → entTypes-Bf0302Om.d.mts} +1 -1
- package/dist/next/client/{entTypes-BAD1NMvb.d.ts → entTypes-KSBxuyW-.d.ts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +3 -3
- package/dist/next/client/hooks/useAutumn.d.ts +3 -3
- package/dist/next/client/hooks/useCustomer.d.mts +4 -4
- package/dist/next/client/hooks/useCustomer.d.ts +4 -4
- package/dist/next/client/hooks/useEntity.d.mts +3 -3
- package/dist/next/client/hooks/useEntity.d.ts +3 -3
- package/dist/next/client/types.d.mts +2 -2
- package/dist/next/client/types.d.ts +2 -2
- package/dist/next/server/auth/withNextAuth.d.mts +1 -1
- package/dist/next/server/auth/withNextAuth.d.ts +1 -1
- package/dist/next/server/componentActions.d.mts +1 -1
- package/dist/next/server/componentActions.d.ts +1 -1
- package/dist/next/server/cusActions.d.mts +1 -1
- package/dist/next/server/cusActions.d.ts +1 -1
- package/dist/next/server/{cusTypes-CwopPHB0.d.mts → cusTypes-Cu6SOTmn.d.mts} +1 -0
- package/dist/next/server/{cusTypes-CwopPHB0.d.ts → cusTypes-Cu6SOTmn.d.ts} +1 -0
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/dist/sdk/index.d.mts +1 -0
- package/dist/sdk/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/libraries/react/{chunk-FJWZPMWU.mjs → chunk-7JNU5ABT.mjs} +3 -3
- package/dist/libraries/react/{chunk-OTZ65PCT.mjs → chunk-LCWL3TIT.mjs} +3 -3
- package/dist/next/client/{attachTypes-DUUIHTBt.d.mts → attachTypes--97TsCMB.d.mts} +2 -2
- package/dist/next/client/{attachTypes-CReq8zJ_.d.ts → attachTypes-B1sM-0vf.d.ts} +2 -2
- package/dist/next/client/{clientAttachTypes-umadXlvp.d.ts → clientAttachTypes-BXtfXB4v.d.ts} +2 -2
- package/dist/next/client/{clientAttachTypes-BzsPgggN.d.mts → clientAttachTypes-qsdoMt_B.d.mts} +2 -2
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-ItJ8BoHV.mjs';
|
|
2
2
|
import { AttachParams } from '../client/types/clientAttachTypes.mjs';
|
|
3
3
|
import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.mjs';
|
|
4
4
|
import * as swr from 'swr';
|
|
5
5
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
6
|
-
import { a as CheckResult } from '../genTypes-
|
|
6
|
+
import { a as CheckResult } from '../genTypes-DSvR32on.mjs';
|
|
7
7
|
import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
|
|
8
|
-
import '../cusTypes-
|
|
9
|
-
import '../prodTypes
|
|
8
|
+
import '../cusTypes-B2w8Kg9H.mjs';
|
|
9
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
10
10
|
import 'zod';
|
|
11
11
|
|
|
12
12
|
declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-Byz3wYbQ.js';
|
|
2
2
|
import { AttachParams } from '../client/types/clientAttachTypes.js';
|
|
3
3
|
import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.js';
|
|
4
4
|
import * as swr from 'swr';
|
|
5
5
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
6
|
-
import { a as CheckResult } from '../genTypes-
|
|
6
|
+
import { a as CheckResult } from '../genTypes-EyxQImzh.js';
|
|
7
7
|
import { GetEntityParams } from '../client/types/clientEntTypes.js';
|
|
8
|
-
import '../cusTypes-
|
|
9
|
-
import '../prodTypes
|
|
8
|
+
import '../cusTypes-C8UH2xVw.js';
|
|
9
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
10
10
|
import 'zod';
|
|
11
11
|
|
|
12
12
|
declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-ItJ8BoHV.mjs';
|
|
2
2
|
import * as swr from 'swr';
|
|
3
3
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
4
|
-
import { a as CheckResult } from '../genTypes-
|
|
4
|
+
import { a as CheckResult } from '../genTypes-DSvR32on.mjs';
|
|
5
5
|
import { GetEntityParams } from '../client/types/clientEntTypes.mjs';
|
|
6
6
|
import { AutumnContextParams } from '../AutumnContext.mjs';
|
|
7
7
|
import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.mjs';
|
|
8
8
|
import { AttachParams } from '../client/types/clientAttachTypes.mjs';
|
|
9
|
-
import '../cusTypes-
|
|
10
|
-
import '../prodTypes
|
|
9
|
+
import '../cusTypes-B2w8Kg9H.mjs';
|
|
10
|
+
import '../prodTypes-Bmoibf-M.mjs';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'react';
|
|
13
|
-
import '../ReactAutumnClient-
|
|
14
|
-
import '../attachTypes-
|
|
13
|
+
import '../ReactAutumnClient-CDp4DLo0.mjs';
|
|
14
|
+
import '../attachTypes-BqXH38Ft.mjs';
|
|
15
15
|
|
|
16
16
|
declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
17
17
|
entityId: string | null;
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-
|
|
1
|
+
import { E as Entity, R as Result, A as AutumnPromise } from '../entTypes-Byz3wYbQ.js';
|
|
2
2
|
import * as swr from 'swr';
|
|
3
3
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
4
|
-
import { a as CheckResult } from '../genTypes-
|
|
4
|
+
import { a as CheckResult } from '../genTypes-EyxQImzh.js';
|
|
5
5
|
import { GetEntityParams } from '../client/types/clientEntTypes.js';
|
|
6
6
|
import { AutumnContextParams } from '../AutumnContext.js';
|
|
7
7
|
import { CheckParams, CancelParams, TrackParams } from '../client/types/clientGenTypes.js';
|
|
8
8
|
import { AttachParams } from '../client/types/clientAttachTypes.js';
|
|
9
|
-
import '../cusTypes-
|
|
10
|
-
import '../prodTypes
|
|
9
|
+
import '../cusTypes-C8UH2xVw.js';
|
|
10
|
+
import '../prodTypes-Bmoibf-M.js';
|
|
11
11
|
import 'zod';
|
|
12
12
|
import 'react';
|
|
13
|
-
import '../ReactAutumnClient-
|
|
14
|
-
import '../attachTypes-
|
|
13
|
+
import '../ReactAutumnClient-BozBPLWS.js';
|
|
14
|
+
import '../attachTypes-DxfaWOQB.js';
|
|
15
15
|
|
|
16
16
|
declare const useEntityBase: ({ entityId, params, AutumnContext, }: {
|
|
17
17
|
entityId: string | null;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
3
|
-
import { P as Product } from '../prodTypes
|
|
3
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
3
|
-
import { P as Product } from '../prodTypes
|
|
3
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.js';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
3
|
-
import { P as Product } from '../prodTypes
|
|
3
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.mjs';
|
|
5
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
5
|
+
import { A as AutumnClient } from '../ReactAutumnClient-CDp4DLo0.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../client/types/clientEntTypes.mjs';
|
|
8
8
|
import '../client/types/clientGenTypes.mjs';
|
|
9
|
-
import '../genTypes-
|
|
10
|
-
import '../attachTypes-
|
|
11
|
-
import '../entTypes-
|
|
12
|
-
import '../cusTypes-
|
|
9
|
+
import '../genTypes-DSvR32on.mjs';
|
|
10
|
+
import '../attachTypes-BqXH38Ft.mjs';
|
|
11
|
+
import '../entTypes-ItJ8BoHV.mjs';
|
|
12
|
+
import '../cusTypes-B2w8Kg9H.mjs';
|
|
13
13
|
|
|
14
14
|
declare const usePricingTableBase: ({ client, params, }: {
|
|
15
15
|
client: AutumnClient;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import * as swr from 'swr';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
3
|
-
import { P as Product } from '../prodTypes
|
|
3
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.js';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.js';
|
|
5
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
5
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BozBPLWS.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../client/types/clientEntTypes.js';
|
|
8
8
|
import '../client/types/clientGenTypes.js';
|
|
9
|
-
import '../genTypes-
|
|
10
|
-
import '../attachTypes-
|
|
11
|
-
import '../entTypes-
|
|
12
|
-
import '../cusTypes-
|
|
9
|
+
import '../genTypes-EyxQImzh.js';
|
|
10
|
+
import '../attachTypes-DxfaWOQB.js';
|
|
11
|
+
import '../entTypes-Byz3wYbQ.js';
|
|
12
|
+
import '../cusTypes-C8UH2xVw.js';
|
|
13
13
|
|
|
14
14
|
declare const usePricingTableBase: ({ client, params, }: {
|
|
15
15
|
client: AutumnClient;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { P as Product } from '../prodTypes
|
|
2
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.mjs';
|
|
2
|
+
import { A as AutumnClient } from '../ReactAutumnClient-CDp4DLo0.mjs';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../client/types/clientEntTypes.mjs';
|
|
5
5
|
import '../client/types/clientGenTypes.mjs';
|
|
6
6
|
import '../error-DHbclCVh.mjs';
|
|
7
|
-
import '../genTypes-
|
|
8
|
-
import '../attachTypes-
|
|
9
|
-
import '../entTypes-
|
|
10
|
-
import '../cusTypes-
|
|
7
|
+
import '../genTypes-DSvR32on.mjs';
|
|
8
|
+
import '../attachTypes-BqXH38Ft.mjs';
|
|
9
|
+
import '../entTypes-ItJ8BoHV.mjs';
|
|
10
|
+
import '../cusTypes-B2w8Kg9H.mjs';
|
|
11
11
|
|
|
12
12
|
declare const useProductsBase: ({ client }: {
|
|
13
13
|
client: AutumnClient;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { P as Product } from '../prodTypes
|
|
2
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { P as Product } from '../prodTypes-Bmoibf-M.js';
|
|
2
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BozBPLWS.js';
|
|
3
3
|
import 'zod';
|
|
4
4
|
import '../client/types/clientEntTypes.js';
|
|
5
5
|
import '../client/types/clientGenTypes.js';
|
|
6
6
|
import '../error-DHbclCVh.js';
|
|
7
|
-
import '../genTypes-
|
|
8
|
-
import '../attachTypes-
|
|
9
|
-
import '../entTypes-
|
|
10
|
-
import '../cusTypes-
|
|
7
|
+
import '../genTypes-EyxQImzh.js';
|
|
8
|
+
import '../attachTypes-DxfaWOQB.js';
|
|
9
|
+
import '../entTypes-Byz3wYbQ.js';
|
|
10
|
+
import '../cusTypes-C8UH2xVw.js';
|
|
11
11
|
|
|
12
12
|
declare const useProductsBase: ({ client }: {
|
|
13
13
|
client: AutumnClient;
|
|
@@ -411,6 +411,7 @@ interface Customer {
|
|
|
411
411
|
products: CustomerProduct[];
|
|
412
412
|
features: Record<string, CustomerFeature>;
|
|
413
413
|
invoices?: CustomerInvoice[];
|
|
414
|
+
payment_method?: any;
|
|
414
415
|
}
|
|
415
416
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
416
417
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -411,6 +411,7 @@ interface Customer {
|
|
|
411
411
|
products: CustomerProduct[];
|
|
412
412
|
features: Record<string, CustomerFeature>;
|
|
413
413
|
invoices?: CustomerInvoice[];
|
|
414
|
+
payment_method?: any;
|
|
414
415
|
}
|
|
415
416
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
416
417
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -78,11 +78,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
78
78
|
credit_amount: number;
|
|
79
79
|
}>, "many">>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
customer_id: string;
|
|
81
82
|
allowed: boolean;
|
|
82
83
|
feature_id: string;
|
|
83
|
-
customer_id: string;
|
|
84
84
|
required_balance: number;
|
|
85
|
-
usage_limit?: number | undefined;
|
|
86
85
|
entity_id?: string | undefined;
|
|
87
86
|
unlimited?: boolean | undefined;
|
|
88
87
|
interval?: ProductItemInterval | undefined;
|
|
@@ -91,6 +90,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
91
90
|
included_usage?: number | undefined;
|
|
92
91
|
next_reset_at?: number | null | undefined;
|
|
93
92
|
overage_allowed?: boolean | undefined;
|
|
93
|
+
usage_limit?: number | undefined;
|
|
94
94
|
rollovers?: {
|
|
95
95
|
balance: number;
|
|
96
96
|
expires_at: number;
|
|
@@ -107,11 +107,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
107
107
|
credit_amount: number;
|
|
108
108
|
}[] | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
customer_id: string;
|
|
110
111
|
allowed: boolean;
|
|
111
112
|
feature_id: string;
|
|
112
|
-
customer_id: string;
|
|
113
113
|
required_balance: number;
|
|
114
|
-
usage_limit?: number | undefined;
|
|
115
114
|
entity_id?: string | undefined;
|
|
116
115
|
unlimited?: boolean | undefined;
|
|
117
116
|
interval?: ProductItemInterval | undefined;
|
|
@@ -120,6 +119,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
120
119
|
included_usage?: number | undefined;
|
|
121
120
|
next_reset_at?: number | null | undefined;
|
|
122
121
|
overage_allowed?: boolean | undefined;
|
|
122
|
+
usage_limit?: number | undefined;
|
|
123
123
|
rollovers?: {
|
|
124
124
|
balance: number;
|
|
125
125
|
expires_at: number;
|
|
@@ -251,4 +251,4 @@ interface Product {
|
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type
|
|
254
|
+
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type CheckFeatureResult as a, type CheckProductResult as b, type ProductItem as c, ProductItemInterval as d, type ProductScenario as e };
|
|
@@ -78,11 +78,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
78
78
|
credit_amount: number;
|
|
79
79
|
}>, "many">>;
|
|
80
80
|
}, "strip", z.ZodTypeAny, {
|
|
81
|
+
customer_id: string;
|
|
81
82
|
allowed: boolean;
|
|
82
83
|
feature_id: string;
|
|
83
|
-
customer_id: string;
|
|
84
84
|
required_balance: number;
|
|
85
|
-
usage_limit?: number | undefined;
|
|
86
85
|
entity_id?: string | undefined;
|
|
87
86
|
unlimited?: boolean | undefined;
|
|
88
87
|
interval?: ProductItemInterval | undefined;
|
|
@@ -91,6 +90,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
91
90
|
included_usage?: number | undefined;
|
|
92
91
|
next_reset_at?: number | null | undefined;
|
|
93
92
|
overage_allowed?: boolean | undefined;
|
|
93
|
+
usage_limit?: number | undefined;
|
|
94
94
|
rollovers?: {
|
|
95
95
|
balance: number;
|
|
96
96
|
expires_at: number;
|
|
@@ -107,11 +107,10 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
107
107
|
credit_amount: number;
|
|
108
108
|
}[] | undefined;
|
|
109
109
|
}, {
|
|
110
|
+
customer_id: string;
|
|
110
111
|
allowed: boolean;
|
|
111
112
|
feature_id: string;
|
|
112
|
-
customer_id: string;
|
|
113
113
|
required_balance: number;
|
|
114
|
-
usage_limit?: number | undefined;
|
|
115
114
|
entity_id?: string | undefined;
|
|
116
115
|
unlimited?: boolean | undefined;
|
|
117
116
|
interval?: ProductItemInterval | undefined;
|
|
@@ -120,6 +119,7 @@ declare const CheckFeatureResultSchema: z.ZodObject<{
|
|
|
120
119
|
included_usage?: number | undefined;
|
|
121
120
|
next_reset_at?: number | null | undefined;
|
|
122
121
|
overage_allowed?: boolean | undefined;
|
|
122
|
+
usage_limit?: number | undefined;
|
|
123
123
|
rollovers?: {
|
|
124
124
|
balance: number;
|
|
125
125
|
expires_at: number;
|
|
@@ -251,4 +251,4 @@ interface Product {
|
|
|
251
251
|
};
|
|
252
252
|
}
|
|
253
253
|
|
|
254
|
-
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type
|
|
254
|
+
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type CheckFeatureResult as a, type CheckProductResult as b, type ProductItem as c, ProductItemInterval as d, type ProductScenario as e };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-
|
|
2
|
-
import { C as CheckoutResult, A as AttachResult } from './attachTypes
|
|
3
|
-
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-
|
|
4
|
-
import { E as Entity, D as DeleteEntityResult } from './entTypes-
|
|
1
|
+
import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-qsdoMt_B.mjs';
|
|
2
|
+
import { C as CheckoutResult, A as AttachResult } from './attachTypes--97TsCMB.mjs';
|
|
3
|
+
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-c6-g1-Yy.mjs';
|
|
4
|
+
import { E as Entity, D as DeleteEntityResult } from './entTypes-Bf0302Om.mjs';
|
|
5
5
|
import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-BFkleT6a.mjs';
|
|
6
6
|
import { A as AutumnError } from './error-DHbclCVh.mjs';
|
|
7
7
|
import { P as ProductItem, c as ProductScenario, a as Product } from './prodTypes-CxvB1YY3.mjs';
|
|
@@ -82,9 +82,9 @@ declare class AutumnClient {
|
|
|
82
82
|
reward?: string | undefined;
|
|
83
83
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
84
84
|
}) => AutumnPromise<{
|
|
85
|
+
customer_id: string;
|
|
85
86
|
code: string;
|
|
86
87
|
message: string;
|
|
87
|
-
customer_id: string;
|
|
88
88
|
product_ids: string[];
|
|
89
89
|
checkout_url?: string | undefined;
|
|
90
90
|
customer_data?: any;
|
|
@@ -137,9 +137,9 @@ declare class AutumnClient {
|
|
|
137
137
|
eventName?: string | undefined;
|
|
138
138
|
idempotencyKey?: string | undefined;
|
|
139
139
|
}) => AutumnPromise<{
|
|
140
|
-
code: string;
|
|
141
140
|
id: string;
|
|
142
141
|
customer_id: string;
|
|
142
|
+
code: string;
|
|
143
143
|
feature_id?: string | undefined;
|
|
144
144
|
event_name?: string | undefined;
|
|
145
145
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-
|
|
2
|
-
import { C as CheckoutResult, A as AttachResult } from './attachTypes-
|
|
3
|
-
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-
|
|
4
|
-
import { E as Entity, D as DeleteEntityResult } from './entTypes-
|
|
1
|
+
import { R as Result, a as AutumnPromise, C as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, Q as QueryResult, A as AttachParams, c as CancelParams, d as CancelResult, g as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-BXtfXB4v.js';
|
|
2
|
+
import { C as CheckoutResult, A as AttachResult } from './attachTypes-B1sM-0vf.js';
|
|
3
|
+
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-DRJ574aU.js';
|
|
4
|
+
import { E as Entity, D as DeleteEntityResult } from './entTypes-KSBxuyW-.js';
|
|
5
5
|
import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-BFkleT6a.js';
|
|
6
6
|
import { A as AutumnError } from './error-DHbclCVh.js';
|
|
7
7
|
import { P as ProductItem, c as ProductScenario, a as Product } from './prodTypes-CxvB1YY3.js';
|
|
@@ -82,9 +82,9 @@ declare class AutumnClient {
|
|
|
82
82
|
reward?: string | undefined;
|
|
83
83
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
84
84
|
}) => AutumnPromise<{
|
|
85
|
+
customer_id: string;
|
|
85
86
|
code: string;
|
|
86
87
|
message: string;
|
|
87
|
-
customer_id: string;
|
|
88
88
|
product_ids: string[];
|
|
89
89
|
checkout_url?: string | undefined;
|
|
90
90
|
customer_data?: any;
|
|
@@ -137,9 +137,9 @@ declare class AutumnClient {
|
|
|
137
137
|
eventName?: string | undefined;
|
|
138
138
|
idempotencyKey?: string | undefined;
|
|
139
139
|
}) => AutumnPromise<{
|
|
140
|
-
code: string;
|
|
141
140
|
id: string;
|
|
142
141
|
customer_id: string;
|
|
142
|
+
code: string;
|
|
143
143
|
feature_id?: string | undefined;
|
|
144
144
|
event_name?: string | undefined;
|
|
145
145
|
}>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AutumnClientError, PricingTableProduct } from './types.mjs';
|
|
2
|
-
import './cusTypes-
|
|
2
|
+
import './cusTypes-c6-g1-Yy.mjs';
|
|
3
3
|
import './prodTypes-CxvB1YY3.mjs';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './entTypes-
|
|
5
|
+
import './entTypes-Bf0302Om.mjs';
|
|
6
6
|
|
|
7
7
|
declare const toClientErrorResponse: (error: any) => {
|
|
8
8
|
data: null;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AutumnClientError, PricingTableProduct } from './types.js';
|
|
2
|
-
import './cusTypes-
|
|
2
|
+
import './cusTypes-DRJ574aU.js';
|
|
3
3
|
import './prodTypes-CxvB1YY3.js';
|
|
4
4
|
import 'zod';
|
|
5
|
-
import './entTypes-
|
|
5
|
+
import './entTypes-KSBxuyW-.js';
|
|
6
6
|
|
|
7
7
|
declare const toClientErrorResponse: (error: any) => {
|
|
8
8
|
data: null;
|
|
@@ -142,6 +142,7 @@ interface Customer {
|
|
|
142
142
|
products: CustomerProduct[];
|
|
143
143
|
features: Record<string, CustomerFeature>;
|
|
144
144
|
invoices?: CustomerInvoice[];
|
|
145
|
+
payment_method?: any;
|
|
145
146
|
}
|
|
146
147
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
147
148
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -165,17 +166,17 @@ declare const CreateCustomerParamsSchema: z.ZodObject<{
|
|
|
165
166
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
166
167
|
expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["invoices", "rewards", "trials_used", "entities", "referrals", "payment_method"]>, "many">>;
|
|
167
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
id?: string | null | undefined;
|
|
168
170
|
name?: string | null | undefined;
|
|
169
171
|
email?: string | null | undefined;
|
|
170
172
|
fingerprint?: string | null | undefined;
|
|
171
|
-
id?: string | null | undefined;
|
|
172
173
|
metadata?: Record<string, any> | undefined;
|
|
173
174
|
expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
|
|
174
175
|
}, {
|
|
176
|
+
id?: string | null | undefined;
|
|
175
177
|
name?: string | null | undefined;
|
|
176
178
|
email?: string | null | undefined;
|
|
177
179
|
fingerprint?: string | null | undefined;
|
|
178
|
-
id?: string | null | undefined;
|
|
179
180
|
metadata?: Record<string, any> | undefined;
|
|
180
181
|
expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
|
|
181
182
|
}>;
|
|
@@ -142,6 +142,7 @@ interface Customer {
|
|
|
142
142
|
products: CustomerProduct[];
|
|
143
143
|
features: Record<string, CustomerFeature>;
|
|
144
144
|
invoices?: CustomerInvoice[];
|
|
145
|
+
payment_method?: any;
|
|
145
146
|
}
|
|
146
147
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
147
148
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -165,17 +166,17 @@ declare const CreateCustomerParamsSchema: z.ZodObject<{
|
|
|
165
166
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
166
167
|
expand: z.ZodOptional<z.ZodArray<z.ZodEnum<["invoices", "rewards", "trials_used", "entities", "referrals", "payment_method"]>, "many">>;
|
|
167
168
|
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
id?: string | null | undefined;
|
|
168
170
|
name?: string | null | undefined;
|
|
169
171
|
email?: string | null | undefined;
|
|
170
172
|
fingerprint?: string | null | undefined;
|
|
171
|
-
id?: string | null | undefined;
|
|
172
173
|
metadata?: Record<string, any> | undefined;
|
|
173
174
|
expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
|
|
174
175
|
}, {
|
|
176
|
+
id?: string | null | undefined;
|
|
175
177
|
name?: string | null | undefined;
|
|
176
178
|
email?: string | null | undefined;
|
|
177
179
|
fingerprint?: string | null | undefined;
|
|
178
|
-
id?: string | null | undefined;
|
|
179
180
|
metadata?: Record<string, any> | undefined;
|
|
180
181
|
expand?: ("invoices" | "rewards" | "trials_used" | "entities" | "referrals" | "payment_method")[] | undefined;
|
|
181
182
|
}>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-
|
|
1
|
+
import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-qsdoMt_B.mjs';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
3
|
-
import { C as CheckoutResult } from '../attachTypes
|
|
4
|
-
import { B as BillingPortalResult } from '../cusTypes-
|
|
3
|
+
import { C as CheckoutResult } from '../attachTypes--97TsCMB.mjs';
|
|
4
|
+
import { B as BillingPortalResult } from '../cusTypes-c6-g1-Yy.mjs';
|
|
5
5
|
import '../prodTypes-CxvB1YY3.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-
|
|
1
|
+
import { A as AttachParams, R as Result, C as CheckResult, T as TrackParams, a as AutumnPromise, b as TrackResult, c as CancelParams, d as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, e as SetupPaymentResult, f as CheckoutParams } from '../clientAttachTypes-BXtfXB4v.js';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
3
|
-
import { C as CheckoutResult } from '../attachTypes-
|
|
4
|
-
import { B as BillingPortalResult } from '../cusTypes-
|
|
3
|
+
import { C as CheckoutResult } from '../attachTypes-B1sM-0vf.js';
|
|
4
|
+
import { B as BillingPortalResult } from '../cusTypes-DRJ574aU.js';
|
|
5
5
|
import '../prodTypes-CxvB1YY3.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
2
|
-
import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-
|
|
3
|
-
import { A as AttachResult, C as CheckoutResult } from '../attachTypes
|
|
4
|
-
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-
|
|
5
|
-
import { E as Entity } from '../entTypes-
|
|
2
|
+
import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-qsdoMt_B.mjs';
|
|
3
|
+
import { A as AttachResult, C as CheckoutResult } from '../attachTypes--97TsCMB.mjs';
|
|
4
|
+
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-c6-g1-Yy.mjs';
|
|
5
|
+
import { E as Entity } from '../entTypes-Bf0302Om.mjs';
|
|
6
6
|
import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BFkleT6a.mjs';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { SWRConfiguration } from 'swr';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
2
|
-
import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-
|
|
3
|
-
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-
|
|
4
|
-
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-
|
|
5
|
-
import { E as Entity } from '../entTypes-
|
|
2
|
+
import { A as AttachParams, a as AutumnPromise, C as CheckResult, T as TrackParams, b as TrackResult, c as CancelParams, d as CancelResult, S as SetupPaymentParams, e as SetupPaymentResult, O as OpenBillingPortalParams, f as CheckoutParams, g as CheckParams, h as Success } from '../clientAttachTypes-BXtfXB4v.js';
|
|
3
|
+
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-B1sM-0vf.js';
|
|
4
|
+
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-DRJ574aU.js';
|
|
5
|
+
import { E as Entity } from '../entTypes-KSBxuyW-.js';
|
|
6
6
|
import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BFkleT6a.js';
|
|
7
7
|
import { z } from 'zod';
|
|
8
8
|
import { SWRConfiguration } from 'swr';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-
|
|
1
|
+
import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-qsdoMt_B.mjs';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
3
|
-
import { G as GetEntityParams, E as Entity } from '../entTypes-
|
|
3
|
+
import { G as GetEntityParams, E as Entity } from '../entTypes-Bf0302Om.mjs';
|
|
4
4
|
import * as swr from 'swr';
|
|
5
5
|
import '../prodTypes-CxvB1YY3.mjs';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../cusTypes-
|
|
7
|
+
import '../cusTypes-c6-g1-Yy.mjs';
|
|
8
8
|
|
|
9
9
|
declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
|
|
10
10
|
entity: Entity | null;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-
|
|
1
|
+
import { g as CheckParams, C as CheckResult, A as AttachParams, R as Result, c as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-BXtfXB4v.js';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
3
|
-
import { G as GetEntityParams, E as Entity } from '../entTypes-
|
|
3
|
+
import { G as GetEntityParams, E as Entity } from '../entTypes-KSBxuyW-.js';
|
|
4
4
|
import * as swr from 'swr';
|
|
5
5
|
import '../prodTypes-CxvB1YY3.js';
|
|
6
6
|
import 'zod';
|
|
7
|
-
import '../cusTypes-
|
|
7
|
+
import '../cusTypes-DRJ574aU.js';
|
|
8
8
|
|
|
9
9
|
declare const useEntity: (entityId: string | null, params?: GetEntityParams) => {
|
|
10
10
|
entity: Entity | null;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomerData, a as Customer } from './cusTypes-
|
|
2
|
-
import { E as Entity } from './entTypes-
|
|
1
|
+
import { C as CustomerData, a as Customer } from './cusTypes-c6-g1-Yy.mjs';
|
|
2
|
+
import { E as Entity } from './entTypes-Bf0302Om.mjs';
|
|
3
3
|
import './prodTypes-CxvB1YY3.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as CustomerData, a as Customer } from './cusTypes-
|
|
2
|
-
import { E as Entity } from './entTypes-
|
|
1
|
+
import { C as CustomerData, a as Customer } from './cusTypes-DRJ574aU.js';
|
|
2
|
+
import { E as Entity } from './entTypes-KSBxuyW-.js';
|
|
3
3
|
import './prodTypes-CxvB1YY3.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|