mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-14 11:50:31 +00:00
72 lines
1.7 KiB
TypeScript
72 lines
1.7 KiB
TypeScript
export interface ITransactionsLockingAllDTO {
|
|
lockToDate: Date;
|
|
reason: string;
|
|
}
|
|
export interface ITransactionsLockingCashflowDTO {}
|
|
export interface ITransactionsLockingSalesDTO {}
|
|
export interface ITransactionsLockingPurchasesDTO {}
|
|
|
|
export enum TransactionsLockingGroup {
|
|
All = 'all',
|
|
Sales = 'sales',
|
|
Purchases = 'purchases',
|
|
Financial = 'financial',
|
|
}
|
|
|
|
export enum TransactionsLockingType {
|
|
Partial = 'partial',
|
|
All = 'all',
|
|
}
|
|
|
|
export interface ITransactionsLockingPartialUnlocked {
|
|
tenantId: number;
|
|
module: TransactionsLockingGroup;
|
|
transactionLockingDTO: ITransactionsLockingAllDTO;
|
|
}
|
|
|
|
export interface ITransactionsLockingCanceled {
|
|
tenantId: number;
|
|
module: TransactionsLockingGroup;
|
|
cancelLockingDTO: ICancelTransactionsLockingDTO;
|
|
}
|
|
|
|
export interface ITransactionLockingPartiallyDTO {
|
|
unlockFromDate: Date;
|
|
unlockToDate: Date;
|
|
reason: string;
|
|
}
|
|
export interface ICancelTransactionsLockingDTO {
|
|
reason: string;
|
|
}
|
|
export interface ITransactionMeta {
|
|
isEnabled: boolean;
|
|
isPartialUnlock: boolean;
|
|
lockToDate: Date;
|
|
unlockFromDate: string;
|
|
unlockToDate: string;
|
|
lockReason: string;
|
|
unlockReason: string;
|
|
partialUnlockReason: string;
|
|
}
|
|
|
|
export interface ITransactionLockingMetaPOJO {
|
|
module: string;
|
|
formattedModule: string;
|
|
description: string;
|
|
|
|
formattedLockToDate: Date;
|
|
formattedUnlockFromDate: string;
|
|
formattedunlockToDate: string;
|
|
}
|
|
export interface ITransactionsLockingListPOJO {
|
|
lockingType: string;
|
|
all: ITransactionLockingMetaPOJO;
|
|
modules: ITransactionLockingMetaPOJO[];
|
|
}
|
|
|
|
export interface ITransactionsLockingSchema {
|
|
module: TransactionsLockingGroup;
|
|
formattedModule: string;
|
|
description: string;
|
|
}
|