@deboxsoft/accounting-api
Advanced tools
Comparing version 1.4.0-beta.69 to 1.4.0-beta.70
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "1.4.0-beta.69", | ||
"version": "1.4.0-beta.70", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -40,3 +40,3 @@ "repository": { | ||
"@deboxsoft/plop-generator": "^1.0.1-beta.22", | ||
"@deboxsoft/users-api": "~1.3.1", | ||
"@deboxsoft/users-api": "~1.3.6", | ||
"@deboxsoft/zod": "^3.11.5", | ||
@@ -87,6 +87,6 @@ "@nurdiansyah/bump": "^6.1.2", | ||
"test:watch": "watchlist src -- pnpm test src", | ||
"bump": "pnpm run build && bump -c \"release api v\"", | ||
"release": "pnpm run bump -- -t \"api-v\" && pnpm publish", | ||
"bump": "pnpm run build && bump", | ||
"release": "pnpm run bump -- -t \"api-v\" -c \"release api v\" && pnpm publish", | ||
"release:dev": "git add . && pnpm run bump -- -p prerelease && pnpm publish --tag dev --no-git-checks" | ||
} | ||
} |
import { PageCursorResult } from "@deboxsoft/module-core"; | ||
import type { Bdd, BddFilter, BddInput, BddParams, AmortizationLogDetail, BddDetail, RemainingContract } from "../models/Bdd"; | ||
import type { Bdd, BddFilter, BddInput, BddParams, AmortizationLogDetail, BddDetail, RemainingContract, Amortization } from "../models/Bdd"; | ||
export interface BddService { | ||
@@ -12,2 +12,3 @@ create(input: BddInput): Promise<string>; | ||
find(filter?: BddFilter): Promise<Bdd[]>; | ||
getBddAmortization(id: string): Promise<Amortization[]>; | ||
amortizationDetail(id: string, month: string): Promise<AmortizationLogDetail>; | ||
@@ -14,0 +15,0 @@ warningContract(): Promise<PageCursorResult<RemainingContract>>; |
import { PageCursorResult } from "@deboxsoft/module-core"; | ||
import type { CategoryInventory, CategoryInventoryInput, CategoryInventoryUpdateInput, DepreciationDetail, Inventory, InventoryDetail, InventoryFilter, InventoryInput, InventoryParams, InventoryRemoveInput, InventoryUpdateInput } from "../models"; | ||
import type { CategoryInventory, CategoryInventoryInput, CategoryInventoryUpdateInput, Depreciation, DepreciationDetail, Inventory, InventoryDetail, InventoryFilter, InventoryInput, InventoryParams, InventoryRemoveInput, InventoryUpdateInput } from "../models"; | ||
export interface InventoryService { | ||
@@ -12,2 +12,3 @@ create(input: InventoryInput): Promise<string>; | ||
find(filter?: InventoryFilter): Promise<Inventory[]>; | ||
getInventoryDepreciation(id: string): Promise<Depreciation[]>; | ||
depreciationDetail(categoryId: string, month: string): Promise<DepreciationDetail>; | ||
@@ -14,0 +15,0 @@ createCategory(input: CategoryInventoryInput): Promise<string>; |
202028
5326