feat: generation of modules from the server, moved modules fields from the general tab
This commit is contained in:
@@ -9,7 +9,6 @@ export type CardGeneralInfoSchema = {
|
||||
isDeleted: boolean;
|
||||
isCompleted: boolean;
|
||||
comment: string;
|
||||
shippingWarehouse?: (string | null);
|
||||
manager?: (UserSchema | null);
|
||||
boardId: number;
|
||||
statusId: number;
|
||||
|
||||
@@ -6,6 +6,7 @@ export type ModuleSchema = {
|
||||
id: number;
|
||||
key: string;
|
||||
label: string;
|
||||
iconName?: (string | null);
|
||||
isDeleted: boolean;
|
||||
};
|
||||
|
||||
|
||||
10
src/client/models/ProductsAndServicesGeneralInfoRequest.ts
Normal file
10
src/client/models/ProductsAndServicesGeneralInfoRequest.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
import type { ProductsAndServicesGeneralInfoSchema } from './ProductsAndServicesGeneralInfoSchema';
|
||||
export type ProductsAndServicesGeneralInfoRequest = {
|
||||
cardId: number;
|
||||
data: ProductsAndServicesGeneralInfoSchema;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductsAndServicesGeneralInfoResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type ProductsAndServicesGeneralInfoSchema = {
|
||||
shippingWarehouse?: (string | null);
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateCardClientRequest.ts
Normal file
9
src/client/models/UpdateCardClientRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateCardClientRequest = {
|
||||
cardId: number;
|
||||
clientId: number;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateCardClientResponse.ts
Normal file
9
src/client/models/UpdateCardClientResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateCardClientResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateCardManagerRequest.ts
Normal file
9
src/client/models/UpdateCardManagerRequest.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateCardManagerRequest = {
|
||||
cardId: number;
|
||||
managerId: (number | null);
|
||||
};
|
||||
|
||||
9
src/client/models/UpdateCardManagerResponse.ts
Normal file
9
src/client/models/UpdateCardManagerResponse.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
/* generated using openapi-typescript-codegen -- do not edit */
|
||||
/* istanbul ignore file */
|
||||
/* tslint:disable */
|
||||
/* eslint-disable */
|
||||
export type UpdateCardManagerResponse = {
|
||||
ok: boolean;
|
||||
message: string;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user