feat: deal product services
This commit is contained in:
9
src/client/models/BaseEnumListSchema.ts
Normal file
9
src/client/models/BaseEnumListSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BaseEnumSchema } from './BaseEnumSchema';
|
||||
export type BaseEnumListSchema = {
|
||||
items: Array<BaseEnumSchema>;
|
||||
};
|
||||
|
||||
9
src/client/models/BaseEnumSchema.ts
Normal file
9
src/client/models/BaseEnumSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type BaseEnumSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
};
|
||||
|
||||
@@ -2,9 +2,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealProductServiceSchema } from './DealProductServiceSchema';
|
||||
import type { ProductSchema } from './ProductSchema';
|
||||
export type DealProductSchema = {
|
||||
product: ProductSchema;
|
||||
services: Array<DealProductServiceSchema>;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -6,5 +6,6 @@ import type { ServiceSchema } from './ServiceSchema';
|
||||
export type DealServiceSchema = {
|
||||
service: ServiceSchema;
|
||||
quantity: number;
|
||||
price: number;
|
||||
};
|
||||
|
||||
|
||||
11
src/client/models/ServicePriceRangeSchema.ts
Normal file
11
src/client/models/ServicePriceRangeSchema.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ServicePriceRangeSchema = {
|
||||
id: (number | null);
|
||||
fromQuantity: number;
|
||||
toQuantity: number;
|
||||
price: number;
|
||||
};
|
||||
|
||||
@@ -3,10 +3,13 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ServiceCategorySchema } from './ServiceCategorySchema';
|
||||
import type { ServicePriceRangeSchema } from './ServicePriceRangeSchema';
|
||||
export type ServiceSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
category: ServiceCategorySchema;
|
||||
price: number;
|
||||
serviceType: number;
|
||||
priceRanges: Array<ServicePriceRangeSchema>;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user