Skip to content

Commit

Permalink
Merge pull request #496 from XeroAPI/revoke
Browse files Browse the repository at this point in the history
build latest from spec and add revocation endpoint
  • Loading branch information
RettBehrens authored Feb 26, 2021
2 parents 054bd32 + 42e6a48 commit d0ce520
Show file tree
Hide file tree
Showing 23 changed files with 7,187 additions and 1,427 deletions.
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -341,4 +341,7 @@ await xero.readTokenSet()

const tokenSet = await xero.readTokenSet()
await xero.setTokenSet(tokenSet)

// You can revoke a user's refresh token and remove all their connections to your app by making a request to the revocation endpoint.
await xero.revokeToken()
```
11 changes: 9 additions & 2 deletions docs/v4/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4049,7 +4049,14 @@
"PaymentID" : {
"type" : "string",
"description" : "The Xero identifier for an Payment e.g. 297c2dc5-cc47-4afd-8ec8-74990b8761e9",
"format" : "uuid"
"format" : "uuid",
"example" : "00000000-0000-0000-0000-000000000000"
},
"BatchPaymentID" : {
"type" : "string",
"description" : "Present if the payment was created as part of a batch.",
"format" : "uuid",
"example" : "00000000-0000-0000-0000-000000000000"
},
"BankAccountNumber" : {
"type" : "string",
Expand Down Expand Up @@ -6384,7 +6391,7 @@ <h1>Xero Accounting API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.9.0</div>
<div class="app-desc">Version: 2.9.4</div>
<hr>
<div id="app-description" class="app-desc">
No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1314,7 +1314,7 @@ <h1>Xero Assets API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.9.0</div>
<div class="app-desc">Version: 2.9.4</div>
<hr>
<div id="app-description" class="app-desc">
The Assets API exposes fixed asset related functions of the Xero Accounting application and can be used for a variety of purposes such as creating assets, retrieving asset valuations etc.
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/bankfeeds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1188,7 +1188,7 @@ <h1>Xero Bank Feeds API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.9.0</div>
<div class="app-desc">Version: 2.9.4</div>
<hr>
<div id="app-description" class="app-desc">
The Bank Feeds API is a closed API that is only available to financial institutions that have an established financial services partnership with Xero. If you're an existing financial services partner that wants access, contact your local Partner Manager. If you're a financial institution who wants to provide bank feeds to your business customers, contact us to become a financial services partner.
Expand Down
632 changes: 166 additions & 466 deletions docs/v4/files/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/v4/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3225,7 +3225,7 @@ <h1>Xero Payroll AU API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.9.0</div>
<div class="app-desc">Version: 2.9.4</div>
<hr>
<div id="app-description" class="app-desc">
This is the Xero Payroll API for orgs in Australia region.
Expand Down
1,775 changes: 887 additions & 888 deletions docs/v4/payroll-nz/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions docs/v4/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1335,7 +1335,7 @@
"earningsType" : {
"type" : "string",
"description" : "Indicates how an employee will be paid when taking this type of earning",
"enum" : [ "Allowance", "Backpay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryMaternityPay", "StatutoryPaternityPay", "StatutorySharedParentalPay", "StatutorySickPay", "Tips(Direct)", "Tips(Non-Direct)" ]
"enum" : [ "Allowance", "Backpay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "Tips(Direct)", "Tips(Non-Direct)" ]
},
"rateType" : {
"type" : "string",
Expand Down Expand Up @@ -3621,7 +3621,7 @@ <h1>Xero Payroll UK</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.9.0</div>
<div class="app-desc">Version: 2.9.4</div>
<hr>
<div id="app-description" class="app-desc">
This is the Xero Payroll API for orgs in the UK region.
Expand Down
2 changes: 1 addition & 1 deletion docs/v4/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1412,7 +1412,7 @@ <h1>Xero Projects API</h1>
<h2 id="welcome-to-apidoc">API and SDK Documentation</h2>
<div class="app-desc">Version: 1.0.0</div>
<!--
<div class="app-desc">Version: 2.9.0</div>
<div class="app-desc">Version: 2.9.4</div>
<hr>
<div id="app-description" class="app-desc">
This is the Xero Projects API
Expand Down
Loading

0 comments on commit d0ce520

Please sign in to comment.