create bankAccount, posAccount and update inventories

This commit is contained in:
2025-12-26 01:20:44 +03:30
parent f671e37b14
commit abfb2f3479
42 changed files with 920 additions and 95 deletions
@@ -0,0 +1,23 @@
import { IInventoryBankAccountSummary } from './types';
export interface IInventoryPosAccountRawResponse {
id: number;
name: string;
code: string;
description: string;
bankAccountId: number;
inventoryId: number;
createdAt: string;
updatedAt: string;
deletedAt: null;
bankAccount: IInventoryBankAccountSummary;
}
export interface IInventoryPosAccountResponse extends IInventoryPosAccountRawResponse {}
export interface IInventoryPosAccountRequest {
name: string;
code: string;
description: string;
bankAccountId: number;
}