206 lines
4.5 KiB
TypeScript
206 lines
4.5 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports all enum related types from the schema.
|
|
*
|
|
* 🟢 You can import this file directly.
|
|
*/
|
|
|
|
export const ActivityActorKind = {
|
|
user: 'user',
|
|
system: 'system',
|
|
automation: 'automation',
|
|
ki_agent: 'ki_agent'
|
|
} as const
|
|
|
|
export type ActivityActorKind = (typeof ActivityActorKind)[keyof typeof ActivityActorKind]
|
|
|
|
|
|
export const LinkableEntityType = {
|
|
contact: 'contact',
|
|
company: 'company',
|
|
lead: 'lead',
|
|
deal: 'deal',
|
|
project: 'project',
|
|
task: 'task',
|
|
file: 'file',
|
|
user: 'user',
|
|
order: 'order',
|
|
appointment: 'appointment',
|
|
form_submission: 'form_submission'
|
|
} as const
|
|
|
|
export type LinkableEntityType = (typeof LinkableEntityType)[keyof typeof LinkableEntityType]
|
|
|
|
|
|
export const FilePreviewStatus = {
|
|
pending: 'pending',
|
|
generating: 'generating',
|
|
ready: 'ready',
|
|
failed: 'failed',
|
|
not_supported: 'not_supported'
|
|
} as const
|
|
|
|
export type FilePreviewStatus = (typeof FilePreviewStatus)[keyof typeof FilePreviewStatus]
|
|
|
|
|
|
export const FileScanStatus = {
|
|
pending: 'pending',
|
|
clean: 'clean',
|
|
infected: 'infected',
|
|
skipped: 'skipped'
|
|
} as const
|
|
|
|
export type FileScanStatus = (typeof FileScanStatus)[keyof typeof FileScanStatus]
|
|
|
|
|
|
export const FileSource = {
|
|
manual_upload: 'manual_upload',
|
|
customer_portal: 'customer_portal',
|
|
form_submission: 'form_submission',
|
|
email_attachment: 'email_attachment',
|
|
automation: 'automation',
|
|
api: 'api'
|
|
} as const
|
|
|
|
export type FileSource = (typeof FileSource)[keyof typeof FileSource]
|
|
|
|
|
|
export const FileUploadStatus = {
|
|
in_progress: 'in_progress',
|
|
completed: 'completed',
|
|
failed: 'failed',
|
|
expired: 'expired',
|
|
cancelled: 'cancelled'
|
|
} as const
|
|
|
|
export type FileUploadStatus = (typeof FileUploadStatus)[keyof typeof FileUploadStatus]
|
|
|
|
|
|
export const FileEntityType = {
|
|
contact: 'contact',
|
|
company: 'company',
|
|
lead: 'lead',
|
|
deal: 'deal',
|
|
project: 'project',
|
|
user: 'user',
|
|
form_submission: 'form_submission',
|
|
order: 'order',
|
|
task: 'task',
|
|
appointment: 'appointment'
|
|
} as const
|
|
|
|
export type FileEntityType = (typeof FileEntityType)[keyof typeof FileEntityType]
|
|
|
|
|
|
export const ImportJobStatus = {
|
|
PENDING: 'PENDING',
|
|
RUNNING: 'RUNNING',
|
|
COMPLETED: 'COMPLETED',
|
|
FAILED: 'FAILED'
|
|
} as const
|
|
|
|
export type ImportJobStatus = (typeof ImportJobStatus)[keyof typeof ImportJobStatus]
|
|
|
|
|
|
export const LeadStatus = {
|
|
new: 'new',
|
|
contacted: 'contacted',
|
|
qualified: 'qualified',
|
|
trial: 'trial',
|
|
customer: 'customer',
|
|
churned: 'churned',
|
|
disqualified: 'disqualified'
|
|
} as const
|
|
|
|
export type LeadStatus = (typeof LeadStatus)[keyof typeof LeadStatus]
|
|
|
|
|
|
export const NotificationDeliveryStatus = {
|
|
PENDING: 'PENDING',
|
|
SENT: 'SENT',
|
|
FAILED: 'FAILED',
|
|
SKIPPED: 'SKIPPED',
|
|
READ: 'READ'
|
|
} as const
|
|
|
|
export type NotificationDeliveryStatus = (typeof NotificationDeliveryStatus)[keyof typeof NotificationDeliveryStatus]
|
|
|
|
|
|
export const NotificationPreferenceChannel = {
|
|
IN_APP: 'IN_APP',
|
|
EMAIL: 'EMAIL'
|
|
} as const
|
|
|
|
export type NotificationPreferenceChannel = (typeof NotificationPreferenceChannel)[keyof typeof NotificationPreferenceChannel]
|
|
|
|
|
|
export const OutboxStatus = {
|
|
PENDING: 'PENDING',
|
|
PROCESSING: 'PROCESSING',
|
|
DONE: 'DONE',
|
|
FAILED: 'FAILED',
|
|
CANCELLED: 'CANCELLED'
|
|
} as const
|
|
|
|
export type OutboxStatus = (typeof OutboxStatus)[keyof typeof OutboxStatus]
|
|
|
|
|
|
export const ExportJobStatus = {
|
|
PENDING: 'PENDING',
|
|
RUNNING: 'RUNNING',
|
|
COMPLETED: 'COMPLETED',
|
|
FAILED: 'FAILED'
|
|
} as const
|
|
|
|
export type ExportJobStatus = (typeof ExportJobStatus)[keyof typeof ExportJobStatus]
|
|
|
|
|
|
export const TaskStatus = {
|
|
open: 'open',
|
|
in_progress: 'in_progress',
|
|
blocked: 'blocked',
|
|
done: 'done',
|
|
cancelled: 'cancelled'
|
|
} as const
|
|
|
|
export type TaskStatus = (typeof TaskStatus)[keyof typeof TaskStatus]
|
|
|
|
|
|
export const TaskPriority = {
|
|
low: 'low',
|
|
normal: 'normal',
|
|
high: 'high',
|
|
urgent: 'urgent'
|
|
} as const
|
|
|
|
export type TaskPriority = (typeof TaskPriority)[keyof typeof TaskPriority]
|
|
|
|
|
|
export const TaskSource = {
|
|
manual: 'manual',
|
|
chat: 'chat',
|
|
form_submission: 'form_submission',
|
|
automation: 'automation',
|
|
api: 'api'
|
|
} as const
|
|
|
|
export type TaskSource = (typeof TaskSource)[keyof typeof TaskSource]
|
|
|
|
|
|
export const TaskEntityType = {
|
|
contact: 'contact',
|
|
company: 'company',
|
|
lead: 'lead',
|
|
deal: 'deal',
|
|
project: 'project',
|
|
user: 'user',
|
|
order: 'order',
|
|
appointment: 'appointment'
|
|
} as const
|
|
|
|
export type TaskEntityType = (typeof TaskEntityType)[keyof typeof TaskEntityType]
|