Skip to content

Commit f7ae37a

Browse files
authored
Merge pull request #204 from XeroAPI/9.3.0
Build for version - 9.3.0
2 parents b83a35d + af42759 commit f7ae37a

File tree

36 files changed

+716
-23
lines changed

36 files changed

+716
-23
lines changed

docs/v1/accounting/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6344,7 +6344,7 @@
63446344
<nav id="scrollingNav">
63456345
<ul class="sidenav nav nav-list">
63466346
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
6347-
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.2.0</li>
6347+
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.3.0</li>
63486348
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
63496349
<li data-group="Accounting" data-name="createAccount" class="">
63506350
<a href="#api-Accounting-createAccount">createAccount</a>

docs/v1/appstore/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,7 @@
12411241
<nav id="scrollingNav">
12421242
<ul class="sidenav nav nav-list">
12431243
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
1244-
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.2.0</li>
1244+
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.3.0</li>
12451245
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
12461246
<li data-group="AppStore" data-name="getSubscription" class="">
12471247
<a href="#api-AppStore-getSubscription">getSubscription</a>

docs/v1/assets/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1419,7 +1419,7 @@
14191419
<nav id="scrollingNav">
14201420
<ul class="sidenav nav nav-list">
14211421
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
1422-
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.2.0</li>
1422+
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.3.0</li>
14231423
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
14241424
<li data-group="Asset" data-name="createAsset" class="">
14251425
<a href="#api-Asset-createAsset">createAsset</a>

docs/v1/files/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1170,7 +1170,7 @@
11701170
<nav id="scrollingNav">
11711171
<ul class="sidenav nav nav-list">
11721172
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
1173-
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.2.0</li>
1173+
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.3.0</li>
11741174
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
11751175
<li data-group="Files" data-name="createFileAssociation" class="">
11761176
<a href="#api-Files-createFileAssociation">createFileAssociation</a>

docs/v1/finance/index.html

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

docs/v1/payroll-au/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3412,7 +3412,7 @@
34123412
<nav id="scrollingNav">
34133413
<ul class="sidenav nav nav-list">
34143414
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
3415-
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.2.0</li>
3415+
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.3.0</li>
34163416
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
34173417
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
34183418
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>

docs/v1/payroll-nz/index.html

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

docs/v1/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" : "",
@@ -3600,7 +3700,7 @@
36003700
<nav id="scrollingNav">
36013701
<ul class="sidenav nav nav-list">
36023702
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
3603-
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.2.0</li>
3703+
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.3.0</li>
36043704
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
36053705
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
36063706
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>

docs/v1/projects/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1462,7 +1462,7 @@
14621462
<nav id="scrollingNav">
14631463
<ul class="sidenav nav nav-list">
14641464
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
1465-
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.2.0</li>
1465+
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.3.0</li>
14661466
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
14671467
<li data-group="Project" data-name="createProject" class="">
14681468
<a href="#api-Project-createProject">createProject</a>

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,5 +48,5 @@ def read_file(filename):
4848
keywords="xero python sdk API oAuth",
4949
name="xero_python",
5050
packages=find_packages(include=["xero_python", "xero_python.*"]),
51-
version="9.2.0",
51+
version="9.3.0",
5252
)

0 commit comments

Comments
 (0)