@deboxsoft/accounting-api
Advanced tools
Comparing version 0.2.0-19 to 0.2.0-20
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "0.2.0-19", | ||
"version": "0.2.0-20", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -1,11 +0,9 @@ | ||
import type { CollectionParams } from "@deboxsoft/module-core"; | ||
import * as z from "@deboxsoft/zod"; | ||
export declare type GeneralLedger = z.infer<typeof GeneralLedgerSchema>; | ||
export declare type GeneralLedgerInput = z.infer<typeof GeneralLedgerInputSchema>; | ||
export declare type GeneralLedgerParams = CollectionParams<{ | ||
export declare type GeneralLedgerParams = { | ||
month: number; | ||
year: number; | ||
accountId?: string; | ||
refresh?: boolean; | ||
}>; | ||
}; | ||
export declare const GeneralLedgerSchema: z.ZodObject<{ | ||
@@ -12,0 +10,0 @@ id: z.ZodString; |
@@ -1,6 +0,5 @@ | ||
import type { PageCursorResult } from "@deboxsoft/module-core"; | ||
import type { BalanceSheetParams, GeneralLedger, GeneralLedgerParams } from "../schema"; | ||
export interface GeneralLedgerService { | ||
getGeneralLedger: (params: GeneralLedgerParams) => Promise<PageCursorResult<GeneralLedger>>; | ||
getGeneralLedger: (params: GeneralLedgerParams) => Promise<GeneralLedger[]>; | ||
getBalanceSheet: (params: BalanceSheetParams) => Promise<GeneralLedger[]>; | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
38633
1063