crap
This commit is contained in:
10
src/client/models/DealAddProductRequest.ts
Normal file
10
src/client/models/DealAddProductRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealAddProductRequest = {
|
||||
dealId: number;
|
||||
productId: number;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealAddProductResponse.ts
Normal file
9
src/client/models/DealAddProductResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealAddProductResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteProductRequest.ts
Normal file
9
src/client/models/DealDeleteProductRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteProductRequest = {
|
||||
dealId: number;
|
||||
productId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteProductResponse.ts
Normal file
9
src/client/models/DealDeleteProductResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteProductResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteProductsRequest.ts
Normal file
9
src/client/models/DealDeleteProductsRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteProductsRequest = {
|
||||
dealId: number;
|
||||
productIds: Array<number>;
|
||||
};
|
||||
|
||||
9
src/client/models/DealDeleteProductsResponse.ts
Normal file
9
src/client/models/DealDeleteProductsResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealDeleteProductsResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
10
src/client/models/DealGeneralInfoSchema.ts
Normal file
10
src/client/models/DealGeneralInfoSchema.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealGeneralInfoSchema = {
|
||||
name: string;
|
||||
isDeleted: boolean;
|
||||
isCompleted: boolean;
|
||||
};
|
||||
|
||||
@@ -2,8 +2,10 @@
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ClientSchema } from './ClientSchema';
|
||||
import type { DealProductSchema } from './DealProductSchema';
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
import type { DealStatusHistorySchema } from './DealStatusHistorySchema';
|
||||
export type DealSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
@@ -12,5 +14,9 @@ export type DealSchema = {
|
||||
currentStatus: number;
|
||||
services: Array<DealServiceSchema>;
|
||||
products: Array<DealProductSchema>;
|
||||
statusHistory: Array<DealStatusHistorySchema>;
|
||||
isDeleted: boolean;
|
||||
isCompleted: boolean;
|
||||
client: ClientSchema;
|
||||
};
|
||||
|
||||
|
||||
13
src/client/models/DealStatusHistorySchema.ts
Normal file
13
src/client/models/DealStatusHistorySchema.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { UserSchema } from './UserSchema';
|
||||
export type DealStatusHistorySchema = {
|
||||
user: UserSchema;
|
||||
changedAt: string;
|
||||
fromStatus: number;
|
||||
toStatus: number;
|
||||
nextStatusDeadline: string;
|
||||
};
|
||||
|
||||
10
src/client/models/DealUpdateGeneralInfoRequest.ts
Normal file
10
src/client/models/DealUpdateGeneralInfoRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { DealGeneralInfoSchema } from './DealGeneralInfoSchema';
|
||||
export type DealUpdateGeneralInfoRequest = {
|
||||
dealId: number;
|
||||
data: DealGeneralInfoSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/DealUpdateGeneralInfoResponse.ts
Normal file
9
src/client/models/DealUpdateGeneralInfoResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateGeneralInfoResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
10
src/client/models/DealUpdateProductQuantityRequest.ts
Normal file
10
src/client/models/DealUpdateProductQuantityRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateProductQuantityRequest = {
|
||||
dealId: number;
|
||||
productId: number;
|
||||
quantity: number;
|
||||
};
|
||||
|
||||
9
src/client/models/DealUpdateProductQuantityResponse.ts
Normal file
9
src/client/models/DealUpdateProductQuantityResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealUpdateProductQuantityResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/ProductAddBarcodeRequest.ts
Normal file
9
src/client/models/ProductAddBarcodeRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductAddBarcodeRequest = {
|
||||
productId: number;
|
||||
barcode: string;
|
||||
};
|
||||
|
||||
9
src/client/models/ProductAddBarcodeResponse.ts
Normal file
9
src/client/models/ProductAddBarcodeResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductAddBarcodeResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
8
src/client/models/ProductExistsBarcodeResponse.ts
Normal file
8
src/client/models/ProductExistsBarcodeResponse.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductExistsBarcodeResponse = {
|
||||
exists: boolean;
|
||||
};
|
||||
|
||||
8
src/client/models/ProductGenerateBarcodeRequest.ts
Normal file
8
src/client/models/ProductGenerateBarcodeRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductGenerateBarcodeRequest = {
|
||||
productId: number;
|
||||
};
|
||||
|
||||
10
src/client/models/ProductGenerateBarcodeResponse.ts
Normal file
10
src/client/models/ProductGenerateBarcodeResponse.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductGenerateBarcodeResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
barcode: string;
|
||||
};
|
||||
|
||||
11
src/client/models/UserSchema.ts
Normal file
11
src/client/models/UserSchema.ts
Normal file
@@ -0,0 +1,11 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UserSchema = {
|
||||
id: number;
|
||||
telegramId: number;
|
||||
phoneNumber?: (string | null);
|
||||
isAdmin: boolean;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user