Skip to content

Commit 16e60e1

Browse files
authored
Merge pull request #365 from XeroAPI/OAS-6.2.0-xero-php
Build from OAS 6.2.0
2 parents 694259f + a49d568 commit 16e60e1

21 files changed

+25
-25
lines changed

Diff for: docs/v2/accounting/index.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -2494,7 +2494,7 @@
24942494
},
24952495
"SentToContact" : {
24962496
"type" : "boolean",
2497-
"description" : "boolean to indicate if a credit note has been sent to a contact via the Xero app (currently read only)",
2497+
"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",
24982498
"readOnly" : true
24992499
},
25002500
"CurrencyRate" : {
@@ -6215,7 +6215,7 @@
62156215
<nav id="scrollingNav">
62166216
<ul class="sidenav nav nav-list">
62176217
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6218-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>7.1.1</li>
6218+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>7.2.0</li>
62196219
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
62206220
<li data-group="Accounting" data-name="createAccount" class="">
62216221
<a href="#api-Accounting-createAccount">createAccount</a>
@@ -41274,7 +41274,7 @@ <h2>Parameters</h2>
4127441274
"schema" : {
4127541275
"$ref" : "#/components/schemas/CreditNotes"
4127641276
},
41277-
"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\" } ] } ] }"
41277+
"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\" } ] } ] }"
4127841278
}
4127941279
},
4128041280
"required" : true

Diff for: docs/v2/appstore/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1240,7 +1240,7 @@
12401240
<nav id="scrollingNav">
12411241
<ul class="sidenav nav nav-list">
12421242
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1243-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>7.1.1</li>
1243+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>7.2.0</li>
12441244
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12451245
<li data-group="AppStore" data-name="getSubscription" class="">
12461246
<a href="#api-AppStore-getSubscription">getSubscription</a>

Diff for: docs/v2/assets/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1391,7 +1391,7 @@
13911391
<nav id="scrollingNav">
13921392
<ul class="sidenav nav nav-list">
13931393
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1394-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>7.1.1</li>
1394+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>7.2.0</li>
13951395
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13961396
<li data-group="Asset" data-name="createAsset" class="">
13971397
<a href="#api-Asset-createAsset">createAsset</a>

Diff for: docs/v2/files/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@
11691169
<nav id="scrollingNav">
11701170
<ul class="sidenav nav nav-list">
11711171
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1172-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>7.1.1</li>
1172+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>7.2.0</li>
11731173
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11741174
<li data-group="Files" data-name="createFileAssociation" class="">
11751175
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

Diff for: docs/v2/finance/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2736,7 +2736,7 @@
27362736
<nav id="scrollingNav">
27372737
<ul class="sidenav nav nav-list">
27382738
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2739-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>7.1.1</li>
2739+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>7.2.0</li>
27402740
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27412741
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27422742
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

Diff for: docs/v2/payroll_au/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3411,7 +3411,7 @@
34113411
<nav id="scrollingNav">
34123412
<ul class="sidenav nav nav-list">
34133413
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3414-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>7.1.1</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>7.2.0</li>
34153415
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34163416
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34173417
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

Diff for: docs/v2/payroll_nz/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -4030,7 +4030,7 @@
40304030
<nav id="scrollingNav">
40314031
<ul class="sidenav nav nav-list">
40324032
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4033-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>7.1.1</li>
4033+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>7.2.0</li>
40344034
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40354035
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40364036
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

Diff for: docs/v2/payroll_uk/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -3509,7 +3509,7 @@
35093509
<nav id="scrollingNav">
35103510
<ul class="sidenav nav nav-list">
35113511
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3512-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>7.1.1</li>
3512+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>7.2.0</li>
35133513
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35143514
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35153515
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>

Diff for: docs/v2/projects/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
<nav id="scrollingNav">
14621462
<ul class="sidenav nav nav-list">
14631463
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
1464-
<li class="nav-header" data-group="Project"><strong>VSN: </strong>7.1.1</li>
1464+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>7.2.0</li>
14651465
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
14661466
<li data-group="Project" data-name="createProject" class="">
14671467
<a href="#api-Project-createProject">createProject</a>

Diff for: lib/Api/AccountingApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/AppStoreApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* These endpoints are for Xero Partners to interact with the App Store Billing platform
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/AssetApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* 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.
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/FilesApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* These endpoints are specific to Xero Files API
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/FinanceApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* 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.
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/IdentityApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* These endpoints are related to managing authentication tokens and identity for Xero API
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/PayrollAuApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* This is the Xero Payroll API for orgs in Australia region.
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/PayrollNzApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* This is the Xero Payroll API for orgs in the NZ region.
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/PayrollUkApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* This is the Xero Payroll API for orgs in the UK region.
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Api/ProjectApi.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
*
1515
* This is the Xero Projects API
1616
*
17-
* OpenAPI spec version: 6.1.1
17+
* OpenAPI spec version: 6.2.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

Diff for: lib/Configuration.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class Configuration
157157
*
158158
* @var string
159159
*/
160-
protected $userAgent = '[xero-php-oauth2 (7.1.1)]';
160+
protected $userAgent = '[xero-php-oauth2 (7.2.0)]';
161161

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

703703
return $report;

Diff for: lib/Models/Accounting/CreditNote.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1033,7 +1033,7 @@ public function getSentToContact()
10331033
/**
10341034
* Sets sent_to_contact
10351035
*
1036-
* @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)
1036+
* @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
10371037
*
10381038
* @return $this
10391039
*/

0 commit comments

Comments
 (0)