Skip to content

Commit 056a47a

Browse files
authored
Merge pull request #402 from XeroAPI/10.3.0
Build for version - 10.3.0
2 parents cc62e6d + 25f098b commit 056a47a

26 files changed

+1257
-32
lines changed

docs/v2/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6343,7 +6343,7 @@
63436343
<nav id="scrollingNav">
63446344
<ul class="sidenav nav nav-list">
63456345
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6346-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>10.2.0</li>
6346+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>10.3.0</li>
63476347
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63486348
<li data-group="Accounting" data-name="createAccount" class="">
63496349
<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
@@ -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>10.2.0</li>
1243+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>10.3.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>

docs/v2/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1418,7 +1418,7 @@
14181418
<nav id="scrollingNav">
14191419
<ul class="sidenav nav nav-list">
14201420
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1421-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>10.2.0</li>
1421+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>10.3.0</li>
14221422
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14231423
<li data-group="Asset" data-name="createAsset" class="">
14241424
<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
@@ -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>10.2.0</li>
1172+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>10.3.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>

docs/v2/finance/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2715,7 +2715,7 @@
27152715
<nav id="scrollingNav">
27162716
<ul class="sidenav nav nav-list">
27172717
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
2718-
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>10.2.0</li>
2718+
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>10.3.0</li>
27192719
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
27202720
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
27212721
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>

docs/v2/payroll_au/index.html

Lines changed: 1 addition & 1 deletion
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>10.2.0</li>
3414+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>10.3.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>

docs/v2/payroll_nz/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4086,7 +4086,7 @@
40864086
<nav id="scrollingNav">
40874087
<ul class="sidenav nav nav-list">
40884088
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
4089-
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>10.2.0</li>
4089+
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>10.3.0</li>
40904090
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
40914091
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
40924092
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>

docs/v2/payroll_uk/index.html

Lines changed: 101 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1091,6 +1091,53 @@
10911091
}
10921092
},
10931093
"description" : ""
1094+
};
1095+
defs["ContractType"] = {
1096+
"title" : "",
1097+
"type" : "string",
1098+
"description" : "The contract type of the employee.",
1099+
"example" : "FullTime",
1100+
"enum" : [ "FullTime", "PartTime", "ZeroHour", "Unspecified" ]
1101+
};
1102+
defs["Contracts"] = {
1103+
"title" : "",
1104+
"required" : [ "contractType", "employmentStatus", "startDate" ],
1105+
"type" : "object",
1106+
"properties" : {
1107+
"startDate" : {
1108+
"type" : "string",
1109+
"description" : "The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD)",
1110+
"format" : "date",
1111+
"example" : "2024-12-02",
1112+
"x-is-date" : true
1113+
},
1114+
"employmentStatus" : {
1115+
"$ref" : "#/components/schemas/EmploymentStatus"
1116+
},
1117+
"contractType" : {
1118+
"$ref" : "#/components/schemas/ContractType"
1119+
},
1120+
"publicKey" : {
1121+
"type" : "string",
1122+
"description" : "The public key of the contract. Public key is required if the intention is to edit an existing contract. If no key is supplied a new contract will be created",
1123+
"format" : "uuid"
1124+
},
1125+
"isFixedTerm" : {
1126+
"type" : "boolean",
1127+
"description" : "describes whether the contract is fixed term (required if trying to create Fixed term contract)"
1128+
},
1129+
"fixedTermEndDate" : {
1130+
"type" : "string",
1131+
"description" : "The fixed term end date of the employee. Not required if isFixedTerm is false or not provided (required if trying to create Fixed term contract)",
1132+
"format" : "date",
1133+
"example" : "2025-11-01",
1134+
"x-is-date" : true
1135+
},
1136+
"developmentalRoleDetails" : {
1137+
"$ref" : "#/components/schemas/DevelopmentalRoleDetails"
1138+
}
1139+
},
1140+
"description" : ""
10941141
};
10951142
defs["CourtOrderLine"] = {
10961143
"title" : "",
@@ -1249,6 +1296,38 @@
12491296
}
12501297
},
12511298
"description" : ""
1299+
};
1300+
defs["DevelopmentalRoleDetails"] = {
1301+
"title" : "",
1302+
"required" : [ "developmentalRole", "endDate", "startDate" ],
1303+
"type" : "object",
1304+
"properties" : {
1305+
"startDate" : {
1306+
"type" : "string",
1307+
"description" : "The start date of the developmental role",
1308+
"format" : "date",
1309+
"example" : "2024-12-02",
1310+
"x-is-date" : true
1311+
},
1312+
"endDate" : {
1313+
"type" : "string",
1314+
"description" : "The end date of the developmental role",
1315+
"format" : "date",
1316+
"example" : "2024-12-02",
1317+
"x-is-date" : true
1318+
},
1319+
"developmentalRole" : {
1320+
"type" : "string",
1321+
"description" : "The developmental role type - \"Apprentice\" is the only supported role currently",
1322+
"example" : "Apprentice"
1323+
},
1324+
"publicKey" : {
1325+
"type" : "string",
1326+
"description" : "The public key of the developmental role. Public key is required if the intention is to edit an existing developmental role. If no key is supplied a new developmental role will be created",
1327+
"format" : "uuid"
1328+
}
1329+
},
1330+
"description" : ""
12521331
};
12531332
defs["EarningsLine"] = {
12541333
"title" : "",
@@ -1613,6 +1692,13 @@
16131692
"isOffPayrollWorker" : {
16141693
"type" : "boolean",
16151694
"description" : "Whether the employee is an off payroll worker"
1695+
},
1696+
"contracts" : {
1697+
"type" : "array",
1698+
"description" : "The employee's contracts",
1699+
"items" : {
1700+
"$ref" : "#/components/schemas/Contracts"
1701+
}
16161702
}
16171703
},
16181704
"description" : ""
@@ -2300,6 +2386,13 @@
23002386
"items" : {
23012387
"$ref" : "#/components/schemas/NICategory"
23022388
}
2389+
},
2390+
"contracts" : {
2391+
"type" : "array",
2392+
"description" : "The employee's contracts",
2393+
"items" : {
2394+
"$ref" : "#/components/schemas/Contracts"
2395+
}
23032396
}
23042397
},
23052398
"description" : ""
@@ -2319,6 +2412,13 @@
23192412
}
23202413
},
23212414
"description" : ""
2415+
};
2416+
defs["EmploymentStatus"] = {
2417+
"title" : "",
2418+
"type" : "string",
2419+
"description" : "The employment status of the employee.",
2420+
"example" : "Employee",
2421+
"enum" : [ "Employee", "Worker", "Unspecified" ]
23222422
};
23232423
defs["InvalidField"] = {
23242424
"title" : "",
@@ -3599,7 +3699,7 @@
35993699
<nav id="scrollingNav">
36003700
<ul class="sidenav nav nav-list">
36013701
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3602-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>10.2.0</li>
3702+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>10.3.0</li>
36033703
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
36043704
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
36053705
<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>10.2.0</li>
1464+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>10.3.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: 9.2.0
17+
* OpenAPI spec version: 9.3.0
1818
* Contact: [email protected]
1919
* Generated by: https://openapi-generator.tech
2020
* OpenAPI Generator version: 5.4.0

0 commit comments

Comments
 (0)