This commit is contained in:
2024-04-24 01:21:02 +03:00
parent 862f3fa3c1
commit c4e106576e
13 changed files with 205 additions and 86 deletions

View File

@@ -5,7 +5,7 @@
export type ClientDetailsSchema = {
address?: (string | null);
phoneNumber?: (string | null);
inn?: (number | null);
inn?: (string | null);
email?: (string | null);
};

View File

@@ -6,5 +6,6 @@ export type DealGeneralInfoSchema = {
name: string;
isDeleted: boolean;
isCompleted: boolean;
comment: string;
};

View File

@@ -18,5 +18,6 @@ export type DealSchema = {
isDeleted: boolean;
isCompleted: boolean;
client: ClientSchema;
comment: string;
};

View File

@@ -9,5 +9,6 @@ export type DealSummary = {
changedAt: string;
status: number;
totalPrice: number;
rank: number;
};

View File

@@ -0,0 +1,12 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealSummaryReorderRequest = {
dealId: number;
newStatus: number;
rank: number;
nextStatusDeadline: string;
comment: string;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do no edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealSummaryReorderResponse = {
ok: boolean;
message: string;
};