Skip to content

Commit 24d0cfa

Browse files
authored
Merge pull request #266 from XeroAPI/xero-php-2.12.0
generates xero-php-2.12.0 from OAS 2.18.0
2 parents 0174828 + 066213f commit 24d0cfa

35 files changed

+6362
-41
lines changed

docs/v2/accounting/index.html

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3535,6 +3535,9 @@
35353535
"format" : "double",
35363536
"x-is-money" : true
35373537
},
3538+
"Item" : {
3539+
"$ref" : "#/components/schemas/LineItemItem"
3540+
},
35383541
"LineAmount" : {
35393542
"type" : "number",
35403543
"description" : "If you wish to omit either of the <Quantity> or <UnitAmount> you can provide a LineAmount and Xero will calculate the missing amount for you. The line amount reflects the discounted price if a DiscountRate has been used . i.e LineAmount = Quantity * Unit Amount * ((100 – DiscountRate)/100)",
@@ -3571,6 +3574,27 @@
35713574
"externalDocs" : {
35723575
"url" : "https://developer.xero.com/documentation/api/invoices#post"
35733576
}
3577+
};
3578+
defs["LineItemItem"] = {
3579+
"title" : "",
3580+
"properties" : {
3581+
"Code" : {
3582+
"maxLength" : 30,
3583+
"type" : "string",
3584+
"description" : "User defined item code (max length = 30)"
3585+
},
3586+
"Name" : {
3587+
"maxLength" : 50,
3588+
"type" : "string",
3589+
"description" : "The name of the item (max length = 50)"
3590+
},
3591+
"ItemID" : {
3592+
"type" : "string",
3593+
"description" : "The Xero identifier for an Item",
3594+
"format" : "uuid"
3595+
}
3596+
},
3597+
"description" : ""
35743598
};
35753599
defs["LineItemTracking"] = {
35763600
"title" : "",
@@ -5983,7 +6007,7 @@
59836007
<nav id="scrollingNav">
59846008
<ul class="sidenav nav nav-list">
59856009
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
5986-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>2.11.0</li>
6010+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>2.12.0</li>
59876011
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
59886012
<li data-group="Accounting" data-name="createAccount" class="">
59896013
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v2/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@
11321132
<nav id="scrollingNav">
11331133
<ul class="sidenav nav nav-list">
11341134
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1135-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>2.11.0</li>
1135+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>2.12.0</li>
11361136
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
11371137
<li data-group="AppStore" data-name="getSubscription" class="">
11381138
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v2/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1390,7 +1390,7 @@
13901390
<nav id="scrollingNav">
13911391
<ul class="sidenav nav nav-list">
13921392
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1393-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>2.11.0</li>
1393+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>2.12.0</li>
13941394
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
13951395
<li data-group="Asset" data-name="createAsset" class="">
13961396
<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.11.0</li>
1157+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>2.12.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>

0 commit comments

Comments
 (0)