Huge News!Announcing our $40M Series B led by Abstract Ventures.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 0.1.0-alpha.27 to 0.1.0-alpha.28

6

index.cjs.js

@@ -29,6 +29,8 @@ 'use strict';

const BankReconciliationValidation = {
noRekening: yup.string().required(),
accountBank: yup.string().required(),
bank: yup.string().required(),
accountId: yup.string().required(),
name: yup.string().required()
name: yup.string().required(),
balance: yup.number().required(),
date: yup.date().required()
};

@@ -35,0 +37,0 @@ const BankReconciliationValidationSchema = yup.object().shape(BankReconciliationValidation);

@@ -1,2 +0,2 @@

import { string, object, number, array } from 'yup';
import { string, object, number, array, date } from 'yup';
import { DeboxError } from '@deboxsoft/module-core';

@@ -25,6 +25,8 @@

const BankReconciliationValidation = {
noRekening: string().required(),
accountBank: string().required(),
bank: string().required(),
accountId: string().required(),
name: string().required()
name: string().required(),
balance: number().required(),
date: date().required()
};

@@ -31,0 +33,0 @@ const BankReconciliationValidationSchema = object().shape(BankReconciliationValidation);

{
"name": "@deboxsoft/accounting-api",
"version": "0.1.0-alpha.27",
"version": "0.1.0-alpha.28",
"license": "SEE LICENSE IN LICENSE.md",

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

@@ -115,3 +115,3 @@ export declare type Maybe<T> = T | undefined;

};
export declare type ReconciledStatus = "SUCCESS" | "FAILED";
export declare type ReconciledStatus = "RECONCILED" | "UNRECONCILED";
export declare type BankReconciliationHistory = {

@@ -128,14 +128,16 @@ importDate: Scalars["DateTime"];

id: Scalars["ID"];
noRekening: Scalars["String"];
bank: Scalars["String"];
accountBank: Scalars["String"];
name: Scalars["String"];
accountId: Scalars["ID"];
cabang?: Maybe<Scalars["String"]>;
balance: Scalars["Int"];
date: Scalars["DateTime"];
};
export declare type BankReconciliationInput = {
noRekening: Scalars["String"];
bank: Scalars["String"];
accountBank: Scalars["String"];
name: Scalars["String"];
accountId: Scalars["ID"];
cabang?: Maybe<Scalars["String"]>;
balance: Scalars["Int"];
date: Scalars["DateTime"];
};

@@ -142,0 +144,0 @@ export declare type TransactionType = {

@@ -5,2 +5,2 @@ import type { BankReconciliationInput } from "../types";

export declare const BankReconciliationValidation: Partial<Record<keyof BankReconciliationInput, BaseSchema | undefined>>;
export declare const BankReconciliationValidationSchema: yup.ObjectSchema<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, Partial<Record<"name" | "accountId" | "noRekening" | "bank" | "cabang", BaseSchema<any, Record<string, any>, any>>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, Partial<Record<"name" | "accountId" | "noRekening" | "bank" | "cabang", BaseSchema<any, Record<string, any>, any>>>>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, Partial<Record<"name" | "accountId" | "noRekening" | "bank" | "cabang", BaseSchema<any, Record<string, any>, any>>>>>>;
export declare const BankReconciliationValidationSchema: yup.ObjectSchema<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, Partial<Record<"name" | "date" | "accountId" | "bank" | "accountBank" | "balance", BaseSchema<any, Record<string, any>, any>>>>, Record<string, any>, import("yup/lib/object").TypeOfShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, Partial<Record<"name" | "date" | "accountId" | "bank" | "accountBank" | "balance", BaseSchema<any, Record<string, any>, any>>>>>, import("yup/lib/object").AssertsShape<import("yup/lib/object").Assign<Record<string, yup.AnySchema<any, any, any> | import("yup/lib/Reference").default<unknown> | import("yup/lib/Lazy").default<any, any>>, Partial<Record<"name" | "date" | "accountId" | "bank" | "accountBank" | "balance", BaseSchema<any, Record<string, any>, any>>>>>>;

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