autumn-js 0.1.26 → 0.1.28
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-2NCEN2I4.mjs → chunk-OF427U7W.mjs} +6 -6
- 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 +9 -9
- 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 +14 -14
- package/dist/libraries/react/{ReactAutumnClient-yOor_S4y.d.ts → ReactAutumnClient-DkACsMN6.d.ts} +6 -5
- package/dist/libraries/react/{ReactAutumnClient-6VcY-_5L.d.mts → ReactAutumnClient-pSbiEzVv.d.mts} +6 -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 +16 -16
- 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-YN67J64M.mjs → chunk-2GEDBGON.mjs} +1 -1
- package/dist/libraries/react/{chunk-WUEXMQIT.mjs → chunk-2LZIBRD4.mjs} +4 -4
- package/dist/libraries/react/{chunk-YE6KQQS7.mjs → chunk-47KEC6LH.mjs} +7 -7
- package/dist/libraries/react/{chunk-VYBU4WHO.mjs → chunk-4KLTPVNG.mjs} +6 -6
- package/dist/libraries/react/{chunk-65S4VY5K.mjs → chunk-4QVAJKUF.mjs} +5 -5
- package/dist/libraries/react/{chunk-6H3UYG2P.mjs → chunk-5H5GRS2A.mjs} +1 -1
- package/dist/libraries/react/{chunk-2PBWI3T6.mjs → chunk-5TLRC3ED.mjs} +2 -2
- package/dist/libraries/react/{chunk-R4GPXTKG.mjs → chunk-CQM7GZ7W.mjs} +1 -1
- package/dist/libraries/react/{chunk-ILMAJOCJ.mjs → chunk-IHM53O5V.mjs} +3 -3
- package/dist/libraries/react/{chunk-2GAPGNKI.mjs → chunk-JNMZHVHP.mjs} +14 -14
- package/dist/libraries/react/{chunk-MYLB2EJS.mjs → chunk-LC75KITX.mjs} +1 -1
- package/dist/libraries/react/{chunk-CA2BGO7B.mjs → chunk-LXG4SVBP.mjs} +26 -26
- package/dist/libraries/react/{chunk-MRYUB6IP.mjs → chunk-NRR6GSHG.mjs} +1 -1
- package/dist/libraries/react/{chunk-YOOJMRQ2.mjs → chunk-OZKZTANZ.mjs} +2 -2
- package/dist/libraries/react/{chunk-DAZBMK7R.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-GDLYFO2L.mjs → chunk-U6K76N56.mjs} +2 -2
- package/dist/libraries/react/{chunk-CWSAN3AB.mjs → chunk-UNCW2GSR.mjs} +4 -4
- package/dist/libraries/react/{chunk-R5FGE3P4.mjs → chunk-URJXELCF.mjs} +3 -3
- package/dist/libraries/react/{chunk-WGHQ5LYX.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-7BNGM5OQ.mjs → chunk-YCHPTRJA.mjs} +11 -11
- package/dist/libraries/react/{chunk-KFWZCBVR.mjs → chunk-YKVHS3GV.mjs} +2 -2
- package/dist/libraries/react/{chunk-Q25RE73N.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 +8 -8
- 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 +35 -35
- 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 +35 -35
- 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 +35 -35
- 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 +10 -10
- 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 +14 -14
- 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 +13 -13
- 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 +14 -14
- 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 +13 -13
- 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 +10 -10
- 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 +11 -11
- 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 +1 -0
- package/dist/libraries/react/index.d.ts +1 -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 +2 -1
- package/dist/next/client/NextAutumnClient.d.ts +2 -1
- 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/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 -1
- package/dist/next/client/hooks/useCustomer.d.ts +1 -1
- 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 +1 -0
- package/dist/sdk/index.d.ts +1 -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
|
@@ -92,15 +92,14 @@ declare const autumn: (options?: {
|
|
|
92
92
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
93
93
|
body: {
|
|
94
94
|
product_id: string;
|
|
95
|
+
entity_id?: string | undefined;
|
|
95
96
|
options?: {
|
|
96
97
|
feature_id: string;
|
|
97
98
|
quantity: number;
|
|
98
99
|
}[] | undefined;
|
|
99
100
|
product_ids?: string[] | undefined;
|
|
100
|
-
entity_id?: string | undefined;
|
|
101
|
-
force_checkout?: boolean | undefined;
|
|
102
|
-
invoice?: boolean | undefined;
|
|
103
101
|
success_url?: string | undefined;
|
|
102
|
+
force_checkout?: boolean | undefined;
|
|
104
103
|
customer_data?: {
|
|
105
104
|
name?: string | null | undefined;
|
|
106
105
|
email?: string | null | undefined;
|
|
@@ -109,6 +108,7 @@ declare const autumn: (options?: {
|
|
|
109
108
|
entity_data?: any;
|
|
110
109
|
checkout_session_params?: Record<string, any> | undefined;
|
|
111
110
|
reward?: string | undefined;
|
|
111
|
+
invoice?: boolean | undefined;
|
|
112
112
|
};
|
|
113
113
|
} & {
|
|
114
114
|
method?: "POST" | undefined;
|
|
@@ -135,16 +135,15 @@ declare const autumn: (options?: {
|
|
|
135
135
|
options: {
|
|
136
136
|
method: "POST";
|
|
137
137
|
body: z.ZodObject<{
|
|
138
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
139
|
+
product_id: z.ZodString;
|
|
138
140
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
139
141
|
feature_id: z.ZodString;
|
|
140
142
|
quantity: z.ZodNumber;
|
|
141
143
|
}, z.core.$strip>>>;
|
|
142
|
-
product_id: z.ZodString;
|
|
143
144
|
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
145
|
-
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
-
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
147
145
|
success_url: z.ZodOptional<z.ZodString>;
|
|
146
|
+
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
148
147
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
149
148
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
149
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -153,6 +152,7 @@ declare const autumn: (options?: {
|
|
|
153
152
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
154
153
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
155
154
|
reward: z.ZodOptional<z.ZodString>;
|
|
155
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
156
156
|
}, z.core.$strip>;
|
|
157
157
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
158
158
|
session: {
|
|
@@ -185,17 +185,17 @@ declare const autumn: (options?: {
|
|
|
185
185
|
attach: {
|
|
186
186
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
187
187
|
body: {
|
|
188
|
+
entity_id?: string | undefined;
|
|
189
|
+
metadata?: Record<string, string> | undefined;
|
|
190
|
+
product_id?: string | undefined;
|
|
188
191
|
options?: {
|
|
189
192
|
feature_id: string;
|
|
190
193
|
quantity: number;
|
|
191
194
|
}[] | undefined;
|
|
192
|
-
metadata?: Record<string, string> | undefined;
|
|
193
|
-
product_id?: string | undefined;
|
|
194
195
|
product_ids?: string[] | undefined;
|
|
195
|
-
|
|
196
|
-
force_checkout?: boolean | undefined;
|
|
197
|
-
invoice?: boolean | undefined;
|
|
196
|
+
free_trial?: boolean | undefined;
|
|
198
197
|
success_url?: string | undefined;
|
|
198
|
+
force_checkout?: boolean | undefined;
|
|
199
199
|
customer_data?: {
|
|
200
200
|
name?: string | null | undefined;
|
|
201
201
|
email?: string | null | undefined;
|
|
@@ -204,7 +204,7 @@ declare const autumn: (options?: {
|
|
|
204
204
|
entity_data?: any;
|
|
205
205
|
checkout_session_params?: Record<string, any> | undefined;
|
|
206
206
|
reward?: string | undefined;
|
|
207
|
-
|
|
207
|
+
invoice?: boolean | undefined;
|
|
208
208
|
};
|
|
209
209
|
} & {
|
|
210
210
|
method?: "POST" | undefined;
|
|
@@ -231,17 +231,17 @@ declare const autumn: (options?: {
|
|
|
231
231
|
options: {
|
|
232
232
|
method: "POST";
|
|
233
233
|
body: z.ZodObject<{
|
|
234
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
235
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
236
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
234
237
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
235
238
|
feature_id: z.ZodString;
|
|
236
239
|
quantity: z.ZodNumber;
|
|
237
240
|
}, z.core.$strip>>>;
|
|
238
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
239
|
-
product_id: z.ZodOptional<z.ZodString>;
|
|
240
241
|
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
|
-
|
|
242
|
-
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
+
free_trial: z.ZodOptional<z.ZodBoolean>;
|
|
244
243
|
success_url: z.ZodOptional<z.ZodString>;
|
|
244
|
+
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
245
245
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
246
246
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
247
247
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -250,7 +250,7 @@ declare const autumn: (options?: {
|
|
|
250
250
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
251
251
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
252
252
|
reward: z.ZodOptional<z.ZodString>;
|
|
253
|
-
|
|
253
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
254
254
|
}, z.core.$strip>;
|
|
255
255
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
256
256
|
session: {
|
|
@@ -283,15 +283,15 @@ declare const autumn: (options?: {
|
|
|
283
283
|
check: {
|
|
284
284
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
285
285
|
body: {
|
|
286
|
-
product_id?: string | undefined;
|
|
287
|
-
entity_id?: string | undefined;
|
|
288
286
|
feature_id?: string | undefined;
|
|
287
|
+
entity_id?: string | undefined;
|
|
288
|
+
required_balance?: number | undefined;
|
|
289
|
+
product_id?: string | undefined;
|
|
289
290
|
customer_data?: any;
|
|
290
291
|
entity_data?: {
|
|
291
292
|
feature_id: string;
|
|
292
293
|
name?: string | undefined;
|
|
293
294
|
} | undefined;
|
|
294
|
-
required_balance?: number | undefined;
|
|
295
295
|
send_event?: boolean | undefined;
|
|
296
296
|
with_preview?: boolean | undefined;
|
|
297
297
|
};
|
|
@@ -320,15 +320,15 @@ declare const autumn: (options?: {
|
|
|
320
320
|
options: {
|
|
321
321
|
method: "POST";
|
|
322
322
|
body: z.ZodObject<{
|
|
323
|
-
product_id: z.ZodOptional<z.ZodString>;
|
|
324
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
325
323
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
324
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
325
|
+
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
326
327
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
327
328
|
entity_data: z.ZodOptional<z.ZodObject<{
|
|
328
329
|
name: z.ZodOptional<z.ZodString>;
|
|
329
330
|
feature_id: z.ZodString;
|
|
330
331
|
}, z.core.$strip>>;
|
|
331
|
-
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
332
332
|
send_event: z.ZodOptional<z.ZodBoolean>;
|
|
333
333
|
with_preview: z.ZodOptional<z.ZodBoolean>;
|
|
334
334
|
}, z.core.$strip>;
|
|
@@ -363,13 +363,14 @@ declare const autumn: (options?: {
|
|
|
363
363
|
track: {
|
|
364
364
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
365
365
|
body: {
|
|
366
|
-
entity_id?: string | undefined;
|
|
367
366
|
feature_id?: string | undefined;
|
|
367
|
+
entity_id?: string | undefined;
|
|
368
368
|
customer_data?: any;
|
|
369
369
|
entity_data?: any;
|
|
370
370
|
value?: number | undefined;
|
|
371
371
|
event_name?: string | undefined;
|
|
372
372
|
idempotency_key?: string | undefined;
|
|
373
|
+
properties?: Record<string, any> | undefined;
|
|
373
374
|
};
|
|
374
375
|
} & {
|
|
375
376
|
method?: "POST" | undefined;
|
|
@@ -396,13 +397,14 @@ declare const autumn: (options?: {
|
|
|
396
397
|
options: {
|
|
397
398
|
method: "POST";
|
|
398
399
|
body: z.ZodObject<{
|
|
399
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
400
400
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
401
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
401
402
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
402
403
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
403
404
|
value: z.ZodOptional<z.ZodNumber>;
|
|
404
405
|
event_name: z.ZodOptional<z.ZodString>;
|
|
405
406
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
407
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
406
408
|
}, z.core.$strip>;
|
|
407
409
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
408
410
|
session: {
|
|
@@ -464,8 +466,8 @@ declare const autumn: (options?: {
|
|
|
464
466
|
options: {
|
|
465
467
|
method: "POST";
|
|
466
468
|
body: z.ZodObject<{
|
|
467
|
-
product_id: z.ZodString;
|
|
468
469
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
470
|
+
product_id: z.ZodString;
|
|
469
471
|
cancel_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
470
472
|
}, z.core.$strip>;
|
|
471
473
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
@@ -92,15 +92,14 @@ declare const autumn: (options?: {
|
|
|
92
92
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
93
93
|
body: {
|
|
94
94
|
product_id: string;
|
|
95
|
+
entity_id?: string | undefined;
|
|
95
96
|
options?: {
|
|
96
97
|
feature_id: string;
|
|
97
98
|
quantity: number;
|
|
98
99
|
}[] | undefined;
|
|
99
100
|
product_ids?: string[] | undefined;
|
|
100
|
-
entity_id?: string | undefined;
|
|
101
|
-
force_checkout?: boolean | undefined;
|
|
102
|
-
invoice?: boolean | undefined;
|
|
103
101
|
success_url?: string | undefined;
|
|
102
|
+
force_checkout?: boolean | undefined;
|
|
104
103
|
customer_data?: {
|
|
105
104
|
name?: string | null | undefined;
|
|
106
105
|
email?: string | null | undefined;
|
|
@@ -109,6 +108,7 @@ declare const autumn: (options?: {
|
|
|
109
108
|
entity_data?: any;
|
|
110
109
|
checkout_session_params?: Record<string, any> | undefined;
|
|
111
110
|
reward?: string | undefined;
|
|
111
|
+
invoice?: boolean | undefined;
|
|
112
112
|
};
|
|
113
113
|
} & {
|
|
114
114
|
method?: "POST" | undefined;
|
|
@@ -135,16 +135,15 @@ declare const autumn: (options?: {
|
|
|
135
135
|
options: {
|
|
136
136
|
method: "POST";
|
|
137
137
|
body: z.ZodObject<{
|
|
138
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
139
|
+
product_id: z.ZodString;
|
|
138
140
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
139
141
|
feature_id: z.ZodString;
|
|
140
142
|
quantity: z.ZodNumber;
|
|
141
143
|
}, z.core.$strip>>>;
|
|
142
|
-
product_id: z.ZodString;
|
|
143
144
|
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
144
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
145
|
-
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
-
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
147
145
|
success_url: z.ZodOptional<z.ZodString>;
|
|
146
|
+
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
148
147
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
149
148
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
150
149
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -153,6 +152,7 @@ declare const autumn: (options?: {
|
|
|
153
152
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
154
153
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
155
154
|
reward: z.ZodOptional<z.ZodString>;
|
|
155
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
156
156
|
}, z.core.$strip>;
|
|
157
157
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
158
158
|
session: {
|
|
@@ -185,17 +185,17 @@ declare const autumn: (options?: {
|
|
|
185
185
|
attach: {
|
|
186
186
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
187
187
|
body: {
|
|
188
|
+
entity_id?: string | undefined;
|
|
189
|
+
metadata?: Record<string, string> | undefined;
|
|
190
|
+
product_id?: string | undefined;
|
|
188
191
|
options?: {
|
|
189
192
|
feature_id: string;
|
|
190
193
|
quantity: number;
|
|
191
194
|
}[] | undefined;
|
|
192
|
-
metadata?: Record<string, string> | undefined;
|
|
193
|
-
product_id?: string | undefined;
|
|
194
195
|
product_ids?: string[] | undefined;
|
|
195
|
-
|
|
196
|
-
force_checkout?: boolean | undefined;
|
|
197
|
-
invoice?: boolean | undefined;
|
|
196
|
+
free_trial?: boolean | undefined;
|
|
198
197
|
success_url?: string | undefined;
|
|
198
|
+
force_checkout?: boolean | undefined;
|
|
199
199
|
customer_data?: {
|
|
200
200
|
name?: string | null | undefined;
|
|
201
201
|
email?: string | null | undefined;
|
|
@@ -204,7 +204,7 @@ declare const autumn: (options?: {
|
|
|
204
204
|
entity_data?: any;
|
|
205
205
|
checkout_session_params?: Record<string, any> | undefined;
|
|
206
206
|
reward?: string | undefined;
|
|
207
|
-
|
|
207
|
+
invoice?: boolean | undefined;
|
|
208
208
|
};
|
|
209
209
|
} & {
|
|
210
210
|
method?: "POST" | undefined;
|
|
@@ -231,17 +231,17 @@ declare const autumn: (options?: {
|
|
|
231
231
|
options: {
|
|
232
232
|
method: "POST";
|
|
233
233
|
body: z.ZodObject<{
|
|
234
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
235
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
236
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
234
237
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
235
238
|
feature_id: z.ZodString;
|
|
236
239
|
quantity: z.ZodNumber;
|
|
237
240
|
}, z.core.$strip>>>;
|
|
238
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
239
|
-
product_id: z.ZodOptional<z.ZodString>;
|
|
240
241
|
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
241
|
-
|
|
242
|
-
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
243
|
-
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
242
|
+
free_trial: z.ZodOptional<z.ZodBoolean>;
|
|
244
243
|
success_url: z.ZodOptional<z.ZodString>;
|
|
244
|
+
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
245
245
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
246
246
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
247
247
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -250,7 +250,7 @@ declare const autumn: (options?: {
|
|
|
250
250
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
251
251
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
252
252
|
reward: z.ZodOptional<z.ZodString>;
|
|
253
|
-
|
|
253
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
254
254
|
}, z.core.$strip>;
|
|
255
255
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
256
256
|
session: {
|
|
@@ -283,15 +283,15 @@ declare const autumn: (options?: {
|
|
|
283
283
|
check: {
|
|
284
284
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
285
285
|
body: {
|
|
286
|
-
product_id?: string | undefined;
|
|
287
|
-
entity_id?: string | undefined;
|
|
288
286
|
feature_id?: string | undefined;
|
|
287
|
+
entity_id?: string | undefined;
|
|
288
|
+
required_balance?: number | undefined;
|
|
289
|
+
product_id?: string | undefined;
|
|
289
290
|
customer_data?: any;
|
|
290
291
|
entity_data?: {
|
|
291
292
|
feature_id: string;
|
|
292
293
|
name?: string | undefined;
|
|
293
294
|
} | undefined;
|
|
294
|
-
required_balance?: number | undefined;
|
|
295
295
|
send_event?: boolean | undefined;
|
|
296
296
|
with_preview?: boolean | undefined;
|
|
297
297
|
};
|
|
@@ -320,15 +320,15 @@ declare const autumn: (options?: {
|
|
|
320
320
|
options: {
|
|
321
321
|
method: "POST";
|
|
322
322
|
body: z.ZodObject<{
|
|
323
|
-
product_id: z.ZodOptional<z.ZodString>;
|
|
324
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
325
323
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
324
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
325
|
+
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
326
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
326
327
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
327
328
|
entity_data: z.ZodOptional<z.ZodObject<{
|
|
328
329
|
name: z.ZodOptional<z.ZodString>;
|
|
329
330
|
feature_id: z.ZodString;
|
|
330
331
|
}, z.core.$strip>>;
|
|
331
|
-
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
332
332
|
send_event: z.ZodOptional<z.ZodBoolean>;
|
|
333
333
|
with_preview: z.ZodOptional<z.ZodBoolean>;
|
|
334
334
|
}, z.core.$strip>;
|
|
@@ -363,13 +363,14 @@ declare const autumn: (options?: {
|
|
|
363
363
|
track: {
|
|
364
364
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
365
365
|
body: {
|
|
366
|
-
entity_id?: string | undefined;
|
|
367
366
|
feature_id?: string | undefined;
|
|
367
|
+
entity_id?: string | undefined;
|
|
368
368
|
customer_data?: any;
|
|
369
369
|
entity_data?: any;
|
|
370
370
|
value?: number | undefined;
|
|
371
371
|
event_name?: string | undefined;
|
|
372
372
|
idempotency_key?: string | undefined;
|
|
373
|
+
properties?: Record<string, any> | undefined;
|
|
373
374
|
};
|
|
374
375
|
} & {
|
|
375
376
|
method?: "POST" | undefined;
|
|
@@ -396,13 +397,14 @@ declare const autumn: (options?: {
|
|
|
396
397
|
options: {
|
|
397
398
|
method: "POST";
|
|
398
399
|
body: z.ZodObject<{
|
|
399
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
400
400
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
401
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
401
402
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
402
403
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
403
404
|
value: z.ZodOptional<z.ZodNumber>;
|
|
404
405
|
event_name: z.ZodOptional<z.ZodString>;
|
|
405
406
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
407
|
+
properties: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
406
408
|
}, z.core.$strip>;
|
|
407
409
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
408
410
|
session: {
|
|
@@ -464,8 +466,8 @@ declare const autumn: (options?: {
|
|
|
464
466
|
options: {
|
|
465
467
|
method: "POST";
|
|
466
468
|
body: z.ZodObject<{
|
|
467
|
-
product_id: z.ZodString;
|
|
468
469
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
470
|
+
product_id: z.ZodString;
|
|
469
471
|
cancel_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
470
472
|
}, z.core.$strip>;
|
|
471
473
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
@@ -868,7 +868,8 @@ var TrackParamsSchema = import_v45.z.object({
|
|
|
868
868
|
entity_id: import_v45.z.string().optional(),
|
|
869
869
|
customer_data: import_v45.z.any().optional(),
|
|
870
870
|
idempotency_key: import_v45.z.string().optional(),
|
|
871
|
-
entity_data: import_v45.z.any().optional()
|
|
871
|
+
entity_data: import_v45.z.any().optional(),
|
|
872
|
+
properties: import_v45.z.record(import_v45.z.string(), import_v45.z.any()).optional()
|
|
872
873
|
});
|
|
873
874
|
var TrackResultSchema = import_v45.z.object({
|
|
874
875
|
id: import_v45.z.string(),
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OF427U7W.mjs";
|
|
7
|
+
import "./chunk-NTBLGION.mjs";
|
|
8
|
+
import "./chunk-7HOB6NAU.mjs";
|
|
9
|
+
import "./chunk-3XTIAF27.mjs";
|
|
10
|
+
import "./chunk-FELIWCJB.mjs";
|
|
11
|
+
import "./chunk-66ZEIO2W.mjs";
|
|
12
12
|
import {
|
|
13
13
|
AttachParamsSchema,
|
|
14
14
|
Autumn,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
CustomerExpandEnum,
|
|
21
21
|
RedeemReferralCodeParamsSchema,
|
|
22
22
|
TrackParamsSchema
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-CVD6CEVQ.mjs";
|
|
24
24
|
import "./chunk-2TEL6LR5.mjs";
|
|
25
25
|
import "./chunk-KSG3E4Q2.mjs";
|
|
26
26
|
|
|
@@ -795,7 +795,8 @@ var TrackParamsSchema = z5.object({
|
|
|
795
795
|
entity_id: z5.string().optional(),
|
|
796
796
|
customer_data: z5.any().optional(),
|
|
797
797
|
idempotency_key: z5.string().optional(),
|
|
798
|
-
entity_data: z5.any().optional()
|
|
798
|
+
entity_data: z5.any().optional(),
|
|
799
|
+
properties: z5.record(z5.string(), z5.any()).optional()
|
|
799
800
|
});
|
|
800
801
|
var TrackResultSchema = z5.object({
|
|
801
802
|
id: z5.string(),
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGenRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-NTBLGION.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addProductRoutes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-7HOB6NAU.mjs";
|
|
7
7
|
import {
|
|
8
8
|
addReferralRoutes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3XTIAF27.mjs";
|
|
10
10
|
import {
|
|
11
11
|
addEntityRoutes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-FELIWCJB.mjs";
|
|
13
13
|
import {
|
|
14
14
|
withAuth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-66ZEIO2W.mjs";
|
|
16
16
|
import {
|
|
17
17
|
fetchPricingTable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CVD6CEVQ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
BASE_PATH
|
|
21
21
|
} from "./chunk-KSG3E4Q2.mjs";
|
|
@@ -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(),
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OF427U7W.mjs";
|
|
7
|
+
import "./chunk-NTBLGION.mjs";
|
|
8
|
+
import "./chunk-7HOB6NAU.mjs";
|
|
9
|
+
import "./chunk-3XTIAF27.mjs";
|
|
10
|
+
import "./chunk-FELIWCJB.mjs";
|
|
11
|
+
import "./chunk-66ZEIO2W.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CVD6CEVQ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import "./chunk-KSG3E4Q2.mjs";
|
|
17
17
|
|
|
@@ -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(),
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OF427U7W.mjs";
|
|
7
|
+
import "./chunk-NTBLGION.mjs";
|
|
8
|
+
import "./chunk-7HOB6NAU.mjs";
|
|
9
|
+
import "./chunk-3XTIAF27.mjs";
|
|
10
|
+
import "./chunk-FELIWCJB.mjs";
|
|
11
|
+
import "./chunk-66ZEIO2W.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CVD6CEVQ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -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(),
|
|
@@ -3,15 +3,15 @@ import {
|
|
|
3
3
|
} from "./chunk-UNZHJTEY.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createRouterWithOptions
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-OF427U7W.mjs";
|
|
7
|
+
import "./chunk-NTBLGION.mjs";
|
|
8
|
+
import "./chunk-7HOB6NAU.mjs";
|
|
9
|
+
import "./chunk-3XTIAF27.mjs";
|
|
10
|
+
import "./chunk-FELIWCJB.mjs";
|
|
11
|
+
import "./chunk-66ZEIO2W.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-CVD6CEVQ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -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(),
|