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
@@ -4055,7 +4055,7 @@ var BalancePrice$inboundSchema = z15.pipe(
4055
4055
  })
4056
4056
  );
4057
4057
  var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
4058
- var Allocation$inboundSchema = z15.object({
4058
+ var BalanceAllocation$inboundSchema = z15.object({
4059
4059
  amount: number2()
4060
4060
  });
4061
4061
  var Breakdown$inboundSchema = z15.pipe(
@@ -4072,7 +4072,7 @@ var Breakdown$inboundSchema = z15.pipe(
4072
4072
  expires_at: nullable(number2()),
4073
4073
  source: optional3(BalanceSource$inboundSchema),
4074
4074
  allocation: z15.optional(
4075
- z15.nullable(z15.lazy(() => Allocation$inboundSchema))
4075
+ z15.nullable(z15.lazy(() => BalanceAllocation$inboundSchema))
4076
4076
  )
4077
4077
  }),
4078
4078
  z15.transform((v) => {
@@ -21157,6 +21157,17 @@ var CustomerEnv = {
21157
21157
  Sandbox: "sandbox",
21158
21158
  Live: "live"
21159
21159
  };
21160
+ var CustomerBalanceAllocationInterval = {
21161
+ OneOff: "one_off",
21162
+ Minute: "minute",
21163
+ Hour: "hour",
21164
+ Day: "day",
21165
+ Week: "week",
21166
+ Month: "month",
21167
+ Quarter: "quarter",
21168
+ SemiAnnual: "semi_annual",
21169
+ Year: "year"
21170
+ };
21160
21171
  var CustomerAutoTopupInterval2 = {
21161
21172
  Hour: "hour",
21162
21173
  Day: "day",
@@ -21271,6 +21282,30 @@ var TaxExempt = {
21271
21282
  Reverse: "reverse"
21272
21283
  };
21273
21284
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
21285
+ var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
21286
+ var CustomerAllocation$inboundSchema = z39.pipe(
21287
+ z39.object({
21288
+ entity_id: string5(),
21289
+ amount: number2()
21290
+ }),
21291
+ z39.transform((v) => {
21292
+ return remap(v, {
21293
+ "entity_id": "entityId"
21294
+ });
21295
+ })
21296
+ );
21297
+ var CustomerBalanceAllocation$inboundSchema = z39.pipe(
21298
+ z39.object({
21299
+ feature_id: string5(),
21300
+ interval: CustomerBalanceAllocationInterval$inboundSchema,
21301
+ allocations: z39.array(z39.lazy(() => CustomerAllocation$inboundSchema))
21302
+ }),
21303
+ z39.transform((v) => {
21304
+ return remap(v, {
21305
+ "feature_id": "featureId"
21306
+ });
21307
+ })
21308
+ );
21274
21309
  var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
21275
21310
  var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
21276
21311
  z39.object({
@@ -21412,6 +21447,9 @@ var CustomerOverageAllowed$inboundSchema = z39.pipe(
21412
21447
  );
21413
21448
  var CustomerBillingControls$inboundSchema = z39.pipe(
21414
21449
  z39.object({
21450
+ balance_allocations: optional3(
21451
+ z39.array(z39.lazy(() => CustomerBalanceAllocation$inboundSchema))
21452
+ ),
21415
21453
  auto_topups: optional3(
21416
21454
  z39.array(z39.lazy(() => CustomerAutoTopup$inboundSchema))
21417
21455
  ),
@@ -21430,6 +21468,7 @@ var CustomerBillingControls$inboundSchema = z39.pipe(
21430
21468
  }),
21431
21469
  z39.transform((v) => {
21432
21470
  return remap(v, {
21471
+ "balance_allocations": "balanceAllocations",
21433
21472
  "auto_topups": "autoTopups",
21434
21473
  "spend_limits": "spendLimits",
21435
21474
  "usage_limits": "usageLimits",
@@ -22442,6 +22481,17 @@ var GetCustomerEnv = {
22442
22481
  Sandbox: "sandbox",
22443
22482
  Live: "live"
22444
22483
  };
22484
+ var GetCustomerBalanceAllocationInterval = {
22485
+ OneOff: "one_off",
22486
+ Minute: "minute",
22487
+ Hour: "hour",
22488
+ Day: "day",
22489
+ Week: "week",
22490
+ Month: "month",
22491
+ Quarter: "quarter",
22492
+ SemiAnnual: "semi_annual",
22493
+ Year: "year"
22494
+ };
22445
22495
  var GetCustomerAutoTopupInterval2 = {
22446
22496
  Hour: "hour",
22447
22497
  Day: "day",
@@ -22567,6 +22617,30 @@ var GetCustomerParams$outboundSchema = z52.pipe(
22567
22617
  })
22568
22618
  );
22569
22619
  var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
22620
+ var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
22621
+ var GetCustomerAllocation$inboundSchema = z52.pipe(
22622
+ z52.object({
22623
+ entity_id: string5(),
22624
+ amount: number2()
22625
+ }),
22626
+ z52.transform((v) => {
22627
+ return remap(v, {
22628
+ "entity_id": "entityId"
22629
+ });
22630
+ })
22631
+ );
22632
+ var GetCustomerBalanceAllocation$inboundSchema = z52.pipe(
22633
+ z52.object({
22634
+ feature_id: string5(),
22635
+ interval: GetCustomerBalanceAllocationInterval$inboundSchema,
22636
+ allocations: z52.array(z52.lazy(() => GetCustomerAllocation$inboundSchema))
22637
+ }),
22638
+ z52.transform((v) => {
22639
+ return remap(v, {
22640
+ "feature_id": "featureId"
22641
+ });
22642
+ })
22643
+ );
22570
22644
  var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
22571
22645
  var GetCustomerPurchaseLimit2$inboundSchema = z52.pipe(
22572
22646
  z52.object({
@@ -22708,6 +22782,9 @@ var GetCustomerOverageAllowed$inboundSchema = z52.pipe(
22708
22782
  );
22709
22783
  var GetCustomerBillingControls$inboundSchema = z52.pipe(
22710
22784
  z52.object({
22785
+ balance_allocations: optional3(
22786
+ z52.array(z52.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
22787
+ ),
22711
22788
  auto_topups: optional3(
22712
22789
  z52.array(z52.lazy(() => GetCustomerAutoTopup$inboundSchema))
22713
22790
  ),
@@ -22726,6 +22803,7 @@ var GetCustomerBillingControls$inboundSchema = z52.pipe(
22726
22803
  }),
22727
22804
  z52.transform((v) => {
22728
22805
  return remap(v, {
22806
+ "balance_allocations": "balanceAllocations",
22729
22807
  "auto_topups": "autoTopups",
22730
22808
  "spend_limits": "spendLimits",
22731
22809
  "usage_limits": "usageLimits",
@@ -28343,6 +28421,17 @@ var ListCustomersEnv = {
28343
28421
  Sandbox: "sandbox",
28344
28422
  Live: "live"
28345
28423
  };
28424
+ var ListCustomersBalanceAllocationInterval = {
28425
+ OneOff: "one_off",
28426
+ Minute: "minute",
28427
+ Hour: "hour",
28428
+ Day: "day",
28429
+ Week: "week",
28430
+ Month: "month",
28431
+ Quarter: "quarter",
28432
+ SemiAnnual: "semi_annual",
28433
+ Year: "year"
28434
+ };
28346
28435
  var ListCustomersAutoTopupInterval2 = {
28347
28436
  Hour: "hour",
28348
28437
  Day: "day",
@@ -28467,6 +28556,30 @@ var ListCustomersParams$outboundSchema = z67.pipe(
28467
28556
  })
28468
28557
  );
28469
28558
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
28559
+ var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
28560
+ var ListCustomersAllocation$inboundSchema = z67.pipe(
28561
+ z67.object({
28562
+ entity_id: string5(),
28563
+ amount: number2()
28564
+ }),
28565
+ z67.transform((v) => {
28566
+ return remap(v, {
28567
+ "entity_id": "entityId"
28568
+ });
28569
+ })
28570
+ );
28571
+ var ListCustomersBalanceAllocation$inboundSchema = z67.pipe(
28572
+ z67.object({
28573
+ feature_id: string5(),
28574
+ interval: ListCustomersBalanceAllocationInterval$inboundSchema,
28575
+ allocations: z67.array(z67.lazy(() => ListCustomersAllocation$inboundSchema))
28576
+ }),
28577
+ z67.transform((v) => {
28578
+ return remap(v, {
28579
+ "feature_id": "featureId"
28580
+ });
28581
+ })
28582
+ );
28470
28583
  var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
28471
28584
  var ListCustomersPurchaseLimit2$inboundSchema = z67.pipe(
28472
28585
  z67.object({
@@ -28608,6 +28721,9 @@ var ListCustomersOverageAllowed$inboundSchema = z67.pipe(
28608
28721
  );
28609
28722
  var ListCustomersBillingControls$inboundSchema = z67.pipe(
28610
28723
  z67.object({
28724
+ balance_allocations: optional3(
28725
+ z67.array(z67.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
28726
+ ),
28611
28727
  auto_topups: optional3(
28612
28728
  z67.array(z67.lazy(() => ListCustomersAutoTopup$inboundSchema))
28613
28729
  ),
@@ -28626,6 +28742,7 @@ var ListCustomersBillingControls$inboundSchema = z67.pipe(
28626
28742
  }),
28627
28743
  z67.transform((v) => {
28628
28744
  return remap(v, {
28745
+ "balance_allocations": "balanceAllocations",
28629
28746
  "auto_topups": "autoTopups",
28630
28747
  "spend_limits": "spendLimits",
28631
28748
  "usage_limits": "usageLimits",
@@ -46783,6 +46900,17 @@ var UpdateBalanceResponse$inboundSchema = z109.object({
46783
46900
 
46784
46901
  // ../sdk/src/models/update-customer-op.ts
46785
46902
  var z110 = __toESM(require("zod/v4-mini"), 1);
46903
+ var BalanceAllocationIntervalRequestBody = {
46904
+ OneOff: "one_off",
46905
+ Minute: "minute",
46906
+ Hour: "hour",
46907
+ Day: "day",
46908
+ Week: "week",
46909
+ Month: "month",
46910
+ Quarter: "quarter",
46911
+ SemiAnnual: "semi_annual",
46912
+ Year: "year"
46913
+ };
46786
46914
  var UpdateCustomerAutoTopupIntervalRequestBody = {
46787
46915
  Hour: "hour",
46788
46916
  Day: "day",
@@ -46832,6 +46960,17 @@ var UpdateCustomerEnv = {
46832
46960
  Sandbox: "sandbox",
46833
46961
  Live: "live"
46834
46962
  };
46963
+ var UpdateCustomerBalanceAllocationIntervalResponse = {
46964
+ OneOff: "one_off",
46965
+ Minute: "minute",
46966
+ Hour: "hour",
46967
+ Day: "day",
46968
+ Week: "week",
46969
+ Month: "month",
46970
+ Quarter: "quarter",
46971
+ SemiAnnual: "semi_annual",
46972
+ Year: "year"
46973
+ };
46835
46974
  var UpdateCustomerAutoTopupIntervalResponse2 = {
46836
46975
  Hour: "hour",
46837
46976
  Day: "day",
@@ -46920,6 +47059,30 @@ var UpdateCustomerDimensionsToEnum1 = {
46920
47059
  var UpdateCustomerToEnum = {
46921
47060
  Inf: "inf"
46922
47061
  };
47062
+ var BalanceAllocationIntervalRequestBody$outboundSchema = z110.enum(BalanceAllocationIntervalRequestBody);
47063
+ var AllocationRequest$outboundSchema = z110.pipe(
47064
+ z110.object({
47065
+ entityId: z110.string(),
47066
+ amount: z110.number()
47067
+ }),
47068
+ z110.transform((v) => {
47069
+ return remap(v, {
47070
+ entityId: "entity_id"
47071
+ });
47072
+ })
47073
+ );
47074
+ var BalanceAllocationRequest$outboundSchema = z110.pipe(
47075
+ z110.object({
47076
+ featureId: z110.string(),
47077
+ interval: BalanceAllocationIntervalRequestBody$outboundSchema,
47078
+ allocations: z110.array(z110.lazy(() => AllocationRequest$outboundSchema))
47079
+ }),
47080
+ z110.transform((v) => {
47081
+ return remap(v, {
47082
+ featureId: "feature_id"
47083
+ });
47084
+ })
47085
+ );
46923
47086
  var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z110.enum(
46924
47087
  UpdateCustomerAutoTopupIntervalRequestBody
46925
47088
  );
@@ -47074,6 +47237,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z110.pipe(
47074
47237
  );
47075
47238
  var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47076
47239
  z110.object({
47240
+ balanceAllocations: z110.optional(
47241
+ z110.array(z110.lazy(() => BalanceAllocationRequest$outboundSchema))
47242
+ ),
47077
47243
  autoTopups: z110.optional(
47078
47244
  z110.array(
47079
47245
  z110.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
@@ -47105,6 +47271,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47105
47271
  }),
47106
47272
  z110.transform((v) => {
47107
47273
  return remap(v, {
47274
+ balanceAllocations: "balance_allocations",
47108
47275
  autoTopups: "auto_topups",
47109
47276
  spendLimits: "spend_limits",
47110
47277
  usageLimits: "usage_limits",
@@ -47229,6 +47396,32 @@ var UpdateCustomerParams$outboundSchema = z110.pipe(
47229
47396
  })
47230
47397
  );
47231
47398
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
47399
+ var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
47400
+ var UpdateCustomerAllocationResponse$inboundSchema = z110.pipe(
47401
+ z110.object({
47402
+ entity_id: string5(),
47403
+ amount: number2()
47404
+ }),
47405
+ z110.transform((v) => {
47406
+ return remap(v, {
47407
+ "entity_id": "entityId"
47408
+ });
47409
+ })
47410
+ );
47411
+ var UpdateCustomerBalanceAllocationResponse$inboundSchema = z110.pipe(
47412
+ z110.object({
47413
+ feature_id: string5(),
47414
+ interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
47415
+ allocations: z110.array(z110.lazy(
47416
+ () => UpdateCustomerAllocationResponse$inboundSchema
47417
+ ))
47418
+ }),
47419
+ z110.transform((v) => {
47420
+ return remap(v, {
47421
+ "feature_id": "featureId"
47422
+ });
47423
+ })
47424
+ );
47232
47425
  var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
47233
47426
  var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z110.pipe(
47234
47427
  z110.object({
@@ -47374,24 +47567,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z110.pipe(
47374
47567
  );
47375
47568
  var UpdateCustomerBillingControlsResponse$inboundSchema = z110.pipe(
47376
47569
  z110.object({
47377
- auto_topups: optional3(
47378
- z110.array(z110.lazy(() => UpdateCustomerAutoTopupResponse$inboundSchema))
47379
- ),
47380
- spend_limits: optional3(
47381
- z110.array(z110.lazy(() => UpdateCustomerSpendLimitResponse$inboundSchema))
47382
- ),
47383
- usage_limits: optional3(
47384
- z110.array(z110.lazy(() => UpdateCustomerUsageLimitResponse$inboundSchema))
47385
- ),
47386
- usage_alerts: optional3(
47387
- z110.array(z110.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
47388
- ),
47389
- overage_allowed: optional3(
47390
- z110.array(z110.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
47391
- )
47570
+ balance_allocations: optional3(z110.array(z110.lazy(
47571
+ () => UpdateCustomerBalanceAllocationResponse$inboundSchema
47572
+ ))),
47573
+ auto_topups: optional3(z110.array(z110.lazy(
47574
+ () => UpdateCustomerAutoTopupResponse$inboundSchema
47575
+ ))),
47576
+ spend_limits: optional3(z110.array(z110.lazy(
47577
+ () => UpdateCustomerSpendLimitResponse$inboundSchema
47578
+ ))),
47579
+ usage_limits: optional3(z110.array(z110.lazy(
47580
+ () => UpdateCustomerUsageLimitResponse$inboundSchema
47581
+ ))),
47582
+ usage_alerts: optional3(z110.array(z110.lazy(
47583
+ () => UpdateCustomerUsageAlertResponse$inboundSchema
47584
+ ))),
47585
+ overage_allowed: optional3(z110.array(z110.lazy(
47586
+ () => UpdateCustomerOverageAllowedResponse$inboundSchema
47587
+ )))
47392
47588
  }),
47393
47589
  z110.transform((v) => {
47394
47590
  return remap(v, {
47591
+ "balance_allocations": "balanceAllocations",
47395
47592
  "auto_topups": "autoTopups",
47396
47593
  "spend_limits": "spendLimits",
47397
47594
  "usage_limits": "usageLimits",
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  autumnHandler
3
- } from "../chunk-RVOZXEI3.mjs";
3
+ } from "../chunk-HLYVCB6M.mjs";
4
4
  import {
5
5
  autumnHandler as autumnHandler2
6
- } from "../chunk-5D6J5UMK.mjs";
6
+ } from "../chunk-5DMQUWII.mjs";
7
7
  import {
8
8
  autumnHandler as autumnHandler3
9
- } from "../chunk-WXLAGRC4.mjs";
9
+ } from "../chunk-ZJSWDKBL.mjs";
10
10
  import {
11
11
  autumnHandler as autumnHandler4
12
- } from "../chunk-3T6FAZDO.mjs";
12
+ } from "../chunk-BZ54HK66.mjs";
13
13
  import "../chunk-WYDGEDEU.mjs";
14
14
  import "../chunk-VXND2UDT.mjs";
15
- import "../chunk-JJEEJKM7.mjs";
16
- import "../chunk-GBISDPPO.mjs";
15
+ import "../chunk-5CDM4XIN.mjs";
16
+ import "../chunk-SS7EKOGZ.mjs";
17
+ import "../chunk-JPQERXWV.mjs";
18
+ import "../chunk-MOHYGUMA.mjs";
19
+ import "../chunk-TBQ27LIK.mjs";
20
+ import "../chunk-J44WR3QZ.mjs";
17
21
  import "../chunk-TSF4YCUO.mjs";
18
22
  import "../chunk-UAR3TMWI.mjs";
19
- import "../chunk-KSYN5FLV.mjs";
20
23
  import "../chunk-IQQQ5P6R.mjs";
21
- import "../chunk-IXUCY7AU.mjs";
22
24
  import "../chunk-OTXV5FY7.mjs";
23
- import "../chunk-I7CD6EB6.mjs";
24
25
  import "../chunk-VZIMT7AO.mjs";
25
- import "../chunk-TBQ27LIK.mjs";
26
- import "../chunk-J44WR3QZ.mjs";
26
+ import "../chunk-I7CD6EB6.mjs";
27
27
  import "../chunk-N7NFYY54.mjs";
28
28
  export {
29
29
  autumnHandler as expressAutumnHandler,