first commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
export declare function getAllContractDurations(includeInactive?: boolean): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}[]>;
|
||||
export declare function getContractDurationById(id: number): Promise<({
|
||||
_count: {
|
||||
contracts: number;
|
||||
};
|
||||
} & {
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}) | null>;
|
||||
export declare function createContractDuration(data: {
|
||||
code: string;
|
||||
description: string;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}>;
|
||||
export declare function updateContractDuration(id: number, data: {
|
||||
code?: string;
|
||||
description?: string;
|
||||
isActive?: boolean;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}>;
|
||||
export declare function deleteContractDuration(id: number): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}>;
|
||||
//# sourceMappingURL=contract-duration.service.d.ts.map
|
||||
Reference in New Issue
Block a user