autumn-js 1.2.45 → 1.2.46
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/backend/adapters/express.js +109 -23
- package/dist/backend/adapters/express.mjs +9 -9
- package/dist/backend/adapters/fetch.js +109 -23
- package/dist/backend/adapters/fetch.mjs +9 -9
- package/dist/backend/adapters/hono.js +109 -23
- package/dist/backend/adapters/hono.mjs +9 -9
- package/dist/backend/adapters/index.js +109 -23
- package/dist/backend/adapters/index.mjs +12 -12
- package/dist/backend/adapters/next.js +109 -23
- package/dist/backend/adapters/next.mjs +9 -9
- package/dist/backend/{chunk-L7N6FVEE.mjs → chunk-564D2O3W.mjs} +1 -1
- package/dist/backend/{chunk-DY6WMOCT.mjs → chunk-KW47VZ73.mjs} +5 -5
- package/dist/backend/{chunk-PVDDMLWT.mjs → chunk-RPUV2OZA.mjs} +91 -19
- package/dist/backend/{chunk-5DLBV5WP.mjs → chunk-SBZEXVB4.mjs} +7 -7
- package/dist/backend/{chunk-67LHAREL.mjs → chunk-TEDQUFQV.mjs} +1 -1
- package/dist/backend/{chunk-YKRFY5TK.mjs → chunk-UJS4Q7J4.mjs} +18 -4
- package/dist/backend/{chunk-P2TFPTAM.mjs → chunk-WR6ZPCQG.mjs} +1 -1
- package/dist/backend/{chunk-J2VZ3UZS.mjs → chunk-XOAX5KAL.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +109 -23
- package/dist/backend/core/handlers/coreHandler.mjs +7 -7
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/executeRoute.mjs +4 -4
- package/dist/backend/core/handlers/handleRouteByName.js +109 -23
- package/dist/backend/core/handlers/handleRouteByName.mjs +7 -7
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +109 -23
- package/dist/backend/core/handlers/index.mjs +10 -10
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +109 -23
- package/dist/backend/core/index.mjs +10 -10
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/index.js +18 -4
- package/dist/backend/core/routes/index.mjs +2 -2
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.js +18 -4
- package/dist/backend/core/routes/routeConfigs.mjs +2 -2
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/core/utils/index.mjs +3 -3
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +109 -23
- package/dist/backend/index.mjs +10 -10
- package/dist/backend/{routeTypes-UN48tvoc.d.mts → routeTypes-DnUY8ksp.d.mts} +121 -8
- package/dist/backend/{routeTypes-COLvwrcx.d.ts → routeTypes-TbN5QHEp.d.ts} +121 -8
- package/dist/better-auth/{chunk-MOCG3CBD.mjs → chunk-SABPXZTZ.mjs} +92 -20
- package/dist/better-auth/{chunk-3LKXO3EE.mjs → chunk-TOQRV6D7.mjs} +1 -1
- package/dist/better-auth/{chunk-J3W4EO5H.mjs → chunk-YRHQ4VL7.mjs} +18 -4
- package/dist/better-auth/index.js +109 -23
- package/dist/better-auth/index.mjs +3 -3
- package/dist/better-auth/utils/createAutumnEndpoint.js +18 -4
- package/dist/better-auth/utils/createAutumnEndpoint.mjs +2 -2
- package/dist/better-auth/utils/handleBetterAuthRoute.js +109 -23
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +2 -2
- package/dist/better-auth/utils/index.js +109 -23
- package/dist/better-auth/utils/index.mjs +3 -3
- package/dist/react/AutumnContext.d.mts +1 -1
- package/dist/react/AutumnContext.d.ts +1 -1
- package/dist/react/AutumnProvider.js +1 -1
- package/dist/react/AutumnProvider.mjs +2 -2
- package/dist/react/{chunk-EE3XPYSL.mjs → chunk-2C6RX3EW.mjs} +1 -1
- package/dist/react/{chunk-SBCI4L22.mjs → chunk-2X7HXG2W.mjs} +1 -1
- package/dist/react/{chunk-7SRCZYRC.mjs → chunk-3WU4ZFXU.mjs} +1 -1
- package/dist/react/{chunk-LUBYNTYC.mjs → chunk-4HU5BGSM.mjs} +1 -1
- package/dist/react/{chunk-RTZAB46K.mjs → chunk-7RF3IGDO.mjs} +1 -1
- package/dist/react/{chunk-KCOHZSS3.mjs → chunk-C6I2RW56.mjs} +8 -8
- package/dist/react/{chunk-CQF3ER2L.mjs → chunk-NWF7OFFQ.mjs} +2 -2
- package/dist/react/{chunk-CSJHU3F2.mjs → chunk-SRSYG5ZV.mjs} +1 -1
- package/dist/react/{chunk-QUGX6XRQ.mjs → chunk-UNQZV3K5.mjs} +1 -1
- package/dist/react/client/AutumnClient.d.mts +1 -1
- package/dist/react/client/AutumnClient.d.ts +1 -1
- package/dist/react/client/IAutumnClient.d.mts +1 -1
- package/dist/react/client/IAutumnClient.d.ts +1 -1
- package/dist/react/client/index.d.mts +1 -1
- package/dist/react/client/index.d.ts +1 -1
- package/dist/react/hooks/index.d.mts +1 -1
- package/dist/react/hooks/index.d.ts +1 -1
- package/dist/react/hooks/index.js +7 -7
- package/dist/react/hooks/index.mjs +8 -8
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +1 -1
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.mts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.d.ts +1 -1
- package/dist/react/hooks/internal/useCustomerActions.js +1 -1
- package/dist/react/hooks/internal/useCustomerActions.mjs +2 -2
- package/dist/react/hooks/useAggregateEvents.d.mts +1 -1
- package/dist/react/hooks/useAggregateEvents.d.ts +1 -1
- package/dist/react/hooks/useAggregateEvents.js +7 -7
- package/dist/react/hooks/useAggregateEvents.mjs +2 -2
- package/dist/react/hooks/useCustomer.d.mts +1 -1
- package/dist/react/hooks/useCustomer.d.ts +1 -1
- package/dist/react/hooks/useCustomer.js +7 -7
- package/dist/react/hooks/useCustomer.mjs +3 -3
- package/dist/react/hooks/useEntity.d.mts +1 -1
- package/dist/react/hooks/useEntity.d.ts +1 -1
- package/dist/react/hooks/useEntity.js +7 -7
- package/dist/react/hooks/useEntity.mjs +2 -2
- package/dist/react/hooks/useListEvents.d.mts +1 -1
- package/dist/react/hooks/useListEvents.d.ts +1 -1
- package/dist/react/hooks/useListEvents.js +7 -7
- package/dist/react/hooks/useListEvents.mjs +2 -2
- package/dist/react/hooks/useListPlans.d.mts +1 -1
- package/dist/react/hooks/useListPlans.d.ts +1 -1
- package/dist/react/hooks/useListPlans.js +7 -7
- package/dist/react/hooks/useListPlans.mjs +2 -2
- package/dist/react/hooks/useReferrals.d.mts +1 -1
- package/dist/react/hooks/useReferrals.d.ts +1 -1
- package/dist/react/hooks/useReferrals.js +7 -7
- package/dist/react/hooks/useReferrals.mjs +2 -2
- package/dist/react/index.d.mts +1 -1
- package/dist/react/index.d.ts +1 -1
- package/dist/react/index.js +7 -7
- package/dist/react/index.mjs +9 -9
- package/dist/react/{params-DlzWLPN2.d.mts → params-BrFcJdeO.d.mts} +50 -4
- package/dist/react/{params-ChMwkOJA.d.ts → params-BwHZca3H.d.ts} +50 -4
- package/dist/sdk/index.d.mts +151 -10
- package/dist/sdk/index.d.ts +151 -10
- package/dist/sdk/index.js +110 -21
- package/dist/sdk/index.mjs +99 -20
- package/package.json +1 -1
- package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
|
@@ -8572,6 +8572,15 @@ var CreateReferralCodeResponse$inboundSchema = z22.pipe(
|
|
|
8572
8572
|
|
|
8573
8573
|
// ../sdk/src/models/create-schedule-op.ts
|
|
8574
8574
|
var z23 = __toESM(require("zod/v4-mini"), 1);
|
|
8575
|
+
var CreateScheduleFreeTrialDurationType = {
|
|
8576
|
+
Day: "day",
|
|
8577
|
+
Month: "month",
|
|
8578
|
+
Year: "year"
|
|
8579
|
+
};
|
|
8580
|
+
var CreateScheduleOnEnd = {
|
|
8581
|
+
Bill: "bill",
|
|
8582
|
+
Revert: "revert"
|
|
8583
|
+
};
|
|
8575
8584
|
var CreateScheduleRedirectMode = {
|
|
8576
8585
|
Always: "always",
|
|
8577
8586
|
IfRequired: "if_required",
|
|
@@ -8581,7 +8590,7 @@ var CreateScheduleBillingBehavior = {
|
|
|
8581
8590
|
ProrateImmediately: "prorate_immediately",
|
|
8582
8591
|
None: "none"
|
|
8583
8592
|
};
|
|
8584
|
-
var
|
|
8593
|
+
var PhaseStartDurationType = {
|
|
8585
8594
|
Month: "month",
|
|
8586
8595
|
Year: "year"
|
|
8587
8596
|
};
|
|
@@ -8739,6 +8748,27 @@ var CreateScheduleCode = {
|
|
|
8739
8748
|
PaymentFailed: "payment_failed",
|
|
8740
8749
|
PaymentProcessing: "payment_processing"
|
|
8741
8750
|
};
|
|
8751
|
+
var CreateScheduleFreeTrialDurationType$outboundSchema = z23.enum(CreateScheduleFreeTrialDurationType);
|
|
8752
|
+
var CreateScheduleOnEnd$outboundSchema = z23.enum(CreateScheduleOnEnd);
|
|
8753
|
+
var CreateScheduleFreeTrialParams$outboundSchema = z23.pipe(
|
|
8754
|
+
z23.object({
|
|
8755
|
+
durationLength: z23.number(),
|
|
8756
|
+
durationType: z23._default(
|
|
8757
|
+
CreateScheduleFreeTrialDurationType$outboundSchema,
|
|
8758
|
+
"month"
|
|
8759
|
+
),
|
|
8760
|
+
cardRequired: z23._default(z23.boolean(), true),
|
|
8761
|
+
onEnd: z23.optional(CreateScheduleOnEnd$outboundSchema)
|
|
8762
|
+
}),
|
|
8763
|
+
z23.transform((v) => {
|
|
8764
|
+
return remap(v, {
|
|
8765
|
+
durationLength: "duration_length",
|
|
8766
|
+
durationType: "duration_type",
|
|
8767
|
+
cardRequired: "card_required",
|
|
8768
|
+
onEnd: "on_end"
|
|
8769
|
+
});
|
|
8770
|
+
})
|
|
8771
|
+
);
|
|
8742
8772
|
var CreateScheduleInvoiceMode$outboundSchema = z23.pipe(
|
|
8743
8773
|
z23.object({
|
|
8744
8774
|
enabled: z23.boolean(),
|
|
@@ -8770,10 +8800,10 @@ var CreateScheduleAttachDiscount$outboundSchema = z23.pipe(
|
|
|
8770
8800
|
var CreateScheduleRedirectMode$outboundSchema = z23.enum(CreateScheduleRedirectMode);
|
|
8771
8801
|
var CreateScheduleBillingBehavior$outboundSchema = z23.enum(CreateScheduleBillingBehavior);
|
|
8772
8802
|
var StartsAt2$outboundSchema = smartUnion([z23.number(), z23.string()]);
|
|
8773
|
-
var
|
|
8803
|
+
var PhaseStartDurationType$outboundSchema = z23.enum(PhaseStartDurationType);
|
|
8774
8804
|
var StartingAfter2$outboundSchema = z23.pipe(
|
|
8775
8805
|
z23.object({
|
|
8776
|
-
durationType:
|
|
8806
|
+
durationType: PhaseStartDurationType$outboundSchema,
|
|
8777
8807
|
durationCount: z23.int()
|
|
8778
8808
|
}),
|
|
8779
8809
|
z23.transform((v) => {
|
|
@@ -9232,6 +9262,7 @@ var CreateScheduleCustomize2$outboundSchema = z23.pipe(
|
|
|
9232
9262
|
var CreateSchedulePlan2$outboundSchema = z23.pipe(
|
|
9233
9263
|
z23.object({
|
|
9234
9264
|
planId: z23.string(),
|
|
9265
|
+
entityId: z23.optional(z23.nullable(z23.string())),
|
|
9235
9266
|
featureQuantities: z23.optional(
|
|
9236
9267
|
z23.array(z23.lazy(() => CreateScheduleFeatureQuantity2$outboundSchema))
|
|
9237
9268
|
),
|
|
@@ -9244,6 +9275,7 @@ var CreateSchedulePlan2$outboundSchema = z23.pipe(
|
|
|
9244
9275
|
z23.transform((v) => {
|
|
9245
9276
|
return remap(v, {
|
|
9246
9277
|
planId: "plan_id",
|
|
9278
|
+
entityId: "entity_id",
|
|
9247
9279
|
featureQuantities: "feature_quantities",
|
|
9248
9280
|
subscriptionId: "subscription_id"
|
|
9249
9281
|
});
|
|
@@ -9270,6 +9302,10 @@ var CreateScheduleParams$outboundSchema = z23.pipe(
|
|
|
9270
9302
|
z23.object({
|
|
9271
9303
|
customerId: z23.string(),
|
|
9272
9304
|
entityId: z23.optional(z23.string()),
|
|
9305
|
+
freeTrial: z23.optional(
|
|
9306
|
+
z23.nullable(z23.lazy(() => CreateScheduleFreeTrialParams$outboundSchema))
|
|
9307
|
+
),
|
|
9308
|
+
currency: z23.optional(z23.string()),
|
|
9273
9309
|
invoiceMode: z23.optional(
|
|
9274
9310
|
z23.lazy(() => CreateScheduleInvoiceMode$outboundSchema)
|
|
9275
9311
|
),
|
|
@@ -9285,19 +9321,22 @@ var CreateScheduleParams$outboundSchema = z23.pipe(
|
|
|
9285
9321
|
billingBehavior: z23.optional(CreateScheduleBillingBehavior$outboundSchema),
|
|
9286
9322
|
billingCycleAnchor: z23.optional(z23.literal("now")),
|
|
9287
9323
|
enablePlanImmediately: z23.optional(z23.boolean()),
|
|
9324
|
+
preserveAddOns: z23.optional(z23.boolean()),
|
|
9288
9325
|
phases: z23.array(z23.lazy(() => PhaseStart$outboundSchema))
|
|
9289
9326
|
}),
|
|
9290
9327
|
z23.transform((v) => {
|
|
9291
9328
|
return remap(v, {
|
|
9292
9329
|
customerId: "customer_id",
|
|
9293
9330
|
entityId: "entity_id",
|
|
9331
|
+
freeTrial: "free_trial",
|
|
9294
9332
|
invoiceMode: "invoice_mode",
|
|
9295
9333
|
successUrl: "success_url",
|
|
9296
9334
|
checkoutSessionParams: "checkout_session_params",
|
|
9297
9335
|
redirectMode: "redirect_mode",
|
|
9298
9336
|
billingBehavior: "billing_behavior",
|
|
9299
9337
|
billingCycleAnchor: "billing_cycle_anchor",
|
|
9300
|
-
enablePlanImmediately: "enable_plan_immediately"
|
|
9338
|
+
enablePlanImmediately: "enable_plan_immediately",
|
|
9339
|
+
preserveAddOns: "preserve_add_ons"
|
|
9301
9340
|
});
|
|
9302
9341
|
})
|
|
9303
9342
|
);
|
|
@@ -15045,6 +15084,10 @@ var MultiAttachOnEnd = {
|
|
|
15045
15084
|
Bill: "bill",
|
|
15046
15085
|
Revert: "revert"
|
|
15047
15086
|
};
|
|
15087
|
+
var MultiAttachBillingBehavior = {
|
|
15088
|
+
ProrateImmediately: "prorate_immediately",
|
|
15089
|
+
None: "none"
|
|
15090
|
+
};
|
|
15048
15091
|
var MultiAttachRedirectMode = {
|
|
15049
15092
|
Always: "always",
|
|
15050
15093
|
IfRequired: "if_required",
|
|
@@ -15239,13 +15282,15 @@ var MultiAttachPlan$outboundSchema = z49.pipe(
|
|
|
15239
15282
|
z49.array(z49.lazy(() => MultiAttachFeatureQuantity$outboundSchema))
|
|
15240
15283
|
),
|
|
15241
15284
|
version: z49.optional(z49.number()),
|
|
15242
|
-
subscriptionId: z49.optional(z49.string())
|
|
15285
|
+
subscriptionId: z49.optional(z49.string()),
|
|
15286
|
+
entityId: z49.optional(z49.nullable(z49.string()))
|
|
15243
15287
|
}),
|
|
15244
15288
|
z49.transform((v) => {
|
|
15245
15289
|
return remap(v, {
|
|
15246
15290
|
planId: "plan_id",
|
|
15247
15291
|
featureQuantities: "feature_quantities",
|
|
15248
|
-
subscriptionId: "subscription_id"
|
|
15292
|
+
subscriptionId: "subscription_id",
|
|
15293
|
+
entityId: "entity_id"
|
|
15249
15294
|
});
|
|
15250
15295
|
})
|
|
15251
15296
|
);
|
|
@@ -15295,6 +15340,7 @@ var MultiAttachAttachDiscount$outboundSchema = z49.pipe(
|
|
|
15295
15340
|
});
|
|
15296
15341
|
})
|
|
15297
15342
|
);
|
|
15343
|
+
var MultiAttachBillingBehavior$outboundSchema = z49.enum(MultiAttachBillingBehavior);
|
|
15298
15344
|
var MultiAttachRedirectMode$outboundSchema = z49.enum(MultiAttachRedirectMode);
|
|
15299
15345
|
var MultiAttachLimitType$outboundSchema = z49.enum(MultiAttachLimitType);
|
|
15300
15346
|
var MultiAttachSpendLimit$outboundSchema = z49.pipe(
|
|
@@ -15410,6 +15456,7 @@ var MultiAttachParams$outboundSchema = z49.pipe(
|
|
|
15410
15456
|
freeTrial: z49.optional(
|
|
15411
15457
|
z49.nullable(z49.lazy(() => MultiAttachFreeTrialParams$outboundSchema))
|
|
15412
15458
|
),
|
|
15459
|
+
startsAt: z49.optional(z49.int()),
|
|
15413
15460
|
currency: z49.optional(z49.string()),
|
|
15414
15461
|
invoiceMode: z49.optional(
|
|
15415
15462
|
z49.lazy(() => MultiAttachInvoiceMode$outboundSchema)
|
|
@@ -15417,6 +15464,7 @@ var MultiAttachParams$outboundSchema = z49.pipe(
|
|
|
15417
15464
|
discounts: z49.optional(
|
|
15418
15465
|
z49.array(z49.lazy(() => MultiAttachAttachDiscount$outboundSchema))
|
|
15419
15466
|
),
|
|
15467
|
+
billingBehavior: z49.optional(MultiAttachBillingBehavior$outboundSchema),
|
|
15420
15468
|
successUrl: z49.optional(z49.string()),
|
|
15421
15469
|
checkoutSessionParams: z49.optional(z49.record(z49.string(), z49.any())),
|
|
15422
15470
|
redirectMode: z49._default(
|
|
@@ -15433,7 +15481,9 @@ var MultiAttachParams$outboundSchema = z49.pipe(
|
|
|
15433
15481
|
customerId: "customer_id",
|
|
15434
15482
|
entityId: "entity_id",
|
|
15435
15483
|
freeTrial: "free_trial",
|
|
15484
|
+
startsAt: "starts_at",
|
|
15436
15485
|
invoiceMode: "invoice_mode",
|
|
15486
|
+
billingBehavior: "billing_behavior",
|
|
15437
15487
|
successUrl: "success_url",
|
|
15438
15488
|
checkoutSessionParams: "checkout_session_params",
|
|
15439
15489
|
redirectMode: "redirect_mode",
|
|
@@ -17018,6 +17068,10 @@ var PreviewMultiAttachOnEnd = {
|
|
|
17018
17068
|
Bill: "bill",
|
|
17019
17069
|
Revert: "revert"
|
|
17020
17070
|
};
|
|
17071
|
+
var PreviewMultiAttachBillingBehavior = {
|
|
17072
|
+
ProrateImmediately: "prorate_immediately",
|
|
17073
|
+
None: "none"
|
|
17074
|
+
};
|
|
17021
17075
|
var PreviewMultiAttachRedirectMode = {
|
|
17022
17076
|
Always: "always",
|
|
17023
17077
|
IfRequired: "if_required",
|
|
@@ -17228,13 +17282,15 @@ var PreviewMultiAttachPlan$outboundSchema = z53.pipe(
|
|
|
17228
17282
|
)
|
|
17229
17283
|
),
|
|
17230
17284
|
version: z53.optional(z53.number()),
|
|
17231
|
-
subscriptionId: z53.optional(z53.string())
|
|
17285
|
+
subscriptionId: z53.optional(z53.string()),
|
|
17286
|
+
entityId: z53.optional(z53.nullable(z53.string()))
|
|
17232
17287
|
}),
|
|
17233
17288
|
z53.transform((v) => {
|
|
17234
17289
|
return remap(v, {
|
|
17235
17290
|
planId: "plan_id",
|
|
17236
17291
|
featureQuantities: "feature_quantities",
|
|
17237
|
-
subscriptionId: "subscription_id"
|
|
17292
|
+
subscriptionId: "subscription_id",
|
|
17293
|
+
entityId: "entity_id"
|
|
17238
17294
|
});
|
|
17239
17295
|
})
|
|
17240
17296
|
);
|
|
@@ -17287,6 +17343,7 @@ var PreviewMultiAttachAttachDiscount$outboundSchema = z53.pipe(
|
|
|
17287
17343
|
});
|
|
17288
17344
|
})
|
|
17289
17345
|
);
|
|
17346
|
+
var PreviewMultiAttachBillingBehavior$outboundSchema = z53.enum(PreviewMultiAttachBillingBehavior);
|
|
17290
17347
|
var PreviewMultiAttachRedirectMode$outboundSchema = z53.enum(PreviewMultiAttachRedirectMode);
|
|
17291
17348
|
var PreviewMultiAttachLimitType$outboundSchema = z53.enum(PreviewMultiAttachLimitType);
|
|
17292
17349
|
var PreviewMultiAttachSpendLimit$outboundSchema = z53.pipe(
|
|
@@ -17404,6 +17461,7 @@ var PreviewMultiAttachParams$outboundSchema = z53.pipe(
|
|
|
17404
17461
|
z53.lazy(() => PreviewMultiAttachFreeTrialParams$outboundSchema)
|
|
17405
17462
|
)
|
|
17406
17463
|
),
|
|
17464
|
+
startsAt: z53.optional(z53.int()),
|
|
17407
17465
|
currency: z53.optional(z53.string()),
|
|
17408
17466
|
invoiceMode: z53.optional(
|
|
17409
17467
|
z53.lazy(() => PreviewMultiAttachInvoiceMode$outboundSchema)
|
|
@@ -17411,6 +17469,9 @@ var PreviewMultiAttachParams$outboundSchema = z53.pipe(
|
|
|
17411
17469
|
discounts: z53.optional(
|
|
17412
17470
|
z53.array(z53.lazy(() => PreviewMultiAttachAttachDiscount$outboundSchema))
|
|
17413
17471
|
),
|
|
17472
|
+
billingBehavior: z53.optional(
|
|
17473
|
+
PreviewMultiAttachBillingBehavior$outboundSchema
|
|
17474
|
+
),
|
|
17414
17475
|
successUrl: z53.optional(z53.string()),
|
|
17415
17476
|
checkoutSessionParams: z53.optional(z53.record(z53.string(), z53.any())),
|
|
17416
17477
|
redirectMode: z53._default(
|
|
@@ -17429,7 +17490,9 @@ var PreviewMultiAttachParams$outboundSchema = z53.pipe(
|
|
|
17429
17490
|
customerId: "customer_id",
|
|
17430
17491
|
entityId: "entity_id",
|
|
17431
17492
|
freeTrial: "free_trial",
|
|
17493
|
+
startsAt: "starts_at",
|
|
17432
17494
|
invoiceMode: "invoice_mode",
|
|
17495
|
+
billingBehavior: "billing_behavior",
|
|
17433
17496
|
successUrl: "success_url",
|
|
17434
17497
|
checkoutSessionParams: "checkout_session_params",
|
|
17435
17498
|
redirectMode: "redirect_mode",
|
|
@@ -24960,15 +25023,17 @@ var FailOpenHook = class {
|
|
|
24960
25023
|
var DEFAULT_TIMEOUT_MS = 5e3;
|
|
24961
25024
|
var AUTO_TIMEOUT_OPERATION_IDS = /* @__PURE__ */ new Set(["check", "track"]);
|
|
24962
25025
|
var TimeoutFixHook = class {
|
|
24963
|
-
|
|
24964
|
-
|
|
24965
|
-
|
|
24966
|
-
|
|
24967
|
-
|
|
24968
|
-
|
|
24969
|
-
|
|
24970
|
-
|
|
24971
|
-
|
|
25026
|
+
beforeCreateRequest(hookCtx, input) {
|
|
25027
|
+
if (input.options?.signal || !AUTO_TIMEOUT_OPERATION_IDS.has(hookCtx.operationID)) {
|
|
25028
|
+
return input;
|
|
25029
|
+
}
|
|
25030
|
+
return {
|
|
25031
|
+
...input,
|
|
25032
|
+
options: {
|
|
25033
|
+
...input.options,
|
|
25034
|
+
signal: AbortSignal.timeout(DEFAULT_TIMEOUT_MS)
|
|
25035
|
+
}
|
|
25036
|
+
};
|
|
24972
25037
|
}
|
|
24973
25038
|
};
|
|
24974
25039
|
|
|
@@ -24977,7 +25042,7 @@ function initHooks(hooks) {
|
|
|
24977
25042
|
const failOpenHook = new FailOpenHook();
|
|
24978
25043
|
const timeoutFixHook = new TimeoutFixHook();
|
|
24979
25044
|
hooks.registerSDKInitHook(failOpenHook);
|
|
24980
|
-
hooks.
|
|
25045
|
+
hooks.registerBeforeCreateRequestHook(timeoutFixHook);
|
|
24981
25046
|
hooks.registerAfterErrorHook(failOpenHook);
|
|
24982
25047
|
}
|
|
24983
25048
|
|
|
@@ -26823,11 +26888,13 @@ var Billing = class extends ClientSDK {
|
|
|
26823
26888
|
* @example
|
|
26824
26889
|
* ```typescript
|
|
26825
26890
|
* // Schedule a transition from a trial plan to a paid plan
|
|
26826
|
-
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":
|
|
26891
|
+
* const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1785760797907,"plans":[{"planId":"trial_plan"}]},{"startsAt":1786970397907,"plans":[{"planId":"pro_plan"}]}] });
|
|
26827
26892
|
* ```
|
|
26828
26893
|
*
|
|
26829
26894
|
* @param customerId - The ID of the customer to create the schedule for.
|
|
26830
26895
|
* @param entityId - Optional entity ID for an entity-scoped schedule. (optional)
|
|
26896
|
+
* @param freeTrial - Free trial configuration applied to every plan in the immediate phase. (optional)
|
|
26897
|
+
* @param currency - Currency used to bill the immediate phase. (optional)
|
|
26831
26898
|
* @param invoiceMode - Invoice mode creates and sends an invoice instead of charging the customer's payment method immediately for the first phase. (optional)
|
|
26832
26899
|
* @param discounts - List of discounts to apply to the immediate phase. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
26833
26900
|
* @param successUrl - URL to redirect to after successful checkout. (optional)
|
|
@@ -26836,6 +26903,7 @@ var Billing = class extends ClientSDK {
|
|
|
26836
26903
|
* @param billingBehavior - Whether to prorate the immediate phase. 'none' skips proration charges and credits. (optional)
|
|
26837
26904
|
* @param billingCycleAnchor - Pass 'now' to reset the billing cycle anchor of the immediate phase to the current time. (optional)
|
|
26838
26905
|
* @param enablePlanImmediately - If true, the immediate-phase cusProducts are activated immediately (and scheduled-phase cusProducts pre-inserted) even when payment is pending via Stripe checkout. The Autumn schedule rows are persisted on checkout.session.completed. (optional)
|
|
26906
|
+
* @param preserveAddOns - If true, active recurring add-ons in scopes represented by the phase plans are retained. (optional)
|
|
26839
26907
|
* @param phases - Ordered phase definitions for the schedule.
|
|
26840
26908
|
*
|
|
26841
26909
|
* @returns A create-schedule response with the schedule ID, persisted phases, and any required payment or checkout URL.
|
|
@@ -26874,9 +26942,11 @@ var Billing = class extends ClientSDK {
|
|
|
26874
26942
|
* @param entityId - The ID of the entity to attach the plans to. (optional)
|
|
26875
26943
|
* @param plans - The list of plans to attach to the customer.
|
|
26876
26944
|
* @param freeTrial - Free trial configuration applied to all plans. Pass an object to set a custom trial, or null to remove any trial. (optional)
|
|
26945
|
+
* @param startsAt - Unix timestamp in milliseconds for backdating every plan in this multi-attach. (optional)
|
|
26877
26946
|
* @param currency - Currency to bill this multi-attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and every plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
26878
26947
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. (optional)
|
|
26879
26948
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
26949
|
+
* @param billingBehavior - How to handle billing. 'prorate_immediately' charges/credits prorated amounts now, 'none' does not charge/credit anything. (optional)
|
|
26880
26950
|
* @param successUrl - URL to redirect to after successful checkout. (optional)
|
|
26881
26951
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
26882
26952
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
@@ -26957,9 +27027,11 @@ var Billing = class extends ClientSDK {
|
|
|
26957
27027
|
* @param entityId - The ID of the entity to attach the plans to. (optional)
|
|
26958
27028
|
* @param plans - The list of plans to attach to the customer.
|
|
26959
27029
|
* @param freeTrial - Free trial configuration applied to all plans. Pass an object to set a custom trial, or null to remove any trial. (optional)
|
|
27030
|
+
* @param startsAt - Unix timestamp in milliseconds for backdating every plan in this multi-attach. (optional)
|
|
26960
27031
|
* @param currency - Currency to bill this multi-attach in (e.g. usd, eur). Must match the customer's currency if they are already locked to one, and every plan must offer a paid price in it. Defaults to the customer's currency, then the org default. (optional)
|
|
26961
27032
|
* @param invoiceMode - Invoice mode creates a draft or open invoice and sends it to the customer, instead of charging their card immediately. (optional)
|
|
26962
27033
|
* @param discounts - List of discounts to apply. Each discount can be an Autumn reward ID, Stripe coupon ID, or Stripe promotion code. (optional)
|
|
27034
|
+
* @param billingBehavior - How to handle billing. 'prorate_immediately' charges/credits prorated amounts now, 'none' does not charge/credit anything. (optional)
|
|
26963
27035
|
* @param successUrl - URL to redirect to after successful checkout. (optional)
|
|
26964
27036
|
* @param checkoutSessionParams - Additional parameters to pass into the creation of the Stripe checkout session. (optional)
|
|
26965
27037
|
* @param redirectMode - Controls when to return a checkout URL. 'always' returns a URL even if payment succeeds, 'if_required' only when payment action is needed, 'never' disables redirects. (optional)
|
|
@@ -32546,7 +32618,8 @@ var multiAttachPlanOutboundSchema = import_v47.z.object({
|
|
|
32546
32618
|
customize: import_v47.z.union([multiAttachCustomizeOutboundSchema, import_v47.z.undefined()]).optional(),
|
|
32547
32619
|
feature_quantities: import_v47.z.union([import_v47.z.array(multiAttachFeatureQuantityOutboundSchema), import_v47.z.undefined()]).optional(),
|
|
32548
32620
|
version: import_v47.z.union([import_v47.z.number(), import_v47.z.undefined()]).optional(),
|
|
32549
|
-
subscription_id: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional()
|
|
32621
|
+
subscription_id: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32622
|
+
entity_id: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional().nullable()
|
|
32550
32623
|
});
|
|
32551
32624
|
var multiAttachFreeTrialParamsOutboundSchema = import_v47.z.object({
|
|
32552
32625
|
duration_length: import_v47.z.number(),
|
|
@@ -32674,7 +32747,8 @@ var multiAttachPlanSchema = import_v47.z.object({
|
|
|
32674
32747
|
customize: import_v47.z.union([multiAttachCustomizeSchema, import_v47.z.undefined()]).optional(),
|
|
32675
32748
|
featureQuantities: import_v47.z.union([import_v47.z.array(multiAttachFeatureQuantitySchema), import_v47.z.undefined()]).optional(),
|
|
32676
32749
|
version: import_v47.z.union([import_v47.z.number(), import_v47.z.undefined()]).optional(),
|
|
32677
|
-
subscriptionId: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional()
|
|
32750
|
+
subscriptionId: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32751
|
+
entityId: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional().nullable()
|
|
32678
32752
|
});
|
|
32679
32753
|
var multiAttachDurationTypeSchema = closedEnumSchema4;
|
|
32680
32754
|
var multiAttachOnEndSchema = closedEnumSchema4;
|
|
@@ -32684,6 +32758,7 @@ var multiAttachFreeTrialParamsSchema = import_v47.z.object({
|
|
|
32684
32758
|
cardRequired: import_v47.z.union([import_v47.z.boolean(), import_v47.z.undefined()]).optional(),
|
|
32685
32759
|
onEnd: import_v47.z.union([multiAttachOnEndSchema, import_v47.z.undefined()]).optional()
|
|
32686
32760
|
});
|
|
32761
|
+
var multiAttachBillingBehaviorSchema = closedEnumSchema4;
|
|
32687
32762
|
var multiAttachRedirectModeSchema = closedEnumSchema4;
|
|
32688
32763
|
var multiAttachLimitTypeSchema = closedEnumSchema4;
|
|
32689
32764
|
var multiAttachSpendLimitSchema = import_v47.z.object({
|
|
@@ -32725,9 +32800,11 @@ var multiAttachParamsSchema = import_v47.z.object({
|
|
|
32725
32800
|
entityId: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32726
32801
|
plans: import_v47.z.array(multiAttachPlanSchema),
|
|
32727
32802
|
freeTrial: import_v47.z.union([multiAttachFreeTrialParamsSchema, import_v47.z.undefined()]).optional().nullable(),
|
|
32803
|
+
startsAt: import_v47.z.union([import_v47.z.number(), import_v47.z.undefined()]).optional(),
|
|
32728
32804
|
currency: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32729
32805
|
invoiceMode: import_v47.z.union([multiAttachInvoiceModeSchema, import_v47.z.undefined()]).optional(),
|
|
32730
32806
|
discounts: import_v47.z.union([import_v47.z.array(multiAttachAttachDiscountSchema), import_v47.z.undefined()]).optional(),
|
|
32807
|
+
billingBehavior: import_v47.z.union([multiAttachBillingBehaviorSchema, import_v47.z.undefined()]).optional(),
|
|
32731
32808
|
successUrl: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32732
32809
|
checkoutSessionParams: import_v47.z.union([import_v47.z.record(import_v47.z.string(), import_v47.z.any()), import_v47.z.undefined()]).optional(),
|
|
32733
32810
|
redirectMode: import_v47.z.union([multiAttachRedirectModeSchema, import_v47.z.undefined()]).optional(),
|
|
@@ -32753,9 +32830,11 @@ var multiAttachParamsOutboundSchema = import_v47.z.object({
|
|
|
32753
32830
|
entity_id: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32754
32831
|
plans: import_v47.z.array(multiAttachPlanOutboundSchema),
|
|
32755
32832
|
free_trial: import_v47.z.union([multiAttachFreeTrialParamsOutboundSchema, import_v47.z.undefined()]).optional().nullable(),
|
|
32833
|
+
starts_at: import_v47.z.union([import_v47.z.number(), import_v47.z.undefined()]).optional(),
|
|
32756
32834
|
currency: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32757
32835
|
invoice_mode: import_v47.z.union([multiAttachInvoiceModeOutboundSchema, import_v47.z.undefined()]).optional(),
|
|
32758
32836
|
discounts: import_v47.z.union([import_v47.z.array(multiAttachAttachDiscountOutboundSchema), import_v47.z.undefined()]).optional(),
|
|
32837
|
+
billing_behavior: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32759
32838
|
success_url: import_v47.z.union([import_v47.z.string(), import_v47.z.undefined()]).optional(),
|
|
32760
32839
|
checkout_session_params: import_v47.z.union([import_v47.z.record(import_v47.z.string(), import_v47.z.any()), import_v47.z.undefined()]).optional(),
|
|
32761
32840
|
redirect_mode: import_v47.z.string(),
|
|
@@ -33901,7 +33980,8 @@ var previewMultiAttachPlanOutboundSchema = import_v410.z.object({
|
|
|
33901
33980
|
import_v410.z.undefined()
|
|
33902
33981
|
]).optional(),
|
|
33903
33982
|
version: import_v410.z.union([import_v410.z.number(), import_v410.z.undefined()]).optional(),
|
|
33904
|
-
subscription_id: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional()
|
|
33983
|
+
subscription_id: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
33984
|
+
entity_id: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional().nullable()
|
|
33905
33985
|
});
|
|
33906
33986
|
var previewMultiAttachFreeTrialParamsOutboundSchema = import_v410.z.object({
|
|
33907
33987
|
duration_length: import_v410.z.number(),
|
|
@@ -34039,7 +34119,8 @@ var previewMultiAttachPlanSchema = import_v410.z.object({
|
|
|
34039
34119
|
import_v410.z.undefined()
|
|
34040
34120
|
]).optional(),
|
|
34041
34121
|
version: import_v410.z.union([import_v410.z.number(), import_v410.z.undefined()]).optional(),
|
|
34042
|
-
subscriptionId: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional()
|
|
34122
|
+
subscriptionId: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34123
|
+
entityId: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional().nullable()
|
|
34043
34124
|
});
|
|
34044
34125
|
var previewMultiAttachDurationTypeSchema = closedEnumSchema6;
|
|
34045
34126
|
var previewMultiAttachOnEndSchema = closedEnumSchema6;
|
|
@@ -34049,6 +34130,7 @@ var previewMultiAttachFreeTrialParamsSchema = import_v410.z.object({
|
|
|
34049
34130
|
cardRequired: import_v410.z.union([import_v410.z.boolean(), import_v410.z.undefined()]).optional(),
|
|
34050
34131
|
onEnd: import_v410.z.union([previewMultiAttachOnEndSchema, import_v410.z.undefined()]).optional()
|
|
34051
34132
|
});
|
|
34133
|
+
var previewMultiAttachBillingBehaviorSchema = closedEnumSchema6;
|
|
34052
34134
|
var previewMultiAttachRedirectModeSchema = closedEnumSchema6;
|
|
34053
34135
|
var previewMultiAttachLimitTypeSchema = closedEnumSchema6;
|
|
34054
34136
|
var previewMultiAttachSpendLimitSchema = import_v410.z.object({
|
|
@@ -34090,9 +34172,11 @@ var previewMultiAttachParamsSchema = import_v410.z.object({
|
|
|
34090
34172
|
entityId: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34091
34173
|
plans: import_v410.z.array(previewMultiAttachPlanSchema),
|
|
34092
34174
|
freeTrial: import_v410.z.union([previewMultiAttachFreeTrialParamsSchema, import_v410.z.undefined()]).optional().nullable(),
|
|
34175
|
+
startsAt: import_v410.z.union([import_v410.z.number(), import_v410.z.undefined()]).optional(),
|
|
34093
34176
|
currency: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34094
34177
|
invoiceMode: import_v410.z.union([previewMultiAttachInvoiceModeSchema, import_v410.z.undefined()]).optional(),
|
|
34095
34178
|
discounts: import_v410.z.union([import_v410.z.array(previewMultiAttachAttachDiscountSchema), import_v410.z.undefined()]).optional(),
|
|
34179
|
+
billingBehavior: import_v410.z.union([previewMultiAttachBillingBehaviorSchema, import_v410.z.undefined()]).optional(),
|
|
34096
34180
|
successUrl: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34097
34181
|
checkoutSessionParams: import_v410.z.union([import_v410.z.record(import_v410.z.string(), import_v410.z.any()), import_v410.z.undefined()]).optional(),
|
|
34098
34182
|
redirectMode: import_v410.z.union([previewMultiAttachRedirectModeSchema, import_v410.z.undefined()]).optional(),
|
|
@@ -34146,12 +34230,14 @@ var previewMultiAttachParamsOutboundSchema = import_v410.z.object({
|
|
|
34146
34230
|
entity_id: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34147
34231
|
plans: import_v410.z.array(previewMultiAttachPlanOutboundSchema),
|
|
34148
34232
|
free_trial: import_v410.z.union([previewMultiAttachFreeTrialParamsOutboundSchema, import_v410.z.undefined()]).optional().nullable(),
|
|
34233
|
+
starts_at: import_v410.z.union([import_v410.z.number(), import_v410.z.undefined()]).optional(),
|
|
34149
34234
|
currency: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34150
34235
|
invoice_mode: import_v410.z.union([previewMultiAttachInvoiceModeOutboundSchema, import_v410.z.undefined()]).optional(),
|
|
34151
34236
|
discounts: import_v410.z.union([
|
|
34152
34237
|
import_v410.z.array(previewMultiAttachAttachDiscountOutboundSchema),
|
|
34153
34238
|
import_v410.z.undefined()
|
|
34154
34239
|
]).optional(),
|
|
34240
|
+
billing_behavior: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34155
34241
|
success_url: import_v410.z.union([import_v410.z.string(), import_v410.z.undefined()]).optional(),
|
|
34156
34242
|
checkout_session_params: import_v410.z.union([import_v410.z.record(import_v410.z.string(), import_v410.z.any()), import_v410.z.undefined()]).optional(),
|
|
34157
34243
|
redirect_mode: import_v410.z.string(),
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import "../../chunk-VXND2UDT.mjs";
|
|
2
2
|
import {
|
|
3
3
|
handleRouteByName
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-KW47VZ73.mjs";
|
|
5
5
|
import {
|
|
6
6
|
createCoreHandler
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-UAR3TMWI.mjs";
|
|
10
|
-
import "../../chunk-PVDDMLWT.mjs";
|
|
11
|
-
import "../../chunk-YKRFY5TK.mjs";
|
|
7
|
+
} from "../../chunk-SBZEXVB4.mjs";
|
|
8
|
+
import "../../chunk-RPUV2OZA.mjs";
|
|
12
9
|
import {
|
|
13
10
|
executeRoute
|
|
14
|
-
} from "../../chunk-
|
|
15
|
-
import "../../chunk-OTXV5FY7.mjs";
|
|
16
|
-
import "../../chunk-I7CD6EB6.mjs";
|
|
17
|
-
import "../../chunk-VZIMT7AO.mjs";
|
|
11
|
+
} from "../../chunk-MOHYGUMA.mjs";
|
|
18
12
|
import {
|
|
19
13
|
resolveIdentity
|
|
20
14
|
} from "../../chunk-TBQ27LIK.mjs";
|
|
21
15
|
import {
|
|
22
16
|
transformSdkError
|
|
23
17
|
} from "../../chunk-J44WR3QZ.mjs";
|
|
18
|
+
import "../../chunk-TSF4YCUO.mjs";
|
|
19
|
+
import "../../chunk-UAR3TMWI.mjs";
|
|
20
|
+
import "../../chunk-UJS4Q7J4.mjs";
|
|
21
|
+
import "../../chunk-OTXV5FY7.mjs";
|
|
22
|
+
import "../../chunk-VZIMT7AO.mjs";
|
|
23
|
+
import "../../chunk-I7CD6EB6.mjs";
|
|
24
24
|
import "../../chunk-N7NFYY54.mjs";
|
|
25
25
|
export {
|
|
26
26
|
createCoreHandler,
|
|
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.mjs';
|
|
|
2
2
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-COW88tnI.mjs';
|
|
3
3
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.mjs';
|
|
4
4
|
export { BackendErrorBody, BackendResult } from './types/responseTypes.mjs';
|
|
5
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-
|
|
5
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-DnUY8ksp.mjs';
|
|
6
6
|
export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.mjs';
|
|
7
7
|
export { buildRouter } from './routes/routeBuilder.mjs';
|
|
8
8
|
export { routeConfigs } from './routes/routeConfigs.mjs';
|
|
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.js';
|
|
|
2
2
|
export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-COW88tnI.js';
|
|
3
3
|
export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.js';
|
|
4
4
|
export { BackendErrorBody, BackendResult } from './types/responseTypes.js';
|
|
5
|
-
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-
|
|
5
|
+
export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-TbN5QHEp.js';
|
|
6
6
|
export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.js';
|
|
7
7
|
export { buildRouter } from './routes/routeBuilder.js';
|
|
8
8
|
export { routeConfigs } from './routes/routeConfigs.js';
|