autumn-js 0.1.27 → 0.1.29
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 +30 -28
- package/dist/libraries/backend/better-auth.d.ts +30 -28
- package/dist/libraries/backend/better-auth.js +2 -1
- package/dist/libraries/backend/better-auth.mjs +7 -7
- package/dist/libraries/backend/{chunk-5NMOQ6PY.mjs → chunk-3XTIAF27.mjs} +1 -1
- package/dist/libraries/backend/{chunk-5THMQKAB.mjs → chunk-66ZEIO2W.mjs} +1 -1
- package/dist/libraries/backend/{chunk-B5U4TWFH.mjs → chunk-7HOB6NAU.mjs} +1 -1
- package/dist/libraries/backend/{chunk-VBIQ4TQW.mjs → chunk-CVD6CEVQ.mjs} +2 -1
- package/dist/libraries/backend/{chunk-EGUAG7WW.mjs → chunk-FELIWCJB.mjs} +1 -1
- package/dist/libraries/backend/{chunk-XVYYZCVZ.mjs → chunk-NTBLGION.mjs} +1 -1
- package/dist/libraries/backend/{chunk-N6SODQP3.mjs → chunk-OF427U7W.mjs} +8 -8
- package/dist/libraries/backend/convex.js +2 -1
- package/dist/libraries/backend/convex.mjs +7 -7
- package/dist/libraries/backend/elysia.js +2 -1
- package/dist/libraries/backend/elysia.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 +2 -1
- package/dist/libraries/backend/express.mjs +7 -7
- package/dist/libraries/backend/fastify.js +2 -1
- package/dist/libraries/backend/fastify.mjs +7 -7
- package/dist/libraries/backend/hono.js +2 -1
- package/dist/libraries/backend/hono.mjs +7 -7
- package/dist/libraries/backend/index.d.mts +1 -1
- package/dist/libraries/backend/index.d.ts +1 -1
- package/dist/libraries/backend/index.js +2 -1
- package/dist/libraries/backend/index.mjs +7 -7
- package/dist/libraries/backend/next.js +2 -1
- package/dist/libraries/backend/next.mjs +7 -7
- package/dist/libraries/backend/react-router.js +2 -1
- package/dist/libraries/backend/react-router.mjs +7 -7
- package/dist/libraries/backend/{referralTypes-Bo9Jj3Ew.d.mts → referralTypes-ByxmnQC7.d.mts} +1 -0
- package/dist/libraries/backend/{referralTypes-B0SAWlJ0.d.ts → referralTypes-CEksOH8G.d.ts} +1 -0
- package/dist/libraries/backend/remix_dep.js +2 -1
- package/dist/libraries/backend/remix_dep.mjs +7 -7
- package/dist/libraries/backend/routes/backendRouter.js +2 -1
- package/dist/libraries/backend/routes/backendRouter.mjs +7 -7
- package/dist/libraries/backend/routes/entityRoutes.js +2 -1
- package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/genRoutes.js +2 -1
- package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/productRoutes.js +2 -1
- package/dist/libraries/backend/routes/productRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/referralRoutes.js +2 -1
- package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
- package/dist/libraries/backend/supabase.js +2 -1
- package/dist/libraries/backend/supabase.mjs +7 -7
- package/dist/libraries/backend/tanstack.js +2 -1
- package/dist/libraries/backend/tanstack.mjs +7 -7
- package/dist/libraries/backend/utils/backendRes.js +2 -1
- 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 +2 -1
- package/dist/libraries/backend/utils/withAuth.mjs +2 -2
- package/dist/libraries/react/AutumnContext.d.mts +6 -6
- package/dist/libraries/react/AutumnContext.d.ts +6 -6
- package/dist/libraries/react/AutumnContext.js +3 -2
- 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.js +3 -2
- package/dist/libraries/react/BaseAutumnProvider.mjs +9 -9
- package/dist/libraries/react/{ReactAutumnClient-6VcY-_5L.d.mts → ReactAutumnClient-REGLnA2_.d.mts} +11 -5
- package/dist/libraries/react/{ReactAutumnClient-yOor_S4y.d.ts → ReactAutumnClient-c5E5lFNY.d.ts} +11 -5
- package/dist/libraries/react/ReactAutumnProvider.d.mts +2 -2
- package/dist/libraries/react/ReactAutumnProvider.d.ts +2 -2
- package/dist/libraries/react/ReactAutumnProvider.js +3 -2
- package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
- package/dist/libraries/react/{attachTypes-gI6T0O95.d.mts → attachTypes-DJIr5ldB.d.mts} +1 -1
- package/dist/libraries/react/{attachTypes-DoCshKK6.d.ts → attachTypes-DVF4f7Hw.d.ts} +1 -1
- package/dist/libraries/react/{chunk-D3PGSU2Q.mjs → chunk-2GEDBGON.mjs} +12 -12
- package/dist/libraries/react/{chunk-MLPVSH6P.mjs → chunk-2LZIBRD4.mjs} +4 -4
- package/dist/libraries/react/{chunk-ATWI524M.mjs → chunk-47KEC6LH.mjs} +7 -7
- package/dist/libraries/react/{chunk-XR2XUVVC.mjs → chunk-4KLTPVNG.mjs} +6 -6
- package/dist/libraries/react/{chunk-GITYXFGP.mjs → chunk-4QVAJKUF.mjs} +5 -5
- package/dist/libraries/react/{chunk-FBZEKRWF.mjs → chunk-5H5GRS2A.mjs} +1 -1
- package/dist/libraries/react/{chunk-PDLQNFRW.mjs → chunk-5TLRC3ED.mjs} +18 -18
- package/dist/libraries/react/{chunk-EZEKU7LQ.mjs → chunk-CQM7GZ7W.mjs} +1 -1
- package/dist/libraries/react/{chunk-EPXMQ34Y.mjs → chunk-IHM53O5V.mjs} +3 -3
- package/dist/libraries/react/{chunk-YOQCQMDE.mjs → chunk-JNMZHVHP.mjs} +2 -2
- package/dist/libraries/react/{chunk-MYLB2EJS.mjs → chunk-LC75KITX.mjs} +1 -1
- package/dist/libraries/react/{chunk-MRYUB6IP.mjs → chunk-NRR6GSHG.mjs} +1 -1
- package/dist/libraries/react/{chunk-NEKP4JBG.mjs → chunk-OZKZTANZ.mjs} +2 -2
- package/dist/libraries/react/{chunk-YURNJN6P.mjs → chunk-QEWVBDWJ.mjs} +1 -1
- package/dist/libraries/react/{chunk-E7V7O2AJ.mjs → chunk-QRCWNK2T.mjs} +2 -1
- package/dist/libraries/react/{chunk-QFAFH3PT.mjs → chunk-TL3Q72GK.mjs} +1 -1
- package/dist/libraries/react/{chunk-4GGU5OXA.mjs → chunk-U6K76N56.mjs} +2 -2
- package/dist/libraries/react/{chunk-RNXP2PPI.mjs → chunk-UNCW2GSR.mjs} +4 -4
- package/dist/libraries/react/{chunk-653J3E6C.mjs → chunk-URJXELCF.mjs} +3 -3
- package/dist/libraries/react/{chunk-UV4K5JOT.mjs → chunk-XB7NBI37.mjs} +2 -2
- package/dist/libraries/react/{chunk-AXNPTV5K.mjs → chunk-XIBQRZXG.mjs} +1 -1
- package/dist/libraries/react/{chunk-BCLKTVUX.mjs → chunk-XNYDR6KC.mjs} +1 -1
- package/dist/libraries/react/{chunk-OTW2FOMT.mjs → chunk-Y4WZGYNS.mjs} +450 -452
- package/dist/libraries/react/{chunk-GG3SJUJ5.mjs → chunk-YCHPTRJA.mjs} +11 -11
- package/dist/libraries/react/{chunk-W64XNVSU.mjs → chunk-YKVHS3GV.mjs} +2 -2
- package/dist/libraries/react/{chunk-ZLWDK4OT.mjs → chunk-YSPIIK66.mjs} +1 -1
- package/dist/libraries/react/client/ConvexAutumnClient.d.mts +6 -6
- package/dist/libraries/react/client/ConvexAutumnClient.d.ts +6 -6
- package/dist/libraries/react/client/ConvexAutumnClient.js +2 -1
- package/dist/libraries/react/client/ConvexAutumnClient.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.js +3 -2
- 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/clientGenMethods.js +1 -1
- package/dist/libraries/react/client/clientGenMethods.mjs +1 -1
- 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/clientGenTypes.d.mts +1 -0
- package/dist/libraries/react/client/types/clientGenTypes.d.ts +1 -0
- package/dist/libraries/react/client/types/clientGenTypes.js +4 -2
- package/dist/libraries/react/client/types/clientGenTypes.mjs +3 -2
- 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.js +24 -23
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +29 -29
- 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.js +23 -22
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +29 -29
- 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.js +24 -23
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +29 -29
- package/dist/libraries/react/components/ui/accordion.js +8 -8
- package/dist/libraries/react/components/ui/accordion.mjs +3 -3
- package/dist/libraries/react/components/ui/dialog.js +9 -9
- package/dist/libraries/react/components/ui/dialog.mjs +4 -4
- package/dist/libraries/react/components/ui/popover.js +12 -12
- package/dist/libraries/react/components/ui/popover.mjs +5 -5
- package/dist/libraries/react/components/ui/switch.js +4 -4
- package/dist/libraries/react/components/ui/switch.mjs +3 -3
- package/dist/libraries/react/{cusTypes-DckkwpWg.d.ts → cusTypes-CEb_KwPo.d.ts} +1 -1
- package/dist/libraries/react/{cusTypes-UwHT30-L.d.mts → cusTypes-DynqPCZH.d.mts} +1 -1
- package/dist/libraries/react/{entTypes-BWsQfaNZ.d.ts → entTypes--Y-4T20Y.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-DcRz1vjc.d.mts → entTypes-DjasDDYh.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-C_ilxndU.d.mts → genTypes-DdYlVEah.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-DjcQWIOM.d.ts → genTypes-aPPwPimh.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/handleCheck.js +2 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.mjs +2 -2
- 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/helpers/useAutumnBase.js +2 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.mjs +3 -3
- 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.js +3 -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.js +3 -2
- package/dist/libraries/react/hooks/useCustomer.mjs +9 -9
- 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.js +3 -2
- package/dist/libraries/react/hooks/useCustomerBase.mjs +8 -8
- 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.js +3 -2
- package/dist/libraries/react/hooks/useEntity.mjs +9 -9
- 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.js +3 -2
- package/dist/libraries/react/hooks/useEntityBase.mjs +8 -8
- 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.js +3 -2
- 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.js +3 -2
- package/dist/libraries/react/hooks/usePricingTable.mjs +6 -6
- 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/usePricingTableBase.js +2 -1
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +2 -2
- 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 +6 -0
- package/dist/libraries/react/index.d.ts +6 -0
- package/dist/libraries/react/index.js +24 -23
- package/dist/libraries/react/index.mjs +24 -23
- package/dist/libraries/react/{prodTypes-B8NdKyKo.d.mts → prodTypes-C8xRoBP7.d.mts} +1 -1
- package/dist/libraries/react/{prodTypes-B8NdKyKo.d.ts → prodTypes-C8xRoBP7.d.ts} +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +3 -2
- package/dist/next/client/NextAutumnClient.d.ts +3 -2
- package/dist/next/client/{clientAttachTypes-BgiG9o_O.d.mts → clientAttachTypes-Ba_miUE6.d.mts} +1 -0
- package/dist/next/client/{clientAttachTypes-VNZGVMx6.d.ts → clientAttachTypes-wbe7-cdx.d.ts} +1 -0
- package/dist/next/client/{clientEntTypes-DmhBcFyI.d.ts → clientEntTypes-BhQWlwSW.d.ts} +5 -0
- package/dist/next/client/{clientEntTypes-BNVsUSBp.d.mts → clientEntTypes-CnQkrPEG.d.mts} +5 -0
- 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 +2 -2
- package/dist/next/client/hooks/useCustomer.d.ts +2 -2
- package/dist/next/client/hooks/useEntity.d.mts +1 -1
- package/dist/next/client/hooks/useEntity.d.ts +1 -1
- package/dist/next/server/cusActions.d.mts +1 -0
- package/dist/next/server/cusActions.d.ts +1 -0
- package/dist/next/server/genActions.d.mts +1 -0
- package/dist/next/server/genActions.d.ts +1 -0
- package/dist/sdk/index.d.mts +6 -0
- package/dist/sdk/index.d.ts +6 -0
- package/dist/sdk/index.js +2 -1
- package/dist/sdk/index.mjs +2 -1
- package/dist/utils/encryptUtils.js +2 -1
- package/dist/utils/encryptUtils.mjs +2 -1
- package/package.json +1 -1
|
@@ -894,7 +894,8 @@ var TrackParamsSchema = z5.object({
|
|
|
894
894
|
entity_id: z5.string().optional(),
|
|
895
895
|
customer_data: z5.any().optional(),
|
|
896
896
|
idempotency_key: z5.string().optional(),
|
|
897
|
-
entity_data: z5.any().optional()
|
|
897
|
+
entity_data: z5.any().optional(),
|
|
898
|
+
properties: z5.record(z5.string(), z5.any()).optional()
|
|
898
899
|
});
|
|
899
900
|
var TrackResultSchema = z5.object({
|
|
900
901
|
id: z5.string(),
|
|
@@ -1111,7 +1112,7 @@ async function checkMethod(params) {
|
|
|
1111
1112
|
return res;
|
|
1112
1113
|
}
|
|
1113
1114
|
async function trackMethod(params) {
|
|
1114
|
-
let snakeParams = toSnakeCase(params);
|
|
1115
|
+
let snakeParams = toSnakeCase(params, ["properties"]);
|
|
1115
1116
|
const res = await this.post(`${this.prefix}/track`, snakeParams);
|
|
1116
1117
|
return res;
|
|
1117
1118
|
}
|
|
@@ -2553,7 +2554,7 @@ var usePaywall = ({
|
|
|
2553
2554
|
};
|
|
2554
2555
|
};
|
|
2555
2556
|
|
|
2556
|
-
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.1.
|
|
2557
|
+
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@1_rikqbnzk4rayqkcryhydcdufbu/node_modules/@radix-ui/react-accordion/dist/index.mjs
|
|
2557
2558
|
import React14 from "react";
|
|
2558
2559
|
|
|
2559
2560
|
// ../node_modules/.pnpm/@radix-ui+react-context@1.1.2_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-context/dist/index.mjs
|
|
@@ -2633,7 +2634,7 @@ function composeContextScopes(...scopes) {
|
|
|
2633
2634
|
return createScope;
|
|
2634
2635
|
}
|
|
2635
2636
|
|
|
2636
|
-
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.1.
|
|
2637
|
+
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@1_fj4gprouy7cllhpzda3tfrvhzi/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
2637
2638
|
import React6 from "react";
|
|
2638
2639
|
|
|
2639
2640
|
// ../node_modules/.pnpm/@radix-ui+react-compose-refs@1.1.2_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-compose-refs/dist/index.mjs
|
|
@@ -2760,7 +2761,7 @@ function getElementRef(element) {
|
|
|
2760
2761
|
return element.props.ref || element.ref;
|
|
2761
2762
|
}
|
|
2762
2763
|
|
|
2763
|
-
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.1.
|
|
2764
|
+
// ../node_modules/.pnpm/@radix-ui+react-collection@1.1.7_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@1_fj4gprouy7cllhpzda3tfrvhzi/node_modules/@radix-ui/react-collection/dist/index.mjs
|
|
2764
2765
|
import { jsx as jsx5 } from "react/jsx-runtime";
|
|
2765
2766
|
import React22 from "react";
|
|
2766
2767
|
import { jsx as jsx22 } from "react/jsx-runtime";
|
|
@@ -2913,7 +2914,7 @@ function isFunction(value) {
|
|
|
2913
2914
|
}
|
|
2914
2915
|
var SYNC_STATE = Symbol("RADIX:SYNC_STATE");
|
|
2915
2916
|
|
|
2916
|
-
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.
|
|
2917
|
+
// ../node_modules/.pnpm/@radix-ui+react-primitive@2.1.3_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19_xx37pthzbhildnk4zsozp4vigu/node_modules/@radix-ui/react-primitive/dist/index.mjs
|
|
2917
2918
|
import * as React9 from "react";
|
|
2918
2919
|
import * as ReactDOM from "react-dom";
|
|
2919
2920
|
import { jsx as jsx6 } from "react/jsx-runtime";
|
|
@@ -2953,10 +2954,10 @@ function dispatchDiscreteCustomEvent(target, event) {
|
|
|
2953
2954
|
if (target) ReactDOM.flushSync(() => target.dispatchEvent(event));
|
|
2954
2955
|
}
|
|
2955
2956
|
|
|
2956
|
-
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.1.
|
|
2957
|
+
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react_62ff4xakccgppayw3kaahenns4/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
2957
2958
|
import * as React12 from "react";
|
|
2958
2959
|
|
|
2959
|
-
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.
|
|
2960
|
+
// ../node_modules/.pnpm/@radix-ui+react-presence@1.1.4_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19._m54kvncv6il6p2flbkd4qzvije/node_modules/@radix-ui/react-presence/dist/index.mjs
|
|
2960
2961
|
import * as React24 from "react";
|
|
2961
2962
|
import * as React10 from "react";
|
|
2962
2963
|
function useStateMachine(initialState, machine) {
|
|
@@ -3094,7 +3095,7 @@ function useId(deterministicId) {
|
|
|
3094
3095
|
return deterministicId || (id ? `radix-${id}` : "");
|
|
3095
3096
|
}
|
|
3096
3097
|
|
|
3097
|
-
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.1.
|
|
3098
|
+
// ../node_modules/.pnpm/@radix-ui+react-collapsible@1.1.11_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react_62ff4xakccgppayw3kaahenns4/node_modules/@radix-ui/react-collapsible/dist/index.mjs
|
|
3098
3099
|
import { jsx as jsx7 } from "react/jsx-runtime";
|
|
3099
3100
|
var COLLAPSIBLE_NAME = "Collapsible";
|
|
3100
3101
|
var [createCollapsibleContext, createCollapsibleScope] = createContextScope(COLLAPSIBLE_NAME);
|
|
@@ -3238,7 +3239,7 @@ function useDirection(localDir) {
|
|
|
3238
3239
|
return localDir || globalDir || "ltr";
|
|
3239
3240
|
}
|
|
3240
3241
|
|
|
3241
|
-
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.1.
|
|
3242
|
+
// ../node_modules/.pnpm/@radix-ui+react-accordion@1.2.11_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@1_rikqbnzk4rayqkcryhydcdufbu/node_modules/@radix-ui/react-accordion/dist/index.mjs
|
|
3242
3243
|
import { jsx as jsx9 } from "react/jsx-runtime";
|
|
3243
3244
|
var ACCORDION_NAME = "Accordion";
|
|
3244
3245
|
var ACCORDION_KEYS = ["Home", "End", "ArrowDown", "ArrowUp", "ArrowLeft", "ArrowRight"];
|
|
@@ -6150,10 +6151,10 @@ Button.displayName = "Button";
|
|
|
6150
6151
|
// src/libraries/react/components/ui/dialog.tsx
|
|
6151
6152
|
import * as React33 from "react";
|
|
6152
6153
|
|
|
6153
|
-
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.
|
|
6154
|
+
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1_7xipnhxsrwjfttlgycirhttgoi/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
6154
6155
|
import * as React32 from "react";
|
|
6155
6156
|
|
|
6156
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.
|
|
6157
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.9_@types+react@19.1.10__@types_recfemx4gbocxquotpq6g6r6si/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
6157
6158
|
import * as React18 from "react";
|
|
6158
6159
|
|
|
6159
6160
|
// ../node_modules/.pnpm/@radix-ui+react-use-callback-ref@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-use-callback-ref/dist/index.mjs
|
|
@@ -6181,7 +6182,7 @@ function useEscapeKeydown(onEscapeKeyDownProp, ownerDocument = globalThis?.docum
|
|
|
6181
6182
|
}, [onEscapeKeyDown, ownerDocument]);
|
|
6182
6183
|
}
|
|
6183
6184
|
|
|
6184
|
-
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.
|
|
6185
|
+
// ../node_modules/.pnpm/@radix-ui+react-dismissable-layer@1.1.10_@types+react-dom@19.1.9_@types+react@19.1.10__@types_recfemx4gbocxquotpq6g6r6si/node_modules/@radix-ui/react-dismissable-layer/dist/index.mjs
|
|
6185
6186
|
import { jsx as jsx11 } from "react/jsx-runtime";
|
|
6186
6187
|
var DISMISSABLE_LAYER_NAME = "DismissableLayer";
|
|
6187
6188
|
var CONTEXT_UPDATE = "dismissableLayer.update";
|
|
@@ -6386,7 +6387,7 @@ function handleAndDispatchCustomEvent(name, handler, detail, { discrete }) {
|
|
|
6386
6387
|
}
|
|
6387
6388
|
}
|
|
6388
6389
|
|
|
6389
|
-
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.
|
|
6390
|
+
// ../node_modules/.pnpm/@radix-ui+react-focus-scope@1.1.7_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@_a6spdpnjpgxlsfsxwjh6tjh7gm/node_modules/@radix-ui/react-focus-scope/dist/index.mjs
|
|
6390
6391
|
import * as React19 from "react";
|
|
6391
6392
|
import { jsx as jsx12 } from "react/jsx-runtime";
|
|
6392
6393
|
var AUTOFOCUS_ON_MOUNT = "focusScope.autoFocusOnMount";
|
|
@@ -6590,7 +6591,7 @@ function removeLinks(items) {
|
|
|
6590
6591
|
return items.filter((item) => item.tagName !== "A");
|
|
6591
6592
|
}
|
|
6592
6593
|
|
|
6593
|
-
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.
|
|
6594
|
+
// ../node_modules/.pnpm/@radix-ui+react-portal@1.1.9_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1._o5qf2sukaqjy2xztyed32jp6ia/node_modules/@radix-ui/react-portal/dist/index.mjs
|
|
6594
6595
|
import * as React20 from "react";
|
|
6595
6596
|
import ReactDOM2 from "react-dom";
|
|
6596
6597
|
import { jsx as jsx13 } from "react/jsx-runtime";
|
|
@@ -7467,7 +7468,7 @@ var hideOthers = function(originalTarget, parentNode, markerName) {
|
|
|
7467
7468
|
return applyAttributeToOthers(targets, activeParentNode, markerName, "aria-hidden");
|
|
7468
7469
|
};
|
|
7469
7470
|
|
|
7470
|
-
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.
|
|
7471
|
+
// ../node_modules/.pnpm/@radix-ui+react-dialog@1.1.14_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1_7xipnhxsrwjfttlgycirhttgoi/node_modules/@radix-ui/react-dialog/dist/index.mjs
|
|
7471
7472
|
import { Fragment as Fragment5, jsx as jsx14, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
7472
7473
|
var DIALOG_NAME = "Dialog";
|
|
7473
7474
|
var [createDialogContext, createDialogScope] = createContextScope(DIALOG_NAME);
|
|
@@ -8163,10 +8164,10 @@ AccordionContent2.displayName = Content2.displayName;
|
|
|
8163
8164
|
// src/libraries/react/components/ui/popover.tsx
|
|
8164
8165
|
import * as React40 from "react";
|
|
8165
8166
|
|
|
8166
|
-
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.1.
|
|
8167
|
+
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19._2d5qzp46jobjymz4ef7wsko3em/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
8167
8168
|
import * as React39 from "react";
|
|
8168
8169
|
|
|
8169
|
-
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.1.
|
|
8170
|
+
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1._rx2bw5lpqtxi7ji4o3uo2rsuda/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
8170
8171
|
import * as React38 from "react";
|
|
8171
8172
|
|
|
8172
8173
|
// ../node_modules/.pnpm/@floating-ui+utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
|
|
@@ -10051,7 +10052,7 @@ var arrow3 = (options, deps) => ({
|
|
|
10051
10052
|
options: [options, deps]
|
|
10052
10053
|
});
|
|
10053
10054
|
|
|
10054
|
-
// ../node_modules/.pnpm/@radix-ui+react-arrow@1.1.7_@types+react-dom@19.1.
|
|
10055
|
+
// ../node_modules/.pnpm/@radix-ui+react-arrow@1.1.7_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1.1_7w5nl47bqckuaclutkvv5v7iie/node_modules/@radix-ui/react-arrow/dist/index.mjs
|
|
10055
10056
|
import * as React36 from "react";
|
|
10056
10057
|
import { jsx as jsx18 } from "react/jsx-runtime";
|
|
10057
10058
|
var NAME = "Arrow";
|
|
@@ -10110,7 +10111,7 @@ function useSize(element) {
|
|
|
10110
10111
|
return size4;
|
|
10111
10112
|
}
|
|
10112
10113
|
|
|
10113
|
-
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.1.
|
|
10114
|
+
// ../node_modules/.pnpm/@radix-ui+react-popper@1.2.7_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1._rx2bw5lpqtxi7ji4o3uo2rsuda/node_modules/@radix-ui/react-popper/dist/index.mjs
|
|
10114
10115
|
import { jsx as jsx19 } from "react/jsx-runtime";
|
|
10115
10116
|
var POPPER_NAME = "Popper";
|
|
10116
10117
|
var [createPopperContext, createPopperScope] = createContextScope(POPPER_NAME);
|
|
@@ -10377,7 +10378,7 @@ var Anchor = PopperAnchor;
|
|
|
10377
10378
|
var Content4 = PopperContent;
|
|
10378
10379
|
var Arrow2 = PopperArrow;
|
|
10379
10380
|
|
|
10380
|
-
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.1.
|
|
10381
|
+
// ../node_modules/.pnpm/@radix-ui+react-popover@1.1.14_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19._2d5qzp46jobjymz4ef7wsko3em/node_modules/@radix-ui/react-popover/dist/index.mjs
|
|
10381
10382
|
import { jsx as jsx20 } from "react/jsx-runtime";
|
|
10382
10383
|
var POPOVER_NAME = "Popover";
|
|
10383
10384
|
var [createPopoverContext, createPopoverScope] = createContextScope(POPOVER_NAME, [
|
|
@@ -11087,7 +11088,7 @@ import { createContext as createContext5, useContext as useContext6, useState as
|
|
|
11087
11088
|
// src/libraries/react/components/ui/switch.tsx
|
|
11088
11089
|
import * as React45 from "react";
|
|
11089
11090
|
|
|
11090
|
-
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.
|
|
11091
|
+
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1._mh2w7rehnd5adfujfuln6l4w5m/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
11091
11092
|
import * as React44 from "react";
|
|
11092
11093
|
|
|
11093
11094
|
// ../node_modules/.pnpm/@radix-ui+react-use-previous@1.1.1_@types+react@19.1.10_react@19.1.1/node_modules/@radix-ui/react-use-previous/dist/index.mjs
|
|
@@ -11103,7 +11104,7 @@ function usePrevious(value) {
|
|
|
11103
11104
|
}, [value]);
|
|
11104
11105
|
}
|
|
11105
11106
|
|
|
11106
|
-
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.
|
|
11107
|
+
// ../node_modules/.pnpm/@radix-ui+react-switch@1.2.5_@types+react-dom@19.1.9_@types+react@19.1.10__@types+react@19.1._mh2w7rehnd5adfujfuln6l4w5m/node_modules/@radix-ui/react-switch/dist/index.mjs
|
|
11107
11108
|
import { jsx as jsx26, jsxs as jsxs8 } from "react/jsx-runtime";
|
|
11108
11109
|
var SWITCH_NAME = "Switch";
|
|
11109
11110
|
var [createSwitchContext, createSwitchScope] = createContextScope(SWITCH_NAME);
|
|
@@ -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 CheckFeatureResult as a, type CheckProductResult as b, type ProductItem 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 CheckFeatureResult as a, type CheckProductResult as b, type ProductItem as c, ProductItemInterval as d, type ProductScenario as e };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AutumnPromise, R as Result, g as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, Q as QueryResult, A as AttachParams, C as CancelParams, c as CancelResult, f as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-
|
|
2
|
-
import { C as CheckoutResult, a as CreateEntityParams, G as GetEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AttachResult } from './clientEntTypes-
|
|
1
|
+
import { a as AutumnPromise, R as Result, g as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, Q as QueryResult, A as AttachParams, C as CancelParams, c as CancelResult, f as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-Ba_miUE6.mjs';
|
|
2
|
+
import { C as CheckoutResult, a as CreateEntityParams, G as GetEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AttachResult } from './clientEntTypes-CnQkrPEG.mjs';
|
|
3
3
|
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-Cb9Peq72.mjs';
|
|
4
4
|
import { E as Entity, D as DeleteEntityResult } from './entTypes-R0fGEyG8.mjs';
|
|
5
5
|
import { A as AutumnError } from './error-DHbclCVh.mjs';
|
|
@@ -181,6 +181,7 @@ declare class AutumnClient implements IAutumnClient {
|
|
|
181
181
|
withPreview?: boolean | undefined;
|
|
182
182
|
dialog?: any;
|
|
183
183
|
entityData?: any;
|
|
184
|
+
properties?: Record<string, any> | undefined;
|
|
184
185
|
}) => AutumnPromise<CheckResult>;
|
|
185
186
|
track: (params: {
|
|
186
187
|
featureId?: string | undefined;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { a as AutumnPromise, R as Result, g as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, Q as QueryResult, A as AttachParams, C as CancelParams, c as CancelResult, f as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-
|
|
2
|
-
import { C as CheckoutResult, a as CreateEntityParams, G as GetEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AttachResult } from './clientEntTypes-
|
|
1
|
+
import { a as AutumnPromise, R as Result, g as CheckResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, Q as QueryResult, A as AttachParams, C as CancelParams, c as CancelResult, f as CheckParams, T as TrackParams, b as TrackResult } from './clientAttachTypes-wbe7-cdx.js';
|
|
2
|
+
import { C as CheckoutResult, a as CreateEntityParams, G as GetEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult, A as AttachResult } from './clientEntTypes-BhQWlwSW.js';
|
|
3
3
|
import { C as CustomerData, e as CreateCustomerParams, a as Customer, B as BillingPortalResult } from './cusTypes-5W4JVk2C.js';
|
|
4
4
|
import { E as Entity, D as DeleteEntityResult } from './entTypes-B2gnYOgY.js';
|
|
5
5
|
import { A as AutumnError } from './error-DHbclCVh.js';
|
|
@@ -181,6 +181,7 @@ declare class AutumnClient implements IAutumnClient {
|
|
|
181
181
|
withPreview?: boolean | undefined;
|
|
182
182
|
dialog?: any;
|
|
183
183
|
entityData?: any;
|
|
184
|
+
properties?: Record<string, any> | undefined;
|
|
184
185
|
}) => AutumnPromise<CheckResult>;
|
|
185
186
|
track: (params: {
|
|
186
187
|
featureId?: string | undefined;
|
package/dist/next/client/{clientAttachTypes-BgiG9o_O.d.mts → clientAttachTypes-Ba_miUE6.d.mts}
RENAMED
|
@@ -57,6 +57,7 @@ declare const CheckParamsSchema: z.ZodObject<{
|
|
|
57
57
|
withPreview: z.ZodOptional<z.ZodBoolean>;
|
|
58
58
|
dialog: z.ZodOptional<z.ZodAny>;
|
|
59
59
|
entityData: z.ZodOptional<z.ZodAny>;
|
|
60
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
60
61
|
}, z.core.$strip>;
|
|
61
62
|
type CheckParams = z.infer<typeof CheckParamsSchema>;
|
|
62
63
|
declare const TrackParamsSchema: z.ZodObject<{
|
package/dist/next/client/{clientAttachTypes-VNZGVMx6.d.ts → clientAttachTypes-wbe7-cdx.d.ts}
RENAMED
|
@@ -57,6 +57,7 @@ declare const CheckParamsSchema: z.ZodObject<{
|
|
|
57
57
|
withPreview: z.ZodOptional<z.ZodBoolean>;
|
|
58
58
|
dialog: z.ZodOptional<z.ZodAny>;
|
|
59
59
|
entityData: z.ZodOptional<z.ZodAny>;
|
|
60
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
60
61
|
}, z.core.$strip>;
|
|
61
62
|
type CheckParams = z.infer<typeof CheckParamsSchema>;
|
|
62
63
|
declare const TrackParamsSchema: z.ZodObject<{
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AttachParams, T as TrackParams, a as AutumnPromise, b as TrackResult, C as CancelParams, c as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, e as CheckoutParams } from '../clientAttachTypes-
|
|
1
|
+
import { A as AttachParams, T as TrackParams, a as AutumnPromise, b as TrackResult, C as CancelParams, c as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, e as CheckoutParams } from '../clientAttachTypes-Ba_miUE6.mjs';
|
|
2
2
|
import { B as BillingPortalResult } from '../cusTypes-Cb9Peq72.mjs';
|
|
3
3
|
import '../prodTypes-BC--Np0p.mjs';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as AttachParams, T as TrackParams, a as AutumnPromise, b as TrackResult, C as CancelParams, c as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, e as CheckoutParams } from '../clientAttachTypes-
|
|
1
|
+
import { A as AttachParams, T as TrackParams, a as AutumnPromise, b as TrackResult, C as CancelParams, c as CancelResult, O as OpenBillingPortalParams, S as SetupPaymentParams, d as SetupPaymentResult, e as CheckoutParams } from '../clientAttachTypes-wbe7-cdx.js';
|
|
2
2
|
import { B as BillingPortalResult } from '../cusTypes-5W4JVk2C.js';
|
|
3
3
|
import '../prodTypes-BC--Np0p.js';
|
|
4
4
|
import 'zod/v4';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-DHbclCVh.mjs';
|
|
2
|
-
import { A as AttachParams, a as AutumnPromise, g as CheckResult, T as TrackParams, b as TrackResult, C as CancelParams, c as CancelResult, S as SetupPaymentParams, d as SetupPaymentResult, O as OpenBillingPortalParams, e as CheckoutParams, f as CheckParams, h as Success } from '../clientAttachTypes-
|
|
3
|
-
import { A as AttachResult, C as CheckoutResult, a as CreateEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-
|
|
2
|
+
import { A as AttachParams, a as AutumnPromise, g as CheckResult, T as TrackParams, b as TrackResult, C as CancelParams, c as CancelResult, S as SetupPaymentParams, d as SetupPaymentResult, O as OpenBillingPortalParams, e as CheckoutParams, f as CheckParams, h as Success } from '../clientAttachTypes-Ba_miUE6.mjs';
|
|
3
|
+
import { A as AttachResult, C as CheckoutResult, a as CreateEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-CnQkrPEG.mjs';
|
|
4
4
|
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-Cb9Peq72.mjs';
|
|
5
5
|
import { E as Entity } from '../entTypes-R0fGEyG8.mjs';
|
|
6
6
|
import { z } from 'zod/v4';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { A as AutumnError } from '../error-DHbclCVh.js';
|
|
2
|
-
import { A as AttachParams, a as AutumnPromise, g as CheckResult, T as TrackParams, b as TrackResult, C as CancelParams, c as CancelResult, S as SetupPaymentParams, d as SetupPaymentResult, O as OpenBillingPortalParams, e as CheckoutParams, f as CheckParams, h as Success } from '../clientAttachTypes-
|
|
3
|
-
import { A as AttachResult, C as CheckoutResult, a as CreateEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-
|
|
2
|
+
import { A as AttachParams, a as AutumnPromise, g as CheckResult, T as TrackParams, b as TrackResult, C as CancelParams, c as CancelResult, S as SetupPaymentParams, d as SetupPaymentResult, O as OpenBillingPortalParams, e as CheckoutParams, f as CheckParams, h as Success } from '../clientAttachTypes-wbe7-cdx.js';
|
|
3
|
+
import { A as AttachResult, C as CheckoutResult, a as CreateEntityParams, b as CreateReferralCodeResult, R as RedeemReferralCodeResult } from '../clientEntTypes-BhQWlwSW.js';
|
|
4
4
|
import { f as CustomerExpandOption, a as Customer, B as BillingPortalResult } from '../cusTypes-5W4JVk2C.js';
|
|
5
5
|
import { E as Entity } from '../entTypes-B2gnYOgY.js';
|
|
6
6
|
import { z } from 'zod/v4';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as CheckParams, g as CheckResult, A as AttachParams, C as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-
|
|
1
|
+
import { f as CheckParams, g as CheckResult, A as AttachParams, C as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-Ba_miUE6.mjs';
|
|
2
2
|
import { G as GetEntityParams, E as Entity } from '../entTypes-R0fGEyG8.mjs';
|
|
3
3
|
import * as swr from 'swr';
|
|
4
4
|
import '../prodTypes-BC--Np0p.mjs';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as CheckParams, g as CheckResult, A as AttachParams, C as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-
|
|
1
|
+
import { f as CheckParams, g as CheckResult, A as AttachParams, C as CancelParams, a as AutumnPromise, T as TrackParams } from '../clientAttachTypes-wbe7-cdx.js';
|
|
2
2
|
import { G as GetEntityParams, E as Entity } from '../entTypes-B2gnYOgY.js';
|
|
3
3
|
import * as swr from 'swr';
|
|
4
4
|
import '../prodTypes-BC--Np0p.js';
|
|
@@ -19,6 +19,7 @@ declare const TrackParamsSchema: z.ZodObject<{
|
|
|
19
19
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
20
20
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
21
21
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
22
23
|
}, z.core.$strip>;
|
|
23
24
|
type TrackParams = z.infer<typeof TrackParamsSchema>;
|
|
24
25
|
declare const CheckParamsSchema: z.ZodObject<{
|
|
@@ -19,6 +19,7 @@ declare const TrackParamsSchema: z.ZodObject<{
|
|
|
19
19
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
20
20
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
21
21
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
22
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
22
23
|
}, z.core.$strip>;
|
|
23
24
|
type TrackParams = z.infer<typeof TrackParamsSchema>;
|
|
24
25
|
declare const CheckParamsSchema: z.ZodObject<{
|
package/dist/sdk/index.d.mts
CHANGED
|
@@ -384,6 +384,7 @@ declare const TrackParamsSchema: z.ZodObject<{
|
|
|
384
384
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
385
385
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
386
386
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
387
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
387
388
|
}, z.core.$strip>;
|
|
388
389
|
type TrackParams = z.infer<typeof TrackParamsSchema>;
|
|
389
390
|
declare const TrackResultSchema: z.ZodObject<{
|
|
@@ -994,6 +995,11 @@ interface RedeemReferralCodeResult {
|
|
|
994
995
|
id: string;
|
|
995
996
|
customer_id: string;
|
|
996
997
|
reward_id: string;
|
|
998
|
+
referrer: {
|
|
999
|
+
id: string;
|
|
1000
|
+
name: string | null;
|
|
1001
|
+
email: string | null;
|
|
1002
|
+
};
|
|
997
1003
|
}
|
|
998
1004
|
|
|
999
1005
|
export { AppEnv, type AttachFeatureOptions, AttachFeatureOptionsSchema, type AttachParams, AttachParamsSchema, type AttachResult, AttachResultSchema, Autumn, AutumnError, type AutumnPromise, type BillingPortalParams, BillingPortalParamsSchema, type BillingPortalResult, type CancelParams, CancelParamsSchema, type CancelResult, CancelResultSchema, type CheckFeaturePreview, type CheckFeatureResult, CheckFeatureResultSchema, type CheckFeatureScenario, type CheckParams, CheckParamsSchema, type CheckProductPreview, type CheckProductResult, type CheckResult, type CheckoutParams, CheckoutParamsSchema, type CheckoutResult, CoreCusFeatureSchema, type CoreCustomerFeature, type CreateCustomerParams, CreateCustomerParamsSchema, type CreateEntityParams, type CreateEntityResult, type CreateProductParams, type CreateReferralCodeParams, CreateReferralCodeParamsSchema, type CreateReferralCodeResult, type Customer, type CustomerData, CustomerDataSchema, CustomerExpandEnum, type CustomerExpandOption, type CustomerFeature, type CustomerInvoice, type CustomerProduct, type CustomerReferral, type DeleteCustomerParams, DeleteCustomerParamsSchema, type DeleteEntityResult, type Entity, type EntityData, EntityDataSchema, type EntityExpandOption, type ErrorResponse, type Feature$1 as Feature, FeatureSchema, type FreeTrial, FreeTrialDuration, type GetCustomerParams, type GetEntityParams, type GetPricingTableParams, Infinite, type ListCustomersParams, ListCustomersParamsSchema, type ListProductsParams, type PriceTier, type PricingTableProduct, type Product, type ProductItem, ProductItemInterval, type ProductItemIntervalType, type ProductScenario, ProductStatus, type QueryParams, QueryParamsSchema, QueryRangeEnum, type QueryResult, type RedeemReferralCodeParams, RedeemReferralCodeParamsSchema, type RedeemReferralCodeResult, type SetupPaymentParams, type SetupPaymentResult, type TrackParams, TrackParamsSchema, type TrackResult, TrackResultSchema, type TransferProductParams, TransferProductParamsSchema, type TransferProductResult, type UpdateBalancesParams, UpdateBalancesParamsSchema, type UpdateBalancesResult, type UpdateCustomerParams, UsageModel, type UsageModelType, type UsageParams, type UsageResult, fetchPricingTable, toContainerResult };
|
package/dist/sdk/index.d.ts
CHANGED
|
@@ -384,6 +384,7 @@ declare const TrackParamsSchema: z.ZodObject<{
|
|
|
384
384
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
385
385
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
386
386
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
387
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
387
388
|
}, z.core.$strip>;
|
|
388
389
|
type TrackParams = z.infer<typeof TrackParamsSchema>;
|
|
389
390
|
declare const TrackResultSchema: z.ZodObject<{
|
|
@@ -994,6 +995,11 @@ interface RedeemReferralCodeResult {
|
|
|
994
995
|
id: string;
|
|
995
996
|
customer_id: string;
|
|
996
997
|
reward_id: string;
|
|
998
|
+
referrer: {
|
|
999
|
+
id: string;
|
|
1000
|
+
name: string | null;
|
|
1001
|
+
email: string | null;
|
|
1002
|
+
};
|
|
997
1003
|
}
|
|
998
1004
|
|
|
999
1005
|
export { AppEnv, type AttachFeatureOptions, AttachFeatureOptionsSchema, type AttachParams, AttachParamsSchema, type AttachResult, AttachResultSchema, Autumn, AutumnError, type AutumnPromise, type BillingPortalParams, BillingPortalParamsSchema, type BillingPortalResult, type CancelParams, CancelParamsSchema, type CancelResult, CancelResultSchema, type CheckFeaturePreview, type CheckFeatureResult, CheckFeatureResultSchema, type CheckFeatureScenario, type CheckParams, CheckParamsSchema, type CheckProductPreview, type CheckProductResult, type CheckResult, type CheckoutParams, CheckoutParamsSchema, type CheckoutResult, CoreCusFeatureSchema, type CoreCustomerFeature, type CreateCustomerParams, CreateCustomerParamsSchema, type CreateEntityParams, type CreateEntityResult, type CreateProductParams, type CreateReferralCodeParams, CreateReferralCodeParamsSchema, type CreateReferralCodeResult, type Customer, type CustomerData, CustomerDataSchema, CustomerExpandEnum, type CustomerExpandOption, type CustomerFeature, type CustomerInvoice, type CustomerProduct, type CustomerReferral, type DeleteCustomerParams, DeleteCustomerParamsSchema, type DeleteEntityResult, type Entity, type EntityData, EntityDataSchema, type EntityExpandOption, type ErrorResponse, type Feature$1 as Feature, FeatureSchema, type FreeTrial, FreeTrialDuration, type GetCustomerParams, type GetEntityParams, type GetPricingTableParams, Infinite, type ListCustomersParams, ListCustomersParamsSchema, type ListProductsParams, type PriceTier, type PricingTableProduct, type Product, type ProductItem, ProductItemInterval, type ProductItemIntervalType, type ProductScenario, ProductStatus, type QueryParams, QueryParamsSchema, QueryRangeEnum, type QueryResult, type RedeemReferralCodeParams, RedeemReferralCodeParamsSchema, type RedeemReferralCodeResult, type SetupPaymentParams, type SetupPaymentResult, type TrackParams, TrackParamsSchema, type TrackResult, TrackResultSchema, type TransferProductParams, TransferProductParamsSchema, type TransferProductResult, type UpdateBalancesParams, UpdateBalancesParamsSchema, type UpdateBalancesResult, type UpdateCustomerParams, UsageModel, type UsageModelType, type UsageParams, type UsageResult, fetchPricingTable, toContainerResult };
|
package/dist/sdk/index.js
CHANGED
|
@@ -826,7 +826,8 @@ var TrackParamsSchema = v4.z.object({
|
|
|
826
826
|
entity_id: v4.z.string().optional(),
|
|
827
827
|
customer_data: v4.z.any().optional(),
|
|
828
828
|
idempotency_key: v4.z.string().optional(),
|
|
829
|
-
entity_data: v4.z.any().optional()
|
|
829
|
+
entity_data: v4.z.any().optional(),
|
|
830
|
+
properties: v4.z.record(v4.z.string(), v4.z.any()).optional()
|
|
830
831
|
});
|
|
831
832
|
var TrackResultSchema = v4.z.object({
|
|
832
833
|
id: v4.z.string(),
|
package/dist/sdk/index.mjs
CHANGED
|
@@ -820,7 +820,8 @@ var TrackParamsSchema = z.object({
|
|
|
820
820
|
entity_id: z.string().optional(),
|
|
821
821
|
customer_data: z.any().optional(),
|
|
822
822
|
idempotency_key: z.string().optional(),
|
|
823
|
-
entity_data: z.any().optional()
|
|
823
|
+
entity_data: z.any().optional(),
|
|
824
|
+
properties: z.record(z.string(), z.any()).optional()
|
|
824
825
|
});
|
|
825
826
|
var TrackResultSchema = z.object({
|
|
826
827
|
id: z.string(),
|
|
@@ -866,7 +866,8 @@ var TrackParamsSchema = import_v45.z.object({
|
|
|
866
866
|
entity_id: import_v45.z.string().optional(),
|
|
867
867
|
customer_data: import_v45.z.any().optional(),
|
|
868
868
|
idempotency_key: import_v45.z.string().optional(),
|
|
869
|
-
entity_data: import_v45.z.any().optional()
|
|
869
|
+
entity_data: import_v45.z.any().optional(),
|
|
870
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any()).optional()
|
|
870
871
|
});
|
|
871
872
|
var TrackResultSchema = import_v45.z.object({
|
|
872
873
|
id: import_v45.z.string(),
|
|
@@ -798,7 +798,8 @@ var TrackParamsSchema = z5.object({
|
|
|
798
798
|
entity_id: z5.string().optional(),
|
|
799
799
|
customer_data: z5.any().optional(),
|
|
800
800
|
idempotency_key: z5.string().optional(),
|
|
801
|
-
entity_data: z5.any().optional()
|
|
801
|
+
entity_data: z5.any().optional(),
|
|
802
|
+
properties: z5.record(z5.string(), z5.any()).optional()
|
|
802
803
|
});
|
|
803
804
|
var TrackResultSchema = z5.object({
|
|
804
805
|
id: z5.string(),
|