Comparing version 2.2.1 to 2.2.2
@@ -84,3 +84,3 @@ import Accounts from './account'; | ||
term?: string; | ||
type?: "sales" | "service_fee" | "transfer_fee"; | ||
type?: "sales" | "service_fee" | "transfer_fee" | "misc"; | ||
} | ||
@@ -399,17 +399,17 @@ export interface TermListOptions extends PaginationOptions { | ||
export interface Statement { | ||
created: number; | ||
object: "statement"; | ||
livemode: boolean; | ||
id: string; | ||
livemode: boolean; | ||
object: "statement"; | ||
title: string; | ||
tenant_id: string; | ||
type: "sales" | "service_fee" | "transfer_fee"; | ||
net: number; | ||
type: "sales" | "service_fee" | "transfer_fee" | "misc"; | ||
created: number; | ||
updated: number; | ||
tenant_id: string | null; | ||
term: Term | null; | ||
balance_id: string; | ||
balance_id: string | null; | ||
items: StatementItems[]; | ||
updated: number; | ||
net: number; | ||
} | ||
export interface StatementItems { | ||
subject: "gross_sales" | "fee" | "platform_fee" | "gross_refund" | "refund_fee_offset" | "refund_platform_fee_offset" | "chargeback" | "chargeback_fee_offset" | "chargeback_platform_fee_offset" | "proplan" | "transfer_fee"; | ||
subject: "gross_sales" | "fee" | "platform_fee" | "gross_refund" | "refund_fee_offset" | "refund_platform_fee_offset" | "chargeback" | "chargeback_fee_offset" | "chargeback_platform_fee_offset" | "proplan" | "plan_fee" | "transfer_fee" | "other"; | ||
amount: number; | ||
@@ -443,10 +443,11 @@ name: string; | ||
export interface Term { | ||
object: "term"; | ||
id: string; | ||
livemode: boolean; | ||
object: "term"; | ||
start_at: number | null; | ||
end_at: number | null; | ||
closed: boolean; | ||
charge_count: number; | ||
refund_count: number; | ||
dispute_count: number; | ||
end_at: number; | ||
start_at: number; | ||
} | ||
@@ -462,12 +463,13 @@ export interface BankInfo { | ||
export interface Balance { | ||
created: number; | ||
object: "balance"; | ||
id: string; | ||
livemode: boolean; | ||
created: number; | ||
tenant_id: string | null; | ||
net: number; | ||
object: "balance"; | ||
statements: Statement[]; | ||
state: "collecting" | "transfer" | "claim"; | ||
statements: Statement[]; | ||
closed: boolean; | ||
closed_date: number | null; | ||
due_date: null | number; | ||
tenant_id: string; | ||
bank_info: null | BankInfo; | ||
@@ -474,0 +476,0 @@ } |
{ | ||
"name": "payjp", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"description": "PAY.JP node.js bindings", | ||
@@ -5,0 +5,0 @@ "main": "built/index.js", |
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
42851
1162