autumn-js 1.3.47 → 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 (107) hide show
  1. package/dist/backend/adapters/express.js +214 -17
  2. package/dist/backend/adapters/express.mjs +4 -4
  3. package/dist/backend/adapters/fetch.js +214 -17
  4. package/dist/backend/adapters/fetch.mjs +4 -4
  5. package/dist/backend/adapters/hono.js +214 -17
  6. package/dist/backend/adapters/hono.mjs +4 -4
  7. package/dist/backend/adapters/index.js +214 -17
  8. package/dist/backend/adapters/index.mjs +7 -7
  9. package/dist/backend/adapters/next.js +214 -17
  10. package/dist/backend/adapters/next.mjs +4 -4
  11. package/dist/backend/{chunk-6RGLO6FV.mjs → chunk-5CDM4XIN.mjs} +1 -1
  12. package/dist/backend/{chunk-C4IENXIG.mjs → chunk-5DMQUWII.mjs} +1 -1
  13. package/dist/backend/{chunk-ESSDMDXJ.mjs → chunk-BZ54HK66.mjs} +1 -1
  14. package/dist/backend/{chunk-NOJP6FIN.mjs → chunk-HLYVCB6M.mjs} +1 -1
  15. package/dist/backend/{chunk-KSYN5FLV.mjs → chunk-JPQERXWV.mjs} +214 -17
  16. package/dist/backend/{chunk-ZFFEG27F.mjs → chunk-SS7EKOGZ.mjs} +1 -1
  17. package/dist/backend/{chunk-DZBBXOKT.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 +2 -2
  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/handleRouteByName.js +214 -17
  25. package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
  26. package/dist/backend/core/handlers/index.d.mts +1 -1
  27. package/dist/backend/core/handlers/index.d.ts +1 -1
  28. package/dist/backend/core/handlers/index.js +214 -17
  29. package/dist/backend/core/handlers/index.mjs +3 -3
  30. package/dist/backend/core/index.d.mts +1 -1
  31. package/dist/backend/core/index.d.ts +1 -1
  32. package/dist/backend/core/index.js +214 -17
  33. package/dist/backend/core/index.mjs +3 -3
  34. package/dist/backend/core/routes/index.d.mts +1 -1
  35. package/dist/backend/core/routes/index.d.ts +1 -1
  36. package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
  37. package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
  38. package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
  39. package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
  40. package/dist/backend/core/types/handlerTypes.d.mts +1 -1
  41. package/dist/backend/core/types/handlerTypes.d.ts +1 -1
  42. package/dist/backend/core/types/index.d.mts +1 -1
  43. package/dist/backend/core/types/index.d.ts +1 -1
  44. package/dist/backend/core/types/routeTypes.d.mts +1 -1
  45. package/dist/backend/core/types/routeTypes.d.ts +1 -1
  46. package/dist/backend/index.d.mts +2 -2
  47. package/dist/backend/index.d.ts +2 -2
  48. package/dist/backend/index.js +214 -17
  49. package/dist/backend/index.mjs +3 -3
  50. package/dist/backend/{routeTypes-DAI_E67X.d.mts → routeTypes-Czot4Qi-.d.mts} +232 -2
  51. package/dist/backend/{routeTypes-4TatmvQY.d.ts → routeTypes-D4pVj85I.d.ts} +232 -2
  52. package/dist/better-auth/{chunk-R7IEJQOY.mjs → chunk-57PPCUDF.mjs} +214 -17
  53. package/dist/better-auth/index.js +214 -17
  54. package/dist/better-auth/index.mjs +1 -1
  55. package/dist/better-auth/utils/handleBetterAuthRoute.js +214 -17
  56. package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
  57. package/dist/better-auth/utils/index.js +214 -17
  58. package/dist/better-auth/utils/index.mjs +1 -1
  59. package/dist/react/AutumnContext.d.mts +4 -4
  60. package/dist/react/AutumnContext.d.ts +4 -4
  61. package/dist/react/client/AutumnClient.d.mts +4 -4
  62. package/dist/react/client/AutumnClient.d.ts +4 -4
  63. package/dist/react/client/IAutumnClient.d.mts +4 -4
  64. package/dist/react/client/IAutumnClient.d.ts +4 -4
  65. package/dist/react/client/index.d.mts +4 -4
  66. package/dist/react/client/index.d.ts +4 -4
  67. package/dist/react/{customer-DfpvnPRk.d.mts → customer-CZn6Nd7a.d.mts} +47 -1
  68. package/dist/react/{customer-B0KAd7eZ.d.ts → customer-Dt0OdihJ.d.ts} +47 -1
  69. package/dist/react/hooks/index.d.mts +4 -4
  70. package/dist/react/hooks/index.d.ts +4 -4
  71. package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
  72. package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
  73. package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
  74. package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
  75. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
  76. package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
  77. package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
  78. package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
  79. package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
  80. package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
  81. package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
  82. package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
  83. package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
  84. package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
  85. package/dist/react/hooks/useCustomer.d.mts +3 -3
  86. package/dist/react/hooks/useCustomer.d.ts +3 -3
  87. package/dist/react/hooks/useEntity.d.mts +2 -2
  88. package/dist/react/hooks/useEntity.d.ts +2 -2
  89. package/dist/react/hooks/useListEvents.d.mts +2 -2
  90. package/dist/react/hooks/useListEvents.d.ts +2 -2
  91. package/dist/react/hooks/useListPlans.d.mts +3 -3
  92. package/dist/react/hooks/useListPlans.d.ts +3 -3
  93. package/dist/react/hooks/useReferrals.d.mts +2 -2
  94. package/dist/react/hooks/useReferrals.d.ts +2 -2
  95. package/dist/react/index.d.mts +4 -4
  96. package/dist/react/index.d.ts +4 -4
  97. package/dist/react/{list-plans-response-6iUDTnPQ.d.ts → list-plans-response-Bx4e7rvw.d.ts} +1 -1
  98. package/dist/react/{list-plans-response-BzsqJlxN.d.mts → list-plans-response-ibIt0k4N.d.mts} +1 -1
  99. package/dist/react/{params-CMcoADwO.d.ts → params-BGpmxI8B.d.mts} +1 -1
  100. package/dist/react/{params-vAoGWtk9.d.mts → params-C7_vr_BA.d.ts} +1 -1
  101. package/dist/react/{plan-Ct5TGTnS.d.mts → plan-CvxFKlF7.d.mts} +2 -2
  102. package/dist/react/{plan-Ct5TGTnS.d.ts → plan-CvxFKlF7.d.ts} +2 -2
  103. package/dist/sdk/index.d.mts +287 -5
  104. package/dist/sdk/index.d.ts +287 -5
  105. package/dist/sdk/index.js +317 -22
  106. package/dist/sdk/index.mjs +286 -21
  107. package/package.json +2 -2
@@ -4056,7 +4056,7 @@ var BalancePrice$inboundSchema = z15.pipe(
4056
4056
  })
4057
4057
  );
4058
4058
  var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
4059
- var Allocation$inboundSchema = z15.object({
4059
+ var BalanceAllocation$inboundSchema = z15.object({
4060
4060
  amount: number2()
4061
4061
  });
4062
4062
  var Breakdown$inboundSchema = z15.pipe(
@@ -4073,7 +4073,7 @@ var Breakdown$inboundSchema = z15.pipe(
4073
4073
  expires_at: nullable(number2()),
4074
4074
  source: optional3(BalanceSource$inboundSchema),
4075
4075
  allocation: z15.optional(
4076
- z15.nullable(z15.lazy(() => Allocation$inboundSchema))
4076
+ z15.nullable(z15.lazy(() => BalanceAllocation$inboundSchema))
4077
4077
  )
4078
4078
  }),
4079
4079
  z15.transform((v) => {
@@ -21158,6 +21158,17 @@ var CustomerEnv = {
21158
21158
  Sandbox: "sandbox",
21159
21159
  Live: "live"
21160
21160
  };
21161
+ var CustomerBalanceAllocationInterval = {
21162
+ OneOff: "one_off",
21163
+ Minute: "minute",
21164
+ Hour: "hour",
21165
+ Day: "day",
21166
+ Week: "week",
21167
+ Month: "month",
21168
+ Quarter: "quarter",
21169
+ SemiAnnual: "semi_annual",
21170
+ Year: "year"
21171
+ };
21161
21172
  var CustomerAutoTopupInterval2 = {
21162
21173
  Hour: "hour",
21163
21174
  Day: "day",
@@ -21272,6 +21283,30 @@ var TaxExempt = {
21272
21283
  Reverse: "reverse"
21273
21284
  };
21274
21285
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
21286
+ var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
21287
+ var CustomerAllocation$inboundSchema = z39.pipe(
21288
+ z39.object({
21289
+ entity_id: string5(),
21290
+ amount: number2()
21291
+ }),
21292
+ z39.transform((v) => {
21293
+ return remap(v, {
21294
+ "entity_id": "entityId"
21295
+ });
21296
+ })
21297
+ );
21298
+ var CustomerBalanceAllocation$inboundSchema = z39.pipe(
21299
+ z39.object({
21300
+ feature_id: string5(),
21301
+ interval: CustomerBalanceAllocationInterval$inboundSchema,
21302
+ allocations: z39.array(z39.lazy(() => CustomerAllocation$inboundSchema))
21303
+ }),
21304
+ z39.transform((v) => {
21305
+ return remap(v, {
21306
+ "feature_id": "featureId"
21307
+ });
21308
+ })
21309
+ );
21275
21310
  var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
21276
21311
  var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
21277
21312
  z39.object({
@@ -21413,6 +21448,9 @@ var CustomerOverageAllowed$inboundSchema = z39.pipe(
21413
21448
  );
21414
21449
  var CustomerBillingControls$inboundSchema = z39.pipe(
21415
21450
  z39.object({
21451
+ balance_allocations: optional3(
21452
+ z39.array(z39.lazy(() => CustomerBalanceAllocation$inboundSchema))
21453
+ ),
21416
21454
  auto_topups: optional3(
21417
21455
  z39.array(z39.lazy(() => CustomerAutoTopup$inboundSchema))
21418
21456
  ),
@@ -21431,6 +21469,7 @@ var CustomerBillingControls$inboundSchema = z39.pipe(
21431
21469
  }),
21432
21470
  z39.transform((v) => {
21433
21471
  return remap(v, {
21472
+ "balance_allocations": "balanceAllocations",
21434
21473
  "auto_topups": "autoTopups",
21435
21474
  "spend_limits": "spendLimits",
21436
21475
  "usage_limits": "usageLimits",
@@ -22443,6 +22482,17 @@ var GetCustomerEnv = {
22443
22482
  Sandbox: "sandbox",
22444
22483
  Live: "live"
22445
22484
  };
22485
+ var GetCustomerBalanceAllocationInterval = {
22486
+ OneOff: "one_off",
22487
+ Minute: "minute",
22488
+ Hour: "hour",
22489
+ Day: "day",
22490
+ Week: "week",
22491
+ Month: "month",
22492
+ Quarter: "quarter",
22493
+ SemiAnnual: "semi_annual",
22494
+ Year: "year"
22495
+ };
22446
22496
  var GetCustomerAutoTopupInterval2 = {
22447
22497
  Hour: "hour",
22448
22498
  Day: "day",
@@ -22568,6 +22618,30 @@ var GetCustomerParams$outboundSchema = z52.pipe(
22568
22618
  })
22569
22619
  );
22570
22620
  var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
22621
+ var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
22622
+ var GetCustomerAllocation$inboundSchema = z52.pipe(
22623
+ z52.object({
22624
+ entity_id: string5(),
22625
+ amount: number2()
22626
+ }),
22627
+ z52.transform((v) => {
22628
+ return remap(v, {
22629
+ "entity_id": "entityId"
22630
+ });
22631
+ })
22632
+ );
22633
+ var GetCustomerBalanceAllocation$inboundSchema = z52.pipe(
22634
+ z52.object({
22635
+ feature_id: string5(),
22636
+ interval: GetCustomerBalanceAllocationInterval$inboundSchema,
22637
+ allocations: z52.array(z52.lazy(() => GetCustomerAllocation$inboundSchema))
22638
+ }),
22639
+ z52.transform((v) => {
22640
+ return remap(v, {
22641
+ "feature_id": "featureId"
22642
+ });
22643
+ })
22644
+ );
22571
22645
  var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
22572
22646
  var GetCustomerPurchaseLimit2$inboundSchema = z52.pipe(
22573
22647
  z52.object({
@@ -22709,6 +22783,9 @@ var GetCustomerOverageAllowed$inboundSchema = z52.pipe(
22709
22783
  );
22710
22784
  var GetCustomerBillingControls$inboundSchema = z52.pipe(
22711
22785
  z52.object({
22786
+ balance_allocations: optional3(
22787
+ z52.array(z52.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
22788
+ ),
22712
22789
  auto_topups: optional3(
22713
22790
  z52.array(z52.lazy(() => GetCustomerAutoTopup$inboundSchema))
22714
22791
  ),
@@ -22727,6 +22804,7 @@ var GetCustomerBillingControls$inboundSchema = z52.pipe(
22727
22804
  }),
22728
22805
  z52.transform((v) => {
22729
22806
  return remap(v, {
22807
+ "balance_allocations": "balanceAllocations",
22730
22808
  "auto_topups": "autoTopups",
22731
22809
  "spend_limits": "spendLimits",
22732
22810
  "usage_limits": "usageLimits",
@@ -28344,6 +28422,17 @@ var ListCustomersEnv = {
28344
28422
  Sandbox: "sandbox",
28345
28423
  Live: "live"
28346
28424
  };
28425
+ var ListCustomersBalanceAllocationInterval = {
28426
+ OneOff: "one_off",
28427
+ Minute: "minute",
28428
+ Hour: "hour",
28429
+ Day: "day",
28430
+ Week: "week",
28431
+ Month: "month",
28432
+ Quarter: "quarter",
28433
+ SemiAnnual: "semi_annual",
28434
+ Year: "year"
28435
+ };
28347
28436
  var ListCustomersAutoTopupInterval2 = {
28348
28437
  Hour: "hour",
28349
28438
  Day: "day",
@@ -28468,6 +28557,30 @@ var ListCustomersParams$outboundSchema = z67.pipe(
28468
28557
  })
28469
28558
  );
28470
28559
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
28560
+ var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
28561
+ var ListCustomersAllocation$inboundSchema = z67.pipe(
28562
+ z67.object({
28563
+ entity_id: string5(),
28564
+ amount: number2()
28565
+ }),
28566
+ z67.transform((v) => {
28567
+ return remap(v, {
28568
+ "entity_id": "entityId"
28569
+ });
28570
+ })
28571
+ );
28572
+ var ListCustomersBalanceAllocation$inboundSchema = z67.pipe(
28573
+ z67.object({
28574
+ feature_id: string5(),
28575
+ interval: ListCustomersBalanceAllocationInterval$inboundSchema,
28576
+ allocations: z67.array(z67.lazy(() => ListCustomersAllocation$inboundSchema))
28577
+ }),
28578
+ z67.transform((v) => {
28579
+ return remap(v, {
28580
+ "feature_id": "featureId"
28581
+ });
28582
+ })
28583
+ );
28471
28584
  var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
28472
28585
  var ListCustomersPurchaseLimit2$inboundSchema = z67.pipe(
28473
28586
  z67.object({
@@ -28609,6 +28722,9 @@ var ListCustomersOverageAllowed$inboundSchema = z67.pipe(
28609
28722
  );
28610
28723
  var ListCustomersBillingControls$inboundSchema = z67.pipe(
28611
28724
  z67.object({
28725
+ balance_allocations: optional3(
28726
+ z67.array(z67.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
28727
+ ),
28612
28728
  auto_topups: optional3(
28613
28729
  z67.array(z67.lazy(() => ListCustomersAutoTopup$inboundSchema))
28614
28730
  ),
@@ -28627,6 +28743,7 @@ var ListCustomersBillingControls$inboundSchema = z67.pipe(
28627
28743
  }),
28628
28744
  z67.transform((v) => {
28629
28745
  return remap(v, {
28746
+ "balance_allocations": "balanceAllocations",
28630
28747
  "auto_topups": "autoTopups",
28631
28748
  "spend_limits": "spendLimits",
28632
28749
  "usage_limits": "usageLimits",
@@ -46784,6 +46901,17 @@ var UpdateBalanceResponse$inboundSchema = z109.object({
46784
46901
 
46785
46902
  // ../sdk/src/models/update-customer-op.ts
46786
46903
  var z110 = __toESM(require("zod/v4-mini"), 1);
46904
+ var BalanceAllocationIntervalRequestBody = {
46905
+ OneOff: "one_off",
46906
+ Minute: "minute",
46907
+ Hour: "hour",
46908
+ Day: "day",
46909
+ Week: "week",
46910
+ Month: "month",
46911
+ Quarter: "quarter",
46912
+ SemiAnnual: "semi_annual",
46913
+ Year: "year"
46914
+ };
46787
46915
  var UpdateCustomerAutoTopupIntervalRequestBody = {
46788
46916
  Hour: "hour",
46789
46917
  Day: "day",
@@ -46833,6 +46961,17 @@ var UpdateCustomerEnv = {
46833
46961
  Sandbox: "sandbox",
46834
46962
  Live: "live"
46835
46963
  };
46964
+ var UpdateCustomerBalanceAllocationIntervalResponse = {
46965
+ OneOff: "one_off",
46966
+ Minute: "minute",
46967
+ Hour: "hour",
46968
+ Day: "day",
46969
+ Week: "week",
46970
+ Month: "month",
46971
+ Quarter: "quarter",
46972
+ SemiAnnual: "semi_annual",
46973
+ Year: "year"
46974
+ };
46836
46975
  var UpdateCustomerAutoTopupIntervalResponse2 = {
46837
46976
  Hour: "hour",
46838
46977
  Day: "day",
@@ -46921,6 +47060,30 @@ var UpdateCustomerDimensionsToEnum1 = {
46921
47060
  var UpdateCustomerToEnum = {
46922
47061
  Inf: "inf"
46923
47062
  };
47063
+ var BalanceAllocationIntervalRequestBody$outboundSchema = z110.enum(BalanceAllocationIntervalRequestBody);
47064
+ var AllocationRequest$outboundSchema = z110.pipe(
47065
+ z110.object({
47066
+ entityId: z110.string(),
47067
+ amount: z110.number()
47068
+ }),
47069
+ z110.transform((v) => {
47070
+ return remap(v, {
47071
+ entityId: "entity_id"
47072
+ });
47073
+ })
47074
+ );
47075
+ var BalanceAllocationRequest$outboundSchema = z110.pipe(
47076
+ z110.object({
47077
+ featureId: z110.string(),
47078
+ interval: BalanceAllocationIntervalRequestBody$outboundSchema,
47079
+ allocations: z110.array(z110.lazy(() => AllocationRequest$outboundSchema))
47080
+ }),
47081
+ z110.transform((v) => {
47082
+ return remap(v, {
47083
+ featureId: "feature_id"
47084
+ });
47085
+ })
47086
+ );
46924
47087
  var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z110.enum(
46925
47088
  UpdateCustomerAutoTopupIntervalRequestBody
46926
47089
  );
@@ -47075,6 +47238,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z110.pipe(
47075
47238
  );
47076
47239
  var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47077
47240
  z110.object({
47241
+ balanceAllocations: z110.optional(
47242
+ z110.array(z110.lazy(() => BalanceAllocationRequest$outboundSchema))
47243
+ ),
47078
47244
  autoTopups: z110.optional(
47079
47245
  z110.array(
47080
47246
  z110.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
@@ -47106,6 +47272,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
47106
47272
  }),
47107
47273
  z110.transform((v) => {
47108
47274
  return remap(v, {
47275
+ balanceAllocations: "balance_allocations",
47109
47276
  autoTopups: "auto_topups",
47110
47277
  spendLimits: "spend_limits",
47111
47278
  usageLimits: "usage_limits",
@@ -47230,6 +47397,32 @@ var UpdateCustomerParams$outboundSchema = z110.pipe(
47230
47397
  })
47231
47398
  );
47232
47399
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
47400
+ var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
47401
+ var UpdateCustomerAllocationResponse$inboundSchema = z110.pipe(
47402
+ z110.object({
47403
+ entity_id: string5(),
47404
+ amount: number2()
47405
+ }),
47406
+ z110.transform((v) => {
47407
+ return remap(v, {
47408
+ "entity_id": "entityId"
47409
+ });
47410
+ })
47411
+ );
47412
+ var UpdateCustomerBalanceAllocationResponse$inboundSchema = z110.pipe(
47413
+ z110.object({
47414
+ feature_id: string5(),
47415
+ interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
47416
+ allocations: z110.array(z110.lazy(
47417
+ () => UpdateCustomerAllocationResponse$inboundSchema
47418
+ ))
47419
+ }),
47420
+ z110.transform((v) => {
47421
+ return remap(v, {
47422
+ "feature_id": "featureId"
47423
+ });
47424
+ })
47425
+ );
47233
47426
  var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
47234
47427
  var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z110.pipe(
47235
47428
  z110.object({
@@ -47375,24 +47568,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z110.pipe(
47375
47568
  );
47376
47569
  var UpdateCustomerBillingControlsResponse$inboundSchema = z110.pipe(
47377
47570
  z110.object({
47378
- auto_topups: optional3(
47379
- z110.array(z110.lazy(() => UpdateCustomerAutoTopupResponse$inboundSchema))
47380
- ),
47381
- spend_limits: optional3(
47382
- z110.array(z110.lazy(() => UpdateCustomerSpendLimitResponse$inboundSchema))
47383
- ),
47384
- usage_limits: optional3(
47385
- z110.array(z110.lazy(() => UpdateCustomerUsageLimitResponse$inboundSchema))
47386
- ),
47387
- usage_alerts: optional3(
47388
- z110.array(z110.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
47389
- ),
47390
- overage_allowed: optional3(
47391
- z110.array(z110.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
47392
- )
47571
+ balance_allocations: optional3(z110.array(z110.lazy(
47572
+ () => UpdateCustomerBalanceAllocationResponse$inboundSchema
47573
+ ))),
47574
+ auto_topups: optional3(z110.array(z110.lazy(
47575
+ () => UpdateCustomerAutoTopupResponse$inboundSchema
47576
+ ))),
47577
+ spend_limits: optional3(z110.array(z110.lazy(
47578
+ () => UpdateCustomerSpendLimitResponse$inboundSchema
47579
+ ))),
47580
+ usage_limits: optional3(z110.array(z110.lazy(
47581
+ () => UpdateCustomerUsageLimitResponse$inboundSchema
47582
+ ))),
47583
+ usage_alerts: optional3(z110.array(z110.lazy(
47584
+ () => UpdateCustomerUsageAlertResponse$inboundSchema
47585
+ ))),
47586
+ overage_allowed: optional3(z110.array(z110.lazy(
47587
+ () => UpdateCustomerOverageAllowedResponse$inboundSchema
47588
+ )))
47393
47589
  }),
47394
47590
  z110.transform((v) => {
47395
47591
  return remap(v, {
47592
+ "balance_allocations": "balanceAllocations",
47396
47593
  "auto_topups": "autoTopups",
47397
47594
  "spend_limits": "spendLimits",
47398
47595
  "usage_limits": "usageLimits",
@@ -1,11 +1,11 @@
1
1
  import "../../chunk-VXND2UDT.mjs";
2
2
  import {
3
3
  handleRouteByName
4
- } from "../../chunk-6RGLO6FV.mjs";
4
+ } from "../../chunk-5CDM4XIN.mjs";
5
5
  import {
6
6
  createCoreHandler
7
- } from "../../chunk-ZFFEG27F.mjs";
8
- import "../../chunk-KSYN5FLV.mjs";
7
+ } from "../../chunk-SS7EKOGZ.mjs";
8
+ import "../../chunk-JPQERXWV.mjs";
9
9
  import {
10
10
  executeRoute
11
11
  } from "../../chunk-MOHYGUMA.mjs";
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.mjs';
2
2
  export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-TPWTIfcM.mjs';
3
3
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.mjs';
4
4
  export { BackendErrorBody, BackendResult } from './types/responseTypes.mjs';
5
- export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-DAI_E67X.mjs';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-Czot4Qi-.mjs';
6
6
  export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.mjs';
7
7
  export { buildRouter } from './routes/routeBuilder.mjs';
8
8
  export { routeConfigs } from './routes/routeConfigs.mjs';
@@ -2,7 +2,7 @@ export { createCoreHandler } from './handlers/coreHandler.js';
2
2
  export { A as AuthResult, C as CustomerData, a as CustomerId, R as ResolvedIdentity } from '../authTypes-TPWTIfcM.js';
3
3
  export { CoreHandlerOptions, UnifiedRequest, UnifiedResponse } from './types/handlerTypes.js';
4
4
  export { BackendErrorBody, BackendResult } from './types/responseTypes.js';
5
- export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-4TatmvQY.js';
5
+ export { C as CustomHandlerArgs, a as CustomHandlerFn, R as RouteDefinition } from '../routeTypes-D4pVj85I.js';
6
6
  export { HandleRouteByNameOptions, HandleRouteByNameResult, handleRouteByName } from './handlers/handleRouteByName.js';
7
7
  export { buildRouter } from './routes/routeBuilder.js';
8
8
  export { routeConfigs } from './routes/routeConfigs.js';