crap
This commit is contained in:
@@ -3,6 +3,6 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type AuthLoginResponse = {
|
||||
access_token: string;
|
||||
accessToken: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
export type ClientDetailsSchema = {
|
||||
address?: (string | null);
|
||||
phone_number?: (string | null);
|
||||
phoneNumber?: (string | null);
|
||||
inn?: (number | null);
|
||||
email?: (string | null);
|
||||
};
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
import type { ClientDetailsSchema } from './ClientDetailsSchema';
|
||||
export type ClientUpdateDetailsRequest = {
|
||||
client_id: number;
|
||||
clientId: number;
|
||||
details: ClientDetailsSchema;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
/* eslint-disable */
|
||||
import type { DealServiceSchema } from './DealServiceSchema';
|
||||
export type DealAddServicesRequest = {
|
||||
deal_id: number;
|
||||
dealId: number;
|
||||
services: Array<DealServiceSchema>;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealChangeStatusRequest = {
|
||||
deal_id: number;
|
||||
new_status: number;
|
||||
dealId: number;
|
||||
newStatus: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
/* eslint-disable */
|
||||
export type DealQuickCreateRequest = {
|
||||
name: string;
|
||||
client_name: string;
|
||||
client_address: string;
|
||||
clientName: string;
|
||||
clientAddress: string;
|
||||
comment: string;
|
||||
acceptance_date: string;
|
||||
acceptanceDate: string;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,6 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type DealQuickCreateResponse = {
|
||||
deal_id: number;
|
||||
dealId: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -5,9 +5,9 @@
|
||||
export type DealSummary = {
|
||||
id: number;
|
||||
name: string;
|
||||
client_name: string;
|
||||
changed_at: string;
|
||||
clientName: string;
|
||||
changedAt: string;
|
||||
status: number;
|
||||
total_price: number;
|
||||
totalPrice: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type PaginationInfoSchema = {
|
||||
total_pages: number;
|
||||
total_items: number;
|
||||
totalPages: number;
|
||||
totalItems: number;
|
||||
};
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
export type ProductCreateRequest = {
|
||||
name: string;
|
||||
article: string;
|
||||
client_id: number;
|
||||
clientId: number;
|
||||
barcodes: Array<string>;
|
||||
};
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductCreateResponse = {
|
||||
product_id: number;
|
||||
ok: boolean;
|
||||
message: string;
|
||||
productId?: (number | null);
|
||||
};
|
||||
|
||||
|
||||
8
src/client/models/ProductDeleteRequest.ts
Normal file
8
src/client/models/ProductDeleteRequest.ts
Normal file
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductDeleteRequest = {
|
||||
productId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/ProductDeleteResponse.ts
Normal file
9
src/client/models/ProductDeleteResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductDeleteResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
@@ -6,6 +6,6 @@ import type { PaginationInfoSchema } from './PaginationInfoSchema';
|
||||
import type { ProductSchema } from './ProductSchema';
|
||||
export type ProductGetResponse = {
|
||||
products: Array<ProductSchema>;
|
||||
pagination_info: PaginationInfoSchema;
|
||||
paginationInfo: PaginationInfoSchema;
|
||||
};
|
||||
|
||||
|
||||
@@ -6,6 +6,7 @@ export type ProductSchema = {
|
||||
id: number;
|
||||
name: string;
|
||||
article: string;
|
||||
client_id: number;
|
||||
clientId: number;
|
||||
barcodes: Array<string>;
|
||||
};
|
||||
|
||||
|
||||
9
src/client/models/ProductUpdateRequest.ts
Normal file
9
src/client/models/ProductUpdateRequest.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 ProductUpdateRequest = {
|
||||
product: ProductSchema;
|
||||
};
|
||||
|
||||
9
src/client/models/ProductUpdateResponse.ts
Normal file
9
src/client/models/ProductUpdateResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do no edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductUpdateResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user