Skip to content

Commit

Permalink
Merge pull request #619 from XeroAPI/xero-node-4.32.0
Browse files Browse the repository at this point in the history
generate xero-node 4.32.0 from OAS 2.34.1
  • Loading branch information
RettBehrens authored Dec 14, 2022
2 parents fc76e2d + ec241e3 commit b722201
Show file tree
Hide file tree
Showing 26 changed files with 127 additions and 48 deletions.
2 changes: 1 addition & 1 deletion docs/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6075,7 +6075,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
<li data-group="Accounting" data-name="createAccount" class="">
<a href="#api-Accounting-createAccount">createAccount</a>
Expand Down
25 changes: 16 additions & 9 deletions docs/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,8 @@
"timestamp" : {
"type" : "string",
"description" : "DateTime in UTC of when the the product was consumed/used",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
}
},
"description" : "Data transfer object for public create usage end point"
Expand Down Expand Up @@ -993,12 +994,14 @@
"currentPeriodEnd" : {
"type" : "string",
"description" : "End of the current period that the subscription has been invoiced for.\n",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
},
"endDate" : {
"type" : "string",
"description" : "If the subscription has been canceled, this is the date when the subscription ends. If null, the subscription is active and has not been cancelled",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
},
"id" : {
"type" : "string",
Expand All @@ -1020,7 +1023,8 @@
"startDate" : {
"type" : "string",
"description" : "Date when the subscription was first created.",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
},
"status" : {
"type" : "string",
Expand All @@ -1042,7 +1046,8 @@
"endDate" : {
"type" : "string",
"description" : "Date when the subscription to this product will end",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
},
"id" : {
"type" : "string",
Expand All @@ -1062,7 +1067,8 @@
"startDate" : {
"type" : "string",
"description" : "Date the subscription started, or will start. Note: this could be in\nthe future for downgrades or reduced number of seats that haven't taken effect yet.\n",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
},
"status" : {
"type" : "string",
Expand Down Expand Up @@ -1116,7 +1122,8 @@
"recordedAt" : {
"type" : "string",
"description" : "The time when this usage was recorded in UTC",
"format" : "date-time"
"format" : "date-time",
"x-is-datetime" : true
},
"usageRecordId" : {
"type" : "string",
Expand Down Expand Up @@ -1235,7 +1242,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down Expand Up @@ -1567,7 +1574,7 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/CreateUsageRecord"
},
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00Z\", \"quantity\": 10 }"
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
}
},
"required" : true
Expand Down
2 changes: 1 addition & 1 deletion docs/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/bankfeeds/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1269,7 +1269,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="BankFeeds"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="BankFeeds"><a href="#api-BankFeeds">Methods</a></li>
<li data-group="BankFeeds" data-name="createFeedConnections" class="">
<a href="#api-BankFeeds-createFeedConnections">createFeedConnections</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1156,7 +1156,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down
22 changes: 19 additions & 3 deletions docs/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2161,6 +2161,10 @@
"description" : "Date of when statement line was posted",
"format" : "date"
},
"payee" : {
"type" : "string",
"description" : "Payee description of statement line"
},
"reference" : {
"type" : "string",
"description" : "Reference description of statement line"
Expand Down Expand Up @@ -2349,13 +2353,25 @@
},
"startBalance" : {
"type" : "number",
"description" : "Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.",
"description" : "Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.",
"format" : "double",
"x-is-money" : true
},
"endBalance" : {
"type" : "number",
"description" : "Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.",
"description" : "Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.",
"format" : "double",
"x-is-money" : true
},
"indicativeStartBalance" : {
"type" : "number",
"description" : "Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true\n",
"format" : "double",
"x-is-money" : true
},
"indicativeEndBalance" : {
"type" : "number",
"description" : "Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true \n",
"format" : "double",
"x-is-money" : true
},
Expand Down Expand Up @@ -2719,7 +2735,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>
Expand Down
14 changes: 12 additions & 2 deletions docs/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1182,6 +1182,16 @@
"description" : "Boolean to determine if the earnings rate is reportable or exempt from W1",
"example" : false
},
"AllowanceContributesToAnnualLeaveRate" : {
"type" : "boolean",
"description" : "Boolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT",
"example" : false
},
"AllowanceContributesToOvertimeRate" : {
"type" : "boolean",
"description" : "Boolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT",
"example" : false
},
"EarningsType" : {
"$ref" : "#/components/schemas/EarningsType"
},
Expand Down Expand Up @@ -3345,7 +3355,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="createEmployee" class="">
<a href="#api-PayrollAu-createEmployee">createEmployee</a>
Expand Down Expand Up @@ -3860,7 +3870,7 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/PayItem"
},
"example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
"example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"AllowanceContributesToAnnualLeaveRate\": false, \"AllowanceContributesToOvertimeRate\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
}
},
"required" : true
Expand Down
2 changes: 1 addition & 1 deletion docs/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3839,7 +3839,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1381,7 +1381,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", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "TipsNonDirect", "TipsDirect", "TerminationPay" ]
"enum" : [ "Allowance", "BackPay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "TipsNonDirect", "TipsDirect", "TerminationPay" ]
},
"rateType" : {
"type" : "string",
Expand Down Expand Up @@ -3511,7 +3511,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1463,7 +1463,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>4.31.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>4.32.0</li>
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
<li data-group="Project" data-name="createProject" class="">
<a href="#api-Project-createProject">createProject</a>
Expand Down
5 changes: 3 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "xero-node",
"version": "4.31.0",
"version": "4.32.0",
"description": "Xero NodeJS OAuth 2.0 client for xero-node",
"main": "dist/index.js",
"types": "dist/index.d.ts",
Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/accountingApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Accounting API
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* The version of the OpenAPI document: 2.33.1
* The version of the OpenAPI document: 2.35.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -82,7 +82,7 @@ export enum AccountingApiApiKeys {

export class AccountingApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-4.31.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-4.32.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/appStoreApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero AppStore API
* These endpoints are for Xero Partners to interact with the App Store Billing platform
*
* The version of the OpenAPI document: 2.33.1
* The version of the OpenAPI document: 2.35.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -36,7 +36,7 @@ export enum AppStoreApiApiKeys {

export class AppStoreApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-4.31.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-4.32.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/assetApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Assets API
* 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.
*
* The version of the OpenAPI document: 2.33.1
* The version of the OpenAPI document: 2.35.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -35,7 +35,7 @@ export enum AssetApiApiKeys {

export class AssetApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-4.31.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-4.32.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/bankfeedsApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Bank Feeds API
* 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.
*
* The version of the OpenAPI document: 2.33.1
* The version of the OpenAPI document: 2.35.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -34,7 +34,7 @@ export enum BankFeedsApiApiKeys {

export class BankFeedsApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-4.31.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-4.32.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/filesApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Files API
* These endpoints are specific to Xero Files API
*
* The version of the OpenAPI document: 2.33.1
* The version of the OpenAPI document: 2.35.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -34,7 +34,7 @@ export enum FilesApiApiKeys {

export class FilesApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-4.31.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-4.32.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
Loading

0 comments on commit b722201

Please sign in to comment.