feat: a few shipping products in box
This commit is contained in:
@@ -2,12 +2,11 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProductSchema } from './ProductSchema';
|
||||
import type { ShippingProductSchema } from './ShippingProductSchema';
|
||||
export type BoxSchema = {
|
||||
id: number;
|
||||
quantity: number;
|
||||
product: (ProductSchema | null);
|
||||
palletId: (number | null);
|
||||
cardId: (number | null);
|
||||
shippingProducts: Array<ShippingProductSchema>;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,8 +4,7 @@
|
||||
/* eslint-disable */
|
||||
import type { CreateBoxInCardSchema } from './CreateBoxInCardSchema';
|
||||
import type { CreateBoxInPalletSchema } from './CreateBoxInPalletSchema';
|
||||
import type { UpdateBoxSchema } from './UpdateBoxSchema';
|
||||
export type UpdateBoxRequest = {
|
||||
data: (CreateBoxInCardSchema | CreateBoxInPalletSchema | UpdateBoxSchema);
|
||||
export type CreateBoxRequest = {
|
||||
data: (CreateBoxInCardSchema | CreateBoxInPalletSchema);
|
||||
};
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateBoxResponse = {
|
||||
export type CreateBoxResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
@@ -5,6 +5,7 @@
|
||||
export type CreateShippingProductSchema = {
|
||||
productId: (number | null);
|
||||
quantity: (number | null);
|
||||
palletId: number;
|
||||
palletId?: (number | null);
|
||||
boxId?: (number | null);
|
||||
};
|
||||
|
||||
|
||||
@@ -7,6 +7,7 @@ export type ShippingProductSchema = {
|
||||
id: number;
|
||||
quantity: number;
|
||||
product: ProductSchema;
|
||||
palletId: number;
|
||||
palletId: (number | null);
|
||||
boxId: (number | null);
|
||||
};
|
||||
|
||||
|
||||
@@ -1,10 +0,0 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateBoxSchema = {
|
||||
productId: (number | null);
|
||||
quantity: (number | null);
|
||||
boxId: (number | null);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user