-
Notifications
You must be signed in to change notification settings - Fork 162
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #655 from XeroAPI/xero-node-4.37.0
update to XeroOpenAPI v2.40.1
- Loading branch information
Showing
22 changed files
with
170 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.40.0 | ||
* The version of the OpenAPI document: 2.40.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -83,7 +83,7 @@ export enum AccountingApiApiKeys { | |
|
||
export class AccountingApi { | ||
protected _basePath = defaultBasePath; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.36.0'}; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.37.0'}; | ||
protected _useQuerystring : boolean = false; | ||
protected binaryHeaders : any = {}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.40.0 | ||
* The version of the OpenAPI document: 2.40.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -36,7 +36,7 @@ export enum AppStoreApiApiKeys { | |
|
||
export class AppStoreApi { | ||
protected _basePath = defaultBasePath; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.36.0'}; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.37.0'}; | ||
protected _useQuerystring : boolean = false; | ||
protected binaryHeaders : any = {}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.40.0 | ||
* The version of the OpenAPI document: 2.40.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -35,7 +35,7 @@ export enum AssetApiApiKeys { | |
|
||
export class AssetApi { | ||
protected _basePath = defaultBasePath; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.36.0'}; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.37.0'}; | ||
protected _useQuerystring : boolean = false; | ||
protected binaryHeaders : any = {}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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.40.0 | ||
* The version of the OpenAPI document: 2.40.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -34,7 +34,7 @@ export enum BankFeedsApiApiKeys { | |
|
||
export class BankFeedsApi { | ||
protected _basePath = defaultBasePath; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.36.0'}; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.37.0'}; | ||
protected _useQuerystring : boolean = false; | ||
protected binaryHeaders : any = {}; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
* Xero Files API | ||
* These endpoints are specific to Xero Files API | ||
* | ||
* The version of the OpenAPI document: 2.40.0 | ||
* The version of the OpenAPI document: 2.40.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -34,7 +34,7 @@ export enum FilesApiApiKeys { | |
|
||
export class FilesApi { | ||
protected _basePath = defaultBasePath; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.36.0'}; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.37.0'}; | ||
protected _useQuerystring : boolean = false; | ||
protected binaryHeaders : any = {}; | ||
|
||
|
@@ -418,8 +418,12 @@ export class FilesApi { | |
* @summary Retrieves an association object using a unique object ID | ||
* @param xeroTenantId Xero identifier for Tenant | ||
* @param objectId Object id for single object | ||
* @param pagesize pass an optional page size value | ||
* @param page number of records to skip for pagination | ||
* @param sort values to sort by | ||
* @param direction direction to sort by | ||
*/ | ||
public async getAssociationsByObject (xeroTenantId: string, objectId: string, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<Association>; }> { | ||
public async getAssociationsByObject (xeroTenantId: string, objectId: string, pagesize?: number, page?: number, sort?: 'Name' | 'CreatedDateUTC', direction?: 'ASC' | 'DESC', options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body: Array<Association>; }> { | ||
const localVarPath = this.basePath + '/Associations/{ObjectId}' | ||
.replace('{' + 'ObjectId' + '}', encodeURIComponent(String(objectId))); | ||
let localVarQueryParameters: any = {}; | ||
|
@@ -436,6 +440,22 @@ export class FilesApi { | |
throw new Error('Required parameter objectId was null or undefined when calling getAssociationsByObject.'); | ||
} | ||
|
||
if (pagesize !== undefined) { | ||
localVarQueryParameters['pagesize'] = ObjectSerializer.serialize(pagesize, "number"); | ||
} | ||
|
||
if (page !== undefined) { | ||
localVarQueryParameters['page'] = ObjectSerializer.serialize(page, "number"); | ||
} | ||
|
||
if (sort !== undefined) { | ||
localVarQueryParameters['sort'] = ObjectSerializer.serialize(sort, "'Name' | 'CreatedDateUTC'"); | ||
} | ||
|
||
if (direction !== undefined) { | ||
localVarQueryParameters['direction'] = ObjectSerializer.serialize(direction, "'ASC' | 'DESC'"); | ||
} | ||
|
||
localVarHeaderParams['xero-tenant-id'] = ObjectSerializer.serialize(xeroTenantId, "string"); | ||
|
||
(<any>Object).assign(localVarHeaderParams, options.headers); | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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: 2.40.0 | ||
* The version of the OpenAPI document: 2.40.1 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
|
@@ -42,7 +42,7 @@ export enum FinanceApiApiKeys { | |
|
||
export class FinanceApi { | ||
protected _basePath = defaultBasePath; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.36.0'}; | ||
protected defaultHeaders : any = {'user-agent': 'xero-node-4.37.0'}; | ||
protected _useQuerystring : boolean = false; | ||
protected binaryHeaders : any = {}; | ||
|
||
|
Oops, something went wrong.