interface Params { search?: string; page?: number; limit?: number; sortOrder?: number; sortBy?: string; } export interface CheckoutPreListParams extends Params { tag?: string; requester?: string[]; checkoutGroup?: string[]; } export type CheckoutPreListOptionsParams = { requesterOptions?: boolean; checkoutGroupOptions?: boolean; }; export interface CheckoutItemPreListParams extends Params { tag?: string; itemName?: string[]; brand?: string[]; model?: string[]; tagType?: string[]; } export type CheckoutItemPreListOptionsParams = { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; tagTypeOptions?: boolean; }; export interface CheckoutTransactionListParams extends Params { pic?: string[]; requester?: string[]; status?: string[]; checkoutGroup?: string[]; updatedAt?: string[]; } export type CheckoutTransactionOptionsParams = { picOptions?: boolean; requesterOptions?: boolean; statusOptions?: boolean; }; export interface CheckoutTransactionDetailItemListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; tagType?: string[]; status?: string[]; } export type CheckoutTransactionDetailItemOptionsParams = { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; tagTypeOptions?: boolean; statusOptions?: boolean; }; export interface CheckoutDetailStockListParams { tagType?: string[]; receptionDate?: string[]; expiredDate?: string[]; productionDate?: string[]; group?: string[]; } export interface CheckoutDetailStockOptionsParams { tagTypeOptions?: boolean; } export interface CheckoutRemoveItemPreListBody { itemId: string[]; } export interface CheckoutRemoveRequestPreListBody { requestId: string[]; } export type CheckoutRequestBody = { data: CheckoutRequestBodyData[]; }; export interface CheckoutRequestBodyData { _id: string; quantity: number; requestNote: string | null; } export interface CheckoutConfirmBody { data: CheckoutConfirmBodyData[]; } export interface CheckoutEditEmailBody { email: string; } export type CheckoutCancelStockBody = CheckoutEditEmailBody; export interface CheckoutConfirmBodyData { _id: string; newQuantity: number | null; } export interface CheckoutHandoverBody { stockIds: string[]; } export interface CheckoutApprovalListParams extends Params { pic?: string[]; requester?: string[]; status?: string; } export interface CheckoutApprovalOptionsParams { picOptions?: boolean; requesterOptions?: boolean; status?: string; } export interface CheckoutApprovalBody { data: CheckoutApprovalBodyData[]; } export interface CheckoutApprovalBodyData { _id: string; isApproved: boolean | null; approvedQuantity: number | null; approvalNote: string | null; } export interface CheckoutApprovalDetailStockListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; approvalNote?: string[]; isApprovedLabel?: string[]; } export interface CheckoutApprovalDetailStockOptionsParams { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; isApprovedLabelOptions?: boolean; } export interface CheckoutHistoryTransactionListParams extends Params { pic?: string[]; requester?: string[]; status?: string[]; checkoutGroup?: string[]; updatedAt?: string[]; } export interface CheckoutHistoryTransactionOptionsParams { picOptions?: boolean; requesterOptions?: boolean; statusOptions?: boolean; checkoutGroupOptions?: boolean; } export interface CheckoutHistoryItemListParams extends Params { itemName?: string[]; brand?: string[]; requester?: string[]; checkoutGroup?: string[]; pic?: string[]; } export interface CheckoutHistoryItemOptionsParams { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; checkoutGroupOptions?: boolean; statusOptions?: boolean; requesterOptions?: boolean; picOptions?: boolean; } export interface CheckoutHistoryDetailItemListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; tagType?: string[]; tag?: string; } export interface CheckoutHistoryDetailItemOptionsParams extends Params { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; tagTypeOptions?: boolean; } export interface CheckoutCheckedOutItemListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; requester?: string[]; tag?: string; } export interface CheckoutCheckedOutItemOptionsParams { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; requesterOptions?: boolean; requester?: string[]; } export interface CheckoutCheckedOutRequesterListParams extends Params { tag?: string; } export interface CheckoutCheckedOutItemDetailStockListParams extends Params { tagType?: string[]; receptionDate?: string[]; expiredDate?: string[]; productionDate?: string[]; group?: string[]; status?: string[]; pic?: string[]; checkoutDate?: string[]; } export interface CheckoutCheckedOutItemDetailStockOptionsParams { tagTypeOptions?: boolean; statusOptions?: boolean; picOptions?: boolean; } export interface CheckoutConfirmVerificationBody { stockIds: string[]; } export interface CheckoutItemVerificationListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; tagType?: string[]; tag?: string; } export interface CheckoutItemVerificationOptionsParams { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; tagTypeOptions?: boolean; } export interface CheckoutItemHandoverListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; tagType?: string[]; tag?: string; } export interface CheckoutItemHandoverOptionsParams { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; tagTypeOptions?: boolean; } export interface CheckoutItemConfirmationListParams extends Params { itemName?: string[]; brand?: string[]; model?: string[]; tagType?: string[]; } export interface CheckoutItemConfirmationOptionsParams { itemNameOptions?: boolean; brandOptions?: boolean; modelOptions?: boolean; tagTypeOptions?: boolean; } export interface CheckoutItemVerificationDetailStockListParams { tagType?: string[]; receptionDate?: string[]; expiredDate?: string[]; productionDate?: string[]; group?: string[]; status?: string[]; tab?: string; } export interface CheckoutItemVerificationDetailStockOptionsParams { tagTypeOptions?: boolean; statusOptions?: boolean; } export {};