snooze vor expired, contracts, display snoozed contracts if an item is missing, un snooze implemented, fixed invoice upload bug
This commit is contained in:
+8
@@ -135,6 +135,7 @@ export declare function getAllContracts(filters: ContractFilters): Promise<{
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
})[];
|
||||
pagination: {
|
||||
page: number;
|
||||
@@ -564,6 +565,7 @@ export declare function getContractById(id: number, decryptPassword?: boolean):
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}) | null;
|
||||
followUpContract: {
|
||||
id: number;
|
||||
@@ -609,6 +611,7 @@ export declare function getContractById(id: number, decryptPassword?: boolean):
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}) | null>;
|
||||
interface ContractCreateData {
|
||||
customerId: number;
|
||||
@@ -894,6 +897,7 @@ export declare function createContract(data: ContractCreateData): Promise<{
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}>;
|
||||
export declare function updateContract(id: number, data: Partial<ContractCreateData>): Promise<({
|
||||
customer: {
|
||||
@@ -1316,6 +1320,7 @@ export declare function updateContract(id: number, data: Partial<ContractCreateD
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}) | null;
|
||||
followUpContract: {
|
||||
id: number;
|
||||
@@ -1361,6 +1366,7 @@ export declare function updateContract(id: number, data: Partial<ContractCreateD
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}) | null>;
|
||||
export declare function deleteContract(id: number): Promise<{
|
||||
id: number;
|
||||
@@ -1401,6 +1407,7 @@ export declare function deleteContract(id: number): Promise<{
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}>;
|
||||
export declare function createFollowUpContract(previousContractId: number): Promise<{
|
||||
customer: {
|
||||
@@ -1588,6 +1595,7 @@ export declare function createFollowUpContract(previousContractId: number): Prom
|
||||
wasSpecialCancellation: boolean;
|
||||
portalUsername: string | null;
|
||||
stressfreiEmailId: number | null;
|
||||
nextReviewDate: Date | null;
|
||||
}>;
|
||||
export declare function getContractPassword(id: number): Promise<string | null>;
|
||||
export declare function getSimCardCredentials(simCardId: number): Promise<{
|
||||
|
||||
Reference in New Issue
Block a user