TypeScript interfaces and enums defining CRM entities and statuses.
// Source: https://github.com/babyvibe/deplao-builder | License: MIT | Copyright 2026 babyvibe
// Provided via justclaw.it.com; keep this notice with the code.
// ─── CRM Types ────────────────────────────────────────────────────────────────
export type CRMCampaignStatus = 'draft' | 'active' | 'paused' | 'done';
export type CRMContactStatus = 'pending' | 'sending' | 'sent' | 'failed';
export type CRMCampaignType = 'message' | 'friend_request' | 'mixed' | 'invite_to_group';
export interface CRMNote {
id?: number;
owner_zalo_id: string;
contact_id: string;
contact_type?: string;
content: string;
topic_id?: string | null;
created_at?: number;
updated_at?: number;
}
export interface CRMCampaign {
id?: number;
owner_zalo_id: string;
/** Immutable c
... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key