@deboxsoft/accounting-api
Advanced tools
Comparing version 0.2.0-28 to 0.2.0-29
@@ -43,2 +43,3 @@ 'use strict'; | ||
accountId: z.string().nonempty(), | ||
amount: numberNonNullSchema, | ||
accounts: z.array(JournalAccountSchema).min(1), | ||
@@ -122,3 +123,2 @@ status: TransactionStatusSchema | ||
accountId: z.string().nonempty(), | ||
oppositeAccountId: z.string().nonempty(), | ||
transactionId: z.string().nonempty(), | ||
@@ -125,0 +125,0 @@ description: z.string().nullable().optional(), |
@@ -35,2 +35,3 @@ import { object, string, boolean, number, enum as enum$1, date, array, union } from '@deboxsoft/zod'; | ||
accountId: string().nonempty(), | ||
amount: numberNonNullSchema, | ||
accounts: array(JournalAccountSchema).min(1), | ||
@@ -114,3 +115,2 @@ status: TransactionStatusSchema | ||
accountId: string().nonempty(), | ||
oppositeAccountId: string().nonempty(), | ||
transactionId: string().nonempty(), | ||
@@ -117,0 +117,0 @@ description: string().nullable().optional(), |
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "0.2.0-28", | ||
"version": "0.2.0-29", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -41,3 +41,3 @@ "repository": { | ||
"dependencies": { | ||
"@deboxsoft/module-core": "^1.8.0-0", | ||
"@deboxsoft/module-core": "~1.8.0-0", | ||
"date-fns": "^2.19.0", | ||
@@ -44,0 +44,0 @@ "mustache": "^4.1.0", |
@@ -13,3 +13,2 @@ import * as z from "@deboxsoft/zod"; | ||
accountId: z.ZodString; | ||
oppositeAccountId: z.ZodString; | ||
transactionId: z.ZodString; | ||
@@ -26,3 +25,2 @@ description: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
balance: number; | ||
oppositeAccountId: string; | ||
transactionId: string; | ||
@@ -36,3 +34,2 @@ }, { | ||
balance: number; | ||
oppositeAccountId: string; | ||
transactionId: string; | ||
@@ -46,3 +43,2 @@ }>; | ||
balance: z.ZodNumber; | ||
oppositeAccountId: z.ZodString; | ||
transactionId: z.ZodString; | ||
@@ -55,3 +51,2 @@ }, "strip", z.ZodTypeAny, { | ||
balance: number; | ||
oppositeAccountId: string; | ||
transactionId: string; | ||
@@ -64,4 +59,3 @@ }, { | ||
balance: number; | ||
oppositeAccountId: string; | ||
transactionId: string; | ||
}>; |
@@ -32,2 +32,3 @@ import type { CollectionParams } from "@deboxsoft/module-core"; | ||
accountId: z.ZodString; | ||
amount: z.ZodNumber; | ||
accounts: z.ZodArray<z.ZodObject<{ | ||
@@ -51,2 +52,3 @@ accountId: z.ZodString; | ||
accountId: string; | ||
amount: number; | ||
userId: string; | ||
@@ -66,2 +68,3 @@ total: number; | ||
accountId: string; | ||
amount: number; | ||
userId: string; | ||
@@ -90,2 +93,3 @@ total: number; | ||
accountId: z.ZodString; | ||
amount: z.ZodNumber; | ||
userId: z.ZodString; | ||
@@ -110,2 +114,3 @@ no: z.ZodOptional<z.ZodNullable<z.ZodString>>; | ||
accountId: string; | ||
amount: number; | ||
userId: string; | ||
@@ -123,2 +128,3 @@ total: number; | ||
accountId: string; | ||
amount: number; | ||
userId: string; | ||
@@ -125,0 +131,0 @@ total: number; |
@@ -10,2 +10,3 @@ import type { PageCursorResult } from "@deboxsoft/module-core"; | ||
accountId: string; | ||
amount: number; | ||
userId: string; | ||
@@ -12,0 +13,0 @@ total: number; |
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
1634
63636