feat: add gateway billing estimate and rate limit details
This commit is contained in:
@@ -506,6 +506,32 @@ export interface PlayableGatewayApiKey extends GatewayApiKey {
|
||||
secret: string;
|
||||
}
|
||||
|
||||
export interface GatewayPricingEstimateItem {
|
||||
amount?: number;
|
||||
currency?: string;
|
||||
discountFactor?: number;
|
||||
durationSeconds?: number;
|
||||
durationUnit?: string;
|
||||
durationUnitCount?: number;
|
||||
model?: string;
|
||||
modelAlias?: string;
|
||||
platformId?: string;
|
||||
platformModelId?: string;
|
||||
provider?: string;
|
||||
quantity?: number | string;
|
||||
resourceType?: string;
|
||||
simulated?: boolean;
|
||||
unit?: string;
|
||||
[key: string]: unknown;
|
||||
}
|
||||
|
||||
export interface GatewayPricingEstimate {
|
||||
items: GatewayPricingEstimateItem[];
|
||||
resolver: string;
|
||||
totalAmount?: number;
|
||||
currency?: string;
|
||||
}
|
||||
|
||||
export interface GatewayWalletAccount {
|
||||
id: string;
|
||||
gatewayTenantId?: string;
|
||||
|
||||
Reference in New Issue
Block a user