export type TimeUnit = 'Menit' | 'Jam' | 'Hari'; export type TimeUnitTesting = 'Menit' | 'Jam' | 'Hari' | undefined; export interface TimeConfiguration { value: number; unit: TimeUnit; } export interface ConfirmationTicket { unit: string; value: number; valueMinute: number; _id: string; } export interface SlaTicketSettings { status: number; message: string; data: { _id: string; openToNeedConfirmation: ConfirmationTicket; requestCancelTocancelTicket: ConfirmationTicket; onVerificationToNeedConfirmation: ConfirmationTicket; onProgressToNeedConfirmation: ConfirmationTicket; needConfirmationToClosed: ConfirmationTicket; }; } export interface ConfirmationTicketValues { needConfirmationToClosed: ConfirmationTicket; requestCancelTocancelTicket: ConfirmationTicket; onProgressToNeedConfirmation: ConfirmationTicket; onVerificationToNeedConfirmation: ConfirmationTicket; openToNeedConfirmation: ConfirmationTicket; } export interface PutUpdateTicketBody { openToNeedConfirmation: TimeConfiguration; requestCancelTocancelTicket: ConfirmationTicket; onVerificationToNeedConfirmation: TimeConfiguration; onProgressToNeedConfirmation: TimeConfiguration; needConfirmationToClosed: TimeConfiguration; } export interface SlaQcSettings { status: number; message: string; data: { _id: string; e2eTesting: ConfirmationTicket; performanceTesting: ConfirmationTicket; }; } export interface PutUpdateQCBody { e2eTesting: TimeConfiguration; performanceTesting: TimeConfiguration; } export interface TestingField { field: string; label: string; value?: number; unit: TimeUnitTesting; } export type UiUxProcess = 'detailing' | 'webComponent' | 'mobileComponent'; export type BackendProcess = 'database' | 'createApi'; export type FrontendProcess = 'webComponentSlicing' | 'webSlicing' | 'connectApiWeb'; export type MobileProcess = 'mobileComponentSlicing' | 'mobileSlicing' | 'connectApiMobile'; export type WriterProcess = 'apiDocumentation' | 'userManualWeb' | 'mobileDocumentation'; export type TaskProcess = UiUxProcess | BackendProcess | FrontendProcess | MobileProcess | 'iot' | WriterProcess; export type SlaTaskSettings = { _id: string; createdAt: string; updatedAt: string; } & Record; export type PutUpdateTaskBody = Record;