autumn-js 0.1.13 → 0.1.14
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 -1
- package/dist/libraries/backend/better-auth.mjs +7 -7
- package/dist/libraries/backend/{chunk-6JI6MF4S.mjs → chunk-3RIXOPNJ.mjs} +1 -1
- package/dist/libraries/backend/{chunk-Q7SD535L.mjs → chunk-46FCEPXA.mjs} +2 -1
- package/dist/libraries/backend/{chunk-NWPFUFXX.mjs → chunk-K35BXWWE.mjs} +6 -6
- package/dist/libraries/backend/{chunk-2DWGCQCF.mjs → chunk-LPAD64PB.mjs} +1 -1
- package/dist/libraries/backend/{chunk-FA5Z2MOT.mjs → chunk-ORQM7ML5.mjs} +1 -1
- package/dist/libraries/backend/{chunk-SDL7BFTH.mjs → chunk-SDKTZAPS.mjs} +1 -1
- package/dist/libraries/backend/{chunk-56RGUNOT.mjs → chunk-YR22FFX7.mjs} +1 -1
- 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-DSv2hpmP.d.mts → referralTypes-BsknnsSl.d.mts} +3 -0
- package/dist/libraries/backend/{referralTypes-DdKvvqSK.d.ts → referralTypes-DENpQcbG.d.ts} +3 -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 +2 -1
- 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 -2
- package/dist/libraries/react/BaseAutumnProvider.mjs +10 -10
- package/dist/libraries/react/{ReactAutumnClient-IFdMWiu5.d.mts → ReactAutumnClient-CmOCaNbf.d.mts} +5 -5
- package/dist/libraries/react/{ReactAutumnClient-CfDtucnL.d.ts → ReactAutumnClient-Da2sUte-.d.ts} +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 -2
- package/dist/libraries/react/ReactAutumnProvider.mjs +11 -11
- package/dist/libraries/react/{attachTypes-CLK4jfuj.d.ts → attachTypes-9FgsTeIO.d.ts} +23 -2
- package/dist/libraries/react/{attachTypes-C5gcbNrS.d.mts → attachTypes-B4xJ6jPI.d.mts} +23 -2
- package/dist/libraries/react/{chunk-7HRCOEUW.mjs → chunk-4AU3PMKP.mjs} +1 -1
- package/dist/libraries/react/{chunk-WBBWID5F.mjs → chunk-5IU4JEDU.mjs} +1 -1
- package/dist/libraries/react/{chunk-DKOF357C.mjs → chunk-63PU6SEM.mjs} +1 -1
- package/dist/libraries/react/{chunk-BT5OY2CA.mjs → chunk-7LV2ARO4.mjs} +3 -3
- package/dist/libraries/react/{chunk-SWVRRNIW.mjs → chunk-AL6BQDMQ.mjs} +1 -1
- package/dist/libraries/react/{chunk-5O3IHYFF.mjs → chunk-D6MWTGTY.mjs} +2 -1
- package/dist/libraries/react/{chunk-M3SON3SH.mjs → chunk-GO5T3B4K.mjs} +2 -2
- package/dist/libraries/react/{chunk-52HVA7E4.mjs → chunk-IUFYGYIR.mjs} +3 -3
- package/dist/libraries/react/{chunk-643J45JV.mjs → chunk-MAHTCUBF.mjs} +2 -2
- package/dist/libraries/react/{chunk-Z7REFVM4.mjs → chunk-O77XQITO.mjs} +3 -3
- package/dist/libraries/react/{chunk-5YM6QT7V.mjs → chunk-P5HJMROT.mjs} +17 -16
- package/dist/libraries/react/{chunk-7JU3XHKL.mjs → chunk-SG4UHLHT.mjs} +1 -1
- package/dist/libraries/react/{chunk-P6CAHZVT.mjs → chunk-SKEJ22O5.mjs} +2 -2
- package/dist/libraries/react/{chunk-TOAZUTY6.mjs → chunk-V7PALXAQ.mjs} +7 -7
- package/dist/libraries/react/{chunk-RP56DI4O.mjs → chunk-YHLH57P4.mjs} +2 -2
- package/dist/libraries/react/{chunk-OSYZMMQC.mjs → chunk-YRNTN3NC.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 -1
- 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 -1
- package/dist/libraries/react/client/types/clientGenTypes.mjs +1 -1
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.mts +3 -2
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.d.ts +3 -2
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.js +6 -4
- package/dist/libraries/react/components/checkout-dialog/checkout-dialog-synced.mjs +21 -21
- 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 -1
- package/dist/libraries/react/components/paywall-dialog/paywall-dialog-synced.mjs +21 -21
- 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 +6 -4
- package/dist/libraries/react/components/pricing-table/pricing-table-synced.mjs +21 -21
- 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/{cusTypes-CBapqjzm.d.mts → cusTypes-Dco5eq7y.d.mts} +2 -1
- package/dist/libraries/react/{cusTypes-D13MXEN7.d.ts → cusTypes-k5jXe0qX.d.ts} +2 -1
- package/dist/libraries/react/{entTypes-C1bM1Zpv.d.mts → entTypes-kUplkhdu.d.mts} +1 -1
- package/dist/libraries/react/{entTypes-DbIrfEpl.d.ts → entTypes-ktfnO6RI.d.ts} +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 +3 -2
- 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 -1
- 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 -2
- 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 -2
- package/dist/libraries/react/hooks/useCustomerBase.mjs +9 -9
- 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 +10 -10
- 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 +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 -1
- 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 +2 -1
- 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 +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 +22 -0
- package/dist/libraries/react/index.d.ts +22 -0
- package/dist/libraries/react/index.js +6 -4
- package/dist/libraries/react/index.mjs +6 -4
- package/dist/libraries/react/{prodTypes-B8NdKyKo.d.ts → prodTypes-C8xRoBP7.d.mts} +1 -1
- package/dist/libraries/react/{prodTypes-B8NdKyKo.d.mts → prodTypes-C8xRoBP7.d.ts} +1 -1
- package/dist/next/client/NextAutumnClient.d.mts +2 -2
- package/dist/next/client/NextAutumnClient.d.ts +2 -2
- package/dist/next/client/NextAutumnProvider.d.mts +1 -1
- package/dist/next/client/NextAutumnProvider.d.ts +1 -1
- package/dist/next/client/clientUtils.d.mts +2 -2
- package/dist/next/client/clientUtils.d.ts +2 -2
- package/dist/next/client/{cusTypes-dkOgZJbj.d.mts → cusTypes-30uk2TR6.d.mts} +1 -0
- package/dist/next/client/{cusTypes-CNOLnLMs.d.ts → cusTypes-AghIAq_l.d.ts} +1 -0
- package/dist/next/client/{entTypes-D0T20Mxt.d.ts → entTypes-D4OAGulB.d.ts} +1 -1
- package/dist/next/client/{entTypes-CXZqtZX3.d.mts → entTypes-IlAM6qyq.d.mts} +1 -1
- package/dist/next/client/hooks/useAutumn.d.mts +1 -1
- package/dist/next/client/hooks/useAutumn.d.ts +1 -1
- package/dist/next/client/hooks/useCustomer.d.mts +2 -2
- package/dist/next/client/hooks/useCustomer.d.ts +2 -2
- package/dist/next/client/hooks/useEntity.d.mts +2 -2
- package/dist/next/client/hooks/useEntity.d.ts +2 -2
- package/dist/next/client/types.d.mts +2 -2
- package/dist/next/client/types.d.ts +2 -2
- 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-CTuY9T7g.d.mts → cusTypes-COsetLSo.d.mts} +3 -0
- package/dist/next/server/{cusTypes-CTuY9T7g.d.ts → cusTypes-COsetLSo.d.ts} +3 -0
- package/dist/next/server/genActions.d.mts +1 -1
- package/dist/next/server/genActions.d.ts +1 -1
- package/dist/sdk/index.d.mts +3 -0
- package/dist/sdk/index.d.ts +3 -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,13 +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;
|
|
96
95
|
options?: {
|
|
97
96
|
feature_id: string;
|
|
98
97
|
quantity: number;
|
|
99
98
|
}[] | undefined;
|
|
100
|
-
|
|
99
|
+
entity_id?: string | undefined;
|
|
101
100
|
force_checkout?: boolean | undefined;
|
|
101
|
+
invoice?: boolean | undefined;
|
|
102
|
+
success_url?: string | undefined;
|
|
102
103
|
customer_data?: {
|
|
103
104
|
name?: string | null | undefined;
|
|
104
105
|
email?: string | null | undefined;
|
|
@@ -107,7 +108,6 @@ declare const autumn: (options?: {
|
|
|
107
108
|
entity_data?: any;
|
|
108
109
|
checkout_session_params?: Record<string, any> | undefined;
|
|
109
110
|
reward?: string | undefined;
|
|
110
|
-
invoice?: boolean | undefined;
|
|
111
111
|
};
|
|
112
112
|
} & {
|
|
113
113
|
method?: "POST" | undefined;
|
|
@@ -134,14 +134,15 @@ declare const autumn: (options?: {
|
|
|
134
134
|
options: {
|
|
135
135
|
method: "POST";
|
|
136
136
|
body: z.ZodObject<{
|
|
137
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
138
|
-
product_id: z.ZodString;
|
|
139
137
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
138
|
feature_id: z.ZodString;
|
|
141
139
|
quantity: z.ZodNumber;
|
|
142
140
|
}, z.core.$strip>>>;
|
|
143
|
-
|
|
141
|
+
product_id: z.ZodString;
|
|
142
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
144
143
|
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
success_url: z.ZodOptional<z.ZodString>;
|
|
145
146
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
146
147
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
147
148
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -150,7 +151,6 @@ declare const autumn: (options?: {
|
|
|
150
151
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
151
152
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
152
153
|
reward: z.ZodOptional<z.ZodString>;
|
|
153
|
-
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
154
154
|
}, z.core.$strip>;
|
|
155
155
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
156
156
|
session: {
|
|
@@ -183,17 +183,16 @@ declare const autumn: (options?: {
|
|
|
183
183
|
attach: {
|
|
184
184
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
185
185
|
body: {
|
|
186
|
-
entity_id?: string | undefined;
|
|
187
|
-
metadata?: Record<string, string> | undefined;
|
|
188
|
-
product_id?: string | undefined;
|
|
189
186
|
options?: {
|
|
190
187
|
feature_id: string;
|
|
191
188
|
quantity: number;
|
|
192
189
|
}[] | undefined;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
190
|
+
metadata?: Record<string, string> | undefined;
|
|
191
|
+
product_id?: string | undefined;
|
|
192
|
+
entity_id?: string | undefined;
|
|
196
193
|
force_checkout?: boolean | undefined;
|
|
194
|
+
invoice?: boolean | undefined;
|
|
195
|
+
success_url?: string | undefined;
|
|
197
196
|
customer_data?: {
|
|
198
197
|
name?: string | null | undefined;
|
|
199
198
|
email?: string | null | undefined;
|
|
@@ -202,7 +201,8 @@ declare const autumn: (options?: {
|
|
|
202
201
|
entity_data?: any;
|
|
203
202
|
checkout_session_params?: Record<string, any> | undefined;
|
|
204
203
|
reward?: string | undefined;
|
|
205
|
-
|
|
204
|
+
product_ids?: string[] | undefined;
|
|
205
|
+
free_trial?: boolean | undefined;
|
|
206
206
|
};
|
|
207
207
|
} & {
|
|
208
208
|
method?: "POST" | undefined;
|
|
@@ -229,17 +229,16 @@ declare const autumn: (options?: {
|
|
|
229
229
|
options: {
|
|
230
230
|
method: "POST";
|
|
231
231
|
body: z.ZodObject<{
|
|
232
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
233
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
234
|
-
product_id: z.ZodOptional<z.ZodString>;
|
|
235
232
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
233
|
feature_id: z.ZodString;
|
|
237
234
|
quantity: z.ZodNumber;
|
|
238
235
|
}, z.core.$strip>>>;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
236
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
237
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
238
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
242
239
|
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
success_url: z.ZodOptional<z.ZodString>;
|
|
243
242
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
244
243
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
244
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -248,7 +247,8 @@ declare const autumn: (options?: {
|
|
|
248
247
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
249
248
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
250
249
|
reward: z.ZodOptional<z.ZodString>;
|
|
251
|
-
|
|
250
|
+
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
free_trial: z.ZodOptional<z.ZodBoolean>;
|
|
252
252
|
}, z.core.$strip>;
|
|
253
253
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
254
254
|
session: {
|
|
@@ -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
|
-
feature_id?: string | undefined;
|
|
285
|
-
entity_id?: string | undefined;
|
|
286
|
-
required_balance?: number | undefined;
|
|
287
284
|
product_id?: string | undefined;
|
|
285
|
+
entity_id?: string | undefined;
|
|
286
|
+
feature_id?: string | undefined;
|
|
288
287
|
customer_data?: any;
|
|
289
288
|
entity_data?: {
|
|
290
289
|
feature_id: string;
|
|
291
290
|
name?: string | undefined;
|
|
292
291
|
} | undefined;
|
|
292
|
+
required_balance?: number | undefined;
|
|
293
293
|
send_event?: boolean | undefined;
|
|
294
294
|
with_preview?: boolean | undefined;
|
|
295
295
|
};
|
|
@@ -318,15 +318,15 @@ declare const autumn: (options?: {
|
|
|
318
318
|
options: {
|
|
319
319
|
method: "POST";
|
|
320
320
|
body: z.ZodObject<{
|
|
321
|
-
feature_id: z.ZodOptional<z.ZodString>;
|
|
322
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
323
|
-
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
324
321
|
product_id: z.ZodOptional<z.ZodString>;
|
|
322
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
323
|
+
feature_id: z.ZodOptional<z.ZodString>;
|
|
325
324
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
326
325
|
entity_data: z.ZodOptional<z.ZodObject<{
|
|
327
326
|
name: z.ZodOptional<z.ZodString>;
|
|
328
327
|
feature_id: z.ZodString;
|
|
329
328
|
}, z.core.$strip>>;
|
|
329
|
+
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
330
330
|
send_event: z.ZodOptional<z.ZodBoolean>;
|
|
331
331
|
with_preview: z.ZodOptional<z.ZodBoolean>;
|
|
332
332
|
}, z.core.$strip>;
|
|
@@ -361,8 +361,8 @@ declare const autumn: (options?: {
|
|
|
361
361
|
track: {
|
|
362
362
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
363
363
|
body: {
|
|
364
|
-
feature_id?: string | undefined;
|
|
365
364
|
entity_id?: string | undefined;
|
|
365
|
+
feature_id?: string | undefined;
|
|
366
366
|
customer_data?: any;
|
|
367
367
|
entity_data?: any;
|
|
368
368
|
value?: number | undefined;
|
|
@@ -394,8 +394,8 @@ declare const autumn: (options?: {
|
|
|
394
394
|
options: {
|
|
395
395
|
method: "POST";
|
|
396
396
|
body: z.ZodObject<{
|
|
397
|
-
feature_id: z.ZodOptional<z.ZodString>;
|
|
398
397
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
398
|
+
feature_id: z.ZodOptional<z.ZodString>;
|
|
399
399
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
400
400
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
401
401
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -462,8 +462,8 @@ declare const autumn: (options?: {
|
|
|
462
462
|
options: {
|
|
463
463
|
method: "POST";
|
|
464
464
|
body: z.ZodObject<{
|
|
465
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
466
465
|
product_id: z.ZodString;
|
|
466
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
467
467
|
cancel_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
468
468
|
}, z.core.$strip>;
|
|
469
469
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
@@ -92,13 +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;
|
|
96
95
|
options?: {
|
|
97
96
|
feature_id: string;
|
|
98
97
|
quantity: number;
|
|
99
98
|
}[] | undefined;
|
|
100
|
-
|
|
99
|
+
entity_id?: string | undefined;
|
|
101
100
|
force_checkout?: boolean | undefined;
|
|
101
|
+
invoice?: boolean | undefined;
|
|
102
|
+
success_url?: string | undefined;
|
|
102
103
|
customer_data?: {
|
|
103
104
|
name?: string | null | undefined;
|
|
104
105
|
email?: string | null | undefined;
|
|
@@ -107,7 +108,6 @@ declare const autumn: (options?: {
|
|
|
107
108
|
entity_data?: any;
|
|
108
109
|
checkout_session_params?: Record<string, any> | undefined;
|
|
109
110
|
reward?: string | undefined;
|
|
110
|
-
invoice?: boolean | undefined;
|
|
111
111
|
};
|
|
112
112
|
} & {
|
|
113
113
|
method?: "POST" | undefined;
|
|
@@ -134,14 +134,15 @@ declare const autumn: (options?: {
|
|
|
134
134
|
options: {
|
|
135
135
|
method: "POST";
|
|
136
136
|
body: z.ZodObject<{
|
|
137
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
138
|
-
product_id: z.ZodString;
|
|
139
137
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
140
138
|
feature_id: z.ZodString;
|
|
141
139
|
quantity: z.ZodNumber;
|
|
142
140
|
}, z.core.$strip>>>;
|
|
143
|
-
|
|
141
|
+
product_id: z.ZodString;
|
|
142
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
144
143
|
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
144
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
145
|
+
success_url: z.ZodOptional<z.ZodString>;
|
|
145
146
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
146
147
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
147
148
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -150,7 +151,6 @@ declare const autumn: (options?: {
|
|
|
150
151
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
151
152
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
152
153
|
reward: z.ZodOptional<z.ZodString>;
|
|
153
|
-
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
154
154
|
}, z.core.$strip>;
|
|
155
155
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
156
156
|
session: {
|
|
@@ -183,17 +183,16 @@ declare const autumn: (options?: {
|
|
|
183
183
|
attach: {
|
|
184
184
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
185
185
|
body: {
|
|
186
|
-
entity_id?: string | undefined;
|
|
187
|
-
metadata?: Record<string, string> | undefined;
|
|
188
|
-
product_id?: string | undefined;
|
|
189
186
|
options?: {
|
|
190
187
|
feature_id: string;
|
|
191
188
|
quantity: number;
|
|
192
189
|
}[] | undefined;
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
190
|
+
metadata?: Record<string, string> | undefined;
|
|
191
|
+
product_id?: string | undefined;
|
|
192
|
+
entity_id?: string | undefined;
|
|
196
193
|
force_checkout?: boolean | undefined;
|
|
194
|
+
invoice?: boolean | undefined;
|
|
195
|
+
success_url?: string | undefined;
|
|
197
196
|
customer_data?: {
|
|
198
197
|
name?: string | null | undefined;
|
|
199
198
|
email?: string | null | undefined;
|
|
@@ -202,7 +201,8 @@ declare const autumn: (options?: {
|
|
|
202
201
|
entity_data?: any;
|
|
203
202
|
checkout_session_params?: Record<string, any> | undefined;
|
|
204
203
|
reward?: string | undefined;
|
|
205
|
-
|
|
204
|
+
product_ids?: string[] | undefined;
|
|
205
|
+
free_trial?: boolean | undefined;
|
|
206
206
|
};
|
|
207
207
|
} & {
|
|
208
208
|
method?: "POST" | undefined;
|
|
@@ -229,17 +229,16 @@ declare const autumn: (options?: {
|
|
|
229
229
|
options: {
|
|
230
230
|
method: "POST";
|
|
231
231
|
body: z.ZodObject<{
|
|
232
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
233
|
-
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
234
|
-
product_id: z.ZodOptional<z.ZodString>;
|
|
235
232
|
options: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
236
233
|
feature_id: z.ZodString;
|
|
237
234
|
quantity: z.ZodNumber;
|
|
238
235
|
}, z.core.$strip>>>;
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
236
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
237
|
+
product_id: z.ZodOptional<z.ZodString>;
|
|
238
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
242
239
|
force_checkout: z.ZodOptional<z.ZodBoolean>;
|
|
240
|
+
invoice: z.ZodOptional<z.ZodBoolean>;
|
|
241
|
+
success_url: z.ZodOptional<z.ZodString>;
|
|
243
242
|
customer_data: z.ZodOptional<z.ZodObject<{
|
|
244
243
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
245
244
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -248,7 +247,8 @@ declare const autumn: (options?: {
|
|
|
248
247
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
249
248
|
checkout_session_params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
250
249
|
reward: z.ZodOptional<z.ZodString>;
|
|
251
|
-
|
|
250
|
+
product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
251
|
+
free_trial: z.ZodOptional<z.ZodBoolean>;
|
|
252
252
|
}, z.core.$strip>;
|
|
253
253
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
254
254
|
session: {
|
|
@@ -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
|
-
feature_id?: string | undefined;
|
|
285
|
-
entity_id?: string | undefined;
|
|
286
|
-
required_balance?: number | undefined;
|
|
287
284
|
product_id?: string | undefined;
|
|
285
|
+
entity_id?: string | undefined;
|
|
286
|
+
feature_id?: string | undefined;
|
|
288
287
|
customer_data?: any;
|
|
289
288
|
entity_data?: {
|
|
290
289
|
feature_id: string;
|
|
291
290
|
name?: string | undefined;
|
|
292
291
|
} | undefined;
|
|
292
|
+
required_balance?: number | undefined;
|
|
293
293
|
send_event?: boolean | undefined;
|
|
294
294
|
with_preview?: boolean | undefined;
|
|
295
295
|
};
|
|
@@ -318,15 +318,15 @@ declare const autumn: (options?: {
|
|
|
318
318
|
options: {
|
|
319
319
|
method: "POST";
|
|
320
320
|
body: z.ZodObject<{
|
|
321
|
-
feature_id: z.ZodOptional<z.ZodString>;
|
|
322
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
323
|
-
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
324
321
|
product_id: z.ZodOptional<z.ZodString>;
|
|
322
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
323
|
+
feature_id: z.ZodOptional<z.ZodString>;
|
|
325
324
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
326
325
|
entity_data: z.ZodOptional<z.ZodObject<{
|
|
327
326
|
name: z.ZodOptional<z.ZodString>;
|
|
328
327
|
feature_id: z.ZodString;
|
|
329
328
|
}, z.core.$strip>>;
|
|
329
|
+
required_balance: z.ZodOptional<z.ZodNumber>;
|
|
330
330
|
send_event: z.ZodOptional<z.ZodBoolean>;
|
|
331
331
|
with_preview: z.ZodOptional<z.ZodBoolean>;
|
|
332
332
|
}, z.core.$strip>;
|
|
@@ -361,8 +361,8 @@ declare const autumn: (options?: {
|
|
|
361
361
|
track: {
|
|
362
362
|
<AsResponse extends boolean = false, ReturnHeaders extends boolean = false>(inputCtx_0: {
|
|
363
363
|
body: {
|
|
364
|
-
feature_id?: string | undefined;
|
|
365
364
|
entity_id?: string | undefined;
|
|
365
|
+
feature_id?: string | undefined;
|
|
366
366
|
customer_data?: any;
|
|
367
367
|
entity_data?: any;
|
|
368
368
|
value?: number | undefined;
|
|
@@ -394,8 +394,8 @@ declare const autumn: (options?: {
|
|
|
394
394
|
options: {
|
|
395
395
|
method: "POST";
|
|
396
396
|
body: z.ZodObject<{
|
|
397
|
-
feature_id: z.ZodOptional<z.ZodString>;
|
|
398
397
|
entity_id: z.ZodOptional<z.ZodString>;
|
|
398
|
+
feature_id: z.ZodOptional<z.ZodString>;
|
|
399
399
|
customer_data: z.ZodOptional<z.ZodAny>;
|
|
400
400
|
entity_data: z.ZodOptional<z.ZodAny>;
|
|
401
401
|
value: z.ZodOptional<z.ZodNumber>;
|
|
@@ -462,8 +462,8 @@ declare const autumn: (options?: {
|
|
|
462
462
|
options: {
|
|
463
463
|
method: "POST";
|
|
464
464
|
body: z.ZodObject<{
|
|
465
|
-
entity_id: z.ZodOptional<z.ZodString>;
|
|
466
465
|
product_id: z.ZodString;
|
|
466
|
+
entity_id: z.ZodOptional<z.ZodString>;
|
|
467
467
|
cancel_immediately: z.ZodOptional<z.ZodBoolean>;
|
|
468
468
|
}, z.core.$strip>;
|
|
469
469
|
use: ((inputContext: better_auth.MiddlewareInputContext<better_auth.MiddlewareOptions>) => Promise<{
|
|
@@ -769,7 +769,8 @@ var CreateCustomerParamsSchema = import_v42.z.object({
|
|
|
769
769
|
name: import_v42.z.string().nullish(),
|
|
770
770
|
fingerprint: import_v42.z.string().nullish(),
|
|
771
771
|
metadata: import_v42.z.record(import_v42.z.string(), import_v42.z.any()).optional(),
|
|
772
|
-
expand: import_v42.z.array(CustomerExpandEnum).optional()
|
|
772
|
+
expand: import_v42.z.array(CustomerExpandEnum).optional(),
|
|
773
|
+
stripe_id: import_v42.z.string().nullish()
|
|
773
774
|
});
|
|
774
775
|
var BillingPortalParamsSchema = import_v42.z.object({
|
|
775
776
|
return_url: import_v42.z.string().optional()
|
|
@@ -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-K35BXWWE.mjs";
|
|
7
|
+
import "./chunk-YR22FFX7.mjs";
|
|
8
|
+
import "./chunk-SDKTZAPS.mjs";
|
|
9
|
+
import "./chunk-LPAD64PB.mjs";
|
|
10
|
+
import "./chunk-3RIXOPNJ.mjs";
|
|
11
|
+
import "./chunk-ORQM7ML5.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-46FCEPXA.mjs";
|
|
24
24
|
import "./chunk-2TEL6LR5.mjs";
|
|
25
25
|
import "./chunk-KSG3E4Q2.mjs";
|
|
26
26
|
|
|
@@ -706,7 +706,8 @@ var CreateCustomerParamsSchema = z2.object({
|
|
|
706
706
|
name: z2.string().nullish(),
|
|
707
707
|
fingerprint: z2.string().nullish(),
|
|
708
708
|
metadata: z2.record(z2.string(), z2.any()).optional(),
|
|
709
|
-
expand: z2.array(CustomerExpandEnum).optional()
|
|
709
|
+
expand: z2.array(CustomerExpandEnum).optional(),
|
|
710
|
+
stripe_id: z2.string().nullish()
|
|
710
711
|
});
|
|
711
712
|
var BillingPortalParamsSchema = z2.object({
|
|
712
713
|
return_url: z2.string().optional()
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
addGenRoutes
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-YR22FFX7.mjs";
|
|
4
4
|
import {
|
|
5
5
|
addProductRoutes
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-SDKTZAPS.mjs";
|
|
7
7
|
import {
|
|
8
8
|
addReferralRoutes
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-LPAD64PB.mjs";
|
|
10
10
|
import {
|
|
11
11
|
addEntityRoutes
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-3RIXOPNJ.mjs";
|
|
13
13
|
import {
|
|
14
14
|
withAuth
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ORQM7ML5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
fetchPricingTable
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-46FCEPXA.mjs";
|
|
19
19
|
import {
|
|
20
20
|
BASE_PATH
|
|
21
21
|
} from "./chunk-KSG3E4Q2.mjs";
|
|
@@ -766,7 +766,8 @@ var CreateCustomerParamsSchema = import_v42.z.object({
|
|
|
766
766
|
name: import_v42.z.string().nullish(),
|
|
767
767
|
fingerprint: import_v42.z.string().nullish(),
|
|
768
768
|
metadata: import_v42.z.record(import_v42.z.string(), import_v42.z.any()).optional(),
|
|
769
|
-
expand: import_v42.z.array(CustomerExpandEnum).optional()
|
|
769
|
+
expand: import_v42.z.array(CustomerExpandEnum).optional(),
|
|
770
|
+
stripe_id: import_v42.z.string().nullish()
|
|
770
771
|
});
|
|
771
772
|
var BillingPortalParamsSchema = import_v42.z.object({
|
|
772
773
|
return_url: import_v42.z.string().optional()
|
|
@@ -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-K35BXWWE.mjs";
|
|
7
|
+
import "./chunk-YR22FFX7.mjs";
|
|
8
|
+
import "./chunk-SDKTZAPS.mjs";
|
|
9
|
+
import "./chunk-LPAD64PB.mjs";
|
|
10
|
+
import "./chunk-3RIXOPNJ.mjs";
|
|
11
|
+
import "./chunk-ORQM7ML5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-46FCEPXA.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import "./chunk-KSG3E4Q2.mjs";
|
|
17
17
|
|
|
@@ -767,7 +767,8 @@ var CreateCustomerParamsSchema = import_v42.z.object({
|
|
|
767
767
|
name: import_v42.z.string().nullish(),
|
|
768
768
|
fingerprint: import_v42.z.string().nullish(),
|
|
769
769
|
metadata: import_v42.z.record(import_v42.z.string(), import_v42.z.any()).optional(),
|
|
770
|
-
expand: import_v42.z.array(CustomerExpandEnum).optional()
|
|
770
|
+
expand: import_v42.z.array(CustomerExpandEnum).optional(),
|
|
771
|
+
stripe_id: import_v42.z.string().nullish()
|
|
771
772
|
});
|
|
772
773
|
var BillingPortalParamsSchema = import_v42.z.object({
|
|
773
774
|
return_url: import_v42.z.string().optional()
|
|
@@ -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-K35BXWWE.mjs";
|
|
7
|
+
import "./chunk-YR22FFX7.mjs";
|
|
8
|
+
import "./chunk-SDKTZAPS.mjs";
|
|
9
|
+
import "./chunk-LPAD64PB.mjs";
|
|
10
|
+
import "./chunk-3RIXOPNJ.mjs";
|
|
11
|
+
import "./chunk-ORQM7ML5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-46FCEPXA.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -767,7 +767,8 @@ var CreateCustomerParamsSchema = import_v42.z.object({
|
|
|
767
767
|
name: import_v42.z.string().nullish(),
|
|
768
768
|
fingerprint: import_v42.z.string().nullish(),
|
|
769
769
|
metadata: import_v42.z.record(import_v42.z.string(), import_v42.z.any()).optional(),
|
|
770
|
-
expand: import_v42.z.array(CustomerExpandEnum).optional()
|
|
770
|
+
expand: import_v42.z.array(CustomerExpandEnum).optional(),
|
|
771
|
+
stripe_id: import_v42.z.string().nullish()
|
|
771
772
|
});
|
|
772
773
|
var BillingPortalParamsSchema = import_v42.z.object({
|
|
773
774
|
return_url: import_v42.z.string().optional()
|
|
@@ -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-K35BXWWE.mjs";
|
|
7
|
+
import "./chunk-YR22FFX7.mjs";
|
|
8
|
+
import "./chunk-SDKTZAPS.mjs";
|
|
9
|
+
import "./chunk-LPAD64PB.mjs";
|
|
10
|
+
import "./chunk-3RIXOPNJ.mjs";
|
|
11
|
+
import "./chunk-ORQM7ML5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-46FCEPXA.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|
|
@@ -767,7 +767,8 @@ var CreateCustomerParamsSchema = import_v42.z.object({
|
|
|
767
767
|
name: import_v42.z.string().nullish(),
|
|
768
768
|
fingerprint: import_v42.z.string().nullish(),
|
|
769
769
|
metadata: import_v42.z.record(import_v42.z.string(), import_v42.z.any()).optional(),
|
|
770
|
-
expand: import_v42.z.array(CustomerExpandEnum).optional()
|
|
770
|
+
expand: import_v42.z.array(CustomerExpandEnum).optional(),
|
|
771
|
+
stripe_id: import_v42.z.string().nullish()
|
|
771
772
|
});
|
|
772
773
|
var BillingPortalParamsSchema = import_v42.z.object({
|
|
773
774
|
return_url: import_v42.z.string().optional()
|
|
@@ -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-K35BXWWE.mjs";
|
|
7
|
+
import "./chunk-YR22FFX7.mjs";
|
|
8
|
+
import "./chunk-SDKTZAPS.mjs";
|
|
9
|
+
import "./chunk-LPAD64PB.mjs";
|
|
10
|
+
import "./chunk-3RIXOPNJ.mjs";
|
|
11
|
+
import "./chunk-ORQM7ML5.mjs";
|
|
12
12
|
import {
|
|
13
13
|
Autumn
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-46FCEPXA.mjs";
|
|
15
15
|
import "./chunk-2TEL6LR5.mjs";
|
|
16
16
|
import {
|
|
17
17
|
autumnApiUrl
|