feat: shipping warehouse and cost
This commit is contained in:
@@ -7,5 +7,6 @@ export type DealQuickCreateRequest = {
|
||||
clientName: string;
|
||||
comment: string;
|
||||
acceptanceDate: string;
|
||||
shippingWarehouse: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { ClientSchema } from './ClientSchema';
|
||||
import type { DealProductSchema } from './DealProductSchema';
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
import type { DealStatusHistorySchema } from './DealStatusHistorySchema';
|
||||
import type { ShippingWarehouseSchema } from './ShippingWarehouseSchema';
|
||||
export type DealSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
@@ -19,5 +20,6 @@ export type DealSchema = {
|
||||
isCompleted: boolean;
|
||||
client: ClientSchema;
|
||||
comment: string;
|
||||
shippingWarehouse?: (ShippingWarehouseSchema | null);
|
||||
};
|
||||
|
||||
|
||||
9
src/client/models/GetAllShippingWarehousesResponse.ts
Normal file
9
src/client/models/GetAllShippingWarehousesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ShippingWarehouseSchema } from './ShippingWarehouseSchema';
|
||||
export type GetAllShippingWarehousesResponse = {
|
||||
shippingWarehouses: Array<ShippingWarehouseSchema>;
|
||||
};
|
||||
|
||||
@@ -11,5 +11,6 @@ export type ServiceSchema = {
|
||||
price: number;
|
||||
serviceType: number;
|
||||
priceRanges: Array<ServicePriceRangeSchema>;
|
||||
cost: (number | null);
|
||||
};
|
||||
|
||||
|
||||
9
src/client/models/ShippingWarehouseSchema.ts
Normal file
9
src/client/models/ShippingWarehouseSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ShippingWarehouseSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user