@deboxsoft/accounting-api
Advanced tools
Comparing version 1.5.2 to 1.5.3
{ | ||
"name": "@deboxsoft/accounting-api", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"license": "SEE LICENSE IN LICENSE.md", | ||
@@ -50,3 +50,2 @@ "repository": { | ||
"faker": "^5.5.3", | ||
"husky": "^4.3.8", | ||
"npm-run-all": "^4.1.5", | ||
@@ -101,5 +100,5 @@ "rimraf": "^3.0.2", | ||
"publish:dev": "pnpm publish --tag dev --no-git-checks", | ||
"release": "pnpm run bump -- -p -t \"api-v\" -c \"release api v\" && pnpm publish", | ||
"release:dev": "pnpm run bump -- prerelease && pnpm publish:dev" | ||
"release": "pnpm run bump -p -t \"api-v\" -c \"release api v\" && pnpm publish", | ||
"release:dev": "pnpm run bump prerelease && pnpm publish:dev" | ||
} | ||
} |
@@ -151,6 +151,7 @@ import { CollectionParams } from "@deboxsoft/module-core"; | ||
}>, { | ||
transactionId: z.ZodString; | ||
transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>; | ||
}>, "strip", z.ZodTypeAny, { | ||
location?: string | null | undefined; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -163,3 +164,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -172,2 +172,3 @@ priceItem: number; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -180,3 +181,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -207,3 +207,3 @@ priceItem: number; | ||
}>, { | ||
transactionId: z.ZodString; | ||
transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>; | ||
}>, { | ||
@@ -275,2 +275,3 @@ id: z.ZodString; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -303,3 +304,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -312,2 +312,3 @@ priceItem: number; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -340,3 +341,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -475,3 +475,3 @@ priceItem: number; | ||
}>, { | ||
transactionId: z.ZodString; | ||
transactionId: z.ZodNullable<z.ZodOptional<z.ZodString>>; | ||
}>, { | ||
@@ -482,2 +482,3 @@ groupDepreciationId: z.ZodString; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -490,3 +491,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -500,2 +500,3 @@ priceItem: number; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -508,3 +509,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -518,2 +518,3 @@ priceItem: number; | ||
date?: number | Date | null | undefined; | ||
transactionId?: string | null | undefined; | ||
no?: string | null | undefined; | ||
@@ -526,3 +527,2 @@ brand?: string | null | undefined; | ||
name: string; | ||
transactionId: string; | ||
categoryId: string; | ||
@@ -529,0 +529,0 @@ priceItem: number; |
@@ -15,2 +15,3 @@ import { z } from "@deboxsoft/zod"; | ||
status: z.ZodDefault<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>; | ||
description: z.ZodString; | ||
stockAccount: z.ZodString; | ||
@@ -35,2 +36,3 @@ productItems: z.ZodArray<z.ZodObject<{ | ||
approveBy?: string | null | undefined; | ||
description: string; | ||
status: "FAILED" | "UNAPPROVED" | "APPROVED" | "REJECTED" | "FIXED"; | ||
@@ -48,2 +50,3 @@ userId: string; | ||
approveBy?: string | null | undefined; | ||
description: string; | ||
userId: string; | ||
@@ -60,2 +63,3 @@ stockAccount: string; | ||
status: z.ZodDefault<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>; | ||
description: z.ZodString; | ||
stockAccount: z.ZodString; | ||
@@ -81,3 +85,2 @@ productItems: z.ZodArray<z.ZodObject<{ | ||
datePurchase: z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>; | ||
description: z.ZodString; | ||
paymentAccounts: z.ZodArray<z.ZodObject<{ | ||
@@ -135,2 +138,3 @@ id: z.ZodString; | ||
status: z.ZodDefault<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>; | ||
description: z.ZodString; | ||
stockAccount: z.ZodString; | ||
@@ -158,2 +162,3 @@ productItems: z.ZodArray<z.ZodObject<{ | ||
approveBy?: string | null | undefined; | ||
description: string; | ||
status: "FAILED" | "UNAPPROVED" | "APPROVED" | "REJECTED" | "FIXED"; | ||
@@ -173,2 +178,3 @@ userId: string; | ||
approveBy?: string | null | undefined; | ||
description: string; | ||
userId: string; | ||
@@ -187,2 +193,3 @@ mutation: "STOCK_OUT"; | ||
status: z.ZodDefault<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>; | ||
description: z.ZodString; | ||
stockAccount: z.ZodString; | ||
@@ -205,2 +212,3 @@ productItems: z.ZodArray<z.ZodObject<{ | ||
}, { | ||
description: z.ZodOptional<z.ZodString>; | ||
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>>; | ||
@@ -227,3 +235,2 @@ date: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>>; | ||
datePurchase: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>>; | ||
description: z.ZodOptional<z.ZodString>; | ||
paymentAccounts: z.ZodOptional<z.ZodArray<z.ZodObject<{ | ||
@@ -240,2 +247,3 @@ id: z.ZodString; | ||
}>, { | ||
description: z.ZodOptional<z.ZodString>; | ||
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["FAILED", "UNAPPROVED", "APPROVED", "REJECTED", "FIXED"]>>>; | ||
@@ -242,0 +250,0 @@ date: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodUnion<[z.ZodDate, z.ZodNumber]>>>>; |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
298644
24
7791