Skip to content

Build from OAS 6.2.0 #365

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 26, 2024
Merged
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
6 changes: 3 additions & 3 deletions docs/v2/accounting/index.html
Original file line number Diff line number Diff line change
@@ -2494,7 +2494,7 @@
},
"SentToContact" : {
"type" : "boolean",
"description" : "boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)",
"description" : "Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved",
"readOnly" : true
},
"CurrencyRate" : {
@@ -6215,7 +6215,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>7.1.1</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>7.2.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>
@@ -41274,7 +41274,7 @@ <h2>Parameters</h2>
"schema" : {
"$ref" : "#/components/schemas/CreditNotes"
},
"example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
"example" : "{ \"CreditNotes\": [ { \"Type\": \"ACCPAYCREDIT\", \"Contact\": { \"ContactID\": \"430fa14a-f945-44d3-9f97-5df5e28441b8\" }, \"Date\": \"2019-01-05\", \"Status\": \"AUTHORISED\", \"Reference\": \"HelloWorld\", \"SentToContact\": true, \"LineItems\": [ { \"Description\": \"Foobar\", \"Quantity\": 2, \"UnitAmount\": 20, \"AccountCode\": \"400\" } ] } ] }"
}
},
"required" : true
2 changes: 1 addition & 1 deletion docs/v2/appstore/index.html
Original file line number Diff line number Diff line change
@@ -1240,7 +1240,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>7.1.1</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/assets/index.html
Original file line number Diff line number Diff line change
@@ -1391,7 +1391,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>7.1.1</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/files/index.html
Original file line number Diff line number Diff line change
@@ -1169,7 +1169,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>7.1.1</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/finance/index.html
Original file line number Diff line number Diff line change
@@ -2736,7 +2736,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>7.1.1</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/payroll_au/index.html
Original file line number Diff line number Diff line change
@@ -3411,7 +3411,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>7.1.1</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/payroll_nz/index.html
Original file line number Diff line number Diff line change
@@ -4030,7 +4030,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>7.1.1</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/payroll_uk/index.html
Original file line number Diff line number Diff line change
@@ -3509,7 +3509,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>7.1.1</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion docs/v2/projects/index.html
Original file line number Diff line number Diff line change
@@ -1461,7 +1461,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>7.1.1</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>7.2.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>
2 changes: 1 addition & 1 deletion lib/Api/AccountingApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/AppStoreApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* These endpoints are for Xero Partners to interact with the App Store Billing platform
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/AssetApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/FilesApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* These endpoints are specific to Xero Files API
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/FinanceApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* 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.
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/IdentityApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* These endpoints are related to managing authentication tokens and identity for Xero API
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/PayrollAuApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* This is the Xero Payroll API for orgs in Australia region.
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/PayrollNzApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* This is the Xero Payroll API for orgs in the NZ region.
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/PayrollUkApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* This is the Xero Payroll API for orgs in the UK region.
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
2 changes: 1 addition & 1 deletion lib/Api/ProjectApi.php
Original file line number Diff line number Diff line change
@@ -14,7 +14,7 @@
*
* This is the Xero Projects API
*
* OpenAPI spec version: 6.1.1
* OpenAPI spec version: 6.2.0
* Contact: [email protected]
* Generated by: https://openapi-generator.tech
* OpenAPI Generator version: 5.4.0
6 changes: 3 additions & 3 deletions lib/Configuration.php
Original file line number Diff line number Diff line change
@@ -157,7 +157,7 @@ class Configuration
*
* @var string
*/
protected $userAgent = '[xero-php-oauth2 (7.1.1)]';
protected $userAgent = '[xero-php-oauth2 (7.2.0)]';

/**
* Debug switch (default set to false)
@@ -696,8 +696,8 @@ public static function toDebugReport()
$report = 'PHP SDK (XeroAPI\XeroPHP) Debug Report:' . PHP_EOL;
$report .= ' OS: ' . php_uname() . PHP_EOL;
$report .= ' PHP Version: ' . PHP_VERSION . PHP_EOL;
$report .= ' OpenAPI Spec Version: 6.1.1' . PHP_EOL;
$report .= ' SDK Package Version: 7.1.1' . PHP_EOL;
$report .= ' OpenAPI Spec Version: 6.2.0' . PHP_EOL;
$report .= ' SDK Package Version: 7.2.0' . PHP_EOL;
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;

return $report;
2 changes: 1 addition & 1 deletion lib/Models/Accounting/CreditNote.php
Original file line number Diff line number Diff line change
@@ -1033,7 +1033,7 @@ public function getSentToContact()
/**
* Sets sent_to_contact
*
* @param bool|null $sent_to_contact boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)
* @param bool|null $sent_to_contact Boolean to set whether the credit note in the Xero app should be marked as “sent”. This can be set only on credit notes that have been approved
*
* @return $this
*/