feat: deal product services
This commit is contained in:
@@ -2,9 +2,9 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealProductSchema } from './DealProductSchema';
|
||||
export type DealAddProductRequest = {
|
||||
dealId: number;
|
||||
productId: number;
|
||||
quantity: number;
|
||||
product: DealProductSchema;
|
||||
};
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@
|
||||
import type { ServiceSchema } from './ServiceSchema';
|
||||
export type DealProductServiceSchema = {
|
||||
service: ServiceSchema;
|
||||
quantity: number;
|
||||
price: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -9,5 +9,10 @@ export type ProductCreateRequest = {
|
||||
clientId: number;
|
||||
barcodes: Array<string>;
|
||||
barcodeTemplate?: (BarcodeTemplateSchema | null);
|
||||
brand?: (string | null);
|
||||
color?: (string | null);
|
||||
composition?: (string | null);
|
||||
size?: (string | null);
|
||||
additionalInfo?: (string | null);
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,6 @@
|
||||
/* eslint-disable */
|
||||
import type { BarcodeTemplateSchema } from './BarcodeTemplateSchema';
|
||||
export type ProductSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
article: string;
|
||||
clientId: number;
|
||||
@@ -15,5 +14,6 @@ export type ProductSchema = {
|
||||
composition?: (string | null);
|
||||
size?: (string | null);
|
||||
additionalInfo?: (string | null);
|
||||
id: number;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user