feat: total services amount and recalculating
This commit is contained in:
@@ -8,5 +8,6 @@ export type DealProductServiceSchema = {
|
||||
service: ServiceSchema;
|
||||
price: number;
|
||||
employees: Array<UserSchema>;
|
||||
isFixedPrice: boolean;
|
||||
};
|
||||
|
||||
|
||||
8
src/client/models/DealRecalculatePriceRequest.ts
Normal file
8
src/client/models/DealRecalculatePriceRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealRecalculatePriceRequest = {
|
||||
dealId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealRecalculatePriceResponse.ts
Normal file
9
src/client/models/DealRecalculatePriceResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealRecalculatePriceResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
@@ -9,5 +9,6 @@ export type DealServiceSchema = {
|
||||
quantity: number;
|
||||
price: number;
|
||||
employees: Array<UserSchema>;
|
||||
isFixedPrice: boolean;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user