Releases: XeroAPI/xero-node
4.12.0
Release for recent OAS changes: https://github.com/XeroAPI/Xero-OpenAPI/releases/tag/2.13.0
🚨 🚨 🚨 MINOR BREAKING CHANGE 🚨 🚨 🚨
-
summaryOnly?: boolean
added to thegetInvoices
function -
Future proofing GST and BAS Reports endpoints for NZ and AU orgs, or any orgs that get introduced reports without a restful endpoint and require
/Reports/{uuid}
getReportBASorGSTList -> getReportsList
getReportBasOrGst -> getReportFromId
🚨 🚨 🚨 MINOR BREAKING CHANGE - END 🚨 🚨 🚨
-
Code sample docs for the 3 payroll api sets 🚀
-
Added Budgets endpoints
getBudget(xeroTenantId: string, budgetID: string, options: {headers: {...}})
getBudgets(xeroTenantId: string, iDs?: Array[string], dateTo?: string, dateFrom?: string, options: {headers: {...}})
- incorporated backwards compatibility change for the token set import
#517 thank you @ambroseus
4.11.3
4.11.2
4.11.1
4.11.0
replaces preinstall script with prepare script as previous release was causing errors on deployment
4.10.4
Updates dependencies to address dependabot alert
4.10.3
Generated using Xero-OpenAPI spec v2.10.0
Refactors XeroClient.ts
apiCallback()
params
and check
objects to leverage openid-client
baked in CSRF.
Generates docs from new specs.
4.10.2
Resolves #421 by removing src/untyped.ts from the project, which was previously overwriting openid-client types for some devs.
Resolves #488 by ensuring all TokenSets are of valid TokenSet type per openid-client TokenSet class. Previously refreshWithRefreshToken was not getting a consistent TokenSet given it was coming directly from Xero identity without being passed through openid-client library. Also updated sample app and sdk readme to leverage built-in tokenSet.expired method
4.10.1
Generated using Xero-OpenAPI spec v2.9.4
XeroClient.ts
Adds revokeToken()
which revokes a user's refresh token and removes all their connections to your app by making a request to the revocation endpoint.
Added public
and private
keywords to XeroClient
methods.
4.10.0
Adding the last API set to the Node SDK 🚀
https://developer.xero.com/documentation/files-api/overview-files
This PR enables the SDK to support the corresponding CRUD actions of the Files
- Folders
- and Association
objects. There is also a new ObjectGroup
type enum that is used for designating relationships between an uploaded file and an object in the Xero API domain.
Release under 4.10.0
on NPM