diff --git a/lib/recurly.d.ts b/lib/recurly.d.ts index 42e16eff..389e74b7 100644 --- a/lib/recurly.d.ts +++ b/lib/recurly.d.ts @@ -8790,6 +8790,7 @@ declare namespace errors { export class ServerError extends ResponseError { } export class InternalServerError extends ServerError { } export class ServiceNotAvailableError extends InternalServerError { } + export class TaxServiceError extends InternalServerError { } export class BadGatewayError extends ServerError { } export class ServiceUnavailableError extends ServerError { } export class TimeoutError extends ServerError { } diff --git a/lib/recurly/api_errors.js b/lib/recurly/api_errors.js index 999cc6d4..613428b6 100644 --- a/lib/recurly/api_errors.js +++ b/lib/recurly/api_errors.js @@ -13,6 +13,7 @@ class ResponseError extends ApiError { } class ServerError extends ResponseError { } class InternalServerError extends ServerError { } class ServiceNotAvailableError extends InternalServerError { } +class TaxServiceError extends InternalServerError { } class BadGatewayError extends ServerError { } class ServiceUnavailableError extends ServerError { } class TimeoutError extends ServerError { } @@ -65,6 +66,7 @@ module.exports = { ServerError: ServerError, InternalServerError: InternalServerError, ServiceNotAvailableError: ServiceNotAvailableError, + TaxServiceError: TaxServiceError, BadGatewayError: BadGatewayError, ServiceUnavailableError: ServiceUnavailableError, TimeoutError: TimeoutError, diff --git a/openapi/api.yaml b/openapi/api.yaml index 27cee0a6..edb6d24b 100644 --- a/openapi/api.yaml +++ b/openapi/api.yaml @@ -22001,6 +22001,7 @@ components: - rate_limited - service_not_available - simultaneous_request + - tax_service_error - transaction - unauthorized - unavailable_in_api_version diff --git a/package-lock.json b/package-lock.json index 01f02dd3..a122da20 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "recurly", - "version": "4.11.0", + "version": "4.12.0", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "recurly", - "version": "4.11.0", + "version": "4.12.0", "license": "MIT", "devDependencies": { "@types/node": "^12.11.1",