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

143 lines 2.6 kB
/** * Request for batch checking accounts in group */ export interface BatchCheckAccountsInGroupRequest { /** * Session ID */ sessionId: string; /** * Group ID to check */ groupId: string; /** * Array of Zalo User IDs to check */ zaloUserIds: string[]; } /** * Result for individual account check */ export interface AccountCheckResult { /** * Zalo User ID */ zaloUserId: string; /** * Whether account is in group */ isInGroup: boolean; /** * Error message if any */ error?: string; } /** * Response for batch check accounts in group */ export interface BatchCheckAccountsInGroupResponse { /** * Overall success status */ success: boolean; /** * Group ID that was checked */ groupId: string; /** * Check results for each account */ results: AccountCheckResult[]; /** * Total accounts checked */ totalChecked: number; /** * Number of accounts already in group */ alreadyInGroup: number; /** * Number of accounts not in group */ notInGroup: number; /** * General error if any */ error?: string; /** * Operation timestamp */ timestamp: number; } /** * Request for batch adding accounts to group */ export interface BatchAddAccountsToGroupRequest { /** * Session ID */ sessionId: string; /** * Group ID to add to */ groupId: string; /** * Array of Zalo User IDs to add */ zaloUserIds: string[]; } /** * Result for individual account add */ export interface AccountAddResult { /** * Zalo User ID */ zaloUserId: string; /** * Whether add was successful */ success: boolean; /** * Error message if any */ error?: string; } /** * Response for batch add accounts to group */ export interface BatchAddAccountsToGroupResponse { /** * Overall success status */ success: boolean; /** * Group ID that was added to */ groupId: string; /** * Add results for each account */ results: AccountAddResult[]; /** * Total accounts processed */ totalProcessed: number; /** * Number of successful adds */ successCount: number; /** * Number of failed adds */ failedCount: number; /** * General error if any */ error?: string; /** * Operation timestamp */ timestamp: number; } //# sourceMappingURL=bulk.type.d.ts.map