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
@@ -4052,7 +4052,7 @@ var BalancePrice$inboundSchema = z15.pipe(
4052
4052
  })
4053
4053
  );
4054
4054
  var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
4055
- var Allocation$inboundSchema = z15.object({
4055
+ var BalanceAllocation$inboundSchema = z15.object({
4056
4056
  amount: number2()
4057
4057
  });
4058
4058
  var Breakdown$inboundSchema = z15.pipe(
@@ -4069,7 +4069,7 @@ var Breakdown$inboundSchema = z15.pipe(
4069
4069
  expires_at: nullable(number2()),
4070
4070
  source: optional3(BalanceSource$inboundSchema),
4071
4071
  allocation: z15.optional(
4072
- z15.nullable(z15.lazy(() => Allocation$inboundSchema))
4072
+ z15.nullable(z15.lazy(() => BalanceAllocation$inboundSchema))
4073
4073
  )
4074
4074
  }),
4075
4075
  z15.transform((v) => {
@@ -21154,6 +21154,17 @@ var CustomerEnv = {
21154
21154
  Sandbox: "sandbox",
21155
21155
  Live: "live"
21156
21156
  };
21157
+ var CustomerBalanceAllocationInterval = {
21158
+ OneOff: "one_off",
21159
+ Minute: "minute",
21160
+ Hour: "hour",
21161
+ Day: "day",
21162
+ Week: "week",
21163
+ Month: "month",
21164
+ Quarter: "quarter",
21165
+ SemiAnnual: "semi_annual",
21166
+ Year: "year"
21167
+ };
21157
21168
  var CustomerAutoTopupInterval2 = {
21158
21169
  Hour: "hour",
21159
21170
  Day: "day",
@@ -21268,6 +21279,30 @@ var TaxExempt = {
21268
21279
  Reverse: "reverse"
21269
21280
  };
21270
21281
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
21282
+ var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
21283
+ var CustomerAllocation$inboundSchema = z39.pipe(
21284
+ z39.object({
21285
+ entity_id: string5(),
21286
+ amount: number2()
21287
+ }),
21288
+ z39.transform((v) => {
21289
+ return remap(v, {
21290
+ "entity_id": "entityId"
21291
+ });
21292
+ })
21293
+ );
21294
+ var CustomerBalanceAllocation$inboundSchema = z39.pipe(
21295
+ z39.object({
21296
+ feature_id: string5(),
21297
+ interval: CustomerBalanceAllocationInterval$inboundSchema,
21298
+ allocations: z39.array(z39.lazy(() => CustomerAllocation$inboundSchema))
21299
+ }),
21300
+ z39.transform((v) => {
21301
+ return remap(v, {
21302
+ "feature_id": "featureId"
21303
+ });
21304
+ })
21305
+ );
21271
21306
  var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
21272
21307
  var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
21273
21308
  z39.object({
@@ -21409,6 +21444,9 @@ var CustomerOverageAllowed$inboundSchema = z39.pipe(
21409
21444
  );
21410
21445
  var CustomerBillingControls$inboundSchema = z39.pipe(
21411
21446
  z39.object({
21447
+ balance_allocations: optional3(
21448
+ z39.array(z39.lazy(() => CustomerBalanceAllocation$inboundSchema))
21449
+ ),
21412
21450
  auto_topups: optional3(
21413
21451
  z39.array(z39.lazy(() => CustomerAutoTopup$inboundSchema))
21414
21452
  ),
@@ -21427,6 +21465,7 @@ var CustomerBillingControls$inboundSchema = z39.pipe(
21427
21465
  }),
21428
21466
  z39.transform((v) => {
21429
21467
  return remap(v, {
21468
+ "balance_allocations": "balanceAllocations",
21430
21469
  "auto_topups": "autoTopups",
21431
21470
  "spend_limits": "spendLimits",
21432
21471
  "usage_limits": "usageLimits",
@@ -22439,6 +22478,17 @@ var GetCustomerEnv = {
22439
22478
  Sandbox: "sandbox",
22440
22479
  Live: "live"
22441
22480
  };
22481
+ var GetCustomerBalanceAllocationInterval = {
22482
+ OneOff: "one_off",
22483
+ Minute: "minute",
22484
+ Hour: "hour",
22485
+ Day: "day",
22486
+ Week: "week",
22487
+ Month: "month",
22488
+ Quarter: "quarter",
22489
+ SemiAnnual: "semi_annual",
22490
+ Year: "year"
22491
+ };
22442
22492
  var GetCustomerAutoTopupInterval2 = {
22443
22493
  Hour: "hour",
22444
22494
  Day: "day",
@@ -22564,6 +22614,30 @@ var GetCustomerParams$outboundSchema = z52.pipe(
22564
22614
  })
22565
22615
  );
22566
22616
  var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
22617
+ var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
22618
+ var GetCustomerAllocation$inboundSchema = z52.pipe(
22619
+ z52.object({
22620
+ entity_id: string5(),
22621
+ amount: number2()
22622
+ }),
22623
+ z52.transform((v) => {
22624
+ return remap(v, {
22625
+ "entity_id": "entityId"
22626
+ });
22627
+ })
22628
+ );
22629
+ var GetCustomerBalanceAllocation$inboundSchema = z52.pipe(
22630
+ z52.object({
22631
+ feature_id: string5(),
22632
+ interval: GetCustomerBalanceAllocationInterval$inboundSchema,
22633
+ allocations: z52.array(z52.lazy(() => GetCustomerAllocation$inboundSchema))
22634
+ }),
22635
+ z52.transform((v) => {
22636
+ return remap(v, {
22637
+ "feature_id": "featureId"
22638
+ });
22639
+ })
22640
+ );
22567
22641
  var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
22568
22642
  var GetCustomerPurchaseLimit2$inboundSchema = z52.pipe(
22569
22643
  z52.object({
@@ -22705,6 +22779,9 @@ var GetCustomerOverageAllowed$inboundSchema = z52.pipe(
22705
22779
  );
22706
22780
  var GetCustomerBillingControls$inboundSchema = z52.pipe(
22707
22781
  z52.object({
22782
+ balance_allocations: optional3(
22783
+ z52.array(z52.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
22784
+ ),
22708
22785
  auto_topups: optional3(
22709
22786
  z52.array(z52.lazy(() => GetCustomerAutoTopup$inboundSchema))
22710
22787
  ),
@@ -22723,6 +22800,7 @@ var GetCustomerBillingControls$inboundSchema = z52.pipe(
22723
22800
  }),
22724
22801
  z52.transform((v) => {
22725
22802
  return remap(v, {
22803
+ "balance_allocations": "balanceAllocations",
22726
22804
  "auto_topups": "autoTopups",
22727
22805
  "spend_limits": "spendLimits",
22728
22806
  "usage_limits": "usageLimits",
@@ -28340,6 +28418,17 @@ var ListCustomersEnv = {
28340
28418
  Sandbox: "sandbox",
28341
28419
  Live: "live"
28342
28420
  };
28421
+ var ListCustomersBalanceAllocationInterval = {
28422
+ OneOff: "one_off",
28423
+ Minute: "minute",
28424
+ Hour: "hour",
28425
+ Day: "day",
28426
+ Week: "week",
28427
+ Month: "month",
28428
+ Quarter: "quarter",
28429
+ SemiAnnual: "semi_annual",
28430
+ Year: "year"
28431
+ };
28343
28432
  var ListCustomersAutoTopupInterval2 = {
28344
28433
  Hour: "hour",
28345
28434
  Day: "day",
@@ -28464,6 +28553,30 @@ var ListCustomersParams$outboundSchema = z67.pipe(
28464
28553
  })
28465
28554
  );
28466
28555
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
28556
+ var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
28557
+ var ListCustomersAllocation$inboundSchema = z67.pipe(
28558
+ z67.object({
28559
+ entity_id: string5(),
28560
+ amount: number2()
28561
+ }),
28562
+ z67.transform((v) => {
28563
+ return remap(v, {
28564
+ "entity_id": "entityId"
28565
+ });
28566
+ })
28567
+ );
28568
+ var ListCustomersBalanceAllocation$inboundSchema = z67.pipe(
28569
+ z67.object({
28570
+ feature_id: string5(),
28571
+ interval: ListCustomersBalanceAllocationInterval$inboundSchema,
28572
+ allocations: z67.array(z67.lazy(() => ListCustomersAllocation$inboundSchema))
28573
+ }),
28574
+ z67.transform((v) => {
28575
+ return remap(v, {
28576
+ "feature_id": "featureId"
28577
+ });
28578
+ })
28579
+ );
28467
28580
  var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
28468
28581
  var ListCustomersPurchaseLimit2$inboundSchema = z67.pipe(
28469
28582
  z67.object({
@@ -28605,6 +28718,9 @@ var ListCustomersOverageAllowed$inboundSchema = z67.pipe(
28605
28718
  );
28606
28719
  var ListCustomersBillingControls$inboundSchema = z67.pipe(
28607
28720
  z67.object({
28721
+ balance_allocations: optional3(
28722
+ z67.array(z67.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
28723
+ ),
28608
28724
  auto_topups: optional3(
28609
28725
  z67.array(z67.lazy(() => ListCustomersAutoTopup$inboundSchema))
28610
28726
  ),
@@ -28623,6 +28739,7 @@ var ListCustomersBillingControls$inboundSchema = z67.pipe(
28623
28739
  }),
28624
28740
  z67.transform((v) => {
28625
28741
  return remap(v, {
28742
+ "balance_allocations": "balanceAllocations",
28626
28743
  "auto_topups": "autoTopups",
28627
28744
  "spend_limits": "spendLimits",
28628
28745
  "usage_limits": "usageLimits",
@@ -46780,6 +46897,17 @@ var UpdateBalanceResponse$inboundSchema = z109.object({
46780
46897
 
46781
46898
  // ../sdk/src/models/update-customer-op.ts
46782
46899
  var z110 = __toESM(require("zod/v4-mini"), 1);
46900
+ var BalanceAllocationIntervalRequestBody = {
46901
+ OneOff: "one_off",
46902
+ Minute: "minute",
46903
+ Hour: "hour",
46904
+ Day: "day",
46905
+ Week: "week",
46906
+ Month: "month",
46907
+ Quarter: "quarter",
46908
+ SemiAnnual: "semi_annual",
46909
+ Year: "year"
46910
+ };
46783
46911
  var UpdateCustomerAutoTopupIntervalRequestBody = {
46784
46912
  Hour: "hour",
46785
46913
  Day: "day",
@@ -46829,6 +46957,17 @@ var UpdateCustomerEnv = {
46829
46957
  Sandbox: "sandbox",
46830
46958
  Live: "live"
46831
46959
  };
46960
+ var UpdateCustomerBalanceAllocationIntervalResponse = {
46961
+ OneOff: "one_off",
46962
+ Minute: "minute",
46963
+ Hour: "hour",
46964
+ Day: "day",
46965
+ Week: "week",
46966
+ Month: "month",
46967
+ Quarter: "quarter",
46968
+ SemiAnnual: "semi_annual",
46969
+ Year: "year"
46970
+ };
46832
46971
  var UpdateCustomerAutoTopupIntervalResponse2 = {
46833
46972
  Hour: "hour",
46834
46973
  Day: "day",
@@ -46917,6 +47056,30 @@ var UpdateCustomerDimensionsToEnum1 = {
46917
47056
  var UpdateCustomerToEnum = {
46918
47057
  Inf: "inf"
46919
47058
  };
47059
+ var BalanceAllocationIntervalRequestBody$outboundSchema = z110.enum(BalanceAllocationIntervalRequestBody);
47060
+ var AllocationRequest$outboundSchema = z110.pipe(
47061
+ z110.object({
47062
+ entityId: z110.string(),
47063
+ amount: z110.number()
47064
+ }),
47065
+ z110.transform((v) => {
47066
+ return remap(v, {
47067
+ entityId: "entity_id"
47068
+ });
47069
+ })
47070
+ );
47071
+ var BalanceAllocationRequest$outboundSchema = z110.pipe(
47072
+ z110.object({
47073
+ featureId: z110.string(),
47074
+ interval: BalanceAllocationIntervalRequestBody$outboundSchema,
47075
+ allocations: z110.array(z110.lazy(() => AllocationRequest$outboundSchema))
47076
+ }),
47077
+ z110.transform((v) => {
47078
+ return remap(v, {
47079
+ featureId: "feature_id"
47080
+ });
47081
+ })
47082
+ );
46920
47083
  var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z110.enum(
46921
47084
  UpdateCustomerAutoTopupIntervalRequestBody
46922
47085
  );
@@ -47071,6 +47234,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z110.pipe(
47071
47234
  );
47072
47235
  var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47073
47236
  z110.object({
47237
+ balanceAllocations: z110.optional(
47238
+ z110.array(z110.lazy(() => BalanceAllocationRequest$outboundSchema))
47239
+ ),
47074
47240
  autoTopups: z110.optional(
47075
47241
  z110.array(
47076
47242
  z110.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
@@ -47102,6 +47268,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47102
47268
  }),
47103
47269
  z110.transform((v) => {
47104
47270
  return remap(v, {
47271
+ balanceAllocations: "balance_allocations",
47105
47272
  autoTopups: "auto_topups",
47106
47273
  spendLimits: "spend_limits",
47107
47274
  usageLimits: "usage_limits",
@@ -47226,6 +47393,32 @@ var UpdateCustomerParams$outboundSchema = z110.pipe(
47226
47393
  })
47227
47394
  );
47228
47395
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
47396
+ var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
47397
+ var UpdateCustomerAllocationResponse$inboundSchema = z110.pipe(
47398
+ z110.object({
47399
+ entity_id: string5(),
47400
+ amount: number2()
47401
+ }),
47402
+ z110.transform((v) => {
47403
+ return remap(v, {
47404
+ "entity_id": "entityId"
47405
+ });
47406
+ })
47407
+ );
47408
+ var UpdateCustomerBalanceAllocationResponse$inboundSchema = z110.pipe(
47409
+ z110.object({
47410
+ feature_id: string5(),
47411
+ interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
47412
+ allocations: z110.array(z110.lazy(
47413
+ () => UpdateCustomerAllocationResponse$inboundSchema
47414
+ ))
47415
+ }),
47416
+ z110.transform((v) => {
47417
+ return remap(v, {
47418
+ "feature_id": "featureId"
47419
+ });
47420
+ })
47421
+ );
47229
47422
  var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
47230
47423
  var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z110.pipe(
47231
47424
  z110.object({
@@ -47371,24 +47564,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z110.pipe(
47371
47564
  );
47372
47565
  var UpdateCustomerBillingControlsResponse$inboundSchema = z110.pipe(
47373
47566
  z110.object({
47374
- auto_topups: optional3(
47375
- z110.array(z110.lazy(() => UpdateCustomerAutoTopupResponse$inboundSchema))
47376
- ),
47377
- spend_limits: optional3(
47378
- z110.array(z110.lazy(() => UpdateCustomerSpendLimitResponse$inboundSchema))
47379
- ),
47380
- usage_limits: optional3(
47381
- z110.array(z110.lazy(() => UpdateCustomerUsageLimitResponse$inboundSchema))
47382
- ),
47383
- usage_alerts: optional3(
47384
- z110.array(z110.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
47385
- ),
47386
- overage_allowed: optional3(
47387
- z110.array(z110.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
47388
- )
47567
+ balance_allocations: optional3(z110.array(z110.lazy(
47568
+ () => UpdateCustomerBalanceAllocationResponse$inboundSchema
47569
+ ))),
47570
+ auto_topups: optional3(z110.array(z110.lazy(
47571
+ () => UpdateCustomerAutoTopupResponse$inboundSchema
47572
+ ))),
47573
+ spend_limits: optional3(z110.array(z110.lazy(
47574
+ () => UpdateCustomerSpendLimitResponse$inboundSchema
47575
+ ))),
47576
+ usage_limits: optional3(z110.array(z110.lazy(
47577
+ () => UpdateCustomerUsageLimitResponse$inboundSchema
47578
+ ))),
47579
+ usage_alerts: optional3(z110.array(z110.lazy(
47580
+ () => UpdateCustomerUsageAlertResponse$inboundSchema
47581
+ ))),
47582
+ overage_allowed: optional3(z110.array(z110.lazy(
47583
+ () => UpdateCustomerOverageAllowedResponse$inboundSchema
47584
+ )))
47389
47585
  }),
47390
47586
  z110.transform((v) => {
47391
47587
  return remap(v, {
47588
+ "balance_allocations": "balanceAllocations",
47392
47589
  "auto_topups": "autoTopups",
47393
47590
  "spend_limits": "spendLimits",
47394
47591
  "usage_limits": "usageLimits",
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  createCoreHandler
3
- } from "../../chunk-GBISDPPO.mjs";
3
+ } from "../../chunk-SS7EKOGZ.mjs";
4
+ import "../../chunk-JPQERXWV.mjs";
5
+ import "../../chunk-MOHYGUMA.mjs";
6
+ import "../../chunk-TBQ27LIK.mjs";
7
+ import "../../chunk-J44WR3QZ.mjs";
4
8
  import "../../chunk-TSF4YCUO.mjs";
5
9
  import "../../chunk-UAR3TMWI.mjs";
6
- import "../../chunk-KSYN5FLV.mjs";
7
10
  import "../../chunk-IQQQ5P6R.mjs";
8
- import "../../chunk-IXUCY7AU.mjs";
9
11
  import "../../chunk-OTXV5FY7.mjs";
10
- import "../../chunk-I7CD6EB6.mjs";
11
12
  import "../../chunk-VZIMT7AO.mjs";
12
- import "../../chunk-TBQ27LIK.mjs";
13
- import "../../chunk-J44WR3QZ.mjs";
13
+ import "../../chunk-I7CD6EB6.mjs";
14
14
  import "../../chunk-N7NFYY54.mjs";
15
15
  export {
16
16
  createCoreHandler
@@ -1,4 +1,4 @@
1
- import { A as Autumn, R as RouteDefinition } from '../../routeTypes-DAI_E67X.mjs';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-Czot4Qi-.mjs';
2
2
  import { A as AuthResult } from '../../authTypes-TPWTIfcM.mjs';
3
3
  import { BackendResult } from '../types/responseTypes.mjs';
4
4
  import 'zod/v4';
@@ -1,4 +1,4 @@
1
- import { A as Autumn, R as RouteDefinition } from '../../routeTypes-4TatmvQY.js';
1
+ import { A as Autumn, R as RouteDefinition } from '../../routeTypes-D4pVj85I.js';
2
2
  import { A as AuthResult } from '../../authTypes-TPWTIfcM.js';
3
3
  import { BackendResult } from '../types/responseTypes.js';
4
4
  import 'zod/v4';
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  executeRoute
3
- } from "../../chunk-IXUCY7AU.mjs";
4
- import "../../chunk-OTXV5FY7.mjs";
5
- import "../../chunk-I7CD6EB6.mjs";
6
- import "../../chunk-VZIMT7AO.mjs";
3
+ } from "../../chunk-MOHYGUMA.mjs";
7
4
  import "../../chunk-TBQ27LIK.mjs";
8
5
  import "../../chunk-J44WR3QZ.mjs";
6
+ import "../../chunk-OTXV5FY7.mjs";
7
+ import "../../chunk-VZIMT7AO.mjs";
8
+ import "../../chunk-I7CD6EB6.mjs";
9
9
  import "../../chunk-N7NFYY54.mjs";
10
10
  export {
11
11
  executeRoute