@deboxsoft/accounting-api
Advanced tools
Comparing version 1.5.0-beta.56 to 1.5.0-beta.57
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "1.5.0-beta.56", | ||
"version": "1.5.0-beta.57", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -29,3 +29,3 @@ import { PreferenceAccounting } from "./PreferenceAccounting"; | ||
export declare type ReportingPreference = { | ||
codeAccount: PreferenceAccounting["codeAccount"]; | ||
typeCodeAccount: PreferenceAccounting["typeCodeAccount"]; | ||
}; | ||
@@ -32,0 +32,0 @@ export declare type BalanceReportValue = number; |
@@ -21,3 +21,3 @@ import { z } from "@deboxsoft/zod"; | ||
}; | ||
codeAccount: { | ||
typeCodeAccount: { | ||
assets: string; | ||
@@ -30,2 +30,4 @@ payable: string; | ||
receivable: string; | ||
}; | ||
exclusiveCodeAccount: { | ||
bdd: string; | ||
@@ -68,2 +70,11 @@ expenseAmortization: string; | ||
verificationTimeTransaction?: number | undefined; | ||
bdd: string; | ||
expenseAmortization: string; | ||
accumulationAmortization: string; | ||
inventory: string; | ||
expenseDepreciation: string; | ||
accumulationDepreciation: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
period: number; | ||
@@ -77,2 +88,7 @@ assets: string; | ||
receivable: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
}, { | ||
depreciationSchedule?: number | undefined; | ||
verificationTimeTransaction?: number | undefined; | ||
bdd: string; | ||
@@ -84,10 +100,5 @@ expenseAmortization: string; | ||
accumulationDepreciation: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
}, { | ||
depreciationSchedule?: number | undefined; | ||
verificationTimeTransaction?: number | undefined; | ||
period: number; | ||
@@ -101,13 +112,4 @@ assets: string; | ||
receivable: string; | ||
bdd: string; | ||
expenseAmortization: string; | ||
accumulationAmortization: string; | ||
inventory: string; | ||
expenseDepreciation: string; | ||
accumulationDepreciation: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
}>; | ||
@@ -139,2 +141,11 @@ export declare const transformPreferenceAccountingInput: (bank: PreferenceAccounting["bank"]) => z.ZodEffects<z.ZodObject<{ | ||
verificationTimeTransaction?: number | undefined; | ||
bdd: string; | ||
expenseAmortization: string; | ||
accumulationAmortization: string; | ||
inventory: string; | ||
expenseDepreciation: string; | ||
accumulationDepreciation: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
period: number; | ||
@@ -148,2 +159,7 @@ assets: string; | ||
receivable: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
}, { | ||
depreciationSchedule?: number | undefined; | ||
verificationTimeTransaction?: number | undefined; | ||
bdd: string; | ||
@@ -155,10 +171,5 @@ expenseAmortization: string; | ||
accumulationDepreciation: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
}, { | ||
depreciationSchedule?: number | undefined; | ||
verificationTimeTransaction?: number | undefined; | ||
period: number; | ||
@@ -172,2 +183,7 @@ assets: string; | ||
receivable: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
}>, PreferenceAccounting, { | ||
depreciationSchedule?: number | undefined; | ||
verificationTimeTransaction?: number | undefined; | ||
bdd: string; | ||
@@ -179,10 +195,5 @@ expenseAmortization: string; | ||
accumulationDepreciation: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
}>, PreferenceAccounting, { | ||
depreciationSchedule?: number | undefined; | ||
verificationTimeTransaction?: number | undefined; | ||
period: number; | ||
@@ -196,14 +207,5 @@ assets: string; | ||
receivable: string; | ||
bdd: string; | ||
expenseAmortization: string; | ||
accumulationAmortization: string; | ||
inventory: string; | ||
expenseDepreciation: string; | ||
accumulationDepreciation: string; | ||
inventoryPayableAccount: string; | ||
stockPaymentPayableAccount: string; | ||
stock: string; | ||
profitLastYear: string; | ||
profitCurrent: string; | ||
}>; | ||
export declare const transformPreferenceAccountingForm: ({ codeAccount, transaction, depreciation, inventory, stockPayment, ..._ }: PreferenceAccounting) => PreferenceAccountingForm; | ||
export declare const transformPreferenceAccountingForm: ({ exclusiveCodeAccount, typeCodeAccount, transaction, depreciation, inventory, stockPayment, ..._ }: PreferenceAccounting) => PreferenceAccountingForm; |
@@ -11,5 +11,5 @@ import type { Account, PreferenceAccounting } from "../models"; | ||
isAccumulationAccount(accountId: string): boolean; | ||
excludeCodeAccount(account: Account): boolean; | ||
isProfitLastYear(accountId: string): boolean; | ||
isProfitCurrent(accountId: string): boolean; | ||
isExclusiveAccount(account: Account): boolean; | ||
}; | ||
@@ -16,0 +16,0 @@ export declare const getAccountsTree: (accounts: Account[], transform?: (account: any) => any) => Account[]; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
297383
7751