UNPKG

redai-automation-web-sdk

Version:

TypeScript SDK for RedAI Automation Web API - Zalo Personal automation, messaging, advanced sticker search, and bulk operations. 100% compatible with automation-web backend. v1.8.1: Updated GroupInfo interface to match backend controller with complete gro

52 lines 1.03 kB
/** * Session Proxy types and DTOs */ export declare enum ProxyProtocol { HTTP = "http", HTTPS = "https", SOCKS5 = "socks5" } export declare enum ProxyStatus { ACTIVE = "active", DISABLED = "disabled", BANNED = "banned" } /** * Request DTO for assigning proxy to session */ export interface AssignProxyToSessionRequest { /** * ID của session cần gắn proxy */ sessionId: string; /** * ID của proxy cần gắn */ proxyId: string; } /** * Response DTO for assign proxy operation */ export interface AssignProxyToSessionResponse { /** * Trạng thái thành công */ success: boolean; /** * ID của session đã được gắn proxy */ sessionId: string; /** * ID của proxy đã được gắn */ proxyId: string; /** * Thông báo kết quả */ message?: string; /** * Thông báo lỗi (nếu có) */ error?: string; } //# sourceMappingURL=session-proxy.type.d.ts.map