This commit is contained in:
2024-04-28 04:55:19 +03:00
parent c4e106576e
commit d0a32b938c
25 changed files with 274 additions and 58 deletions

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteRequest = {
dealId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealSummaryReorderResponse = {
export type DealDeleteResponse = {
ok: boolean;
message: string;
};

View File

@@ -8,6 +8,7 @@ export type DealStatusHistorySchema = {
changedAt: string;
fromStatus: number;
toStatus: number;
nextStatusDeadline: string;
nextStatusDeadline: (string | null);
comment?: (string | null);
};

View File

@@ -7,6 +7,7 @@ export type DealSummary = {
name: string;
clientName: string;
changedAt: string;
deadline: string;
status: number;
totalPrice: number;
rank: number;

View File

@@ -4,9 +4,9 @@
/* eslint-disable */
export type DealSummaryReorderRequest = {
dealId: number;
newStatus: number;
rank: number;
nextStatusDeadline: string;
status: number;
index: number;
deadline: string;
comment: string;
};