Merge remote-tracking branch 'origin/fillingDealsFromExcelFile' into excelMerge
This commit is contained in:
8
src/client/models/Body_parse_deals_excel.ts
Normal file
8
src/client/models/Body_parse_deals_excel.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type Body_parse_deals_excel = {
|
||||
upload_file: Blob;
|
||||
};
|
||||
|
||||
12
src/client/models/CityBreakdownFromExcelSchema.ts
Normal file
12
src/client/models/CityBreakdownFromExcelSchema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BaseMarketplaceSchema } from './BaseMarketplaceSchema';
|
||||
import type { OptionalShippingWarehouseSchema } from './OptionalShippingWarehouseSchema';
|
||||
export type CityBreakdownFromExcelSchema = {
|
||||
baseMarketplace: BaseMarketplaceSchema;
|
||||
shippingWarehouse: OptionalShippingWarehouseSchema;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
10
src/client/models/CreateDealsFromExcelRequest.ts
Normal file
10
src/client/models/CreateDealsFromExcelRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProductFromExcelSchema } from './ProductFromExcelSchema';
|
||||
export type CreateDealsFromExcelRequest = {
|
||||
clientId: number;
|
||||
products: Array<ProductFromExcelSchema>;
|
||||
};
|
||||
|
||||
9
src/client/models/CreateDealsFromExcelResponse.ts
Normal file
9
src/client/models/CreateDealsFromExcelResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type CreateDealsFromExcelResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/OptionalShippingWarehouseSchema.ts
Normal file
9
src/client/models/OptionalShippingWarehouseSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type OptionalShippingWarehouseSchema = {
|
||||
name: string;
|
||||
id?: (number | null);
|
||||
};
|
||||
|
||||
10
src/client/models/ParseDealsExcelResponse.ts
Normal file
10
src/client/models/ParseDealsExcelResponse.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ParsedProductRowSchema } from './ParsedProductRowSchema';
|
||||
export type ParseDealsExcelResponse = {
|
||||
rows: Array<ParsedProductRowSchema>;
|
||||
errors: Array<string>;
|
||||
};
|
||||
|
||||
12
src/client/models/ParsedCityBreakdownSchema.ts
Normal file
12
src/client/models/ParsedCityBreakdownSchema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { BaseMarketplaceSchema } from './BaseMarketplaceSchema';
|
||||
import type { OptionalShippingWarehouseSchema } from './OptionalShippingWarehouseSchema';
|
||||
export type ParsedCityBreakdownSchema = {
|
||||
baseMarketplace: BaseMarketplaceSchema;
|
||||
shippingWarehouse: OptionalShippingWarehouseSchema;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
12
src/client/models/ParsedProductRowSchema.ts
Normal file
12
src/client/models/ParsedProductRowSchema.ts
Normal file
@@ -0,0 +1,12 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ParsedCityBreakdownSchema } from './ParsedCityBreakdownSchema';
|
||||
import type { ProductSchema } from './ProductSchema';
|
||||
export type ParsedProductRowSchema = {
|
||||
barcode: string;
|
||||
products: Array<ProductSchema>;
|
||||
breakdowns: Array<ParsedCityBreakdownSchema>;
|
||||
};
|
||||
|
||||
10
src/client/models/ProductFromExcelSchema.ts
Normal file
10
src/client/models/ProductFromExcelSchema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { CityBreakdownFromExcelSchema } from './CityBreakdownFromExcelSchema';
|
||||
export type ProductFromExcelSchema = {
|
||||
productId: number;
|
||||
citiesBreakdown: Array<CityBreakdownFromExcelSchema>;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user