@remnawave/xtls-sdk
Version:
A Typescript SDK for XRAY (XTLS) Core GRPC Api
21 lines • 891 B
TypeScript
import { QueryStatsResponse } from '../../../xray-protos/app/stats/command/command';
import { IOutboundStat } from './interfaces';
/**
* Model for handling and formatting outbound statistics response data
*/
export declare class GetAllOutboundsStatsResponseModel {
/** Array of outbound statistics containing outbound tag, uplink and downlink data */
outbounds: IOutboundStat[];
/**
* Creates an instance of GetAllOutboundsStatsResponseModel
* @param data Raw stats response data from the query
*/
constructor(data: QueryStatsResponse);
/**
* Parses and formats the raw stats data into outbound-specific statistics
* @param data Raw stats response data containing individual stat entries
* @returns Array of formatted outbound statistics
*/
private parseData;
}
//# sourceMappingURL=get-all-outbounds-stats.response.model.d.ts.map