autumn-js 1.3.48 → 1.3.49

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.
Files changed (112) hide show
  1. package/dist/backend/adapters/express.js +214 -17
  2. package/dist/backend/adapters/express.mjs +8 -8
  3. package/dist/backend/adapters/fetch.js +214 -17
  4. package/dist/backend/adapters/fetch.mjs +8 -8
  5. package/dist/backend/adapters/hono.js +214 -17
  6. package/dist/backend/adapters/hono.mjs +8 -8
  7. package/dist/backend/adapters/index.js +214 -17
  8. package/dist/backend/adapters/index.mjs +11 -11
  9. package/dist/backend/adapters/next.js +214 -17
  10. package/dist/backend/adapters/next.mjs +8 -8
  11. package/dist/backend/{chunk-JJEEJKM7.mjs → chunk-5CDM4XIN.mjs} +4 -4
  12. package/dist/backend/{chunk-5D6J5UMK.mjs → chunk-5DMQUWII.mjs} +1 -1
  13. package/dist/backend/{chunk-3T6FAZDO.mjs → chunk-BZ54HK66.mjs} +1 -1
  14. package/dist/backend/{chunk-RVOZXEI3.mjs → chunk-HLYVCB6M.mjs} +1 -1
  15. package/dist/backend/{chunk-KSYN5FLV.mjs → chunk-JPQERXWV.mjs} +214 -17
  16. package/dist/backend/{chunk-GBISDPPO.mjs → chunk-SS7EKOGZ.mjs} +6 -6
  17. package/dist/backend/{chunk-WXLAGRC4.mjs → chunk-ZJSWDKBL.mjs} +1 -1
  18. package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
  19. package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
  20. package/dist/backend/core/handlers/coreHandler.js +214 -17
  21. package/dist/backend/core/handlers/coreHandler.mjs +6 -6
  22. package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
  23. package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
  24. package/dist/backend/core/handlers/executeRoute.mjs +4 -4
  25. package/dist/backend/core/handlers/handleRouteByName.js +214 -17
  26. package/dist/backend/core/handlers/handleRouteByName.mjs +6 -6
  27. package/dist/backend/core/handlers/index.d.mts +1 -1
  28. package/dist/backend/core/handlers/index.d.ts +1 -1
  29. package/dist/backend/core/handlers/index.js +214 -17
  30. package/dist/backend/core/handlers/index.mjs +10 -10
  31. package/dist/backend/core/index.d.mts +1 -1
  32. package/dist/backend/core/index.d.ts +1 -1
  33. package/dist/backend/core/index.js +214 -17
  34. package/dist/backend/core/index.mjs +9 -9
  35. package/dist/backend/core/routes/index.d.mts +1 -1
  36. package/dist/backend/core/routes/index.d.ts +1 -1
  37. package/dist/backend/core/routes/index.mjs +1 -1
  38. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  39. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  40. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  41. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  42. package/dist/backend/core/routes/routeConfigs.mjs +1 -1
  43. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  44. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  45. package/dist/backend/core/types/index.d.mts +1 -1
  46. package/dist/backend/core/types/index.d.ts +1 -1
  47. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  48. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  49. package/dist/backend/core/utils/index.mjs +3 -3
  50. package/dist/backend/index.d.mts +2 -2
  51. package/dist/backend/index.d.ts +2 -2
  52. package/dist/backend/index.js +214 -17
  53. package/dist/backend/index.mjs +9 -9
  54. package/dist/backend/{routeTypes-DAI_E67X.d.mts → routeTypes-Czot4Qi-.d.mts} +232 -2
  55. package/dist/backend/{routeTypes-4TatmvQY.d.ts → routeTypes-D4pVj85I.d.ts} +232 -2
  56. package/dist/better-auth/{chunk-R7IEJQOY.mjs → chunk-57PPCUDF.mjs} +214 -17
  57. package/dist/better-auth/index.js +214 -17
  58. package/dist/better-auth/index.mjs +1 -1
  59. package/dist/better-auth/utils/handleBetterAuthRoute.js +214 -17
  60. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
  61. package/dist/better-auth/utils/index.js +214 -17
  62. package/dist/better-auth/utils/index.mjs +1 -1
  63. package/dist/react/AutumnContext.d.mts +4 -4
  64. package/dist/react/AutumnContext.d.ts +4 -4
  65. package/dist/react/client/AutumnClient.d.mts +4 -4
  66. package/dist/react/client/AutumnClient.d.ts +4 -4
  67. package/dist/react/client/IAutumnClient.d.mts +4 -4
  68. package/dist/react/client/IAutumnClient.d.ts +4 -4
  69. package/dist/react/client/index.d.mts +4 -4
  70. package/dist/react/client/index.d.ts +4 -4
  71. package/dist/react/{customer-DfpvnPRk.d.mts → customer-CZn6Nd7a.d.mts} +47 -1
  72. package/dist/react/{customer-B0KAd7eZ.d.ts → customer-Dt0OdihJ.d.ts} +47 -1
  73. package/dist/react/hooks/index.d.mts +4 -4
  74. package/dist/react/hooks/index.d.ts +4 -4
  75. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  76. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  77. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  78. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  79. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  80. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  81. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  82. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  83. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  84. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  85. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  86. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  87. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  88. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  89. package/dist/react/hooks/useCustomer.d.mts +3 -3
  90. package/dist/react/hooks/useCustomer.d.ts +3 -3
  91. package/dist/react/hooks/useEntity.d.mts +2 -2
  92. package/dist/react/hooks/useEntity.d.ts +2 -2
  93. package/dist/react/hooks/useListEvents.d.mts +2 -2
  94. package/dist/react/hooks/useListEvents.d.ts +2 -2
  95. package/dist/react/hooks/useListPlans.d.mts +3 -3
  96. package/dist/react/hooks/useListPlans.d.ts +3 -3
  97. package/dist/react/hooks/useReferrals.d.mts +2 -2
  98. package/dist/react/hooks/useReferrals.d.ts +2 -2
  99. package/dist/react/index.d.mts +4 -4
  100. package/dist/react/index.d.ts +4 -4
  101. package/dist/react/{list-plans-response-6iUDTnPQ.d.ts → list-plans-response-Bx4e7rvw.d.ts} +1 -1
  102. package/dist/react/{list-plans-response-BzsqJlxN.d.mts → list-plans-response-ibIt0k4N.d.mts} +1 -1
  103. package/dist/react/{params-CMcoADwO.d.ts → params-BGpmxI8B.d.mts} +1 -1
  104. package/dist/react/{params-vAoGWtk9.d.mts → params-C7_vr_BA.d.ts} +1 -1
  105. package/dist/react/{plan-Ct5TGTnS.d.mts → plan-CvxFKlF7.d.mts} +2 -2
  106. package/dist/react/{plan-Ct5TGTnS.d.ts → plan-CvxFKlF7.d.ts} +2 -2
  107. package/dist/sdk/index.d.mts +287 -5
  108. package/dist/sdk/index.d.ts +287 -5
  109. package/dist/sdk/index.js +317 -22
  110. package/dist/sdk/index.mjs +286 -21
  111. package/package.json +2 -2
  112. package/dist/backend/{chunk-IXUCY7AU.mjs → chunk-MOHYGUMA.mjs} +3 -3
@@ -4053,7 +4053,7 @@ var BalancePrice$inboundSchema = z15.pipe(
4053
4053
  })
4054
4054
  );
4055
4055
  var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
4056
- var Allocation$inboundSchema = z15.object({
4056
+ var BalanceAllocation$inboundSchema = z15.object({
4057
4057
  amount: number2()
4058
4058
  });
4059
4059
  var Breakdown$inboundSchema = z15.pipe(
@@ -4070,7 +4070,7 @@ var Breakdown$inboundSchema = z15.pipe(
4070
4070
  expires_at: nullable(number2()),
4071
4071
  source: optional3(BalanceSource$inboundSchema),
4072
4072
  allocation: z15.optional(
4073
- z15.nullable(z15.lazy(() => Allocation$inboundSchema))
4073
+ z15.nullable(z15.lazy(() => BalanceAllocation$inboundSchema))
4074
4074
  )
4075
4075
  }),
4076
4076
  z15.transform((v) => {
@@ -21155,6 +21155,17 @@ var CustomerEnv = {
21155
21155
  Sandbox: "sandbox",
21156
21156
  Live: "live"
21157
21157
  };
21158
+ var CustomerBalanceAllocationInterval = {
21159
+ OneOff: "one_off",
21160
+ Minute: "minute",
21161
+ Hour: "hour",
21162
+ Day: "day",
21163
+ Week: "week",
21164
+ Month: "month",
21165
+ Quarter: "quarter",
21166
+ SemiAnnual: "semi_annual",
21167
+ Year: "year"
21168
+ };
21158
21169
  var CustomerAutoTopupInterval2 = {
21159
21170
  Hour: "hour",
21160
21171
  Day: "day",
@@ -21269,6 +21280,30 @@ var TaxExempt = {
21269
21280
  Reverse: "reverse"
21270
21281
  };
21271
21282
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
21283
+ var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
21284
+ var CustomerAllocation$inboundSchema = z39.pipe(
21285
+ z39.object({
21286
+ entity_id: string5(),
21287
+ amount: number2()
21288
+ }),
21289
+ z39.transform((v) => {
21290
+ return remap(v, {
21291
+ "entity_id": "entityId"
21292
+ });
21293
+ })
21294
+ );
21295
+ var CustomerBalanceAllocation$inboundSchema = z39.pipe(
21296
+ z39.object({
21297
+ feature_id: string5(),
21298
+ interval: CustomerBalanceAllocationInterval$inboundSchema,
21299
+ allocations: z39.array(z39.lazy(() => CustomerAllocation$inboundSchema))
21300
+ }),
21301
+ z39.transform((v) => {
21302
+ return remap(v, {
21303
+ "feature_id": "featureId"
21304
+ });
21305
+ })
21306
+ );
21272
21307
  var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
21273
21308
  var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
21274
21309
  z39.object({
@@ -21410,6 +21445,9 @@ var CustomerOverageAllowed$inboundSchema = z39.pipe(
21410
21445
  );
21411
21446
  var CustomerBillingControls$inboundSchema = z39.pipe(
21412
21447
  z39.object({
21448
+ balance_allocations: optional3(
21449
+ z39.array(z39.lazy(() => CustomerBalanceAllocation$inboundSchema))
21450
+ ),
21413
21451
  auto_topups: optional3(
21414
21452
  z39.array(z39.lazy(() => CustomerAutoTopup$inboundSchema))
21415
21453
  ),
@@ -21428,6 +21466,7 @@ var CustomerBillingControls$inboundSchema = z39.pipe(
21428
21466
  }),
21429
21467
  z39.transform((v) => {
21430
21468
  return remap(v, {
21469
+ "balance_allocations": "balanceAllocations",
21431
21470
  "auto_topups": "autoTopups",
21432
21471
  "spend_limits": "spendLimits",
21433
21472
  "usage_limits": "usageLimits",
@@ -22440,6 +22479,17 @@ var GetCustomerEnv = {
22440
22479
  Sandbox: "sandbox",
22441
22480
  Live: "live"
22442
22481
  };
22482
+ var GetCustomerBalanceAllocationInterval = {
22483
+ OneOff: "one_off",
22484
+ Minute: "minute",
22485
+ Hour: "hour",
22486
+ Day: "day",
22487
+ Week: "week",
22488
+ Month: "month",
22489
+ Quarter: "quarter",
22490
+ SemiAnnual: "semi_annual",
22491
+ Year: "year"
22492
+ };
22443
22493
  var GetCustomerAutoTopupInterval2 = {
22444
22494
  Hour: "hour",
22445
22495
  Day: "day",
@@ -22565,6 +22615,30 @@ var GetCustomerParams$outboundSchema = z52.pipe(
22565
22615
  })
22566
22616
  );
22567
22617
  var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
22618
+ var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
22619
+ var GetCustomerAllocation$inboundSchema = z52.pipe(
22620
+ z52.object({
22621
+ entity_id: string5(),
22622
+ amount: number2()
22623
+ }),
22624
+ z52.transform((v) => {
22625
+ return remap(v, {
22626
+ "entity_id": "entityId"
22627
+ });
22628
+ })
22629
+ );
22630
+ var GetCustomerBalanceAllocation$inboundSchema = z52.pipe(
22631
+ z52.object({
22632
+ feature_id: string5(),
22633
+ interval: GetCustomerBalanceAllocationInterval$inboundSchema,
22634
+ allocations: z52.array(z52.lazy(() => GetCustomerAllocation$inboundSchema))
22635
+ }),
22636
+ z52.transform((v) => {
22637
+ return remap(v, {
22638
+ "feature_id": "featureId"
22639
+ });
22640
+ })
22641
+ );
22568
22642
  var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
22569
22643
  var GetCustomerPurchaseLimit2$inboundSchema = z52.pipe(
22570
22644
  z52.object({
@@ -22706,6 +22780,9 @@ var GetCustomerOverageAllowed$inboundSchema = z52.pipe(
22706
22780
  );
22707
22781
  var GetCustomerBillingControls$inboundSchema = z52.pipe(
22708
22782
  z52.object({
22783
+ balance_allocations: optional3(
22784
+ z52.array(z52.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
22785
+ ),
22709
22786
  auto_topups: optional3(
22710
22787
  z52.array(z52.lazy(() => GetCustomerAutoTopup$inboundSchema))
22711
22788
  ),
@@ -22724,6 +22801,7 @@ var GetCustomerBillingControls$inboundSchema = z52.pipe(
22724
22801
  }),
22725
22802
  z52.transform((v) => {
22726
22803
  return remap(v, {
22804
+ "balance_allocations": "balanceAllocations",
22727
22805
  "auto_topups": "autoTopups",
22728
22806
  "spend_limits": "spendLimits",
22729
22807
  "usage_limits": "usageLimits",
@@ -28341,6 +28419,17 @@ var ListCustomersEnv = {
28341
28419
  Sandbox: "sandbox",
28342
28420
  Live: "live"
28343
28421
  };
28422
+ var ListCustomersBalanceAllocationInterval = {
28423
+ OneOff: "one_off",
28424
+ Minute: "minute",
28425
+ Hour: "hour",
28426
+ Day: "day",
28427
+ Week: "week",
28428
+ Month: "month",
28429
+ Quarter: "quarter",
28430
+ SemiAnnual: "semi_annual",
28431
+ Year: "year"
28432
+ };
28344
28433
  var ListCustomersAutoTopupInterval2 = {
28345
28434
  Hour: "hour",
28346
28435
  Day: "day",
@@ -28465,6 +28554,30 @@ var ListCustomersParams$outboundSchema = z67.pipe(
28465
28554
  })
28466
28555
  );
28467
28556
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
28557
+ var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
28558
+ var ListCustomersAllocation$inboundSchema = z67.pipe(
28559
+ z67.object({
28560
+ entity_id: string5(),
28561
+ amount: number2()
28562
+ }),
28563
+ z67.transform((v) => {
28564
+ return remap(v, {
28565
+ "entity_id": "entityId"
28566
+ });
28567
+ })
28568
+ );
28569
+ var ListCustomersBalanceAllocation$inboundSchema = z67.pipe(
28570
+ z67.object({
28571
+ feature_id: string5(),
28572
+ interval: ListCustomersBalanceAllocationInterval$inboundSchema,
28573
+ allocations: z67.array(z67.lazy(() => ListCustomersAllocation$inboundSchema))
28574
+ }),
28575
+ z67.transform((v) => {
28576
+ return remap(v, {
28577
+ "feature_id": "featureId"
28578
+ });
28579
+ })
28580
+ );
28468
28581
  var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
28469
28582
  var ListCustomersPurchaseLimit2$inboundSchema = z67.pipe(
28470
28583
  z67.object({
@@ -28606,6 +28719,9 @@ var ListCustomersOverageAllowed$inboundSchema = z67.pipe(
28606
28719
  );
28607
28720
  var ListCustomersBillingControls$inboundSchema = z67.pipe(
28608
28721
  z67.object({
28722
+ balance_allocations: optional3(
28723
+ z67.array(z67.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
28724
+ ),
28609
28725
  auto_topups: optional3(
28610
28726
  z67.array(z67.lazy(() => ListCustomersAutoTopup$inboundSchema))
28611
28727
  ),
@@ -28624,6 +28740,7 @@ var ListCustomersBillingControls$inboundSchema = z67.pipe(
28624
28740
  }),
28625
28741
  z67.transform((v) => {
28626
28742
  return remap(v, {
28743
+ "balance_allocations": "balanceAllocations",
28627
28744
  "auto_topups": "autoTopups",
28628
28745
  "spend_limits": "spendLimits",
28629
28746
  "usage_limits": "usageLimits",
@@ -46781,6 +46898,17 @@ var UpdateBalanceResponse$inboundSchema = z109.object({
46781
46898
 
46782
46899
  // ../sdk/src/models/update-customer-op.ts
46783
46900
  var z110 = __toESM(require("zod/v4-mini"), 1);
46901
+ var BalanceAllocationIntervalRequestBody = {
46902
+ OneOff: "one_off",
46903
+ Minute: "minute",
46904
+ Hour: "hour",
46905
+ Day: "day",
46906
+ Week: "week",
46907
+ Month: "month",
46908
+ Quarter: "quarter",
46909
+ SemiAnnual: "semi_annual",
46910
+ Year: "year"
46911
+ };
46784
46912
  var UpdateCustomerAutoTopupIntervalRequestBody = {
46785
46913
  Hour: "hour",
46786
46914
  Day: "day",
@@ -46830,6 +46958,17 @@ var UpdateCustomerEnv = {
46830
46958
  Sandbox: "sandbox",
46831
46959
  Live: "live"
46832
46960
  };
46961
+ var UpdateCustomerBalanceAllocationIntervalResponse = {
46962
+ OneOff: "one_off",
46963
+ Minute: "minute",
46964
+ Hour: "hour",
46965
+ Day: "day",
46966
+ Week: "week",
46967
+ Month: "month",
46968
+ Quarter: "quarter",
46969
+ SemiAnnual: "semi_annual",
46970
+ Year: "year"
46971
+ };
46833
46972
  var UpdateCustomerAutoTopupIntervalResponse2 = {
46834
46973
  Hour: "hour",
46835
46974
  Day: "day",
@@ -46918,6 +47057,30 @@ var UpdateCustomerDimensionsToEnum1 = {
46918
47057
  var UpdateCustomerToEnum = {
46919
47058
  Inf: "inf"
46920
47059
  };
47060
+ var BalanceAllocationIntervalRequestBody$outboundSchema = z110.enum(BalanceAllocationIntervalRequestBody);
47061
+ var AllocationRequest$outboundSchema = z110.pipe(
47062
+ z110.object({
47063
+ entityId: z110.string(),
47064
+ amount: z110.number()
47065
+ }),
47066
+ z110.transform((v) => {
47067
+ return remap(v, {
47068
+ entityId: "entity_id"
47069
+ });
47070
+ })
47071
+ );
47072
+ var BalanceAllocationRequest$outboundSchema = z110.pipe(
47073
+ z110.object({
47074
+ featureId: z110.string(),
47075
+ interval: BalanceAllocationIntervalRequestBody$outboundSchema,
47076
+ allocations: z110.array(z110.lazy(() => AllocationRequest$outboundSchema))
47077
+ }),
47078
+ z110.transform((v) => {
47079
+ return remap(v, {
47080
+ featureId: "feature_id"
47081
+ });
47082
+ })
47083
+ );
46921
47084
  var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z110.enum(
46922
47085
  UpdateCustomerAutoTopupIntervalRequestBody
46923
47086
  );
@@ -47072,6 +47235,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z110.pipe(
47072
47235
  );
47073
47236
  var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47074
47237
  z110.object({
47238
+ balanceAllocations: z110.optional(
47239
+ z110.array(z110.lazy(() => BalanceAllocationRequest$outboundSchema))
47240
+ ),
47075
47241
  autoTopups: z110.optional(
47076
47242
  z110.array(
47077
47243
  z110.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
@@ -47103,6 +47269,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47103
47269
  }),
47104
47270
  z110.transform((v) => {
47105
47271
  return remap(v, {
47272
+ balanceAllocations: "balance_allocations",
47106
47273
  autoTopups: "auto_topups",
47107
47274
  spendLimits: "spend_limits",
47108
47275
  usageLimits: "usage_limits",
@@ -47227,6 +47394,32 @@ var UpdateCustomerParams$outboundSchema = z110.pipe(
47227
47394
  })
47228
47395
  );
47229
47396
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
47397
+ var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
47398
+ var UpdateCustomerAllocationResponse$inboundSchema = z110.pipe(
47399
+ z110.object({
47400
+ entity_id: string5(),
47401
+ amount: number2()
47402
+ }),
47403
+ z110.transform((v) => {
47404
+ return remap(v, {
47405
+ "entity_id": "entityId"
47406
+ });
47407
+ })
47408
+ );
47409
+ var UpdateCustomerBalanceAllocationResponse$inboundSchema = z110.pipe(
47410
+ z110.object({
47411
+ feature_id: string5(),
47412
+ interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
47413
+ allocations: z110.array(z110.lazy(
47414
+ () => UpdateCustomerAllocationResponse$inboundSchema
47415
+ ))
47416
+ }),
47417
+ z110.transform((v) => {
47418
+ return remap(v, {
47419
+ "feature_id": "featureId"
47420
+ });
47421
+ })
47422
+ );
47230
47423
  var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
47231
47424
  var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z110.pipe(
47232
47425
  z110.object({
@@ -47372,24 +47565,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z110.pipe(
47372
47565
  );
47373
47566
  var UpdateCustomerBillingControlsResponse$inboundSchema = z110.pipe(
47374
47567
  z110.object({
47375
- auto_topups: optional3(
47376
- z110.array(z110.lazy(() => UpdateCustomerAutoTopupResponse$inboundSchema))
47377
- ),
47378
- spend_limits: optional3(
47379
- z110.array(z110.lazy(() => UpdateCustomerSpendLimitResponse$inboundSchema))
47380
- ),
47381
- usage_limits: optional3(
47382
- z110.array(z110.lazy(() => UpdateCustomerUsageLimitResponse$inboundSchema))
47383
- ),
47384
- usage_alerts: optional3(
47385
- z110.array(z110.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
47386
- ),
47387
- overage_allowed: optional3(
47388
- z110.array(z110.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
47389
- )
47568
+ balance_allocations: optional3(z110.array(z110.lazy(
47569
+ () => UpdateCustomerBalanceAllocationResponse$inboundSchema
47570
+ ))),
47571
+ auto_topups: optional3(z110.array(z110.lazy(
47572
+ () => UpdateCustomerAutoTopupResponse$inboundSchema
47573
+ ))),
47574
+ spend_limits: optional3(z110.array(z110.lazy(
47575
+ () => UpdateCustomerSpendLimitResponse$inboundSchema
47576
+ ))),
47577
+ usage_limits: optional3(z110.array(z110.lazy(
47578
+ () => UpdateCustomerUsageLimitResponse$inboundSchema
47579
+ ))),
47580
+ usage_alerts: optional3(z110.array(z110.lazy(
47581
+ () => UpdateCustomerUsageAlertResponse$inboundSchema
47582
+ ))),
47583
+ overage_allowed: optional3(z110.array(z110.lazy(
47584
+ () => UpdateCustomerOverageAllowedResponse$inboundSchema
47585
+ )))
47390
47586
  }),
47391
47587
  z110.transform((v) => {
47392
47588
  return remap(v, {
47589
+ "balance_allocations": "balanceAllocations",
47393
47590
  "auto_topups": "autoTopups",
47394
47591
  "spend_limits": "spendLimits",
47395
47592
  "usage_limits": "usageLimits",
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-3T6FAZDO.mjs";
3
+ } from "../chunk-BZ54HK66.mjs";
4
4
  import "../chunk-WYDGEDEU.mjs";
5
5
  import "../chunk-VXND2UDT.mjs";
6
- import "../chunk-JJEEJKM7.mjs";
7
- import "../chunk-GBISDPPO.mjs";
6
+ import "../chunk-5CDM4XIN.mjs";
7
+ import "../chunk-SS7EKOGZ.mjs";
8
+ import "../chunk-JPQERXWV.mjs";
9
+ import "../chunk-MOHYGUMA.mjs";
10
+ import "../chunk-TBQ27LIK.mjs";
11
+ import "../chunk-J44WR3QZ.mjs";
8
12
  import "../chunk-TSF4YCUO.mjs";
9
13
  import "../chunk-UAR3TMWI.mjs";
10
- import "../chunk-KSYN5FLV.mjs";
11
14
  import "../chunk-IQQQ5P6R.mjs";
12
- import "../chunk-IXUCY7AU.mjs";
13
15
  import "../chunk-OTXV5FY7.mjs";
14
- import "../chunk-I7CD6EB6.mjs";
15
16
  import "../chunk-VZIMT7AO.mjs";
16
- import "../chunk-TBQ27LIK.mjs";
17
- import "../chunk-J44WR3QZ.mjs";
17
+ import "../chunk-I7CD6EB6.mjs";
18
18
  import "../chunk-N7NFYY54.mjs";
19
19
  export {
20
20
  autumnHandler
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Autumn
3
- } from "./chunk-KSYN5FLV.mjs";
3
+ } from "./chunk-JPQERXWV.mjs";
4
+ import {
5
+ executeRoute
6
+ } from "./chunk-MOHYGUMA.mjs";
4
7
  import {
5
8
  routeConfigs
6
9
  } from "./chunk-IQQQ5P6R.mjs";
7
- import {
8
- executeRoute
9
- } from "./chunk-IXUCY7AU.mjs";
10
10
  import {
11
11
  secretKeyCheck
12
12
  } from "./chunk-VZIMT7AO.mjs";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-GBISDPPO.mjs";
3
+ } from "./chunk-SS7EKOGZ.mjs";
4
4
 
5
5
  // src/backend/adapters/fetch.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-GBISDPPO.mjs";
3
+ } from "./chunk-SS7EKOGZ.mjs";
4
4
 
5
5
  // src/backend/adapters/next.ts
6
6
  import { NextResponse } from "next/server";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "./chunk-GBISDPPO.mjs";
3
+ } from "./chunk-SS7EKOGZ.mjs";
4
4
 
5
5
  // src/backend/adapters/express.ts
6
6
  function autumnHandler(options) {