tb-rest-client 3.8.0__py3-none-any.whl → 4.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- tb_rest_client/__init__.py +1 -1
- tb_rest_client/api/__init__.py +1 -1
- tb_rest_client/api/api_ce/__init__.py +18 -0
- tb_rest_client/api/api_ce/admin_controller_api.py +2 -2
- tb_rest_client/api/api_ce/alarm_comment_controller_api.py +2 -2
- tb_rest_client/api/api_ce/alarm_controller_api.py +2 -2
- tb_rest_client/api/api_ce/asset_controller_api.py +2 -2
- tb_rest_client/api/api_ce/asset_profile_controller_api.py +2 -2
- tb_rest_client/api/api_ce/audit_log_controller_api.py +2 -2
- tb_rest_client/api/api_ce/auth_controller_api.py +2 -2
- tb_rest_client/api/api_ce/calculated_field_controller_api.py +661 -0
- tb_rest_client/api/api_ce/component_descriptor_controller_api.py +2 -2
- tb_rest_client/api/api_ce/customer_controller_api.py +2 -2
- tb_rest_client/api/api_ce/dashboard_controller_api.py +2 -2
- tb_rest_client/api/api_ce/device_api_controller_api.py +2 -2
- tb_rest_client/api/api_ce/device_connectivity_controller_api.py +2 -2
- tb_rest_client/api/api_ce/device_controller_api.py +2 -2
- tb_rest_client/api/api_ce/device_profile_controller_api.py +2 -2
- tb_rest_client/api/api_ce/domain_controller_api.py +130 -1
- tb_rest_client/api/api_ce/edge_controller_api.py +2 -2
- tb_rest_client/api/api_ce/edge_event_controller_api.py +2 -2
- tb_rest_client/api/api_ce/entities_version_control_controller_api.py +2 -2
- tb_rest_client/api/api_ce/entity_query_controller_api.py +185 -2
- tb_rest_client/api/api_ce/entity_relation_controller_api.py +2 -2
- tb_rest_client/api/api_ce/entity_view_controller_api.py +2 -2
- tb_rest_client/api/api_ce/event_controller_api.py +2 -2
- tb_rest_client/api/api_ce/image_controller_api.py +15 -1
- tb_rest_client/api/api_ce/login_endpoint_api.py +97 -2
- tb_rest_client/api/api_ce/lwm_2m_controller_api.py +2 -2
- tb_rest_client/api/api_ce/mail_config_template_controller_api.py +2 -2
- tb_rest_client/api/api_ce/mobile_app_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_ce/mobile_app_controller_api.py +15 -1
- tb_rest_client/api/api_ce/mobile_application_controller_api.py +15 -1
- tb_rest_client/api/api_ce/notification_controller_api.py +2 -2
- tb_rest_client/api/api_ce/notification_rule_controller_api.py +2 -2
- tb_rest_client/api/api_ce/notification_target_controller_api.py +2 -2
- tb_rest_client/api/api_ce/notification_template_controller_api.py +2 -2
- tb_rest_client/api/api_ce/o_auth_2_config_template_controller_api.py +2 -2
- tb_rest_client/api/api_ce/o_auth_2_controller_api.py +2 -2
- tb_rest_client/api/api_ce/ota_package_controller_api.py +2 -2
- tb_rest_client/api/api_ce/qr_code_settings_controller_api.py +508 -0
- tb_rest_client/api/api_ce/queue_controller_api.py +2 -2
- tb_rest_client/api/api_ce/queue_stats_controller_api.py +15 -1
- tb_rest_client/api/api_ce/rpc_v_1_controller_api.py +2 -2
- tb_rest_client/api/api_ce/rpc_v_2_controller_api.py +2 -2
- tb_rest_client/api/api_ce/rule_chain_controller_api.py +2 -2
- tb_rest_client/api/api_ce/rule_engine_controller_api.py +515 -0
- tb_rest_client/api/api_ce/tb_resource_controller_api.py +120 -2
- tb_rest_client/api/api_ce/telemetry_controller_api.py +2 -2
- tb_rest_client/api/api_ce/tenant_controller_api.py +2 -2
- tb_rest_client/api/api_ce/tenant_profile_controller_api.py +2 -2
- tb_rest_client/api/api_ce/two_factor_auth_config_controller_api.py +4 -4
- tb_rest_client/api/api_ce/two_factor_auth_controller_api.py +2 -2
- tb_rest_client/api/api_ce/ui_settings_controller_api.py +2 -2
- tb_rest_client/api/api_ce/usage_info_controller_api.py +2 -2
- tb_rest_client/api/api_ce/user_controller_api.py +2 -2
- tb_rest_client/api/api_ce/widget_type_controller_api.py +2 -2
- tb_rest_client/api/api_ce/widgets_bundle_controller_api.py +2 -2
- tb_rest_client/api/api_pe/__init__.py +6 -1
- tb_rest_client/api/api_pe/admin_controller_api.py +2 -2
- tb_rest_client/api/api_pe/alarm_comment_controller_api.py +2 -2
- tb_rest_client/api/api_pe/alarm_controller_api.py +2 -2
- tb_rest_client/api/api_pe/asset_controller_api.py +2 -2
- tb_rest_client/api/api_pe/asset_profile_controller_api.py +2 -2
- tb_rest_client/api/api_pe/audit_log_controller_api.py +2 -2
- tb_rest_client/api/api_pe/auth_controller_api.py +2 -2
- tb_rest_client/api/api_pe/billing_endpoint_controller_api.py +2 -2
- tb_rest_client/api/api_pe/blob_entity_controller_api.py +2 -2
- tb_rest_client/api/api_pe/calculated_field_controller_api.py +661 -0
- tb_rest_client/api/api_pe/chirp_stack_integration_controller_api.py +2 -2
- tb_rest_client/api/api_pe/cloud_endpoint_controller_api.py +2 -2
- tb_rest_client/api/api_pe/component_descriptor_controller_api.py +2 -2
- tb_rest_client/api/api_pe/converter_controller_api.py +110 -2
- tb_rest_client/api/api_pe/converter_library_controller_api.py +15 -1
- tb_rest_client/api/api_pe/custom_menu_controller_api.py +2 -2
- tb_rest_client/api/api_pe/custom_translation_controller_api.py +2 -2
- tb_rest_client/api/api_pe/customer_controller_api.py +2 -2
- tb_rest_client/api/api_pe/dashboard_controller_api.py +2 -2
- tb_rest_client/api/api_pe/device_api_controller_api.py +2 -2
- tb_rest_client/api/api_pe/device_connectivity_controller_api.py +2 -2
- tb_rest_client/api/api_pe/device_controller_api.py +2 -2
- tb_rest_client/api/api_pe/device_group_ota_package_controller_api.py +2 -2
- tb_rest_client/api/api_pe/device_profile_controller_api.py +2 -2
- tb_rest_client/api/api_pe/domain_controller_api.py +116 -1
- tb_rest_client/api/api_pe/edge_controller_api.py +2 -2
- tb_rest_client/api/api_pe/edge_event_controller_api.py +2 -2
- tb_rest_client/api/api_pe/entities_version_control_controller_api.py +2 -2
- tb_rest_client/api/api_pe/entity_group_controller_api.py +2 -2
- tb_rest_client/api/api_pe/entity_query_controller_api.py +185 -2
- tb_rest_client/api/api_pe/entity_relation_controller_api.py +2 -2
- tb_rest_client/api/api_pe/entity_view_controller_api.py +2 -2
- tb_rest_client/api/api_pe/event_controller_api.py +2 -2
- tb_rest_client/api/api_pe/group_permission_controller_api.py +2 -2
- tb_rest_client/api/api_pe/http_integration_controller_api.py +1 -1
- tb_rest_client/api/api_pe/image_controller_api.py +2 -2
- tb_rest_client/api/api_pe/integration_controller_api.py +2 -2
- tb_rest_client/api/api_pe/login_endpoint_api.py +97 -2
- tb_rest_client/api/api_pe/lwm_2m_controller_api.py +2 -2
- tb_rest_client/api/api_pe/mail_config_template_controller_api.py +2 -2
- tb_rest_client/api/api_pe/mobile_app_bundle_controller_api.py +562 -0
- tb_rest_client/api/api_pe/mobile_app_controller_api.py +1 -1
- tb_rest_client/api/api_pe/mobile_application_controller_api.py +1 -1
- tb_rest_client/api/api_pe/notification_controller_api.py +2 -2
- tb_rest_client/api/api_pe/notification_rule_controller_api.py +2 -2
- tb_rest_client/api/api_pe/notification_target_controller_api.py +2 -2
- tb_rest_client/api/api_pe/notification_template_controller_api.py +2 -2
- tb_rest_client/api/api_pe/o_auth_2_config_template_controller_api.py +2 -2
- tb_rest_client/api/api_pe/o_auth_2_controller_api.py +2 -2
- tb_rest_client/api/api_pe/ota_package_controller_api.py +2 -2
- tb_rest_client/api/api_pe/owner_controller_api.py +2 -2
- tb_rest_client/api/api_pe/qr_code_settings_controller_api.py +595 -0
- tb_rest_client/api/api_pe/queue_controller_api.py +2 -2
- tb_rest_client/api/api_pe/queue_stats_controller_api.py +1 -1
- tb_rest_client/api/api_pe/report_controller_api.py +2 -2
- tb_rest_client/api/api_pe/role_controller_api.py +2 -2
- tb_rest_client/api/api_pe/rpc_controller_api.py +1 -1
- tb_rest_client/api/api_pe/rpc_v_1_controller_api.py +2 -2
- tb_rest_client/api/api_pe/rpc_v_2_controller_api.py +2 -2
- tb_rest_client/api/api_pe/rule_chain_controller_api.py +2 -2
- tb_rest_client/api/api_pe/rule_engine_controller_api.py +2 -2
- tb_rest_client/api/api_pe/scheduler_event_controller_api.py +2 -2
- tb_rest_client/api/api_pe/self_registration_controller_api.py +2 -2
- tb_rest_client/api/api_pe/sig_fox_integration_controller_api.py +1 -1
- tb_rest_client/api/api_pe/sign_up_controller_api.py +2 -2
- tb_rest_client/api/api_pe/solution_controller_api.py +2 -2
- tb_rest_client/api/api_pe/subscription_controller_api.py +1 -1
- tb_rest_client/api/api_pe/t_mobile_iot_cdp_integration_controller_api.py +1 -1
- tb_rest_client/api/api_pe/tb_resource_controller_api.py +120 -2
- tb_rest_client/api/api_pe/telemetry_controller_api.py +2 -2
- tb_rest_client/api/api_pe/tenant_controller_api.py +2 -2
- tb_rest_client/api/api_pe/tenant_profile_controller_api.py +2 -2
- tb_rest_client/api/api_pe/thing_park_integration_controller_api.py +1 -1
- tb_rest_client/api/api_pe/translation_controller_api.py +1 -1
- tb_rest_client/api/api_pe/two_factor_auth_config_controller_api.py +4 -4
- tb_rest_client/api/api_pe/two_factor_auth_controller_api.py +2 -2
- tb_rest_client/api/api_pe/ui_settings_controller_api.py +2 -2
- tb_rest_client/api/api_pe/usage_info_controller_api.py +2 -2
- tb_rest_client/api/api_pe/user_controller_api.py +2 -2
- tb_rest_client/api/api_pe/user_permissions_controller_api.py +2 -2
- tb_rest_client/api/api_pe/white_labeling_controller_api.py +184 -2
- tb_rest_client/api/api_pe/widget_type_controller_api.py +2 -2
- tb_rest_client/api/api_pe/widgets_bundle_controller_api.py +2 -2
- tb_rest_client/api_client.py +1 -1
- tb_rest_client/configuration.py +1 -1
- tb_rest_client/models/__init__.py +1 -1
- tb_rest_client/models/models_ce/__init__.py +27 -1
- tb_rest_client/models/models_ce/account_configverification_code_body.py +2 -2
- tb_rest_client/models/models_ce/account_two_fa_settings.py +2 -2
- tb_rest_client/models/models_ce/activate_user_request.py +2 -2
- tb_rest_client/models/models_ce/admin_settings.py +2 -2
- tb_rest_client/models/models_ce/admin_settings_id.py +2 -2
- tb_rest_client/models/models_ce/affected_tenant_administrators_filter.py +2 -2
- tb_rest_client/models/models_ce/affected_user_filter.py +2 -2
- tb_rest_client/models/models_ce/alarm.py +1 -1
- tb_rest_client/models/models_ce/alarm_assignee.py +2 -2
- tb_rest_client/models/models_ce/alarm_assignment_notification_rule_trigger_config.py +1 -1
- tb_rest_client/models/models_ce/alarm_comment.py +2 -2
- tb_rest_client/models/models_ce/alarm_comment_id.py +2 -2
- tb_rest_client/models/models_ce/alarm_comment_info.py +2 -2
- tb_rest_client/models/models_ce/alarm_comment_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/alarm_condition.py +2 -2
- tb_rest_client/models/models_ce/alarm_condition_filter.py +2 -2
- tb_rest_client/models/models_ce/alarm_condition_filter_key.py +2 -2
- tb_rest_client/models/models_ce/alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_ce/alarm_count_query.py +2 -2
- tb_rest_client/models/models_ce/alarm_data.py +2 -2
- tb_rest_client/models/models_ce/alarm_data_page_link.py +2 -2
- tb_rest_client/models/models_ce/alarm_data_query.py +2 -2
- tb_rest_client/models/models_ce/alarm_id.py +2 -2
- tb_rest_client/models/models_ce/alarm_info.py +2 -2
- tb_rest_client/models/models_ce/alarm_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/alarm_rule.py +2 -2
- tb_rest_client/models/models_ce/alarm_schedule.py +2 -2
- tb_rest_client/models/models_ce/all_users_filter.py +2 -2
- tb_rest_client/models/models_ce/allow_create_new_devices_device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_ce/android_config.py +2 -2
- tb_rest_client/models/models_ce/any_time_schedule.py +2 -2
- tb_rest_client/models/models_ce/api_image_body.py +2 -2
- tb_rest_client/models/models_ce/api_usage_limit_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/api_usage_state_filter.py +2 -2
- tb_rest_client/models/models_ce/argument.py +214 -0
- tb_rest_client/models/models_ce/asset.py +2 -2
- tb_rest_client/models/models_ce/asset_id.py +2 -2
- tb_rest_client/models/models_ce/asset_info.py +2 -2
- tb_rest_client/models/models_ce/asset_profile.py +2 -2
- tb_rest_client/models/models_ce/asset_profile_id.py +2 -2
- tb_rest_client/models/models_ce/asset_profile_info.py +2 -2
- tb_rest_client/models/models_ce/asset_search_query.py +2 -2
- tb_rest_client/models/models_ce/asset_search_query_filter.py +2 -2
- tb_rest_client/models/models_ce/asset_type_filter.py +2 -2
- tb_rest_client/models/models_ce/atomic_integer.py +1 -1
- tb_rest_client/models/models_ce/attribute_export_data.py +2 -2
- tb_rest_client/models/models_ce/attributes_entity_view.py +2 -2
- tb_rest_client/models/models_ce/audit_log.py +2 -2
- tb_rest_client/models/models_ce/audit_log_id.py +2 -2
- tb_rest_client/models/models_ce/auto_commit_settings.py +2 -2
- tb_rest_client/models/models_ce/auto_version_create_config.py +2 -2
- tb_rest_client/models/models_ce/aws_sns_sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_ce/backup_code_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_ce/backup_code_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_ce/boolean_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/branch_info.py +2 -2
- tb_rest_client/models/models_ce/bulk_import_request.py +2 -2
- tb_rest_client/models/models_ce/bulk_import_result_asset.py +2 -2
- tb_rest_client/models/models_ce/bulk_import_result_asset_created.py +2 -2
- tb_rest_client/models/models_ce/bulk_import_result_device.py +2 -2
- tb_rest_client/models/models_ce/bulk_import_result_edge.py +2 -2
- tb_rest_client/models/models_ce/button.py +2 -2
- tb_rest_client/models/models_ce/byte_array_resource.py +2 -2
- tb_rest_client/models/models_ce/byte_buffer.py +2 -2
- tb_rest_client/models/models_ce/calculated_field.py +394 -0
- tb_rest_client/models/models_ce/calculated_field_configuration.py +211 -0
- tb_rest_client/models/models_ce/calculated_field_debug_event_filter.py +98 -0
- tb_rest_client/models/models_ce/calculated_field_id.py +156 -0
- tb_rest_client/models/models_ce/change_password_request.py +2 -2
- tb_rest_client/models/models_ce/check_pre_provisioned_devices_device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_ce/claim_request.py +2 -2
- tb_rest_client/models/models_ce/clear_rule.py +2 -2
- tb_rest_client/models/models_ce/client_attributes_querying_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_ce/coap_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/coap_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/coap_device_type_configuration.py +2 -2
- tb_rest_client/models/models_ce/column_mapping.py +2 -2
- tb_rest_client/models/models_ce/comparison_ts_value.py +2 -2
- tb_rest_client/models/models_ce/complex_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/complex_version_create_request.py +2 -2
- tb_rest_client/models/models_ce/component_descriptor.py +2 -2
- tb_rest_client/models/models_ce/component_descriptor_id.py +2 -2
- tb_rest_client/models/models_ce/config_submit_body.py +2 -2
- tb_rest_client/models/models_ce/custom_mobile_page.py +98 -0
- tb_rest_client/models/models_ce/custom_time_schedule.py +2 -2
- tb_rest_client/models/models_ce/custom_time_schedule_item.py +2 -2
- tb_rest_client/models/models_ce/customer.py +2 -2
- tb_rest_client/models/models_ce/customer_id.py +2 -2
- tb_rest_client/models/models_ce/customer_users_filter.py +2 -2
- tb_rest_client/models/models_ce/dashboard.py +2 -2
- tb_rest_client/models/models_ce/dashboard_id.py +2 -2
- tb_rest_client/models/models_ce/dashboard_info.py +2 -2
- tb_rest_client/models/models_ce/dashboard_page.py +98 -0
- tb_rest_client/models/models_ce/debug_converter_event_filter.py +1 -1
- tb_rest_client/models/models_ce/debug_integration_event_filter.py +1 -1
- tb_rest_client/models/models_ce/debug_rule_chain_event_filter.py +1 -1
- tb_rest_client/models/models_ce/debug_settings.py +182 -0
- tb_rest_client/models/models_ce/default_coap_device_type_configuration.py +2 -2
- tb_rest_client/models/models_ce/default_device_configuration.py +2 -2
- tb_rest_client/models/models_ce/default_device_profile_configuration.py +2 -2
- tb_rest_client/models/models_ce/default_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/default_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/default_mobile_page.py +98 -0
- tb_rest_client/models/models_ce/default_rule_chain_create_request.py +2 -2
- tb_rest_client/models/models_ce/default_tenant_profile_configuration.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_entity_data_diff.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_entity_data_info.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_list_branch_info.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_list_versioned_entity_info.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_page_data_entity_version.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_repository_settings.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_response_entity.py +2 -2
- tb_rest_client/models/models_ce/deferred_result_void.py +2 -2
- tb_rest_client/models/models_ce/deferred_resultuuid.py +2 -2
- tb_rest_client/models/models_ce/delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/device.py +2 -2
- tb_rest_client/models/models_ce/device_activity_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/device_configuration.py +2 -2
- tb_rest_client/models/models_ce/device_credentials.py +2 -2
- tb_rest_client/models/models_ce/device_credentials_id.py +2 -2
- tb_rest_client/models/models_ce/device_data.py +2 -2
- tb_rest_client/models/models_ce/device_export_data.py +2 -2
- tb_rest_client/models/models_ce/device_id.py +2 -2
- tb_rest_client/models/models_ce/device_info.py +2 -2
- tb_rest_client/models/models_ce/device_profile.py +2 -2
- tb_rest_client/models/models_ce/device_profile_alarm.py +2 -2
- tb_rest_client/models/models_ce/device_profile_configuration.py +2 -2
- tb_rest_client/models/models_ce/device_profile_data.py +2 -2
- tb_rest_client/models/models_ce/device_profile_id.py +2 -2
- tb_rest_client/models/models_ce/device_profile_info.py +2 -2
- tb_rest_client/models/models_ce/device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_ce/device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/device_search_query.py +2 -2
- tb_rest_client/models/models_ce/device_search_query_filter.py +2 -2
- tb_rest_client/models/models_ce/device_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/device_type_filter.py +2 -2
- tb_rest_client/models/models_ce/disabled_device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_ce/domain.py +1 -1
- tb_rest_client/models/models_ce/domain_id.py +1 -1
- tb_rest_client/models/models_ce/domain_info.py +1 -1
- tb_rest_client/models/models_ce/duration_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_ce/dynamic_value_boolean.py +2 -2
- tb_rest_client/models/models_ce/dynamic_value_double.py +2 -2
- tb_rest_client/models/models_ce/dynamic_value_integer.py +2 -2
- tb_rest_client/models/models_ce/dynamic_value_long.py +2 -2
- tb_rest_client/models/models_ce/dynamic_value_string.py +2 -2
- tb_rest_client/models/models_ce/edge.py +2 -2
- tb_rest_client/models/models_ce/edge_communication_failure_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/edge_connection_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/edge_event.py +2 -2
- tb_rest_client/models/models_ce/edge_event_id.py +2 -2
- tb_rest_client/models/models_ce/edge_id.py +2 -2
- tb_rest_client/models/models_ce/edge_info.py +2 -2
- tb_rest_client/models/models_ce/edge_install_instructions.py +1 -1
- tb_rest_client/models/models_ce/edge_instructions.py +2 -2
- tb_rest_client/models/models_ce/edge_search_query.py +2 -2
- tb_rest_client/models/models_ce/edge_search_query_filter.py +2 -2
- tb_rest_client/models/models_ce/edge_type_filter.py +2 -2
- tb_rest_client/models/models_ce/edqs_sync_request.py +98 -0
- tb_rest_client/models/models_ce/efento_coap_device_type_configuration.py +2 -2
- tb_rest_client/models/models_ce/email_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/email_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_ce/email_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_ce/entities_limit_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/entity_action_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/entity_count_query.py +2 -2
- tb_rest_client/models/models_ce/entity_data.py +2 -2
- tb_rest_client/models/models_ce/entity_data_diff.py +2 -2
- tb_rest_client/models/models_ce/entity_data_info.py +2 -2
- tb_rest_client/models/models_ce/entity_data_page_link.py +2 -2
- tb_rest_client/models/models_ce/entity_data_query.py +2 -2
- tb_rest_client/models/models_ce/entity_data_sort_order.py +2 -2
- tb_rest_client/models/models_ce/entity_export_data_object.py +2 -2
- tb_rest_client/models/models_ce/entity_filter.py +2 -2
- tb_rest_client/models/models_ce/entity_id.py +2 -2
- tb_rest_client/models/models_ce/entity_id_clearstart_timeend_time_body.py +2 -2
- tb_rest_client/models/models_ce/entity_info.py +2 -2
- tb_rest_client/models/models_ce/entity_key.py +2 -2
- tb_rest_client/models/models_ce/entity_list_filter.py +2 -2
- tb_rest_client/models/models_ce/entity_load_error.py +2 -2
- tb_rest_client/models/models_ce/entity_name_filter.py +2 -2
- tb_rest_client/models/models_ce/entity_relation.py +2 -2
- tb_rest_client/models/models_ce/entity_relation_info.py +2 -2
- tb_rest_client/models/models_ce/entity_relations_query.py +2 -2
- tb_rest_client/models/models_ce/entity_subtype.py +2 -2
- tb_rest_client/models/models_ce/entity_type_entity_idtenant_idpage_sizepagetext_searchsort_propertysort_orderstart_timeend_time_body.py +2 -2
- tb_rest_client/models/models_ce/entity_type_filter.py +2 -2
- tb_rest_client/models/models_ce/entity_type_load_result.py +2 -2
- tb_rest_client/models/models_ce/entity_type_version_create_config.py +2 -2
- tb_rest_client/models/models_ce/entity_type_version_load_config.py +2 -2
- tb_rest_client/models/models_ce/entity_type_version_load_request.py +2 -2
- tb_rest_client/models/models_ce/entity_version.py +2 -2
- tb_rest_client/models/models_ce/entity_view.py +2 -2
- tb_rest_client/models/models_ce/entity_view_id.py +2 -2
- tb_rest_client/models/models_ce/entity_view_info.py +2 -2
- tb_rest_client/models/models_ce/entity_view_search_query.py +2 -2
- tb_rest_client/models/models_ce/entity_view_search_query_filter.py +2 -2
- tb_rest_client/models/models_ce/entity_view_type_filter.py +2 -2
- tb_rest_client/models/models_ce/error_event_filter.py +2 -2
- tb_rest_client/models/models_ce/escalated_notification_rule_recipients_config.py +2 -2
- tb_rest_client/models/models_ce/event.py +1 -1
- tb_rest_client/models/models_ce/event_filter.py +2 -2
- tb_rest_client/models/models_ce/event_id.py +2 -2
- tb_rest_client/models/models_ce/event_info.py +2 -2
- tb_rest_client/models/models_ce/features_info.py +2 -2
- tb_rest_client/models/models_ce/file.py +1 -1
- tb_rest_client/models/models_ce/filter_predicate_value_boolean.py +2 -2
- tb_rest_client/models/models_ce/filter_predicate_value_double.py +2 -2
- tb_rest_client/models/models_ce/filter_predicate_value_integer.py +2 -2
- tb_rest_client/models/models_ce/filter_predicate_value_long.py +2 -2
- tb_rest_client/models/models_ce/filter_predicate_value_string.py +2 -2
- tb_rest_client/models/models_ce/has_id_object.py +2 -2
- tb_rest_client/models/models_ce/home_dashboard.py +2 -2
- tb_rest_client/models/models_ce/home_dashboard_info.py +2 -2
- tb_rest_client/models/models_ce/image_export_data.py +2 -2
- tb_rest_client/models/models_ce/inline_response200.py +2 -2
- tb_rest_client/models/models_ce/input_stream.py +2 -2
- tb_rest_client/models/models_ce/ios_config.py +2 -2
- tb_rest_client/models/models_ce/json_node.py +2 -2
- tb_rest_client/models/models_ce/json_transport_payload_configuration.py +2 -2
- tb_rest_client/models/models_ce/jwt_pair.py +2 -2
- tb_rest_client/models/models_ce/jwt_settings.py +2 -2
- tb_rest_client/models/models_ce/key_filter.py +2 -2
- tb_rest_client/models/models_ce/key_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/last_visited_dashboard_info.py +2 -2
- tb_rest_client/models/models_ce/life_cycle_event_filter.py +2 -2
- tb_rest_client/models/models_ce/login_mobile_info.py +176 -0
- tb_rest_client/models/models_ce/login_request.py +2 -2
- tb_rest_client/models/models_ce/login_response.py +2 -2
- tb_rest_client/models/models_ce/lw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_ce/lw_m2_m_server_security_config_default.py +2 -2
- tb_rest_client/models/models_ce/lw_m2m_instance.py +2 -2
- tb_rest_client/models/models_ce/lw_m2m_object.py +2 -2
- tb_rest_client/models/models_ce/lw_m2m_resource_observe.py +2 -2
- tb_rest_client/models/models_ce/lw_m2m_version.py +2 -2
- tb_rest_client/models/models_ce/lwm2m_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/lwm2m_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/mapping.py +2 -2
- tb_rest_client/models/models_ce/microsoft_teams_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/microsoft_teams_notification_target_config.py +2 -2
- tb_rest_client/models/models_ce/mobile_app.py +2 -2
- tb_rest_client/models/models_ce/mobile_app_bundle.py +375 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_id.py +154 -0
- tb_rest_client/models/models_ce/mobile_app_bundle_info.py +487 -0
- tb_rest_client/models/models_ce/mobile_app_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/mobile_app_id.py +2 -2
- tb_rest_client/models/models_ce/mobile_app_info.py +2 -2
- tb_rest_client/models/models_ce/mobile_app_notification_delivery_method_config.py +2 -2
- tb_rest_client/models/models_ce/mobile_app_settings.py +1 -1
- tb_rest_client/models/models_ce/mobile_app_settings_id.py +2 -2
- tb_rest_client/models/models_ce/mobile_app_version_info.py +210 -0
- tb_rest_client/models/models_ce/mobile_layout_config.py +126 -0
- tb_rest_client/models/models_ce/mobile_page.py +158 -0
- tb_rest_client/models/models_ce/mobile_session_info.py +2 -2
- tb_rest_client/models/models_ce/mqtt_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/mqtt_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/new_platform_version_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/no_sec_lw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_ce/node_connection_info.py +2 -2
- tb_rest_client/models/models_ce/notification.py +2 -2
- tb_rest_client/models/models_ce/notification_delivery_method_config.py +2 -2
- tb_rest_client/models/models_ce/notification_id.py +2 -2
- tb_rest_client/models/models_ce/notification_info.py +2 -2
- tb_rest_client/models/models_ce/notification_pref.py +2 -2
- tb_rest_client/models/models_ce/notification_request.py +2 -2
- tb_rest_client/models/models_ce/notification_request_config.py +2 -2
- tb_rest_client/models/models_ce/notification_request_id.py +2 -2
- tb_rest_client/models/models_ce/notification_request_info.py +2 -2
- tb_rest_client/models/models_ce/notification_request_preview.py +2 -2
- tb_rest_client/models/models_ce/notification_request_stats.py +2 -2
- tb_rest_client/models/models_ce/notification_rule.py +2 -2
- tb_rest_client/models/models_ce/notification_rule_config.py +2 -2
- tb_rest_client/models/models_ce/notification_rule_id.py +2 -2
- tb_rest_client/models/models_ce/notification_rule_info.py +2 -2
- tb_rest_client/models/models_ce/notification_rule_recipients_config.py +2 -2
- tb_rest_client/models/models_ce/notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/notification_settings.py +2 -2
- tb_rest_client/models/models_ce/notification_target.py +2 -2
- tb_rest_client/models/models_ce/notification_target_config.py +2 -2
- tb_rest_client/models/models_ce/notification_target_id.py +2 -2
- tb_rest_client/models/models_ce/notification_template.py +3 -3
- tb_rest_client/models/models_ce/notification_template_config.py +2 -2
- tb_rest_client/models/models_ce/notification_template_id.py +2 -2
- tb_rest_client/models/models_ce/numeric_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_basic_mapper_config.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_client.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_client_id.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_client_info.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_client_login_info.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_client_registration_template.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_client_registration_template_id.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_custom_mapper_config.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_domain_info.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_info.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_mapper_config.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_mobile_info.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_params_info.py +2 -2
- tb_rest_client/models/models_ce/o_auth2_registration_info.py +2 -2
- tb_rest_client/models/models_ce/object_attributes.py +2 -2
- tb_rest_client/models/models_ce/object_node.py +1 -1
- tb_rest_client/models/models_ce/one_of_alarm_condition_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/one_of_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_ce/one_of_alarm_count_query_entity_filter.py +2 -2
- tb_rest_client/models/models_ce/one_of_alarm_data_query_entity_filter.py +2 -2
- tb_rest_client/models/models_ce/one_of_alarm_rule_schedule.py +2 -2
- tb_rest_client/models/models_ce/one_of_device_data_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_device_data_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_device_profile_data_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_device_profile_data_provision_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_device_profile_data_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_entity_count_query_entity_filter.py +2 -2
- tb_rest_client/models/models_ce/one_of_entity_data_diff_current_version.py +2 -2
- tb_rest_client/models/models_ce/one_of_entity_data_diff_other_version.py +2 -2
- tb_rest_client/models/models_ce/one_of_entity_data_query_entity_filter.py +2 -2
- tb_rest_client/models/models_ce/one_of_key_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/one_of_notification_rule_info_recipients_config.py +2 -2
- tb_rest_client/models/models_ce/one_of_notification_rule_info_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/one_of_notification_rule_recipients_config.py +2 -2
- tb_rest_client/models/models_ce/one_of_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/one_of_notification_target_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_platform_two_fa_settings_providers_items.py +2 -2
- tb_rest_client/models/models_ce/one_of_tenant_profile_data_configuration.py +2 -2
- tb_rest_client/models/models_ce/one_of_test_sms_request_provider_configuration.py +2 -2
- tb_rest_client/models/models_ce/originator_entity_owner_users_filter.py +2 -2
- tb_rest_client/models/models_ce/ota_package.py +2 -2
- tb_rest_client/models/models_ce/ota_package_data.py +2 -2
- tb_rest_client/models/models_ce/ota_package_id.py +2 -2
- tb_rest_client/models/models_ce/ota_package_info.py +2 -2
- tb_rest_client/models/models_ce/ota_package_ota_package_idchecksumchecksum_algorithm_body.py +2 -2
- tb_rest_client/models/models_ce/other_configuration.py +2 -2
- tb_rest_client/models/models_ce/page_data_alarm_comment_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_alarm_data.py +2 -2
- tb_rest_client/models/models_ce/page_data_alarm_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_asset.py +2 -2
- tb_rest_client/models/models_ce/page_data_asset_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_asset_profile.py +2 -2
- tb_rest_client/models/models_ce/page_data_asset_profile_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_audit_log.py +2 -2
- tb_rest_client/models/models_ce/page_data_calculated_field.py +210 -0
- tb_rest_client/models/models_ce/page_data_customer.py +2 -2
- tb_rest_client/models/models_ce/page_data_dashboard_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_device.py +2 -2
- tb_rest_client/models/models_ce/page_data_device_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_device_profile.py +2 -2
- tb_rest_client/models/models_ce/page_data_device_profile_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_domain_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_edge.py +2 -2
- tb_rest_client/models/models_ce/page_data_edge_event.py +2 -2
- tb_rest_client/models/models_ce/page_data_edge_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_entity_data.py +2 -2
- tb_rest_client/models/models_ce/page_data_entity_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_entity_subtype.py +2 -2
- tb_rest_client/models/models_ce/page_data_entity_version.py +2 -2
- tb_rest_client/models/models_ce/page_data_entity_view.py +2 -2
- tb_rest_client/models/models_ce/page_data_entity_view_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_event.py +1 -1
- tb_rest_client/models/models_ce/page_data_event_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_mobile_app.py +210 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_bundle_info.py +196 -0
- tb_rest_client/models/models_ce/page_data_mobile_app_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_notification.py +2 -2
- tb_rest_client/models/models_ce/page_data_notification_request_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_notification_rule_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_notification_target.py +2 -2
- tb_rest_client/models/models_ce/page_data_notification_template.py +2 -2
- tb_rest_client/models/models_ce/page_data_o_auth2_client_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_ota_package_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_queue.py +2 -2
- tb_rest_client/models/models_ce/page_data_queue_stats.py +2 -2
- tb_rest_client/models/models_ce/page_data_rpc.py +1 -1
- tb_rest_client/models/models_ce/page_data_rule_chain.py +2 -2
- tb_rest_client/models/models_ce/page_data_tb_resource_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_tenant.py +2 -2
- tb_rest_client/models/models_ce/page_data_tenant_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_tenant_profile.py +2 -2
- tb_rest_client/models/models_ce/page_data_user.py +2 -2
- tb_rest_client/models/models_ce/page_data_user_email_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_widget_type_info.py +2 -2
- tb_rest_client/models/models_ce/page_data_widgets_bundle.py +2 -2
- tb_rest_client/models/models_ce/platform_two_fa_settings.py +2 -2
- tb_rest_client/models/models_ce/platform_users_notification_target_config.py +2 -2
- tb_rest_client/models/models_ce/power_saving_configuration.py +2 -2
- tb_rest_client/models/models_ce/processing_strategy.py +2 -2
- tb_rest_client/models/models_ce/proto_transport_payload_configuration.py +2 -2
- tb_rest_client/models/models_ce/psklw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_ce/qr_code_config.py +2 -2
- tb_rest_client/models/models_ce/qr_code_settings.py +399 -0
- tb_rest_client/models/models_ce/qr_code_settings_id.py +127 -0
- tb_rest_client/models/models_ce/queue.py +2 -2
- tb_rest_client/models/models_ce/queue_id.py +2 -2
- tb_rest_client/models/models_ce/queue_stats.py +2 -2
- tb_rest_client/models/models_ce/queue_stats_id.py +2 -2
- tb_rest_client/models/models_ce/rate_limits_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/referenced_entity_key.py +176 -0
- tb_rest_client/models/models_ce/relation_entity_type_filter.py +2 -2
- tb_rest_client/models/models_ce/relations_query_filter.py +2 -2
- tb_rest_client/models/models_ce/relations_search_parameters.py +2 -2
- tb_rest_client/models/models_ce/repeating_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_ce/repository_settings.py +2 -2
- tb_rest_client/models/models_ce/repository_settings_info.py +2 -2
- tb_rest_client/models/models_ce/reset_password_email_request.py +2 -2
- tb_rest_client/models/models_ce/reset_password_request.py +2 -2
- tb_rest_client/models/models_ce/resource.py +2 -2
- tb_rest_client/models/models_ce/resource_export_data.py +384 -0
- tb_rest_client/models/models_ce/response_entity.py +2 -2
- tb_rest_client/models/models_ce/rpc.py +2 -2
- tb_rest_client/models/models_ce/rpc_id.py +2 -2
- tb_rest_client/models/models_ce/rpklw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_ce/rule_chain.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_connection_info.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_data.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_debug_event_filter.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_export_data.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_id.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_import_result.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_meta_data.py +2 -2
- tb_rest_client/models/models_ce/rule_chain_output_labels_usage.py +2 -2
- tb_rest_client/models/models_ce/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/rule_node.py +2 -2
- tb_rest_client/models/models_ce/rule_node_debug_event_filter.py +2 -2
- tb_rest_client/models/models_ce/rule_node_id.py +2 -2
- tb_rest_client/models/models_ce/save_device_with_credentials_request.py +2 -2
- tb_rest_client/models/models_ce/save_ota_package_info_request.py +2 -2
- tb_rest_client/models/models_ce/security_settings.py +2 -2
- tb_rest_client/models/models_ce/server_security_config.py +1 -1
- tb_rest_client/models/models_ce/shared_attributes_setting_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_ce/short_customer_info.py +2 -2
- tb_rest_client/models/models_ce/sign_up_request.py +1 -1
- tb_rest_client/models/models_ce/simple_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_ce/single_entity_filter.py +2 -2
- tb_rest_client/models/models_ce/single_entity_version_create_request.py +2 -2
- tb_rest_client/models/models_ce/single_entity_version_load_request.py +2 -2
- tb_rest_client/models/models_ce/slack_conversation.py +2 -2
- tb_rest_client/models/models_ce/slack_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/slack_notification_delivery_method_config.py +2 -2
- tb_rest_client/models/models_ce/slack_notification_target_config.py +2 -2
- tb_rest_client/models/models_ce/smpp_sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_ce/sms_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_ce/sms_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_ce/sms_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_ce/snmp_communication_config.py +2 -2
- tb_rest_client/models/models_ce/snmp_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/snmp_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_ce/snmp_mapping.py +2 -2
- tb_rest_client/models/models_ce/specific_time_schedule.py +2 -2
- tb_rest_client/models/models_ce/starred_dashboard_info.py +2 -2
- tb_rest_client/models/models_ce/statistics_event_filter.py +2 -2
- tb_rest_client/models/models_ce/store_info.py +176 -0
- tb_rest_client/models/models_ce/string_filter_predicate.py +2 -2
- tb_rest_client/models/models_ce/submit_strategy.py +2 -2
- tb_rest_client/models/models_ce/system_administrators_filter.py +2 -2
- tb_rest_client/models/models_ce/system_info.py +2 -2
- tb_rest_client/models/models_ce/system_info_data.py +2 -2
- tb_rest_client/models/models_ce/task_processing_failure_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_ce/tb_image_delete_result.py +2 -2
- tb_rest_client/models/models_ce/tb_resource.py +2 -2
- tb_rest_client/models/models_ce/tb_resource_id.py +2 -2
- tb_rest_client/models/models_ce/tb_resource_info.py +2 -2
- tb_rest_client/models/models_ce/telemetry_entity_view.py +2 -2
- tb_rest_client/models/models_ce/telemetry_mapping_configuration.py +2 -2
- tb_rest_client/models/models_ce/telemetry_querying_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_ce/tenant.py +2 -2
- tb_rest_client/models/models_ce/tenant_administrators_filter.py +2 -2
- tb_rest_client/models/models_ce/tenant_id.py +2 -2
- tb_rest_client/models/models_ce/tenant_info.py +2 -2
- tb_rest_client/models/models_ce/tenant_profile.py +2 -2
- tb_rest_client/models/models_ce/tenant_profile_configuration.py +2 -2
- tb_rest_client/models/models_ce/tenant_profile_data.py +2 -2
- tb_rest_client/models/models_ce/tenant_profile_id.py +2 -2
- tb_rest_client/models/models_ce/tenant_profile_queue_configuration.py +2 -2
- tb_rest_client/models/models_ce/test_sms_request.py +2 -2
- tb_rest_client/models/models_ce/thingsboard_credentials_expired_response.py +2 -2
- tb_rest_client/models/models_ce/thingsboard_error_response.py +2 -2
- tb_rest_client/models/models_ce/to_core_edqs_request.py +150 -0
- tb_rest_client/models/models_ce/to_device_rpc_request_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_ce/to_server_rpc_request_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_ce/totp_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_ce/totp_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_ce/transport_payload_type_configuration.py +2 -2
- tb_rest_client/models/models_ce/ts_value.py +2 -2
- tb_rest_client/models/models_ce/twilio_sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_ce/two_fa_account_config.py +2 -2
- tb_rest_client/models/models_ce/two_fa_account_config_update_request.py +2 -2
- tb_rest_client/models/models_ce/two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_ce/two_fa_provider_info.py +2 -2
- tb_rest_client/models/models_ce/type_key_body.py +2 -2
- tb_rest_client/models/models_ce/update_message.py +2 -2
- tb_rest_client/models/models_ce/usage_info.py +2 -2
- tb_rest_client/models/models_ce/user.py +2 -2
- tb_rest_client/models/models_ce/user_activation_link.py +2 -2
- tb_rest_client/models/models_ce/user_dashboards_info.py +2 -2
- tb_rest_client/models/models_ce/user_email_info.py +2 -2
- tb_rest_client/models/models_ce/user_id.py +2 -2
- tb_rest_client/models/models_ce/user_list_filter.py +2 -2
- tb_rest_client/models/models_ce/user_mobile_info.py +228 -0
- tb_rest_client/models/models_ce/user_notification_settings.py +2 -2
- tb_rest_client/models/models_ce/user_password_policy.py +2 -2
- tb_rest_client/models/models_ce/users_filter.py +2 -2
- tb_rest_client/models/models_ce/vc_entity_body.py +2 -2
- tb_rest_client/models/models_ce/vc_version_body.py +2 -2
- tb_rest_client/models/models_ce/version.py +2 -2
- tb_rest_client/models/models_ce/version_create_config.py +2 -2
- tb_rest_client/models/models_ce/version_create_request.py +2 -2
- tb_rest_client/models/models_ce/version_creation_result.py +2 -2
- tb_rest_client/models/models_ce/version_load_config.py +2 -2
- tb_rest_client/models/models_ce/version_load_request.py +2 -2
- tb_rest_client/models/models_ce/version_load_result.py +2 -2
- tb_rest_client/models/models_ce/versioned_entity_info.py +2 -2
- tb_rest_client/models/models_ce/web_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_ce/web_view_page.py +98 -0
- tb_rest_client/models/models_ce/widget_type.py +2 -2
- tb_rest_client/models/models_ce/widget_type_details.py +2 -2
- tb_rest_client/models/models_ce/widget_type_export_data.py +2 -2
- tb_rest_client/models/models_ce/widget_type_id.py +2 -2
- tb_rest_client/models/models_ce/widget_type_info.py +2 -2
- tb_rest_client/models/models_ce/widgets_bundle.py +2 -2
- tb_rest_client/models/models_ce/widgets_bundle_export_data.py +2 -2
- tb_rest_client/models/models_ce/widgets_bundle_id.py +2 -2
- tb_rest_client/models/models_ce/x509_certificate_chain_provision_configuration.py +2 -2
- tb_rest_client/models/models_ce/x509_lw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_pe/__init__.py +15 -1
- tb_rest_client/models/models_pe/account_two_fa_settings.py +2 -2
- tb_rest_client/models/models_pe/activate_user_request.py +2 -2
- tb_rest_client/models/models_pe/admin_settings.py +2 -2
- tb_rest_client/models/models_pe/admin_settings_id.py +2 -2
- tb_rest_client/models/models_pe/affected_tenant_administrators_filter.py +2 -2
- tb_rest_client/models/models_pe/affected_user_filter.py +2 -2
- tb_rest_client/models/models_pe/alarm.py +2 -2
- tb_rest_client/models/models_pe/alarm_assignee.py +2 -2
- tb_rest_client/models/models_pe/alarm_assignment_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/alarm_comment.py +2 -2
- tb_rest_client/models/models_pe/alarm_comment_id.py +2 -2
- tb_rest_client/models/models_pe/alarm_comment_info.py +2 -2
- tb_rest_client/models/models_pe/alarm_comment_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/alarm_condition.py +2 -2
- tb_rest_client/models/models_pe/alarm_condition_filter.py +2 -2
- tb_rest_client/models/models_pe/alarm_condition_filter_key.py +2 -2
- tb_rest_client/models/models_pe/alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_pe/alarm_count_query.py +2 -2
- tb_rest_client/models/models_pe/alarm_data.py +2 -2
- tb_rest_client/models/models_pe/alarm_data_page_link.py +2 -2
- tb_rest_client/models/models_pe/alarm_data_query.py +2 -2
- tb_rest_client/models/models_pe/alarm_id.py +2 -2
- tb_rest_client/models/models_pe/alarm_info.py +2 -2
- tb_rest_client/models/models_pe/alarm_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/alarm_rule.py +2 -2
- tb_rest_client/models/models_pe/alarm_schedule.py +1 -1
- tb_rest_client/models/models_pe/all_users_filter.py +2 -2
- tb_rest_client/models/models_pe/allow_create_new_devices_device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_pe/allowed_permissions_info.py +6 -6
- tb_rest_client/models/models_pe/any_time_schedule.py +2 -2
- tb_rest_client/models/models_pe/api_usage_limit_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/api_usage_state_filter.py +2 -2
- tb_rest_client/models/models_pe/array_node.py +2 -2
- tb_rest_client/models/models_pe/asset.py +2 -2
- tb_rest_client/models/models_pe/asset_id.py +2 -2
- tb_rest_client/models/models_pe/asset_info.py +2 -2
- tb_rest_client/models/models_pe/asset_profile_id.py +2 -2
- tb_rest_client/models/models_pe/asset_search_query.py +2 -2
- tb_rest_client/models/models_pe/asset_search_query_filter.py +2 -2
- tb_rest_client/models/models_pe/asset_type_filter.py +2 -2
- tb_rest_client/models/models_pe/atomic_integer.py +2 -2
- tb_rest_client/models/models_pe/attribute_export_data.py +2 -2
- tb_rest_client/models/models_pe/attributes_entity_view.py +2 -2
- tb_rest_client/models/models_pe/audit_log.py +2 -2
- tb_rest_client/models/models_pe/audit_log_id.py +2 -2
- tb_rest_client/models/models_pe/auto_version_create_config.py +2 -2
- tb_rest_client/models/models_pe/aws_sns_sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_pe/backup_code_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_pe/backup_code_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_pe/blob_entity_id.py +2 -2
- tb_rest_client/models/models_pe/blob_entity_info.py +2 -2
- tb_rest_client/models/models_pe/blob_entity_with_customer_info.py +2 -2
- tb_rest_client/models/models_pe/boolean_filter_predicate.py +2 -2
- tb_rest_client/models/models_pe/branch_info.py +2 -2
- tb_rest_client/models/models_pe/bulk_import_request.py +2 -2
- tb_rest_client/models/models_pe/bulk_import_result_asset.py +2 -2
- tb_rest_client/models/models_pe/bulk_import_result_device.py +2 -2
- tb_rest_client/models/models_pe/bulk_import_result_edge.py +2 -2
- tb_rest_client/models/models_pe/byte_buffer.py +2 -2
- tb_rest_client/models/models_pe/calculated_field_configuration.py +211 -0
- tb_rest_client/models/models_pe/calculated_field_debug_event_filter.py +98 -0
- tb_rest_client/models/models_pe/calculated_field_id.py +156 -0
- tb_rest_client/models/models_pe/captcha_params.py +132 -0
- tb_rest_client/models/models_pe/change_password_request.py +2 -2
- tb_rest_client/models/models_pe/check_pre_provisioned_devices_device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_pe/claim_request.py +2 -2
- tb_rest_client/models/models_pe/clear_rule.py +2 -2
- tb_rest_client/models/models_pe/client_attributes_querying_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_pe/coap_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/coap_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/coap_device_type_configuration.py +2 -2
- tb_rest_client/models/models_pe/column_mapping.py +2 -2
- tb_rest_client/models/models_pe/comparison_ts_value.py +2 -2
- tb_rest_client/models/models_pe/complex_filter_predicate.py +2 -2
- tb_rest_client/models/models_pe/complex_version_create_request.py +2 -2
- tb_rest_client/models/models_pe/component_descriptor.py +2 -2
- tb_rest_client/models/models_pe/component_descriptor_id.py +2 -2
- tb_rest_client/models/models_pe/contact_based_object.py +2 -2
- tb_rest_client/models/models_pe/converter.py +2 -2
- tb_rest_client/models/models_pe/converter_id.py +2 -2
- tb_rest_client/models/models_pe/converters_info.py +1 -1
- tb_rest_client/models/models_pe/custom_menu.py +2 -2
- tb_rest_client/models/models_pe/custom_menu_config.py +1 -1
- tb_rest_client/models/models_pe/custom_menu_delete_result.py +1 -1
- tb_rest_client/models/models_pe/custom_menu_id.py +1 -1
- tb_rest_client/models/models_pe/custom_menu_info.py +1 -1
- tb_rest_client/models/models_pe/custom_menu_item.py +2 -2
- tb_rest_client/models/models_pe/custom_time_schedule.py +2 -2
- tb_rest_client/models/models_pe/custom_time_schedule_item.py +2 -2
- tb_rest_client/models/models_pe/custom_translation.py +2 -2
- tb_rest_client/models/models_pe/customer_id.py +2 -2
- tb_rest_client/models/models_pe/customer_info.py +2 -2
- tb_rest_client/models/models_pe/customer_users_filter.py +2 -2
- tb_rest_client/models/models_pe/dashboard_id.py +2 -2
- tb_rest_client/models/models_pe/dashboard_info.py +2 -2
- tb_rest_client/models/models_pe/debug_converter_event_filter.py +2 -2
- tb_rest_client/models/models_pe/debug_integration_event_filter.py +2 -2
- tb_rest_client/models/models_pe/default_coap_device_type_configuration.py +2 -2
- tb_rest_client/models/models_pe/default_dashboard_params.py +154 -0
- tb_rest_client/models/models_pe/default_device_configuration.py +2 -2
- tb_rest_client/models/models_pe/default_device_profile_configuration.py +2 -2
- tb_rest_client/models/models_pe/default_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/default_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/default_menu_item.py +1 -1
- tb_rest_client/models/models_pe/default_rule_chain_create_request.py +2 -2
- tb_rest_client/models/models_pe/default_tenant_profile_configuration.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_entity_data_diff.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_entity_data_info.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_list_branch_info.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_list_versioned_entity_info.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_page_data_entity_version.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_repository_settings.py +2 -2
- tb_rest_client/models/models_pe/deferred_result_void.py +2 -2
- tb_rest_client/models/models_pe/deferred_resultuuid.py +2 -2
- tb_rest_client/models/models_pe/delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_pe/device.py +2 -2
- tb_rest_client/models/models_pe/device_activity_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/device_configuration.py +2 -2
- tb_rest_client/models/models_pe/device_credentials_id.py +2 -2
- tb_rest_client/models/models_pe/device_data.py +2 -2
- tb_rest_client/models/models_pe/device_export_data.py +2 -2
- tb_rest_client/models/models_pe/device_group_ota_package.py +2 -2
- tb_rest_client/models/models_pe/device_id.py +2 -2
- tb_rest_client/models/models_pe/device_info.py +2 -2
- tb_rest_client/models/models_pe/device_profile_alarm.py +2 -2
- tb_rest_client/models/models_pe/device_profile_configuration.py +2 -2
- tb_rest_client/models/models_pe/device_profile_data.py +2 -2
- tb_rest_client/models/models_pe/device_profile_id.py +2 -2
- tb_rest_client/models/models_pe/device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_pe/device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/device_search_query.py +2 -2
- tb_rest_client/models/models_pe/device_search_query_filter.py +2 -2
- tb_rest_client/models/models_pe/device_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/device_type_filter.py +2 -2
- tb_rest_client/models/models_pe/disabled_device_profile_provision_configuration.py +2 -2
- tb_rest_client/models/models_pe/duration_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_pe/edge.py +2 -2
- tb_rest_client/models/models_pe/edge_communication_failure_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/edge_connection_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/edge_event.py +2 -2
- tb_rest_client/models/models_pe/edge_event_id.py +2 -2
- tb_rest_client/models/models_pe/edge_id.py +2 -2
- tb_rest_client/models/models_pe/edge_info.py +2 -2
- tb_rest_client/models/models_pe/edge_instructions.py +2 -2
- tb_rest_client/models/models_pe/edge_search_query.py +2 -2
- tb_rest_client/models/models_pe/edge_search_query_filter.py +2 -2
- tb_rest_client/models/models_pe/edge_type_filter.py +1 -1
- tb_rest_client/models/models_pe/edqs_sync_request.py +99 -0
- tb_rest_client/models/models_pe/efento_coap_device_type_configuration.py +2 -2
- tb_rest_client/models/models_pe/email_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_pe/email_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_pe/email_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_pe/enterprise_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/entities_by_group_name_filter.py +2 -2
- tb_rest_client/models/models_pe/entities_limit_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/entity_action_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/entity_count_query.py +2 -2
- tb_rest_client/models/models_pe/entity_data.py +2 -2
- tb_rest_client/models/models_pe/entity_data_diff.py +2 -2
- tb_rest_client/models/models_pe/entity_data_info.py +2 -2
- tb_rest_client/models/models_pe/entity_data_page_link.py +2 -2
- tb_rest_client/models/models_pe/entity_data_query.py +2 -2
- tb_rest_client/models/models_pe/entity_data_sort_order.py +2 -2
- tb_rest_client/models/models_pe/entity_export_data_object.py +210 -0
- tb_rest_client/models/models_pe/entity_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_group.py +2 -2
- tb_rest_client/models/models_pe/entity_group_export_data.py +2 -2
- tb_rest_client/models/models_pe/entity_group_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_group_id.py +2 -2
- tb_rest_client/models/models_pe/entity_group_info.py +2 -2
- tb_rest_client/models/models_pe/entity_group_list_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_group_name_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_id.py +2 -2
- tb_rest_client/models/models_pe/entity_key.py +2 -2
- tb_rest_client/models/models_pe/entity_list_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_load_error.py +2 -2
- tb_rest_client/models/models_pe/entity_name_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_relation_info.py +2 -2
- tb_rest_client/models/models_pe/entity_relations_query.py +2 -2
- tb_rest_client/models/models_pe/entity_subtype.py +2 -2
- tb_rest_client/models/models_pe/entity_type_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_type_load_result.py +2 -2
- tb_rest_client/models/models_pe/entity_type_version_create_config.py +2 -2
- tb_rest_client/models/models_pe/entity_type_version_load_config.py +2 -2
- tb_rest_client/models/models_pe/entity_type_version_load_request.py +2 -2
- tb_rest_client/models/models_pe/entity_version.py +2 -2
- tb_rest_client/models/models_pe/entity_view.py +2 -2
- tb_rest_client/models/models_pe/entity_view_id.py +2 -2
- tb_rest_client/models/models_pe/entity_view_info.py +2 -2
- tb_rest_client/models/models_pe/entity_view_search_query.py +2 -2
- tb_rest_client/models/models_pe/entity_view_search_query_filter.py +2 -2
- tb_rest_client/models/models_pe/entity_view_type_filter.py +2 -2
- tb_rest_client/models/models_pe/error_event_filter.py +2 -2
- tb_rest_client/models/models_pe/escalated_notification_rule_recipients_config.py +2 -2
- tb_rest_client/models/models_pe/event_filter.py +2 -2
- tb_rest_client/models/models_pe/event_id.py +2 -2
- tb_rest_client/models/models_pe/event_info.py +2 -2
- tb_rest_client/models/models_pe/exportable_entity_entity_id.py +2 -2
- tb_rest_client/models/models_pe/favicon.py +2 -2
- tb_rest_client/models/models_pe/features_info.py +2 -2
- tb_rest_client/models/models_pe/group_entity_export_data.py +2 -2
- tb_rest_client/models/models_pe/group_permission.py +2 -2
- tb_rest_client/models/models_pe/group_permission_id.py +2 -2
- tb_rest_client/models/models_pe/group_permission_info.py +2 -2
- tb_rest_client/models/models_pe/home_dashboard.py +2 -2
- tb_rest_client/models/models_pe/home_menu_item.py +1 -1
- tb_rest_client/models/models_pe/input_stream.py +2 -2
- tb_rest_client/models/models_pe/integration.py +2 -2
- tb_rest_client/models/models_pe/integration_converters_info.py +1 -1
- tb_rest_client/models/models_pe/integration_id.py +2 -2
- tb_rest_client/models/models_pe/integration_info.py +2 -2
- tb_rest_client/models/models_pe/integration_lifecycle_event_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/json_node.py +2 -2
- tb_rest_client/models/models_pe/json_transport_payload_configuration.py +2 -2
- tb_rest_client/models/models_pe/key_filter.py +2 -2
- tb_rest_client/models/models_pe/key_filter_predicate.py +2 -2
- tb_rest_client/models/models_pe/last_visited_dashboard_info.py +2 -2
- tb_rest_client/models/models_pe/license_usage_info.py +2 -2
- tb_rest_client/models/models_pe/life_cycle_event_filter.py +2 -2
- tb_rest_client/models/models_pe/locale_code_upload_body.py +2 -2
- tb_rest_client/models/models_pe/login_request.py +2 -2
- tb_rest_client/models/models_pe/login_response.py +2 -2
- tb_rest_client/models/models_pe/login_white_labeling_params.py +2 -2
- tb_rest_client/models/models_pe/lw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_pe/lw_m2_m_server_security_config_default.py +2 -2
- tb_rest_client/models/models_pe/lw_m2m_instance.py +2 -2
- tb_rest_client/models/models_pe/lw_m2m_object.py +2 -2
- tb_rest_client/models/models_pe/lw_m2m_resource_observe.py +2 -2
- tb_rest_client/models/models_pe/lwm2m_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/lwm2m_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/mapping.py +2 -2
- tb_rest_client/models/models_pe/menu_item.py +1 -1
- tb_rest_client/models/models_pe/merged_group_permission_info.py +2 -2
- tb_rest_client/models/models_pe/merged_group_type_permission_info.py +2 -2
- tb_rest_client/models/models_pe/merged_user_permissions.py +2 -2
- tb_rest_client/models/models_pe/mobile_app_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_pe/mobile_app_notification_delivery_method_config.py +2 -2
- tb_rest_client/models/models_pe/mobile_app_settings_id.py +1 -1
- tb_rest_client/models/models_pe/mobile_redirect_params.py +154 -0
- tb_rest_client/models/models_pe/mobile_self_registration_params.py +98 -0
- tb_rest_client/models/models_pe/mobile_session_info.py +2 -2
- tb_rest_client/models/models_pe/model.py +1 -1
- tb_rest_client/models/models_pe/mqtt_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/mqtt_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/new_platform_version_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/no_sec_lw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_pe/node_connection_info.py +2 -2
- tb_rest_client/models/models_pe/notification.py +2 -2
- tb_rest_client/models/models_pe/notification_delivery_method_config.py +2 -2
- tb_rest_client/models/models_pe/notification_id.py +2 -2
- tb_rest_client/models/models_pe/notification_info.py +2 -2
- tb_rest_client/models/models_pe/notification_request.py +2 -2
- tb_rest_client/models/models_pe/notification_request_config.py +2 -2
- tb_rest_client/models/models_pe/notification_request_id.py +2 -2
- tb_rest_client/models/models_pe/notification_request_preview.py +2 -2
- tb_rest_client/models/models_pe/notification_request_stats.py +2 -2
- tb_rest_client/models/models_pe/notification_rule_config.py +2 -2
- tb_rest_client/models/models_pe/notification_rule_id.py +2 -2
- tb_rest_client/models/models_pe/notification_rule_recipients_config.py +2 -2
- tb_rest_client/models/models_pe/notification_rule_trigger_config.py +135 -0
- tb_rest_client/models/models_pe/notification_template_config.py +2 -2
- tb_rest_client/models/models_pe/notification_template_id.py +2 -2
- tb_rest_client/models/models_pe/numeric_filter_predicate.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_basic_mapper_config.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_client_info.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_client_registration_template.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_client_registration_template_id.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_custom_mapper_config.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_domain_info.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_info.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_mapper_config.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_mobile_info.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_params_info.py +2 -2
- tb_rest_client/models/models_pe/o_auth2_registration_info.py +2 -2
- tb_rest_client/models/models_pe/object_attributes.py +2 -2
- tb_rest_client/models/models_pe/object_node.py +2 -2
- tb_rest_client/models/models_pe/originator_entity_owner_users_filter.py +2 -2
- tb_rest_client/models/models_pe/ota_package.py +2 -2
- tb_rest_client/models/models_pe/ota_package_id.py +2 -2
- tb_rest_client/models/models_pe/ota_package_info.py +2 -2
- tb_rest_client/models/models_pe/ota_package_ota_package_id_body.py +2 -2
- tb_rest_client/models/models_pe/other_configuration.py +2 -2
- tb_rest_client/models/models_pe/page_data_blob_entity_with_customer_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_contact_basedobject.py +2 -2
- tb_rest_client/models/models_pe/page_data_converter.py +2 -2
- tb_rest_client/models/models_pe/page_data_customer_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_edge.py +2 -2
- tb_rest_client/models/models_pe/page_data_edge_event.py +2 -2
- tb_rest_client/models/models_pe/page_data_edge_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_entity_group_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_entity_version.py +2 -2
- tb_rest_client/models/models_pe/page_data_entity_view_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_event_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_integration.py +2 -2
- tb_rest_client/models/models_pe/page_data_integration_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_ota_package_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_queue.py +2 -2
- tb_rest_client/models/models_pe/page_data_role.py +2 -2
- tb_rest_client/models/models_pe/page_data_rule_chain.py +2 -2
- tb_rest_client/models/models_pe/page_data_scheduler_event_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_short_entity_view.py +2 -2
- tb_rest_client/models/models_pe/page_data_user_email_info.py +2 -2
- tb_rest_client/models/models_pe/page_data_user_info.py +2 -2
- tb_rest_client/models/models_pe/palette.py +2 -2
- tb_rest_client/models/models_pe/palette_settings.py +2 -2
- tb_rest_client/models/models_pe/platform_two_fa_settings.py +2 -2
- tb_rest_client/models/models_pe/platform_users_notification_target_config.py +2 -2
- tb_rest_client/models/models_pe/power_saving_configuration.py +2 -2
- tb_rest_client/models/models_pe/processing_strategy.py +2 -2
- tb_rest_client/models/models_pe/proto_transport_payload_configuration.py +2 -2
- tb_rest_client/models/models_pe/psklw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_pe/queue.py +2 -2
- tb_rest_client/models/models_pe/raw_data_event_filter.py +2 -2
- tb_rest_client/models/models_pe/relation_entity_type_filter.py +2 -2
- tb_rest_client/models/models_pe/relations_query_filter.py +2 -2
- tb_rest_client/models/models_pe/relations_search_parameters.py +2 -2
- tb_rest_client/models/models_pe/repeating_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_pe/report_config.py +2 -2
- tb_rest_client/models/models_pe/repository_settings.py +2 -2
- tb_rest_client/models/models_pe/repository_settings_info.py +2 -2
- tb_rest_client/models/models_pe/reset_password_email_request.py +2 -2
- tb_rest_client/models/models_pe/reset_password_request.py +2 -2
- tb_rest_client/models/models_pe/resource.py +2 -2
- tb_rest_client/models/models_pe/response_entity.py +2 -2
- tb_rest_client/models/models_pe/role.py +2 -2
- tb_rest_client/models/models_pe/role_id.py +2 -2
- tb_rest_client/models/models_pe/rpc.py +2 -2
- tb_rest_client/models/models_pe/rpc_id.py +2 -2
- tb_rest_client/models/models_pe/rpklw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/models/models_pe/rule_chain.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_connection_info.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_data.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_debug_event_filter.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_export_data.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_id.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_import_result.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_meta_data.py +2 -2
- tb_rest_client/models/models_pe/rule_chain_output_labels_usage.py +2 -2
- tb_rest_client/models/models_pe/rule_engine_component_lifecycle_event_notification_rule_trigger_config.py +2 -2
- tb_rest_client/models/models_pe/rule_node.py +2 -2
- tb_rest_client/models/models_pe/rule_node_debug_event_filter.py +2 -2
- tb_rest_client/models/models_pe/rule_node_id.py +2 -2
- tb_rest_client/models/models_pe/save_device_with_credentials_request.py +2 -2
- tb_rest_client/models/models_pe/save_ota_package_info_request.py +2 -2
- tb_rest_client/models/models_pe/scheduler_event.py +2 -2
- tb_rest_client/models/models_pe/scheduler_event_filter.py +2 -2
- tb_rest_client/models/models_pe/scheduler_event_id.py +2 -2
- tb_rest_client/models/models_pe/scheduler_event_info.py +2 -2
- tb_rest_client/models/models_pe/scheduler_event_with_customer_info.py +2 -2
- tb_rest_client/models/models_pe/security_settings.py +2 -2
- tb_rest_client/models/models_pe/self_registration_params.py +2 -2
- tb_rest_client/models/models_pe/share_group_request.py +2 -2
- tb_rest_client/models/models_pe/shared_attributes_setting_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_pe/short_customer_info.py +2 -2
- tb_rest_client/models/models_pe/short_entity_view.py +2 -2
- tb_rest_client/models/models_pe/sign_up_field.py +184 -0
- tb_rest_client/models/models_pe/sign_up_request.py +2 -2
- tb_rest_client/models/models_pe/sign_up_self_registration_params.py +2 -2
- tb_rest_client/models/models_pe/simple_alarm_condition_spec.py +2 -2
- tb_rest_client/models/models_pe/single_entity_filter.py +2 -2
- tb_rest_client/models/models_pe/single_entity_version_create_request.py +2 -2
- tb_rest_client/models/models_pe/single_entity_version_load_request.py +2 -2
- tb_rest_client/models/models_pe/slack_conversation.py +2 -2
- tb_rest_client/models/models_pe/slack_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_pe/slack_notification_delivery_method_config.py +2 -2
- tb_rest_client/models/models_pe/slack_notification_target_config.py +2 -2
- tb_rest_client/models/models_pe/smpp_sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_pe/sms_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_pe/sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_pe/sms_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_pe/sms_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_pe/snmp_communication_config.py +2 -2
- tb_rest_client/models/models_pe/snmp_device_profile_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/snmp_device_transport_configuration.py +2 -2
- tb_rest_client/models/models_pe/snmp_mapping.py +2 -2
- tb_rest_client/models/models_pe/solution_install_response.py +2 -2
- tb_rest_client/models/models_pe/specific_time_schedule.py +2 -2
- tb_rest_client/models/models_pe/starred_dashboard_info.py +2 -2
- tb_rest_client/models/models_pe/state_entity_owner_filter.py +2 -2
- tb_rest_client/models/models_pe/statistics_event_filter.py +2 -2
- tb_rest_client/models/models_pe/string_filter_predicate.py +2 -2
- tb_rest_client/models/models_pe/submit_strategy.py +2 -2
- tb_rest_client/models/models_pe/subscription_usage.py +1 -1
- tb_rest_client/models/models_pe/system_administrators_filter.py +2 -2
- tb_rest_client/models/models_pe/system_info.py +2 -2
- tb_rest_client/models/models_pe/system_info_data.py +2 -2
- tb_rest_client/models/models_pe/task_processing_failure_notification_rule_trigger_config.py +98 -0
- tb_rest_client/models/models_pe/tb_image_delete_result.py +2 -2
- tb_rest_client/models/models_pe/tb_resource.py +2 -2
- tb_rest_client/models/models_pe/tb_resource_id.py +2 -2
- tb_rest_client/models/models_pe/tb_resource_info.py +2 -2
- tb_rest_client/models/models_pe/telemetry_entity_view.py +2 -2
- tb_rest_client/models/models_pe/telemetry_mapping_configuration.py +2 -2
- tb_rest_client/models/models_pe/telemetry_querying_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_pe/tenant_administrators_filter.py +2 -2
- tb_rest_client/models/models_pe/tenant_profile_configuration.py +2 -2
- tb_rest_client/models/models_pe/tenant_profile_data.py +2 -2
- tb_rest_client/models/models_pe/tenant_profile_id.py +2 -2
- tb_rest_client/models/models_pe/tenant_profile_queue_configuration.py +2 -2
- tb_rest_client/models/models_pe/tenant_solution_template_details.py +2 -2
- tb_rest_client/models/models_pe/tenant_solution_template_info.py +2 -2
- tb_rest_client/models/models_pe/tenant_solution_template_instructions.py +2 -2
- tb_rest_client/models/models_pe/test_sms_request.py +2 -2
- tb_rest_client/models/models_pe/thingsboard_credentials_expired_response.py +2 -2
- tb_rest_client/models/models_pe/thingsboard_error_response.py +2 -2
- tb_rest_client/models/models_pe/to_device_rpc_request_snmp_communication_config.py +2 -2
- tb_rest_client/models/models_pe/totp_two_fa_account_config.py +2 -2
- tb_rest_client/models/models_pe/totp_two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_pe/translation_info.py +2 -2
- tb_rest_client/models/models_pe/transport_payload_type_configuration.py +2 -2
- tb_rest_client/models/models_pe/ts_value.py +2 -2
- tb_rest_client/models/models_pe/twilio_sms_provider_configuration.py +2 -2
- tb_rest_client/models/models_pe/two_fa_account_config.py +2 -2
- tb_rest_client/models/models_pe/two_fa_account_config_update_request.py +2 -2
- tb_rest_client/models/models_pe/two_fa_provider_config.py +2 -2
- tb_rest_client/models/models_pe/two_fa_provider_info.py +2 -2
- tb_rest_client/models/models_pe/update_message.py +2 -2
- tb_rest_client/models/models_pe/user.py +2 -2
- tb_rest_client/models/models_pe/user_dashboards_info.py +2 -2
- tb_rest_client/models/models_pe/user_email_info.py +2 -2
- tb_rest_client/models/models_pe/user_group_list_filter.py +2 -2
- tb_rest_client/models/models_pe/user_id.py +2 -2
- tb_rest_client/models/models_pe/user_info.py +2 -2
- tb_rest_client/models/models_pe/user_list_filter.py +2 -2
- tb_rest_client/models/models_pe/user_password_policy.py +2 -2
- tb_rest_client/models/models_pe/user_role_filter.py +2 -2
- tb_rest_client/models/models_pe/users_filter.py +2 -2
- tb_rest_client/models/models_pe/v2_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/v3_captcha_params.py +98 -0
- tb_rest_client/models/models_pe/vendor.py +150 -0
- tb_rest_client/models/models_pe/version_create_config.py +2 -2
- tb_rest_client/models/models_pe/version_create_request.py +2 -2
- tb_rest_client/models/models_pe/version_creation_result.py +2 -2
- tb_rest_client/models/models_pe/version_load_config.py +2 -2
- tb_rest_client/models/models_pe/version_load_request.py +2 -2
- tb_rest_client/models/models_pe/version_load_result.py +2 -2
- tb_rest_client/models/models_pe/versioned_entity_info.py +2 -2
- tb_rest_client/models/models_pe/web_delivery_method_notification_template.py +2 -2
- tb_rest_client/models/models_pe/web_self_registration_params.py +98 -0
- tb_rest_client/models/models_pe/white_labeling.py +2 -2
- tb_rest_client/models/models_pe/white_labeling_params.py +2 -2
- tb_rest_client/models/models_pe/widget_type.py +2 -2
- tb_rest_client/models/models_pe/widget_type_details.py +2 -2
- tb_rest_client/models/models_pe/widget_type_export_data.py +2 -2
- tb_rest_client/models/models_pe/widget_type_id.py +2 -2
- tb_rest_client/models/models_pe/widget_type_info.py +2 -2
- tb_rest_client/models/models_pe/widgets_bundle_export_data.py +2 -2
- tb_rest_client/models/models_pe/widgets_bundle_id.py +2 -2
- tb_rest_client/models/models_pe/x509_certificate_chain_provision_configuration.py +2 -2
- tb_rest_client/models/models_pe/x509_lw_m2_m_bootstrap_server_credential.py +2 -2
- tb_rest_client/rest.py +1 -1
- tb_rest_client/rest_client_base.py +85 -1
- tb_rest_client/rest_client_ce.py +25 -1
- tb_rest_client/rest_client_pe.py +82 -20
- {tb_rest_client-3.8.0.dist-info → tb_rest_client-4.0.0.dist-info}/METADATA +8 -8
- tb_rest_client-4.0.0.dist-info/RECORD +1126 -0
- tb_rest_client-3.8.0.dist-info/RECORD +0 -1074
- {tb_rest_client-3.8.0.dist-info → tb_rest_client-4.0.0.dist-info}/LICENSE +0 -0
- {tb_rest_client-3.8.0.dist-info → tb_rest_client-4.0.0.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
ThingsBoard REST API
|
|
5
|
+
|
|
6
|
+
ThingsBoard open-source IoT platform REST API documentation. # noqa: E501
|
|
7
|
+
|
|
8
|
+
OpenAPI spec version: 4.0.0PE
|
|
9
|
+
Contact: info@thingsboard.io
|
|
10
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
|
+
"""
|
|
12
|
+
|
|
13
|
+
# Copyright 2025. ThingsBoard
|
|
14
|
+
#
|
|
15
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
|
+
# you may not use this file except in compliance with the License.
|
|
17
|
+
# You may obtain a copy of the License at
|
|
18
|
+
#
|
|
19
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
|
20
|
+
#
|
|
21
|
+
# Unless required by applicable law or agreed to in writing, software
|
|
22
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
23
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
24
|
+
# See the License for the specific language governing permissions and
|
|
25
|
+
# limitations under the License.
|
|
26
|
+
|
|
27
|
+
from __future__ import absolute_import
|
|
28
|
+
|
|
29
|
+
import re # noqa: F401
|
|
30
|
+
|
|
31
|
+
# python 2 and python 3 compatibility library
|
|
32
|
+
import six
|
|
33
|
+
|
|
34
|
+
from tb_rest_client.api_client import ApiClient
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class CalculatedFieldControllerApi(object):
|
|
38
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
39
|
+
|
|
40
|
+
Do not edit the class manually.
|
|
41
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
42
|
+
"""
|
|
43
|
+
|
|
44
|
+
def __init__(self, api_client=None):
|
|
45
|
+
if api_client is None:
|
|
46
|
+
api_client = ApiClient()
|
|
47
|
+
self.api_client = api_client
|
|
48
|
+
|
|
49
|
+
def delete_calculated_field(self, calculated_field_id, **kwargs): # noqa: E501
|
|
50
|
+
"""Delete Calculated Field (deleteCalculatedField) # noqa: E501
|
|
51
|
+
|
|
52
|
+
Deletes the calculated field. Referencing non-existing Calculated Field Id will cause an error. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
53
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
54
|
+
asynchronous HTTP request, please pass async_req=True
|
|
55
|
+
>>> thread = api.delete_calculated_field(calculated_field_id, async_req=True)
|
|
56
|
+
>>> result = thread.get()
|
|
57
|
+
|
|
58
|
+
:param async_req bool
|
|
59
|
+
:param object calculated_field_id: (required)
|
|
60
|
+
:return: None
|
|
61
|
+
If the method is called asynchronously,
|
|
62
|
+
returns the request thread.
|
|
63
|
+
"""
|
|
64
|
+
kwargs['_return_http_data_only'] = True
|
|
65
|
+
if kwargs.get('async_req'):
|
|
66
|
+
return self.delete_calculated_field_with_http_info(calculated_field_id, **kwargs) # noqa: E501
|
|
67
|
+
else:
|
|
68
|
+
(data) = self.delete_calculated_field_with_http_info(calculated_field_id, **kwargs) # noqa: E501
|
|
69
|
+
return data
|
|
70
|
+
|
|
71
|
+
def delete_calculated_field_with_http_info(self, calculated_field_id, **kwargs): # noqa: E501
|
|
72
|
+
"""Delete Calculated Field (deleteCalculatedField) # noqa: E501
|
|
73
|
+
|
|
74
|
+
Deletes the calculated field. Referencing non-existing Calculated Field Id will cause an error. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
75
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
76
|
+
asynchronous HTTP request, please pass async_req=True
|
|
77
|
+
>>> thread = api.delete_calculated_field_with_http_info(calculated_field_id, async_req=True)
|
|
78
|
+
>>> result = thread.get()
|
|
79
|
+
|
|
80
|
+
:param async_req bool
|
|
81
|
+
:param object calculated_field_id: (required)
|
|
82
|
+
:return: None
|
|
83
|
+
If the method is called asynchronously,
|
|
84
|
+
returns the request thread.
|
|
85
|
+
"""
|
|
86
|
+
|
|
87
|
+
all_params = ['calculated_field_id'] # noqa: E501
|
|
88
|
+
all_params.append('async_req')
|
|
89
|
+
all_params.append('_return_http_data_only')
|
|
90
|
+
all_params.append('_preload_content')
|
|
91
|
+
all_params.append('_request_timeout')
|
|
92
|
+
|
|
93
|
+
params = locals()
|
|
94
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
95
|
+
if key not in all_params:
|
|
96
|
+
raise TypeError(
|
|
97
|
+
"Got an unexpected keyword argument '%s'"
|
|
98
|
+
" to method delete_calculated_field" % key
|
|
99
|
+
)
|
|
100
|
+
params[key] = val
|
|
101
|
+
del params['kwargs']
|
|
102
|
+
# verify the required parameter 'calculated_field_id' is set
|
|
103
|
+
if ('calculated_field_id' not in params or
|
|
104
|
+
params['calculated_field_id'] is None):
|
|
105
|
+
raise ValueError("Missing the required parameter `calculated_field_id` when calling `delete_calculated_field`") # noqa: E501
|
|
106
|
+
|
|
107
|
+
collection_formats = {}
|
|
108
|
+
|
|
109
|
+
path_params = {}
|
|
110
|
+
if 'calculated_field_id' in params:
|
|
111
|
+
path_params['calculatedFieldId'] = params['calculated_field_id'] # noqa: E501
|
|
112
|
+
|
|
113
|
+
query_params = []
|
|
114
|
+
|
|
115
|
+
header_params = {}
|
|
116
|
+
|
|
117
|
+
form_params = []
|
|
118
|
+
local_var_files = {}
|
|
119
|
+
|
|
120
|
+
body_params = None
|
|
121
|
+
# HTTP header `Accept`
|
|
122
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
123
|
+
['application/json']) # noqa: E501
|
|
124
|
+
|
|
125
|
+
# Authentication setting
|
|
126
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
127
|
+
|
|
128
|
+
return self.api_client.call_api(
|
|
129
|
+
'/api/calculatedField/{calculatedFieldId}', 'DELETE',
|
|
130
|
+
path_params,
|
|
131
|
+
query_params,
|
|
132
|
+
header_params,
|
|
133
|
+
body=body_params,
|
|
134
|
+
post_params=form_params,
|
|
135
|
+
files=local_var_files,
|
|
136
|
+
response_type=None, # noqa: E501
|
|
137
|
+
auth_settings=auth_settings,
|
|
138
|
+
async_req=params.get('async_req'),
|
|
139
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
140
|
+
_preload_content=params.get('_preload_content', True),
|
|
141
|
+
_request_timeout=params.get('_request_timeout'),
|
|
142
|
+
collection_formats=collection_formats)
|
|
143
|
+
|
|
144
|
+
def get_calculated_field_by_id(self, calculated_field_id, **kwargs): # noqa: E501
|
|
145
|
+
"""Get Calculated Field (getCalculatedFieldById) # noqa: E501
|
|
146
|
+
|
|
147
|
+
Fetch the Calculated Field object based on the provided Calculated Field Id. # noqa: E501
|
|
148
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
149
|
+
asynchronous HTTP request, please pass async_req=True
|
|
150
|
+
>>> thread = api.get_calculated_field_by_id(calculated_field_id, async_req=True)
|
|
151
|
+
>>> result = thread.get()
|
|
152
|
+
|
|
153
|
+
:param async_req bool
|
|
154
|
+
:param object calculated_field_id: (required)
|
|
155
|
+
:return: CalculatedField
|
|
156
|
+
If the method is called asynchronously,
|
|
157
|
+
returns the request thread.
|
|
158
|
+
"""
|
|
159
|
+
kwargs['_return_http_data_only'] = True
|
|
160
|
+
if kwargs.get('async_req'):
|
|
161
|
+
return self.get_calculated_field_by_id_with_http_info(calculated_field_id, **kwargs) # noqa: E501
|
|
162
|
+
else:
|
|
163
|
+
(data) = self.get_calculated_field_by_id_with_http_info(calculated_field_id, **kwargs) # noqa: E501
|
|
164
|
+
return data
|
|
165
|
+
|
|
166
|
+
def get_calculated_field_by_id_with_http_info(self, calculated_field_id, **kwargs): # noqa: E501
|
|
167
|
+
"""Get Calculated Field (getCalculatedFieldById) # noqa: E501
|
|
168
|
+
|
|
169
|
+
Fetch the Calculated Field object based on the provided Calculated Field Id. # noqa: E501
|
|
170
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
171
|
+
asynchronous HTTP request, please pass async_req=True
|
|
172
|
+
>>> thread = api.get_calculated_field_by_id_with_http_info(calculated_field_id, async_req=True)
|
|
173
|
+
>>> result = thread.get()
|
|
174
|
+
|
|
175
|
+
:param async_req bool
|
|
176
|
+
:param object calculated_field_id: (required)
|
|
177
|
+
:return: CalculatedField
|
|
178
|
+
If the method is called asynchronously,
|
|
179
|
+
returns the request thread.
|
|
180
|
+
"""
|
|
181
|
+
|
|
182
|
+
all_params = ['calculated_field_id'] # noqa: E501
|
|
183
|
+
all_params.append('async_req')
|
|
184
|
+
all_params.append('_return_http_data_only')
|
|
185
|
+
all_params.append('_preload_content')
|
|
186
|
+
all_params.append('_request_timeout')
|
|
187
|
+
|
|
188
|
+
params = locals()
|
|
189
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
190
|
+
if key not in all_params:
|
|
191
|
+
raise TypeError(
|
|
192
|
+
"Got an unexpected keyword argument '%s'"
|
|
193
|
+
" to method get_calculated_field_by_id" % key
|
|
194
|
+
)
|
|
195
|
+
params[key] = val
|
|
196
|
+
del params['kwargs']
|
|
197
|
+
# verify the required parameter 'calculated_field_id' is set
|
|
198
|
+
if ('calculated_field_id' not in params or
|
|
199
|
+
params['calculated_field_id'] is None):
|
|
200
|
+
raise ValueError("Missing the required parameter `calculated_field_id` when calling `get_calculated_field_by_id`") # noqa: E501
|
|
201
|
+
|
|
202
|
+
collection_formats = {}
|
|
203
|
+
|
|
204
|
+
path_params = {}
|
|
205
|
+
if 'calculated_field_id' in params:
|
|
206
|
+
path_params['calculatedFieldId'] = params['calculated_field_id'] # noqa: E501
|
|
207
|
+
|
|
208
|
+
query_params = []
|
|
209
|
+
|
|
210
|
+
header_params = {}
|
|
211
|
+
|
|
212
|
+
form_params = []
|
|
213
|
+
local_var_files = {}
|
|
214
|
+
|
|
215
|
+
body_params = None
|
|
216
|
+
# HTTP header `Accept`
|
|
217
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
218
|
+
['application/json']) # noqa: E501
|
|
219
|
+
|
|
220
|
+
# Authentication setting
|
|
221
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
222
|
+
|
|
223
|
+
return self.api_client.call_api(
|
|
224
|
+
'/api/calculatedField/{calculatedFieldId}', 'GET',
|
|
225
|
+
path_params,
|
|
226
|
+
query_params,
|
|
227
|
+
header_params,
|
|
228
|
+
body=body_params,
|
|
229
|
+
post_params=form_params,
|
|
230
|
+
files=local_var_files,
|
|
231
|
+
response_type='CalculatedField', # noqa: E501
|
|
232
|
+
auth_settings=auth_settings,
|
|
233
|
+
async_req=params.get('async_req'),
|
|
234
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
235
|
+
_preload_content=params.get('_preload_content', True),
|
|
236
|
+
_request_timeout=params.get('_request_timeout'),
|
|
237
|
+
collection_formats=collection_formats)
|
|
238
|
+
|
|
239
|
+
def get_calculated_fields_by_entity_id(self, entity_type, entity_id, page_size, page, **kwargs): # noqa: E501
|
|
240
|
+
"""Get Calculated Fields by Entity Id (getCalculatedFieldsByEntityId) # noqa: E501
|
|
241
|
+
|
|
242
|
+
Fetch the Calculated Fields based on the provided Entity Id. # noqa: E501
|
|
243
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
244
|
+
asynchronous HTTP request, please pass async_req=True
|
|
245
|
+
>>> thread = api.get_calculated_fields_by_entity_id(entity_type, entity_id, page_size, page, async_req=True)
|
|
246
|
+
>>> result = thread.get()
|
|
247
|
+
|
|
248
|
+
:param async_req bool
|
|
249
|
+
:param object entity_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
250
|
+
:param object entity_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
251
|
+
:param object page_size: Maximum amount of entities in a one page (required)
|
|
252
|
+
:param object page: Sequence number of page starting from 0 (required)
|
|
253
|
+
:param object text_search: The case insensitive 'substring' filter based on the calculated field name.
|
|
254
|
+
:param object sort_property: Property of entity to sort by
|
|
255
|
+
:param object sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
256
|
+
:return: PageDataCalculatedField
|
|
257
|
+
If the method is called asynchronously,
|
|
258
|
+
returns the request thread.
|
|
259
|
+
"""
|
|
260
|
+
kwargs['_return_http_data_only'] = True
|
|
261
|
+
if kwargs.get('async_req'):
|
|
262
|
+
return self.get_calculated_fields_by_entity_id_with_http_info(entity_type, entity_id, page_size, page, **kwargs) # noqa: E501
|
|
263
|
+
else:
|
|
264
|
+
(data) = self.get_calculated_fields_by_entity_id_with_http_info(entity_type, entity_id, page_size, page, **kwargs) # noqa: E501
|
|
265
|
+
return data
|
|
266
|
+
|
|
267
|
+
def get_calculated_fields_by_entity_id_with_http_info(self, entity_type, entity_id, page_size, page, **kwargs): # noqa: E501
|
|
268
|
+
"""Get Calculated Fields by Entity Id (getCalculatedFieldsByEntityId) # noqa: E501
|
|
269
|
+
|
|
270
|
+
Fetch the Calculated Fields based on the provided Entity Id. # noqa: E501
|
|
271
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
272
|
+
asynchronous HTTP request, please pass async_req=True
|
|
273
|
+
>>> thread = api.get_calculated_fields_by_entity_id_with_http_info(entity_type, entity_id, page_size, page, async_req=True)
|
|
274
|
+
>>> result = thread.get()
|
|
275
|
+
|
|
276
|
+
:param async_req bool
|
|
277
|
+
:param object entity_type: A string value representing the entity type. For example, 'DEVICE' (required)
|
|
278
|
+
:param object entity_id: A string value representing the entity id. For example, '784f394c-42b6-435a-983c-b7beff2784f9' (required)
|
|
279
|
+
:param object page_size: Maximum amount of entities in a one page (required)
|
|
280
|
+
:param object page: Sequence number of page starting from 0 (required)
|
|
281
|
+
:param object text_search: The case insensitive 'substring' filter based on the calculated field name.
|
|
282
|
+
:param object sort_property: Property of entity to sort by
|
|
283
|
+
:param object sort_order: Sort order. ASC (ASCENDING) or DESC (DESCENDING)
|
|
284
|
+
:return: PageDataCalculatedField
|
|
285
|
+
If the method is called asynchronously,
|
|
286
|
+
returns the request thread.
|
|
287
|
+
"""
|
|
288
|
+
|
|
289
|
+
all_params = ['entity_type', 'entity_id', 'page_size', 'page', 'text_search', 'sort_property', 'sort_order'] # noqa: E501
|
|
290
|
+
all_params.append('async_req')
|
|
291
|
+
all_params.append('_return_http_data_only')
|
|
292
|
+
all_params.append('_preload_content')
|
|
293
|
+
all_params.append('_request_timeout')
|
|
294
|
+
|
|
295
|
+
params = locals()
|
|
296
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
297
|
+
if key not in all_params:
|
|
298
|
+
raise TypeError(
|
|
299
|
+
"Got an unexpected keyword argument '%s'"
|
|
300
|
+
" to method get_calculated_fields_by_entity_id" % key
|
|
301
|
+
)
|
|
302
|
+
params[key] = val
|
|
303
|
+
del params['kwargs']
|
|
304
|
+
# verify the required parameter 'entity_type' is set
|
|
305
|
+
if ('entity_type' not in params or
|
|
306
|
+
params['entity_type'] is None):
|
|
307
|
+
raise ValueError("Missing the required parameter `entity_type` when calling `get_calculated_fields_by_entity_id`") # noqa: E501
|
|
308
|
+
# verify the required parameter 'entity_id' is set
|
|
309
|
+
if ('entity_id' not in params or
|
|
310
|
+
params['entity_id'] is None):
|
|
311
|
+
raise ValueError("Missing the required parameter `entity_id` when calling `get_calculated_fields_by_entity_id`") # noqa: E501
|
|
312
|
+
# verify the required parameter 'page_size' is set
|
|
313
|
+
if ('page_size' not in params or
|
|
314
|
+
params['page_size'] is None):
|
|
315
|
+
raise ValueError("Missing the required parameter `page_size` when calling `get_calculated_fields_by_entity_id`") # noqa: E501
|
|
316
|
+
# verify the required parameter 'page' is set
|
|
317
|
+
if ('page' not in params or
|
|
318
|
+
params['page'] is None):
|
|
319
|
+
raise ValueError("Missing the required parameter `page` when calling `get_calculated_fields_by_entity_id`") # noqa: E501
|
|
320
|
+
|
|
321
|
+
collection_formats = {}
|
|
322
|
+
|
|
323
|
+
path_params = {}
|
|
324
|
+
if 'entity_type' in params:
|
|
325
|
+
path_params['entityType'] = params['entity_type'] # noqa: E501
|
|
326
|
+
if 'entity_id' in params:
|
|
327
|
+
path_params['entityId'] = params['entity_id'] # noqa: E501
|
|
328
|
+
|
|
329
|
+
query_params = []
|
|
330
|
+
if 'page_size' in params:
|
|
331
|
+
query_params.append(('pageSize', params['page_size'])) # noqa: E501
|
|
332
|
+
if 'page' in params:
|
|
333
|
+
query_params.append(('page', params['page'])) # noqa: E501
|
|
334
|
+
if 'text_search' in params:
|
|
335
|
+
query_params.append(('textSearch', params['text_search'])) # noqa: E501
|
|
336
|
+
if 'sort_property' in params:
|
|
337
|
+
query_params.append(('sortProperty', params['sort_property'])) # noqa: E501
|
|
338
|
+
if 'sort_order' in params:
|
|
339
|
+
query_params.append(('sortOrder', params['sort_order'])) # noqa: E501
|
|
340
|
+
|
|
341
|
+
header_params = {}
|
|
342
|
+
|
|
343
|
+
form_params = []
|
|
344
|
+
local_var_files = {}
|
|
345
|
+
|
|
346
|
+
body_params = None
|
|
347
|
+
# HTTP header `Accept`
|
|
348
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
349
|
+
['application/json']) # noqa: E501
|
|
350
|
+
|
|
351
|
+
# Authentication setting
|
|
352
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
353
|
+
|
|
354
|
+
return self.api_client.call_api(
|
|
355
|
+
'/api/{entityType}/{entityId}/calculatedFields{?pageSize,page,textSearch,sortProperty,sortOrder}', 'GET',
|
|
356
|
+
path_params,
|
|
357
|
+
query_params,
|
|
358
|
+
header_params,
|
|
359
|
+
body=body_params,
|
|
360
|
+
post_params=form_params,
|
|
361
|
+
files=local_var_files,
|
|
362
|
+
response_type='PageDataCalculatedField', # noqa: E501
|
|
363
|
+
auth_settings=auth_settings,
|
|
364
|
+
async_req=params.get('async_req'),
|
|
365
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
366
|
+
_preload_content=params.get('_preload_content', True),
|
|
367
|
+
_request_timeout=params.get('_request_timeout'),
|
|
368
|
+
collection_formats=collection_formats)
|
|
369
|
+
|
|
370
|
+
def get_latest_calculated_field_debug_event(self, calculated_field_id, **kwargs): # noqa: E501
|
|
371
|
+
"""Get latest calculated field debug event (getLatestCalculatedFieldDebugEvent) # noqa: E501
|
|
372
|
+
|
|
373
|
+
Gets latest calculated field debug event for specified calculated field id. Referencing non-existing calculated field id will cause an error. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
374
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
375
|
+
asynchronous HTTP request, please pass async_req=True
|
|
376
|
+
>>> thread = api.get_latest_calculated_field_debug_event(calculated_field_id, async_req=True)
|
|
377
|
+
>>> result = thread.get()
|
|
378
|
+
|
|
379
|
+
:param async_req bool
|
|
380
|
+
:param object calculated_field_id: (required)
|
|
381
|
+
:return: JsonNode
|
|
382
|
+
If the method is called asynchronously,
|
|
383
|
+
returns the request thread.
|
|
384
|
+
"""
|
|
385
|
+
kwargs['_return_http_data_only'] = True
|
|
386
|
+
if kwargs.get('async_req'):
|
|
387
|
+
return self.get_latest_calculated_field_debug_event_with_http_info(calculated_field_id, **kwargs) # noqa: E501
|
|
388
|
+
else:
|
|
389
|
+
(data) = self.get_latest_calculated_field_debug_event_with_http_info(calculated_field_id, **kwargs) # noqa: E501
|
|
390
|
+
return data
|
|
391
|
+
|
|
392
|
+
def get_latest_calculated_field_debug_event_with_http_info(self, calculated_field_id, **kwargs): # noqa: E501
|
|
393
|
+
"""Get latest calculated field debug event (getLatestCalculatedFieldDebugEvent) # noqa: E501
|
|
394
|
+
|
|
395
|
+
Gets latest calculated field debug event for specified calculated field id. Referencing non-existing calculated field id will cause an error. Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
396
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
397
|
+
asynchronous HTTP request, please pass async_req=True
|
|
398
|
+
>>> thread = api.get_latest_calculated_field_debug_event_with_http_info(calculated_field_id, async_req=True)
|
|
399
|
+
>>> result = thread.get()
|
|
400
|
+
|
|
401
|
+
:param async_req bool
|
|
402
|
+
:param object calculated_field_id: (required)
|
|
403
|
+
:return: JsonNode
|
|
404
|
+
If the method is called asynchronously,
|
|
405
|
+
returns the request thread.
|
|
406
|
+
"""
|
|
407
|
+
|
|
408
|
+
all_params = ['calculated_field_id'] # noqa: E501
|
|
409
|
+
all_params.append('async_req')
|
|
410
|
+
all_params.append('_return_http_data_only')
|
|
411
|
+
all_params.append('_preload_content')
|
|
412
|
+
all_params.append('_request_timeout')
|
|
413
|
+
|
|
414
|
+
params = locals()
|
|
415
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
416
|
+
if key not in all_params:
|
|
417
|
+
raise TypeError(
|
|
418
|
+
"Got an unexpected keyword argument '%s'"
|
|
419
|
+
" to method get_latest_calculated_field_debug_event" % key
|
|
420
|
+
)
|
|
421
|
+
params[key] = val
|
|
422
|
+
del params['kwargs']
|
|
423
|
+
# verify the required parameter 'calculated_field_id' is set
|
|
424
|
+
if ('calculated_field_id' not in params or
|
|
425
|
+
params['calculated_field_id'] is None):
|
|
426
|
+
raise ValueError("Missing the required parameter `calculated_field_id` when calling `get_latest_calculated_field_debug_event`") # noqa: E501
|
|
427
|
+
|
|
428
|
+
collection_formats = {}
|
|
429
|
+
|
|
430
|
+
path_params = {}
|
|
431
|
+
if 'calculated_field_id' in params:
|
|
432
|
+
path_params['calculatedFieldId'] = params['calculated_field_id'] # noqa: E501
|
|
433
|
+
|
|
434
|
+
query_params = []
|
|
435
|
+
|
|
436
|
+
header_params = {}
|
|
437
|
+
|
|
438
|
+
form_params = []
|
|
439
|
+
local_var_files = {}
|
|
440
|
+
|
|
441
|
+
body_params = None
|
|
442
|
+
# HTTP header `Accept`
|
|
443
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
444
|
+
['application/json']) # noqa: E501
|
|
445
|
+
|
|
446
|
+
# Authentication setting
|
|
447
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
448
|
+
|
|
449
|
+
return self.api_client.call_api(
|
|
450
|
+
'/api/calculatedField/{calculatedFieldId}/debug', 'GET',
|
|
451
|
+
path_params,
|
|
452
|
+
query_params,
|
|
453
|
+
header_params,
|
|
454
|
+
body=body_params,
|
|
455
|
+
post_params=form_params,
|
|
456
|
+
files=local_var_files,
|
|
457
|
+
response_type='JsonNode', # noqa: E501
|
|
458
|
+
auth_settings=auth_settings,
|
|
459
|
+
async_req=params.get('async_req'),
|
|
460
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
461
|
+
_preload_content=params.get('_preload_content', True),
|
|
462
|
+
_request_timeout=params.get('_request_timeout'),
|
|
463
|
+
collection_formats=collection_formats)
|
|
464
|
+
|
|
465
|
+
def save_calculated_field(self, body, **kwargs): # noqa: E501
|
|
466
|
+
"""Create Or Update Calculated Field (saveCalculatedField) # noqa: E501
|
|
467
|
+
|
|
468
|
+
Creates or Updates the Calculated Field. When creating calculated field, platform generates Calculated Field Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Calculated Field Id will be present in the response. Specify existing Calculated Field Id to update the calculated field. Referencing non-existing Calculated Field Id will cause 'Not Found' error. Remove 'id', 'tenantId' from the request body example (below) to create new Calculated Field entity. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
469
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
470
|
+
asynchronous HTTP request, please pass async_req=True
|
|
471
|
+
>>> thread = api.save_calculated_field(body, async_req=True)
|
|
472
|
+
>>> result = thread.get()
|
|
473
|
+
|
|
474
|
+
:param async_req bool
|
|
475
|
+
:param CalculatedField body: A JSON value representing the calculated field. (required)
|
|
476
|
+
:return: CalculatedField
|
|
477
|
+
If the method is called asynchronously,
|
|
478
|
+
returns the request thread.
|
|
479
|
+
"""
|
|
480
|
+
kwargs['_return_http_data_only'] = True
|
|
481
|
+
if kwargs.get('async_req'):
|
|
482
|
+
return self.save_calculated_field_with_http_info(body, **kwargs) # noqa: E501
|
|
483
|
+
else:
|
|
484
|
+
(data) = self.save_calculated_field_with_http_info(body, **kwargs) # noqa: E501
|
|
485
|
+
return data
|
|
486
|
+
|
|
487
|
+
def save_calculated_field_with_http_info(self, body, **kwargs): # noqa: E501
|
|
488
|
+
"""Create Or Update Calculated Field (saveCalculatedField) # noqa: E501
|
|
489
|
+
|
|
490
|
+
Creates or Updates the Calculated Field. When creating calculated field, platform generates Calculated Field Id as [time-based UUID](https://en.wikipedia.org/wiki/Universally_unique_identifier#Version_1_(date-time_and_MAC_address)). The newly created Calculated Field Id will be present in the response. Specify existing Calculated Field Id to update the calculated field. Referencing non-existing Calculated Field Id will cause 'Not Found' error. Remove 'id', 'tenantId' from the request body example (below) to create new Calculated Field entity. Available for users with 'TENANT_ADMIN' or 'CUSTOMER_USER' authority. # noqa: E501
|
|
491
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
492
|
+
asynchronous HTTP request, please pass async_req=True
|
|
493
|
+
>>> thread = api.save_calculated_field_with_http_info(body, async_req=True)
|
|
494
|
+
>>> result = thread.get()
|
|
495
|
+
|
|
496
|
+
:param async_req bool
|
|
497
|
+
:param CalculatedField body: A JSON value representing the calculated field. (required)
|
|
498
|
+
:return: CalculatedField
|
|
499
|
+
If the method is called asynchronously,
|
|
500
|
+
returns the request thread.
|
|
501
|
+
"""
|
|
502
|
+
|
|
503
|
+
all_params = ['body'] # noqa: E501
|
|
504
|
+
all_params.append('async_req')
|
|
505
|
+
all_params.append('_return_http_data_only')
|
|
506
|
+
all_params.append('_preload_content')
|
|
507
|
+
all_params.append('_request_timeout')
|
|
508
|
+
|
|
509
|
+
params = locals()
|
|
510
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
511
|
+
if key not in all_params:
|
|
512
|
+
raise TypeError(
|
|
513
|
+
"Got an unexpected keyword argument '%s'"
|
|
514
|
+
" to method save_calculated_field" % key
|
|
515
|
+
)
|
|
516
|
+
params[key] = val
|
|
517
|
+
del params['kwargs']
|
|
518
|
+
# verify the required parameter 'body' is set
|
|
519
|
+
if ('body' not in params or
|
|
520
|
+
params['body'] is None):
|
|
521
|
+
raise ValueError("Missing the required parameter `body` when calling `save_calculated_field`") # noqa: E501
|
|
522
|
+
|
|
523
|
+
collection_formats = {}
|
|
524
|
+
|
|
525
|
+
path_params = {}
|
|
526
|
+
|
|
527
|
+
query_params = []
|
|
528
|
+
|
|
529
|
+
header_params = {}
|
|
530
|
+
|
|
531
|
+
form_params = []
|
|
532
|
+
local_var_files = {}
|
|
533
|
+
|
|
534
|
+
body_params = None
|
|
535
|
+
if 'body' in params:
|
|
536
|
+
body_params = params['body']
|
|
537
|
+
# HTTP header `Accept`
|
|
538
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
539
|
+
['application/json']) # noqa: E501
|
|
540
|
+
|
|
541
|
+
# HTTP header `Content-Type`
|
|
542
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
543
|
+
['application/json']) # noqa: E501
|
|
544
|
+
|
|
545
|
+
# Authentication setting
|
|
546
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
547
|
+
|
|
548
|
+
return self.api_client.call_api(
|
|
549
|
+
'/api/calculatedField', 'POST',
|
|
550
|
+
path_params,
|
|
551
|
+
query_params,
|
|
552
|
+
header_params,
|
|
553
|
+
body=body_params,
|
|
554
|
+
post_params=form_params,
|
|
555
|
+
files=local_var_files,
|
|
556
|
+
response_type='CalculatedField', # noqa: E501
|
|
557
|
+
auth_settings=auth_settings,
|
|
558
|
+
async_req=params.get('async_req'),
|
|
559
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
560
|
+
_preload_content=params.get('_preload_content', True),
|
|
561
|
+
_request_timeout=params.get('_request_timeout'),
|
|
562
|
+
collection_formats=collection_formats)
|
|
563
|
+
|
|
564
|
+
def test_script1(self, body, **kwargs): # noqa: E501
|
|
565
|
+
"""Test Script expression # noqa: E501
|
|
566
|
+
|
|
567
|
+
Execute the Script expression and return the result. The format of request: ```json { \"expression\": \"var temp = 0; foreach(element: temperature.values) {temp += element.value;} var avgTemperature = temp / temperature.values.size(); var adjustedTemperature = avgTemperature + 0.1 * humidity.value; return {\\\"adjustedTemperature\\\": adjustedTemperature};\", \"arguments\": { \"temperature\": { \"type\": \"TS_ROLLING\", \"timeWindow\": { \"startTs\": 1739775630002, \"endTs\": 65432211, \"limit\": 5 }, \"values\": [ { \"ts\": 1739775639851, \"value\": 23 }, { \"ts\": 1739775664561, \"value\": 43 }, { \"ts\": 1739775713079, \"value\": 15 }, { \"ts\": 1739775999522, \"value\": 34 }, { \"ts\": 1739776228452, \"value\": 22 } ] }, \"humidity\": { \"type\": \"SINGLE_VALUE\", \"ts\": 1739776478057, \"value\": 23 } } } ``` Expected result JSON contains \"output\" and \"error\". Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
568
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
569
|
+
asynchronous HTTP request, please pass async_req=True
|
|
570
|
+
>>> thread = api.test_script1(body, async_req=True)
|
|
571
|
+
>>> result = thread.get()
|
|
572
|
+
|
|
573
|
+
:param async_req bool
|
|
574
|
+
:param object body: Test calculated field TBEL expression. (required)
|
|
575
|
+
:return: JsonNode
|
|
576
|
+
If the method is called asynchronously,
|
|
577
|
+
returns the request thread.
|
|
578
|
+
"""
|
|
579
|
+
kwargs['_return_http_data_only'] = True
|
|
580
|
+
if kwargs.get('async_req'):
|
|
581
|
+
return self.test_script1_with_http_info(body, **kwargs) # noqa: E501
|
|
582
|
+
else:
|
|
583
|
+
(data) = self.test_script1_with_http_info(body, **kwargs) # noqa: E501
|
|
584
|
+
return data
|
|
585
|
+
|
|
586
|
+
def test_script1_with_http_info(self, body, **kwargs): # noqa: E501
|
|
587
|
+
"""Test Script expression # noqa: E501
|
|
588
|
+
|
|
589
|
+
Execute the Script expression and return the result. The format of request: ```json { \"expression\": \"var temp = 0; foreach(element: temperature.values) {temp += element.value;} var avgTemperature = temp / temperature.values.size(); var adjustedTemperature = avgTemperature + 0.1 * humidity.value; return {\\\"adjustedTemperature\\\": adjustedTemperature};\", \"arguments\": { \"temperature\": { \"type\": \"TS_ROLLING\", \"timeWindow\": { \"startTs\": 1739775630002, \"endTs\": 65432211, \"limit\": 5 }, \"values\": [ { \"ts\": 1739775639851, \"value\": 23 }, { \"ts\": 1739775664561, \"value\": 43 }, { \"ts\": 1739775713079, \"value\": 15 }, { \"ts\": 1739775999522, \"value\": 34 }, { \"ts\": 1739776228452, \"value\": 22 } ] }, \"humidity\": { \"type\": \"SINGLE_VALUE\", \"ts\": 1739776478057, \"value\": 23 } } } ``` Expected result JSON contains \"output\" and \"error\". Available for users with 'TENANT_ADMIN' authority. # noqa: E501
|
|
590
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
591
|
+
asynchronous HTTP request, please pass async_req=True
|
|
592
|
+
>>> thread = api.test_script1_with_http_info(body, async_req=True)
|
|
593
|
+
>>> result = thread.get()
|
|
594
|
+
|
|
595
|
+
:param async_req bool
|
|
596
|
+
:param object body: Test calculated field TBEL expression. (required)
|
|
597
|
+
:return: JsonNode
|
|
598
|
+
If the method is called asynchronously,
|
|
599
|
+
returns the request thread.
|
|
600
|
+
"""
|
|
601
|
+
|
|
602
|
+
all_params = ['body'] # noqa: E501
|
|
603
|
+
all_params.append('async_req')
|
|
604
|
+
all_params.append('_return_http_data_only')
|
|
605
|
+
all_params.append('_preload_content')
|
|
606
|
+
all_params.append('_request_timeout')
|
|
607
|
+
|
|
608
|
+
params = locals()
|
|
609
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
610
|
+
if key not in all_params:
|
|
611
|
+
raise TypeError(
|
|
612
|
+
"Got an unexpected keyword argument '%s'"
|
|
613
|
+
" to method test_script1" % key
|
|
614
|
+
)
|
|
615
|
+
params[key] = val
|
|
616
|
+
del params['kwargs']
|
|
617
|
+
# verify the required parameter 'body' is set
|
|
618
|
+
if ('body' not in params or
|
|
619
|
+
params['body'] is None):
|
|
620
|
+
raise ValueError("Missing the required parameter `body` when calling `test_script1`") # noqa: E501
|
|
621
|
+
|
|
622
|
+
collection_formats = {}
|
|
623
|
+
|
|
624
|
+
path_params = {}
|
|
625
|
+
|
|
626
|
+
query_params = []
|
|
627
|
+
|
|
628
|
+
header_params = {}
|
|
629
|
+
|
|
630
|
+
form_params = []
|
|
631
|
+
local_var_files = {}
|
|
632
|
+
|
|
633
|
+
body_params = None
|
|
634
|
+
if 'body' in params:
|
|
635
|
+
body_params = params['body']
|
|
636
|
+
# HTTP header `Accept`
|
|
637
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
638
|
+
['application/json']) # noqa: E501
|
|
639
|
+
|
|
640
|
+
# HTTP header `Content-Type`
|
|
641
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
642
|
+
['application/json']) # noqa: E501
|
|
643
|
+
|
|
644
|
+
# Authentication setting
|
|
645
|
+
auth_settings = ['X-Authorization'] # noqa: E501
|
|
646
|
+
|
|
647
|
+
return self.api_client.call_api(
|
|
648
|
+
'/api/calculatedField/testScript', 'POST',
|
|
649
|
+
path_params,
|
|
650
|
+
query_params,
|
|
651
|
+
header_params,
|
|
652
|
+
body=body_params,
|
|
653
|
+
post_params=form_params,
|
|
654
|
+
files=local_var_files,
|
|
655
|
+
response_type='JsonNode', # noqa: E501
|
|
656
|
+
auth_settings=auth_settings,
|
|
657
|
+
async_req=params.get('async_req'),
|
|
658
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
659
|
+
_preload_content=params.get('_preload_content', True),
|
|
660
|
+
_request_timeout=params.get('_request_timeout'),
|
|
661
|
+
collection_formats=collection_formats)
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
|
|
6
6
|
For instructions how to authorize requests please visit <a href='http://thingsboard.io/docs/reference/rest-api/'>REST API documentation page</a>. # noqa: E501
|
|
7
7
|
|
|
8
|
-
OpenAPI spec version:
|
|
8
|
+
OpenAPI spec version: 4.0.0PE
|
|
9
9
|
Contact: info@thingsboard.io
|
|
10
10
|
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
|
11
11
|
"""
|
|
12
12
|
|
|
13
|
-
# Copyright
|
|
13
|
+
# Copyright 2025. ThingsBoard
|
|
14
14
|
#
|
|
15
15
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
16
16
|
# you may not use this file except in compliance with the License.
|