Comparing version 7.2.0 to 7.3.0
import { Accounts } from "./accounts"; | ||
import { Billing } from "./billing"; | ||
import { Certificates } from "./certificates"; | ||
@@ -76,2 +77,3 @@ import { Contacts } from "./contacts"; | ||
readonly accounts: Accounts; | ||
readonly billing: Billing; | ||
readonly certificates: Certificates; | ||
@@ -78,0 +80,0 @@ readonly contacts: Contacts; |
@@ -40,2 +40,3 @@ "use strict"; | ||
const accounts_1 = require("./accounts"); | ||
const billing_1 = require("./billing"); | ||
const certificates_1 = require("./certificates"); | ||
@@ -186,2 +187,3 @@ const contacts_1 = require("./contacts"); | ||
this.accounts = new accounts_1.Accounts(this); | ||
this.billing = new billing_1.Billing(this); | ||
this.certificates = new certificates_1.Certificates(this); | ||
@@ -188,0 +190,0 @@ this.contacts = new contacts_1.Contacts(this); |
@@ -15,2 +15,17 @@ export type Account = { | ||
export type NullableDateTime = string | null; | ||
export type Charge = { | ||
invoiced_at: string; | ||
total_amount: string; | ||
balance_amount: string; | ||
reference: string; | ||
state: "collected" | "refunded"; | ||
items: Array<ChargeItem>; | ||
}; | ||
export type ChargeItem = { | ||
description: string; | ||
amount: string; | ||
product_id: number | string | null; | ||
product_type: string; | ||
product_reference: string | null; | ||
}; | ||
export type Domain = { | ||
@@ -17,0 +32,0 @@ id: number; |
{ | ||
"name": "dnsimple", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"description": "A Node.JS client for the DNSimple API.", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"@types/node": "14.0.0", | ||
"@types/sinon": "^10.0.13", | ||
"@types/sinon": "^17.0.2", | ||
"chai": "^4.1.2", | ||
@@ -43,5 +43,5 @@ "chai-as-promised": "^7.1.1", | ||
"nock": "^13.0.0", | ||
"prettier": "2.8.4", | ||
"prettier-plugin-organize-imports": "3.2.2", | ||
"sinon": "^15.0.2", | ||
"prettier": "3.1.0", | ||
"prettier-plugin-organize-imports": "3.2.4", | ||
"sinon": "^17.0.1", | ||
"ts-node": "^10.9.1", | ||
@@ -48,0 +48,0 @@ "typescript": "^4.9.5" |
{ | ||
"name": "dnsimple", | ||
"version": "7.2.0", | ||
"version": "7.3.0", | ||
"description": "A Node.JS client for the DNSimple API.", | ||
@@ -35,3 +35,3 @@ "keywords": [ | ||
"@types/node": "14.0.0", | ||
"@types/sinon": "^10.0.13", | ||
"@types/sinon": "^17.0.2", | ||
"chai": "^4.1.2", | ||
@@ -43,5 +43,5 @@ "chai-as-promised": "^7.1.1", | ||
"nock": "^13.0.0", | ||
"prettier": "2.8.4", | ||
"prettier-plugin-organize-imports": "3.2.2", | ||
"sinon": "^15.0.2", | ||
"prettier": "3.1.0", | ||
"prettier-plugin-organize-imports": "3.2.4", | ||
"sinon": "^17.0.1", | ||
"ts-node": "^10.9.1", | ||
@@ -48,0 +48,0 @@ "typescript": "^4.9.5" |
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
428854
96
9613