autumn-js 0.0.92 → 0.0.95
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 +172 -207
- package/dist/libraries/backend/better-auth.d.ts +172 -207
- package/dist/libraries/backend/better-auth.js +150 -162
- package/dist/libraries/backend/better-auth.mjs +64 -134
- package/dist/libraries/backend/{chunk-VFTHGJ5N.mjs → chunk-33NT3WE5.mjs} +1 -1
- package/dist/libraries/backend/{chunk-V6M7KRGN.mjs → chunk-6VS7TU7O.mjs} +109 -35
- package/dist/libraries/backend/{chunk-JPNRDMMC.mjs → chunk-AKV5N4WO.mjs} +1 -1
- package/dist/libraries/backend/{chunk-7QSJB2C5.mjs → chunk-CEZHD5H6.mjs} +1 -1
- package/dist/libraries/backend/{chunk-NTFR7Z2G.mjs → chunk-DUDRVC7W.mjs} +6 -6
- package/dist/libraries/backend/{chunk-FCEB2GBS.mjs → chunk-J3L3OBSS.mjs} +1 -1
- package/dist/libraries/backend/{chunk-U7335VZS.mjs → chunk-RA4AC56B.mjs} +1 -1
- package/dist/libraries/backend/convex.js +101 -35
- package/dist/libraries/backend/convex.mjs +7 -7
- package/dist/libraries/backend/express.d.mts +1 -1
- package/dist/libraries/backend/express.d.ts +1 -1
- package/dist/libraries/backend/express.js +101 -35
- package/dist/libraries/backend/express.mjs +7 -7
- package/dist/libraries/backend/fastify.js +101 -35
- package/dist/libraries/backend/fastify.mjs +7 -7
- package/dist/libraries/backend/hono.js +101 -35
- package/dist/libraries/backend/hono.mjs +7 -7
- package/dist/libraries/backend/next.js +103 -37
- package/dist/libraries/backend/next.mjs +7 -7
- package/dist/libraries/backend/react-router.js +101 -35
- package/dist/libraries/backend/react-router.mjs +7 -7
- package/dist/libraries/backend/{referralTypes-C_LRkLGP.d.mts → referralTypes-Dg9pRvI7.d.mts} +186 -85
- package/dist/libraries/backend/{referralTypes-KJHGHDgD.d.ts → referralTypes-HAk2vTns.d.ts} +186 -85
- package/dist/libraries/backend/remix_dep.js +101 -35
- package/dist/libraries/backend/remix_dep.mjs +7 -7
- package/dist/libraries/backend/routes/backendRouter.js +101 -35
- package/dist/libraries/backend/routes/backendRouter.mjs +7 -7
- package/dist/libraries/backend/routes/entityRoutes.js +101 -35
- package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/genRoutes.js +101 -35
- package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/productRoutes.js +101 -35
- package/dist/libraries/backend/routes/productRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/referralRoutes.js +101 -35
- package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
- package/dist/libraries/backend/supabase.js +101 -35
- package/dist/libraries/backend/supabase.mjs +7 -7
- package/dist/libraries/backend/tanstack.js +101 -35
- package/dist/libraries/backend/tanstack.mjs +7 -7
- package/dist/libraries/backend/utils/backendRes.js +101 -35
- package/dist/libraries/backend/utils/backendRes.mjs +1 -1
- package/dist/libraries/backend/utils/withAuth.d.mts +1 -1
- package/dist/libraries/backend/utils/withAuth.d.ts +1 -1
- package/dist/libraries/backend/utils/withAuth.js +101 -35
- package/dist/libraries/backend/utils/withAuth.mjs +2 -2
- package/dist/libraries/react/AutumnContext.d.mts +4 -4
- package/dist/libraries/react/AutumnContext.d.ts +4 -4
- package/dist/libraries/react/AutumnContext.js +129 -52
- package/dist/libraries/react/AutumnContext.mjs +9 -9
- package/dist/libraries/react/BaseAutumnProvider.d.mts +4 -4
- package/dist/libraries/react/BaseAutumnProvider.d.ts +4 -4
- package/dist/libraries/react/BaseAutumnProvider.js +136 -62
- package/dist/libraries/react/BaseAutumnProvider.mjs +14 -14
- package/dist/libraries/react/{ReactAutumnClient-BmHGkNH1.d.mts → ReactAutumnClient-BuSRDMJN.d.mts} +23 -13
- package/dist/libraries/react/{ReactAutumnClient-PGnPqPkr.d.ts → ReactAutumnClient-k0qbHX8f.d.ts} +23 -13
- package/dist/libraries/react/ReactAutumnProvider.d.mts +3 -3
- package/dist/libraries/react/ReactAutumnProvider.d.ts +3 -3
- package/dist/libraries/react/ReactAutumnProvider.js +139 -64
- package/dist/libraries/react/ReactAutumnProvider.mjs +15 -15
- package/dist/libraries/react/{chunk-LPJSRHPQ.mjs → chunk-5G3DYUNT.mjs} +1 -1
- package/dist/libraries/react/{chunk-VH4FTCAC.mjs → chunk-6CJ3FB74.mjs} +2 -2
- package/dist/libraries/react/{chunk-NCPXL3J2.mjs → chunk-ALFXUHDD.mjs} +133 -59
- package/dist/libraries/react/{chunk-L3IZ2O3T.mjs → chunk-AOJCMXVS.mjs} +6 -5
- package/dist/libraries/react/{chunk-OGFFPM5T.mjs → chunk-APDR7D6A.mjs} +2 -2
- package/dist/libraries/react/{chunk-PJK6OPCU.mjs → chunk-CAMHARUX.mjs} +2 -2
- package/dist/libraries/react/{chunk-Y6RO4AM2.mjs → chunk-CHXNYNH3.mjs} +273 -273
- package/dist/libraries/react/{chunk-DIJJCQ2N.mjs → chunk-DVMVIAZE.mjs} +3 -3
- package/dist/libraries/react/{chunk-HL4JNKWK.mjs → chunk-G3FBFZLU.mjs} +4 -1
- package/dist/libraries/react/{chunk-RZW3QO6B.mjs → chunk-LVDONEVF.mjs} +2 -2
- package/dist/libraries/react/{chunk-SDZ5NW6G.mjs → chunk-MZDRIPNS.mjs} +2 -2
- package/dist/libraries/react/{chunk-TCCWWPEC.mjs → chunk-R4BYOLST.mjs} +2 -2
- package/dist/libraries/react/{chunk-6SDVW33H.mjs → chunk-T5PIJ4HG.mjs} +9 -12
- package/dist/libraries/react/{chunk-YUV2Y2RW.mjs → chunk-V575SGOW.mjs} +1 -1
- package/dist/libraries/react/{chunk-NZ5PEXT2.mjs → chunk-VTGR7VVK.mjs} +1 -1
- package/dist/libraries/react/{chunk-JNM4BLTM.mjs → chunk-VUBJ6JM3.mjs} +6 -6
- package/dist/libraries/react/{chunk-TGX6UKKS.mjs → chunk-WFFVOEUG.mjs} +1 -1
- package/dist/libraries/react/{chunk-V5PKOA5A.mjs → chunk-ZF2HUCN6.mjs} +3 -3
- package/dist/libraries/react/{chunk-3EYF7OI5.mjs → chunk-ZV4RPZTM.mjs} +2 -2
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +4 -4
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +4 -4
- package/dist/libraries/react/client/ReactAutumnClient.js +126 -52
- package/dist/libraries/react/client/ReactAutumnClient.mjs +8 -8
- package/dist/libraries/react/client/clientCompMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientCompMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientCompMethods.js +1 -1
- package/dist/libraries/react/client/clientCompMethods.mjs +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientCusMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientCusMethods.js +1 -1
- package/dist/libraries/react/client/clientCusMethods.mjs +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientEntityMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientEntityMethods.js +3 -3
- package/dist/libraries/react/client/clientEntityMethods.mjs +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientGenMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientGenMethods.js +6 -6
- package/dist/libraries/react/client/clientGenMethods.mjs +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientProdMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientProdMethods.js +1 -1
- package/dist/libraries/react/client/clientProdMethods.mjs +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.mts +4 -4
- package/dist/libraries/react/client/clientReferralMethods.d.ts +4 -4
- package/dist/libraries/react/client/clientReferralMethods.js +2 -2
- package/dist/libraries/react/client/clientReferralMethods.mjs +1 -1
- package/dist/libraries/react/client/types/clientGenTypes.d.mts +12 -12
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +12 -12
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.mts +1 -1
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.d.ts +1 -1
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.js +136 -62
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +22 -22
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.mts +1 -1
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.d.ts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +1 -1
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +1 -1
- package/dist/libraries/react/components/check-dialog/lib/check-content.d.mts +1 -1
- package/dist/libraries/react/components/check-dialog/lib/check-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.js +136 -62
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +22 -22
- package/dist/libraries/react/{cusTypes-WaPJKeAb.d.ts → cusTypes-Vw94kPR9.d.mts} +1 -1
- package/dist/libraries/react/{cusTypes-WaPJKeAb.d.mts → cusTypes-Vw94kPR9.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-D01S8gFX.d.ts → entTypes-B7nuhHD7.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-aIV0QUCW.d.mts → entTypes-Ho-VocKG.d.mts} +1 -1
- package/dist/libraries/react/hooks/handleAllowed.d.mts +2 -2
- package/dist/libraries/react/hooks/handleAllowed.d.ts +2 -2
- package/dist/libraries/react/hooks/useAutumn.d.mts +2 -2
- package/dist/libraries/react/hooks/useAutumn.d.ts +2 -2
- package/dist/libraries/react/hooks/useAutumn.js +129 -52
- package/dist/libraries/react/hooks/useAutumn.mjs +12 -12
- package/dist/libraries/react/hooks/useAutumnBase.d.mts +4 -4
- package/dist/libraries/react/hooks/useAutumnBase.d.ts +4 -4
- package/dist/libraries/react/hooks/useAutumnBase.js +129 -52
- package/dist/libraries/react/hooks/useAutumnBase.mjs +11 -11
- package/dist/libraries/react/hooks/useCustomer.d.mts +4 -4
- package/dist/libraries/react/hooks/useCustomer.d.ts +4 -4
- package/dist/libraries/react/hooks/useCustomer.js +136 -62
- package/dist/libraries/react/hooks/useCustomer.mjs +13 -13
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +4 -5
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +4 -5
- package/dist/libraries/react/hooks/useCustomerBase.js +136 -62
- package/dist/libraries/react/hooks/useCustomerBase.mjs +12 -12
- package/dist/libraries/react/hooks/useEntity.d.mts +15 -5
- package/dist/libraries/react/hooks/useEntity.d.ts +15 -5
- package/dist/libraries/react/hooks/useEntity.js +129 -52
- package/dist/libraries/react/hooks/useEntity.mjs +13 -13
- package/dist/libraries/react/hooks/useEntityBase.d.mts +16 -6
- package/dist/libraries/react/hooks/useEntityBase.d.ts +16 -6
- package/dist/libraries/react/hooks/useEntityBase.js +129 -52
- package/dist/libraries/react/hooks/useEntityBase.mjs +12 -12
- 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.js +129 -52
- package/dist/libraries/react/hooks/usePricingTable.mjs +11 -11
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +4 -4
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +4 -4
- package/dist/libraries/react/hooks/usePricingTableBase.js +129 -52
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +10 -10
- package/dist/libraries/react/hooks/useProductsBase.js +129 -52
- package/dist/libraries/react/hooks/useProductsBase.mjs +9 -9
- package/dist/libraries/react/index.d.mts +57 -26
- package/dist/libraries/react/index.d.ts +57 -26
- package/dist/libraries/react/index.js +139 -64
- package/dist/libraries/react/index.mjs +139 -64
- package/dist/libraries/react/{response-CvPzWrT9.d.ts → response-CQf3mDB8.d.ts} +34 -12
- package/dist/libraries/react/{response-Bt5OMm4y.d.mts → response-CWluLfIs.d.mts} +34 -12
- package/dist/next/{AutumnProvider-DtLqoQp6.d.mts → AutumnProvider-CCYZC_bN.d.mts} +1 -1
- package/dist/next/{AutumnProvider-DtLqoQp6.d.ts → AutumnProvider-CCYZC_bN.d.ts} +1 -1
- package/dist/next/AutumnProvider.d.mts +1 -1
- package/dist/next/AutumnProvider.d.ts +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +21 -11
- package/dist/next/client/NextAutumnClient.d.ts +21 -11
- package/dist/next/client/{clientGenTypes-BPjTbeG-.d.mts → clientGenTypes-9ngy1q97.d.mts} +43 -21
- package/dist/next/client/{clientGenTypes-Bqecpl58.d.ts → clientGenTypes-CxB4go6q.d.ts} +43 -21
- package/dist/next/client/hooks/useAutumn.d.mts +1 -1
- package/dist/next/client/hooks/useAutumn.d.ts +1 -1
- package/dist/next/client/hooks/useCustomer.d.mts +1 -2
- package/dist/next/client/hooks/useCustomer.d.ts +1 -2
- package/dist/next/client/hooks/useEntity.d.mts +13 -3
- package/dist/next/client/hooks/useEntity.d.ts +13 -3
- package/dist/next/index.d.mts +80 -39
- package/dist/next/index.d.ts +80 -39
- 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 +175 -79
- package/dist/next/server/cusActions.d.ts +175 -79
- package/dist/next/server/{cusTypes-C86FOl99.d.mts → cusTypes-Cy72qmFx.d.mts} +11 -6
- package/dist/next/server/{cusTypes-C86FOl99.d.ts → cusTypes-Cy72qmFx.d.ts} +11 -6
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/dist/sdk/index.d.mts +234 -81
- package/dist/sdk/index.d.ts +234 -81
- package/dist/sdk/index.js +74 -4
- package/dist/sdk/index.mjs +65 -5
- package/dist/utils/encryptUtils.js +101 -35
- package/dist/utils/encryptUtils.mjs +101 -35
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AutumnClient, O as OmitCustomerType } from '../ReactAutumnClient-
|
|
2
|
-
import { a as CreateCustomerParams, b as Customer } from '../cusTypes-
|
|
3
|
-
import { A as AutumnPromise } from '../response-
|
|
1
|
+
import { A as AutumnClient, O as OmitCustomerType } from '../ReactAutumnClient-BuSRDMJN.mjs';
|
|
2
|
+
import { a as CreateCustomerParams, b as Customer } from '../cusTypes-Vw94kPR9.mjs';
|
|
3
|
+
import { A as AutumnPromise } from '../response-CWluLfIs.mjs';
|
|
4
4
|
import './types/clientEntTypes.mjs';
|
|
5
5
|
import './types/clientGenTypes.mjs';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../error-DHbclCVh.mjs';
|
|
9
|
-
import '../entTypes-
|
|
9
|
+
import '../entTypes-Ho-VocKG.mjs';
|
|
10
10
|
|
|
11
11
|
declare const createCustomerMethod: ({ client, params, }: {
|
|
12
12
|
client: AutumnClient;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AutumnClient, O as OmitCustomerType } from '../ReactAutumnClient-
|
|
2
|
-
import { a as CreateCustomerParams, b as Customer } from '../cusTypes-
|
|
3
|
-
import { A as AutumnPromise } from '../response-
|
|
1
|
+
import { A as AutumnClient, O as OmitCustomerType } from '../ReactAutumnClient-k0qbHX8f.js';
|
|
2
|
+
import { a as CreateCustomerParams, b as Customer } from '../cusTypes-Vw94kPR9.js';
|
|
3
|
+
import { A as AutumnPromise } from '../response-CQf3mDB8.js';
|
|
4
4
|
import './types/clientEntTypes.js';
|
|
5
5
|
import './types/clientGenTypes.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../error-DHbclCVh.js';
|
|
9
|
-
import '../entTypes-
|
|
9
|
+
import '../entTypes-B7nuhHD7.js';
|
|
10
10
|
|
|
11
11
|
declare const createCustomerMethod: ({ client, params, }: {
|
|
12
12
|
client: AutumnClient;
|
|
@@ -29,7 +29,7 @@ var createCustomerMethod = async ({
|
|
|
29
29
|
client,
|
|
30
30
|
params
|
|
31
31
|
}) => {
|
|
32
|
-
let result = await client.post(
|
|
32
|
+
let result = await client.post(`${client.prefix}/customers`, params);
|
|
33
33
|
return result;
|
|
34
34
|
};
|
|
35
35
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnPromise } from '../response-CWluLfIs.mjs';
|
|
2
|
+
import { E as Entity, D as DeleteEntityResult } from '../entTypes-Ho-VocKG.mjs';
|
|
3
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BuSRDMJN.mjs';
|
|
4
4
|
import { CreateEntityParams, GetEntityParams } from './types/clientEntTypes.mjs';
|
|
5
|
-
import '../cusTypes-
|
|
5
|
+
import '../cusTypes-Vw94kPR9.mjs';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../error-DHbclCVh.mjs';
|
|
8
8
|
import './types/clientGenTypes.mjs';
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnPromise } from '../response-CQf3mDB8.js';
|
|
2
|
+
import { E as Entity, D as DeleteEntityResult } from '../entTypes-B7nuhHD7.js';
|
|
3
|
+
import { A as AutumnClient } from '../ReactAutumnClient-k0qbHX8f.js';
|
|
4
4
|
import { CreateEntityParams, GetEntityParams } from './types/clientEntTypes.js';
|
|
5
|
-
import '../cusTypes-
|
|
5
|
+
import '../cusTypes-Vw94kPR9.js';
|
|
6
6
|
import 'zod';
|
|
7
7
|
import '../error-DHbclCVh.js';
|
|
8
8
|
import './types/clientGenTypes.js';
|
|
@@ -60,17 +60,17 @@ var getEntityExpandStr = (expand) => {
|
|
|
60
60
|
// src/libraries/react/client/clientEntityMethods.ts
|
|
61
61
|
async function createEntityMethod(params) {
|
|
62
62
|
let snakeParams = toSnakeCase(params);
|
|
63
|
-
const res = await this.post(
|
|
63
|
+
const res = await this.post(`${this.prefix}/entities`, snakeParams);
|
|
64
64
|
return res;
|
|
65
65
|
}
|
|
66
66
|
async function getEntityMethod(entityId, params) {
|
|
67
67
|
let snakeParams = toSnakeCase(params);
|
|
68
68
|
let expand = getEntityExpandStr(params?.expand);
|
|
69
|
-
const res = await this.get(
|
|
69
|
+
const res = await this.get(`${this.prefix}/entities/${entityId}?${expand}`);
|
|
70
70
|
return res;
|
|
71
71
|
}
|
|
72
72
|
async function deleteEntityMethod(entityId) {
|
|
73
|
-
const res = await this.delete(
|
|
73
|
+
const res = await this.delete(`${this.prefix}/entities/${entityId}`);
|
|
74
74
|
return res;
|
|
75
75
|
}
|
|
76
76
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BuSRDMJN.mjs';
|
|
2
2
|
import { AttachParams, SetupPaymentParams, CancelParams, CheckParams, TrackParams, OpenBillingPortalParams } from './types/clientGenTypes.mjs';
|
|
3
|
-
import { A as AutumnPromise, a as AttachResult, S as SetupPaymentResult, C as CancelResult, b as CheckResult, T as TrackResult } from '../response-
|
|
4
|
-
import { B as BillingPortalResult } from '../cusTypes-
|
|
3
|
+
import { A as AutumnPromise, a as AttachResult, S as SetupPaymentResult, C as CancelResult, b as CheckResult, T as TrackResult } from '../response-CWluLfIs.mjs';
|
|
4
|
+
import { B as BillingPortalResult } from '../cusTypes-Vw94kPR9.mjs';
|
|
5
5
|
import './types/clientEntTypes.mjs';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '../error-DHbclCVh.mjs';
|
|
8
|
-
import '../entTypes-
|
|
8
|
+
import '../entTypes-Ho-VocKG.mjs';
|
|
9
9
|
import 'zod';
|
|
10
10
|
|
|
11
11
|
declare function attachMethod(this: AutumnClient, params: AttachParams): AutumnPromise<AttachResult>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnClient } from '../ReactAutumnClient-k0qbHX8f.js';
|
|
2
2
|
import { AttachParams, SetupPaymentParams, CancelParams, CheckParams, TrackParams, OpenBillingPortalParams } from './types/clientGenTypes.js';
|
|
3
|
-
import { A as AutumnPromise, a as AttachResult, S as SetupPaymentResult, C as CancelResult, b as CheckResult, T as TrackResult } from '../response-
|
|
4
|
-
import { B as BillingPortalResult } from '../cusTypes-
|
|
3
|
+
import { A as AutumnPromise, a as AttachResult, S as SetupPaymentResult, C as CancelResult, b as CheckResult, T as TrackResult } from '../response-CQf3mDB8.js';
|
|
4
|
+
import { B as BillingPortalResult } from '../cusTypes-Vw94kPR9.js';
|
|
5
5
|
import './types/clientEntTypes.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import '../error-DHbclCVh.js';
|
|
8
|
-
import '../entTypes-
|
|
8
|
+
import '../entTypes-B7nuhHD7.js';
|
|
9
9
|
import 'zod';
|
|
10
10
|
|
|
11
11
|
declare function attachMethod(this: AutumnClient, params: AttachParams): AutumnPromise<AttachResult>;
|
|
@@ -56,33 +56,33 @@ var toSnakeCase = (obj, excludeKeys) => {
|
|
|
56
56
|
async function attachMethod(params) {
|
|
57
57
|
let { dialog, ...rest } = params;
|
|
58
58
|
let snakeParams = toSnakeCase(rest, ["checkoutSessionparams"]);
|
|
59
|
-
const res = await this.post(
|
|
59
|
+
const res = await this.post(`${this.prefix}/attach`, snakeParams);
|
|
60
60
|
return res;
|
|
61
61
|
}
|
|
62
62
|
async function setupPaymentMethod(params) {
|
|
63
63
|
let snakeParams = toSnakeCase(params, ["checkoutSessionParams"]);
|
|
64
|
-
const res = await this.post(
|
|
64
|
+
const res = await this.post(`${this.prefix}/setup_payment`, snakeParams);
|
|
65
65
|
return res;
|
|
66
66
|
}
|
|
67
67
|
async function cancelMethod(params) {
|
|
68
68
|
let snakeParams = toSnakeCase(params);
|
|
69
|
-
const res = await this.post(
|
|
69
|
+
const res = await this.post(`${this.prefix}/cancel`, snakeParams);
|
|
70
70
|
return res;
|
|
71
71
|
}
|
|
72
72
|
async function checkMethod(params) {
|
|
73
73
|
let { dialog, ...rest } = params;
|
|
74
74
|
let snakeParams = toSnakeCase(rest);
|
|
75
|
-
const res = await this.post(
|
|
75
|
+
const res = await this.post(`${this.prefix}/check`, snakeParams);
|
|
76
76
|
return res;
|
|
77
77
|
}
|
|
78
78
|
async function trackMethod(params) {
|
|
79
79
|
let snakeParams = toSnakeCase(params);
|
|
80
|
-
const res = await this.post(
|
|
80
|
+
const res = await this.post(`${this.prefix}/track`, snakeParams);
|
|
81
81
|
return res;
|
|
82
82
|
}
|
|
83
83
|
async function openBillingPortalMethod(params) {
|
|
84
84
|
let snakeParams = toSnakeCase(params || {});
|
|
85
|
-
const res = await this.post(
|
|
85
|
+
const res = await this.post(`${this.prefix}/billing_portal`, snakeParams);
|
|
86
86
|
return res;
|
|
87
87
|
}
|
|
88
88
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
2
|
-
import { P as Product } from '../cusTypes-
|
|
3
|
-
import { A as AutumnPromise } from '../response-
|
|
1
|
+
import { A as AutumnClient } from '../ReactAutumnClient-BuSRDMJN.mjs';
|
|
2
|
+
import { P as Product } from '../cusTypes-Vw94kPR9.mjs';
|
|
3
|
+
import { A as AutumnPromise } from '../response-CWluLfIs.mjs';
|
|
4
4
|
import './types/clientEntTypes.mjs';
|
|
5
5
|
import './types/clientGenTypes.mjs';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../error-DHbclCVh.mjs';
|
|
9
|
-
import '../entTypes-
|
|
9
|
+
import '../entTypes-Ho-VocKG.mjs';
|
|
10
10
|
|
|
11
11
|
declare function listProductsMethod(this: AutumnClient): AutumnPromise<{
|
|
12
12
|
list: Product[];
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { A as AutumnClient } from '../ReactAutumnClient-
|
|
2
|
-
import { P as Product } from '../cusTypes-
|
|
3
|
-
import { A as AutumnPromise } from '../response-
|
|
1
|
+
import { A as AutumnClient } from '../ReactAutumnClient-k0qbHX8f.js';
|
|
2
|
+
import { P as Product } from '../cusTypes-Vw94kPR9.js';
|
|
3
|
+
import { A as AutumnPromise } from '../response-CQf3mDB8.js';
|
|
4
4
|
import './types/clientEntTypes.js';
|
|
5
5
|
import './types/clientGenTypes.js';
|
|
6
6
|
import 'react';
|
|
7
7
|
import 'zod';
|
|
8
8
|
import '../error-DHbclCVh.js';
|
|
9
|
-
import '../entTypes-
|
|
9
|
+
import '../entTypes-B7nuhHD7.js';
|
|
10
10
|
|
|
11
11
|
declare function listProductsMethod(this: AutumnClient): AutumnPromise<{
|
|
12
12
|
list: Product[];
|
|
@@ -26,7 +26,7 @@ __export(clientProdMethods_exports, {
|
|
|
26
26
|
});
|
|
27
27
|
module.exports = __toCommonJS(clientProdMethods_exports);
|
|
28
28
|
async function listProductsMethod() {
|
|
29
|
-
const res = await this.get(
|
|
29
|
+
const res = await this.get(`${this.prefix}/products`);
|
|
30
30
|
return res;
|
|
31
31
|
}
|
|
32
32
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as AutumnPromise } from '../response-
|
|
2
|
-
import { A as AutumnClient, C as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnPromise } from '../response-CWluLfIs.mjs';
|
|
2
|
+
import { A as AutumnClient, C as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../ReactAutumnClient-BuSRDMJN.mjs';
|
|
3
3
|
import { CreateReferralCodeParams, RedeemReferralCodeParams } from './types/clientReferralTypes.mjs';
|
|
4
|
-
import '../cusTypes-
|
|
4
|
+
import '../cusTypes-Vw94kPR9.mjs';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../error-DHbclCVh.mjs';
|
|
7
7
|
import './types/clientEntTypes.mjs';
|
|
8
8
|
import './types/clientGenTypes.mjs';
|
|
9
9
|
import 'react';
|
|
10
|
-
import '../entTypes-
|
|
10
|
+
import '../entTypes-Ho-VocKG.mjs';
|
|
11
11
|
|
|
12
12
|
declare function createCode(this: AutumnClient, params: CreateReferralCodeParams): AutumnPromise<CreateReferralCodeResult>;
|
|
13
13
|
declare function redeemCode(this: AutumnClient, params: RedeemReferralCodeParams): AutumnPromise<RedeemReferralCodeResult>;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import { A as AutumnPromise } from '../response-
|
|
2
|
-
import { A as AutumnClient, C as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../ReactAutumnClient-
|
|
1
|
+
import { A as AutumnPromise } from '../response-CQf3mDB8.js';
|
|
2
|
+
import { A as AutumnClient, C as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../ReactAutumnClient-k0qbHX8f.js';
|
|
3
3
|
import { CreateReferralCodeParams, RedeemReferralCodeParams } from './types/clientReferralTypes.js';
|
|
4
|
-
import '../cusTypes-
|
|
4
|
+
import '../cusTypes-Vw94kPR9.js';
|
|
5
5
|
import 'zod';
|
|
6
6
|
import '../error-DHbclCVh.js';
|
|
7
7
|
import './types/clientEntTypes.js';
|
|
8
8
|
import './types/clientGenTypes.js';
|
|
9
9
|
import 'react';
|
|
10
|
-
import '../entTypes-
|
|
10
|
+
import '../entTypes-B7nuhHD7.js';
|
|
11
11
|
|
|
12
12
|
declare function createCode(this: AutumnClient, params: CreateReferralCodeParams): AutumnPromise<CreateReferralCodeResult>;
|
|
13
13
|
declare function redeemCode(this: AutumnClient, params: RedeemReferralCodeParams): AutumnPromise<RedeemReferralCodeResult>;
|
|
@@ -51,12 +51,12 @@ var toSnakeCase = (obj, excludeKeys) => {
|
|
|
51
51
|
// src/libraries/react/client/clientReferralMethods.ts
|
|
52
52
|
async function createCode(params) {
|
|
53
53
|
let snakeParams = toSnakeCase(params);
|
|
54
|
-
const res = await this.post(
|
|
54
|
+
const res = await this.post(`${this.prefix}/referrals/code`, snakeParams);
|
|
55
55
|
return res;
|
|
56
56
|
}
|
|
57
57
|
async function redeemCode(params) {
|
|
58
58
|
let snakeParams = toSnakeCase(params);
|
|
59
|
-
const res = await this.post(
|
|
59
|
+
const res = await this.post(`${this.prefix}/referrals/redeem`, snakeParams);
|
|
60
60
|
return res;
|
|
61
61
|
}
|
|
62
62
|
// Annotate the CommonJS export names for ESM import in node:
|
|
@@ -5,11 +5,11 @@ declare const AttachFeatureOptionsSchema: z.ZodObject<{
|
|
|
5
5
|
featureId: z.ZodString;
|
|
6
6
|
quantity: z.ZodNumber;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
quantity: number;
|
|
9
8
|
featureId: string;
|
|
10
|
-
}, {
|
|
11
9
|
quantity: number;
|
|
10
|
+
}, {
|
|
12
11
|
featureId: string;
|
|
12
|
+
quantity: number;
|
|
13
13
|
}>;
|
|
14
14
|
type AttachFeatureOptions = z.infer<typeof AttachFeatureOptionsSchema>;
|
|
15
15
|
declare const AttachParamsSchema: z.ZodObject<{
|
|
@@ -19,11 +19,11 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
19
19
|
featureId: z.ZodString;
|
|
20
20
|
quantity: z.ZodNumber;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
quantity: number;
|
|
23
22
|
featureId: string;
|
|
24
|
-
}, {
|
|
25
23
|
quantity: number;
|
|
24
|
+
}, {
|
|
26
25
|
featureId: string;
|
|
26
|
+
quantity: number;
|
|
27
27
|
}>, "many">>;
|
|
28
28
|
productIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
29
|
freeTrial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -37,11 +37,10 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
37
37
|
checkoutSessionParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
options?: {
|
|
40
|
-
quantity: number;
|
|
41
40
|
featureId: string;
|
|
41
|
+
quantity: number;
|
|
42
42
|
}[] | undefined;
|
|
43
43
|
metadata?: Record<string, string> | undefined;
|
|
44
|
-
reward?: string | undefined;
|
|
45
44
|
productId?: string | undefined;
|
|
46
45
|
entityId?: string | undefined;
|
|
47
46
|
productIds?: string[] | undefined;
|
|
@@ -51,14 +50,14 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
51
50
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
52
51
|
entityData?: any;
|
|
53
52
|
openInNewTab?: boolean | undefined;
|
|
53
|
+
reward?: string | undefined;
|
|
54
54
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
options?: {
|
|
57
|
-
quantity: number;
|
|
58
57
|
featureId: string;
|
|
58
|
+
quantity: number;
|
|
59
59
|
}[] | undefined;
|
|
60
60
|
metadata?: Record<string, string> | undefined;
|
|
61
|
-
reward?: string | undefined;
|
|
62
61
|
productId?: string | undefined;
|
|
63
62
|
entityId?: string | undefined;
|
|
64
63
|
productIds?: string[] | undefined;
|
|
@@ -68,6 +67,7 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
68
67
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
69
68
|
entityData?: any;
|
|
70
69
|
openInNewTab?: boolean | undefined;
|
|
70
|
+
reward?: string | undefined;
|
|
71
71
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type AttachParams = z.infer<typeof AttachParamsSchema>;
|
|
@@ -95,18 +95,18 @@ declare const CheckParamsSchema: z.ZodObject<{
|
|
|
95
95
|
dialog: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodUnion<[z.ZodType<JSX.Element, z.ZodTypeDef, JSX.Element>, z.ZodType<React.ReactNode, z.ZodTypeDef, React.ReactNode>]>>>;
|
|
96
96
|
entityData: z.ZodOptional<z.ZodAny>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
featureId?: string | undefined;
|
|
99
98
|
productId?: string | undefined;
|
|
100
99
|
entityId?: string | undefined;
|
|
100
|
+
featureId?: string | undefined;
|
|
101
101
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
102
102
|
entityData?: any;
|
|
103
103
|
requiredBalance?: number | undefined;
|
|
104
104
|
sendEvent?: boolean | undefined;
|
|
105
105
|
withPreview?: boolean | undefined;
|
|
106
106
|
}, {
|
|
107
|
-
featureId?: string | undefined;
|
|
108
107
|
productId?: string | undefined;
|
|
109
108
|
entityId?: string | undefined;
|
|
109
|
+
featureId?: string | undefined;
|
|
110
110
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
111
111
|
entityData?: any;
|
|
112
112
|
requiredBalance?: number | undefined;
|
|
@@ -123,15 +123,15 @@ declare const TrackParamsSchema: z.ZodObject<{
|
|
|
123
123
|
entityData: z.ZodOptional<z.ZodAny>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
value?: number | undefined;
|
|
126
|
-
featureId?: string | undefined;
|
|
127
126
|
entityId?: string | undefined;
|
|
127
|
+
featureId?: string | undefined;
|
|
128
128
|
entityData?: any;
|
|
129
129
|
eventName?: string | undefined;
|
|
130
130
|
idempotencyKey?: string | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
value?: number | undefined;
|
|
133
|
-
featureId?: string | undefined;
|
|
134
133
|
entityId?: string | undefined;
|
|
134
|
+
featureId?: string | undefined;
|
|
135
135
|
entityData?: any;
|
|
136
136
|
eventName?: string | undefined;
|
|
137
137
|
idempotencyKey?: string | undefined;
|
|
@@ -5,11 +5,11 @@ declare const AttachFeatureOptionsSchema: z.ZodObject<{
|
|
|
5
5
|
featureId: z.ZodString;
|
|
6
6
|
quantity: z.ZodNumber;
|
|
7
7
|
}, "strip", z.ZodTypeAny, {
|
|
8
|
-
quantity: number;
|
|
9
8
|
featureId: string;
|
|
10
|
-
}, {
|
|
11
9
|
quantity: number;
|
|
10
|
+
}, {
|
|
12
11
|
featureId: string;
|
|
12
|
+
quantity: number;
|
|
13
13
|
}>;
|
|
14
14
|
type AttachFeatureOptions = z.infer<typeof AttachFeatureOptionsSchema>;
|
|
15
15
|
declare const AttachParamsSchema: z.ZodObject<{
|
|
@@ -19,11 +19,11 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
19
19
|
featureId: z.ZodString;
|
|
20
20
|
quantity: z.ZodNumber;
|
|
21
21
|
}, "strip", z.ZodTypeAny, {
|
|
22
|
-
quantity: number;
|
|
23
22
|
featureId: string;
|
|
24
|
-
}, {
|
|
25
23
|
quantity: number;
|
|
24
|
+
}, {
|
|
26
25
|
featureId: string;
|
|
26
|
+
quantity: number;
|
|
27
27
|
}>, "many">>;
|
|
28
28
|
productIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
29
29
|
freeTrial: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -37,11 +37,10 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
37
37
|
checkoutSessionParams: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
38
38
|
}, "strip", z.ZodTypeAny, {
|
|
39
39
|
options?: {
|
|
40
|
-
quantity: number;
|
|
41
40
|
featureId: string;
|
|
41
|
+
quantity: number;
|
|
42
42
|
}[] | undefined;
|
|
43
43
|
metadata?: Record<string, string> | undefined;
|
|
44
|
-
reward?: string | undefined;
|
|
45
44
|
productId?: string | undefined;
|
|
46
45
|
entityId?: string | undefined;
|
|
47
46
|
productIds?: string[] | undefined;
|
|
@@ -51,14 +50,14 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
51
50
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
52
51
|
entityData?: any;
|
|
53
52
|
openInNewTab?: boolean | undefined;
|
|
53
|
+
reward?: string | undefined;
|
|
54
54
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
55
55
|
}, {
|
|
56
56
|
options?: {
|
|
57
|
-
quantity: number;
|
|
58
57
|
featureId: string;
|
|
58
|
+
quantity: number;
|
|
59
59
|
}[] | undefined;
|
|
60
60
|
metadata?: Record<string, string> | undefined;
|
|
61
|
-
reward?: string | undefined;
|
|
62
61
|
productId?: string | undefined;
|
|
63
62
|
entityId?: string | undefined;
|
|
64
63
|
productIds?: string[] | undefined;
|
|
@@ -68,6 +67,7 @@ declare const AttachParamsSchema: z.ZodObject<{
|
|
|
68
67
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
69
68
|
entityData?: any;
|
|
70
69
|
openInNewTab?: boolean | undefined;
|
|
70
|
+
reward?: string | undefined;
|
|
71
71
|
checkoutSessionParams?: Record<string, any> | undefined;
|
|
72
72
|
}>;
|
|
73
73
|
type AttachParams = z.infer<typeof AttachParamsSchema>;
|
|
@@ -95,18 +95,18 @@ declare const CheckParamsSchema: z.ZodObject<{
|
|
|
95
95
|
dialog: z.ZodOptional<z.ZodFunction<z.ZodTuple<[z.ZodAny], z.ZodUnknown>, z.ZodUnion<[z.ZodType<JSX.Element, z.ZodTypeDef, JSX.Element>, z.ZodType<React.ReactNode, z.ZodTypeDef, React.ReactNode>]>>>;
|
|
96
96
|
entityData: z.ZodOptional<z.ZodAny>;
|
|
97
97
|
}, "strip", z.ZodTypeAny, {
|
|
98
|
-
featureId?: string | undefined;
|
|
99
98
|
productId?: string | undefined;
|
|
100
99
|
entityId?: string | undefined;
|
|
100
|
+
featureId?: string | undefined;
|
|
101
101
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
102
102
|
entityData?: any;
|
|
103
103
|
requiredBalance?: number | undefined;
|
|
104
104
|
sendEvent?: boolean | undefined;
|
|
105
105
|
withPreview?: boolean | undefined;
|
|
106
106
|
}, {
|
|
107
|
-
featureId?: string | undefined;
|
|
108
107
|
productId?: string | undefined;
|
|
109
108
|
entityId?: string | undefined;
|
|
109
|
+
featureId?: string | undefined;
|
|
110
110
|
dialog?: ((args_0: any, ...args: unknown[]) => JSX.Element | React.ReactNode) | undefined;
|
|
111
111
|
entityData?: any;
|
|
112
112
|
requiredBalance?: number | undefined;
|
|
@@ -123,15 +123,15 @@ declare const TrackParamsSchema: z.ZodObject<{
|
|
|
123
123
|
entityData: z.ZodOptional<z.ZodAny>;
|
|
124
124
|
}, "strip", z.ZodTypeAny, {
|
|
125
125
|
value?: number | undefined;
|
|
126
|
-
featureId?: string | undefined;
|
|
127
126
|
entityId?: string | undefined;
|
|
127
|
+
featureId?: string | undefined;
|
|
128
128
|
entityData?: any;
|
|
129
129
|
eventName?: string | undefined;
|
|
130
130
|
idempotencyKey?: string | undefined;
|
|
131
131
|
}, {
|
|
132
132
|
value?: number | undefined;
|
|
133
|
-
featureId?: string | undefined;
|
|
134
133
|
entityId?: string | undefined;
|
|
134
|
+
featureId?: string | undefined;
|
|
135
135
|
entityData?: any;
|
|
136
136
|
eventName?: string | undefined;
|
|
137
137
|
idempotencyKey?: string | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { g as CheckProductPreview } from '../../cusTypes-Vw94kPR9.mjs';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
interface AttachDialogProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
2
|
import React__default from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { g as CheckProductPreview } from '../../cusTypes-Vw94kPR9.js';
|
|
4
4
|
import 'zod';
|
|
5
5
|
|
|
6
6
|
interface AttachDialogProps {
|