autumn-js 0.1.18 → 0.1.20
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 +28 -28
- package/dist/libraries/backend/better-auth.d.ts +28 -28
- 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-bzPW4Cz9.d.mts → referralTypes-9uVrgXY-.d.mts} +11 -0
- package/dist/libraries/backend/{referralTypes-DBmabd9O.d.ts → referralTypes-DJwOFSeK.d.ts} +11 -0
- 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/AutumnContext.mjs +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.mts +6 -6
- package/dist/libraries/react/BaseAutumnProvider.d.ts +6 -6
- package/dist/libraries/react/BaseAutumnProvider.mjs +6 -6
- package/dist/libraries/react/{ReactAutumnClient-BKSxQ-QD.d.ts → ReactAutumnClient-BqEB-TPz.d.ts} +6 -6
- package/dist/libraries/react/{ReactAutumnClient-Dc-wJFoV.d.mts → ReactAutumnClient-_y4Ea48c.d.mts} +6 -6
- package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -2
- package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -2
- package/dist/libraries/react/ReactAutumnProvider.mjs +7 -7
- package/dist/libraries/react/{attachTypes-DVF4f7Hw.d.ts → attachTypes-DoCshKK6.d.ts} +1 -1
- package/dist/libraries/react/{attachTypes-DJIr5ldB.d.mts → attachTypes-gI6T0O95.d.mts} +1 -1
- package/dist/libraries/react/{chunk-Q4DQR73E.mjs → chunk-4IVY6AXO.mjs} +1 -1
- package/dist/libraries/react/{chunk-MIFWWE4R.mjs → chunk-5NRXGCQW.mjs} +2 -2
- package/dist/libraries/react/{chunk-VRNUTHYD.mjs → chunk-64M53BCF.mjs} +1 -1
- package/dist/libraries/react/{chunk-4CO2JIMK.mjs → chunk-AKE6UAQS.mjs} +1 -1
- package/dist/libraries/react/{chunk-7PEELII6.mjs → chunk-FD42XGXU.mjs} +1 -1
- package/dist/libraries/react/{chunk-T6D3GYIH.mjs → chunk-L4FS7ENO.mjs} +1 -1
- package/dist/libraries/react/{chunk-BMXP6QM4.mjs → chunk-LNAQMT6O.mjs} +461 -463
- package/dist/libraries/react/{chunk-BD4NZOEZ.mjs → chunk-RJSVDPCH.mjs} +1 -1
- package/dist/libraries/react/{chunk-FQC6SNTZ.mjs → chunk-TMTGUQGT.mjs} +1 -1
- package/dist/libraries/react/{chunk-3HD5EPJE.mjs → chunk-WFMJOMJP.mjs} +3 -3
- package/dist/libraries/react/{chunk-HMSBDBZ3.mjs → chunk-XT6MF3ZV.mjs} +2 -2
- 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/ReactAutumnClient.mjs +3 -3
- 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 +1 -0
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +1 -0
- package/dist/libraries/react/client/types/clientAttachTypes.js +1 -0
- package/dist/libraries/react/client/types/clientAttachTypes.mjs +1 -0
- 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 +22 -22
- 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 +22 -22
- 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 +22 -22
- package/dist/libraries/react/components/ui/button.d.mts +1 -1
- package/dist/libraries/react/components/ui/button.d.ts +1 -1
- 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-k5jXe0qX.d.ts → cusTypes-DckkwpWg.d.ts} +12 -1
- package/dist/libraries/react/{cusTypes-Dco5eq7y.d.mts → cusTypes-UwHT30-L.d.mts} +12 -1
- package/dist/libraries/react/{entTypes-ktfnO6RI.d.ts → entTypes-BWsQfaNZ.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-kUplkhdu.d.mts → entTypes-DcRz1vjc.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-DdYlVEah.d.mts → genTypes-C_ilxndU.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-aPPwPimh.d.ts → genTypes-DjcQWIOM.d.ts} +1 -1
- 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 +6 -6
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +6 -6
- 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/useAnalytics.mjs +5 -5
- 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/useCustomer.mjs +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/useCustomerBase.mjs +5 -5
- 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/useEntity.mjs +6 -6
- 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/useEntityBase.mjs +5 -5
- 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/usePaywall.mjs +5 -5
- 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/usePricingTable.mjs +5 -5
- 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 +12 -1
- package/dist/libraries/react/index.d.ts +12 -1
- package/dist/libraries/react/{prodTypes-C8xRoBP7.d.ts → prodTypes-B8NdKyKo.d.mts} +1 -1
- package/dist/libraries/react/{prodTypes-C8xRoBP7.d.mts → prodTypes-B8NdKyKo.d.ts} +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +5 -4
- package/dist/next/client/NextAutumnClient.d.ts +5 -4
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/{clientAttachTypes-anFjm97z.d.mts → clientAttachTypes-DPbDkX9E.d.mts} +1 -0
- package/dist/next/client/{clientAttachTypes-CQi73rMl.d.ts → clientAttachTypes-DWfLqjO3.d.ts} +1 -0
- package/dist/next/client/{clientEntTypes-BFkleT6a.d.mts → clientEntTypes-DHKeY0pG.d.mts} +0 -1
- package/dist/next/client/{clientEntTypes-BFkleT6a.d.ts → clientEntTypes-DHKeY0pG.d.ts} +0 -1
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{cusTypes-AghIAq_l.d.ts → cusTypes-CcUOSzBw.d.ts} +11 -0
- package/dist/next/client/{cusTypes-30uk2TR6.d.mts → cusTypes-dipsR4ST.d.mts} +11 -0
- package/dist/next/client/{entTypes-D4OAGulB.d.ts → entTypes-BwBtFwJP.d.ts} +1 -1
- package/dist/next/client/{entTypes-IlAM6qyq.d.mts → entTypes-BzKJAjff.d.mts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +2 -2
- package/dist/next/client/hooks/useAutumn.d.ts +2 -2
- 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-COsetLSo.d.mts → cusTypes-W3m1cxYN.d.mts} +11 -0
- package/dist/next/server/{cusTypes-COsetLSo.d.ts → cusTypes-W3m1cxYN.d.ts} +11 -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 +12 -2
- package/dist/sdk/index.d.ts +12 -2
- package/package.json +1 -1
- package/dist/libraries/react/{chunk-6VDZ3JMC.mjs → chunk-2OPGTDRC.mjs} +6 -6
- package/dist/libraries/react/{chunk-5KZSH7JF.mjs → chunk-X6FMCHSB.mjs} +3 -3
- package/dist/libraries/react/{chunk-UYZX3KX2.mjs → chunk-YE6KQQS7.mjs} +3 -3
|
@@ -2,17 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
useEntityBase
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-TMTGUQGT.mjs";
|
|
6
6
|
import "../chunk-BM36COXS.mjs";
|
|
7
7
|
import "../chunk-NFVAFRF6.mjs";
|
|
8
8
|
import "../chunk-HBJDIEEJ.mjs";
|
|
9
|
-
import "../chunk-
|
|
10
|
-
import "../chunk-
|
|
11
|
-
import "../chunk-JVCOY7ZL.mjs";
|
|
12
|
-
import "../chunk-CIBQ4BJU.mjs";
|
|
9
|
+
import "../chunk-RJSVDPCH.mjs";
|
|
10
|
+
import "../chunk-2OPGTDRC.mjs";
|
|
13
11
|
import "../chunk-ABJEE3UK.mjs";
|
|
14
12
|
import "../chunk-V575SGOW.mjs";
|
|
15
13
|
import "../chunk-ZV4RPZTM.mjs";
|
|
14
|
+
import "../chunk-JVCOY7ZL.mjs";
|
|
15
|
+
import "../chunk-CIBQ4BJU.mjs";
|
|
16
16
|
import "../chunk-VTGR7VVK.mjs";
|
|
17
17
|
import "../chunk-WFFVOEUG.mjs";
|
|
18
18
|
import "../chunk-ZF2HUCN6.mjs";
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
usePaywall
|
|
5
|
-
} from "../chunk-
|
|
6
|
-
import "../chunk-
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-JVCOY7ZL.mjs";
|
|
9
|
-
import "../chunk-CIBQ4BJU.mjs";
|
|
5
|
+
} from "../chunk-L4FS7ENO.mjs";
|
|
6
|
+
import "../chunk-RJSVDPCH.mjs";
|
|
7
|
+
import "../chunk-2OPGTDRC.mjs";
|
|
10
8
|
import "../chunk-ABJEE3UK.mjs";
|
|
11
9
|
import "../chunk-V575SGOW.mjs";
|
|
12
10
|
import "../chunk-ZV4RPZTM.mjs";
|
|
11
|
+
import "../chunk-JVCOY7ZL.mjs";
|
|
12
|
+
import "../chunk-CIBQ4BJU.mjs";
|
|
13
13
|
import "../chunk-VTGR7VVK.mjs";
|
|
14
14
|
import "../chunk-WFFVOEUG.mjs";
|
|
15
15
|
import "../chunk-ZF2HUCN6.mjs";
|
|
@@ -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-B8NdKyKo.mjs';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.mjs';
|
|
5
5
|
import 'zod/v4';
|
|
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-B8NdKyKo.js';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.js';
|
|
5
5
|
import 'zod/v4';
|
|
6
6
|
|
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
import {
|
|
4
4
|
usePricingTable
|
|
5
|
-
} from "../chunk-
|
|
5
|
+
} from "../chunk-FD42XGXU.mjs";
|
|
6
6
|
import "../chunk-HBJDIEEJ.mjs";
|
|
7
|
-
import "../chunk-
|
|
8
|
-
import "../chunk-
|
|
9
|
-
import "../chunk-JVCOY7ZL.mjs";
|
|
10
|
-
import "../chunk-CIBQ4BJU.mjs";
|
|
7
|
+
import "../chunk-RJSVDPCH.mjs";
|
|
8
|
+
import "../chunk-2OPGTDRC.mjs";
|
|
11
9
|
import "../chunk-ABJEE3UK.mjs";
|
|
12
10
|
import "../chunk-V575SGOW.mjs";
|
|
13
11
|
import "../chunk-ZV4RPZTM.mjs";
|
|
12
|
+
import "../chunk-JVCOY7ZL.mjs";
|
|
13
|
+
import "../chunk-CIBQ4BJU.mjs";
|
|
14
14
|
import "../chunk-VTGR7VVK.mjs";
|
|
15
15
|
import "../chunk-WFFVOEUG.mjs";
|
|
16
16
|
import "../chunk-ZF2HUCN6.mjs";
|
|
@@ -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-B8NdKyKo.mjs';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.mjs';
|
|
5
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
5
|
+
import { A as AutumnClient } from '../ReactAutumnClient-_y4Ea48c.mjs';
|
|
6
6
|
import 'zod/v4';
|
|
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-C_ilxndU.mjs';
|
|
10
|
+
import '../attachTypes-gI6T0O95.mjs';
|
|
11
|
+
import '../entTypes-DcRz1vjc.mjs';
|
|
12
|
+
import '../cusTypes-UwHT30-L.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-B8NdKyKo.js';
|
|
4
4
|
import { ProductDetails } from '../client/types/clientPricingTableTypes.js';
|
|
5
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
5
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BqEB-TPz.js';
|
|
6
6
|
import 'zod/v4';
|
|
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-DjcQWIOM.js';
|
|
10
|
+
import '../attachTypes-DoCshKK6.js';
|
|
11
|
+
import '../entTypes-BWsQfaNZ.js';
|
|
12
|
+
import '../cusTypes-DckkwpWg.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-B8NdKyKo.mjs';
|
|
2
|
+
import { A as AutumnClient } from '../ReactAutumnClient-_y4Ea48c.mjs';
|
|
3
3
|
import 'zod/v4';
|
|
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-C_ilxndU.mjs';
|
|
8
|
+
import '../attachTypes-gI6T0O95.mjs';
|
|
9
|
+
import '../entTypes-DcRz1vjc.mjs';
|
|
10
|
+
import '../cusTypes-UwHT30-L.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-B8NdKyKo.js';
|
|
2
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BqEB-TPz.js';
|
|
3
3
|
import 'zod/v4';
|
|
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-DjcQWIOM.js';
|
|
8
|
+
import '../attachTypes-DoCshKK6.js';
|
|
9
|
+
import '../entTypes-BWsQfaNZ.js';
|
|
10
|
+
import '../cusTypes-DckkwpWg.js';
|
|
11
11
|
|
|
12
12
|
declare const useProductsBase: ({ client }: {
|
|
13
13
|
client: AutumnClient;
|
|
@@ -227,6 +227,16 @@ interface CustomerFeature extends CoreCustomerFeature {
|
|
|
227
227
|
name: string;
|
|
228
228
|
type: "static" | "single_use" | "continuous_use";
|
|
229
229
|
}
|
|
230
|
+
interface CustomerReferral {
|
|
231
|
+
program_id: string;
|
|
232
|
+
customer: {
|
|
233
|
+
id: string;
|
|
234
|
+
name: string | null;
|
|
235
|
+
email: string | null;
|
|
236
|
+
};
|
|
237
|
+
reward_applied: boolean;
|
|
238
|
+
created_at: number;
|
|
239
|
+
}
|
|
230
240
|
interface CustomerProduct {
|
|
231
241
|
id: string;
|
|
232
242
|
name: string | null;
|
|
@@ -257,6 +267,7 @@ interface Customer {
|
|
|
257
267
|
features: Record<string, CustomerFeature>;
|
|
258
268
|
invoices?: CustomerInvoice[];
|
|
259
269
|
payment_method?: any;
|
|
270
|
+
referrals?: CustomerReferral[];
|
|
260
271
|
}
|
|
261
272
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
262
273
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -420,7 +431,6 @@ interface RedeemReferralCodeResult {
|
|
|
420
431
|
id: string;
|
|
421
432
|
customer_id: string;
|
|
422
433
|
reward_id: string;
|
|
423
|
-
applied: boolean;
|
|
424
434
|
}
|
|
425
435
|
|
|
426
436
|
declare const ReactAutumnProvider: ({ children, getBearerToken, backendUrl, customerData, includeCredentials, betterAuthUrl, headers, convexApi, }: {
|
|
@@ -549,6 +559,7 @@ declare const CheckoutParamsSchema: z.ZodObject<{
|
|
|
549
559
|
successUrl: z.ZodOptional<z.ZodString>;
|
|
550
560
|
openInNewTab: z.ZodOptional<z.ZodBoolean>;
|
|
551
561
|
dialog: z.ZodOptional<z.ZodAny>;
|
|
562
|
+
forceCheckout: z.ZodOptional<z.ZodBoolean>;
|
|
552
563
|
checkoutSessionParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
553
564
|
reward: z.ZodOptional<z.ZodString>;
|
|
554
565
|
}, z.core.$strip>;
|
|
@@ -227,6 +227,16 @@ interface CustomerFeature extends CoreCustomerFeature {
|
|
|
227
227
|
name: string;
|
|
228
228
|
type: "static" | "single_use" | "continuous_use";
|
|
229
229
|
}
|
|
230
|
+
interface CustomerReferral {
|
|
231
|
+
program_id: string;
|
|
232
|
+
customer: {
|
|
233
|
+
id: string;
|
|
234
|
+
name: string | null;
|
|
235
|
+
email: string | null;
|
|
236
|
+
};
|
|
237
|
+
reward_applied: boolean;
|
|
238
|
+
created_at: number;
|
|
239
|
+
}
|
|
230
240
|
interface CustomerProduct {
|
|
231
241
|
id: string;
|
|
232
242
|
name: string | null;
|
|
@@ -257,6 +267,7 @@ interface Customer {
|
|
|
257
267
|
features: Record<string, CustomerFeature>;
|
|
258
268
|
invoices?: CustomerInvoice[];
|
|
259
269
|
payment_method?: any;
|
|
270
|
+
referrals?: CustomerReferral[];
|
|
260
271
|
}
|
|
261
272
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
262
273
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -420,7 +431,6 @@ interface RedeemReferralCodeResult {
|
|
|
420
431
|
id: string;
|
|
421
432
|
customer_id: string;
|
|
422
433
|
reward_id: string;
|
|
423
|
-
applied: boolean;
|
|
424
434
|
}
|
|
425
435
|
|
|
426
436
|
declare const ReactAutumnProvider: ({ children, getBearerToken, backendUrl, customerData, includeCredentials, betterAuthUrl, headers, convexApi, }: {
|
|
@@ -549,6 +559,7 @@ declare const CheckoutParamsSchema: z.ZodObject<{
|
|
|
549
559
|
successUrl: z.ZodOptional<z.ZodString>;
|
|
550
560
|
openInNewTab: z.ZodOptional<z.ZodBoolean>;
|
|
551
561
|
dialog: z.ZodOptional<z.ZodAny>;
|
|
562
|
+
forceCheckout: z.ZodOptional<z.ZodBoolean>;
|
|
552
563
|
checkoutSessionParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
553
564
|
reward: z.ZodOptional<z.ZodString>;
|
|
554
565
|
}, z.core.$strip>;
|
|
@@ -168,4 +168,4 @@ interface Product {
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type
|
|
171
|
+
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type ProductItem as a, type CheckFeatureResult as b, type CheckProductResult as c, ProductItemInterval as d, type ProductScenario as e };
|
|
@@ -168,4 +168,4 @@ interface Product {
|
|
|
168
168
|
};
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
-
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type
|
|
171
|
+
export { AppEnv as A, type CheckFeaturePreview as C, type Product as P, type ProductItem as a, type CheckFeatureResult as b, type CheckProductResult as c, ProductItemInterval as d, type ProductScenario as e };
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
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-DPbDkX9E.mjs';
|
|
2
2
|
import { C as CheckoutResult, A as AttachResult } from './attachTypes-BOh_Skwx.mjs';
|
|
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-
|
|
5
|
-
import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-
|
|
3
|
+
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-dipsR4ST.mjs';
|
|
4
|
+
import { E as Entity, D as DeleteEntityResult } from './entTypes-BzKJAjff.mjs';
|
|
5
|
+
import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-DHKeY0pG.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-DwM7QuGf.mjs';
|
|
8
8
|
import 'zod/v4';
|
|
@@ -108,6 +108,7 @@ declare class AutumnClient {
|
|
|
108
108
|
successUrl?: string | undefined;
|
|
109
109
|
openInNewTab?: boolean | undefined;
|
|
110
110
|
dialog?: any;
|
|
111
|
+
forceCheckout?: boolean | undefined;
|
|
111
112
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
112
113
|
reward?: string | undefined;
|
|
113
114
|
}) => AutumnPromise<CheckoutResult>;
|
|
@@ -1,8 +1,8 @@
|
|
|
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-
|
|
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-DWfLqjO3.js';
|
|
2
2
|
import { C as CheckoutResult, A as AttachResult } from './attachTypes-x-hgg6BY.js';
|
|
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-
|
|
5
|
-
import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-
|
|
3
|
+
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-CcUOSzBw.js';
|
|
4
|
+
import { E as Entity, D as DeleteEntityResult } from './entTypes-BwBtFwJP.js';
|
|
5
|
+
import { C as CreateEntityParams, G as GetEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from './clientEntTypes-DHKeY0pG.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-DwM7QuGf.js';
|
|
8
8
|
import 'zod/v4';
|
|
@@ -108,6 +108,7 @@ declare class AutumnClient {
|
|
|
108
108
|
successUrl?: string | undefined;
|
|
109
109
|
openInNewTab?: boolean | undefined;
|
|
110
110
|
dialog?: any;
|
|
111
|
+
forceCheckout?: boolean | undefined;
|
|
111
112
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
112
113
|
reward?: string | undefined;
|
|
113
114
|
}) => AutumnPromise<CheckoutResult>;
|
package/dist/next/client/{clientAttachTypes-anFjm97z.d.mts → clientAttachTypes-DPbDkX9E.d.mts}
RENAMED
|
@@ -109,6 +109,7 @@ declare const CheckoutParamsSchema: z.ZodObject<{
|
|
|
109
109
|
successUrl: z.ZodOptional<z.ZodString>;
|
|
110
110
|
openInNewTab: z.ZodOptional<z.ZodBoolean>;
|
|
111
111
|
dialog: z.ZodOptional<z.ZodAny>;
|
|
112
|
+
forceCheckout: z.ZodOptional<z.ZodBoolean>;
|
|
112
113
|
checkoutSessionParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
113
114
|
reward: z.ZodOptional<z.ZodString>;
|
|
114
115
|
}, z.core.$strip>;
|
package/dist/next/client/{clientAttachTypes-CQi73rMl.d.ts → clientAttachTypes-DWfLqjO3.d.ts}
RENAMED
|
@@ -109,6 +109,7 @@ declare const CheckoutParamsSchema: z.ZodObject<{
|
|
|
109
109
|
successUrl: z.ZodOptional<z.ZodString>;
|
|
110
110
|
openInNewTab: z.ZodOptional<z.ZodBoolean>;
|
|
111
111
|
dialog: z.ZodOptional<z.ZodAny>;
|
|
112
|
+
forceCheckout: z.ZodOptional<z.ZodBoolean>;
|
|
112
113
|
checkoutSessionParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
113
114
|
reward: z.ZodOptional<z.ZodString>;
|
|
114
115
|
}, z.core.$strip>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { AutumnClientError, PricingTableProduct } from './types.mjs';
|
|
2
|
-
import './cusTypes-
|
|
2
|
+
import './cusTypes-dipsR4ST.mjs';
|
|
3
3
|
import './prodTypes-DwM7QuGf.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import './entTypes-
|
|
5
|
+
import './entTypes-BzKJAjff.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-CcUOSzBw.js';
|
|
3
3
|
import './prodTypes-DwM7QuGf.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
|
-
import './entTypes-
|
|
5
|
+
import './entTypes-BwBtFwJP.js';
|
|
6
6
|
|
|
7
7
|
declare const toClientErrorResponse: (error: any) => {
|
|
8
8
|
data: null;
|
|
@@ -41,6 +41,16 @@ interface CustomerFeature extends CoreCustomerFeature {
|
|
|
41
41
|
name: string;
|
|
42
42
|
type: "static" | "single_use" | "continuous_use";
|
|
43
43
|
}
|
|
44
|
+
interface CustomerReferral {
|
|
45
|
+
program_id: string;
|
|
46
|
+
customer: {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string | null;
|
|
49
|
+
email: string | null;
|
|
50
|
+
};
|
|
51
|
+
reward_applied: boolean;
|
|
52
|
+
created_at: number;
|
|
53
|
+
}
|
|
44
54
|
interface CustomerProduct {
|
|
45
55
|
id: string;
|
|
46
56
|
name: string | null;
|
|
@@ -71,6 +81,7 @@ interface Customer {
|
|
|
71
81
|
features: Record<string, CustomerFeature>;
|
|
72
82
|
invoices?: CustomerInvoice[];
|
|
73
83
|
payment_method?: any;
|
|
84
|
+
referrals?: CustomerReferral[];
|
|
74
85
|
}
|
|
75
86
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
76
87
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -41,6 +41,16 @@ interface CustomerFeature extends CoreCustomerFeature {
|
|
|
41
41
|
name: string;
|
|
42
42
|
type: "static" | "single_use" | "continuous_use";
|
|
43
43
|
}
|
|
44
|
+
interface CustomerReferral {
|
|
45
|
+
program_id: string;
|
|
46
|
+
customer: {
|
|
47
|
+
id: string;
|
|
48
|
+
name: string | null;
|
|
49
|
+
email: string | null;
|
|
50
|
+
};
|
|
51
|
+
reward_applied: boolean;
|
|
52
|
+
created_at: number;
|
|
53
|
+
}
|
|
44
54
|
interface CustomerProduct {
|
|
45
55
|
id: string;
|
|
46
56
|
name: string | null;
|
|
@@ -71,6 +81,7 @@ interface Customer {
|
|
|
71
81
|
features: Record<string, CustomerFeature>;
|
|
72
82
|
invoices?: CustomerInvoice[];
|
|
73
83
|
payment_method?: any;
|
|
84
|
+
referrals?: CustomerReferral[];
|
|
74
85
|
}
|
|
75
86
|
declare const CustomerDataSchema: z.ZodObject<{
|
|
76
87
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -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-DPbDkX9E.mjs';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
3
3
|
import { C as CheckoutResult } from '../attachTypes-BOh_Skwx.mjs';
|
|
4
|
-
import { B as BillingPortalResult } from '../cusTypes-
|
|
4
|
+
import { B as BillingPortalResult } from '../cusTypes-dipsR4ST.mjs';
|
|
5
5
|
import '../prodTypes-DwM7QuGf.mjs';
|
|
6
6
|
import 'zod/v4';
|
|
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-DWfLqjO3.js';
|
|
2
2
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
3
3
|
import { C as CheckoutResult } from '../attachTypes-x-hgg6BY.js';
|
|
4
|
-
import { B as BillingPortalResult } from '../cusTypes-
|
|
4
|
+
import { B as BillingPortalResult } from '../cusTypes-CcUOSzBw.js';
|
|
5
5
|
import '../prodTypes-DwM7QuGf.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
7
|
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
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-DPbDkX9E.mjs';
|
|
3
3
|
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-BOh_Skwx.mjs';
|
|
4
|
-
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-
|
|
5
|
-
import { E as Entity } from '../entTypes-
|
|
6
|
-
import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-
|
|
4
|
+
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-dipsR4ST.mjs';
|
|
5
|
+
import { E as Entity } from '../entTypes-BzKJAjff.mjs';
|
|
6
|
+
import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-DHKeY0pG.mjs';
|
|
7
7
|
import { z } from 'zod/v4';
|
|
8
8
|
import { SWRConfiguration } from 'swr';
|
|
9
9
|
import '../prodTypes-DwM7QuGf.mjs';
|
|
@@ -1,9 +1,9 @@
|
|
|
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-
|
|
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-DWfLqjO3.js';
|
|
3
3
|
import { A as AttachResult, C as CheckoutResult } from '../attachTypes-x-hgg6BY.js';
|
|
4
|
-
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-
|
|
5
|
-
import { E as Entity } from '../entTypes-
|
|
6
|
-
import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-
|
|
4
|
+
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-CcUOSzBw.js';
|
|
5
|
+
import { E as Entity } from '../entTypes-BwBtFwJP.js';
|
|
6
|
+
import { C as CreateEntityParams, a as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-DHKeY0pG.js';
|
|
7
7
|
import { z } from 'zod/v4';
|
|
8
8
|
import { SWRConfiguration } from 'swr';
|
|
9
9
|
import '../prodTypes-DwM7QuGf.js';
|
|
@@ -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-DPbDkX9E.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-BzKJAjff.mjs';
|
|
4
4
|
import * as swr from 'swr';
|
|
5
5
|
import '../prodTypes-DwM7QuGf.mjs';
|
|
6
6
|
import 'zod/v4';
|
|
7
|
-
import '../cusTypes-
|
|
7
|
+
import '../cusTypes-dipsR4ST.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-DWfLqjO3.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-BwBtFwJP.js';
|
|
4
4
|
import * as swr from 'swr';
|
|
5
5
|
import '../prodTypes-DwM7QuGf.js';
|
|
6
6
|
import 'zod/v4';
|
|
7
|
-
import '../cusTypes-
|
|
7
|
+
import '../cusTypes-CcUOSzBw.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-dipsR4ST.mjs';
|
|
2
|
+
import { E as Entity } from './entTypes-BzKJAjff.mjs';
|
|
3
3
|
import './prodTypes-DwM7QuGf.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
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-CcUOSzBw.js';
|
|
2
|
+
import { E as Entity } from './entTypes-BwBtFwJP.js';
|
|
3
3
|
import './prodTypes-DwM7QuGf.js';
|
|
4
4
|
import 'zod/v4';
|
|
5
5
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CustomerData, a as CheckFeatureResult, b as CheckProductResult, P as ProductItem, c as Product, G as GetCustomerParams, d as Customer, e as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, f as BillingPortalResult, g as UpdateBalancesParams, h as UpdateBalancesResult, i as CreateProductParams, L as ListProductsParams, j as CustomerProduct, k as CustomerFeature, l as CustomerInvoice } from './cusTypes-
|
|
1
|
+
import { C as CustomerData, a as CheckFeatureResult, b as CheckProductResult, P as ProductItem, c as Product, G as GetCustomerParams, d as Customer, e as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, f as BillingPortalResult, g as UpdateBalancesParams, h as UpdateBalancesResult, i as CreateProductParams, L as ListProductsParams, j as CustomerProduct, k as CustomerFeature, l as CustomerInvoice } from './cusTypes-W3m1cxYN.mjs';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
import { R as Result, A as AutumnError } from './response-eH4S4sg0.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { C as CustomerData, a as CheckFeatureResult, b as CheckProductResult, P as ProductItem, c as Product, G as GetCustomerParams, d as Customer, e as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, f as BillingPortalResult, g as UpdateBalancesParams, h as UpdateBalancesResult, i as CreateProductParams, L as ListProductsParams, j as CustomerProduct, k as CustomerFeature, l as CustomerInvoice } from './cusTypes-
|
|
1
|
+
import { C as CustomerData, a as CheckFeatureResult, b as CheckProductResult, P as ProductItem, c as Product, G as GetCustomerParams, d as Customer, e as CreateCustomerParams, U as UpdateCustomerParams, B as BillingPortalParams, f as BillingPortalResult, g as UpdateBalancesParams, h as UpdateBalancesResult, i as CreateProductParams, L as ListProductsParams, j as CustomerProduct, k as CustomerFeature, l as CustomerInvoice } from './cusTypes-W3m1cxYN.js';
|
|
2
2
|
import { z } from 'zod/v4';
|
|
3
3
|
import { z as z$1 } from 'zod';
|
|
4
4
|
import { R as Result, A as AutumnError } from './response-eH4S4sg0.js';
|