Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
657 changes: 6 additions & 651 deletions docs/accounting/index.html

Large diffs are not rendered by default.

10 changes: 10 additions & 0 deletions docs/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -881,6 +881,16 @@
"description" : "The size of the associated file in bytes. Note- The Size element is only returned when using /Associations/{ObjectId} endpoint.",
"example" : 12357
},
"CreatedDateUtc" : {
"type" : "string",
"description" : "The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint.",
"format" : "date-time"
},
"AssociationDateUtc" : {
"type" : "string",
"description" : "The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint.",
"format" : "date-time"
},
"FileId" : {
"type" : "string",
"description" : "The unique identifier of the file",
Expand Down
316 changes: 1 addition & 315 deletions src/gen/api/accountingApi.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion 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: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion 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: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion 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: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
6 changes: 3 additions & 3 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: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down Expand Up @@ -475,7 +475,7 @@ export class FilesApi {
* @param sort values to sort by
* @param direction direction to sort by
*/
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: AxiosResponse; body: Array<Association>; }> {
public async getAssociationsByObject (xeroTenantId: string, objectId: string, pagesize?: number, page?: number, sort?: 'Name' | 'Size' | 'CreatedDateUtc' | 'AssociationDateUtc', direction?: 'ASC' | 'DESC', options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: AxiosResponse; body: Array<Association>; }> {
const localVarPath = this.basePath + '/Associations/{ObjectId}'
.replace('{' + 'ObjectId' + '}', encodeURIComponent(String(objectId)));
let localVarQueryParameters: any = {};
Expand Down Expand Up @@ -506,7 +506,7 @@ export class FilesApi {
}

if (sort !== undefined) {
localVarQueryParameters['sort'] = ObjectSerializer.serialize(sort, "'Name' | 'CreatedDateUTC'");
localVarQueryParameters['sort'] = ObjectSerializer.serialize(sort, "'Name' | 'Size' | 'CreatedDateUtc' | 'AssociationDateUtc'");
}

if (direction !== undefined) {
Expand Down
2 changes: 1 addition & 1 deletion 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: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/payrollAUApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API
* This is the Xero Payroll API for orgs in Australia region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/payrollAUV2Api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll AU API 2.0
* This is the Xero Payroll API 2.0 for orgs in Australia region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/payrollNZApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll NZ
* This is the Xero Payroll API for orgs in the NZ region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/payrollUKApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Payroll UK
* This is the Xero Payroll API for orgs in the UK region.
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
2 changes: 1 addition & 1 deletion src/gen/api/projectApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
* Xero Projects API
* This is the Xero Projects API
*
* The version of the OpenAPI document: 12.0.2
* The version of the OpenAPI document: 13.0.0
* Contact: api@xero.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
Expand Down
9 changes: 9 additions & 0 deletions src/gen/model/accounting/prepayment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,10 @@ export class Prepayment {
*/
'prepaymentID'?: string;
/**
* The unique identifier of the branding template applied to a receive prepayment
*/
'brandingThemeID'?: string;
/**
* The currency rate for a multicurrency prepayment. If no rate is specified, the XE.com day rate is used
*/
'currencyRate'?: number;
Expand Down Expand Up @@ -156,6 +160,11 @@ export class Prepayment {
"baseName": "PrepaymentID",
"type": "string"
},
{
"name": "brandingThemeID",
"baseName": "BrandingThemeID",
"type": "string"
},
{
"name": "currencyRate",
"baseName": "CurrencyRate",
Expand Down
18 changes: 18 additions & 0 deletions src/gen/model/files/association.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,14 @@ export class Association {
*/
'size'?: number;
/**
* The date the file was created (UTC). Note- The CreatedDateUtc element is only returned when using /Associations/{ObjectId} endpoint.
*/
'createdDateUtc'?: Date;
/**
* The date the file was associated with the object (UTC). Note- The AssociationDateUtc element is only returned when using /Associations/{ObjectId} endpoint.
*/
'associationDateUtc'?: Date;
/**
* The unique identifier of the file
*/
'fileId'?: string;
Expand Down Expand Up @@ -43,6 +51,16 @@ export class Association {
"baseName": "Size",
"type": "number"
},
{
"name": "createdDateUtc",
"baseName": "CreatedDateUtc",
"type": "Date"
},
{
"name": "associationDateUtc",
"baseName": "AssociationDateUtc",
"type": "Date"
},
{
"name": "fileId",
"baseName": "FileId",
Expand Down
Loading