Skip to content

Commit 6e6f136

Browse files
Build from OAS 7.0.0
1 parent 98e082b commit 6e6f136

26 files changed

+470
-169
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -6338,7 +6338,7 @@
63386338
<nav id="scrollingNav">
63396339
<ul class="sidenav nav nav-list">
63406340
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6341-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>7.3.0</li>
6341+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>8.0.0</li>
63426342
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63436343
<li data-group="Accounting" data-name="createAccount" class="">
63446344
<a href="#api-Accounting-createAccount">createAccount</a>

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.3.0</li>
1243+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>8.0.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.3.0</li>
1394+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>8.0.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.3.0</li>
1172+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>8.0.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

+2-23
Original file line numberDiff line numberDiff line change
@@ -1517,7 +1517,7 @@
15171517
},
15181518
"importSourceType" : {
15191519
"type" : "string",
1520-
"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)."
1520+
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, file upload, or manual keying)."
15211521
}
15221522
},
15231523
"additionalProperties" : false,
@@ -1533,13 +1533,6 @@
15331533
"format" : "double",
15341534
"x-is-money" : true
15351535
},
1536-
"indirectBankFeed" : {
1537-
"type" : "number",
1538-
"description" : "No longer in use.",
1539-
"format" : "double",
1540-
"deprecated" : true,
1541-
"x-is-money" : true
1542-
},
15431536
"fileUpload" : {
15441537
"type" : "number",
15451538
"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.",
@@ -1558,13 +1551,6 @@
15581551
"format" : "double",
15591552
"x-is-money" : true
15601553
},
1561-
"indirectBankFeedPos" : {
1562-
"type" : "number",
1563-
"description" : "No longer in use.",
1564-
"format" : "double",
1565-
"deprecated" : true,
1566-
"x-is-money" : true
1567-
},
15681554
"fileUploadPos" : {
15691555
"type" : "number",
15701556
"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.",
@@ -1583,13 +1569,6 @@
15831569
"format" : "double",
15841570
"x-is-money" : true
15851571
},
1586-
"indirectBankFeedNeg" : {
1587-
"type" : "number",
1588-
"description" : "No longer in use.",
1589-
"format" : "double",
1590-
"deprecated" : true,
1591-
"x-is-money" : true
1592-
},
15931572
"fileUploadNeg" : {
15941573
"type" : "number",
15951574
"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.",
@@ -2736,7 +2715,7 @@
27362715
<nav id="scrollingNav">
27372716
<ul class="sidenav nav nav-list">
27382717
<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.3.0</li>
2718+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>8.0.0</li>
27402719
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27412720
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27422721
<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.3.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>8.0.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

+65-9
Original file line numberDiff line numberDiff line change
@@ -1684,14 +1684,28 @@
16841684
},
16851685
"sickLeaveHoursToAccrueAnnually" : {
16861686
"type" : "number",
1687-
"description" : "Number of hours accrued annually for sick leave. Multiply the number of days they're entitled to by the hours worked per day",
1687+
"description" : "Deprecated use SickLeaveToAccrueAnnually",
16881688
"format" : "double",
16891689
"example" : 100.5,
16901690
"x-is-money" : true
16911691
},
16921692
"sickLeaveMaximumHoursToAccrue" : {
16931693
"type" : "number",
1694-
"description" : "Maximum number of hours accrued annually for sick leave. Multiply the maximum days they can accrue by the hours worked per day",
1694+
"description" : "Deprecated use SickLeaveMaximumToAccrue",
1695+
"format" : "double",
1696+
"example" : 200.5,
1697+
"x-is-money" : true
1698+
},
1699+
"SickLeaveToAccrueAnnually" : {
1700+
"type" : "number",
1701+
"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",
1702+
"format" : "double",
1703+
"example" : 100.5,
1704+
"x-is-money" : true
1705+
},
1706+
"SickLeaveMaximumToAccrue" : {
1707+
"type" : "number",
1708+
"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",
16951709
"format" : "double",
16961710
"example" : 200.5,
16971711
"x-is-money" : true
@@ -1710,7 +1724,14 @@
17101724
},
17111725
"SickLeaveAnniversaryDate" : {
17121726
"type" : "string",
1713-
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave",
1727+
"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",
1728+
"format" : "date",
1729+
"example" : "2020-01-19",
1730+
"x-is-date" : true
1731+
},
1732+
"AnnualLeaveAnniversaryDate" : {
1733+
"type" : "string",
1734+
"description" : "The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date",
17141735
"format" : "date",
17151736
"example" : "2020-01-19",
17161737
"x-is-date" : true
@@ -1750,22 +1771,36 @@
17501771
},
17511772
"hoursAccruedAnnually" : {
17521773
"type" : "number",
1753-
"description" : "The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"",
1774+
"description" : "Deprecated use UnitsAccruedAnnually",
17541775
"format" : "double",
17551776
"x-is-money" : true
17561777
},
1778+
"UnitsAccruedAnnually" : {
1779+
"type" : "number",
1780+
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
1781+
"format" : "double",
1782+
"x-is-money" : true
1783+
},
1784+
"typeOfUnitsToAccrue" : {
1785+
"type" : "string",
1786+
"description" : "The type of units accrued for the leave annually"
1787+
},
17571788
"maximumToAccrue" : {
17581789
"type" : "number",
1759-
"description" : "The maximum number of hours that can be accrued for the leave",
1790+
"description" : "The maximum number of units that can be accrued for the leave",
17601791
"format" : "double",
17611792
"x-is-money" : true
17621793
},
17631794
"openingBalance" : {
17641795
"type" : "number",
1765-
"description" : "The initial number of hours assigned when the leave was added to the employee",
1796+
"description" : "The initial number of units assigned when the leave was added to the employee",
17661797
"format" : "double",
17671798
"x-is-money" : true
17681799
},
1800+
"openingBalanceTypeOfUnits" : {
1801+
"type" : "string",
1802+
"description" : "The type of units for the opening balance"
1803+
},
17691804
"rateAccruedHourly" : {
17701805
"type" : "number",
17711806
"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\"",
@@ -2609,10 +2644,23 @@
26092644
"format" : "double",
26102645
"x-is-money" : true
26112646
},
2647+
"numberOfUnitsTaken" : {
2648+
"type" : "number",
2649+
"description" : "The number of units taken for the leave",
2650+
"format" : "double"
2651+
},
2652+
"typeOfUnits" : {
2653+
"type" : "string",
2654+
"description" : "The type of units paid for the leave"
2655+
},
2656+
"typeOfUnitsTaken" : {
2657+
"type" : "string",
2658+
"description" : "The type of units taken for the leave"
2659+
},
26122660
"periodStatus" : {
26132661
"type" : "string",
2614-
"description" : "Period Status",
2615-
"enum" : [ "Approved", "Completed" ]
2662+
"description" : "Status of leave",
2663+
"enum" : [ "Approved", "Completed", "Estimated" ]
26162664
}
26172665
},
26182666
"description" : ""
@@ -2667,6 +2715,14 @@
26672715
"isActive" : {
26682716
"type" : "boolean",
26692717
"description" : "Shows whether the leave type is active or not"
2718+
},
2719+
"typeOfUnits" : {
2720+
"type" : "string",
2721+
"description" : "The type of units to be paid for the leave type"
2722+
},
2723+
"typeOfUnitsToAccrue" : {
2724+
"type" : "string",
2725+
"description" : "The type of units to be accrued for the leave type"
26702726
}
26712727
},
26722728
"description" : ""
@@ -4030,7 +4086,7 @@
40304086
<nav id="scrollingNav">
40314087
<ul class="sidenav nav nav-list">
40324088
<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.3.0</li>
4089+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>8.0.0</li>
40344090
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40354091
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40364092
<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
@@ -3516,7 +3516,7 @@
35163516
<nav id="scrollingNav">
35173517
<ul class="sidenav nav nav-list">
35183518
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3519-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>7.3.0</li>
3519+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>8.0.0</li>
35203520
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
35213521
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
35223522
<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.3.0</li>
1464+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>8.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.3.0
17+
* OpenAPI spec version: 7.0.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.2.0)]';
160+
protected $userAgent = '[xero-php-oauth2 (8.0.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.3.0' . PHP_EOL;
700-
$report .= ' SDK Package Version: 7.3.0' . PHP_EOL;
699+
$report .= ' OpenAPI Spec Version: 7.0.0' . PHP_EOL;
700+
$report .= ' SDK Package Version: 8.0.0' . PHP_EOL;
701701
$report .= ' Temp Folder Path: ' . self::getDefaultConfiguration()->getTempFolderPath() . PHP_EOL;
702702

703703
return $report;

Diff for: lib/Models/Finance/CurrentStatementResponse.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ public function getImportSourceType()
383383
/**
384384
* Sets import_source_type
385385
*
386-
* @param string|null $import_source_type 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).
386+
* @param string|null $import_source_type Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, file upload, or manual keying).
387387
*
388388
* @return $this
389389
*/

0 commit comments

Comments
 (0)