export interface KiotVietListResponse { total: number; pageSize?: number; currentItem?: number; data: T[]; timestamp?: string; removedIds?: number[]; } export interface KiotVietErrorStatus { errorCode: string; message: string; } export interface KiotVietErrorResponse { responseStatus: KiotVietErrorStatus; } export interface KiotVietClientConfig { clientId: string; clientSecret: string; retailerName: string; baseUrl?: string; tokenUrl?: string; apiVersion?: string; timeout?: number; } export interface KiotVietTokenResponse { access_token: string; expires_in: number; token_type: 'Bearer'; }