first commit
This commit is contained in:
@@ -0,0 +1,52 @@
|
||||
export declare function getAllCancellationPeriods(includeInactive?: boolean): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}[]>;
|
||||
export declare function getCancellationPeriodById(id: number): Promise<({
|
||||
_count: {
|
||||
contracts: number;
|
||||
};
|
||||
} & {
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}) | null>;
|
||||
export declare function createCancellationPeriod(data: {
|
||||
code: string;
|
||||
description: string;
|
||||
}): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}>;
|
||||
export declare function updateCancellationPeriod(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 deleteCancellationPeriod(id: number): Promise<{
|
||||
id: number;
|
||||
isActive: boolean;
|
||||
createdAt: Date;
|
||||
updatedAt: Date;
|
||||
description: string;
|
||||
code: string;
|
||||
}>;
|
||||
//# sourceMappingURL=cancellation-period.service.d.ts.map
|
||||
Reference in New Issue
Block a user