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
@@ -3969,7 +3969,7 @@ var BalancePrice$inboundSchema = z15.pipe(
3969
3969
  })
3970
3970
  );
3971
3971
  var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
3972
- var Allocation$inboundSchema = z15.object({
3972
+ var BalanceAllocation$inboundSchema = z15.object({
3973
3973
  amount: number2()
3974
3974
  });
3975
3975
  var Breakdown$inboundSchema = z15.pipe(
@@ -3986,7 +3986,7 @@ var Breakdown$inboundSchema = z15.pipe(
3986
3986
  expires_at: nullable(number2()),
3987
3987
  source: optional3(BalanceSource$inboundSchema),
3988
3988
  allocation: z15.optional(
3989
- z15.nullable(z15.lazy(() => Allocation$inboundSchema))
3989
+ z15.nullable(z15.lazy(() => BalanceAllocation$inboundSchema))
3990
3990
  )
3991
3991
  }),
3992
3992
  z15.transform((v) => {
@@ -21071,6 +21071,17 @@ var CustomerEnv = {
21071
21071
  Sandbox: "sandbox",
21072
21072
  Live: "live"
21073
21073
  };
21074
+ var CustomerBalanceAllocationInterval = {
21075
+ OneOff: "one_off",
21076
+ Minute: "minute",
21077
+ Hour: "hour",
21078
+ Day: "day",
21079
+ Week: "week",
21080
+ Month: "month",
21081
+ Quarter: "quarter",
21082
+ SemiAnnual: "semi_annual",
21083
+ Year: "year"
21084
+ };
21074
21085
  var CustomerAutoTopupInterval2 = {
21075
21086
  Hour: "hour",
21076
21087
  Day: "day",
@@ -21185,6 +21196,30 @@ var TaxExempt = {
21185
21196
  Reverse: "reverse"
21186
21197
  };
21187
21198
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
21199
+ var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
21200
+ var CustomerAllocation$inboundSchema = z39.pipe(
21201
+ z39.object({
21202
+ entity_id: string5(),
21203
+ amount: number2()
21204
+ }),
21205
+ z39.transform((v) => {
21206
+ return remap(v, {
21207
+ "entity_id": "entityId"
21208
+ });
21209
+ })
21210
+ );
21211
+ var CustomerBalanceAllocation$inboundSchema = z39.pipe(
21212
+ z39.object({
21213
+ feature_id: string5(),
21214
+ interval: CustomerBalanceAllocationInterval$inboundSchema,
21215
+ allocations: z39.array(z39.lazy(() => CustomerAllocation$inboundSchema))
21216
+ }),
21217
+ z39.transform((v) => {
21218
+ return remap(v, {
21219
+ "feature_id": "featureId"
21220
+ });
21221
+ })
21222
+ );
21188
21223
  var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
21189
21224
  var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
21190
21225
  z39.object({
@@ -21326,6 +21361,9 @@ var CustomerOverageAllowed$inboundSchema = z39.pipe(
21326
21361
  );
21327
21362
  var CustomerBillingControls$inboundSchema = z39.pipe(
21328
21363
  z39.object({
21364
+ balance_allocations: optional3(
21365
+ z39.array(z39.lazy(() => CustomerBalanceAllocation$inboundSchema))
21366
+ ),
21329
21367
  auto_topups: optional3(
21330
21368
  z39.array(z39.lazy(() => CustomerAutoTopup$inboundSchema))
21331
21369
  ),
@@ -21344,6 +21382,7 @@ var CustomerBillingControls$inboundSchema = z39.pipe(
21344
21382
  }),
21345
21383
  z39.transform((v) => {
21346
21384
  return remap(v, {
21385
+ "balance_allocations": "balanceAllocations",
21347
21386
  "auto_topups": "autoTopups",
21348
21387
  "spend_limits": "spendLimits",
21349
21388
  "usage_limits": "usageLimits",
@@ -22356,6 +22395,17 @@ var GetCustomerEnv = {
22356
22395
  Sandbox: "sandbox",
22357
22396
  Live: "live"
22358
22397
  };
22398
+ var GetCustomerBalanceAllocationInterval = {
22399
+ OneOff: "one_off",
22400
+ Minute: "minute",
22401
+ Hour: "hour",
22402
+ Day: "day",
22403
+ Week: "week",
22404
+ Month: "month",
22405
+ Quarter: "quarter",
22406
+ SemiAnnual: "semi_annual",
22407
+ Year: "year"
22408
+ };
22359
22409
  var GetCustomerAutoTopupInterval2 = {
22360
22410
  Hour: "hour",
22361
22411
  Day: "day",
@@ -22481,6 +22531,30 @@ var GetCustomerParams$outboundSchema = z52.pipe(
22481
22531
  })
22482
22532
  );
22483
22533
  var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
22534
+ var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
22535
+ var GetCustomerAllocation$inboundSchema = z52.pipe(
22536
+ z52.object({
22537
+ entity_id: string5(),
22538
+ amount: number2()
22539
+ }),
22540
+ z52.transform((v) => {
22541
+ return remap(v, {
22542
+ "entity_id": "entityId"
22543
+ });
22544
+ })
22545
+ );
22546
+ var GetCustomerBalanceAllocation$inboundSchema = z52.pipe(
22547
+ z52.object({
22548
+ feature_id: string5(),
22549
+ interval: GetCustomerBalanceAllocationInterval$inboundSchema,
22550
+ allocations: z52.array(z52.lazy(() => GetCustomerAllocation$inboundSchema))
22551
+ }),
22552
+ z52.transform((v) => {
22553
+ return remap(v, {
22554
+ "feature_id": "featureId"
22555
+ });
22556
+ })
22557
+ );
22484
22558
  var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
22485
22559
  var GetCustomerPurchaseLimit2$inboundSchema = z52.pipe(
22486
22560
  z52.object({
@@ -22622,6 +22696,9 @@ var GetCustomerOverageAllowed$inboundSchema = z52.pipe(
22622
22696
  );
22623
22697
  var GetCustomerBillingControls$inboundSchema = z52.pipe(
22624
22698
  z52.object({
22699
+ balance_allocations: optional3(
22700
+ z52.array(z52.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
22701
+ ),
22625
22702
  auto_topups: optional3(
22626
22703
  z52.array(z52.lazy(() => GetCustomerAutoTopup$inboundSchema))
22627
22704
  ),
@@ -22640,6 +22717,7 @@ var GetCustomerBillingControls$inboundSchema = z52.pipe(
22640
22717
  }),
22641
22718
  z52.transform((v) => {
22642
22719
  return remap(v, {
22720
+ "balance_allocations": "balanceAllocations",
22643
22721
  "auto_topups": "autoTopups",
22644
22722
  "spend_limits": "spendLimits",
22645
22723
  "usage_limits": "usageLimits",
@@ -28257,6 +28335,17 @@ var ListCustomersEnv = {
28257
28335
  Sandbox: "sandbox",
28258
28336
  Live: "live"
28259
28337
  };
28338
+ var ListCustomersBalanceAllocationInterval = {
28339
+ OneOff: "one_off",
28340
+ Minute: "minute",
28341
+ Hour: "hour",
28342
+ Day: "day",
28343
+ Week: "week",
28344
+ Month: "month",
28345
+ Quarter: "quarter",
28346
+ SemiAnnual: "semi_annual",
28347
+ Year: "year"
28348
+ };
28260
28349
  var ListCustomersAutoTopupInterval2 = {
28261
28350
  Hour: "hour",
28262
28351
  Day: "day",
@@ -28381,6 +28470,30 @@ var ListCustomersParams$outboundSchema = z67.pipe(
28381
28470
  })
28382
28471
  );
28383
28472
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
28473
+ var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
28474
+ var ListCustomersAllocation$inboundSchema = z67.pipe(
28475
+ z67.object({
28476
+ entity_id: string5(),
28477
+ amount: number2()
28478
+ }),
28479
+ z67.transform((v) => {
28480
+ return remap(v, {
28481
+ "entity_id": "entityId"
28482
+ });
28483
+ })
28484
+ );
28485
+ var ListCustomersBalanceAllocation$inboundSchema = z67.pipe(
28486
+ z67.object({
28487
+ feature_id: string5(),
28488
+ interval: ListCustomersBalanceAllocationInterval$inboundSchema,
28489
+ allocations: z67.array(z67.lazy(() => ListCustomersAllocation$inboundSchema))
28490
+ }),
28491
+ z67.transform((v) => {
28492
+ return remap(v, {
28493
+ "feature_id": "featureId"
28494
+ });
28495
+ })
28496
+ );
28384
28497
  var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
28385
28498
  var ListCustomersPurchaseLimit2$inboundSchema = z67.pipe(
28386
28499
  z67.object({
@@ -28522,6 +28635,9 @@ var ListCustomersOverageAllowed$inboundSchema = z67.pipe(
28522
28635
  );
28523
28636
  var ListCustomersBillingControls$inboundSchema = z67.pipe(
28524
28637
  z67.object({
28638
+ balance_allocations: optional3(
28639
+ z67.array(z67.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
28640
+ ),
28525
28641
  auto_topups: optional3(
28526
28642
  z67.array(z67.lazy(() => ListCustomersAutoTopup$inboundSchema))
28527
28643
  ),
@@ -28540,6 +28656,7 @@ var ListCustomersBillingControls$inboundSchema = z67.pipe(
28540
28656
  }),
28541
28657
  z67.transform((v) => {
28542
28658
  return remap(v, {
28659
+ "balance_allocations": "balanceAllocations",
28543
28660
  "auto_topups": "autoTopups",
28544
28661
  "spend_limits": "spendLimits",
28545
28662
  "usage_limits": "usageLimits",
@@ -46697,6 +46814,17 @@ var UpdateBalanceResponse$inboundSchema = z109.object({
46697
46814
 
46698
46815
  // ../sdk/src/models/update-customer-op.ts
46699
46816
  import * as z110 from "zod/v4-mini";
46817
+ var BalanceAllocationIntervalRequestBody = {
46818
+ OneOff: "one_off",
46819
+ Minute: "minute",
46820
+ Hour: "hour",
46821
+ Day: "day",
46822
+ Week: "week",
46823
+ Month: "month",
46824
+ Quarter: "quarter",
46825
+ SemiAnnual: "semi_annual",
46826
+ Year: "year"
46827
+ };
46700
46828
  var UpdateCustomerAutoTopupIntervalRequestBody = {
46701
46829
  Hour: "hour",
46702
46830
  Day: "day",
@@ -46746,6 +46874,17 @@ var UpdateCustomerEnv = {
46746
46874
  Sandbox: "sandbox",
46747
46875
  Live: "live"
46748
46876
  };
46877
+ var UpdateCustomerBalanceAllocationIntervalResponse = {
46878
+ OneOff: "one_off",
46879
+ Minute: "minute",
46880
+ Hour: "hour",
46881
+ Day: "day",
46882
+ Week: "week",
46883
+ Month: "month",
46884
+ Quarter: "quarter",
46885
+ SemiAnnual: "semi_annual",
46886
+ Year: "year"
46887
+ };
46749
46888
  var UpdateCustomerAutoTopupIntervalResponse2 = {
46750
46889
  Hour: "hour",
46751
46890
  Day: "day",
@@ -46834,6 +46973,30 @@ var UpdateCustomerDimensionsToEnum1 = {
46834
46973
  var UpdateCustomerToEnum = {
46835
46974
  Inf: "inf"
46836
46975
  };
46976
+ var BalanceAllocationIntervalRequestBody$outboundSchema = z110.enum(BalanceAllocationIntervalRequestBody);
46977
+ var AllocationRequest$outboundSchema = z110.pipe(
46978
+ z110.object({
46979
+ entityId: z110.string(),
46980
+ amount: z110.number()
46981
+ }),
46982
+ z110.transform((v) => {
46983
+ return remap(v, {
46984
+ entityId: "entity_id"
46985
+ });
46986
+ })
46987
+ );
46988
+ var BalanceAllocationRequest$outboundSchema = z110.pipe(
46989
+ z110.object({
46990
+ featureId: z110.string(),
46991
+ interval: BalanceAllocationIntervalRequestBody$outboundSchema,
46992
+ allocations: z110.array(z110.lazy(() => AllocationRequest$outboundSchema))
46993
+ }),
46994
+ z110.transform((v) => {
46995
+ return remap(v, {
46996
+ featureId: "feature_id"
46997
+ });
46998
+ })
46999
+ );
46837
47000
  var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z110.enum(
46838
47001
  UpdateCustomerAutoTopupIntervalRequestBody
46839
47002
  );
@@ -46988,6 +47151,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z110.pipe(
46988
47151
  );
46989
47152
  var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
46990
47153
  z110.object({
47154
+ balanceAllocations: z110.optional(
47155
+ z110.array(z110.lazy(() => BalanceAllocationRequest$outboundSchema))
47156
+ ),
46991
47157
  autoTopups: z110.optional(
46992
47158
  z110.array(
46993
47159
  z110.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
@@ -47019,6 +47185,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47019
47185
  }),
47020
47186
  z110.transform((v) => {
47021
47187
  return remap(v, {
47188
+ balanceAllocations: "balance_allocations",
47022
47189
  autoTopups: "auto_topups",
47023
47190
  spendLimits: "spend_limits",
47024
47191
  usageLimits: "usage_limits",
@@ -47143,6 +47310,32 @@ var UpdateCustomerParams$outboundSchema = z110.pipe(
47143
47310
  })
47144
47311
  );
47145
47312
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
47313
+ var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
47314
+ var UpdateCustomerAllocationResponse$inboundSchema = z110.pipe(
47315
+ z110.object({
47316
+ entity_id: string5(),
47317
+ amount: number2()
47318
+ }),
47319
+ z110.transform((v) => {
47320
+ return remap(v, {
47321
+ "entity_id": "entityId"
47322
+ });
47323
+ })
47324
+ );
47325
+ var UpdateCustomerBalanceAllocationResponse$inboundSchema = z110.pipe(
47326
+ z110.object({
47327
+ feature_id: string5(),
47328
+ interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
47329
+ allocations: z110.array(z110.lazy(
47330
+ () => UpdateCustomerAllocationResponse$inboundSchema
47331
+ ))
47332
+ }),
47333
+ z110.transform((v) => {
47334
+ return remap(v, {
47335
+ "feature_id": "featureId"
47336
+ });
47337
+ })
47338
+ );
47146
47339
  var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
47147
47340
  var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z110.pipe(
47148
47341
  z110.object({
@@ -47288,24 +47481,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z110.pipe(
47288
47481
  );
47289
47482
  var UpdateCustomerBillingControlsResponse$inboundSchema = z110.pipe(
47290
47483
  z110.object({
47291
- auto_topups: optional3(
47292
- z110.array(z110.lazy(() => UpdateCustomerAutoTopupResponse$inboundSchema))
47293
- ),
47294
- spend_limits: optional3(
47295
- z110.array(z110.lazy(() => UpdateCustomerSpendLimitResponse$inboundSchema))
47296
- ),
47297
- usage_limits: optional3(
47298
- z110.array(z110.lazy(() => UpdateCustomerUsageLimitResponse$inboundSchema))
47299
- ),
47300
- usage_alerts: optional3(
47301
- z110.array(z110.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
47302
- ),
47303
- overage_allowed: optional3(
47304
- z110.array(z110.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
47305
- )
47484
+ balance_allocations: optional3(z110.array(z110.lazy(
47485
+ () => UpdateCustomerBalanceAllocationResponse$inboundSchema
47486
+ ))),
47487
+ auto_topups: optional3(z110.array(z110.lazy(
47488
+ () => UpdateCustomerAutoTopupResponse$inboundSchema
47489
+ ))),
47490
+ spend_limits: optional3(z110.array(z110.lazy(
47491
+ () => UpdateCustomerSpendLimitResponse$inboundSchema
47492
+ ))),
47493
+ usage_limits: optional3(z110.array(z110.lazy(
47494
+ () => UpdateCustomerUsageLimitResponse$inboundSchema
47495
+ ))),
47496
+ usage_alerts: optional3(z110.array(z110.lazy(
47497
+ () => UpdateCustomerUsageAlertResponse$inboundSchema
47498
+ ))),
47499
+ overage_allowed: optional3(z110.array(z110.lazy(
47500
+ () => UpdateCustomerOverageAllowedResponse$inboundSchema
47501
+ )))
47306
47502
  }),
47307
47503
  z110.transform((v) => {
47308
47504
  return remap(v, {
47505
+ "balance_allocations": "balanceAllocations",
47309
47506
  "auto_topups": "autoTopups",
47310
47507
  "spend_limits": "spendLimits",
47311
47508
  "usage_limits": "usageLimits",
@@ -1,15 +1,15 @@
1
+ import {
2
+ Autumn
3
+ } from "./chunk-JPQERXWV.mjs";
4
+ import {
5
+ executeRoute
6
+ } from "./chunk-MOHYGUMA.mjs";
1
7
  import {
2
8
  buildRouter
3
9
  } from "./chunk-UAR3TMWI.mjs";
4
- import {
5
- Autumn
6
- } from "./chunk-KSYN5FLV.mjs";
7
10
  import {
8
11
  routeConfigs
9
12
  } from "./chunk-IQQQ5P6R.mjs";
10
- import {
11
- executeRoute
12
- } from "./chunk-IXUCY7AU.mjs";
13
13
  import {
14
14
  secretKeyCheck
15
15
  } 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/hono.ts
6
6
  function autumnHandler(options) {
@@ -1,6 +1,6 @@
1
1
  import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.mjs';
2
2
  import '../../authTypes-TPWTIfcM.mjs';
3
- import '../../routeTypes-DAI_E67X.mjs';
3
+ import '../../routeTypes-Czot4Qi-.mjs';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.mjs';
6
6
  import '../types/responseTypes.mjs';
@@ -1,6 +1,6 @@
1
1
  import { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from '../types/handlerTypes.js';
2
2
  import '../../authTypes-TPWTIfcM.js';
3
- import '../../routeTypes-4TatmvQY.js';
3
+ import '../../routeTypes-D4pVj85I.js';
4
4
  import 'zod/v4';
5
5
  import '../utils/sanitizeBody.js';
6
6
  import '../types/responseTypes.js';