UNPKG

@calljmp/cli

Version:
44 lines 1.23 kB
export declare enum AccountEmailType { CreateProject = "create_project", DiscoverTools = "discover_tools", RestApiIntegration = "rest_api_integration", ScaleAgents = "scale_agents" } export declare enum AccountEmailStatus { Pending = "pending", Scheduled = "scheduled", Sent = "sent", Failed = "failed", Skipped = "skipped", Suppressed = "suppressed" } export interface AccountEmail { id: number; accountId: number; email: string; name: string; type: AccountEmailType; status: AccountEmailStatus; scheduledAt: Date | null; sentAt: Date | null; failedAt: Date | null; failureReason: string | null; createdAt: Date; updatedAt: Date; } export declare function jsonToAccountEmail(json: Record<string, any>): AccountEmail; export declare function accountEmailToJson(accountEmail: AccountEmail): { id: number; accountId: number; email: string; name: string; type: AccountEmailType; status: AccountEmailStatus; scheduledAt: string | null; sentAt: string | null; failedAt: string | null; failureReason: string | null; createdAt: string; updatedAt: string; }; //# sourceMappingURL=account-emails.d.ts.map