Merge remote-tracking branch 'origin/cards'

# Conflicts:
#	src/client/index.ts
This commit is contained in:
2025-03-11 22:39:50 +03:00
396 changed files with 7349 additions and 4871 deletions

View File

@@ -0,0 +1,18 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AttributeTypeSchema } from './AttributeTypeSchema';
export type AttributeSchema = {
label: string;
name: string;
isApplicableToGroup: boolean;
isNullable: boolean;
defaultValue: (boolean | number | string | null);
typeId: number;
description: string;
id: number;
type: AttributeTypeSchema;
isDeleted: boolean;
};

View File

@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type AttributeTypeSchema = {
id: number;
type: string;
name: string;
isDeleted: boolean;
};

View File

@@ -0,0 +1,14 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type BaseAttributeSchema = {
label: string;
name: string;
isApplicableToGroup: boolean;
isNullable: boolean;
defaultValue: (boolean | number | string | null);
typeId: number;
description: string;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type BaseCardTagSchema = {
name: string;
projectId: number;
};

View File

@@ -9,7 +9,7 @@ export type BoardSchema = {
projectId: number;
id: number;
ordinalNumber: number;
dealStatuses: Array<StatusSchema>;
statuses: Array<StatusSchema>;
project: ProjectSchema;
};

View File

@@ -2,12 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { ProductSchema } from './ProductSchema';
import type { ShippingProductSchema } from './ShippingProductSchema';
export type BoxSchema = {
id: number;
quantity: number;
product: (ProductSchema | null);
palletId: (number | null);
dealId: (number | null);
cardId: (number | null);
shippingProducts: Array<ShippingProductSchema>;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CancelDealBillRequest = {
dealId: number;
export type CancelCardBillRequest = {
cardId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateDealBillResponse = {
export type CancelCardBillResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddKitRequest = {
dealId: number;
export type CardAddKitRequest = {
cardId: number;
kitId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteResponse = {
export type CardAddKitResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardProductSchema } from './CardProductSchema';
export type CardAddProductRequest = {
cardId: number;
product: CardProductSchema;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CancelDealBillResponse = {
export type CardAddProductResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddServiceRequest = {
dealId: number;
export type CardAddServiceRequest = {
cardId: number;
serviceId: number;
quantity: number;
price: number;

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddProductResponse = {
export type CardAddServiceResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardServiceSchema } from './CardServiceSchema';
export type CardAddServicesRequest = {
cardId: number;
services: Array<CardServiceSchema>;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardAddServicesResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddToGroupRequest = {
dealId: number;
export type CardAddToGroupRequest = {
cardId: number;
groupId: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardAddToGroupResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,11 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { AttributeSchema } from './AttributeSchema';
export type CardAttributeSchema = {
value: (boolean | number | string | null);
cardId: number;
attribute: AttributeSchema;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealBillRequestSchema = {
dealId: number;
export type CardBillRequestSchema = {
cardId: number;
createdAt: string;
paid: boolean;
pdfUrl: (string | null);

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealChangeStatusRequest = {
dealId: number;
export type CardChangeStatusRequest = {
cardId: number;
newStatus: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealChangeStatusResponse = {
export type CardChangeStatusResponse = {
ok: boolean;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealCompleteRequest = {
dealId: number;
export type CardCompleteRequest = {
cardId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealCompleteResponse = {
export type CardCompleteResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardCreateGroupResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardCreateGuestUrlRequest = {
cardId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealCreateGuestUrlResponse = {
export type CardCreateGuestUrlResponse = {
ok: boolean;
message: string;
url: string;

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteProductRequest = {
dealId: number;
export type CardDeleteProductRequest = {
cardId: number;
productId: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardDeleteProductResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteProductsRequest = {
dealId: number;
export type CardDeleteProductsRequest = {
cardId: number;
productIds: Array<number>;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardDeleteProductsResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteRequest = {
dealId: number;
export type CardDeleteRequest = {
cardId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddKitResponse = {
export type CardDeleteResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteServiceRequest = {
dealId: number;
export type CardDeleteServiceRequest = {
cardId: number;
serviceId: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardDeleteServiceResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteServicesRequest = {
dealId: number;
export type CardDeleteServicesRequest = {
cardId: number;
serviceIds: Array<number>;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardDeleteServicesResponse = {
ok: boolean;
message: string;
};

View File

@@ -3,7 +3,7 @@
/* tslint:disable */
/* eslint-disable */
import type { UserSchema } from './UserSchema';
export type DealEmployeesSchema = {
export type CardEmployeesSchema = {
user: UserSchema;
createdAt: string;
};

View File

@@ -0,0 +1,18 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { UserSchema } from './UserSchema';
export type CardGeneralInfoSchema = {
attributes?: Record<string, (boolean | string | number | null)>;
name: string;
isDeleted: boolean;
isCompleted: boolean;
comment: string;
manager?: (UserSchema | null);
boardId: number;
statusId: number;
clientId: (number | null);
tags: Array<string>;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardSchema } from './CardSchema';
export type CardGetAllResponse = {
cards: Array<CardSchema>;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealGroupChangeStatusRequest = {
export type CardGroupChangeStatusRequest = {
groupId: number;
newStatus: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardGroupChangeStatusResponse = {
ok: boolean;
message: string;
};

View File

@@ -3,7 +3,7 @@
/* tslint:disable */
/* eslint-disable */
import type { GroupBillRequestSchema } from './GroupBillRequestSchema';
export type DealGroupSchema = {
export type CardGroupSchema = {
id: number;
name?: (string | null);
lexorank: string;

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardGroupSchema } from './CardGroupSchema';
export type CardGroupUpdateRequest = {
data: CardGroupSchema;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardGroupUpdateResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardPrefillRequest = {
oldCardId: number;
newCardId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealPrefillResponse = {
export type CardPrefillResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealProductAddKitRequest = {
dealId: number;
export type CardProductAddKitRequest = {
cardId: number;
productId: number;
kitId: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardProductAddKitResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,11 +2,11 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DealProductServiceSchema } from './DealProductServiceSchema';
import type { CardProductServiceSchema } from './CardProductServiceSchema';
import type { ProductSchema } from './ProductSchema';
export type DealProductSchema = {
export type CardProductSchema = {
product: ProductSchema;
services: Array<DealProductServiceSchema>;
services: Array<CardProductServiceSchema>;
quantity: number;
comment?: string;
};

View File

@@ -4,7 +4,7 @@
/* eslint-disable */
import type { ServiceSchema } from './ServiceSchema';
import type { UserSchema } from './UserSchema';
export type DealProductServiceSchema = {
export type CardProductServiceSchema = {
service: ServiceSchema;
price: number;
employees: Array<UserSchema>;

View File

@@ -3,13 +3,13 @@
/* tslint:disable */
/* eslint-disable */
import type { BaseMarketplaceSchema } from './BaseMarketplaceSchema';
export type DealQuickCreateRequest = {
export type CardQuickCreateRequest = {
name: string;
clientName: string;
clientName: (string | null);
comment: string;
acceptanceDate: string;
shippingWarehouse: string;
baseMarketplace: BaseMarketplaceSchema;
shippingWarehouse: (string | null);
baseMarketplace: (BaseMarketplaceSchema | null);
statusId: number;
};

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardQuickCreateResponse = {
cardId: number;
};

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardRecalculatePriceRequest = {
cardId: number;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateDealsFromExcelResponse = {
export type CardRecalculatePriceResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,8 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardRemoveFromGroupRequest = {
cardId: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardRemoveFromGroupResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,46 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BoardSchema } from './BoardSchema';
import type { BoxSchema } from './BoxSchema';
import type { CardAttributeSchema } from './CardAttributeSchema';
import type { CardBillRequestSchema } from './CardBillRequestSchema';
import type { CardEmployeesSchema } from './CardEmployeesSchema';
import type { CardGroupSchema } from './CardGroupSchema';
import type { CardProductSchema } from './CardProductSchema';
import type { CardServiceSchema } from './CardServiceSchema';
import type { CardStatusHistorySchema } from './CardStatusHistorySchema';
import type { CardTagSchema } from './CardTagSchema';
import type { ClientSchema } from './ClientSchema';
import type { PalletSchema } from './PalletSchema';
import type { ShippingWarehouseSchema } from './ShippingWarehouseSchema';
import type { StatusSchema } from './StatusSchema';
import type { UserSchema } from './UserSchema';
export type CardSchema = {
id: number;
name: string;
comment: string;
createdAt: string;
status: StatusSchema;
board: BoardSchema;
statusHistory: Array<CardStatusHistorySchema>;
isDeleted: boolean;
isCompleted: boolean;
isServicesProfitAccounted: boolean;
isLocked: boolean;
services: Array<CardServiceSchema>;
products: Array<CardProductSchema>;
clientId: (number | null);
client: (ClientSchema | null);
shippingWarehouse?: (ShippingWarehouseSchema | string | null);
billRequest?: (CardBillRequestSchema | null);
group?: (CardGroupSchema | null);
manager?: (UserSchema | null);
pallets?: Array<PalletSchema>;
boxes?: Array<BoxSchema>;
employees?: Array<CardEmployeesSchema>;
tags?: Array<CardTagSchema>;
attributes: Array<CardAttributeSchema>;
};

View File

@@ -4,7 +4,7 @@
/* eslint-disable */
import type { ServiceSchema } from './ServiceSchema';
import type { UserSchema } from './UserSchema';
export type DealServiceSchema = {
export type CardServiceSchema = {
service: ServiceSchema;
quantity: number;
price: number;

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealServicesCopyRequest = {
dealId: number;
export type CardServicesCopyRequest = {
cardId: number;
sourceProductId: number;
destinationProductIds: Array<number>;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardServicesCopyResponse = {
ok: boolean;
message: string;
};

View File

@@ -4,7 +4,7 @@
/* eslint-disable */
import type { StatusSchema } from './StatusSchema';
import type { UserSchema } from './UserSchema';
export type DealStatusHistorySchema = {
export type CardStatusHistorySchema = {
user: UserSchema;
changedAt: string;
fromStatus: StatusSchema;

View File

@@ -4,13 +4,14 @@
/* eslint-disable */
import type { BaseMarketplaceSchema } from './BaseMarketplaceSchema';
import type { BoardSchema } from './BoardSchema';
import type { DealBillRequestSchema } from './DealBillRequestSchema';
import type { DealGroupSchema } from './DealGroupSchema';
import type { CardBillRequestSchema } from './CardBillRequestSchema';
import type { CardGroupSchema } from './CardGroupSchema';
import type { CardTagSchema } from './CardTagSchema';
import type { StatusSchema } from './StatusSchema';
export type DealSummary = {
export type CardSummary = {
id: number;
name: string;
clientName: string;
clientName: (string | null);
createdAt: string;
status: StatusSchema;
board: BoardSchema;
@@ -18,11 +19,10 @@ export type DealSummary = {
rank: number;
baseMarketplace?: (BaseMarketplaceSchema | null);
totalProducts: number;
tags: Array<CardTagSchema>;
shipmentWarehouseId: (number | null);
shipmentWarehouseName: (string | null);
deliveryDate?: (string | null);
receivingSlotDate?: (string | null);
billRequest?: (DealBillRequestSchema | null);
group?: (DealGroupSchema | null);
billRequest?: (CardBillRequestSchema | null);
group?: (CardGroupSchema | null);
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealSummaryReorderRequest = {
dealId: number;
export type CardSummaryReorderRequest = {
cardId: number;
statusId: number;
index: number;
deadline?: (string | null);

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardSummary } from './CardSummary';
export type CardSummaryResponse = {
summaries: Array<CardSummary>;
};

View File

@@ -2,9 +2,9 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type ProjectSchemaWithCount = {
export type CardTagSchema = {
name: string;
projectId: number;
id: number;
boardsCount: number;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardGeneralInfoSchema } from './CardGeneralInfoSchema';
export type CardUpdateGeneralInfoRequest = {
cardId: number;
data: CardGeneralInfoSchema;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardUpdateGeneralInfoResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealUpdateProductQuantityRequest = {
dealId: number;
export type CardUpdateProductQuantityRequest = {
cardId: number;
productId: number;
quantity: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardUpdateProductQuantityResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardProductSchema } from './CardProductSchema';
export type CardUpdateProductRequest = {
cardId: number;
product: CardProductSchema;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardUpdateProductResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,8 +2,8 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealUpdateServiceQuantityRequest = {
dealId: number;
export type CardUpdateServiceQuantityRequest = {
cardId: number;
serviceId: number;
quantity: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardUpdateServiceQuantityResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CardServiceSchema } from './CardServiceSchema';
export type CardUpdateServiceRequest = {
cardId: number;
service: CardServiceSchema;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CardUpdateServiceResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseAttributeSchema } from './BaseAttributeSchema';
export type CreateAttributeRequest = {
attribute: BaseAttributeSchema;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateAttributeResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateBoxInDealSchema = {
dealId: (number | null);
export type CreateBoxInCardSchema = {
cardId: (number | null);
};

View File

@@ -0,0 +1,10 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { CreateBoxInCardSchema } from './CreateBoxInCardSchema';
import type { CreateBoxInPalletSchema } from './CreateBoxInPalletSchema';
export type CreateBoxRequest = {
data: (CreateBoxInCardSchema | CreateBoxInPalletSchema);
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type UpdateBoxResponse = {
export type CreateBoxResponse = {
ok: boolean;
message: string;
};

View File

@@ -2,7 +2,7 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateDealBillRequest = {
dealId: number;
export type CreateCardBillRequest = {
cardId: number;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateCardBillResponse = {
ok: boolean;
message: string;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateCardGroupRequest = {
draggingCardId: number;
hoveredCardId: number;
};

View File

@@ -3,7 +3,7 @@
/* tslint:disable */
/* eslint-disable */
import type { ProductFromExcelSchema } from './ProductFromExcelSchema';
export type CreateDealsFromExcelRequest = {
export type CreateCardsFromExcelRequest = {
clientId: number;
statusId: number;
products: Array<ProductFromExcelSchema>;

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateCardsFromExcelResponse = {
ok: boolean;
message: string;
};

View File

@@ -5,6 +5,7 @@
export type CreateShippingProductSchema = {
productId: (number | null);
quantity: (number | null);
palletId: number;
palletId?: (number | null);
boxId?: (number | null);
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { BaseCardTagSchema } from './BaseCardTagSchema';
export type CreateTagRequest = {
tag: BaseCardTagSchema;
};

View File

@@ -0,0 +1,9 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type CreateTagResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,10 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DealProductSchema } from './DealProductSchema';
export type DealAddProductRequest = {
dealId: number;
product: DealProductSchema;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddServiceResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,10 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
import type { DealServiceSchema } from './DealServiceSchema';
export type DealAddServicesRequest = {
dealId: number;
services: Array<DealServiceSchema>;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddServicesResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealAddToGroupResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealCreateGroupRequest = {
draggingDealId: number;
hoveredDealId: number;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealCreateGroupResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,8 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealCreateGuestUrlRequest = {
dealId: number;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteProductResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteProductsResponse = {
ok: boolean;
message: string;
};

View File

@@ -1,9 +0,0 @@
/* generated using openapi-typescript-codegen -- do not edit */
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */
export type DealDeleteServiceResponse = {
ok: boolean;
message: string;
};

Some files were not shown because too many files have changed in this diff Show More