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
@@ -10882,7 +10882,7 @@ var BalancePrice$inboundSchema = z34.pipe(
10882
10882
  })
10883
10883
  );
10884
10884
  var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
10885
- var Allocation$inboundSchema = z34.object({
10885
+ var BalanceAllocation$inboundSchema = z34.object({
10886
10886
  amount: number2()
10887
10887
  });
10888
10888
  var Breakdown$inboundSchema = z34.pipe(
@@ -10899,7 +10899,7 @@ var Breakdown$inboundSchema = z34.pipe(
10899
10899
  expires_at: nullable(number2()),
10900
10900
  source: optional3(BalanceSource$inboundSchema),
10901
10901
  allocation: z34.optional(
10902
- z34.nullable(z34.lazy(() => Allocation$inboundSchema))
10902
+ z34.nullable(z34.lazy(() => BalanceAllocation$inboundSchema))
10903
10903
  )
10904
10904
  }),
10905
10905
  z34.transform((v) => {
@@ -27984,6 +27984,17 @@ var CustomerEnv = {
27984
27984
  Sandbox: "sandbox",
27985
27985
  Live: "live"
27986
27986
  };
27987
+ var CustomerBalanceAllocationInterval = {
27988
+ OneOff: "one_off",
27989
+ Minute: "minute",
27990
+ Hour: "hour",
27991
+ Day: "day",
27992
+ Week: "week",
27993
+ Month: "month",
27994
+ Quarter: "quarter",
27995
+ SemiAnnual: "semi_annual",
27996
+ Year: "year"
27997
+ };
27987
27998
  var CustomerAutoTopupInterval2 = {
27988
27999
  Hour: "hour",
27989
28000
  Day: "day",
@@ -28098,6 +28109,30 @@ var TaxExempt = {
28098
28109
  Reverse: "reverse"
28099
28110
  };
28100
28111
  var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
28112
+ var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
28113
+ var CustomerAllocation$inboundSchema = z58.pipe(
28114
+ z58.object({
28115
+ entity_id: string5(),
28116
+ amount: number2()
28117
+ }),
28118
+ z58.transform((v) => {
28119
+ return remap(v, {
28120
+ "entity_id": "entityId"
28121
+ });
28122
+ })
28123
+ );
28124
+ var CustomerBalanceAllocation$inboundSchema = z58.pipe(
28125
+ z58.object({
28126
+ feature_id: string5(),
28127
+ interval: CustomerBalanceAllocationInterval$inboundSchema,
28128
+ allocations: z58.array(z58.lazy(() => CustomerAllocation$inboundSchema))
28129
+ }),
28130
+ z58.transform((v) => {
28131
+ return remap(v, {
28132
+ "feature_id": "featureId"
28133
+ });
28134
+ })
28135
+ );
28101
28136
  var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
28102
28137
  var CustomerPurchaseLimit2$inboundSchema = z58.pipe(
28103
28138
  z58.object({
@@ -28239,6 +28274,9 @@ var CustomerOverageAllowed$inboundSchema = z58.pipe(
28239
28274
  );
28240
28275
  var CustomerBillingControls$inboundSchema = z58.pipe(
28241
28276
  z58.object({
28277
+ balance_allocations: optional3(
28278
+ z58.array(z58.lazy(() => CustomerBalanceAllocation$inboundSchema))
28279
+ ),
28242
28280
  auto_topups: optional3(
28243
28281
  z58.array(z58.lazy(() => CustomerAutoTopup$inboundSchema))
28244
28282
  ),
@@ -28257,6 +28295,7 @@ var CustomerBillingControls$inboundSchema = z58.pipe(
28257
28295
  }),
28258
28296
  z58.transform((v) => {
28259
28297
  return remap(v, {
28298
+ "balance_allocations": "balanceAllocations",
28260
28299
  "auto_topups": "autoTopups",
28261
28300
  "spend_limits": "spendLimits",
28262
28301
  "usage_limits": "usageLimits",
@@ -29269,6 +29308,17 @@ var GetCustomerEnv = {
29269
29308
  Sandbox: "sandbox",
29270
29309
  Live: "live"
29271
29310
  };
29311
+ var GetCustomerBalanceAllocationInterval = {
29312
+ OneOff: "one_off",
29313
+ Minute: "minute",
29314
+ Hour: "hour",
29315
+ Day: "day",
29316
+ Week: "week",
29317
+ Month: "month",
29318
+ Quarter: "quarter",
29319
+ SemiAnnual: "semi_annual",
29320
+ Year: "year"
29321
+ };
29272
29322
  var GetCustomerAutoTopupInterval2 = {
29273
29323
  Hour: "hour",
29274
29324
  Day: "day",
@@ -29394,6 +29444,30 @@ var GetCustomerParams$outboundSchema = z71.pipe(
29394
29444
  })
29395
29445
  );
29396
29446
  var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
29447
+ var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
29448
+ var GetCustomerAllocation$inboundSchema = z71.pipe(
29449
+ z71.object({
29450
+ entity_id: string5(),
29451
+ amount: number2()
29452
+ }),
29453
+ z71.transform((v) => {
29454
+ return remap(v, {
29455
+ "entity_id": "entityId"
29456
+ });
29457
+ })
29458
+ );
29459
+ var GetCustomerBalanceAllocation$inboundSchema = z71.pipe(
29460
+ z71.object({
29461
+ feature_id: string5(),
29462
+ interval: GetCustomerBalanceAllocationInterval$inboundSchema,
29463
+ allocations: z71.array(z71.lazy(() => GetCustomerAllocation$inboundSchema))
29464
+ }),
29465
+ z71.transform((v) => {
29466
+ return remap(v, {
29467
+ "feature_id": "featureId"
29468
+ });
29469
+ })
29470
+ );
29397
29471
  var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
29398
29472
  var GetCustomerPurchaseLimit2$inboundSchema = z71.pipe(
29399
29473
  z71.object({
@@ -29535,6 +29609,9 @@ var GetCustomerOverageAllowed$inboundSchema = z71.pipe(
29535
29609
  );
29536
29610
  var GetCustomerBillingControls$inboundSchema = z71.pipe(
29537
29611
  z71.object({
29612
+ balance_allocations: optional3(
29613
+ z71.array(z71.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
29614
+ ),
29538
29615
  auto_topups: optional3(
29539
29616
  z71.array(z71.lazy(() => GetCustomerAutoTopup$inboundSchema))
29540
29617
  ),
@@ -29553,6 +29630,7 @@ var GetCustomerBillingControls$inboundSchema = z71.pipe(
29553
29630
  }),
29554
29631
  z71.transform((v) => {
29555
29632
  return remap(v, {
29633
+ "balance_allocations": "balanceAllocations",
29556
29634
  "auto_topups": "autoTopups",
29557
29635
  "spend_limits": "spendLimits",
29558
29636
  "usage_limits": "usageLimits",
@@ -35170,6 +35248,17 @@ var ListCustomersEnv = {
35170
35248
  Sandbox: "sandbox",
35171
35249
  Live: "live"
35172
35250
  };
35251
+ var ListCustomersBalanceAllocationInterval = {
35252
+ OneOff: "one_off",
35253
+ Minute: "minute",
35254
+ Hour: "hour",
35255
+ Day: "day",
35256
+ Week: "week",
35257
+ Month: "month",
35258
+ Quarter: "quarter",
35259
+ SemiAnnual: "semi_annual",
35260
+ Year: "year"
35261
+ };
35173
35262
  var ListCustomersAutoTopupInterval2 = {
35174
35263
  Hour: "hour",
35175
35264
  Day: "day",
@@ -35294,6 +35383,30 @@ var ListCustomersParams$outboundSchema = z86.pipe(
35294
35383
  })
35295
35384
  );
35296
35385
  var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
35386
+ var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
35387
+ var ListCustomersAllocation$inboundSchema = z86.pipe(
35388
+ z86.object({
35389
+ entity_id: string5(),
35390
+ amount: number2()
35391
+ }),
35392
+ z86.transform((v) => {
35393
+ return remap(v, {
35394
+ "entity_id": "entityId"
35395
+ });
35396
+ })
35397
+ );
35398
+ var ListCustomersBalanceAllocation$inboundSchema = z86.pipe(
35399
+ z86.object({
35400
+ feature_id: string5(),
35401
+ interval: ListCustomersBalanceAllocationInterval$inboundSchema,
35402
+ allocations: z86.array(z86.lazy(() => ListCustomersAllocation$inboundSchema))
35403
+ }),
35404
+ z86.transform((v) => {
35405
+ return remap(v, {
35406
+ "feature_id": "featureId"
35407
+ });
35408
+ })
35409
+ );
35297
35410
  var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
35298
35411
  var ListCustomersPurchaseLimit2$inboundSchema = z86.pipe(
35299
35412
  z86.object({
@@ -35435,6 +35548,9 @@ var ListCustomersOverageAllowed$inboundSchema = z86.pipe(
35435
35548
  );
35436
35549
  var ListCustomersBillingControls$inboundSchema = z86.pipe(
35437
35550
  z86.object({
35551
+ balance_allocations: optional3(
35552
+ z86.array(z86.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
35553
+ ),
35438
35554
  auto_topups: optional3(
35439
35555
  z86.array(z86.lazy(() => ListCustomersAutoTopup$inboundSchema))
35440
35556
  ),
@@ -35453,6 +35569,7 @@ var ListCustomersBillingControls$inboundSchema = z86.pipe(
35453
35569
  }),
35454
35570
  z86.transform((v) => {
35455
35571
  return remap(v, {
35572
+ "balance_allocations": "balanceAllocations",
35456
35573
  "auto_topups": "autoTopups",
35457
35574
  "spend_limits": "spendLimits",
35458
35575
  "usage_limits": "usageLimits",
@@ -53610,6 +53727,17 @@ var UpdateBalanceResponse$inboundSchema = z128.object({
53610
53727
 
53611
53728
  // ../sdk/src/models/update-customer-op.ts
53612
53729
  var z129 = __toESM(require("zod/v4-mini"), 1);
53730
+ var BalanceAllocationIntervalRequestBody = {
53731
+ OneOff: "one_off",
53732
+ Minute: "minute",
53733
+ Hour: "hour",
53734
+ Day: "day",
53735
+ Week: "week",
53736
+ Month: "month",
53737
+ Quarter: "quarter",
53738
+ SemiAnnual: "semi_annual",
53739
+ Year: "year"
53740
+ };
53613
53741
  var UpdateCustomerAutoTopupIntervalRequestBody = {
53614
53742
  Hour: "hour",
53615
53743
  Day: "day",
@@ -53659,6 +53787,17 @@ var UpdateCustomerEnv = {
53659
53787
  Sandbox: "sandbox",
53660
53788
  Live: "live"
53661
53789
  };
53790
+ var UpdateCustomerBalanceAllocationIntervalResponse = {
53791
+ OneOff: "one_off",
53792
+ Minute: "minute",
53793
+ Hour: "hour",
53794
+ Day: "day",
53795
+ Week: "week",
53796
+ Month: "month",
53797
+ Quarter: "quarter",
53798
+ SemiAnnual: "semi_annual",
53799
+ Year: "year"
53800
+ };
53662
53801
  var UpdateCustomerAutoTopupIntervalResponse2 = {
53663
53802
  Hour: "hour",
53664
53803
  Day: "day",
@@ -53747,6 +53886,30 @@ var UpdateCustomerDimensionsToEnum1 = {
53747
53886
  var UpdateCustomerToEnum = {
53748
53887
  Inf: "inf"
53749
53888
  };
53889
+ var BalanceAllocationIntervalRequestBody$outboundSchema = z129.enum(BalanceAllocationIntervalRequestBody);
53890
+ var AllocationRequest$outboundSchema = z129.pipe(
53891
+ z129.object({
53892
+ entityId: z129.string(),
53893
+ amount: z129.number()
53894
+ }),
53895
+ z129.transform((v) => {
53896
+ return remap(v, {
53897
+ entityId: "entity_id"
53898
+ });
53899
+ })
53900
+ );
53901
+ var BalanceAllocationRequest$outboundSchema = z129.pipe(
53902
+ z129.object({
53903
+ featureId: z129.string(),
53904
+ interval: BalanceAllocationIntervalRequestBody$outboundSchema,
53905
+ allocations: z129.array(z129.lazy(() => AllocationRequest$outboundSchema))
53906
+ }),
53907
+ z129.transform((v) => {
53908
+ return remap(v, {
53909
+ featureId: "feature_id"
53910
+ });
53911
+ })
53912
+ );
53750
53913
  var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z129.enum(
53751
53914
  UpdateCustomerAutoTopupIntervalRequestBody
53752
53915
  );
@@ -53901,6 +54064,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z129.pipe(
53901
54064
  );
53902
54065
  var UpdateCustomerBillingControlsRequestBody$outboundSchema = z129.pipe(
53903
54066
  z129.object({
54067
+ balanceAllocations: z129.optional(
54068
+ z129.array(z129.lazy(() => BalanceAllocationRequest$outboundSchema))
54069
+ ),
53904
54070
  autoTopups: z129.optional(
53905
54071
  z129.array(
53906
54072
  z129.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
@@ -53932,6 +54098,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z129.pipe(
53932
54098
  }),
53933
54099
  z129.transform((v) => {
53934
54100
  return remap(v, {
54101
+ balanceAllocations: "balance_allocations",
53935
54102
  autoTopups: "auto_topups",
53936
54103
  spendLimits: "spend_limits",
53937
54104
  usageLimits: "usage_limits",
@@ -54056,6 +54223,32 @@ var UpdateCustomerParams$outboundSchema = z129.pipe(
54056
54223
  })
54057
54224
  );
54058
54225
  var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
54226
+ var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
54227
+ var UpdateCustomerAllocationResponse$inboundSchema = z129.pipe(
54228
+ z129.object({
54229
+ entity_id: string5(),
54230
+ amount: number2()
54231
+ }),
54232
+ z129.transform((v) => {
54233
+ return remap(v, {
54234
+ "entity_id": "entityId"
54235
+ });
54236
+ })
54237
+ );
54238
+ var UpdateCustomerBalanceAllocationResponse$inboundSchema = z129.pipe(
54239
+ z129.object({
54240
+ feature_id: string5(),
54241
+ interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
54242
+ allocations: z129.array(z129.lazy(
54243
+ () => UpdateCustomerAllocationResponse$inboundSchema
54244
+ ))
54245
+ }),
54246
+ z129.transform((v) => {
54247
+ return remap(v, {
54248
+ "feature_id": "featureId"
54249
+ });
54250
+ })
54251
+ );
54059
54252
  var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
54060
54253
  var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z129.pipe(
54061
54254
  z129.object({
@@ -54201,24 +54394,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z129.pipe(
54201
54394
  );
54202
54395
  var UpdateCustomerBillingControlsResponse$inboundSchema = z129.pipe(
54203
54396
  z129.object({
54204
- auto_topups: optional3(
54205
- z129.array(z129.lazy(() => UpdateCustomerAutoTopupResponse$inboundSchema))
54206
- ),
54207
- spend_limits: optional3(
54208
- z129.array(z129.lazy(() => UpdateCustomerSpendLimitResponse$inboundSchema))
54209
- ),
54210
- usage_limits: optional3(
54211
- z129.array(z129.lazy(() => UpdateCustomerUsageLimitResponse$inboundSchema))
54212
- ),
54213
- usage_alerts: optional3(
54214
- z129.array(z129.lazy(() => UpdateCustomerUsageAlertResponse$inboundSchema))
54215
- ),
54216
- overage_allowed: optional3(
54217
- z129.array(z129.lazy(() => UpdateCustomerOverageAllowedResponse$inboundSchema))
54218
- )
54397
+ balance_allocations: optional3(z129.array(z129.lazy(
54398
+ () => UpdateCustomerBalanceAllocationResponse$inboundSchema
54399
+ ))),
54400
+ auto_topups: optional3(z129.array(z129.lazy(
54401
+ () => UpdateCustomerAutoTopupResponse$inboundSchema
54402
+ ))),
54403
+ spend_limits: optional3(z129.array(z129.lazy(
54404
+ () => UpdateCustomerSpendLimitResponse$inboundSchema
54405
+ ))),
54406
+ usage_limits: optional3(z129.array(z129.lazy(
54407
+ () => UpdateCustomerUsageLimitResponse$inboundSchema
54408
+ ))),
54409
+ usage_alerts: optional3(z129.array(z129.lazy(
54410
+ () => UpdateCustomerUsageAlertResponse$inboundSchema
54411
+ ))),
54412
+ overage_allowed: optional3(z129.array(z129.lazy(
54413
+ () => UpdateCustomerOverageAllowedResponse$inboundSchema
54414
+ )))
54219
54415
  }),
54220
54416
  z129.transform((v) => {
54221
54417
  return remap(v, {
54418
+ "balance_allocations": "balanceAllocations",
54222
54419
  "auto_topups": "autoTopups",
54223
54420
  "spend_limits": "spendLimits",
54224
54421
  "usage_limits": "usageLimits",
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-MODSHKUF.mjs";
5
5
  import {
6
6
  createHandleBetterAuthRoute
7
- } from "./chunk-R7IEJQOY.mjs";
7
+ } from "./chunk-57PPCUDF.mjs";
8
8
  import "./chunk-J2WYVGHS.mjs";
9
9
  import "./chunk-H6C42YK7.mjs";
10
10
  import "./chunk-BT3EAYVW.mjs";