@deboxsoft/accounting-api
Advanced tools
Comparing version 1.5.0-beta.67 to 1.5.0-beta.68
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "1.5.0-beta.67", | ||
"version": "1.5.0-beta.68", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -5,0 +5,0 @@ "repository": { |
@@ -92,2 +92,5 @@ import type { CollectionParams } from "@deboxsoft/module-core"; | ||
userId: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -97,5 +100,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -117,2 +117,5 @@ posting: boolean; | ||
userId: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -122,5 +125,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -190,2 +190,6 @@ }>; | ||
debitAccount?: string | null | undefined; | ||
expenseAccount?: string | undefined; | ||
dateStart?: number | Date | undefined; | ||
monthLife?: number | undefined; | ||
taxAccount?: string | null | undefined; | ||
creditAccounts?: { | ||
@@ -195,6 +199,2 @@ id: string; | ||
}[] | undefined; | ||
expenseAccount?: string | undefined; | ||
dateStart?: number | Date | undefined; | ||
monthLife?: number | undefined; | ||
taxAccount?: string | null | undefined; | ||
amortizationAccount?: string | undefined; | ||
@@ -214,2 +214,6 @@ taxRate?: number | null | undefined; | ||
debitAccount?: string | null | undefined; | ||
expenseAccount?: string | undefined; | ||
dateStart?: number | Date | undefined; | ||
monthLife?: number | undefined; | ||
taxAccount?: string | null | undefined; | ||
creditAccounts?: { | ||
@@ -219,6 +223,2 @@ id: string; | ||
}[] | undefined; | ||
expenseAccount?: string | undefined; | ||
dateStart?: number | Date | undefined; | ||
monthLife?: number | undefined; | ||
taxAccount?: string | null | undefined; | ||
amortizationAccount?: string | undefined; | ||
@@ -310,2 +310,5 @@ taxRate?: number | null | undefined; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -315,5 +318,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -347,2 +347,5 @@ posting: boolean; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -352,5 +355,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -408,2 +408,5 @@ }>; | ||
userId: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -413,5 +416,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -433,2 +433,5 @@ posting: boolean; | ||
userId: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -438,5 +441,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -457,2 +457,5 @@ }>, BddRepoInput, { | ||
userId: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -462,5 +465,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -512,2 +512,5 @@ }>; | ||
debitAccount: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -517,5 +520,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -537,2 +537,5 @@ posting: boolean; | ||
debitAccount: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -542,5 +545,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -579,2 +579,5 @@ }>, { | ||
debitAccount: string; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
creditAccounts: { | ||
@@ -584,5 +587,2 @@ id: string; | ||
}[]; | ||
expenseAccount: string; | ||
dateStart: number | Date; | ||
monthLife: number; | ||
amortizationAccount: string; | ||
@@ -589,0 +589,0 @@ }>; |
@@ -18,3 +18,3 @@ import { CollectionParams } from "@deboxsoft/module-core"; | ||
inventoryAccount: z.ZodString; | ||
creditAccounts: z.ZodArray<z.ZodObject<{ | ||
paymentAccounts: z.ZodArray<z.ZodObject<{ | ||
id: z.ZodString; | ||
@@ -67,3 +67,3 @@ amount: z.ZodEffects<z.ZodNumber, number, number>; | ||
inventoryAccount: string; | ||
creditAccounts: { | ||
paymentAccounts: { | ||
id: string; | ||
@@ -89,3 +89,3 @@ amount: number; | ||
inventoryAccount: string; | ||
creditAccounts: { | ||
paymentAccounts: { | ||
id: string; | ||
@@ -121,3 +121,3 @@ amount: number; | ||
inventoryAccount: z.ZodString; | ||
creditAccounts: z.ZodArray<z.ZodObject<{ | ||
paymentAccounts: z.ZodArray<z.ZodObject<{ | ||
id: z.ZodString; | ||
@@ -148,3 +148,3 @@ amount: z.ZodEffects<z.ZodNumber, number, number>; | ||
inventoryAccount: string; | ||
creditAccounts: { | ||
paymentAccounts: { | ||
id: string; | ||
@@ -169,3 +169,3 @@ amount: number; | ||
inventoryAccount: string; | ||
creditAccounts: { | ||
paymentAccounts: { | ||
id: string; | ||
@@ -172,0 +172,0 @@ amount: number; |
@@ -78,4 +78,12 @@ import { z } from "@deboxsoft/zod"; | ||
description: z.ZodString; | ||
cashAccount: z.ZodString; | ||
cashAmount: z.ZodNumber; | ||
paymentAccounts: z.ZodArray<z.ZodObject<{ | ||
id: z.ZodString; | ||
amount: z.ZodEffects<z.ZodNumber, number, number>; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
amount: number; | ||
}, { | ||
id: string; | ||
amount: number; | ||
}>, "many">; | ||
}>, "strip", z.ZodTypeAny, { | ||
@@ -89,2 +97,6 @@ date?: number | Date | null | undefined; | ||
userId: string; | ||
paymentAccounts: { | ||
id: string; | ||
amount: number; | ||
}[]; | ||
mutation: "STOCK_IN"; | ||
@@ -97,4 +109,2 @@ stockAccount: string; | ||
}[]; | ||
cashAccount: string; | ||
cashAmount: number; | ||
}, { | ||
@@ -108,2 +118,6 @@ date?: number | Date | null | undefined; | ||
userId: string; | ||
paymentAccounts: { | ||
id: string; | ||
amount: number; | ||
}[]; | ||
mutation: "STOCK_IN"; | ||
@@ -116,4 +130,2 @@ stockAccount: string; | ||
}[]; | ||
cashAccount: string; | ||
cashAmount: number; | ||
}>; | ||
@@ -211,4 +223,12 @@ export declare const StockOutTransactionInputSchema: z.ZodObject<z.extendShape<{ | ||
description: z.ZodOptional<z.ZodString>; | ||
cashAccount: z.ZodOptional<z.ZodString>; | ||
cashAmount: z.ZodOptional<z.ZodNumber>; | ||
paymentAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{ | ||
id: z.ZodString; | ||
amount: z.ZodEffects<z.ZodNumber, number, number>; | ||
}, "strip", z.ZodTypeAny, { | ||
id: string; | ||
amount: number; | ||
}, { | ||
id: string; | ||
amount: number; | ||
}>, "many">>; | ||
}>, { | ||
@@ -246,2 +266,6 @@ status: z.ZodOptional<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>; | ||
datePurchase?: number | Date | null | undefined; | ||
paymentAccounts?: { | ||
id: string; | ||
amount: number; | ||
}[] | undefined; | ||
stockAccount?: string | undefined; | ||
@@ -253,4 +277,2 @@ productItems?: { | ||
}[] | undefined; | ||
cashAccount?: string | undefined; | ||
cashAmount?: number | undefined; | ||
expenseAccount?: string | undefined; | ||
@@ -267,2 +289,6 @@ id: string; | ||
datePurchase?: number | Date | null | undefined; | ||
paymentAccounts?: { | ||
id: string; | ||
amount: number; | ||
}[] | undefined; | ||
stockAccount?: string | undefined; | ||
@@ -274,4 +300,2 @@ productItems?: { | ||
}[] | undefined; | ||
cashAccount?: string | undefined; | ||
cashAmount?: number | undefined; | ||
expenseAccount?: string | undefined; | ||
@@ -278,0 +302,0 @@ id: string; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
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
298176
7782