Skip to content

Commit

Permalink
Build from OAS 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghunath-S-S-J committed Jan 30, 2025
1 parent eb7f424 commit 88b7246
Show file tree
Hide file tree
Showing 27 changed files with 205 additions and 97 deletions.
2 changes: 1 addition & 1 deletion docs/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6340,7 +6340,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>9.3.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>10.0.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
2 changes: 1 addition & 1 deletion docs/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1242,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>9.3.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>10.0.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
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>9.3.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>10.0.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>9.3.0</li>
<li class="nav-header" data-group="BankFeeds"><strong>VSN: </strong>10.0.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 @@ -1171,7 +1171,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>9.3.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>10.0.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
25 changes: 2 additions & 23 deletions docs/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@
},
"importSourceType" : {
"type" : "string",
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, indirect bank feed, file upload, or manual keying)."
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, file upload, or manual keying)."
}
},
"additionalProperties" : false,
Expand All @@ -1533,13 +1533,6 @@
"format" : "double",
"x-is-money" : true
},
"indirectBankFeed" : {
"type" : "number",
"description" : "No longer in use.",
"format" : "double",
"deprecated" : true,
"x-is-money" : true
},
"fileUpload" : {
"type" : "number",
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data.",
Expand All @@ -1558,13 +1551,6 @@
"format" : "double",
"x-is-money" : true
},
"indirectBankFeedPos" : {
"type" : "number",
"description" : "No longer in use.",
"format" : "double",
"deprecated" : true,
"x-is-money" : true
},
"fileUploadPos" : {
"type" : "number",
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only positive transactions are included.",
Expand All @@ -1583,13 +1569,6 @@
"format" : "double",
"x-is-money" : true
},
"indirectBankFeedNeg" : {
"type" : "number",
"description" : "No longer in use.",
"format" : "double",
"deprecated" : true,
"x-is-money" : true
},
"fileUploadNeg" : {
"type" : "number",
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only negative transactions are included.",
Expand Down Expand Up @@ -2738,7 +2717,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>9.3.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>10.0.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
2 changes: 1 addition & 1 deletion docs/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3413,7 +3413,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>9.3.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>10.0.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down
74 changes: 65 additions & 9 deletions docs/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1684,14 +1684,28 @@
},
"sickLeaveHoursToAccrueAnnually" : {
"type" : "number",
"description" : "Number of hours accrued annually for sick leave. Multiply the number of days they're entitled to by the hours worked per day",
"description" : "Deprecated use SickLeaveToAccrueAnnually",
"format" : "double",
"example" : 100.5,
"x-is-money" : true
},
"sickLeaveMaximumHoursToAccrue" : {
"type" : "number",
"description" : "Maximum number of hours accrued annually for sick leave. Multiply the maximum days they can accrue by the hours worked per day",
"description" : "Deprecated use SickLeaveMaximumToAccrue",
"format" : "double",
"example" : 200.5,
"x-is-money" : true
},
"SickLeaveToAccrueAnnually" : {
"type" : "number",
"description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
"format" : "double",
"example" : 100.5,
"x-is-money" : true
},
"SickLeaveMaximumToAccrue" : {
"type" : "number",
"description" : "Maximum number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
"format" : "double",
"example" : 200.5,
"x-is-money" : true
Expand All @@ -1710,7 +1724,14 @@
},
"SickLeaveAnniversaryDate" : {
"type" : "string",
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave",
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave. When null the Employee's start date is used as the anniversary date",
"format" : "date",
"example" : "2020-01-19",
"x-is-date" : true
},
"AnnualLeaveAnniversaryDate" : {
"type" : "string",
"description" : "The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date",
"format" : "date",
"example" : "2020-01-19",
"x-is-date" : true
Expand Down Expand Up @@ -1750,22 +1771,36 @@
},
"hoursAccruedAnnually" : {
"type" : "number",
"description" : "The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"",
"description" : "Deprecated use UnitsAccruedAnnually",
"format" : "double",
"x-is-money" : true
},
"UnitsAccruedAnnually" : {
"type" : "number",
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
"format" : "double",
"x-is-money" : true
},
"typeOfUnitsToAccrue" : {
"type" : "string",
"description" : "The type of units accrued for the leave annually"
},
"maximumToAccrue" : {
"type" : "number",
"description" : "The maximum number of hours that can be accrued for the leave",
"description" : "The maximum number of units that can be accrued for the leave",
"format" : "double",
"x-is-money" : true
},
"openingBalance" : {
"type" : "number",
"description" : "The initial number of hours assigned when the leave was added to the employee",
"description" : "The initial number of units assigned when the leave was added to the employee",
"format" : "double",
"x-is-money" : true
},
"openingBalanceTypeOfUnits" : {
"type" : "string",
"description" : "The type of units for the opening balance"
},
"rateAccruedHourly" : {
"type" : "number",
"description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
Expand Down Expand Up @@ -2609,10 +2644,23 @@
"format" : "double",
"x-is-money" : true
},
"numberOfUnitsTaken" : {
"type" : "number",
"description" : "The number of units taken for the leave",
"format" : "double"
},
"typeOfUnits" : {
"type" : "string",
"description" : "The type of units paid for the leave"
},
"typeOfUnitsTaken" : {
"type" : "string",
"description" : "The type of units taken for the leave"
},
"periodStatus" : {
"type" : "string",
"description" : "Period Status",
"enum" : [ "Approved", "Completed" ]
"description" : "Status of leave",
"enum" : [ "Approved", "Completed", "Estimated" ]
}
},
"description" : ""
Expand Down Expand Up @@ -2667,6 +2715,14 @@
"isActive" : {
"type" : "boolean",
"description" : "Shows whether the leave type is active or not"
},
"typeOfUnits" : {
"type" : "string",
"description" : "The type of units to be paid for the leave type"
},
"typeOfUnitsToAccrue" : {
"type" : "string",
"description" : "The type of units to be accrued for the leave type"
}
},
"description" : ""
Expand Down Expand Up @@ -4032,7 +4088,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>9.3.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>10.0.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
2 changes: 1 addition & 1 deletion docs/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3518,7 +3518,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>9.3.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>10.0.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>9.3.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>10.0.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
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": "9.3.0",
"version": "10.0.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: 6.3.0
* The version of the OpenAPI document: 7.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -85,7 +85,7 @@ export enum AccountingApiApiKeys {

export class AccountingApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-10.0.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: 6.3.0
* The version of the OpenAPI document: 7.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -38,7 +38,7 @@ export enum AppStoreApiApiKeys {

export class AppStoreApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-10.0.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: 6.3.0
* The version of the OpenAPI document: 7.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -37,7 +37,7 @@ export enum AssetApiApiKeys {

export class AssetApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-10.0.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: 6.3.0
* The version of the OpenAPI document: 7.0.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 BankFeedsApiApiKeys {

export class BankFeedsApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-10.0.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: 6.3.0
* The version of the OpenAPI document: 7.0.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 FilesApiApiKeys {

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

Expand Down
4 changes: 2 additions & 2 deletions src/gen/api/financeApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Finance API
* The Finance API is a collection of endpoints which customers can use in the course of a loan application, which may assist lenders to gain the confidence they need to provide capital.
*
* The version of the OpenAPI document: 6.3.0
* The version of the OpenAPI document: 7.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -44,7 +44,7 @@ export enum FinanceApiApiKeys {

export class FinanceApi {
protected _basePath = defaultBasePath;
protected defaultHeaders : any = {'user-agent': 'xero-node-9.3.0'};
protected defaultHeaders : any = {'user-agent': 'xero-node-10.0.0'};
protected _useQuerystring : boolean = false;
protected binaryHeaders : any = {};

Expand Down
Loading

0 comments on commit 88b7246

Please sign in to comment.