import { GenericOption } from '@cas-hub/acabim-common-client'; export interface ActionResponse { id: number; name: string; description: string; entity_type: string; entity_type_subset: string; target_type: string; category: string; sub_category: string; repeating: number; priority: number; expense_type: string; work_order_task: { id: number; name: string | null; }; work_order_type: { id: number; name: string | null; }; work_order_category: { id: number; name: string | null; }; status: number; created_date: Date; created_by: string; updated_date: Date; updated_by: string; } export interface ActionRequest { name: string; description: string; entity_type: string; entity_type_subset: string; target_type: string; category: string; sub_category: string; repeating: number; priority: number; expense_type: string; work_order_task: number; work_order_type: number; work_order_category: number; status: number; } export interface ActionDisplayResponse extends ActionResponse { repeating_display: string; status_display: string; entity_type_display: string; entity_type_subset_display: string; target_type_display: string; } export interface ActionTypes { entityTypes: string[]; entitySubTypes: string[]; targetTypes: string[]; categories: string[]; subCategories: string[]; expenseTypes: string[]; } export interface ActionTypeOptions { entityTypes: GenericOption[]; entitySubTypes: GenericOption[]; targetTypes: GenericOption[]; categories: GenericOption[]; subCategories: GenericOption[]; expenseTypes: GenericOption[]; }