Skip to content

Commit

Permalink
Merge pull request #153 from samson0v/master
Browse files Browse the repository at this point in the history
Updated client to version 3.6.3
  • Loading branch information
imbeacon authored Mar 27, 2024
2 parents 9197f3f + 08b4628 commit 24fcd2a
Show file tree
Hide file tree
Showing 989 changed files with 7,511 additions and 4,213 deletions.
14 changes: 1 addition & 13 deletions tb_rest_client/api/api_ce/__init__.py
Original file line number Diff line number Diff line change
@@ -1,16 +1,4 @@
# Copyright 2024. ThingsBoard
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
from __future__ import absolute_import

from .o_auth_2_config_template_controller_api import OAuth2ConfigTemplateControllerApi
from .asset_controller_api import AssetControllerApi
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/admin_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/alarm_comment_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/alarm_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/asset_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/asset_profile_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/audit_log_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/auth_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/customer_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/dashboard_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/device_api_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/device_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/device_profile_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/edge_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/edge_event_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
10 changes: 7 additions & 3 deletions tb_rest_client/api/api_ce/entity_query_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down Expand Up @@ -439,6 +439,7 @@ def find_entity_timeseries_and_attributes_keys_by_query_using_post(self, timeser
:param bool timeseries: Include all unique time-series keys to the result. (required)
:param bool attributes: Include all unique attribute keys to the result. (required)
:param EntityDataQuery body:
:param str scope: A string value representing the attributes scope. For example, 'SERVER_SCOPE'.
:return: DeferredResultResponseEntity
If the method is called asynchronously,
returns the request thread.
Expand All @@ -463,12 +464,13 @@ def find_entity_timeseries_and_attributes_keys_by_query_using_post_with_http_inf
:param bool timeseries: Include all unique time-series keys to the result. (required)
:param bool attributes: Include all unique attribute keys to the result. (required)
:param EntityDataQuery body:
:param str scope: A string value representing the attributes scope. For example, 'SERVER_SCOPE'.
:return: DeferredResultResponseEntity
If the method is called asynchronously,
returns the request thread.
"""

all_params = ['timeseries', 'attributes', 'body'] # noqa: E501
all_params = ['timeseries', 'attributes', 'body', 'scope'] # noqa: E501
all_params.append('async_req')
all_params.append('_return_http_data_only')
all_params.append('_preload_content')
Expand Down Expand Up @@ -501,6 +503,8 @@ def find_entity_timeseries_and_attributes_keys_by_query_using_post_with_http_inf
query_params.append(('timeseries', params['timeseries'])) # noqa: E501
if 'attributes' in params:
query_params.append(('attributes', params['attributes'])) # noqa: E501
if 'scope' in params:
query_params.append(('scope', params['scope'])) # noqa: E501

header_params = {}

Expand All @@ -522,7 +526,7 @@ def find_entity_timeseries_and_attributes_keys_by_query_using_post_with_http_inf
auth_settings = ['X-Authorization'] # noqa: E501

return self.api_client.call_api(
'/api/entitiesQuery/find/keys{?attributes,timeseries}', 'POST',
'/api/entitiesQuery/find/keys{?attributes,scope,timeseries}', 'POST',
path_params,
query_params,
header_params,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/entity_view_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/event_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/image_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/login_endpoint_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/lwm_2m_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/notification_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/o_auth_2_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/ota_package_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/queue_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/rpc_v_1_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/rpc_v_2_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/rule_chain_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
2 changes: 1 addition & 1 deletion tb_rest_client/api/api_ce/tb_resource_controller_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
OpenAPI spec version: 3.6.2
OpenAPI spec version: 3.6.3
Contact: [email protected]
Generated by: https://github.com/swagger-api/swagger-codegen.git
"""
Expand Down
Loading

0 comments on commit 24fcd2a

Please sign in to comment.