autumn-js 0.0.114-beta.4 → 0.0.115
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 +18 -18
- package/dist/libraries/backend/better-auth.d.ts +18 -18
- package/dist/libraries/backend/better-auth.js +4 -1
- package/dist/libraries/backend/better-auth.mjs +7 -7
- package/dist/libraries/backend/{chunk-AHC5CF27.mjs → chunk-5OVGQBAX.mjs} +1 -1
- package/dist/libraries/backend/{chunk-SHE3OJIL.mjs → chunk-BBXZMPWZ.mjs} +4 -1
- package/dist/libraries/backend/{chunk-AE3ATQW3.mjs → chunk-CZIMXJXT.mjs} +1 -1
- package/dist/libraries/backend/{chunk-QGTZAKB7.mjs → chunk-FV6S6G2B.mjs} +1 -1
- package/dist/libraries/backend/{chunk-YFHV4POF.mjs → chunk-RZCIKER6.mjs} +10 -10
- package/dist/libraries/backend/{chunk-JUTZHAHU.mjs → chunk-SLHP34YX.mjs} +1 -1
- package/dist/libraries/backend/{chunk-5W265EHC.mjs → chunk-VJTYMTEE.mjs} +1 -1
- package/dist/libraries/backend/convex.js +4 -1
- package/dist/libraries/backend/convex.mjs +7 -7
- package/dist/libraries/backend/elysia.js +4 -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 +4 -1
- package/dist/libraries/backend/express.mjs +7 -7
- package/dist/libraries/backend/fastify.js +4 -1
- package/dist/libraries/backend/fastify.mjs +7 -7
- package/dist/libraries/backend/hono.js +4 -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 +4 -1
- package/dist/libraries/backend/index.mjs +7 -7
- package/dist/libraries/backend/next.js +4 -1
- package/dist/libraries/backend/next.mjs +7 -7
- package/dist/libraries/backend/react-router.js +4 -1
- package/dist/libraries/backend/react-router.mjs +7 -7
- package/dist/libraries/backend/{referralTypes-CHRdXdZi.d.mts → referralTypes-CxBMvbW7.d.mts} +54 -45
- package/dist/libraries/backend/{referralTypes-KN1bdpbB.d.ts → referralTypes-Tn4tzWbT.d.ts} +54 -45
- package/dist/libraries/backend/remix_dep.js +4 -1
- package/dist/libraries/backend/remix_dep.mjs +7 -7
- package/dist/libraries/backend/routes/backendRouter.js +4 -1
- package/dist/libraries/backend/routes/backendRouter.mjs +7 -7
- package/dist/libraries/backend/routes/entityRoutes.js +4 -1
- package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/genRoutes.js +4 -1
- package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/productRoutes.js +4 -1
- package/dist/libraries/backend/routes/productRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/referralRoutes.js +4 -1
- package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
- package/dist/libraries/backend/supabase.js +4 -1
- package/dist/libraries/backend/supabase.mjs +7 -7
- package/dist/libraries/backend/tanstack.js +4 -1
- package/dist/libraries/backend/tanstack.mjs +7 -7
- package/dist/libraries/backend/utils/backendRes.js +4 -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 +4 -1
- package/dist/libraries/backend/utils/withAuth.mjs +2 -2
- package/dist/libraries/react/AutumnContext.d.mts +1 -1
- package/dist/libraries/react/AutumnContext.d.ts +1 -1
- package/dist/libraries/react/AutumnContext.js +4 -1
- package/dist/libraries/react/AutumnContext.mjs +5 -5
- package/dist/libraries/react/BaseAutumnProvider.d.mts +1 -1
- package/dist/libraries/react/BaseAutumnProvider.d.ts +1 -1
- package/dist/libraries/react/BaseAutumnProvider.js +4 -1
- package/dist/libraries/react/BaseAutumnProvider.mjs +10 -10
- package/dist/libraries/react/{ReactAutumnClient-BbbdQEOx.d.ts → ReactAutumnClient-DWq3CtTo.d.ts} +3 -0
- package/dist/libraries/react/{ReactAutumnClient-BD8mQ965.d.mts → ReactAutumnClient-Deg9KIoK.d.mts} +3 -0
- package/dist/libraries/react/ReactAutumnProvider.js +4 -1
- package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
- package/dist/libraries/react/{chunk-62QDB3KQ.mjs → chunk-2ZJIVJC3.mjs} +3 -3
- package/dist/libraries/react/{chunk-HBVLIBOE.mjs → chunk-3TWEC5VD.mjs} +3 -3
- package/dist/libraries/react/{chunk-E2H5MYIO.mjs → chunk-6ZNJROK5.mjs} +1 -1
- package/dist/libraries/react/{chunk-XJHQ6LQF.mjs → chunk-7JNU5ABT.mjs} +3 -3
- package/dist/libraries/react/{chunk-O6TAJHK3.mjs → chunk-BLM4DAAR.mjs} +3 -3
- package/dist/libraries/react/{chunk-5K2M3CQZ.mjs → chunk-FEISQQNM.mjs} +1 -1
- package/dist/libraries/react/{chunk-RGAEIODW.mjs → chunk-GB3FANSE.mjs} +1 -1
- package/dist/libraries/react/{chunk-PEYCQWHI.mjs → chunk-GUN6SIBL.mjs} +2 -2
- package/dist/libraries/react/{chunk-3JORYFTY.mjs → chunk-HRD7CMV2.mjs} +4 -1
- package/dist/libraries/react/{chunk-WT5K3J2K.mjs → chunk-I2A7PK2L.mjs} +17 -17
- package/dist/libraries/react/{chunk-HBCCTYA6.mjs → chunk-I5ZGIAIX.mjs} +3 -3
- package/dist/libraries/react/{chunk-CV4TKYAC.mjs → chunk-ID6R6YXN.mjs} +2 -2
- package/dist/libraries/react/{chunk-4Q7BDIOS.mjs → chunk-IJNOJKLD.mjs} +1 -1
- package/dist/libraries/react/{chunk-YCDNQZT5.mjs → chunk-JGDTNJTR.mjs} +2 -2
- package/dist/libraries/react/{chunk-MFIFOAPI.mjs → chunk-JKCNFNPN.mjs} +465 -467
- package/dist/libraries/react/{chunk-M7SUFZ42.mjs → chunk-KUS3X33V.mjs} +1 -1
- package/dist/libraries/react/{chunk-2TQBFCWM.mjs → chunk-LCWL3TIT.mjs} +6 -6
- package/dist/libraries/react/{chunk-6R3O2T4H.mjs → chunk-MRJXFGYA.mjs} +1 -1
- package/dist/libraries/react/{chunk-YDRULJZE.mjs → chunk-SQETBIDZ.mjs} +2 -2
- package/dist/libraries/react/{chunk-CZVP6BZG.mjs → chunk-TTQ2JFWO.mjs} +3 -3
- package/dist/libraries/react/{chunk-YEG5KJEI.mjs → chunk-UO4CQY4C.mjs} +1 -1
- package/dist/libraries/react/{chunk-FOXUAY7Y.mjs → chunk-WEOR6KVG.mjs} +7 -7
- package/dist/libraries/react/{chunk-5PA5P2UE.mjs → chunk-WLMUN7LO.mjs} +2 -2
- package/dist/libraries/react/{chunk-3UNBBJY5.mjs → chunk-YOP5NTBJ.mjs} +1 -1
- package/dist/libraries/react/{chunk-NHDZWWMZ.mjs → chunk-YWQTQ72B.mjs} +2 -2
- package/dist/libraries/react/client/ReactAutumnClient.d.mts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.d.ts +1 -1
- package/dist/libraries/react/client/ReactAutumnClient.js +4 -1
- package/dist/libraries/react/client/ReactAutumnClient.mjs +4 -4
- package/dist/libraries/react/client/clientCompMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientCompMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientCusMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientEntityMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientGenMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientProdMethods.d.ts +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.mts +1 -1
- package/dist/libraries/react/client/clientReferralMethods.d.ts +1 -1
- package/dist/libraries/react/client/types/clientAttachTypes.d.mts +9 -0
- package/dist/libraries/react/client/types/clientAttachTypes.d.ts +9 -0
- package/dist/libraries/react/client/types/clientAttachTypes.js +4 -1
- package/dist/libraries/react/client/types/clientAttachTypes.mjs +4 -1
- package/dist/libraries/react/client/types/clientGenTypes.js +4 -1
- package/dist/libraries/react/client/types/clientGenTypes.mjs +1 -1
- package/dist/libraries/react/components/{attach-dialog/attach-dialog-synced.d.mts → checkout-dialog/checkout-dialog-synced.d.mts} +3 -3
- package/dist/libraries/react/components/{attach-dialog/attach-dialog-synced.d.ts → checkout-dialog/checkout-dialog-synced.d.ts} +3 -3
- package/dist/libraries/react/components/{attach-dialog/attach-dialog-synced.js → checkout-dialog/checkout-dialog-synced.js} +16 -13
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +55 -0
- package/dist/libraries/react/components/{attach-dialog/lib/attach-content.d.mts → checkout-dialog/lib/checkout-content.d.mts} +2 -2
- package/dist/libraries/react/components/{attach-dialog/lib/attach-content.d.ts → checkout-dialog/lib/checkout-content.d.ts} +2 -2
- package/dist/libraries/react/components/{attach-dialog/lib/attach-content.js → checkout-dialog/lib/checkout-content.js} +7 -7
- package/dist/libraries/react/components/checkout-dialog/lib/checkout-content.mjs +8 -0
- package/dist/libraries/react/components/{check-dialog/lib/check-content.d.mts → paywall-dialog/lib/paywall-content.d.mts} +2 -2
- package/dist/libraries/react/components/{check-dialog/lib/check-content.d.ts → paywall-dialog/lib/paywall-content.d.ts} +2 -2
- package/dist/libraries/react/components/{check-dialog/lib/check-content.js → paywall-dialog/lib/paywall-content.js} +7 -7
- package/dist/libraries/react/components/paywall-dialog/lib/paywall-content.mjs +8 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.d.mts +11 -0
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.d.ts +11 -0
- package/dist/libraries/react/components/{check-dialog/check-dialog-synced.js → paywall-dialog/paywall-dialog-synced.js} +17 -14
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +51 -0
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.js +12 -9
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +29 -29
- package/dist/libraries/react/components/ui/accordion.mjs +3 -3
- package/dist/libraries/react/components/ui/button.d.mts +1 -1
- package/dist/libraries/react/components/ui/button.d.ts +1 -1
- package/dist/libraries/react/components/ui/dialog.mjs +4 -4
- package/dist/libraries/react/components/ui/popover.mjs +5 -5
- package/dist/libraries/react/components/ui/switch.mjs +3 -3
- package/dist/libraries/react/hooks/helpers/handleCheck.d.mts +1 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.d.ts +1 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.js +4 -1
- package/dist/libraries/react/hooks/helpers/handleCheck.mjs +2 -2
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.mts +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.d.ts +1 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.js +4 -1
- package/dist/libraries/react/hooks/helpers/useAutumnBase.mjs +3 -3
- package/dist/libraries/react/hooks/useAnalytics.js +4 -1
- package/dist/libraries/react/hooks/useAnalytics.mjs +6 -6
- package/dist/libraries/react/hooks/useCustomer.d.mts +1 -1
- package/dist/libraries/react/hooks/useCustomer.d.ts +1 -1
- package/dist/libraries/react/hooks/useCustomer.js +4 -1
- package/dist/libraries/react/hooks/useCustomer.mjs +10 -10
- package/dist/libraries/react/hooks/useCustomerBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useCustomerBase.d.ts +1 -1
- package/dist/libraries/react/hooks/useCustomerBase.js +4 -1
- package/dist/libraries/react/hooks/useCustomerBase.mjs +9 -9
- package/dist/libraries/react/hooks/useEntity.d.mts +2 -2
- package/dist/libraries/react/hooks/useEntity.d.ts +2 -2
- package/dist/libraries/react/hooks/useEntity.js +4 -1
- package/dist/libraries/react/hooks/useEntity.mjs +10 -10
- package/dist/libraries/react/hooks/useEntityBase.d.mts +3 -3
- package/dist/libraries/react/hooks/useEntityBase.d.ts +3 -3
- package/dist/libraries/react/hooks/useEntityBase.js +4 -1
- package/dist/libraries/react/hooks/useEntityBase.mjs +9 -9
- package/dist/libraries/react/hooks/usePaywall.js +4 -1
- package/dist/libraries/react/hooks/usePaywall.mjs +6 -6
- package/dist/libraries/react/hooks/usePricingTable.js +4 -1
- package/dist/libraries/react/hooks/usePricingTable.mjs +7 -7
- package/dist/libraries/react/hooks/usePricingTableBase.d.mts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.d.ts +1 -1
- package/dist/libraries/react/hooks/usePricingTableBase.js +4 -1
- package/dist/libraries/react/hooks/usePricingTableBase.mjs +2 -2
- package/dist/libraries/react/hooks/useProductsBase.d.mts +1 -1
- package/dist/libraries/react/hooks/useProductsBase.d.ts +1 -1
- package/dist/libraries/react/index.d.mts +14 -5
- package/dist/libraries/react/index.d.ts +14 -5
- package/dist/libraries/react/index.js +20 -17
- package/dist/libraries/react/index.mjs +18 -15
- package/dist/next/client/NextAutumnClient.d.mts +4 -1
- package/dist/next/client/NextAutumnClient.d.ts +4 -1
- package/dist/next/client/{clientAttachTypes-_7AHAf_0.d.mts → clientAttachTypes-BkPjc5Md.d.mts} +9 -0
- package/dist/next/client/{clientAttachTypes-BX0Fu041.d.ts → clientAttachTypes-CTlrbiN0.d.ts} +9 -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/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 +28 -19
- package/dist/next/server/cusActions.d.ts +28 -19
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/dist/sdk/index.d.mts +19 -10
- package/dist/sdk/index.d.ts +19 -10
- package/dist/sdk/index.js +4 -1
- package/dist/sdk/index.mjs +4 -1
- package/dist/utils/encryptUtils.js +4 -1
- package/dist/utils/encryptUtils.mjs +4 -1
- package/package.json +1 -1
- package/dist/libraries/react/components/attach-dialog/attach-dialog-synced.mjs +0 -55
- package/dist/libraries/react/components/attach-dialog/lib/attach-content.mjs +0 -8
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.mts +0 -11
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.d.ts +0 -11
- package/dist/libraries/react/components/check-dialog/check-dialog-synced.mjs +0 -51
- package/dist/libraries/react/components/check-dialog/lib/check-content.mjs +0 -8
- package/dist/libraries/react/{chunk-KWNH6C27.mjs → chunk-7TYAAD2T.mjs} +11 -11
- package/dist/libraries/react/components/{attach-dialog/attach-dialog-synced.css → checkout-dialog/checkout-dialog-synced.css} +0 -0
- package/dist/libraries/react/components/{check-dialog/check-dialog-synced.css → paywall-dialog/paywall-dialog-synced.css} +0 -0
- package/dist/next/server/{cusTypes-DNT0aDSN.d.ts → cusTypes-wfx--BDG.d.mts} +2 -2
- package/dist/next/server/{cusTypes-DNT0aDSN.d.mts → cusTypes-wfx--BDG.d.ts} +2 -2
|
@@ -130,13 +130,13 @@ declare const autumn: (options?: {
|
|
|
130
130
|
attach: {
|
|
131
131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
132
132
|
body: {
|
|
133
|
+
entity_id?: string | undefined;
|
|
133
134
|
options?: {
|
|
134
135
|
feature_id: string;
|
|
135
136
|
quantity: number;
|
|
136
137
|
}[] | undefined;
|
|
137
138
|
metadata?: Record<string, string> | undefined;
|
|
138
139
|
product_id?: string | undefined;
|
|
139
|
-
entity_id?: string | undefined;
|
|
140
140
|
product_ids?: string[] | undefined;
|
|
141
141
|
free_trial?: boolean | undefined;
|
|
142
142
|
success_url?: string | undefined;
|
|
@@ -210,13 +210,13 @@ declare const autumn: (options?: {
|
|
|
210
210
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
211
211
|
reward: z.ZodOptional<z.ZodString>;
|
|
212
212
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
213
|
+
entity_id?: string | undefined;
|
|
213
214
|
options?: {
|
|
214
215
|
feature_id: string;
|
|
215
216
|
quantity: number;
|
|
216
217
|
}[] | undefined;
|
|
217
218
|
metadata?: Record<string, string> | undefined;
|
|
218
219
|
product_id?: string | undefined;
|
|
219
|
-
entity_id?: string | undefined;
|
|
220
220
|
product_ids?: string[] | undefined;
|
|
221
221
|
free_trial?: boolean | undefined;
|
|
222
222
|
success_url?: string | undefined;
|
|
@@ -230,13 +230,13 @@ declare const autumn: (options?: {
|
|
|
230
230
|
checkout_session_params?: Record<string, any> | undefined;
|
|
231
231
|
reward?: string | undefined;
|
|
232
232
|
}, {
|
|
233
|
+
entity_id?: string | undefined;
|
|
233
234
|
options?: {
|
|
234
235
|
feature_id: string;
|
|
235
236
|
quantity: number;
|
|
236
237
|
}[] | undefined;
|
|
237
238
|
metadata?: Record<string, string> | undefined;
|
|
238
239
|
product_id?: string | undefined;
|
|
239
|
-
entity_id?: string | undefined;
|
|
240
240
|
product_ids?: string[] | undefined;
|
|
241
241
|
free_trial?: boolean | undefined;
|
|
242
242
|
success_url?: string | undefined;
|
|
@@ -281,15 +281,15 @@ declare const autumn: (options?: {
|
|
|
281
281
|
check: {
|
|
282
282
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
283
283
|
body: {
|
|
284
|
-
product_id?: string | undefined;
|
|
285
|
-
entity_id?: string | undefined;
|
|
286
284
|
feature_id?: string | undefined;
|
|
285
|
+
entity_id?: string | undefined;
|
|
286
|
+
required_balance?: number | undefined;
|
|
287
|
+
product_id?: string | undefined;
|
|
287
288
|
customer_data?: any;
|
|
288
289
|
entity_data?: {
|
|
289
290
|
feature_id: string;
|
|
290
291
|
name?: string | undefined;
|
|
291
292
|
} | undefined;
|
|
292
|
-
required_balance?: number | undefined;
|
|
293
293
|
send_event?: boolean | undefined;
|
|
294
294
|
with_preview?: boolean | undefined;
|
|
295
295
|
};
|
|
@@ -337,27 +337,27 @@ declare const autumn: (options?: {
|
|
|
337
337
|
name?: string | undefined;
|
|
338
338
|
}>>;
|
|
339
339
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
340
|
-
product_id?: string | undefined;
|
|
341
|
-
entity_id?: string | undefined;
|
|
342
340
|
feature_id?: string | undefined;
|
|
341
|
+
entity_id?: string | undefined;
|
|
342
|
+
required_balance?: number | undefined;
|
|
343
|
+
product_id?: string | undefined;
|
|
343
344
|
customer_data?: any;
|
|
344
345
|
entity_data?: {
|
|
345
346
|
feature_id: string;
|
|
346
347
|
name?: string | undefined;
|
|
347
348
|
} | undefined;
|
|
348
|
-
required_balance?: number | undefined;
|
|
349
349
|
send_event?: boolean | undefined;
|
|
350
350
|
with_preview?: boolean | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
product_id?: string | undefined;
|
|
353
|
-
entity_id?: string | undefined;
|
|
354
352
|
feature_id?: string | undefined;
|
|
353
|
+
entity_id?: string | undefined;
|
|
354
|
+
required_balance?: number | undefined;
|
|
355
|
+
product_id?: string | undefined;
|
|
355
356
|
customer_data?: any;
|
|
356
357
|
entity_data?: {
|
|
357
358
|
feature_id: string;
|
|
358
359
|
name?: string | undefined;
|
|
359
360
|
} | undefined;
|
|
360
|
-
required_balance?: number | undefined;
|
|
361
361
|
send_event?: boolean | undefined;
|
|
362
362
|
with_preview?: boolean | undefined;
|
|
363
363
|
}>;
|
|
@@ -392,9 +392,9 @@ declare const autumn: (options?: {
|
|
|
392
392
|
track: {
|
|
393
393
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
394
394
|
body: {
|
|
395
|
-
value?: number | undefined;
|
|
396
|
-
entity_id?: string | undefined;
|
|
397
395
|
feature_id?: string | undefined;
|
|
396
|
+
entity_id?: string | undefined;
|
|
397
|
+
value?: number | undefined;
|
|
398
398
|
customer_data?: any;
|
|
399
399
|
entity_data?: any;
|
|
400
400
|
event_name?: string | undefined;
|
|
@@ -434,17 +434,17 @@ declare const autumn: (options?: {
|
|
|
434
434
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
435
435
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
436
436
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
437
|
-
value?: number | undefined;
|
|
438
|
-
entity_id?: string | undefined;
|
|
439
437
|
feature_id?: string | undefined;
|
|
438
|
+
entity_id?: string | undefined;
|
|
439
|
+
value?: number | undefined;
|
|
440
440
|
customer_data?: any;
|
|
441
441
|
entity_data?: any;
|
|
442
442
|
event_name?: string | undefined;
|
|
443
443
|
idempotency_key?: string | undefined;
|
|
444
444
|
}, {
|
|
445
|
-
value?: number | undefined;
|
|
446
|
-
entity_id?: string | undefined;
|
|
447
445
|
feature_id?: string | undefined;
|
|
446
|
+
entity_id?: string | undefined;
|
|
447
|
+
value?: number | undefined;
|
|
448
448
|
customer_data?: any;
|
|
449
449
|
entity_data?: any;
|
|
450
450
|
event_name?: string | undefined;
|
|
@@ -130,13 +130,13 @@ declare const autumn: (options?: {
|
|
|
130
130
|
attach: {
|
|
131
131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
132
132
|
body: {
|
|
133
|
+
entity_id?: string | undefined;
|
|
133
134
|
options?: {
|
|
134
135
|
feature_id: string;
|
|
135
136
|
quantity: number;
|
|
136
137
|
}[] | undefined;
|
|
137
138
|
metadata?: Record<string, string> | undefined;
|
|
138
139
|
product_id?: string | undefined;
|
|
139
|
-
entity_id?: string | undefined;
|
|
140
140
|
product_ids?: string[] | undefined;
|
|
141
141
|
free_trial?: boolean | undefined;
|
|
142
142
|
success_url?: string | undefined;
|
|
@@ -210,13 +210,13 @@ declare const autumn: (options?: {
|
|
|
210
210
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
211
211
|
reward: z.ZodOptional<z.ZodString>;
|
|
212
212
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
213
|
+
entity_id?: string | undefined;
|
|
213
214
|
options?: {
|
|
214
215
|
feature_id: string;
|
|
215
216
|
quantity: number;
|
|
216
217
|
}[] | undefined;
|
|
217
218
|
metadata?: Record<string, string> | undefined;
|
|
218
219
|
product_id?: string | undefined;
|
|
219
|
-
entity_id?: string | undefined;
|
|
220
220
|
product_ids?: string[] | undefined;
|
|
221
221
|
free_trial?: boolean | undefined;
|
|
222
222
|
success_url?: string | undefined;
|
|
@@ -230,13 +230,13 @@ declare const autumn: (options?: {
|
|
|
230
230
|
checkout_session_params?: Record<string, any> | undefined;
|
|
231
231
|
reward?: string | undefined;
|
|
232
232
|
}, {
|
|
233
|
+
entity_id?: string | undefined;
|
|
233
234
|
options?: {
|
|
234
235
|
feature_id: string;
|
|
235
236
|
quantity: number;
|
|
236
237
|
}[] | undefined;
|
|
237
238
|
metadata?: Record<string, string> | undefined;
|
|
238
239
|
product_id?: string | undefined;
|
|
239
|
-
entity_id?: string | undefined;
|
|
240
240
|
product_ids?: string[] | undefined;
|
|
241
241
|
free_trial?: boolean | undefined;
|
|
242
242
|
success_url?: string | undefined;
|
|
@@ -281,15 +281,15 @@ declare const autumn: (options?: {
|
|
|
281
281
|
check: {
|
|
282
282
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
283
283
|
body: {
|
|
284
|
-
product_id?: string | undefined;
|
|
285
|
-
entity_id?: string | undefined;
|
|
286
284
|
feature_id?: string | undefined;
|
|
285
|
+
entity_id?: string | undefined;
|
|
286
|
+
required_balance?: number | undefined;
|
|
287
|
+
product_id?: string | undefined;
|
|
287
288
|
customer_data?: any;
|
|
288
289
|
entity_data?: {
|
|
289
290
|
feature_id: string;
|
|
290
291
|
name?: string | undefined;
|
|
291
292
|
} | undefined;
|
|
292
|
-
required_balance?: number | undefined;
|
|
293
293
|
send_event?: boolean | undefined;
|
|
294
294
|
with_preview?: boolean | undefined;
|
|
295
295
|
};
|
|
@@ -337,27 +337,27 @@ declare const autumn: (options?: {
|
|
|
337
337
|
name?: string | undefined;
|
|
338
338
|
}>>;
|
|
339
339
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
340
|
-
product_id?: string | undefined;
|
|
341
|
-
entity_id?: string | undefined;
|
|
342
340
|
feature_id?: string | undefined;
|
|
341
|
+
entity_id?: string | undefined;
|
|
342
|
+
required_balance?: number | undefined;
|
|
343
|
+
product_id?: string | undefined;
|
|
343
344
|
customer_data?: any;
|
|
344
345
|
entity_data?: {
|
|
345
346
|
feature_id: string;
|
|
346
347
|
name?: string | undefined;
|
|
347
348
|
} | undefined;
|
|
348
|
-
required_balance?: number | undefined;
|
|
349
349
|
send_event?: boolean | undefined;
|
|
350
350
|
with_preview?: boolean | undefined;
|
|
351
351
|
}, {
|
|
352
|
-
product_id?: string | undefined;
|
|
353
|
-
entity_id?: string | undefined;
|
|
354
352
|
feature_id?: string | undefined;
|
|
353
|
+
entity_id?: string | undefined;
|
|
354
|
+
required_balance?: number | undefined;
|
|
355
|
+
product_id?: string | undefined;
|
|
355
356
|
customer_data?: any;
|
|
356
357
|
entity_data?: {
|
|
357
358
|
feature_id: string;
|
|
358
359
|
name?: string | undefined;
|
|
359
360
|
} | undefined;
|
|
360
|
-
required_balance?: number | undefined;
|
|
361
361
|
send_event?: boolean | undefined;
|
|
362
362
|
with_preview?: boolean | undefined;
|
|
363
363
|
}>;
|
|
@@ -392,9 +392,9 @@ declare const autumn: (options?: {
|
|
|
392
392
|
track: {
|
|
393
393
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
394
394
|
body: {
|
|
395
|
-
value?: number | undefined;
|
|
396
|
-
entity_id?: string | undefined;
|
|
397
395
|
feature_id?: string | undefined;
|
|
396
|
+
entity_id?: string | undefined;
|
|
397
|
+
value?: number | undefined;
|
|
398
398
|
customer_data?: any;
|
|
399
399
|
entity_data?: any;
|
|
400
400
|
event_name?: string | undefined;
|
|
@@ -434,17 +434,17 @@ declare const autumn: (options?: {
|
|
|
434
434
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
435
435
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
436
436
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
437
|
-
value?: number | undefined;
|
|
438
|
-
entity_id?: string | undefined;
|
|
439
437
|
feature_id?: string | undefined;
|
|
438
|
+
entity_id?: string | undefined;
|
|
439
|
+
value?: number | undefined;
|
|
440
440
|
customer_data?: any;
|
|
441
441
|
entity_data?: any;
|
|
442
442
|
event_name?: string | undefined;
|
|
443
443
|
idempotency_key?: string | undefined;
|
|
444
444
|
}, {
|
|
445
|
-
value?: number | undefined;
|
|
446
|
-
entity_id?: string | undefined;
|
|
447
445
|
feature_id?: string | undefined;
|
|
446
|
+
entity_id?: string | undefined;
|
|
447
|
+
value?: number | undefined;
|
|
448
448
|
customer_data?: any;
|
|
449
449
|
entity_data?: any;
|
|
450
450
|
event_name?: string | undefined;
|
|
@@ -690,9 +690,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
690
690
|
customer_id: import_zod7.z.string(),
|
|
691
691
|
product_id: import_zod7.z.string(),
|
|
692
692
|
entity_id: import_zod7.z.string().optional(),
|
|
693
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
693
694
|
success_url: import_zod7.z.string().optional(),
|
|
694
695
|
customer_data: CustomerDataSchema.optional(),
|
|
695
|
-
|
|
696
|
+
entity_data: import_zod7.z.any().optional(),
|
|
697
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
698
|
+
reward: import_zod7.z.string().optional()
|
|
696
699
|
});
|
|
697
700
|
|
|
698
701
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -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-RZCIKER6.mjs";
|
|
7
|
+
import "./chunk-FV6S6G2B.mjs";
|
|
8
|
+
import "./chunk-VJTYMTEE.mjs";
|
|
9
|
+
import "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import "./chunk-CZIMXJXT.mjs";
|
|
11
|
+
import "./chunk-SLHP34YX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
AttachParamsSchema,
|
|
14
14
|
Autumn,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
CustomerExpandEnum,
|
|
20
20
|
RedeemReferralCodeParamsSchema,
|
|
21
21
|
TrackParamsSchema
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
23
23
|
import "./chunk-2TEL6LR5.mjs";
|
|
24
24
|
import "./chunk-KSG3E4Q2.mjs";
|
|
25
25
|
|
|
@@ -627,9 +627,12 @@ var CheckoutParamsSchema = z7.object({
|
|
|
627
627
|
customer_id: z7.string(),
|
|
628
628
|
product_id: z7.string(),
|
|
629
629
|
entity_id: z7.string().optional(),
|
|
630
|
+
options: z7.array(AttachFeatureOptionsSchema).optional(),
|
|
630
631
|
success_url: z7.string().optional(),
|
|
631
632
|
customer_data: CustomerDataSchema.optional(),
|
|
632
|
-
|
|
633
|
+
entity_data: z7.any().optional(),
|
|
634
|
+
checkout_session_params: z7.record(z7.any()).optional(),
|
|
635
|
+
reward: z7.string().optional()
|
|
633
636
|
});
|
|
634
637
|
|
|
635
638
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import {
|
|
2
|
-
addGenRoutes
|
|
3
|
-
} from "./chunk-AHC5CF27.mjs";
|
|
4
|
-
import {
|
|
5
|
-
addProductRoutes
|
|
6
|
-
} from "./chunk-AE3ATQW3.mjs";
|
|
7
1
|
import {
|
|
8
2
|
addReferralRoutes
|
|
9
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-FV6S6G2B.mjs";
|
|
10
4
|
import {
|
|
11
5
|
addEntityRoutes
|
|
12
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-VJTYMTEE.mjs";
|
|
7
|
+
import {
|
|
8
|
+
addGenRoutes
|
|
9
|
+
} from "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import {
|
|
11
|
+
addProductRoutes
|
|
12
|
+
} from "./chunk-CZIMXJXT.mjs";
|
|
13
13
|
import {
|
|
14
14
|
withAuth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-SLHP34YX.mjs";
|
|
16
16
|
import {
|
|
17
17
|
fetchPricingTable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
19
19
|
import {
|
|
20
20
|
BASE_PATH
|
|
21
21
|
} from "./chunk-KSG3E4Q2.mjs";
|
|
@@ -687,9 +687,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
687
687
|
customer_id: import_zod7.z.string(),
|
|
688
688
|
product_id: import_zod7.z.string(),
|
|
689
689
|
entity_id: import_zod7.z.string().optional(),
|
|
690
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
690
691
|
success_url: import_zod7.z.string().optional(),
|
|
691
692
|
customer_data: CustomerDataSchema.optional(),
|
|
692
|
-
|
|
693
|
+
entity_data: import_zod7.z.any().optional(),
|
|
694
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
695
|
+
reward: import_zod7.z.string().optional()
|
|
693
696
|
});
|
|
694
697
|
|
|
695
698
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -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-RZCIKER6.mjs";
|
|
7
|
+
import "./chunk-FV6S6G2B.mjs";
|
|
8
|
+
import "./chunk-VJTYMTEE.mjs";
|
|
9
|
+
import "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import "./chunk-CZIMXJXT.mjs";
|
|
11
|
+
import "./chunk-SLHP34YX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import "./chunk-KSG3E4Q2.mjs";
|
|
17
17
|
|
|
@@ -688,9 +688,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
688
688
|
customer_id: import_zod7.z.string(),
|
|
689
689
|
product_id: import_zod7.z.string(),
|
|
690
690
|
entity_id: import_zod7.z.string().optional(),
|
|
691
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
691
692
|
success_url: import_zod7.z.string().optional(),
|
|
692
693
|
customer_data: CustomerDataSchema.optional(),
|
|
693
|
-
|
|
694
|
+
entity_data: import_zod7.z.any().optional(),
|
|
695
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
696
|
+
reward: import_zod7.z.string().optional()
|
|
694
697
|
});
|
|
695
698
|
|
|
696
699
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -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-RZCIKER6.mjs";
|
|
7
|
+
import "./chunk-FV6S6G2B.mjs";
|
|
8
|
+
import "./chunk-VJTYMTEE.mjs";
|
|
9
|
+
import "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import "./chunk-CZIMXJXT.mjs";
|
|
11
|
+
import "./chunk-SLHP34YX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -688,9 +688,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
688
688
|
customer_id: import_zod7.z.string(),
|
|
689
689
|
product_id: import_zod7.z.string(),
|
|
690
690
|
entity_id: import_zod7.z.string().optional(),
|
|
691
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
691
692
|
success_url: import_zod7.z.string().optional(),
|
|
692
693
|
customer_data: CustomerDataSchema.optional(),
|
|
693
|
-
|
|
694
|
+
entity_data: import_zod7.z.any().optional(),
|
|
695
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
696
|
+
reward: import_zod7.z.string().optional()
|
|
694
697
|
});
|
|
695
698
|
|
|
696
699
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -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-RZCIKER6.mjs";
|
|
7
|
+
import "./chunk-FV6S6G2B.mjs";
|
|
8
|
+
import "./chunk-VJTYMTEE.mjs";
|
|
9
|
+
import "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import "./chunk-CZIMXJXT.mjs";
|
|
11
|
+
import "./chunk-SLHP34YX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -688,9 +688,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
688
688
|
customer_id: import_zod7.z.string(),
|
|
689
689
|
product_id: import_zod7.z.string(),
|
|
690
690
|
entity_id: import_zod7.z.string().optional(),
|
|
691
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
691
692
|
success_url: import_zod7.z.string().optional(),
|
|
692
693
|
customer_data: CustomerDataSchema.optional(),
|
|
693
|
-
|
|
694
|
+
entity_data: import_zod7.z.any().optional(),
|
|
695
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
696
|
+
reward: import_zod7.z.string().optional()
|
|
694
697
|
});
|
|
695
698
|
|
|
696
699
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -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-RZCIKER6.mjs";
|
|
7
|
+
import "./chunk-FV6S6G2B.mjs";
|
|
8
|
+
import "./chunk-VJTYMTEE.mjs";
|
|
9
|
+
import "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import "./chunk-CZIMXJXT.mjs";
|
|
11
|
+
import "./chunk-SLHP34YX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -688,9 +688,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
688
688
|
customer_id: import_zod7.z.string(),
|
|
689
689
|
product_id: import_zod7.z.string(),
|
|
690
690
|
entity_id: import_zod7.z.string().optional(),
|
|
691
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
691
692
|
success_url: import_zod7.z.string().optional(),
|
|
692
693
|
customer_data: CustomerDataSchema.optional(),
|
|
693
|
-
|
|
694
|
+
entity_data: import_zod7.z.any().optional(),
|
|
695
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
696
|
+
reward: import_zod7.z.string().optional()
|
|
694
697
|
});
|
|
695
698
|
|
|
696
699
|
// src/libraries/backend/utils/backendRes.ts
|
|
@@ -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-RZCIKER6.mjs";
|
|
7
|
+
import "./chunk-FV6S6G2B.mjs";
|
|
8
|
+
import "./chunk-VJTYMTEE.mjs";
|
|
9
|
+
import "./chunk-5OVGQBAX.mjs";
|
|
10
|
+
import "./chunk-CZIMXJXT.mjs";
|
|
11
|
+
import "./chunk-SLHP34YX.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-BBXZMPWZ.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -688,9 +688,12 @@ var CheckoutParamsSchema = import_zod7.z.object({
|
|
|
688
688
|
customer_id: import_zod7.z.string(),
|
|
689
689
|
product_id: import_zod7.z.string(),
|
|
690
690
|
entity_id: import_zod7.z.string().optional(),
|
|
691
|
+
options: import_zod7.z.array(AttachFeatureOptionsSchema).optional(),
|
|
691
692
|
success_url: import_zod7.z.string().optional(),
|
|
692
693
|
customer_data: CustomerDataSchema.optional(),
|
|
693
|
-
|
|
694
|
+
entity_data: import_zod7.z.any().optional(),
|
|
695
|
+
checkout_session_params: import_zod7.z.record(import_zod7.z.any()).optional(),
|
|
696
|
+
reward: import_zod7.z.string().optional()
|
|
694
697
|
});
|
|
695
698
|
|
|
696
699
|
// src/libraries/backend/utils/backendRes.ts
|