Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/v1/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6344,7 +6344,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Accounting"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="Accounting"><a href="#api-Accounting">Methods</a></li>
<li data-group="Accounting" data-name="createAccount" class="">
<a href="#api-Accounting-createAccount">createAccount</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/appstore/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1241,7 +1241,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="AppStore"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="AppStore"><a href="#api-AppStore">Methods</a></li>
<li data-group="AppStore" data-name="getSubscription" class="">
<a href="#api-AppStore-getSubscription">getSubscription</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/assets/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1419,7 +1419,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Asset"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="Asset"><a href="#api-Asset">Methods</a></li>
<li data-group="Asset" data-name="createAsset" class="">
<a href="#api-Asset-createAsset">createAsset</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/files/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1170,7 +1170,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Files"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="Files"><a href="#api-Files">Methods</a></li>
<li data-group="Files" data-name="createFileAssociation" class="">
<a href="#api-Files-createFileAssociation">createFileAssociation</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2716,7 +2716,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Finance"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="Finance"><a href="#api-Finance">Methods</a></li>
<li data-group="Finance" data-name="getAccountingActivityAccountUsage" class="">
<a href="#api-Finance-getAccountingActivityAccountUsage">getAccountingActivityAccountUsage</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/payroll-au/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3412,7 +3412,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollAu"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="PayrollAu"><a href="#api-PayrollAu">Methods</a></li>
<li data-group="PayrollAu" data-name="approveLeaveApplication" class="">
<a href="#api-PayrollAu-approveLeaveApplication">approveLeaveApplication</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4087,7 +4087,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollNz"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="PayrollNz"><a href="#api-PayrollNz">Methods</a></li>
<li data-group="PayrollNz" data-name="approveTimesheet" class="">
<a href="#api-PayrollNz-approveTimesheet">approveTimesheet</a>
Expand Down
102 changes: 101 additions & 1 deletion docs/v1/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,53 @@
}
},
"description" : ""
};
defs["ContractType"] = {
"title" : "",
"type" : "string",
"description" : "The contract type of the employee.",
"example" : "FullTime",
"enum" : [ "FullTime", "PartTime", "ZeroHour", "Unspecified" ]
};
defs["Contracts"] = {
"title" : "",
"required" : [ "contractType", "employmentStatus", "startDate" ],
"type" : "object",
"properties" : {
"startDate" : {
"type" : "string",
"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)",
"format" : "date",
"example" : "2024-12-02",
"x-is-date" : true
},
"employmentStatus" : {
"$ref" : "#/components/schemas/EmploymentStatus"
},
"contractType" : {
"$ref" : "#/components/schemas/ContractType"
},
"publicKey" : {
"type" : "string",
"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",
"format" : "uuid"
},
"isFixedTerm" : {
"type" : "boolean",
"description" : "describes whether the contract is fixed term (required if trying to create Fixed term contract)"
},
"fixedTermEndDate" : {
"type" : "string",
"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)",
"format" : "date",
"example" : "2025-11-01",
"x-is-date" : true
},
"developmentalRoleDetails" : {
"$ref" : "#/components/schemas/DevelopmentalRoleDetails"
}
},
"description" : ""
};
defs["CourtOrderLine"] = {
"title" : "",
Expand Down Expand Up @@ -1249,6 +1296,38 @@
}
},
"description" : ""
};
defs["DevelopmentalRoleDetails"] = {
"title" : "",
"required" : [ "developmentalRole", "endDate", "startDate" ],
"type" : "object",
"properties" : {
"startDate" : {
"type" : "string",
"description" : "The start date of the developmental role",
"format" : "date",
"example" : "2024-12-02",
"x-is-date" : true
},
"endDate" : {
"type" : "string",
"description" : "The end date of the developmental role",
"format" : "date",
"example" : "2024-12-02",
"x-is-date" : true
},
"developmentalRole" : {
"type" : "string",
"description" : "The developmental role type - \"Apprentice\" is the only supported role currently",
"example" : "Apprentice"
},
"publicKey" : {
"type" : "string",
"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",
"format" : "uuid"
}
},
"description" : ""
};
defs["EarningsLine"] = {
"title" : "",
Expand Down Expand Up @@ -1613,6 +1692,13 @@
"isOffPayrollWorker" : {
"type" : "boolean",
"description" : "Whether the employee is an off payroll worker"
},
"contracts" : {
"type" : "array",
"description" : "The employee's contracts",
"items" : {
"$ref" : "#/components/schemas/Contracts"
}
}
},
"description" : ""
Expand Down Expand Up @@ -2300,6 +2386,13 @@
"items" : {
"$ref" : "#/components/schemas/NICategory"
}
},
"contracts" : {
"type" : "array",
"description" : "The employee's contracts",
"items" : {
"$ref" : "#/components/schemas/Contracts"
}
}
},
"description" : ""
Expand All @@ -2319,6 +2412,13 @@
}
},
"description" : ""
};
defs["EmploymentStatus"] = {
"title" : "",
"type" : "string",
"description" : "The employment status of the employee.",
"example" : "Employee",
"enum" : [ "Employee", "Worker", "Unspecified" ]
};
defs["InvalidField"] = {
"title" : "",
Expand Down Expand Up @@ -3600,7 +3700,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="PayrollUk"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="PayrollUk"><a href="#api-PayrollUk">Methods</a></li>
<li data-group="PayrollUk" data-name="approveTimesheet" class="">
<a href="#api-PayrollUk-approveTimesheet">approveTimesheet</a>
Expand Down
2 changes: 1 addition & 1 deletion docs/v1/projects/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1462,7 +1462,7 @@
<nav id="scrollingNav">
<ul class="sidenav nav nav-list">
<li class="nav-header" data-group="Project"><strong>SDK: </strong><span id='sdk-name'></span></li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.2.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>9.3.0</li>
<li class="nav-header" data-group="Project"><a href="#api-Project">Methods</a></li>
<li data-group="Project" data-name="createProject" class="">
<a href="#api-Project-createProject">createProject</a>
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ def read_file(filename):
keywords="xero python sdk API oAuth",
name="xero_python",
packages=find_packages(include=["xero_python", "xero_python.*"]),
version="9.2.0",
version="9.3.0",
)
2 changes: 1 addition & 1 deletion xero_python/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

__author__ = """Xero Developer API"""
__email__ = "api@xero.com"
__version__ = "9.2.0"
__version__ = "9.3.0"
2 changes: 1 addition & 1 deletion xero_python/accounting/api/accounting_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/appstore/api/app_store_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/assets/api/asset_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
4 changes: 2 additions & 2 deletions xero_python/docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ These endpoints are related to managing authentication tokens and identity for X

The `xero_python` package is automatically generated by the [XeroAPI SDK 2.0 Codegen](https://github.com/xero-github/xeroapi-sdk-codegen) project:

- API version: 9.2.0
- Package version: 9.2.0
- API version: 9.3.0
- Package version: 9.3.0
- Build package: org.openapitools.codegen.languages.PythonClientCodegen
For more information, please visit [https://developer.xero.com](https://developer.xero.com)

Expand Down
2 changes: 1 addition & 1 deletion xero_python/file/api/files_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/finance/api/finance_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/identity/api/identity_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/payrollau/api/payroll_au_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/payrollnz/api/payroll_nz_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
6 changes: 6 additions & 0 deletions xero_python/payrolluk/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,16 @@
from xero_python.payrolluk.models.benefit_line import BenefitLine
from xero_python.payrolluk.models.benefit_object import BenefitObject
from xero_python.payrolluk.models.benefits import Benefits
from xero_python.payrolluk.models.contract_type import ContractType
from xero_python.payrolluk.models.contracts import Contracts
from xero_python.payrolluk.models.court_order_line import CourtOrderLine
from xero_python.payrolluk.models.deduction import Deduction
from xero_python.payrolluk.models.deduction_line import DeductionLine
from xero_python.payrolluk.models.deduction_object import DeductionObject
from xero_python.payrolluk.models.deductions import Deductions
from xero_python.payrolluk.models.developmental_role_details import (
DevelopmentalRoleDetails,
)
from xero_python.payrolluk.models.earnings_line import EarningsLine
from xero_python.payrolluk.models.earnings_order import EarningsOrder
from xero_python.payrolluk.models.earnings_order_object import EarningsOrderObject
Expand Down Expand Up @@ -88,6 +93,7 @@
from xero_python.payrolluk.models.employees import Employees
from xero_python.payrolluk.models.employment import Employment
from xero_python.payrolluk.models.employment_object import EmploymentObject
from xero_python.payrolluk.models.employment_status import EmploymentStatus
from xero_python.payrolluk.models.invalid_field import InvalidField
from xero_python.payrolluk.models.leave_accrual_line import LeaveAccrualLine
from xero_python.payrolluk.models.leave_earnings_line import LeaveEarningsLine
Expand Down
2 changes: 1 addition & 1 deletion xero_python/payrolluk/api/payroll_uk_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"""

"""
OpenAPI spec version: 9.2.0
OpenAPI spec version: 9.3.0
"""


Expand Down
9 changes: 9 additions & 0 deletions xero_python/payrolluk/docs/ContractType.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# ContractType

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


16 changes: 16 additions & 0 deletions xero_python/payrolluk/docs/Contracts.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Contracts

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**start_date** | **date** | The contract start date of the employee. This will be locked once an employee has been paid and cannot be changed (YYYY-MM-DD) |
**employment_status** | [**EmploymentStatus**](EmploymentStatus.md) | |
**contract_type** | [**ContractType**](ContractType.md) | |
**public_key** | **str** | 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 | [optional]
**is_fixed_term** | **bool** | describes whether the contract is fixed term (required if trying to create Fixed term contract) | [optional]
**fixed_term_end_date** | **date** | 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) | [optional]
**developmental_role_details** | [**DevelopmentalRoleDetails**](DevelopmentalRoleDetails.md) | | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


13 changes: 13 additions & 0 deletions xero_python/payrolluk/docs/DevelopmentalRoleDetails.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# DevelopmentalRoleDetails

## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**start_date** | **date** | The start date of the developmental role |
**end_date** | **date** | The end date of the developmental role |
**developmental_role** | **str** | The developmental role type - \&quot;Apprentice\&quot; is the only supported role currently |
**public_key** | **str** | 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 | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)


1 change: 1 addition & 0 deletions xero_python/payrolluk/docs/Employee.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ Name | Type | Description | Notes
**ni_categories** | [**list[NICategory]**](NICategory.md) | The employee&#39;s NI categories | [optional]
**national_insurance_number** | **str** | National insurance number of the employee | [optional]
**is_off_payroll_worker** | **bool** | Whether the employee is an off payroll worker | [optional]
**contracts** | [**list[Contracts]**](Contracts.md) | The employee&#39;s contracts | [optional]

[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)

Expand Down
Loading
Loading