autumn-js 0.1.2 → 0.1.4
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 -30
- package/dist/libraries/backend/better-auth.d.ts +30 -30
- package/dist/libraries/backend/better-auth.js +2 -2
- package/dist/libraries/backend/better-auth.mjs +7 -7
- package/dist/libraries/backend/{chunk-KYMRM3HV.mjs → chunk-3HEVKGSY.mjs} +1 -1
- package/dist/libraries/backend/{chunk-JARFSM7F.mjs → chunk-7Z2OYXN4.mjs} +1 -1
- package/dist/libraries/backend/{chunk-F4A665AR.mjs → chunk-NTPYEOME.mjs} +1 -1
- package/dist/libraries/backend/{chunk-UZ7WFRWB.mjs → chunk-P6KFNVAM.mjs} +6 -6
- package/dist/libraries/backend/{chunk-GVPYJINB.mjs → chunk-QVLMREDB.mjs} +1 -1
- package/dist/libraries/backend/{chunk-LYDMLZB7.mjs → chunk-TTNUEXHB.mjs} +2 -2
- package/dist/libraries/backend/{chunk-IG3DW6CW.mjs → chunk-Y63QWBQ6.mjs} +1 -1
- package/dist/libraries/backend/convex.js +2 -2
- package/dist/libraries/backend/convex.mjs +7 -7
- package/dist/libraries/backend/elysia.js +2 -2
- 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 -2
- package/dist/libraries/backend/express.mjs +7 -7
- package/dist/libraries/backend/fastify.js +2 -2
- package/dist/libraries/backend/fastify.mjs +7 -7
- package/dist/libraries/backend/hono.js +2 -2
- 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 -2
- package/dist/libraries/backend/index.mjs +7 -7
- package/dist/libraries/backend/next.js +2 -2
- package/dist/libraries/backend/next.mjs +7 -7
- package/dist/libraries/backend/react-router.js +2 -2
- package/dist/libraries/backend/react-router.mjs +7 -7
- package/dist/libraries/backend/{referralTypes-C4KG2r29.d.ts → referralTypes-B0_fYSI3.d.ts} +47 -47
- package/dist/libraries/backend/{referralTypes-DA9Hp6Bm.d.mts → referralTypes-CYvuZZeF.d.mts} +47 -47
- package/dist/libraries/backend/remix_dep.js +2 -2
- package/dist/libraries/backend/remix_dep.mjs +7 -7
- package/dist/libraries/backend/routes/backendRouter.js +2 -2
- package/dist/libraries/backend/routes/backendRouter.mjs +7 -7
- package/dist/libraries/backend/routes/entityRoutes.js +2 -2
- package/dist/libraries/backend/routes/entityRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/genRoutes.js +2 -2
- package/dist/libraries/backend/routes/genRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/productRoutes.js +2 -2
- package/dist/libraries/backend/routes/productRoutes.mjs +3 -3
- package/dist/libraries/backend/routes/referralRoutes.js +2 -2
- package/dist/libraries/backend/routes/referralRoutes.mjs +3 -3
- package/dist/libraries/backend/supabase.js +2 -2
- package/dist/libraries/backend/supabase.mjs +7 -7
- package/dist/libraries/backend/tanstack.js +2 -2
- package/dist/libraries/backend/tanstack.mjs +7 -7
- package/dist/libraries/backend/utils/backendRes.js +2 -2
- 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 -2
- 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 +2 -2
- package/dist/libraries/react/AutumnContext.mjs +5 -5
- 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 -3
- package/dist/libraries/react/BaseAutumnProvider.mjs +10 -10
- package/dist/libraries/react/{ReactAutumnClient-DM5ZRTfX.d.ts → ReactAutumnClient-Dk1xLBOC.d.ts} +5 -5
- package/dist/libraries/react/{ReactAutumnClient-BHjd9Tw5.d.mts → ReactAutumnClient-b59cM6db.d.mts} +5 -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 -3
- package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
- package/dist/libraries/react/{attachTypes-Bz1_JTvk.d.ts → attachTypes-CcB6xjSF.d.ts} +1 -1
- package/dist/{next/client/attachTypes-CAvqbMDV.d.mts → libraries/react/attachTypes-DqUN3q8s.d.mts} +5 -5
- package/dist/libraries/react/{chunk-GKHVCED5.mjs → chunk-5X73Q4YJ.mjs} +2 -2
- package/dist/libraries/react/{chunk-NOUNCJRC.mjs → chunk-6TQS3YV6.mjs} +2 -2
- package/dist/libraries/react/{chunk-C5OYITSR.mjs → chunk-7AJBRRXV.mjs} +2 -2
- package/dist/libraries/react/{chunk-KIKDDSHG.mjs → chunk-ADKXC74U.mjs} +448 -450
- package/dist/libraries/react/{chunk-4V7CDINI.mjs → chunk-AXQT5O4P.mjs} +3 -3
- package/dist/libraries/react/{chunk-S75NZSTG.mjs → chunk-EFRTEIEY.mjs} +7 -7
- package/dist/libraries/react/{chunk-SRYI4NMF.mjs → chunk-EK2RMWXP.mjs} +2 -2
- package/dist/libraries/react/{chunk-5K2M3CQZ.mjs → chunk-FEISQQNM.mjs} +1 -1
- package/dist/libraries/react/{chunk-BXMZYHE7.mjs → chunk-FJWZPMWU.mjs} +3 -3
- package/dist/libraries/react/{chunk-WT5K3J2K.mjs → chunk-I2A7PK2L.mjs} +17 -17
- package/dist/libraries/react/{chunk-JZQQJNF6.mjs → chunk-IUYVVTGM.mjs} +3 -3
- package/dist/libraries/react/{chunk-YCDNQZT5.mjs → chunk-JGDTNJTR.mjs} +2 -2
- package/dist/libraries/react/{chunk-YI6OTBFN.mjs → chunk-K55IHYAQ.mjs} +1 -1
- package/dist/libraries/react/{chunk-M7SUFZ42.mjs → chunk-KUS3X33V.mjs} +1 -1
- package/dist/libraries/react/{chunk-F52BIZ4N.mjs → chunk-KZQPLQR5.mjs} +2 -2
- package/dist/libraries/react/{chunk-G2GXS74H.mjs → chunk-NV52XFEQ.mjs} +3 -3
- package/dist/libraries/react/{chunk-MN66ZM7X.mjs → chunk-OTZ65PCT.mjs} +6 -6
- package/dist/libraries/react/{chunk-B7RO2OAP.mjs → chunk-PLEVZHHH.mjs} +1 -1
- package/dist/libraries/react/{chunk-6D7DZEP5.mjs → chunk-QNIJJHAD.mjs} +2 -2
- package/dist/libraries/react/{chunk-O2GKDKV5.mjs → chunk-SFDHYUHA.mjs} +1 -1
- package/dist/libraries/react/{chunk-JOAOLY2Z.mjs → chunk-W5XUD2S6.mjs} +1 -1
- package/dist/libraries/react/{chunk-KVTXABQL.mjs → chunk-XFNHMA6J.mjs} +1 -1
- package/dist/libraries/react/{chunk-NHDZWWMZ.mjs → chunk-YWQTQ72B.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 +2 -2
- package/dist/libraries/react/client/ReactAutumnClient.mjs +4 -4
- package/dist/libraries/react/client/clientCompMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientCompMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientCusMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientCusMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientEntityMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientEntityMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientGenMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientGenMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientProdMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientProdMethods.d.ts +6 -6
- package/dist/libraries/react/client/clientReferralMethods.d.mts +6 -6
- package/dist/libraries/react/client/clientReferralMethods.d.ts +6 -6
- package/dist/libraries/react/client/types/clientGenTypes.js +2 -2
- package/dist/libraries/react/client/types/clientGenTypes.mjs +1 -1
- 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 +3 -3
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +28 -28
- 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 +2 -2
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +28 -28
- 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 +3 -3
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +28 -28
- 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/{cusTypes-DT-gAUL9.d.mts → cusTypes-CSmAk5io.d.mts} +1 -1
- package/dist/libraries/react/{cusTypes-yJ0fSxbq.d.ts → cusTypes-DHjT-9rV.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-BPdjCunj.d.ts → entTypes-CoF9enrR.d.ts} +1 -1
- package/dist/libraries/react/{entTypes-D79XPrxo.d.mts → entTypes-S4hkh1RG.d.mts} +1 -1
- package/dist/libraries/react/{genTypes-DJUAkD36.d.ts → genTypes-DsiuvyWS.d.ts} +1 -1
- package/dist/libraries/react/{genTypes-BV-Jc6Q1.d.mts → genTypes-fEH_nqSm.d.mts} +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 -2
- 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 +3 -3
- 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 +2 -2
- package/dist/libraries/react/hooks/useAnalytics.mjs +6 -6
- 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 -3
- package/dist/libraries/react/hooks/useCustomer.mjs +10 -10
- 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 -3
- package/dist/libraries/react/hooks/useCustomerBase.mjs +9 -9
- package/dist/libraries/react/hooks/useEntity.d.mts +6 -6
- package/dist/libraries/react/hooks/useEntity.d.ts +6 -6
- package/dist/libraries/react/hooks/useEntity.js +3 -3
- package/dist/libraries/react/hooks/useEntity.mjs +10 -10
- package/dist/libraries/react/hooks/useEntityBase.d.mts +8 -8
- package/dist/libraries/react/hooks/useEntityBase.d.ts +8 -8
- package/dist/libraries/react/hooks/useEntityBase.js +3 -3
- package/dist/libraries/react/hooks/useEntityBase.mjs +9 -9
- 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 +2 -2
- package/dist/libraries/react/hooks/usePaywall.mjs +6 -6
- 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 -3
- package/dist/libraries/react/hooks/usePricingTable.mjs +7 -7
- 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 +3 -3
- 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.js +3 -3
- package/dist/libraries/react/index.mjs +3 -3
- package/dist/libraries/react/{prodTypes-2tlu9Pyz.d.mts → prodTypes--VvnyGlN.d.mts} +1 -1
- package/dist/libraries/react/{prodTypes-2tlu9Pyz.d.ts → prodTypes--VvnyGlN.d.ts} +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +5 -5
- package/dist/next/client/NextAutumnClient.d.ts +5 -5
- package/dist/next/client/NextAutumnProvider.d.mts +2 -2
- package/dist/next/client/NextAutumnProvider.d.ts +2 -2
- package/dist/{libraries/react/attachTypes-C9FJTCo6.d.mts → next/client/attachTypes-9VCTaz0m.d.mts} +5 -5
- package/dist/next/client/{attachTypes-zg5EhNcS.d.ts → attachTypes-DLxEa_Wj.d.ts} +1 -1
- package/dist/next/client/{clientAttachTypes-B-zWythK.d.mts → clientAttachTypes-BzsPgggN.d.mts} +1 -1
- package/dist/next/client/{clientAttachTypes-DLh_8bIG.d.ts → clientAttachTypes-umadXlvp.d.ts} +1 -1
- package/dist/next/client/clientUtils.d.mts +3 -3
- package/dist/next/client/clientUtils.d.ts +3 -3
- package/dist/next/client/{cusTypes-XE8bnuf2.d.mts → cusTypes-CIGvysWL.d.mts} +3 -3
- package/dist/next/client/{cusTypes-Crh2qzWb.d.ts → cusTypes-CYojUJSJ.d.ts} +3 -3
- package/dist/next/client/{entTypes-sKOZyw0N.d.ts → entTypes-BAD1NMvb.d.ts} +1 -1
- package/dist/next/client/{entTypes-BcoGsNYC.d.mts → entTypes-mOI7WnPZ.d.mts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +4 -4
- package/dist/next/client/hooks/useAutumn.d.ts +4 -4
- package/dist/next/client/hooks/useCustomer.d.mts +5 -5
- package/dist/next/client/hooks/useCustomer.d.ts +5 -5
- package/dist/next/client/hooks/useEntity.d.mts +4 -4
- package/dist/next/client/hooks/useEntity.d.ts +4 -4
- package/dist/next/client/hooks/usePricingTable.d.mts +1 -1
- package/dist/next/client/hooks/usePricingTable.d.ts +1 -1
- package/dist/next/client/types.d.mts +3 -3
- package/dist/next/client/types.d.ts +3 -3
- package/dist/next/server/auth/withNextAuth.d.mts +1 -1
- package/dist/next/server/auth/withNextAuth.d.ts +1 -1
- package/dist/next/server/componentActions.d.mts +1 -1
- package/dist/next/server/componentActions.d.ts +1 -1
- package/dist/next/server/cusActions.d.mts +1 -1
- package/dist/next/server/cusActions.d.ts +1 -1
- package/dist/next/server/{cusTypes-DUjCLJ7f.d.ts → cusTypes-DgoOZMIt.d.mts} +6 -6
- package/dist/next/server/{cusTypes-DUjCLJ7f.d.mts → cusTypes-DgoOZMIt.d.ts} +6 -6
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/dist/sdk/index.d.mts +6 -6
- package/dist/sdk/index.d.ts +6 -6
- package/dist/sdk/index.js +2 -2
- package/dist/sdk/index.mjs +2 -2
- package/dist/utils/encryptUtils.js +2 -2
- package/dist/utils/encryptUtils.mjs +2 -2
- package/package.json +1 -1
- package/dist/libraries/react/{chunk-KWNH6C27.mjs → chunk-7TYAAD2T.mjs} +11 -11
- package/dist/next/client/{prodTypes-CER0agHK.d.mts → prodTypes-CxvB1YY3.d.mts} +2 -2
- package/dist/next/client/{prodTypes-CER0agHK.d.ts → prodTypes-CxvB1YY3.d.ts} +2 -2
|
@@ -131,11 +131,11 @@ declare const autumn: (options?: {
|
|
|
131
131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
132
132
|
body: {
|
|
133
133
|
product_id: string;
|
|
134
|
+
entity_id?: string | undefined;
|
|
134
135
|
options?: {
|
|
135
136
|
feature_id: string;
|
|
136
137
|
quantity: number;
|
|
137
138
|
}[] | undefined;
|
|
138
|
-
entity_id?: string | undefined;
|
|
139
139
|
success_url?: string | undefined;
|
|
140
140
|
customer_data?: {
|
|
141
141
|
name?: string | null | undefined;
|
|
@@ -203,11 +203,11 @@ declare const autumn: (options?: {
|
|
|
203
203
|
reward: z.ZodOptional<z.ZodString>;
|
|
204
204
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
205
205
|
product_id: string;
|
|
206
|
+
entity_id?: string | undefined;
|
|
206
207
|
options?: {
|
|
207
208
|
feature_id: string;
|
|
208
209
|
quantity: number;
|
|
209
210
|
}[] | undefined;
|
|
210
|
-
entity_id?: string | undefined;
|
|
211
211
|
success_url?: string | undefined;
|
|
212
212
|
customer_data?: {
|
|
213
213
|
name?: string | null | undefined;
|
|
@@ -219,11 +219,11 @@ declare const autumn: (options?: {
|
|
|
219
219
|
reward?: string | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
product_id: string;
|
|
222
|
+
entity_id?: string | undefined;
|
|
222
223
|
options?: {
|
|
223
224
|
feature_id: string;
|
|
224
225
|
quantity: number;
|
|
225
226
|
}[] | undefined;
|
|
226
|
-
entity_id?: string | undefined;
|
|
227
227
|
success_url?: string | undefined;
|
|
228
228
|
customer_data?: {
|
|
229
229
|
name?: string | null | undefined;
|
|
@@ -265,14 +265,17 @@ declare const autumn: (options?: {
|
|
|
265
265
|
attach: {
|
|
266
266
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
267
267
|
body: {
|
|
268
|
+
entity_id?: string | undefined;
|
|
268
269
|
options?: {
|
|
269
270
|
feature_id: string;
|
|
270
271
|
quantity: number;
|
|
271
272
|
}[] | undefined;
|
|
272
273
|
metadata?: Record<string, string> | undefined;
|
|
273
274
|
product_id?: string | undefined;
|
|
274
|
-
|
|
275
|
+
product_ids?: string[] | undefined;
|
|
276
|
+
free_trial?: boolean | undefined;
|
|
275
277
|
success_url?: string | undefined;
|
|
278
|
+
force_checkout?: boolean | undefined;
|
|
276
279
|
customer_data?: {
|
|
277
280
|
name?: string | null | undefined;
|
|
278
281
|
email?: string | null | undefined;
|
|
@@ -281,9 +284,6 @@ declare const autumn: (options?: {
|
|
|
281
284
|
entity_data?: any;
|
|
282
285
|
checkout_session_params?: Record<string, any> | undefined;
|
|
283
286
|
reward?: string | undefined;
|
|
284
|
-
product_ids?: string[] | undefined;
|
|
285
|
-
free_trial?: boolean | undefined;
|
|
286
|
-
force_checkout?: boolean | undefined;
|
|
287
287
|
};
|
|
288
288
|
} & {
|
|
289
289
|
method?: "POST" | undefined;
|
|
@@ -345,14 +345,17 @@ declare const autumn: (options?: {
|
|
|
345
345
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
346
346
|
reward: z.ZodOptional<z.ZodString>;
|
|
347
347
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
348
|
+
entity_id?: string | undefined;
|
|
348
349
|
options?: {
|
|
349
350
|
feature_id: string;
|
|
350
351
|
quantity: number;
|
|
351
352
|
}[] | undefined;
|
|
352
353
|
metadata?: Record<string, string> | undefined;
|
|
353
354
|
product_id?: string | undefined;
|
|
354
|
-
|
|
355
|
+
product_ids?: string[] | undefined;
|
|
356
|
+
free_trial?: boolean | undefined;
|
|
355
357
|
success_url?: string | undefined;
|
|
358
|
+
force_checkout?: boolean | undefined;
|
|
356
359
|
customer_data?: {
|
|
357
360
|
name?: string | null | undefined;
|
|
358
361
|
email?: string | null | undefined;
|
|
@@ -361,18 +364,18 @@ declare const autumn: (options?: {
|
|
|
361
364
|
entity_data?: any;
|
|
362
365
|
checkout_session_params?: Record<string, any> | undefined;
|
|
363
366
|
reward?: string | undefined;
|
|
364
|
-
product_ids?: string[] | undefined;
|
|
365
|
-
free_trial?: boolean | undefined;
|
|
366
|
-
force_checkout?: boolean | undefined;
|
|
367
367
|
}, {
|
|
368
|
+
entity_id?: string | undefined;
|
|
368
369
|
options?: {
|
|
369
370
|
feature_id: string;
|
|
370
371
|
quantity: number;
|
|
371
372
|
}[] | undefined;
|
|
372
373
|
metadata?: Record<string, string> | undefined;
|
|
373
374
|
product_id?: string | undefined;
|
|
374
|
-
|
|
375
|
+
product_ids?: string[] | undefined;
|
|
376
|
+
free_trial?: boolean | undefined;
|
|
375
377
|
success_url?: string | undefined;
|
|
378
|
+
force_checkout?: boolean | undefined;
|
|
376
379
|
customer_data?: {
|
|
377
380
|
name?: string | null | undefined;
|
|
378
381
|
email?: string | null | undefined;
|
|
@@ -381,9 +384,6 @@ declare const autumn: (options?: {
|
|
|
381
384
|
entity_data?: any;
|
|
382
385
|
checkout_session_params?: Record<string, any> | undefined;
|
|
383
386
|
reward?: string | undefined;
|
|
384
|
-
product_ids?: string[] | undefined;
|
|
385
|
-
free_trial?: boolean | undefined;
|
|
386
|
-
force_checkout?: boolean | undefined;
|
|
387
387
|
}>;
|
|
388
388
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
389
389
|
session: {
|
|
@@ -416,15 +416,15 @@ declare const autumn: (options?: {
|
|
|
416
416
|
check: {
|
|
417
417
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
418
418
|
body: {
|
|
419
|
-
product_id?: string | undefined;
|
|
420
|
-
entity_id?: string | undefined;
|
|
421
419
|
feature_id?: string | undefined;
|
|
420
|
+
entity_id?: string | undefined;
|
|
421
|
+
required_balance?: number | undefined;
|
|
422
|
+
product_id?: string | undefined;
|
|
422
423
|
customer_data?: any;
|
|
423
424
|
entity_data?: {
|
|
424
425
|
feature_id: string;
|
|
425
426
|
name?: string | undefined;
|
|
426
427
|
} | undefined;
|
|
427
|
-
required_balance?: number | undefined;
|
|
428
428
|
send_event?: boolean | undefined;
|
|
429
429
|
with_preview?: boolean | undefined;
|
|
430
430
|
};
|
|
@@ -472,27 +472,27 @@ declare const autumn: (options?: {
|
|
|
472
472
|
name?: string | undefined;
|
|
473
473
|
}>>;
|
|
474
474
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
475
|
-
product_id?: string | undefined;
|
|
476
|
-
entity_id?: string | undefined;
|
|
477
475
|
feature_id?: string | undefined;
|
|
476
|
+
entity_id?: string | undefined;
|
|
477
|
+
required_balance?: number | undefined;
|
|
478
|
+
product_id?: string | undefined;
|
|
478
479
|
customer_data?: any;
|
|
479
480
|
entity_data?: {
|
|
480
481
|
feature_id: string;
|
|
481
482
|
name?: string | undefined;
|
|
482
483
|
} | undefined;
|
|
483
|
-
required_balance?: number | undefined;
|
|
484
484
|
send_event?: boolean | undefined;
|
|
485
485
|
with_preview?: boolean | undefined;
|
|
486
486
|
}, {
|
|
487
|
-
product_id?: string | undefined;
|
|
488
|
-
entity_id?: string | undefined;
|
|
489
487
|
feature_id?: string | undefined;
|
|
488
|
+
entity_id?: string | undefined;
|
|
489
|
+
required_balance?: number | undefined;
|
|
490
|
+
product_id?: string | undefined;
|
|
490
491
|
customer_data?: any;
|
|
491
492
|
entity_data?: {
|
|
492
493
|
feature_id: string;
|
|
493
494
|
name?: string | undefined;
|
|
494
495
|
} | undefined;
|
|
495
|
-
required_balance?: number | undefined;
|
|
496
496
|
send_event?: boolean | undefined;
|
|
497
497
|
with_preview?: boolean | undefined;
|
|
498
498
|
}>;
|
|
@@ -527,9 +527,9 @@ declare const autumn: (options?: {
|
|
|
527
527
|
track: {
|
|
528
528
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
529
529
|
body: {
|
|
530
|
-
value?: number | undefined;
|
|
531
|
-
entity_id?: string | undefined;
|
|
532
530
|
feature_id?: string | undefined;
|
|
531
|
+
entity_id?: string | undefined;
|
|
532
|
+
value?: number | undefined;
|
|
533
533
|
customer_data?: any;
|
|
534
534
|
entity_data?: any;
|
|
535
535
|
event_name?: string | undefined;
|
|
@@ -569,17 +569,17 @@ declare const autumn: (options?: {
|
|
|
569
569
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
570
570
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
571
571
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
572
|
-
value?: number | undefined;
|
|
573
|
-
entity_id?: string | undefined;
|
|
574
572
|
feature_id?: string | undefined;
|
|
573
|
+
entity_id?: string | undefined;
|
|
574
|
+
value?: number | undefined;
|
|
575
575
|
customer_data?: any;
|
|
576
576
|
entity_data?: any;
|
|
577
577
|
event_name?: string | undefined;
|
|
578
578
|
idempotency_key?: string | undefined;
|
|
579
579
|
}, {
|
|
580
|
-
value?: number | undefined;
|
|
581
|
-
entity_id?: string | undefined;
|
|
582
580
|
feature_id?: string | undefined;
|
|
581
|
+
entity_id?: string | undefined;
|
|
582
|
+
value?: number | undefined;
|
|
583
583
|
customer_data?: any;
|
|
584
584
|
entity_data?: any;
|
|
585
585
|
event_name?: string | undefined;
|
|
@@ -131,11 +131,11 @@ declare const autumn: (options?: {
|
|
|
131
131
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
132
132
|
body: {
|
|
133
133
|
product_id: string;
|
|
134
|
+
entity_id?: string | undefined;
|
|
134
135
|
options?: {
|
|
135
136
|
feature_id: string;
|
|
136
137
|
quantity: number;
|
|
137
138
|
}[] | undefined;
|
|
138
|
-
entity_id?: string | undefined;
|
|
139
139
|
success_url?: string | undefined;
|
|
140
140
|
customer_data?: {
|
|
141
141
|
name?: string | null | undefined;
|
|
@@ -203,11 +203,11 @@ declare const autumn: (options?: {
|
|
|
203
203
|
reward: z.ZodOptional<z.ZodString>;
|
|
204
204
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
205
205
|
product_id: string;
|
|
206
|
+
entity_id?: string | undefined;
|
|
206
207
|
options?: {
|
|
207
208
|
feature_id: string;
|
|
208
209
|
quantity: number;
|
|
209
210
|
}[] | undefined;
|
|
210
|
-
entity_id?: string | undefined;
|
|
211
211
|
success_url?: string | undefined;
|
|
212
212
|
customer_data?: {
|
|
213
213
|
name?: string | null | undefined;
|
|
@@ -219,11 +219,11 @@ declare const autumn: (options?: {
|
|
|
219
219
|
reward?: string | undefined;
|
|
220
220
|
}, {
|
|
221
221
|
product_id: string;
|
|
222
|
+
entity_id?: string | undefined;
|
|
222
223
|
options?: {
|
|
223
224
|
feature_id: string;
|
|
224
225
|
quantity: number;
|
|
225
226
|
}[] | undefined;
|
|
226
|
-
entity_id?: string | undefined;
|
|
227
227
|
success_url?: string | undefined;
|
|
228
228
|
customer_data?: {
|
|
229
229
|
name?: string | null | undefined;
|
|
@@ -265,14 +265,17 @@ declare const autumn: (options?: {
|
|
|
265
265
|
attach: {
|
|
266
266
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
267
267
|
body: {
|
|
268
|
+
entity_id?: string | undefined;
|
|
268
269
|
options?: {
|
|
269
270
|
feature_id: string;
|
|
270
271
|
quantity: number;
|
|
271
272
|
}[] | undefined;
|
|
272
273
|
metadata?: Record<string, string> | undefined;
|
|
273
274
|
product_id?: string | undefined;
|
|
274
|
-
|
|
275
|
+
product_ids?: string[] | undefined;
|
|
276
|
+
free_trial?: boolean | undefined;
|
|
275
277
|
success_url?: string | undefined;
|
|
278
|
+
force_checkout?: boolean | undefined;
|
|
276
279
|
customer_data?: {
|
|
277
280
|
name?: string | null | undefined;
|
|
278
281
|
email?: string | null | undefined;
|
|
@@ -281,9 +284,6 @@ declare const autumn: (options?: {
|
|
|
281
284
|
entity_data?: any;
|
|
282
285
|
checkout_session_params?: Record<string, any> | undefined;
|
|
283
286
|
reward?: string | undefined;
|
|
284
|
-
product_ids?: string[] | undefined;
|
|
285
|
-
free_trial?: boolean | undefined;
|
|
286
|
-
force_checkout?: boolean | undefined;
|
|
287
287
|
};
|
|
288
288
|
} & {
|
|
289
289
|
method?: "POST" | undefined;
|
|
@@ -345,14 +345,17 @@ declare const autumn: (options?: {
|
|
|
345
345
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
346
346
|
reward: z.ZodOptional<z.ZodString>;
|
|
347
347
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
348
|
+
entity_id?: string | undefined;
|
|
348
349
|
options?: {
|
|
349
350
|
feature_id: string;
|
|
350
351
|
quantity: number;
|
|
351
352
|
}[] | undefined;
|
|
352
353
|
metadata?: Record<string, string> | undefined;
|
|
353
354
|
product_id?: string | undefined;
|
|
354
|
-
|
|
355
|
+
product_ids?: string[] | undefined;
|
|
356
|
+
free_trial?: boolean | undefined;
|
|
355
357
|
success_url?: string | undefined;
|
|
358
|
+
force_checkout?: boolean | undefined;
|
|
356
359
|
customer_data?: {
|
|
357
360
|
name?: string | null | undefined;
|
|
358
361
|
email?: string | null | undefined;
|
|
@@ -361,18 +364,18 @@ declare const autumn: (options?: {
|
|
|
361
364
|
entity_data?: any;
|
|
362
365
|
checkout_session_params?: Record<string, any> | undefined;
|
|
363
366
|
reward?: string | undefined;
|
|
364
|
-
product_ids?: string[] | undefined;
|
|
365
|
-
free_trial?: boolean | undefined;
|
|
366
|
-
force_checkout?: boolean | undefined;
|
|
367
367
|
}, {
|
|
368
|
+
entity_id?: string | undefined;
|
|
368
369
|
options?: {
|
|
369
370
|
feature_id: string;
|
|
370
371
|
quantity: number;
|
|
371
372
|
}[] | undefined;
|
|
372
373
|
metadata?: Record<string, string> | undefined;
|
|
373
374
|
product_id?: string | undefined;
|
|
374
|
-
|
|
375
|
+
product_ids?: string[] | undefined;
|
|
376
|
+
free_trial?: boolean | undefined;
|
|
375
377
|
success_url?: string | undefined;
|
|
378
|
+
force_checkout?: boolean | undefined;
|
|
376
379
|
customer_data?: {
|
|
377
380
|
name?: string | null | undefined;
|
|
378
381
|
email?: string | null | undefined;
|
|
@@ -381,9 +384,6 @@ declare const autumn: (options?: {
|
|
|
381
384
|
entity_data?: any;
|
|
382
385
|
checkout_session_params?: Record<string, any> | undefined;
|
|
383
386
|
reward?: string | undefined;
|
|
384
|
-
product_ids?: string[] | undefined;
|
|
385
|
-
free_trial?: boolean | undefined;
|
|
386
|
-
force_checkout?: boolean | undefined;
|
|
387
387
|
}>;
|
|
388
388
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
389
389
|
session: {
|
|
@@ -416,15 +416,15 @@ declare const autumn: (options?: {
|
|
|
416
416
|
check: {
|
|
417
417
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
418
418
|
body: {
|
|
419
|
-
product_id?: string | undefined;
|
|
420
|
-
entity_id?: string | undefined;
|
|
421
419
|
feature_id?: string | undefined;
|
|
420
|
+
entity_id?: string | undefined;
|
|
421
|
+
required_balance?: number | undefined;
|
|
422
|
+
product_id?: string | undefined;
|
|
422
423
|
customer_data?: any;
|
|
423
424
|
entity_data?: {
|
|
424
425
|
feature_id: string;
|
|
425
426
|
name?: string | undefined;
|
|
426
427
|
} | undefined;
|
|
427
|
-
required_balance?: number | undefined;
|
|
428
428
|
send_event?: boolean | undefined;
|
|
429
429
|
with_preview?: boolean | undefined;
|
|
430
430
|
};
|
|
@@ -472,27 +472,27 @@ declare const autumn: (options?: {
|
|
|
472
472
|
name?: string | undefined;
|
|
473
473
|
}>>;
|
|
474
474
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
475
|
-
product_id?: string | undefined;
|
|
476
|
-
entity_id?: string | undefined;
|
|
477
475
|
feature_id?: string | undefined;
|
|
476
|
+
entity_id?: string | undefined;
|
|
477
|
+
required_balance?: number | undefined;
|
|
478
|
+
product_id?: string | undefined;
|
|
478
479
|
customer_data?: any;
|
|
479
480
|
entity_data?: {
|
|
480
481
|
feature_id: string;
|
|
481
482
|
name?: string | undefined;
|
|
482
483
|
} | undefined;
|
|
483
|
-
required_balance?: number | undefined;
|
|
484
484
|
send_event?: boolean | undefined;
|
|
485
485
|
with_preview?: boolean | undefined;
|
|
486
486
|
}, {
|
|
487
|
-
product_id?: string | undefined;
|
|
488
|
-
entity_id?: string | undefined;
|
|
489
487
|
feature_id?: string | undefined;
|
|
488
|
+
entity_id?: string | undefined;
|
|
489
|
+
required_balance?: number | undefined;
|
|
490
|
+
product_id?: string | undefined;
|
|
490
491
|
customer_data?: any;
|
|
491
492
|
entity_data?: {
|
|
492
493
|
feature_id: string;
|
|
493
494
|
name?: string | undefined;
|
|
494
495
|
} | undefined;
|
|
495
|
-
required_balance?: number | undefined;
|
|
496
496
|
send_event?: boolean | undefined;
|
|
497
497
|
with_preview?: boolean | undefined;
|
|
498
498
|
}>;
|
|
@@ -527,9 +527,9 @@ declare const autumn: (options?: {
|
|
|
527
527
|
track: {
|
|
528
528
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
529
529
|
body: {
|
|
530
|
-
value?: number | undefined;
|
|
531
|
-
entity_id?: string | undefined;
|
|
532
530
|
feature_id?: string | undefined;
|
|
531
|
+
entity_id?: string | undefined;
|
|
532
|
+
value?: number | undefined;
|
|
533
533
|
customer_data?: any;
|
|
534
534
|
entity_data?: any;
|
|
535
535
|
event_name?: string | undefined;
|
|
@@ -569,17 +569,17 @@ declare const autumn: (options?: {
|
|
|
569
569
|
idempotency_key: z.ZodOptional<z.ZodString>;
|
|
570
570
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
571
571
|
}, "customer_id">, "strip", z.ZodTypeAny, {
|
|
572
|
-
value?: number | undefined;
|
|
573
|
-
entity_id?: string | undefined;
|
|
574
572
|
feature_id?: string | undefined;
|
|
573
|
+
entity_id?: string | undefined;
|
|
574
|
+
value?: number | undefined;
|
|
575
575
|
customer_data?: any;
|
|
576
576
|
entity_data?: any;
|
|
577
577
|
event_name?: string | undefined;
|
|
578
578
|
idempotency_key?: string | undefined;
|
|
579
579
|
}, {
|
|
580
|
-
value?: number | undefined;
|
|
581
|
-
entity_id?: string | undefined;
|
|
582
580
|
feature_id?: string | undefined;
|
|
581
|
+
entity_id?: string | undefined;
|
|
582
|
+
value?: number | undefined;
|
|
583
583
|
customer_data?: any;
|
|
584
584
|
entity_data?: any;
|
|
585
585
|
event_name?: string | undefined;
|
|
@@ -580,12 +580,12 @@ var BillingPortalParamsSchema = import_zod2.z.object({
|
|
|
580
580
|
});
|
|
581
581
|
var UpdateBalancesParamsSchema = import_zod2.z.object({
|
|
582
582
|
feature_id: import_zod2.z.string(),
|
|
583
|
-
|
|
583
|
+
balance: import_zod2.z.number()
|
|
584
584
|
}).or(
|
|
585
585
|
import_zod2.z.array(
|
|
586
586
|
import_zod2.z.object({
|
|
587
587
|
feature_id: import_zod2.z.string(),
|
|
588
|
-
|
|
588
|
+
balance: import_zod2.z.number()
|
|
589
589
|
})
|
|
590
590
|
)
|
|
591
591
|
);
|
|
@@ -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-P6KFNVAM.mjs";
|
|
7
|
+
import "./chunk-QVLMREDB.mjs";
|
|
8
|
+
import "./chunk-3HEVKGSY.mjs";
|
|
9
|
+
import "./chunk-Y63QWBQ6.mjs";
|
|
10
|
+
import "./chunk-7Z2OYXN4.mjs";
|
|
11
|
+
import "./chunk-NTPYEOME.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-TTNUEXHB.mjs";
|
|
24
24
|
import "./chunk-2TEL6LR5.mjs";
|
|
25
25
|
import "./chunk-KSG3E4Q2.mjs";
|
|
26
26
|
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGenRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-QVLMREDB.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addProductRoutes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-3HEVKGSY.mjs";
|
|
7
7
|
import {
|
|
8
8
|
addReferralRoutes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-Y63QWBQ6.mjs";
|
|
10
10
|
import {
|
|
11
11
|
addEntityRoutes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-7Z2OYXN4.mjs";
|
|
13
13
|
import {
|
|
14
14
|
withAuth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-NTPYEOME.mjs";
|
|
16
16
|
import {
|
|
17
17
|
fetchPricingTable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-TTNUEXHB.mjs";
|
|
19
19
|
import {
|
|
20
20
|
BASE_PATH
|
|
21
21
|
} from "./chunk-KSG3E4Q2.mjs";
|
|
@@ -517,12 +517,12 @@ var BillingPortalParamsSchema = z2.object({
|
|
|
517
517
|
});
|
|
518
518
|
var UpdateBalancesParamsSchema = z2.object({
|
|
519
519
|
feature_id: z2.string(),
|
|
520
|
-
|
|
520
|
+
balance: z2.number()
|
|
521
521
|
}).or(
|
|
522
522
|
z2.array(
|
|
523
523
|
z2.object({
|
|
524
524
|
feature_id: z2.string(),
|
|
525
|
-
|
|
525
|
+
balance: z2.number()
|
|
526
526
|
})
|
|
527
527
|
)
|
|
528
528
|
);
|
|
@@ -577,12 +577,12 @@ var BillingPortalParamsSchema = import_zod2.z.object({
|
|
|
577
577
|
});
|
|
578
578
|
var UpdateBalancesParamsSchema = import_zod2.z.object({
|
|
579
579
|
feature_id: import_zod2.z.string(),
|
|
580
|
-
|
|
580
|
+
balance: import_zod2.z.number()
|
|
581
581
|
}).or(
|
|
582
582
|
import_zod2.z.array(
|
|
583
583
|
import_zod2.z.object({
|
|
584
584
|
feature_id: import_zod2.z.string(),
|
|
585
|
-
|
|
585
|
+
balance: import_zod2.z.number()
|
|
586
586
|
})
|
|
587
587
|
)
|
|
588
588
|
);
|
|
@@ -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-P6KFNVAM.mjs";
|
|
7
|
+
import "./chunk-QVLMREDB.mjs";
|
|
8
|
+
import "./chunk-3HEVKGSY.mjs";
|
|
9
|
+
import "./chunk-Y63QWBQ6.mjs";
|
|
10
|
+
import "./chunk-7Z2OYXN4.mjs";
|
|
11
|
+
import "./chunk-NTPYEOME.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TTNUEXHB.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import "./chunk-KSG3E4Q2.mjs";
|
|
17
17
|
|
|
@@ -578,12 +578,12 @@ var BillingPortalParamsSchema = import_zod2.z.object({
|
|
|
578
578
|
});
|
|
579
579
|
var UpdateBalancesParamsSchema = import_zod2.z.object({
|
|
580
580
|
feature_id: import_zod2.z.string(),
|
|
581
|
-
|
|
581
|
+
balance: import_zod2.z.number()
|
|
582
582
|
}).or(
|
|
583
583
|
import_zod2.z.array(
|
|
584
584
|
import_zod2.z.object({
|
|
585
585
|
feature_id: import_zod2.z.string(),
|
|
586
|
-
|
|
586
|
+
balance: import_zod2.z.number()
|
|
587
587
|
})
|
|
588
588
|
)
|
|
589
589
|
);
|
|
@@ -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-P6KFNVAM.mjs";
|
|
7
|
+
import "./chunk-QVLMREDB.mjs";
|
|
8
|
+
import "./chunk-3HEVKGSY.mjs";
|
|
9
|
+
import "./chunk-Y63QWBQ6.mjs";
|
|
10
|
+
import "./chunk-7Z2OYXN4.mjs";
|
|
11
|
+
import "./chunk-NTPYEOME.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-TTNUEXHB.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -578,12 +578,12 @@ var BillingPortalParamsSchema = import_zod2.z.object({
|
|
|
578
578
|
});
|
|
579
579
|
var UpdateBalancesParamsSchema = import_zod2.z.object({
|
|
580
580
|
feature_id: import_zod2.z.string(),
|
|
581
|
-
|
|
581
|
+
balance: import_zod2.z.number()
|
|
582
582
|
}).or(
|
|
583
583
|
import_zod2.z.array(
|
|
584
584
|
import_zod2.z.object({
|
|
585
585
|
feature_id: import_zod2.z.string(),
|
|
586
|
-
|
|
586
|
+
balance: import_zod2.z.number()
|
|
587
587
|
})
|
|
588
588
|
)
|
|
589
589
|
);
|