Skip to content

Commit

Permalink
Merge pull request #298 from recurly/v3-v2021-02-25-1680632114
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25
  • Loading branch information
amandamfielding authored Apr 5, 2023
2 parents d8295a5 + 2d134b8 commit 57247b6
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
8 changes: 6 additions & 2 deletions lib/recurly.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1137,7 +1137,7 @@ export declare class ExternalInvoice {
/**
* Total
*/
total?: number | null;
total?: string | null;
/**
* 3-letter ISO 4217 currency code.
*/
Expand Down Expand Up @@ -1266,7 +1266,7 @@ export declare class ExternalCharge {
/**
* Unit Amount
*/
unitAmount?: number | null;
unitAmount?: string | null;
quantity?: number | null;
description?: string | null;
/**
Expand Down Expand Up @@ -3694,6 +3694,10 @@ export interface BillingInfoCreate {
* *STRONGLY RECOMMENDED*
*/
cvv?: string | null;
/**
* 3-letter ISO 4217 currency code.
*/
currency?: string | null;
/**
* VAT number
*/
Expand Down
4 changes: 2 additions & 2 deletions lib/recurly/resources/ExternalCharge.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const Resource = require('../Resource')
* @prop {string} id - System-generated unique identifier for an external charge ID, e.g. `e28zov4fw0v2`.
* @prop {string} object - Object type
* @prop {number} quantity
* @prop {number} unitAmount - Unit Amount
* @prop {string} unitAmount - Unit Amount
* @prop {Date} updatedAt - When the external charge was updated in Recurly.
*/
class ExternalCharge extends Resource {
Expand All @@ -34,7 +34,7 @@ class ExternalCharge extends Resource {
id: String,
object: String,
quantity: Number,
unitAmount: Number,
unitAmount: String,
updatedAt: Date
}
}
Expand Down
4 changes: 2 additions & 2 deletions lib/recurly/resources/ExternalInvoice.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Resource = require('../Resource')
* @prop {string} object - Object type
* @prop {Date} purchasedAt - When the invoice was created in the external platform.
* @prop {string} state
* @prop {number} total - Total
* @prop {string} total - Total
* @prop {Date} updatedAt - When the external invoice was updated in Recurly.
*/
class ExternalInvoice extends Resource {
Expand All @@ -38,7 +38,7 @@ class ExternalInvoice extends Resource {
object: String,
purchasedAt: Date,
state: String,
total: Number,
total: String,
updatedAt: Date
}
}
Expand Down
11 changes: 7 additions & 4 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17604,6 +17604,9 @@ components:
title: Security code or CVV
description: "*STRONGLY RECOMMENDED*"
maxLength: 4
currency:
type: string
description: 3-letter ISO 4217 currency code.
vat_number:
type: string
title: VAT number
Expand Down Expand Up @@ -23089,8 +23092,8 @@ components:
state:
"$ref": "#/components/schemas/ExternalInvoiceStateEnum"
total:
type: number
format: float
type: string
format: decimal
title: Total
currency:
type: string
Expand Down Expand Up @@ -23150,8 +23153,8 @@ components:
title: Currency
description: 3-letter ISO 4217 currency code.
unit_amount:
type: number
format: float
type: string
format: decimal
title: Unit Amount
quantity:
type: integer
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 57247b6

Please sign in to comment.