feat: deal product services
This commit is contained in:
@@ -6,5 +6,6 @@ export type DealAddServiceRequest = {
|
||||
dealId: number;
|
||||
serviceId: number;
|
||||
quantity: number;
|
||||
price: number;
|
||||
};
|
||||
|
||||
|
||||
10
src/client/models/DealUpdateProductRequest.ts
Normal file
10
src/client/models/DealUpdateProductRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealProductSchema } from './DealProductSchema';
|
||||
export type DealUpdateProductRequest = {
|
||||
dealId: number;
|
||||
product: DealProductSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/DealUpdateProductResponse.ts
Normal file
9
src/client/models/DealUpdateProductResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateProductResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
10
src/client/models/DealUpdateServiceRequest.ts
Normal file
10
src/client/models/DealUpdateServiceRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
export type DealUpdateServiceRequest = {
|
||||
dealId: number;
|
||||
service: DealServiceSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/DealUpdateServiceResponse.ts
Normal file
9
src/client/models/DealUpdateServiceResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateServiceResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user