Skip to content

4.6.0

Compare
Choose a tag to compare
@SerKnight SerKnight released this 15 May 18:39
· 360 commits to master since this release
2d78c92

Largest changes are adding in the functionality of 2 XeroAPI sets:


Small parameter change to the following methods:

  • createInvoiceAttachmentByFileName
  • createCreditNoteAttachmentByFileName

The body: fs.ReadStream & includeOnline?: boolean
Have swapped parameter positions. This was a side effect of bumping to the supported openapi-generator version 4.3.


Added summarizeErrors to the createPayments() function


Added function getPrepaymentAsPdf


Added some name convention changes to src/gen/model/accounting/currencyCode.ts


Changed JournalNumber from type string to number: src/gen/model/accounting/journal.ts


Fix deserialize function to gracefully handle when we have the wrong types in the spec: src/gen/model/accounting/models.ts


Adds statusAttributeString to Payment: src/gen/model/accounting/payment.ts

Adds assetTypeId to Payment: src/gen/model/assets/asset.ts


Adds 2 tax rates to enum: src/gen/model/accounting/taxRate.ts
Adds 4 TaxTypes to enum: src/gen/model/accounting/taxType.ts