whatsapp-crm-common
Version:
Componentes compartidos para servicios de WhatsApp CRM - Common utilities and types for WhatsApp CRM system
64 lines • 1.71 kB
TypeScript
export interface Group {
id: number;
jid: string;
owner: string | null;
subject: string;
subject_owner: string | null;
subject_time: number | null;
creation: number | null;
description: string | null;
description_owner: string | null;
description_id: string | null;
restrict: boolean;
announce: boolean;
member_add_mode: boolean;
join_approval_mode: boolean;
ephemeral_duration: number | null;
size: number | null;
invite_code: string | null;
linked_parent: string | null;
is_community: boolean;
is_community_announce: boolean;
created_at: Date;
updated_at: Date;
}
export interface CreateGroupDTO {
jid: string;
owner?: string;
subject: string;
subject_owner?: string;
subject_time?: number;
creation?: number;
description?: string;
description_owner?: string;
description_id?: string;
restrict?: boolean;
announce?: boolean;
member_add_mode?: boolean;
join_approval_mode?: boolean;
ephemeral_duration?: number;
size?: number;
invite_code?: string;
linked_parent?: string;
is_community?: boolean;
is_community_announce?: boolean;
}
export interface UpdateGroupDTO {
owner?: string;
subject?: string;
subject_owner?: string;
subject_time?: number;
description?: string;
description_owner?: string;
description_id?: string;
restrict?: boolean;
announce?: boolean;
member_add_mode?: boolean;
join_approval_mode?: boolean;
ephemeral_duration?: number;
size?: number;
invite_code?: string;
is_community?: boolean;
is_community_announce?: boolean;
}
//# sourceMappingURL=IGroups.d.ts.map