New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@deboxsoft/accounting-api

Package Overview
Dependencies
Maintainers
1
Versions
434
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@deboxsoft/accounting-api - npm Package Compare versions

Comparing version 1.4.0-beta.52 to 1.4.0-beta.53

6

index.js

@@ -197,2 +197,3 @@ 'use strict';

const InventoryUpdateInputSchema = zod.z.object({

@@ -576,2 +577,3 @@ brand: zod.z.string().nullish(),

amount: zod.z.number(),
totalAmortization: zod.z.number().nullish(),
category: zod.z.string().nullish(),

@@ -596,5 +598,9 @@ userId: zod.z.string()

const transformToBddRepoInput = BddInputSchema.transform((_) => {
const now = new Date();
const amortizationDayOfMonth = Dayjs__default['default'](_.date || new Date()).date();
return {
..._,
date: now,
remaining: _.monthLife,
totalAmortization: _.totalAmortization || 0,
status: "UNAPPROVED",

@@ -601,0 +607,0 @@ amortizationDayOfMonth

2

package.json
{
"name": "@deboxsoft/accounting-api",
"version": "1.4.0-beta.52",
"version": "1.4.0-beta.53",
"license": "SEE LICENSE IN LICENSE.md",

@@ -5,0 +5,0 @@ "repository": {

@@ -17,2 +17,4 @@ import type { CollectionParams } from "@deboxsoft/module-core";

amortizationDayOfMonth: number;
totalAmortization: number;
remaining: number;
status: Transaction["status"];

@@ -23,4 +25,2 @@ };

logs?: Amortization[];
totalAmortization?: number;
status: Transaction["status"];
};

@@ -65,2 +65,3 @@ export declare type BddDetail = Omit<Bdd, "transactionId"> & {

amount: z.ZodNumber;
totalAmortization: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;

@@ -74,2 +75,3 @@ userId: z.ZodString;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -91,2 +93,3 @@ description: string;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -139,2 +142,3 @@ description: string;

amount: z.ZodOptional<z.ZodNumber>;
totalAmortization: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodNumber>>>;
category: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;

@@ -157,2 +161,3 @@ userId: z.ZodOptional<z.ZodString>;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -174,2 +179,3 @@ }, {

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -216,2 +222,3 @@ }>;

amount: z.ZodNumber;
totalAmortization: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;

@@ -229,2 +236,3 @@ userId: z.ZodString;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -256,2 +264,3 @@ description: string;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -288,2 +297,3 @@ description: string;

amount: z.ZodNumber;
totalAmortization: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;

@@ -297,2 +307,3 @@ userId: z.ZodString;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -314,2 +325,3 @@ description: string;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -331,2 +343,3 @@ description: string;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -357,2 +370,3 @@ description: string;

amount: z.ZodNumber;
totalAmortization: z.ZodNullable<z.ZodOptional<z.ZodNumber>>;
category: z.ZodNullable<z.ZodOptional<z.ZodString>>;

@@ -366,2 +380,3 @@ userId: z.ZodString;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -383,2 +398,3 @@ description: string;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -416,2 +432,3 @@ description: string;

taxRate?: number | null | undefined;
totalAmortization?: number | null | undefined;
category?: string | null | undefined;

@@ -418,0 +435,0 @@ description: string;

@@ -21,2 +21,3 @@ import { CollectionParams } from "@deboxsoft/module-core";

totalDepreciation?: number;
countDepreciation: number;
};

@@ -23,0 +24,0 @@ export declare type InventoryDetail = Omit<Inventory, "transactionId"> & {

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc