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.
- package/dist/backend/adapters/express.js +214 -17
- package/dist/backend/adapters/express.mjs +4 -4
- package/dist/backend/adapters/fetch.js +214 -17
- package/dist/backend/adapters/fetch.mjs +4 -4
- package/dist/backend/adapters/hono.js +214 -17
- package/dist/backend/adapters/hono.mjs +4 -4
- package/dist/backend/adapters/index.js +214 -17
- package/dist/backend/adapters/index.mjs +7 -7
- package/dist/backend/adapters/next.js +214 -17
- package/dist/backend/adapters/next.mjs +4 -4
- package/dist/backend/{chunk-6RGLO6FV.mjs → chunk-5CDM4XIN.mjs} +1 -1
- package/dist/backend/{chunk-C4IENXIG.mjs → chunk-5DMQUWII.mjs} +1 -1
- package/dist/backend/{chunk-ESSDMDXJ.mjs → chunk-BZ54HK66.mjs} +1 -1
- package/dist/backend/{chunk-NOJP6FIN.mjs → chunk-HLYVCB6M.mjs} +1 -1
- package/dist/backend/{chunk-KSYN5FLV.mjs → chunk-JPQERXWV.mjs} +214 -17
- package/dist/backend/{chunk-ZFFEG27F.mjs → chunk-SS7EKOGZ.mjs} +1 -1
- package/dist/backend/{chunk-DZBBXOKT.mjs → chunk-ZJSWDKBL.mjs} +1 -1
- package/dist/backend/core/handlers/coreHandler.d.mts +1 -1
- package/dist/backend/core/handlers/coreHandler.d.ts +1 -1
- package/dist/backend/core/handlers/coreHandler.js +214 -17
- package/dist/backend/core/handlers/coreHandler.mjs +2 -2
- package/dist/backend/core/handlers/executeRoute.d.mts +1 -1
- package/dist/backend/core/handlers/executeRoute.d.ts +1 -1
- package/dist/backend/core/handlers/handleRouteByName.js +214 -17
- package/dist/backend/core/handlers/handleRouteByName.mjs +2 -2
- package/dist/backend/core/handlers/index.d.mts +1 -1
- package/dist/backend/core/handlers/index.d.ts +1 -1
- package/dist/backend/core/handlers/index.js +214 -17
- package/dist/backend/core/handlers/index.mjs +3 -3
- package/dist/backend/core/index.d.mts +1 -1
- package/dist/backend/core/index.d.ts +1 -1
- package/dist/backend/core/index.js +214 -17
- package/dist/backend/core/index.mjs +3 -3
- package/dist/backend/core/routes/index.d.mts +1 -1
- package/dist/backend/core/routes/index.d.ts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.mts +1 -1
- package/dist/backend/core/routes/routeBuilder.d.ts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.mts +1 -1
- package/dist/backend/core/routes/routeConfigs.d.ts +1 -1
- package/dist/backend/core/types/handlerTypes.d.mts +1 -1
- package/dist/backend/core/types/handlerTypes.d.ts +1 -1
- package/dist/backend/core/types/index.d.mts +1 -1
- package/dist/backend/core/types/index.d.ts +1 -1
- package/dist/backend/core/types/routeTypes.d.mts +1 -1
- package/dist/backend/core/types/routeTypes.d.ts +1 -1
- package/dist/backend/index.d.mts +2 -2
- package/dist/backend/index.d.ts +2 -2
- package/dist/backend/index.js +214 -17
- package/dist/backend/index.mjs +3 -3
- package/dist/backend/{routeTypes-DAI_E67X.d.mts → routeTypes-Czot4Qi-.d.mts} +232 -2
- package/dist/backend/{routeTypes-4TatmvQY.d.ts → routeTypes-D4pVj85I.d.ts} +232 -2
- package/dist/better-auth/{chunk-R7IEJQOY.mjs → chunk-57PPCUDF.mjs} +214 -17
- package/dist/better-auth/index.js +214 -17
- package/dist/better-auth/index.mjs +1 -1
- package/dist/better-auth/utils/handleBetterAuthRoute.js +214 -17
- package/dist/better-auth/utils/handleBetterAuthRoute.mjs +1 -1
- package/dist/better-auth/utils/index.js +214 -17
- package/dist/better-auth/utils/index.mjs +1 -1
- package/dist/react/AutumnContext.d.mts +4 -4
- package/dist/react/AutumnContext.d.ts +4 -4
- package/dist/react/client/AutumnClient.d.mts +4 -4
- package/dist/react/client/AutumnClient.d.ts +4 -4
- package/dist/react/client/IAutumnClient.d.mts +4 -4
- package/dist/react/client/IAutumnClient.d.ts +4 -4
- package/dist/react/client/index.d.mts +4 -4
- package/dist/react/client/index.d.ts +4 -4
- package/dist/react/{customer-DfpvnPRk.d.mts → customer-CZn6Nd7a.d.mts} +47 -1
- package/dist/react/{customer-B0KAd7eZ.d.ts → customer-Dt0OdihJ.d.ts} +47 -1
- package/dist/react/hooks/index.d.mts +4 -4
- package/dist/react/hooks/index.d.ts +4 -4
- package/dist/react/hooks/internal/check/balanceToAllowed.d.mts +2 -2
- package/dist/react/hooks/internal/check/balanceToAllowed.d.ts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.mts +2 -2
- package/dist/react/hooks/internal/check/customerToFeatures.d.ts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.mts +2 -2
- package/dist/react/hooks/internal/check/findCreditSystemsByFeature.d.ts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.mts +2 -2
- package/dist/react/hooks/internal/check/getCreditCost.d.ts +2 -2
- package/dist/react/hooks/internal/getLocalCheckResponse.d.mts +3 -3
- package/dist/react/hooks/internal/getLocalCheckResponse.d.ts +3 -3
- package/dist/react/hooks/internal/useCustomerActions.d.mts +4 -4
- package/dist/react/hooks/internal/useCustomerActions.d.ts +4 -4
- package/dist/react/hooks/useAggregateEvents.d.mts +2 -2
- package/dist/react/hooks/useAggregateEvents.d.ts +2 -2
- package/dist/react/hooks/useCustomer.d.mts +3 -3
- package/dist/react/hooks/useCustomer.d.ts +3 -3
- package/dist/react/hooks/useEntity.d.mts +2 -2
- package/dist/react/hooks/useEntity.d.ts +2 -2
- package/dist/react/hooks/useListEvents.d.mts +2 -2
- package/dist/react/hooks/useListEvents.d.ts +2 -2
- package/dist/react/hooks/useListPlans.d.mts +3 -3
- package/dist/react/hooks/useListPlans.d.ts +3 -3
- package/dist/react/hooks/useReferrals.d.mts +2 -2
- package/dist/react/hooks/useReferrals.d.ts +2 -2
- package/dist/react/index.d.mts +4 -4
- package/dist/react/index.d.ts +4 -4
- package/dist/react/{list-plans-response-6iUDTnPQ.d.ts → list-plans-response-Bx4e7rvw.d.ts} +1 -1
- package/dist/react/{list-plans-response-BzsqJlxN.d.mts → list-plans-response-ibIt0k4N.d.mts} +1 -1
- package/dist/react/{params-CMcoADwO.d.ts → params-BGpmxI8B.d.mts} +1 -1
- package/dist/react/{params-vAoGWtk9.d.mts → params-C7_vr_BA.d.ts} +1 -1
- package/dist/react/{plan-Ct5TGTnS.d.mts → plan-CvxFKlF7.d.mts} +2 -2
- package/dist/react/{plan-Ct5TGTnS.d.ts → plan-CvxFKlF7.d.ts} +2 -2
- package/dist/sdk/index.d.mts +287 -5
- package/dist/sdk/index.d.ts +287 -5
- package/dist/sdk/index.js +317 -22
- package/dist/sdk/index.mjs +286 -21
- package/package.json +2 -2
package/dist/backend/index.js
CHANGED
|
@@ -4060,7 +4060,7 @@ var BalancePrice$inboundSchema = z15.pipe(
|
|
|
4060
4060
|
})
|
|
4061
4061
|
);
|
|
4062
4062
|
var BalanceSource$inboundSchema = inboundSchema(BalanceSource);
|
|
4063
|
-
var
|
|
4063
|
+
var BalanceAllocation$inboundSchema = z15.object({
|
|
4064
4064
|
amount: number2()
|
|
4065
4065
|
});
|
|
4066
4066
|
var Breakdown$inboundSchema = z15.pipe(
|
|
@@ -4077,7 +4077,7 @@ var Breakdown$inboundSchema = z15.pipe(
|
|
|
4077
4077
|
expires_at: nullable(number2()),
|
|
4078
4078
|
source: optional3(BalanceSource$inboundSchema),
|
|
4079
4079
|
allocation: z15.optional(
|
|
4080
|
-
z15.nullable(z15.lazy(() =>
|
|
4080
|
+
z15.nullable(z15.lazy(() => BalanceAllocation$inboundSchema))
|
|
4081
4081
|
)
|
|
4082
4082
|
}),
|
|
4083
4083
|
z15.transform((v) => {
|
|
@@ -21162,6 +21162,17 @@ var CustomerEnv = {
|
|
|
21162
21162
|
Sandbox: "sandbox",
|
|
21163
21163
|
Live: "live"
|
|
21164
21164
|
};
|
|
21165
|
+
var CustomerBalanceAllocationInterval = {
|
|
21166
|
+
OneOff: "one_off",
|
|
21167
|
+
Minute: "minute",
|
|
21168
|
+
Hour: "hour",
|
|
21169
|
+
Day: "day",
|
|
21170
|
+
Week: "week",
|
|
21171
|
+
Month: "month",
|
|
21172
|
+
Quarter: "quarter",
|
|
21173
|
+
SemiAnnual: "semi_annual",
|
|
21174
|
+
Year: "year"
|
|
21175
|
+
};
|
|
21165
21176
|
var CustomerAutoTopupInterval2 = {
|
|
21166
21177
|
Hour: "hour",
|
|
21167
21178
|
Day: "day",
|
|
@@ -21276,6 +21287,30 @@ var TaxExempt = {
|
|
|
21276
21287
|
Reverse: "reverse"
|
|
21277
21288
|
};
|
|
21278
21289
|
var CustomerEnv$inboundSchema = inboundSchema(CustomerEnv);
|
|
21290
|
+
var CustomerBalanceAllocationInterval$inboundSchema = inboundSchema(CustomerBalanceAllocationInterval);
|
|
21291
|
+
var CustomerAllocation$inboundSchema = z39.pipe(
|
|
21292
|
+
z39.object({
|
|
21293
|
+
entity_id: string5(),
|
|
21294
|
+
amount: number2()
|
|
21295
|
+
}),
|
|
21296
|
+
z39.transform((v) => {
|
|
21297
|
+
return remap(v, {
|
|
21298
|
+
"entity_id": "entityId"
|
|
21299
|
+
});
|
|
21300
|
+
})
|
|
21301
|
+
);
|
|
21302
|
+
var CustomerBalanceAllocation$inboundSchema = z39.pipe(
|
|
21303
|
+
z39.object({
|
|
21304
|
+
feature_id: string5(),
|
|
21305
|
+
interval: CustomerBalanceAllocationInterval$inboundSchema,
|
|
21306
|
+
allocations: z39.array(z39.lazy(() => CustomerAllocation$inboundSchema))
|
|
21307
|
+
}),
|
|
21308
|
+
z39.transform((v) => {
|
|
21309
|
+
return remap(v, {
|
|
21310
|
+
"feature_id": "featureId"
|
|
21311
|
+
});
|
|
21312
|
+
})
|
|
21313
|
+
);
|
|
21279
21314
|
var CustomerAutoTopupInterval2$inboundSchema = inboundSchema(CustomerAutoTopupInterval2);
|
|
21280
21315
|
var CustomerPurchaseLimit2$inboundSchema = z39.pipe(
|
|
21281
21316
|
z39.object({
|
|
@@ -21417,6 +21452,9 @@ var CustomerOverageAllowed$inboundSchema = z39.pipe(
|
|
|
21417
21452
|
);
|
|
21418
21453
|
var CustomerBillingControls$inboundSchema = z39.pipe(
|
|
21419
21454
|
z39.object({
|
|
21455
|
+
balance_allocations: optional3(
|
|
21456
|
+
z39.array(z39.lazy(() => CustomerBalanceAllocation$inboundSchema))
|
|
21457
|
+
),
|
|
21420
21458
|
auto_topups: optional3(
|
|
21421
21459
|
z39.array(z39.lazy(() => CustomerAutoTopup$inboundSchema))
|
|
21422
21460
|
),
|
|
@@ -21435,6 +21473,7 @@ var CustomerBillingControls$inboundSchema = z39.pipe(
|
|
|
21435
21473
|
}),
|
|
21436
21474
|
z39.transform((v) => {
|
|
21437
21475
|
return remap(v, {
|
|
21476
|
+
"balance_allocations": "balanceAllocations",
|
|
21438
21477
|
"auto_topups": "autoTopups",
|
|
21439
21478
|
"spend_limits": "spendLimits",
|
|
21440
21479
|
"usage_limits": "usageLimits",
|
|
@@ -22447,6 +22486,17 @@ var GetCustomerEnv = {
|
|
|
22447
22486
|
Sandbox: "sandbox",
|
|
22448
22487
|
Live: "live"
|
|
22449
22488
|
};
|
|
22489
|
+
var GetCustomerBalanceAllocationInterval = {
|
|
22490
|
+
OneOff: "one_off",
|
|
22491
|
+
Minute: "minute",
|
|
22492
|
+
Hour: "hour",
|
|
22493
|
+
Day: "day",
|
|
22494
|
+
Week: "week",
|
|
22495
|
+
Month: "month",
|
|
22496
|
+
Quarter: "quarter",
|
|
22497
|
+
SemiAnnual: "semi_annual",
|
|
22498
|
+
Year: "year"
|
|
22499
|
+
};
|
|
22450
22500
|
var GetCustomerAutoTopupInterval2 = {
|
|
22451
22501
|
Hour: "hour",
|
|
22452
22502
|
Day: "day",
|
|
@@ -22572,6 +22622,30 @@ var GetCustomerParams$outboundSchema = z52.pipe(
|
|
|
22572
22622
|
})
|
|
22573
22623
|
);
|
|
22574
22624
|
var GetCustomerEnv$inboundSchema = inboundSchema(GetCustomerEnv);
|
|
22625
|
+
var GetCustomerBalanceAllocationInterval$inboundSchema = inboundSchema(GetCustomerBalanceAllocationInterval);
|
|
22626
|
+
var GetCustomerAllocation$inboundSchema = z52.pipe(
|
|
22627
|
+
z52.object({
|
|
22628
|
+
entity_id: string5(),
|
|
22629
|
+
amount: number2()
|
|
22630
|
+
}),
|
|
22631
|
+
z52.transform((v) => {
|
|
22632
|
+
return remap(v, {
|
|
22633
|
+
"entity_id": "entityId"
|
|
22634
|
+
});
|
|
22635
|
+
})
|
|
22636
|
+
);
|
|
22637
|
+
var GetCustomerBalanceAllocation$inboundSchema = z52.pipe(
|
|
22638
|
+
z52.object({
|
|
22639
|
+
feature_id: string5(),
|
|
22640
|
+
interval: GetCustomerBalanceAllocationInterval$inboundSchema,
|
|
22641
|
+
allocations: z52.array(z52.lazy(() => GetCustomerAllocation$inboundSchema))
|
|
22642
|
+
}),
|
|
22643
|
+
z52.transform((v) => {
|
|
22644
|
+
return remap(v, {
|
|
22645
|
+
"feature_id": "featureId"
|
|
22646
|
+
});
|
|
22647
|
+
})
|
|
22648
|
+
);
|
|
22575
22649
|
var GetCustomerAutoTopupInterval2$inboundSchema = inboundSchema(GetCustomerAutoTopupInterval2);
|
|
22576
22650
|
var GetCustomerPurchaseLimit2$inboundSchema = z52.pipe(
|
|
22577
22651
|
z52.object({
|
|
@@ -22713,6 +22787,9 @@ var GetCustomerOverageAllowed$inboundSchema = z52.pipe(
|
|
|
22713
22787
|
);
|
|
22714
22788
|
var GetCustomerBillingControls$inboundSchema = z52.pipe(
|
|
22715
22789
|
z52.object({
|
|
22790
|
+
balance_allocations: optional3(
|
|
22791
|
+
z52.array(z52.lazy(() => GetCustomerBalanceAllocation$inboundSchema))
|
|
22792
|
+
),
|
|
22716
22793
|
auto_topups: optional3(
|
|
22717
22794
|
z52.array(z52.lazy(() => GetCustomerAutoTopup$inboundSchema))
|
|
22718
22795
|
),
|
|
@@ -22731,6 +22808,7 @@ var GetCustomerBillingControls$inboundSchema = z52.pipe(
|
|
|
22731
22808
|
}),
|
|
22732
22809
|
z52.transform((v) => {
|
|
22733
22810
|
return remap(v, {
|
|
22811
|
+
"balance_allocations": "balanceAllocations",
|
|
22734
22812
|
"auto_topups": "autoTopups",
|
|
22735
22813
|
"spend_limits": "spendLimits",
|
|
22736
22814
|
"usage_limits": "usageLimits",
|
|
@@ -28348,6 +28426,17 @@ var ListCustomersEnv = {
|
|
|
28348
28426
|
Sandbox: "sandbox",
|
|
28349
28427
|
Live: "live"
|
|
28350
28428
|
};
|
|
28429
|
+
var ListCustomersBalanceAllocationInterval = {
|
|
28430
|
+
OneOff: "one_off",
|
|
28431
|
+
Minute: "minute",
|
|
28432
|
+
Hour: "hour",
|
|
28433
|
+
Day: "day",
|
|
28434
|
+
Week: "week",
|
|
28435
|
+
Month: "month",
|
|
28436
|
+
Quarter: "quarter",
|
|
28437
|
+
SemiAnnual: "semi_annual",
|
|
28438
|
+
Year: "year"
|
|
28439
|
+
};
|
|
28351
28440
|
var ListCustomersAutoTopupInterval2 = {
|
|
28352
28441
|
Hour: "hour",
|
|
28353
28442
|
Day: "day",
|
|
@@ -28472,6 +28561,30 @@ var ListCustomersParams$outboundSchema = z67.pipe(
|
|
|
28472
28561
|
})
|
|
28473
28562
|
);
|
|
28474
28563
|
var ListCustomersEnv$inboundSchema = inboundSchema(ListCustomersEnv);
|
|
28564
|
+
var ListCustomersBalanceAllocationInterval$inboundSchema = inboundSchema(ListCustomersBalanceAllocationInterval);
|
|
28565
|
+
var ListCustomersAllocation$inboundSchema = z67.pipe(
|
|
28566
|
+
z67.object({
|
|
28567
|
+
entity_id: string5(),
|
|
28568
|
+
amount: number2()
|
|
28569
|
+
}),
|
|
28570
|
+
z67.transform((v) => {
|
|
28571
|
+
return remap(v, {
|
|
28572
|
+
"entity_id": "entityId"
|
|
28573
|
+
});
|
|
28574
|
+
})
|
|
28575
|
+
);
|
|
28576
|
+
var ListCustomersBalanceAllocation$inboundSchema = z67.pipe(
|
|
28577
|
+
z67.object({
|
|
28578
|
+
feature_id: string5(),
|
|
28579
|
+
interval: ListCustomersBalanceAllocationInterval$inboundSchema,
|
|
28580
|
+
allocations: z67.array(z67.lazy(() => ListCustomersAllocation$inboundSchema))
|
|
28581
|
+
}),
|
|
28582
|
+
z67.transform((v) => {
|
|
28583
|
+
return remap(v, {
|
|
28584
|
+
"feature_id": "featureId"
|
|
28585
|
+
});
|
|
28586
|
+
})
|
|
28587
|
+
);
|
|
28475
28588
|
var ListCustomersAutoTopupInterval2$inboundSchema = inboundSchema(ListCustomersAutoTopupInterval2);
|
|
28476
28589
|
var ListCustomersPurchaseLimit2$inboundSchema = z67.pipe(
|
|
28477
28590
|
z67.object({
|
|
@@ -28613,6 +28726,9 @@ var ListCustomersOverageAllowed$inboundSchema = z67.pipe(
|
|
|
28613
28726
|
);
|
|
28614
28727
|
var ListCustomersBillingControls$inboundSchema = z67.pipe(
|
|
28615
28728
|
z67.object({
|
|
28729
|
+
balance_allocations: optional3(
|
|
28730
|
+
z67.array(z67.lazy(() => ListCustomersBalanceAllocation$inboundSchema))
|
|
28731
|
+
),
|
|
28616
28732
|
auto_topups: optional3(
|
|
28617
28733
|
z67.array(z67.lazy(() => ListCustomersAutoTopup$inboundSchema))
|
|
28618
28734
|
),
|
|
@@ -28631,6 +28747,7 @@ var ListCustomersBillingControls$inboundSchema = z67.pipe(
|
|
|
28631
28747
|
}),
|
|
28632
28748
|
z67.transform((v) => {
|
|
28633
28749
|
return remap(v, {
|
|
28750
|
+
"balance_allocations": "balanceAllocations",
|
|
28634
28751
|
"auto_topups": "autoTopups",
|
|
28635
28752
|
"spend_limits": "spendLimits",
|
|
28636
28753
|
"usage_limits": "usageLimits",
|
|
@@ -46788,6 +46905,17 @@ var UpdateBalanceResponse$inboundSchema = z109.object({
|
|
|
46788
46905
|
|
|
46789
46906
|
// ../sdk/src/models/update-customer-op.ts
|
|
46790
46907
|
var z110 = __toESM(require("zod/v4-mini"), 1);
|
|
46908
|
+
var BalanceAllocationIntervalRequestBody = {
|
|
46909
|
+
OneOff: "one_off",
|
|
46910
|
+
Minute: "minute",
|
|
46911
|
+
Hour: "hour",
|
|
46912
|
+
Day: "day",
|
|
46913
|
+
Week: "week",
|
|
46914
|
+
Month: "month",
|
|
46915
|
+
Quarter: "quarter",
|
|
46916
|
+
SemiAnnual: "semi_annual",
|
|
46917
|
+
Year: "year"
|
|
46918
|
+
};
|
|
46791
46919
|
var UpdateCustomerAutoTopupIntervalRequestBody = {
|
|
46792
46920
|
Hour: "hour",
|
|
46793
46921
|
Day: "day",
|
|
@@ -46837,6 +46965,17 @@ var UpdateCustomerEnv = {
|
|
|
46837
46965
|
Sandbox: "sandbox",
|
|
46838
46966
|
Live: "live"
|
|
46839
46967
|
};
|
|
46968
|
+
var UpdateCustomerBalanceAllocationIntervalResponse = {
|
|
46969
|
+
OneOff: "one_off",
|
|
46970
|
+
Minute: "minute",
|
|
46971
|
+
Hour: "hour",
|
|
46972
|
+
Day: "day",
|
|
46973
|
+
Week: "week",
|
|
46974
|
+
Month: "month",
|
|
46975
|
+
Quarter: "quarter",
|
|
46976
|
+
SemiAnnual: "semi_annual",
|
|
46977
|
+
Year: "year"
|
|
46978
|
+
};
|
|
46840
46979
|
var UpdateCustomerAutoTopupIntervalResponse2 = {
|
|
46841
46980
|
Hour: "hour",
|
|
46842
46981
|
Day: "day",
|
|
@@ -46925,6 +47064,30 @@ var UpdateCustomerDimensionsToEnum1 = {
|
|
|
46925
47064
|
var UpdateCustomerToEnum = {
|
|
46926
47065
|
Inf: "inf"
|
|
46927
47066
|
};
|
|
47067
|
+
var BalanceAllocationIntervalRequestBody$outboundSchema = z110.enum(BalanceAllocationIntervalRequestBody);
|
|
47068
|
+
var AllocationRequest$outboundSchema = z110.pipe(
|
|
47069
|
+
z110.object({
|
|
47070
|
+
entityId: z110.string(),
|
|
47071
|
+
amount: z110.number()
|
|
47072
|
+
}),
|
|
47073
|
+
z110.transform((v) => {
|
|
47074
|
+
return remap(v, {
|
|
47075
|
+
entityId: "entity_id"
|
|
47076
|
+
});
|
|
47077
|
+
})
|
|
47078
|
+
);
|
|
47079
|
+
var BalanceAllocationRequest$outboundSchema = z110.pipe(
|
|
47080
|
+
z110.object({
|
|
47081
|
+
featureId: z110.string(),
|
|
47082
|
+
interval: BalanceAllocationIntervalRequestBody$outboundSchema,
|
|
47083
|
+
allocations: z110.array(z110.lazy(() => AllocationRequest$outboundSchema))
|
|
47084
|
+
}),
|
|
47085
|
+
z110.transform((v) => {
|
|
47086
|
+
return remap(v, {
|
|
47087
|
+
featureId: "feature_id"
|
|
47088
|
+
});
|
|
47089
|
+
})
|
|
47090
|
+
);
|
|
46928
47091
|
var UpdateCustomerAutoTopupIntervalRequestBody$outboundSchema = z110.enum(
|
|
46929
47092
|
UpdateCustomerAutoTopupIntervalRequestBody
|
|
46930
47093
|
);
|
|
@@ -47079,6 +47242,9 @@ var UpdateCustomerOverageAllowedRequestBody$outboundSchema = z110.pipe(
|
|
|
47079
47242
|
);
|
|
47080
47243
|
var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
|
|
47081
47244
|
z110.object({
|
|
47245
|
+
balanceAllocations: z110.optional(
|
|
47246
|
+
z110.array(z110.lazy(() => BalanceAllocationRequest$outboundSchema))
|
|
47247
|
+
),
|
|
47082
47248
|
autoTopups: z110.optional(
|
|
47083
47249
|
z110.array(
|
|
47084
47250
|
z110.lazy(() => UpdateCustomerAutoTopupRequestBody$outboundSchema)
|
|
@@ -47110,6 +47276,7 @@ var UpdateCustomerBillingControlsRequestBody$outboundSchema = z110.pipe(
|
|
|
47110
47276
|
}),
|
|
47111
47277
|
z110.transform((v) => {
|
|
47112
47278
|
return remap(v, {
|
|
47279
|
+
balanceAllocations: "balance_allocations",
|
|
47113
47280
|
autoTopups: "auto_topups",
|
|
47114
47281
|
spendLimits: "spend_limits",
|
|
47115
47282
|
usageLimits: "usage_limits",
|
|
@@ -47234,6 +47401,32 @@ var UpdateCustomerParams$outboundSchema = z110.pipe(
|
|
|
47234
47401
|
})
|
|
47235
47402
|
);
|
|
47236
47403
|
var UpdateCustomerEnv$inboundSchema = inboundSchema(UpdateCustomerEnv);
|
|
47404
|
+
var UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema = inboundSchema(UpdateCustomerBalanceAllocationIntervalResponse);
|
|
47405
|
+
var UpdateCustomerAllocationResponse$inboundSchema = z110.pipe(
|
|
47406
|
+
z110.object({
|
|
47407
|
+
entity_id: string5(),
|
|
47408
|
+
amount: number2()
|
|
47409
|
+
}),
|
|
47410
|
+
z110.transform((v) => {
|
|
47411
|
+
return remap(v, {
|
|
47412
|
+
"entity_id": "entityId"
|
|
47413
|
+
});
|
|
47414
|
+
})
|
|
47415
|
+
);
|
|
47416
|
+
var UpdateCustomerBalanceAllocationResponse$inboundSchema = z110.pipe(
|
|
47417
|
+
z110.object({
|
|
47418
|
+
feature_id: string5(),
|
|
47419
|
+
interval: UpdateCustomerBalanceAllocationIntervalResponse$inboundSchema,
|
|
47420
|
+
allocations: z110.array(z110.lazy(
|
|
47421
|
+
() => UpdateCustomerAllocationResponse$inboundSchema
|
|
47422
|
+
))
|
|
47423
|
+
}),
|
|
47424
|
+
z110.transform((v) => {
|
|
47425
|
+
return remap(v, {
|
|
47426
|
+
"feature_id": "featureId"
|
|
47427
|
+
});
|
|
47428
|
+
})
|
|
47429
|
+
);
|
|
47237
47430
|
var UpdateCustomerAutoTopupIntervalResponse2$inboundSchema = inboundSchema(UpdateCustomerAutoTopupIntervalResponse2);
|
|
47238
47431
|
var UpdateCustomerPurchaseLimitResponse2$inboundSchema = z110.pipe(
|
|
47239
47432
|
z110.object({
|
|
@@ -47379,24 +47572,28 @@ var UpdateCustomerOverageAllowedResponse$inboundSchema = z110.pipe(
|
|
|
47379
47572
|
);
|
|
47380
47573
|
var UpdateCustomerBillingControlsResponse$inboundSchema = z110.pipe(
|
|
47381
47574
|
z110.object({
|
|
47382
|
-
|
|
47383
|
-
|
|
47384
|
-
),
|
|
47385
|
-
|
|
47386
|
-
|
|
47387
|
-
),
|
|
47388
|
-
|
|
47389
|
-
|
|
47390
|
-
),
|
|
47391
|
-
|
|
47392
|
-
|
|
47393
|
-
),
|
|
47394
|
-
|
|
47395
|
-
|
|
47396
|
-
)
|
|
47575
|
+
balance_allocations: optional3(z110.array(z110.lazy(
|
|
47576
|
+
() => UpdateCustomerBalanceAllocationResponse$inboundSchema
|
|
47577
|
+
))),
|
|
47578
|
+
auto_topups: optional3(z110.array(z110.lazy(
|
|
47579
|
+
() => UpdateCustomerAutoTopupResponse$inboundSchema
|
|
47580
|
+
))),
|
|
47581
|
+
spend_limits: optional3(z110.array(z110.lazy(
|
|
47582
|
+
() => UpdateCustomerSpendLimitResponse$inboundSchema
|
|
47583
|
+
))),
|
|
47584
|
+
usage_limits: optional3(z110.array(z110.lazy(
|
|
47585
|
+
() => UpdateCustomerUsageLimitResponse$inboundSchema
|
|
47586
|
+
))),
|
|
47587
|
+
usage_alerts: optional3(z110.array(z110.lazy(
|
|
47588
|
+
() => UpdateCustomerUsageAlertResponse$inboundSchema
|
|
47589
|
+
))),
|
|
47590
|
+
overage_allowed: optional3(z110.array(z110.lazy(
|
|
47591
|
+
() => UpdateCustomerOverageAllowedResponse$inboundSchema
|
|
47592
|
+
)))
|
|
47397
47593
|
}),
|
|
47398
47594
|
z110.transform((v) => {
|
|
47399
47595
|
return remap(v, {
|
|
47596
|
+
"balance_allocations": "balanceAllocations",
|
|
47400
47597
|
"auto_topups": "autoTopups",
|
|
47401
47598
|
"spend_limits": "spendLimits",
|
|
47402
47599
|
"usage_limits": "usageLimits",
|
package/dist/backend/index.mjs
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import "./chunk-WYDGEDEU.mjs";
|
|
2
2
|
import "./chunk-VXND2UDT.mjs";
|
|
3
|
-
import "./chunk-
|
|
3
|
+
import "./chunk-5CDM4XIN.mjs";
|
|
4
4
|
import {
|
|
5
5
|
createCoreHandler
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-SS7EKOGZ.mjs";
|
|
7
|
+
import "./chunk-JPQERXWV.mjs";
|
|
8
8
|
import "./chunk-MOHYGUMA.mjs";
|
|
9
9
|
import "./chunk-TBQ27LIK.mjs";
|
|
10
10
|
import "./chunk-J44WR3QZ.mjs";
|
|
@@ -3305,7 +3305,7 @@ declare const BalanceSource: {
|
|
|
3305
3305
|
* Where this row's credits come from: shared at the customer level, or owned by the entity.
|
|
3306
3306
|
*/
|
|
3307
3307
|
type BalanceSource = OpenEnum<typeof BalanceSource>;
|
|
3308
|
-
type
|
|
3308
|
+
type BalanceAllocation = {
|
|
3309
3309
|
/**
|
|
3310
3310
|
* The amount allocated to this entity.
|
|
3311
3311
|
*/
|
|
@@ -3359,7 +3359,7 @@ type Breakdown = {
|
|
|
3359
3359
|
/**
|
|
3360
3360
|
* Set when this row's numbers are the entity's allocated share of the customer's credits.
|
|
3361
3361
|
*/
|
|
3362
|
-
allocation?:
|
|
3362
|
+
allocation?: BalanceAllocation | null | undefined;
|
|
3363
3363
|
};
|
|
3364
3364
|
type BalanceRollover = {
|
|
3365
3365
|
/**
|
|
@@ -23472,6 +23472,48 @@ declare const CustomerEnv: {
|
|
|
23472
23472
|
* The environment this customer was created in.
|
|
23473
23473
|
*/
|
|
23474
23474
|
type CustomerEnv = OpenEnum<typeof CustomerEnv>;
|
|
23475
|
+
/**
|
|
23476
|
+
* The reset interval of the shared credits being allocated.
|
|
23477
|
+
*/
|
|
23478
|
+
declare const CustomerBalanceAllocationInterval: {
|
|
23479
|
+
readonly OneOff: "one_off";
|
|
23480
|
+
readonly Minute: "minute";
|
|
23481
|
+
readonly Hour: "hour";
|
|
23482
|
+
readonly Day: "day";
|
|
23483
|
+
readonly Week: "week";
|
|
23484
|
+
readonly Month: "month";
|
|
23485
|
+
readonly Quarter: "quarter";
|
|
23486
|
+
readonly SemiAnnual: "semi_annual";
|
|
23487
|
+
readonly Year: "year";
|
|
23488
|
+
};
|
|
23489
|
+
/**
|
|
23490
|
+
* The reset interval of the shared credits being allocated.
|
|
23491
|
+
*/
|
|
23492
|
+
type CustomerBalanceAllocationInterval = OpenEnum<typeof CustomerBalanceAllocationInterval>;
|
|
23493
|
+
type CustomerAllocation = {
|
|
23494
|
+
/**
|
|
23495
|
+
* The public entity ID.
|
|
23496
|
+
*/
|
|
23497
|
+
entityId: string;
|
|
23498
|
+
/**
|
|
23499
|
+
* Requested credits per cycle, before proportional scaling. 0 releases the allocation.
|
|
23500
|
+
*/
|
|
23501
|
+
amount: number;
|
|
23502
|
+
};
|
|
23503
|
+
type CustomerBalanceAllocation = {
|
|
23504
|
+
/**
|
|
23505
|
+
* The feature whose shared customer credits are allocated.
|
|
23506
|
+
*/
|
|
23507
|
+
featureId: string;
|
|
23508
|
+
/**
|
|
23509
|
+
* The reset interval of the shared credits being allocated.
|
|
23510
|
+
*/
|
|
23511
|
+
interval: CustomerBalanceAllocationInterval;
|
|
23512
|
+
/**
|
|
23513
|
+
* Complete list of entity allocations for this feature. Omitted entities release their shares.
|
|
23514
|
+
*/
|
|
23515
|
+
allocations: Array<CustomerAllocation>;
|
|
23516
|
+
};
|
|
23475
23517
|
/**
|
|
23476
23518
|
* The time interval for the purchase limit window.
|
|
23477
23519
|
*/
|
|
@@ -23802,6 +23844,10 @@ type CustomerOverageAllowed = {
|
|
|
23802
23844
|
* Billing controls for the customer (auto top-ups, etc.)
|
|
23803
23845
|
*/
|
|
23804
23846
|
type CustomerBillingControls = {
|
|
23847
|
+
/**
|
|
23848
|
+
* Customer-level entity allocations of shared credits. Amounts are requested shares before proportional scaling.
|
|
23849
|
+
*/
|
|
23850
|
+
balanceAllocations?: Array<CustomerBalanceAllocation> | undefined;
|
|
23805
23851
|
/**
|
|
23806
23852
|
* List of auto top-up configurations per feature.
|
|
23807
23853
|
*/
|
|
@@ -25244,6 +25290,48 @@ declare const GetCustomerEnv: {
|
|
|
25244
25290
|
* The environment this customer was created in.
|
|
25245
25291
|
*/
|
|
25246
25292
|
type GetCustomerEnv = OpenEnum<typeof GetCustomerEnv>;
|
|
25293
|
+
/**
|
|
25294
|
+
* The reset interval of the shared credits being allocated.
|
|
25295
|
+
*/
|
|
25296
|
+
declare const GetCustomerBalanceAllocationInterval: {
|
|
25297
|
+
readonly OneOff: "one_off";
|
|
25298
|
+
readonly Minute: "minute";
|
|
25299
|
+
readonly Hour: "hour";
|
|
25300
|
+
readonly Day: "day";
|
|
25301
|
+
readonly Week: "week";
|
|
25302
|
+
readonly Month: "month";
|
|
25303
|
+
readonly Quarter: "quarter";
|
|
25304
|
+
readonly SemiAnnual: "semi_annual";
|
|
25305
|
+
readonly Year: "year";
|
|
25306
|
+
};
|
|
25307
|
+
/**
|
|
25308
|
+
* The reset interval of the shared credits being allocated.
|
|
25309
|
+
*/
|
|
25310
|
+
type GetCustomerBalanceAllocationInterval = OpenEnum<typeof GetCustomerBalanceAllocationInterval>;
|
|
25311
|
+
type GetCustomerAllocation = {
|
|
25312
|
+
/**
|
|
25313
|
+
* The public entity ID.
|
|
25314
|
+
*/
|
|
25315
|
+
entityId: string;
|
|
25316
|
+
/**
|
|
25317
|
+
* Requested credits per cycle, before proportional scaling. 0 releases the allocation.
|
|
25318
|
+
*/
|
|
25319
|
+
amount: number;
|
|
25320
|
+
};
|
|
25321
|
+
type GetCustomerBalanceAllocation = {
|
|
25322
|
+
/**
|
|
25323
|
+
* The feature whose shared customer credits are allocated.
|
|
25324
|
+
*/
|
|
25325
|
+
featureId: string;
|
|
25326
|
+
/**
|
|
25327
|
+
* The reset interval of the shared credits being allocated.
|
|
25328
|
+
*/
|
|
25329
|
+
interval: GetCustomerBalanceAllocationInterval;
|
|
25330
|
+
/**
|
|
25331
|
+
* Complete list of entity allocations for this feature. Omitted entities release their shares.
|
|
25332
|
+
*/
|
|
25333
|
+
allocations: Array<GetCustomerAllocation>;
|
|
25334
|
+
};
|
|
25247
25335
|
/**
|
|
25248
25336
|
* The time interval for the purchase limit window.
|
|
25249
25337
|
*/
|
|
@@ -25574,6 +25662,10 @@ type GetCustomerOverageAllowed = {
|
|
|
25574
25662
|
* Billing controls for the customer (auto top-ups, etc.)
|
|
25575
25663
|
*/
|
|
25576
25664
|
type GetCustomerBillingControls = {
|
|
25665
|
+
/**
|
|
25666
|
+
* Customer-level entity allocations of shared credits. Amounts are requested shares before proportional scaling.
|
|
25667
|
+
*/
|
|
25668
|
+
balanceAllocations?: Array<GetCustomerBalanceAllocation> | undefined;
|
|
25577
25669
|
/**
|
|
25578
25670
|
* List of auto top-up configurations per feature.
|
|
25579
25671
|
*/
|
|
@@ -32361,6 +32453,48 @@ declare const ListCustomersEnv: {
|
|
|
32361
32453
|
* The environment this customer was created in.
|
|
32362
32454
|
*/
|
|
32363
32455
|
type ListCustomersEnv = OpenEnum<typeof ListCustomersEnv>;
|
|
32456
|
+
/**
|
|
32457
|
+
* The reset interval of the shared credits being allocated.
|
|
32458
|
+
*/
|
|
32459
|
+
declare const ListCustomersBalanceAllocationInterval: {
|
|
32460
|
+
readonly OneOff: "one_off";
|
|
32461
|
+
readonly Minute: "minute";
|
|
32462
|
+
readonly Hour: "hour";
|
|
32463
|
+
readonly Day: "day";
|
|
32464
|
+
readonly Week: "week";
|
|
32465
|
+
readonly Month: "month";
|
|
32466
|
+
readonly Quarter: "quarter";
|
|
32467
|
+
readonly SemiAnnual: "semi_annual";
|
|
32468
|
+
readonly Year: "year";
|
|
32469
|
+
};
|
|
32470
|
+
/**
|
|
32471
|
+
* The reset interval of the shared credits being allocated.
|
|
32472
|
+
*/
|
|
32473
|
+
type ListCustomersBalanceAllocationInterval = OpenEnum<typeof ListCustomersBalanceAllocationInterval>;
|
|
32474
|
+
type ListCustomersAllocation = {
|
|
32475
|
+
/**
|
|
32476
|
+
* The public entity ID.
|
|
32477
|
+
*/
|
|
32478
|
+
entityId: string;
|
|
32479
|
+
/**
|
|
32480
|
+
* Requested credits per cycle, before proportional scaling. 0 releases the allocation.
|
|
32481
|
+
*/
|
|
32482
|
+
amount: number;
|
|
32483
|
+
};
|
|
32484
|
+
type ListCustomersBalanceAllocation = {
|
|
32485
|
+
/**
|
|
32486
|
+
* The feature whose shared customer credits are allocated.
|
|
32487
|
+
*/
|
|
32488
|
+
featureId: string;
|
|
32489
|
+
/**
|
|
32490
|
+
* The reset interval of the shared credits being allocated.
|
|
32491
|
+
*/
|
|
32492
|
+
interval: ListCustomersBalanceAllocationInterval;
|
|
32493
|
+
/**
|
|
32494
|
+
* Complete list of entity allocations for this feature. Omitted entities release their shares.
|
|
32495
|
+
*/
|
|
32496
|
+
allocations: Array<ListCustomersAllocation>;
|
|
32497
|
+
};
|
|
32364
32498
|
/**
|
|
32365
32499
|
* The time interval for the purchase limit window.
|
|
32366
32500
|
*/
|
|
@@ -32691,6 +32825,10 @@ type ListCustomersOverageAllowed = {
|
|
|
32691
32825
|
* Billing controls for the customer (auto top-ups, etc.)
|
|
32692
32826
|
*/
|
|
32693
32827
|
type ListCustomersBillingControls = {
|
|
32828
|
+
/**
|
|
32829
|
+
* Customer-level entity allocations of shared credits. Amounts are requested shares before proportional scaling.
|
|
32830
|
+
*/
|
|
32831
|
+
balanceAllocations?: Array<ListCustomersBalanceAllocation> | undefined;
|
|
32694
32832
|
/**
|
|
32695
32833
|
* List of auto top-up configurations per feature.
|
|
32696
32834
|
*/
|
|
@@ -54772,6 +54910,48 @@ type UpdateBalanceResponse = {
|
|
|
54772
54910
|
success: boolean;
|
|
54773
54911
|
};
|
|
54774
54912
|
|
|
54913
|
+
/**
|
|
54914
|
+
* The reset interval of the shared credits being allocated.
|
|
54915
|
+
*/
|
|
54916
|
+
declare const BalanceAllocationIntervalRequestBody: {
|
|
54917
|
+
readonly OneOff: "one_off";
|
|
54918
|
+
readonly Minute: "minute";
|
|
54919
|
+
readonly Hour: "hour";
|
|
54920
|
+
readonly Day: "day";
|
|
54921
|
+
readonly Week: "week";
|
|
54922
|
+
readonly Month: "month";
|
|
54923
|
+
readonly Quarter: "quarter";
|
|
54924
|
+
readonly SemiAnnual: "semi_annual";
|
|
54925
|
+
readonly Year: "year";
|
|
54926
|
+
};
|
|
54927
|
+
/**
|
|
54928
|
+
* The reset interval of the shared credits being allocated.
|
|
54929
|
+
*/
|
|
54930
|
+
type BalanceAllocationIntervalRequestBody = ClosedEnum<typeof BalanceAllocationIntervalRequestBody>;
|
|
54931
|
+
type AllocationRequest = {
|
|
54932
|
+
/**
|
|
54933
|
+
* The public entity ID.
|
|
54934
|
+
*/
|
|
54935
|
+
entityId: string;
|
|
54936
|
+
/**
|
|
54937
|
+
* Requested credits per cycle, before proportional scaling. 0 releases the allocation.
|
|
54938
|
+
*/
|
|
54939
|
+
amount: number;
|
|
54940
|
+
};
|
|
54941
|
+
type BalanceAllocationRequest = {
|
|
54942
|
+
/**
|
|
54943
|
+
* The feature whose shared customer credits are allocated.
|
|
54944
|
+
*/
|
|
54945
|
+
featureId: string;
|
|
54946
|
+
/**
|
|
54947
|
+
* The reset interval of the shared credits being allocated.
|
|
54948
|
+
*/
|
|
54949
|
+
interval: BalanceAllocationIntervalRequestBody;
|
|
54950
|
+
/**
|
|
54951
|
+
* Complete list of entity allocations for this feature. Omitted entities release their shares.
|
|
54952
|
+
*/
|
|
54953
|
+
allocations: Array<AllocationRequest>;
|
|
54954
|
+
};
|
|
54775
54955
|
/**
|
|
54776
54956
|
* The time interval for the purchase limit window.
|
|
54777
54957
|
*/
|
|
@@ -55054,6 +55234,10 @@ type UpdateCustomerOverageAllowedRequestBody = {
|
|
|
55054
55234
|
enabled?: boolean | undefined;
|
|
55055
55235
|
};
|
|
55056
55236
|
type UpdateCustomerBillingControlsRequestBody = {
|
|
55237
|
+
/**
|
|
55238
|
+
* Replace all customer-level balance allocations. Omit to keep existing allocations; pass [] to release all. Available only when updating an existing customer.
|
|
55239
|
+
*/
|
|
55240
|
+
balanceAllocations?: Array<BalanceAllocationRequest> | undefined;
|
|
55057
55241
|
/**
|
|
55058
55242
|
* List of auto top-up configurations per feature.
|
|
55059
55243
|
*/
|
|
@@ -55235,6 +55419,48 @@ declare const UpdateCustomerEnv: {
|
|
|
55235
55419
|
* The environment this customer was created in.
|
|
55236
55420
|
*/
|
|
55237
55421
|
type UpdateCustomerEnv = OpenEnum<typeof UpdateCustomerEnv>;
|
|
55422
|
+
/**
|
|
55423
|
+
* The reset interval of the shared credits being allocated.
|
|
55424
|
+
*/
|
|
55425
|
+
declare const UpdateCustomerBalanceAllocationIntervalResponse: {
|
|
55426
|
+
readonly OneOff: "one_off";
|
|
55427
|
+
readonly Minute: "minute";
|
|
55428
|
+
readonly Hour: "hour";
|
|
55429
|
+
readonly Day: "day";
|
|
55430
|
+
readonly Week: "week";
|
|
55431
|
+
readonly Month: "month";
|
|
55432
|
+
readonly Quarter: "quarter";
|
|
55433
|
+
readonly SemiAnnual: "semi_annual";
|
|
55434
|
+
readonly Year: "year";
|
|
55435
|
+
};
|
|
55436
|
+
/**
|
|
55437
|
+
* The reset interval of the shared credits being allocated.
|
|
55438
|
+
*/
|
|
55439
|
+
type UpdateCustomerBalanceAllocationIntervalResponse = OpenEnum<typeof UpdateCustomerBalanceAllocationIntervalResponse>;
|
|
55440
|
+
type UpdateCustomerAllocationResponse = {
|
|
55441
|
+
/**
|
|
55442
|
+
* The public entity ID.
|
|
55443
|
+
*/
|
|
55444
|
+
entityId: string;
|
|
55445
|
+
/**
|
|
55446
|
+
* Requested credits per cycle, before proportional scaling. 0 releases the allocation.
|
|
55447
|
+
*/
|
|
55448
|
+
amount: number;
|
|
55449
|
+
};
|
|
55450
|
+
type UpdateCustomerBalanceAllocationResponse = {
|
|
55451
|
+
/**
|
|
55452
|
+
* The feature whose shared customer credits are allocated.
|
|
55453
|
+
*/
|
|
55454
|
+
featureId: string;
|
|
55455
|
+
/**
|
|
55456
|
+
* The reset interval of the shared credits being allocated.
|
|
55457
|
+
*/
|
|
55458
|
+
interval: UpdateCustomerBalanceAllocationIntervalResponse;
|
|
55459
|
+
/**
|
|
55460
|
+
* Complete list of entity allocations for this feature. Omitted entities release their shares.
|
|
55461
|
+
*/
|
|
55462
|
+
allocations: Array<UpdateCustomerAllocationResponse>;
|
|
55463
|
+
};
|
|
55238
55464
|
/**
|
|
55239
55465
|
* The time interval for the purchase limit window.
|
|
55240
55466
|
*/
|
|
@@ -55565,6 +55791,10 @@ type UpdateCustomerOverageAllowedResponse = {
|
|
|
55565
55791
|
* Billing controls for the customer (auto top-ups, etc.)
|
|
55566
55792
|
*/
|
|
55567
55793
|
type UpdateCustomerBillingControlsResponse = {
|
|
55794
|
+
/**
|
|
55795
|
+
* Customer-level entity allocations of shared credits. Amounts are requested shares before proportional scaling.
|
|
55796
|
+
*/
|
|
55797
|
+
balanceAllocations?: Array<UpdateCustomerBalanceAllocationResponse> | undefined;
|
|
55568
55798
|
/**
|
|
55569
55799
|
* List of auto top-up configurations per feature.
|
|
55570
55800
|
*/
|