Skip to content

Commit

Permalink
Build from OAS 7.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Raghunath-S-S-J committed Jan 31, 2025
1 parent 64e438b commit 50f8dc7
Show file tree
Hide file tree
Showing 34 changed files with 443 additions and 168 deletions.
2 changes: 1 addition & 1 deletion docs/v1/accounting/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -6339,7 +6339,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>6.3.0</li>
<li class="nav-header" data-group="Accounting"><strong>VSN: </strong>7.0.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>6.3.0</li>
<li class="nav-header" data-group="AppStore"><strong>VSN: </strong>7.0.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 @@ -1392,7 +1392,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>6.3.0</li>
<li class="nav-header" data-group="Asset"><strong>VSN: </strong>7.0.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>6.3.0</li>
<li class="nav-header" data-group="Files"><strong>VSN: </strong>7.0.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
25 changes: 2 additions & 23 deletions docs/v1/finance/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1517,7 +1517,7 @@
},
"importSourceType" : {
"type" : "string",
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, indirect bank feed, file upload, or manual keying)."
"description" : "Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, file upload, or manual keying)."
}
},
"additionalProperties" : false,
Expand All @@ -1533,13 +1533,6 @@
"format" : "double",
"x-is-money" : true
},
"indirectBankFeed" : {
"type" : "number",
"description" : "No longer in use.",
"format" : "double",
"deprecated" : true,
"x-is-money" : true
},
"fileUpload" : {
"type" : "number",
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data.",
Expand All @@ -1558,13 +1551,6 @@
"format" : "double",
"x-is-money" : true
},
"indirectBankFeedPos" : {
"type" : "number",
"description" : "No longer in use.",
"format" : "double",
"deprecated" : true,
"x-is-money" : true
},
"fileUploadPos" : {
"type" : "number",
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only positive transactions are included.",
Expand All @@ -1583,13 +1569,6 @@
"format" : "double",
"x-is-money" : true
},
"indirectBankFeedNeg" : {
"type" : "number",
"description" : "No longer in use.",
"format" : "double",
"deprecated" : true,
"x-is-money" : true
},
"fileUploadNeg" : {
"type" : "number",
"description" : "Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only negative transactions are included.",
Expand Down Expand Up @@ -2737,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>6.3.0</li>
<li class="nav-header" data-group="Finance"><strong>VSN: </strong>7.0.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>6.3.0</li>
<li class="nav-header" data-group="PayrollAu"><strong>VSN: </strong>7.0.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
74 changes: 65 additions & 9 deletions docs/v1/payroll-nz/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1684,14 +1684,28 @@
},
"sickLeaveHoursToAccrueAnnually" : {
"type" : "number",
"description" : "Number of hours accrued annually for sick leave. Multiply the number of days they're entitled to by the hours worked per day",
"description" : "Deprecated use SickLeaveToAccrueAnnually",
"format" : "double",
"example" : 100.5,
"x-is-money" : true
},
"sickLeaveMaximumHoursToAccrue" : {
"type" : "number",
"description" : "Maximum number of hours accrued annually for sick leave. Multiply the maximum days they can accrue by the hours worked per day",
"description" : "Deprecated use SickLeaveMaximumToAccrue",
"format" : "double",
"example" : 200.5,
"x-is-money" : true
},
"SickLeaveToAccrueAnnually" : {
"type" : "number",
"description" : "Number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
"format" : "double",
"example" : 100.5,
"x-is-money" : true
},
"SickLeaveMaximumToAccrue" : {
"type" : "number",
"description" : "Maximum number of units accrued annually for sick leave. The type of units is determined by the property \"TypeOfUnitsToAccrue\" on the \"Sick Leave\" leave type",
"format" : "double",
"example" : 200.5,
"x-is-money" : true
Expand All @@ -1710,7 +1724,14 @@
},
"SickLeaveAnniversaryDate" : {
"type" : "string",
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave",
"description" : "If Sick Leave Schedule of Accrual is \"OnAnniversaryDate\", this is the date when entitled to Sick Leave. When null the Employee's start date is used as the anniversary date",
"format" : "date",
"example" : "2020-01-19",
"x-is-date" : true
},
"AnnualLeaveAnniversaryDate" : {
"type" : "string",
"description" : "The first date the employee will accrue Annual Leave. When null the Employee's start date is used as the anniversary date",
"format" : "date",
"example" : "2020-01-19",
"x-is-date" : true
Expand Down Expand Up @@ -1750,22 +1771,36 @@
},
"hoursAccruedAnnually" : {
"type" : "number",
"description" : "The number of hours accrued for the leave annually. This is 0 when the scheduleOfAccrual chosen is \"OnHourWorked\"",
"description" : "Deprecated use UnitsAccruedAnnually",
"format" : "double",
"x-is-money" : true
},
"UnitsAccruedAnnually" : {
"type" : "number",
"description" : "The number of units accrued for the leave annually. This is 0 when the ScheduleOfAccrual chosen is \"NoAccruals\"",
"format" : "double",
"x-is-money" : true
},
"typeOfUnitsToAccrue" : {
"type" : "string",
"description" : "The type of units accrued for the leave annually"
},
"maximumToAccrue" : {
"type" : "number",
"description" : "The maximum number of hours that can be accrued for the leave",
"description" : "The maximum number of units that can be accrued for the leave",
"format" : "double",
"x-is-money" : true
},
"openingBalance" : {
"type" : "number",
"description" : "The initial number of hours assigned when the leave was added to the employee",
"description" : "The initial number of units assigned when the leave was added to the employee",
"format" : "double",
"x-is-money" : true
},
"openingBalanceTypeOfUnits" : {
"type" : "string",
"description" : "The type of units for the opening balance"
},
"rateAccruedHourly" : {
"type" : "number",
"description" : "The number of hours added to the leave balance for every hour worked by the employee. This is normally 0, unless the scheduleOfAccrual chosen is \"OnHourWorked\"",
Expand Down Expand Up @@ -2609,10 +2644,23 @@
"format" : "double",
"x-is-money" : true
},
"numberOfUnitsTaken" : {
"type" : "number",
"description" : "The number of units taken for the leave",
"format" : "double"
},
"typeOfUnits" : {
"type" : "string",
"description" : "The type of units paid for the leave"
},
"typeOfUnitsTaken" : {
"type" : "string",
"description" : "The type of units taken for the leave"
},
"periodStatus" : {
"type" : "string",
"description" : "Period Status",
"enum" : [ "Approved", "Completed" ]
"description" : "Status of leave",
"enum" : [ "Approved", "Completed", "Estimated" ]
}
},
"description" : ""
Expand Down Expand Up @@ -2667,6 +2715,14 @@
"isActive" : {
"type" : "boolean",
"description" : "Shows whether the leave type is active or not"
},
"typeOfUnits" : {
"type" : "string",
"description" : "The type of units to be paid for the leave type"
},
"typeOfUnitsToAccrue" : {
"type" : "string",
"description" : "The type of units to be accrued for the leave type"
}
},
"description" : ""
Expand Down Expand Up @@ -4031,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>6.3.0</li>
<li class="nav-header" data-group="PayrollNz"><strong>VSN: </strong>7.0.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
2 changes: 1 addition & 1 deletion docs/v1/payroll-uk/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3517,7 +3517,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>6.3.0</li>
<li class="nav-header" data-group="PayrollUk"><strong>VSN: </strong>7.0.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>6.3.0</li>
<li class="nav-header" data-group="Project"><strong>VSN: </strong>7.0.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="6.3.0",
version="7.0.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__ = "6.3.0"
__version__ = "7.0.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: 6.3.0
OpenAPI spec version: 7.0.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: 6.3.0
OpenAPI spec version: 7.0.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: 6.3.0
OpenAPI spec version: 7.0.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: 6.3.0
- Package version: 6.3.0
- API version: 7.0.0
- Package version: 7.0.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: 6.3.0
OpenAPI spec version: 7.0.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: 6.3.0
OpenAPI spec version: 7.0.0
"""


Expand Down
2 changes: 1 addition & 1 deletion xero_python/finance/docs/CurrentStatementResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ Name | Type | Description | Notes
**start_balance** | **float** | Looking at the most recent bank statement, this field indicates the balance before the transactions on the statement are applied (note, this is not always populated by the bank in every single instance (~10%)). | [optional]
**end_balance** | **float** | Looking at the most recent bank statement, this field indicates the balance after the transactions on the statement are applied (note, this is not always populated by the bank in every single instance (~10%)). | [optional]
**imported_date_time_utc** | **datetime** | Looking at the most recent bank statement, this field indicates when the document was imported into Xero. This date is represented in ISO 8601 format. | [optional]
**import_source_type** | **str** | Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, indirect bank feed, file upload, or manual keying). | [optional]
**import_source_type** | **str** | Looking at the most recent bank statement, this field indicates the source of the data (direct bank feed, file upload, or manual keying). | [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
3 changes: 0 additions & 3 deletions xero_python/finance/docs/DataSourceResponse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**direct_bank_feed** | **float** | Sum of the amounts of all statement lines where the source of the data was a direct bank feed in to Xero via an API integration. This could be from a bank or aggregator. This gives an indication on the certainty of correctness of the data. | [optional]
**indirect_bank_feed** | **float** | No longer in use. | [optional]
**file_upload** | **float** | Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. | [optional]
**manual** | **float** | Sum of the amounts of all statement lines where the source of the data was manually input in to Xero. This gives an indication on the certainty of correctness of the data. | [optional]
**direct_bank_feed_pos** | **float** | Sum of the amounts of all statement lines where the source of the data was a direct bank feed in to Xero via an API integration. This could be from a bank or aggregator. This gives an indication on the certainty of correctness of the data. Only positive transactions are included. | [optional]
**indirect_bank_feed_pos** | **float** | No longer in use. | [optional]
**file_upload_pos** | **float** | Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only positive transactions are included. | [optional]
**manual_pos** | **float** | Sum of the amounts of all statement lines where the source of the data was manually input in to Xero. This gives an indication on the certainty of correctness of the data. Only positive transactions are included. | [optional]
**direct_bank_feed_neg** | **float** | Sum of the amounts of all statement lines where the source of the data was a direct bank feed in to Xero via an API integration. This could be from a bank or aggregator. This gives an indication on the certainty of correctness of the data. Only negative transactions are included. | [optional]
**indirect_bank_feed_neg** | **float** | No longer in use. | [optional]
**file_upload_neg** | **float** | Sum of the amounts of all statement lines where the source of the data was a file manually uploaded in to Xero. This gives an indication on the certainty of correctness of the data. Only negative transactions are included. | [optional]
**manual_neg** | **float** | Sum of the amounts of all statement lines where the source of the data was manually input in to Xero. This gives an indication on the certainty of correctness of the data. Only negative transactions are included. | [optional]
**other_pos** | **float** | Sum of the amounts of all statement lines where the source of the data was unknown. This gives an indication on the certainty of correctness of the data. Only positive transactions are included. | [optional]
Expand Down
Loading

0 comments on commit 50f8dc7

Please sign in to comment.