crap
This commit is contained in:
10
src/client/models/DealAddServicesRequest.ts
Normal file
10
src/client/models/DealAddServicesRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
export type DealAddServicesRequest = {
|
||||
deal_id: number;
|
||||
services: Array<DealServiceSchema>;
|
||||
};
|
||||
|
||||
9
src/client/models/DealAddServicesResponse.ts
Normal file
9
src/client/models/DealAddServicesResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealAddServicesResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DealServiceSchema.ts
Normal file
9
src/client/models/DealServiceSchema.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealServiceSchema = {
|
||||
id: number;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
@@ -8,5 +8,6 @@ export type DealSummary = {
|
||||
client_name: string;
|
||||
changed_at: string;
|
||||
status: number;
|
||||
total_price: number;
|
||||
};
|
||||
|
||||
|
||||
10
src/client/models/ProductCreateRequest.ts
Normal file
10
src/client/models/ProductCreateRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductCreateRequest = {
|
||||
name: string;
|
||||
article: string;
|
||||
client_id: number;
|
||||
};
|
||||
|
||||
8
src/client/models/ProductCreateResponse.ts
Normal file
8
src/client/models/ProductCreateResponse.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductCreateResponse = {
|
||||
product_id: number;
|
||||
};
|
||||
|
||||
9
src/client/models/ProductGetResponse.ts
Normal file
9
src/client/models/ProductGetResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProductSchema } from './ProductSchema';
|
||||
export type ProductGetResponse = {
|
||||
products: Array<ProductSchema>;
|
||||
};
|
||||
|
||||
11
src/client/models/ProductSchema.ts
Normal file
11
src/client/models/ProductSchema.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
article: string;
|
||||
client_id: number;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user