feat: new barcodes system
This commit is contained in:
11
src/client/models/GetProductBarcodePdfRequest.ts
Normal file
11
src/client/models/GetProductBarcodePdfRequest.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GetProductBarcodePdfRequest = {
|
||||
productId: number;
|
||||
barcode: string;
|
||||
barcodeTemplateId?: (number | null);
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
10
src/client/models/GetProductBarcodePdfResponse.ts
Normal file
10
src/client/models/GetProductBarcodePdfResponse.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type GetProductBarcodePdfResponse = {
|
||||
base64String: string;
|
||||
filename: string;
|
||||
mimeType: string;
|
||||
};
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BarcodeTemplateSchema } from './BarcodeTemplateSchema';
|
||||
import type { ProductImageSchema } from './ProductImageSchema';
|
||||
export type ProductCreateRequest = {
|
||||
name: string;
|
||||
article?: (string | null);
|
||||
@@ -15,5 +16,6 @@ export type ProductCreateRequest = {
|
||||
size?: (string | null);
|
||||
additionalInfo?: (string | null);
|
||||
imageUrl?: (string | null);
|
||||
images?: (Array<ProductImageSchema> | null);
|
||||
};
|
||||
|
||||
|
||||
10
src/client/models/ProductImageSchema.ts
Normal file
10
src/client/models/ProductImageSchema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductImageSchema = {
|
||||
id: number;
|
||||
productId: number;
|
||||
imageUrl: string;
|
||||
};
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BarcodeTemplateSchema } from './BarcodeTemplateSchema';
|
||||
import type { ProductImageSchema } from './ProductImageSchema';
|
||||
export type ProductSchema = {
|
||||
name: string;
|
||||
article?: (string | null);
|
||||
@@ -15,6 +16,7 @@ export type ProductSchema = {
|
||||
size?: (string | null);
|
||||
additionalInfo?: (string | null);
|
||||
imageUrl?: (string | null);
|
||||
images?: (Array<ProductImageSchema> | null);
|
||||
id: number;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user