Big News: Socket raises $60M Series C at a $1B valuation to secure software supply chains for AI-driven development.Announcement
Sign In

node-zaim

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-zaim - npm Package Compare versions

Comparing version
0.1.0
to
0.1.1
+66
-2
dist/index.d.ts

@@ -317,2 +317,64 @@ import { OAuth as OAuth2 } from "oauth";

import { z as z9 } from "zod";
declare const MoneyListResponseSchema: z9.ZodObject<{
money: z9.ZodArray<z9.ZodPipe<z9.ZodObject<{
id: z9.ZodNumber;
mode: z9.ZodEnum<{
income: "income";
payment: "payment";
transfer: "transfer";
}>;
user_id: z9.ZodNumber;
date: z9.ZodString;
category_id: z9.ZodNumber;
genre_id: z9.ZodNumber;
to_account_id: z9.ZodNumber;
from_account_id: z9.ZodNumber;
amount: z9.ZodNumber;
comment: z9.ZodString;
active: z9.ZodNumber;
name: z9.ZodString;
receipt_id: z9.ZodNumber;
place: z9.ZodString;
place_uid: z9.ZodString;
created: z9.ZodString;
currency_code: z9.ZodString;
}, z9.core.$strip>, z9.ZodTransform<{
id: number;
mode: "income" | "payment" | "transfer";
userId: number;
date: string;
categoryId: number;
genreId: number;
toAccountId: number | null;
fromAccountId: number | null;
amount: number;
comment: string | null;
active: boolean;
name: string;
receiptId: number;
place: string | null;
placeUid: string | null;
created: Date;
currencyCode: string;
}, {
id: number;
mode: "income" | "payment" | "transfer";
user_id: number;
date: string;
category_id: number;
genre_id: number;
to_account_id: number;
from_account_id: number;
amount: number;
comment: string;
active: number;
name: string;
receipt_id: number;
place: string;
place_uid: string;
created: string;
currency_code: string;
}>>>;
requested: z9.ZodNumber;
}>;
declare const MoneyQueryParamsSchema: z9.ZodObject<{

@@ -812,2 +874,3 @@ categoryId: z9.ZodOptional<z9.ZodNumber>;

import { z as z19 } from "zod";
type MoneyListResponse = z19.infer<typeof MoneyListResponseSchema>;
type GroupedMoneyListResponse = z19.infer<typeof GroupedMoneyListResponseSchema>;

@@ -851,4 +914,5 @@ declare class MoneyApi {

*/
list(params: Omit<MoneyQueryParams, "group_by"> & {
group_by: "receipt_id";
list(): Promise<MoneyListResponse["money"]>;
list(params: Omit<MoneyQueryParams, "groupBy"> & {
groupBy: "receipt_id";
}): Promise<GroupedMoneyListResponse["money"]>;

@@ -855,0 +919,0 @@ }

+1
-1
{
"name": "node-zaim",
"version": "0.1.0",
"version": "0.1.1",
"description": "Node.js client library for Zaim API",

@@ -5,0 +5,0 @@ "homepage": "https://github.com/ryohidaka/node-zaim#readme",