Skip to content

Commit f9f720f

Browse files
authored
Merge pull request #306 from XeroAPI/xero-php-2.20.0
generates xero-php 2.20.0 from OAS 2.34.1
2 parents b451db1 + a02ccc8 commit f9f720f

24 files changed

+236
-38
lines changed

docs/v2/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6073,7 +6073,7 @@
60736073
<nav id="scrollingNav">
60746074
<ul class="sidenav nav nav-list">
60756075
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6076-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>2.19.0</li>
6076+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>2.20.0</li>
60776077
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
60786078
<li data-group="Accounting" data-name="createAccount" class="">
60796079
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v2/appstore/index.html

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -875,7 +875,8 @@
875875
"timestamp" : {
876876
"type" : "string",
877877
"description" : "DateTime in UTC of when the the product was consumed/used",
878-
"format" : "date-time"
878+
"format" : "date-time",
879+
"x-is-datetime" : true
879880
}
880881
},
881882
"description" : "Data transfer object for public create usage end point"
@@ -993,12 +994,14 @@
993994
"currentPeriodEnd" : {
994995
"type" : "string",
995996
"description" : "End of the current period that the subscription has been invoiced for.\n",
996-
"format" : "date-time"
997+
"format" : "date-time",
998+
"x-is-datetime" : true
997999
},
9981000
"endDate" : {
9991001
"type" : "string",
10001002
"description" : "If the subscription has been canceled, this is the date when the subscription ends. If null, the subscription is active and has not been cancelled",
1001-
"format" : "date-time"
1003+
"format" : "date-time",
1004+
"x-is-datetime" : true
10021005
},
10031006
"id" : {
10041007
"type" : "string",
@@ -1020,7 +1023,8 @@
10201023
"startDate" : {
10211024
"type" : "string",
10221025
"description" : "Date when the subscription was first created.",
1023-
"format" : "date-time"
1026+
"format" : "date-time",
1027+
"x-is-datetime" : true
10241028
},
10251029
"status" : {
10261030
"type" : "string",
@@ -1042,7 +1046,8 @@
10421046
"endDate" : {
10431047
"type" : "string",
10441048
"description" : "Date when the subscription to this product will end",
1045-
"format" : "date-time"
1049+
"format" : "date-time",
1050+
"x-is-datetime" : true
10461051
},
10471052
"id" : {
10481053
"type" : "string",
@@ -1062,7 +1067,8 @@
10621067
"startDate" : {
10631068
"type" : "string",
10641069
"description" : "Date the subscription started, or will start. Note: this could be in\nthe future for downgrades or reduced number of seats that haven't taken effect yet.\n",
1065-
"format" : "date-time"
1070+
"format" : "date-time",
1071+
"x-is-datetime" : true
10661072
},
10671073
"status" : {
10681074
"type" : "string",
@@ -1116,7 +1122,8 @@
11161122
"recordedAt" : {
11171123
"type" : "string",
11181124
"description" : "The time when this usage was recorded in UTC",
1119-
"format" : "date-time"
1125+
"format" : "date-time",
1126+
"x-is-datetime" : true
11201127
},
11211128
"usageRecordId" : {
11221129
"type" : "string",
@@ -1233,7 +1240,7 @@
12331240
<nav id="scrollingNav">
12341241
<ul class="sidenav nav nav-list">
12351242
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1236-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>2.19.0</li>
1243+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>2.20.0</li>
12371244
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12381245
<li data-group="AppStore" data-name="getSubscription" class="">
12391246
<a href="#api-AppStore-getSubscription">getSubscription</a>
@@ -1589,7 +1596,7 @@ <h2>Parameters</h2>
15891596
"schema" : {
15901597
"$ref" : "#/components/schemas/CreateUsageRecord"
15911598
},
1592-
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00Z\", \"quantity\": 10 }"
1599+
"example" : "{ \"timestamp\": \"2022-01-21T13:01:00\", \"quantity\": 10 }"
15931600
}
15941601
},
15951602
"required" : true

docs/v2/assets/index.html

Lines changed: 1 addition & 1 deletion
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>2.19.0</li>
1394+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>2.20.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>

docs/v2/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@
11541154
<nav id="scrollingNav">
11551155
<ul class="sidenav nav nav-list">
11561156
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1157-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>2.19.0</li>
1157+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>2.20.0</li>
11581158
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11591159
<li data-group="Files" data-name="createFileAssociation" class="">
11601160
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v2/finance/index.html

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2161,6 +2161,10 @@
21612161
"description" : "Date of when statement line was posted",
21622162
"format" : "date"
21632163
},
2164+
"payee" : {
2165+
"type" : "string",
2166+
"description" : "Payee description of statement line"
2167+
},
21642168
"reference" : {
21652169
"type" : "string",
21662170
"description" : "Reference description of statement line"
@@ -2349,13 +2353,25 @@
23492353
},
23502354
"startBalance" : {
23512355
"type" : "number",
2352-
"description" : "Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.",
2356+
"description" : "Opening balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.",
23532357
"format" : "double",
23542358
"x-is-money" : true
23552359
},
23562360
"endBalance" : {
23572361
"type" : "number",
2358-
"description" : "Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied.",
2362+
"description" : "Closing balance sourced from imported bank statements (if supplied). Note, for manually uploaded statements, this balance is also manual and usually not supplied. Where not supplied, the value will be 0.",
2363+
"format" : "double",
2364+
"x-is-money" : true
2365+
},
2366+
"indicativeStartBalance" : {
2367+
"type" : "number",
2368+
"description" : "Opening statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true\n",
2369+
"format" : "double",
2370+
"x-is-money" : true
2371+
},
2372+
"indicativeEndBalance" : {
2373+
"type" : "number",
2374+
"description" : "Closing statement balance calculated in Xero (= bank account conversion balance plus sum of imported bank statement lines). Note: If indicative statement balance doesn't match imported statement balance for the same date, either the conversion (opening at inception) balance in Xero is wrong or there's an error in the bank statement lines in Xero. Ref: https://central.xero.com/s/article/Compare-the-statement-balance-in-Xero-to-your-actual-bank-balance?userregion=true \n",
23592375
"format" : "double",
23602376
"x-is-money" : true
23612377
},
@@ -2717,7 +2733,7 @@
27172733
<nav id="scrollingNav">
27182734
<ul class="sidenav nav nav-list">
27192735
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2720-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>2.19.0</li>
2736+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>2.20.0</li>
27212737
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27222738
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27232739
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v2/payroll_au/index.html

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1182,6 +1182,16 @@
11821182
"description" : "Boolean to determine if the earnings rate is reportable or exempt from W1",
11831183
"example" : false
11841184
},
1185+
"AllowanceContributesToAnnualLeaveRate" : {
1186+
"type" : "boolean",
1187+
"description" : "Boolean to determine if the allowance earnings rate contributes towards annual leave rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT",
1188+
"example" : false
1189+
},
1190+
"AllowanceContributesToOvertimeRate" : {
1191+
"type" : "boolean",
1192+
"description" : "Boolean to determine if the allowance earnings rate contributes towards overtime allowance rate. Only applicable if EarningsType is ALLOWANCE and RateType is RATEPERUNIT",
1193+
"example" : false
1194+
},
11851195
"EarningsType" : {
11861196
"$ref" : "#/components/schemas/EarningsType"
11871197
},
@@ -3343,7 +3353,7 @@
33433353
<nav id="scrollingNav">
33443354
<ul class="sidenav nav nav-list">
33453355
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3346-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>2.19.0</li>
3356+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>2.20.0</li>
33473357
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
33483358
<li data-group="PayrollAu" data-name="createEmployee" class="">
33493359
<a href="#api-PayrollAu-createEmployee">createEmployee</a>
@@ -3874,7 +3884,7 @@ <h2>Parameters</h2>
38743884
"schema" : {
38753885
"$ref" : "#/components/schemas/PayItem"
38763886
},
3877-
"example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
3887+
"example" : "{ \"EarningsRates\": [ { \"Name\": \"MyRate\", \"AccountCode\": \"400\", \"TypeOfUnits\": \"4.00\", \"IsExemptFromTax\": true, \"IsExemptFromSuper\": true, \"IsReportableAsW1\": false, \"AllowanceContributesToAnnualLeaveRate\": false, \"AllowanceContributesToOvertimeRate\": false, \"EarningsType\": \"ORDINARYTIMEEARNINGS\", \"EarningsRateID\": \"1fa4e226-b711-46ba-a8a7-4344c9c5fb87\", \"RateType\": \"MULTIPLE\", \"RatePerUnit\": \"10.0\", \"Multiplier\": 1.5, \"Amount\": 5, \"EmploymentTerminationPaymentType\": \"O\" } ] }"
38783888
}
38793889
},
38803890
"required" : true

docs/v2/payroll_nz/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3837,7 +3837,7 @@
38373837
<nav id="scrollingNav">
38383838
<ul class="sidenav nav nav-list">
38393839
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
3840-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>2.19.0</li>
3840+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>2.20.0</li>
38413841
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
38423842
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
38433843
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v2/payroll_uk/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@
13811381
"earningsType" : {
13821382
"type" : "string",
13831383
"description" : "Indicates how an employee will be paid when taking this type of earning",
1384-
"enum" : [ "Allowance", "Backpay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "TipsNonDirect", "TipsDirect", "TerminationPay" ]
1384+
"enum" : [ "Allowance", "BackPay", "Bonus", "Commission", "LumpSum", "OtherEarnings", "OvertimeEarnings", "RegularEarnings", "StatutoryAdoptionPay", "StatutoryAdoptionPayNonPensionable", "StatutoryBereavementPay", "StatutoryMaternityPay", "StatutoryMaternityPayNonPensionable", "StatutoryPaternityPay", "StatutoryPaternityPayNonPensionable", "StatutoryParentalBereavementPayNonPensionable", "StatutorySharedParentalPay", "StatutorySharedParentalPayNonPensionable", "StatutorySickPay", "StatutorySickPayNonPensionable", "TipsNonDirect", "TipsDirect", "TerminationPay" ]
13851385
},
13861386
"rateType" : {
13871387
"type" : "string",
@@ -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>2.19.0</li>
3512+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>2.20.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>

docs/v2/projects/index.html

Lines changed: 1 addition & 1 deletion
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>2.19.0</li>
1464+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>2.20.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>

lib/Api/AccountingApi.php

Lines changed: 1 addition & 1 deletion
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: 2.33.1
17+
* OpenAPI spec version: 2.35.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

0 commit comments

Comments
 (0)