ths-apimatic-sdk-sdk 1.0.0
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.
- checksums.yaml +7 -0
- data/LICENSE +28 -0
- data/README.md +181 -0
- data/bin/console +15 -0
- data/lib/thought_spot_public_rest_api/api_helper.rb +10 -0
- data/lib/thought_spot_public_rest_api/client.rb +218 -0
- data/lib/thought_spot_public_rest_api/configuration.rb +177 -0
- data/lib/thought_spot_public_rest_api/controllers/ai_controller.rb +550 -0
- data/lib/thought_spot_public_rest_api/controllers/authentication_controller.rb +498 -0
- data/lib/thought_spot_public_rest_api/controllers/base_controller.rb +65 -0
- data/lib/thought_spot_public_rest_api/controllers/collections_controller.rb +214 -0
- data/lib/thought_spot_public_rest_api/controllers/connection_configurations_controller.rb +227 -0
- data/lib/thought_spot_public_rest_api/controllers/connections_controller.rb +845 -0
- data/lib/thought_spot_public_rest_api/controllers/custom_action_controller.rb +205 -0
- data/lib/thought_spot_public_rest_api/controllers/custom_calendars_controller.rb +373 -0
- data/lib/thought_spot_public_rest_api/controllers/data_controller.rb +161 -0
- data/lib/thought_spot_public_rest_api/controllers/dbt_controller.rb +381 -0
- data/lib/thought_spot_public_rest_api/controllers/email_customization_controller.rb +354 -0
- data/lib/thought_spot_public_rest_api/controllers/groups_controller.rb +257 -0
- data/lib/thought_spot_public_rest_api/controllers/jobs_controller.rb +62 -0
- data/lib/thought_spot_public_rest_api/controllers/log_controller.rb +67 -0
- data/lib/thought_spot_public_rest_api/controllers/metadata_controller.rb +1074 -0
- data/lib/thought_spot_public_rest_api/controllers/orgs_controller.rb +183 -0
- data/lib/thought_spot_public_rest_api/controllers/reports_controller.rb +126 -0
- data/lib/thought_spot_public_rest_api/controllers/roles_controller.rb +176 -0
- data/lib/thought_spot_public_rest_api/controllers/schedules_controller.rb +213 -0
- data/lib/thought_spot_public_rest_api/controllers/security_controller.rb +749 -0
- data/lib/thought_spot_public_rest_api/controllers/system_controller.rb +401 -0
- data/lib/thought_spot_public_rest_api/controllers/tags_controller.rb +246 -0
- data/lib/thought_spot_public_rest_api/controllers/users_controller.rb +467 -0
- data/lib/thought_spot_public_rest_api/controllers/variable_controller.rb +338 -0
- data/lib/thought_spot_public_rest_api/controllers/version_control_controller.rb +418 -0
- data/lib/thought_spot_public_rest_api/controllers/webhooks_controller.rb +238 -0
- data/lib/thought_spot_public_rest_api/exceptions/api_exception.rb +21 -0
- data/lib/thought_spot_public_rest_api/exceptions/error_response_exception.rb +46 -0
- data/lib/thought_spot_public_rest_api/http/api_response.rb +19 -0
- data/lib/thought_spot_public_rest_api/http/auth/oauth_2.rb +53 -0
- data/lib/thought_spot_public_rest_api/http/http_call_back.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/http_method_enum.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/http_request.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/http_response.rb +10 -0
- data/lib/thought_spot_public_rest_api/http/proxy_settings.rb +22 -0
- data/lib/thought_spot_public_rest_api/logging/configuration/api_logging_configuration.rb +186 -0
- data/lib/thought_spot_public_rest_api/logging/sdk_logger.rb +17 -0
- data/lib/thought_spot_public_rest_api/models/access_token.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/account_status.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/account_status2.rb +53 -0
- data/lib/thought_spot_public_rest_api/models/account_status3.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/account_type.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/account_type2.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/account_type3.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/action_config.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/action_config_input.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/action_config_input_create.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/action_details.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/action_details_input.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/action_details_input_create.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/activate_user_request.rb +104 -0
- data/lib/thought_spot_public_rest_api/models/agent_conversation.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/ai_context.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/answer_content.rb +135 -0
- data/lib/thought_spot_public_rest_api/models/answer_context_input.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/answer_data_response.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/api_key.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/api_key_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/assign_change_author_request.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/assign_tag_request.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/associate_metadata_input.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/associate_metadata_input_create.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/authentication.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/authentication_input.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/authentication_type.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/authentication_type1.rb +64 -0
- data/lib/thought_spot_public_rest_api/models/authentication_type2.rb +74 -0
- data/lib/thought_spot_public_rest_api/models/author.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/author_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/author_type.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/aws_assume_role_setup.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/aws_s3_config.rb +115 -0
- data/lib/thought_spot_public_rest_api/models/aws_s3_config_input.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/base_model.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/basic_auth.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/basic_auth_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/calendar_response.rb +153 -0
- data/lib/thought_spot_public_rest_api/models/calendar_type.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/callback.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/callback_input.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/callback_input_mandatory.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/change_user_password_request.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/channel.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/channel_history_event_input.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/channel_history_job.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/channel_status.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/channel_validation_aws_s3_info.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/channel_validation_detail.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/cluster_non_embed_access.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/cluster_non_embed_access_input.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/cluster_preference.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/cluster_type.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/collection.rb +169 -0
- data/lib/thought_spot_public_rest_api/models/collection_delete_response.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/collection_delete_type_identifiers.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/collection_entity_identifier.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/collection_metadata_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/collection_metadata_item.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/collection_search_response.rb +129 -0
- data/lib/thought_spot_public_rest_api/models/column.rb +130 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule.rb +108 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_column.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_group.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_group_operation.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_response.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_source_table.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_table_input.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/column_security_rule_update.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/commit_branch_request.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/commit_file_type.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/commit_history_response.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/commit_response.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/commiter_type.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/communication_channel_preferences_response.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/communication_channel_validate_response.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/configure_communication_channel_preferences_request.rb +104 -0
- data/lib/thought_spot_public_rest_api/models/configure_security_settings_request.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/connection_configuration_response.rb +206 -0
- data/lib/thought_spot_public_rest_api/models/connection_configuration_search_request.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/connection_input.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/context_payload_v2_input.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/conversation.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/conversation_settings_input.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/convert_worksheet_to_model_request.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/copy_object_request.rb +104 -0
- data/lib/thought_spot_public_rest_api/models/create_agent_conversation_request.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/create_calendar_request.rb +180 -0
- data/lib/thought_spot_public_rest_api/models/create_collection_request.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/create_config_request.rb +171 -0
- data/lib/thought_spot_public_rest_api/models/create_connection_configuration_request.rb +187 -0
- data/lib/thought_spot_public_rest_api/models/create_connection_request.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/create_connection_response.rb +105 -0
- data/lib/thought_spot_public_rest_api/models/create_conversation_request.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/create_custom_action_request.rb +133 -0
- data/lib/thought_spot_public_rest_api/models/create_email_customization_request.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/create_email_customization_response.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/create_org_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/create_role_request.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/create_schedule_request.rb +178 -0
- data/lib/thought_spot_public_rest_api/models/create_tag_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/create_user_group_request.rb +179 -0
- data/lib/thought_spot_public_rest_api/models/create_user_request.rb +330 -0
- data/lib/thought_spot_public_rest_api/models/create_variable_request.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/create_webhook_configuration_request.rb +175 -0
- data/lib/thought_spot_public_rest_api/models/creation_method.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/cron_expression.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/cron_expression_input.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/csp_settings.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/csp_settings_input.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/currency_format.rb +964 -0
- data/lib/thought_spot_public_rest_api/models/custom_action_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/data_format.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/data_source.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/data_source_context_input.rb +72 -0
- data/lib/thought_spot_public_rest_api/models/data_type.rb +53 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_object_input.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_object_type.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_objects.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_type.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_type1.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/data_warehouse_type3.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/database.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/date_format_locale.rb +136 -0
- data/lib/thought_spot_public_rest_api/models/dbt_search_response.rb +151 -0
- data/lib/thought_spot_public_rest_api/models/deactivate_user_request.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config_input_create.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/default_action_config_search_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/default_metadata_type.rb +53 -0
- data/lib/thought_spot_public_rest_api/models/delete_collection_request.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/delete_config_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/delete_connection_configuration_request.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/delete_connection_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/delete_metadata_request.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/delete_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/delete_org_email_customization_request.rb +77 -0
- data/lib/thought_spot_public_rest_api/models/delete_variables_request.rb +74 -0
- data/lib/thought_spot_public_rest_api/models/delete_webhook_configurations_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/dependent_object_version.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/deploy_commit_request.rb +115 -0
- data/lib/thought_spot_public_rest_api/models/deploy_policy.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/deploy_response.rb +124 -0
- data/lib/thought_spot_public_rest_api/models/deploy_type.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/edoc_format.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/edoc_format1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/entity_header.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/eureka_data_source_suggestion_response.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/eureka_decompose_query_response.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/eureka_get_nl_instructions_response.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/eureka_get_relevant_questions_response.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/eureka_llm_decompose_query_response.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/eureka_llm_suggested_query.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/eureka_relevant_question.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/eureka_set_nl_instructions_response.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/event.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/event_channel_config.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/event_channel_config_input.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/event_type.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/event_type1.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/exclude_metadata_list_item_input.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/export_answer_report_request.rb +159 -0
- data/lib/thought_spot_public_rest_api/models/export_liveboard_report_request.rb +273 -0
- data/lib/thought_spot_public_rest_api/models/export_metadata_tml_batched_request.rb +133 -0
- data/lib/thought_spot_public_rest_api/models/export_metadata_tml_request.rb +196 -0
- data/lib/thought_spot_public_rest_api/models/export_metadata_type_input.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/export_options.rb +168 -0
- data/lib/thought_spot_public_rest_api/models/export_schema_version.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/external_table_input.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/favorite_metadata_input.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/favorite_metadata_item.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/favorite_object_options_input.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/fetch_answer_data_request.rb +157 -0
- data/lib/thought_spot_public_rest_api/models/fetch_answer_sql_query_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/fetch_async_import_task_status_request.rb +134 -0
- data/lib/thought_spot_public_rest_api/models/fetch_column_security_rules_request.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/fetch_connection_diff_status_response.rb +77 -0
- data/lib/thought_spot_public_rest_api/models/fetch_liveboard_data_request.rb +185 -0
- data/lib/thought_spot_public_rest_api/models/fetch_liveboard_sql_query_request.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/fetch_logs_request.rb +112 -0
- data/lib/thought_spot_public_rest_api/models/fetch_object_privileges_request.rb +128 -0
- data/lib/thought_spot_public_rest_api/models/fetch_permissions_of_principals_request.rb +139 -0
- data/lib/thought_spot_public_rest_api/models/fetch_permissions_on_metadata_request.rb +159 -0
- data/lib/thought_spot_public_rest_api/models/field_name.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/field_name1.rb +60 -0
- data/lib/thought_spot_public_rest_api/models/field_name2.rb +68 -0
- data/lib/thought_spot_public_rest_api/models/field_name3.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/field_name4.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/field_type.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/field_type1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/file_format.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/file_format2.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/filter_rules.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/force_logout_users_request.rb +77 -0
- data/lib/thought_spot_public_rest_api/models/frequency.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/frequency_input.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/gcp_web_identity_setup.rb +144 -0
- data/lib/thought_spot_public_rest_api/models/generate_csv_request.rb +140 -0
- data/lib/thought_spot_public_rest_api/models/generic_info.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/get_async_import_status_response.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/get_custom_access_token_request.rb +280 -0
- data/lib/thought_spot_public_rest_api/models/get_data_source_suggestions_request.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/get_full_access_token_request.rb +170 -0
- data/lib/thought_spot_public_rest_api/models/get_nl_instructions_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/get_object_access_token_request.rb +183 -0
- data/lib/thought_spot_public_rest_api/models/get_relevant_questions_request.rb +122 -0
- data/lib/thought_spot_public_rest_api/models/get_token_response.rb +117 -0
- data/lib/thought_spot_public_rest_api/models/group_info.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/group_object.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/groups_import_list_input.rb +176 -0
- data/lib/thought_spot_public_rest_api/models/header_attribute_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/header_update_input.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/import_e_pack_async_task_status.rb +241 -0
- data/lib/thought_spot_public_rest_api/models/import_metadata_tml_async_request.rb +143 -0
- data/lib/thought_spot_public_rest_api/models/import_metadata_tml_request.rb +146 -0
- data/lib/thought_spot_public_rest_api/models/import_policy.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/import_policy1.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/import_policy2.rb +46 -0
- data/lib/thought_spot_public_rest_api/models/import_type.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/import_user.rb +282 -0
- data/lib/thought_spot_public_rest_api/models/import_user_groups_request.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/import_user_groups_response.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/import_user_type.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/import_users_request.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/import_users_response.rb +127 -0
- data/lib/thought_spot_public_rest_api/models/import_worksheets.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/input_eureka_nls_request.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/jwt_metadata_object.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/jwt_parameter.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/jwt_user_options.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/jwt_user_options_full.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/lb_context_input.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_content.rb +162 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_data_response.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_options.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_options_input.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/liveboard_response_version.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/log_response.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/login_request.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/manage_object_privilege_request.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/metadata_association_item.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/metadata_context.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/metadata_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/metadata_list_item_input.rb +146 -0
- data/lib/thought_spot_public_rest_api/models/metadata_object.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/metadata_response.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/metadata_search_response.rb +186 -0
- data/lib/thought_spot_public_rest_api/models/metadata_search_sort_options.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type.rb +68 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type1.rb +64 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type2.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type3.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type4.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type5.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type6.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/metadata_type7.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/model_table_list.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/month_offset.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/month_offset1.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/nl_instructions_info.rb +80 -0
- data/lib/thought_spot_public_rest_api/models/nl_instructions_info_input.rb +80 -0
- data/lib/thought_spot_public_rest_api/models/number_format_locale.rb +136 -0
- data/lib/thought_spot_public_rest_api/models/object_id_and_name.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/object_privilege_type.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/object_privileges_metadata_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/object_privileges_of_metadata_response.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/operation.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/operation1.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation2.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/operation3.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/operation5.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation6.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/operation7.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/operator.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/operator1.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/order.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/order4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/order5.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/org.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/org_channel_config_input.rb +124 -0
- data/lib/thought_spot_public_rest_api/models/org_channel_config_response.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/org_details.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/org_info.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/org_non_embed_access.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/org_non_embed_access_input.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/org_preference_search_criteria_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/org_response.rb +121 -0
- data/lib/thought_spot_public_rest_api/models/org_type.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/page_orientation.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/page_size.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/parameter_values.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/parameterize_metadata_request.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/parameters_list_item.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/parameters_list_item_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/parent_type.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/parent_type1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/pdf_options.rb +179 -0
- data/lib/thought_spot_public_rest_api/models/pdf_options_input.rb +151 -0
- data/lib/thought_spot_public_rest_api/models/permission.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/permission2.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/permission_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/permission_of_metadata_response.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/permission_of_principals_response.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/permissions_metadata_type_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/persist_option.rb +45 -0
- data/lib/thought_spot_public_rest_api/models/png_options_input.rb +144 -0
- data/lib/thought_spot_public_rest_api/models/policy_process.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/policy_process_options.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/policy_process_options_input.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/policy_type.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/policy_type1.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/position.rb +41 -0
- data/lib/thought_spot_public_rest_api/models/preferred_locale.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/preferred_locale1.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/principal_type.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/principal_type1.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/principal_type2.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/principal_type3.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/principals_input.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/principals_list_item.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/principals_list_item_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/privilege.rb +236 -0
- data/lib/thought_spot_public_rest_api/models/privilege1.rb +160 -0
- data/lib/thought_spot_public_rest_api/models/privilege2.rb +188 -0
- data/lib/thought_spot_public_rest_api/models/privilege4.rb +200 -0
- data/lib/thought_spot_public_rest_api/models/privilege8.rb +180 -0
- data/lib/thought_spot_public_rest_api/models/publish_metadata_list_item.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/publish_metadata_request.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/put_variable_values_request.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/query_get_decomposed_query_request.rb +145 -0
- data/lib/thought_spot_public_rest_api/models/recipient_details.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/recipient_details_input.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/regional_settings_input.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/repo_config_object.rb +154 -0
- data/lib/thought_spot_public_rest_api/models/reset_event.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/reset_user_password_request.rb +83 -0
- data/lib/thought_spot_public_rest_api/models/response_activation_url.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/response_content.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/response_copy_object.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/response_custom_action.rb +148 -0
- data/lib/thought_spot_public_rest_api/models/response_failed_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_failed_entity.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/response_incomplete_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_incomplete_entity.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/response_message.rb +134 -0
- data/lib/thought_spot_public_rest_api/models/response_post_upgrade_failed_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_post_upgrade_failed_entity.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/response_schedule.rb +227 -0
- data/lib/thought_spot_public_rest_api/models/response_schedule_run.rb +115 -0
- data/lib/thought_spot_public_rest_api/models/response_successful_entities.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_successful_entity.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/response_worksheet_to_model_conversion.rb +174 -0
- data/lib/thought_spot_public_rest_api/models/result_code.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/revert_commit_request.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/revert_policy.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/revert_response.rb +172 -0
- data/lib/thought_spot_public_rest_api/models/reverted_metadata.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/revoke_refresh_tokens_request.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/revoke_refresh_tokens_response.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/revoke_token_request.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/rise_gql_arg_wrapper.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/rise_setter.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/role.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/role_response.rb +274 -0
- data/lib/thought_spot_public_rest_api/models/runtime_filter.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/runtime_filters.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/runtime_param_override.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/runtime_parameters.rb +116 -0
- data/lib/thought_spot_public_rest_api/models/runtime_sort.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/runtime_sorts.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/schedule_history_runs_options_input.rb +103 -0
- data/lib/thought_spot_public_rest_api/models/schedules_pdf_options_input.rb +179 -0
- data/lib/thought_spot_public_rest_api/models/schema_object.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/scope.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/scope1.rb +38 -0
- data/lib/thought_spot_public_rest_api/models/script_src_urls.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/script_src_urls_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/search_calendars_request.rb +118 -0
- data/lib/thought_spot_public_rest_api/models/search_channel_history_request.rb +139 -0
- data/lib/thought_spot_public_rest_api/models/search_channel_history_response.rb +81 -0
- data/lib/thought_spot_public_rest_api/models/search_collections_request.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/search_commits_request.rb +127 -0
- data/lib/thought_spot_public_rest_api/models/search_communication_channel_preferences_request.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/search_config_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/search_connection_request.rb +209 -0
- data/lib/thought_spot_public_rest_api/models/search_connection_response.rb +129 -0
- data/lib/thought_spot_public_rest_api/models/search_custom_actions_request.rb +166 -0
- data/lib/thought_spot_public_rest_api/models/search_data_request.rb +173 -0
- data/lib/thought_spot_public_rest_api/models/search_data_response.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/search_email_customization_request.rb +78 -0
- data/lib/thought_spot_public_rest_api/models/search_metadata_request.rb +446 -0
- data/lib/thought_spot_public_rest_api/models/search_orgs_request.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/search_role_response.rb +274 -0
- data/lib/thought_spot_public_rest_api/models/search_roles_request.rb +158 -0
- data/lib/thought_spot_public_rest_api/models/search_schedules_request.rb +139 -0
- data/lib/thought_spot_public_rest_api/models/search_security_settings_request.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/search_tags_request.rb +97 -0
- data/lib/thought_spot_public_rest_api/models/search_user_groups_request.rb +265 -0
- data/lib/thought_spot_public_rest_api/models/search_users_request.rb +327 -0
- data/lib/thought_spot_public_rest_api/models/search_variables_request.rb +135 -0
- data/lib/thought_spot_public_rest_api/models/search_webhook_configurations_request.rb +132 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_cluster_preferences.rb +131 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_cluster_preferences_input.rb +131 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_org_details.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_org_preferences.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_org_preferences_input.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/security_settings_response.rb +99 -0
- data/lib/thought_spot_public_rest_api/models/send_agent_message_request.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/send_agent_message_response.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/send_agent_message_streaming_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/send_message_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/set_nl_instructions_request.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/share_metadata_request.rb +207 -0
- data/lib/thought_spot_public_rest_api/models/share_metadata_type_input.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/share_mode.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/share_mode1.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/share_permissions_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/single_answer_request.rb +84 -0
- data/lib/thought_spot_public_rest_api/models/sort_option.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/sort_option_input.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/sort_options.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/sorting_options.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/sql_query.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/sql_query_response.rb +110 -0
- data/lib/thought_spot_public_rest_api/models/start_day_of_week.rb +56 -0
- data/lib/thought_spot_public_rest_api/models/start_day_of_week2.rb +56 -0
- data/lib/thought_spot_public_rest_api/models/status.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/status1.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/status2.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/status3.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/status4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/storage_config.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/storage_config_input.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/storage_destination.rb +80 -0
- data/lib/thought_spot_public_rest_api/models/storage_destination_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/storage_setup_info.rb +175 -0
- data/lib/thought_spot_public_rest_api/models/subtype.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/system_config.rb +102 -0
- data/lib/thought_spot_public_rest_api/models/system_info.rb +344 -0
- data/lib/thought_spot_public_rest_api/models/system_override_info.rb +79 -0
- data/lib/thought_spot_public_rest_api/models/table.rb +150 -0
- data/lib/thought_spot_public_rest_api/models/tag.rb +202 -0
- data/lib/thought_spot_public_rest_api/models/tag_metadata_type_input.rb +94 -0
- data/lib/thought_spot_public_rest_api/models/task_status.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/task_status1.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/template_properties_input_create.rb +440 -0
- data/lib/thought_spot_public_rest_api/models/time_zone.rb +2548 -0
- data/lib/thought_spot_public_rest_api/models/token.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/token_access_scope_object.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/token_validation_response.rb +114 -0
- data/lib/thought_spot_public_rest_api/models/type.rb +66 -0
- data/lib/thought_spot_public_rest_api/models/type1.rb +38 -0
- data/lib/thought_spot_public_rest_api/models/type10.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/type11.rb +28 -0
- data/lib/thought_spot_public_rest_api/models/type13.rb +52 -0
- data/lib/thought_spot_public_rest_api/models/type15.rb +60 -0
- data/lib/thought_spot_public_rest_api/models/type16.rb +60 -0
- data/lib/thought_spot_public_rest_api/models/type17.rb +66 -0
- data/lib/thought_spot_public_rest_api/models/type18.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/type19.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/type2.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type20.rb +46 -0
- data/lib/thought_spot_public_rest_api/models/type21.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/type22.rb +46 -0
- data/lib/thought_spot_public_rest_api/models/type23.rb +26 -0
- data/lib/thought_spot_public_rest_api/models/type24.rb +42 -0
- data/lib/thought_spot_public_rest_api/models/type26.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/type27.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type28.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/type29.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type3.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/type31.rb +44 -0
- data/lib/thought_spot_public_rest_api/models/type32.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/type4.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/type5.rb +76 -0
- data/lib/thought_spot_public_rest_api/models/type6.rb +28 -0
- data/lib/thought_spot_public_rest_api/models/type7.rb +50 -0
- data/lib/thought_spot_public_rest_api/models/type8.rb +42 -0
- data/lib/thought_spot_public_rest_api/models/type9.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/unassign_tag_request.rb +92 -0
- data/lib/thought_spot_public_rest_api/models/unparameterize_metadata_request.rb +113 -0
- data/lib/thought_spot_public_rest_api/models/unpublish_metadata_request.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/update_calendar_request.rb +173 -0
- data/lib/thought_spot_public_rest_api/models/update_collection_request.rb +114 -0
- data/lib/thought_spot_public_rest_api/models/update_column_security_rules_request.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/update_config_request.rb +161 -0
- data/lib/thought_spot_public_rest_api/models/update_connection_configuration_request.rb +200 -0
- data/lib/thought_spot_public_rest_api/models/update_connection_request.rb +120 -0
- data/lib/thought_spot_public_rest_api/models/update_connection_v2_request.rb +109 -0
- data/lib/thought_spot_public_rest_api/models/update_custom_action_request.rb +144 -0
- data/lib/thought_spot_public_rest_api/models/update_email_customization_request.rb +87 -0
- data/lib/thought_spot_public_rest_api/models/update_metadata_header_request.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/update_metadata_obj_id_request.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/update_method.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/update_obj_id_input.rb +111 -0
- data/lib/thought_spot_public_rest_api/models/update_org_request.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/update_role_request.rb +96 -0
- data/lib/thought_spot_public_rest_api/models/update_schedule_request.rb +194 -0
- data/lib/thought_spot_public_rest_api/models/update_system_config_request.rb +75 -0
- data/lib/thought_spot_public_rest_api/models/update_tag_request.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/update_user_group_request.rb +191 -0
- data/lib/thought_spot_public_rest_api/models/update_user_request.rb +305 -0
- data/lib/thought_spot_public_rest_api/models/update_variable_request.rb +72 -0
- data/lib/thought_spot_public_rest_api/models/update_variable_values_request.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/update_webhook_configuration_request.rb +178 -0
- data/lib/thought_spot_public_rest_api/models/url.rb +117 -0
- data/lib/thought_spot_public_rest_api/models/url_input.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/url_input_mandatory.rb +117 -0
- data/lib/thought_spot_public_rest_api/models/user.rb +684 -0
- data/lib/thought_spot_public_rest_api/models/user_group.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/user_group_response.rb +455 -0
- data/lib/thought_spot_public_rest_api/models/user_info.rb +86 -0
- data/lib/thought_spot_public_rest_api/models/user_locale.rb +136 -0
- data/lib/thought_spot_public_rest_api/models/user_object.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/user_parameter_options.rb +163 -0
- data/lib/thought_spot_public_rest_api/models/user_principal.rb +98 -0
- data/lib/thought_spot_public_rest_api/models/validate_communication_channel_request.rb +88 -0
- data/lib/thought_spot_public_rest_api/models/validate_merge_request.rb +85 -0
- data/lib/thought_spot_public_rest_api/models/validate_token_request.rb +73 -0
- data/lib/thought_spot_public_rest_api/models/validation_step.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/value_scope_input.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/variable.rb +125 -0
- data/lib/thought_spot_public_rest_api/models/variable_detail_input.rb +100 -0
- data/lib/thought_spot_public_rest_api/models/variable_put_assignment_input.rb +138 -0
- data/lib/thought_spot_public_rest_api/models/variable_type.rb +48 -0
- data/lib/thought_spot_public_rest_api/models/variable_update_assignment_input.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/variable_update_scope_input.rb +130 -0
- data/lib/thought_spot_public_rest_api/models/variable_value.rb +151 -0
- data/lib/thought_spot_public_rest_api/models/variable_values.rb +106 -0
- data/lib/thought_spot_public_rest_api/models/visibility.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility1.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/visibility10.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/visibility2.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility3.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility5.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility7.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visibility8.rb +36 -0
- data/lib/thought_spot_public_rest_api/models/visibility9.rb +37 -0
- data/lib/thought_spot_public_rest_api/models/visualization_type.rb +40 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_api_key.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_api_key_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_basic_auth.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_basic_auth_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_oauth_2.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/webhook_auth_oauth_2_input.rb +93 -0
- data/lib/thought_spot_public_rest_api/models/webhook_authentication.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/webhook_authentication_input.rb +107 -0
- data/lib/thought_spot_public_rest_api/models/webhook_delete_failure.rb +90 -0
- data/lib/thought_spot_public_rest_api/models/webhook_delete_response.rb +119 -0
- data/lib/thought_spot_public_rest_api/models/webhook_key_value_pair.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_key_value_pair_input.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_org.rb +82 -0
- data/lib/thought_spot_public_rest_api/models/webhook_pagination.rb +101 -0
- data/lib/thought_spot_public_rest_api/models/webhook_response.rb +234 -0
- data/lib/thought_spot_public_rest_api/models/webhook_search_response.rb +91 -0
- data/lib/thought_spot_public_rest_api/models/webhook_signature_verification.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/webhook_signature_verification_input.rb +95 -0
- data/lib/thought_spot_public_rest_api/models/webhook_sort_options_input.rb +89 -0
- data/lib/thought_spot_public_rest_api/models/webhook_user.rb +82 -0
- data/lib/thought_spot_public_rest_api/utilities/date_time_helper.rb +11 -0
- data/lib/thought_spot_public_rest_api/utilities/file_wrapper.rb +28 -0
- data/lib/thought_spot_public_rest_api/utilities/union_type_lookup.rb +67 -0
- data/lib/thought_spot_public_rest_api.rb +801 -0
- metadata +695 -0
|
@@ -0,0 +1,401 @@
|
|
|
1
|
+
# thought_spot_public_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ThoughtSpotPublicRestApi
|
|
7
|
+
# SystemController
|
|
8
|
+
class SystemController < BaseController
|
|
9
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
10
|
+
# class="since-beta-tag">Version: 10.14.0.cl or later</span>
|
|
11
|
+
# Configure communication channel preferences.
|
|
12
|
+
# - Use `cluster_preferences` to update the default preferences for your
|
|
13
|
+
# ThoughtSpot application instance.
|
|
14
|
+
# - If your instance has
|
|
15
|
+
# [Orgs](https://docs.thoughtspot.com/cloud/latest/orgs-overview), use
|
|
16
|
+
# `org_preferences` to specify Org-specific preferences that override the
|
|
17
|
+
# defaults.
|
|
18
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) or `DEVELOPER`
|
|
19
|
+
# (**Has developer privilege**) privilege. If [Role-Based Access Control
|
|
20
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
21
|
+
# instance, users with `APPLICATION_ADMINISTRATION` (**Can manage
|
|
22
|
+
# application settings**) privilege are also authorized to perform this
|
|
23
|
+
# action.
|
|
24
|
+
# #### Endpoint URL
|
|
25
|
+
# @param [ConfigureCommunicationChannelPreferencesRequest] body Required
|
|
26
|
+
# parameter: TODO: type description here
|
|
27
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
28
|
+
def configure_communication_channel_preferences(body)
|
|
29
|
+
@api_call
|
|
30
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
31
|
+
'/api/rest/2.0/system/preferences/communication-channels/configure',
|
|
32
|
+
Server::DEFAULT)
|
|
33
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
34
|
+
.body_param(new_parameter(body)
|
|
35
|
+
.is_required(true))
|
|
36
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
37
|
+
.auth(Single.new('bearerAuth')))
|
|
38
|
+
.response(new_response_handler
|
|
39
|
+
.is_response_void(true)
|
|
40
|
+
.is_api_response(true)
|
|
41
|
+
.local_error('400',
|
|
42
|
+
'Invalid request.',
|
|
43
|
+
ErrorResponseException)
|
|
44
|
+
.local_error('401',
|
|
45
|
+
'Unauthorized access.',
|
|
46
|
+
ErrorResponseException)
|
|
47
|
+
.local_error('403',
|
|
48
|
+
'Forbidden access.',
|
|
49
|
+
ErrorResponseException)
|
|
50
|
+
.local_error('500',
|
|
51
|
+
'Unexpected error',
|
|
52
|
+
ErrorResponseException))
|
|
53
|
+
.execute
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
# <span class="since-beta-tag">Version: 26.2.0.cl or later</span>
|
|
57
|
+
# Configure security settings for your ThoughtSpot application instance.
|
|
58
|
+
# - Use `cluster_preferences` to update cluster-level security settings
|
|
59
|
+
# including CORS whitelisted URLs, CSP settings, SAML redirect URLs,
|
|
60
|
+
# partitioned cookies, and non-embed access configuration.
|
|
61
|
+
# - Use `org_preferences` to configure Org-specific security settings. If
|
|
62
|
+
# your instance has
|
|
63
|
+
# [Orgs](https://docs.thoughtspot.com/cloud/latest/orgs-overview), this
|
|
64
|
+
# allows configuring CORS and non-embed access settings specific to the Org.
|
|
65
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) or `DEVELOPER`
|
|
66
|
+
# (**Has developer privilege**) privilege. Cluster-level SAML and script-src
|
|
67
|
+
# settings require `ADMINISTRATION` privilege.
|
|
68
|
+
# See [Security
|
|
69
|
+
# Settings](https://developers.thoughtspot.com/docs/security-settings) for
|
|
70
|
+
# more details.
|
|
71
|
+
# #### Endpoint URL
|
|
72
|
+
# @param [ConfigureSecuritySettingsRequest] body Required parameter: TODO:
|
|
73
|
+
# type description here
|
|
74
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
75
|
+
def configure_security_settings(body)
|
|
76
|
+
@api_call
|
|
77
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
78
|
+
'/api/rest/2.0/system/security-settings/configure',
|
|
79
|
+
Server::DEFAULT)
|
|
80
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
81
|
+
.body_param(new_parameter(body)
|
|
82
|
+
.is_required(true))
|
|
83
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
84
|
+
.auth(Single.new('bearerAuth')))
|
|
85
|
+
.response(new_response_handler
|
|
86
|
+
.is_response_void(true)
|
|
87
|
+
.is_api_response(true)
|
|
88
|
+
.local_error('400',
|
|
89
|
+
'Invalid request.',
|
|
90
|
+
ErrorResponseException)
|
|
91
|
+
.local_error('401',
|
|
92
|
+
'Unauthorized access.',
|
|
93
|
+
ErrorResponseException)
|
|
94
|
+
.local_error('403',
|
|
95
|
+
'Forbidden access.',
|
|
96
|
+
ErrorResponseException)
|
|
97
|
+
.local_error('500',
|
|
98
|
+
'Unexpected error',
|
|
99
|
+
ErrorResponseException))
|
|
100
|
+
.execute
|
|
101
|
+
end
|
|
102
|
+
|
|
103
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
104
|
+
# Retrieves the current configuration details of the cluster. If the request
|
|
105
|
+
# is successful, the API returns a list configuration settings applied on
|
|
106
|
+
# the cluster.
|
|
107
|
+
# Requires `ADMINISTRATION`(**Can administer ThoughtSpot**) privilege to
|
|
108
|
+
# view these complete configuration settings of the cluster.
|
|
109
|
+
# If [Role-Based Access Control
|
|
110
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
111
|
+
# instance, the `SYSTEM_INFO_ADMINISTRATION` (**Can view system
|
|
112
|
+
# activities**) privilege is required.
|
|
113
|
+
# This API does not require any parameters to be passed in the request.
|
|
114
|
+
# #### Endpoint URL
|
|
115
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
116
|
+
def get_system_config
|
|
117
|
+
@api_call
|
|
118
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
119
|
+
'/api/rest/2.0/system/config',
|
|
120
|
+
Server::DEFAULT)
|
|
121
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
122
|
+
.auth(Single.new('bearerAuth')))
|
|
123
|
+
.response(new_response_handler
|
|
124
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
125
|
+
.deserialize_into(SystemConfig.method(:from_hash))
|
|
126
|
+
.is_api_response(true)
|
|
127
|
+
.local_error('400',
|
|
128
|
+
'Invalid request.',
|
|
129
|
+
ErrorResponseException)
|
|
130
|
+
.local_error('401',
|
|
131
|
+
'Unauthorized access.',
|
|
132
|
+
ErrorResponseException)
|
|
133
|
+
.local_error('403',
|
|
134
|
+
'Forbidden access.',
|
|
135
|
+
ErrorResponseException)
|
|
136
|
+
.local_error('500',
|
|
137
|
+
'Unexpected error',
|
|
138
|
+
ErrorResponseException))
|
|
139
|
+
.execute
|
|
140
|
+
end
|
|
141
|
+
|
|
142
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
143
|
+
# Gets system information such as the release version, locale, time zone,
|
|
144
|
+
# deployment environment, date format, and date time format of the cluster.
|
|
145
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privileges.
|
|
146
|
+
# If [Role-Based Access Control
|
|
147
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
148
|
+
# instance, the `SYSTEM_INFO_ADMINISTRATION` (**Can view system
|
|
149
|
+
# activities**) privilege is required.
|
|
150
|
+
# This API does not require any parameters to be passed in the request.
|
|
151
|
+
# #### Endpoint URL
|
|
152
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
153
|
+
def get_system_information
|
|
154
|
+
@api_call
|
|
155
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
156
|
+
'/api/rest/2.0/system',
|
|
157
|
+
Server::DEFAULT)
|
|
158
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
159
|
+
.auth(Single.new('bearerAuth')))
|
|
160
|
+
.response(new_response_handler
|
|
161
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
162
|
+
.deserialize_into(SystemInfo.method(:from_hash))
|
|
163
|
+
.is_api_response(true)
|
|
164
|
+
.local_error('400',
|
|
165
|
+
'Invalid request.',
|
|
166
|
+
ErrorResponseException)
|
|
167
|
+
.local_error('401',
|
|
168
|
+
'Unauthorized access.',
|
|
169
|
+
ErrorResponseException)
|
|
170
|
+
.local_error('403',
|
|
171
|
+
'Forbidden access.',
|
|
172
|
+
ErrorResponseException)
|
|
173
|
+
.local_error('500',
|
|
174
|
+
'Unexpected error',
|
|
175
|
+
ErrorResponseException))
|
|
176
|
+
.execute
|
|
177
|
+
end
|
|
178
|
+
|
|
179
|
+
# <span class="since-beta-tag">Version: 9.2.0.cl or later</span>
|
|
180
|
+
# Gets a list of configuration overrides applied on the cluster.
|
|
181
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
182
|
+
# If [Role-Based Access Control
|
|
183
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
184
|
+
# instance, the `APPLICATION_ADMINISTRATION` (**Can manage application
|
|
185
|
+
# settings**) privilege is required.
|
|
186
|
+
# This API does not require any parameters to be passed in the request.
|
|
187
|
+
# #### Endpoint URL
|
|
188
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
189
|
+
def get_system_override_info
|
|
190
|
+
@api_call
|
|
191
|
+
.request(new_request_builder(HttpMethodEnum::GET,
|
|
192
|
+
'/api/rest/2.0/system/config-overrides',
|
|
193
|
+
Server::DEFAULT)
|
|
194
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
195
|
+
.auth(Single.new('bearerAuth')))
|
|
196
|
+
.response(new_response_handler
|
|
197
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
198
|
+
.deserialize_into(SystemOverrideInfo.method(:from_hash))
|
|
199
|
+
.is_api_response(true)
|
|
200
|
+
.local_error('400',
|
|
201
|
+
'Invalid request.',
|
|
202
|
+
ErrorResponseException)
|
|
203
|
+
.local_error('401',
|
|
204
|
+
'Unauthorized access.',
|
|
205
|
+
ErrorResponseException)
|
|
206
|
+
.local_error('403',
|
|
207
|
+
'Forbidden access.',
|
|
208
|
+
ErrorResponseException)
|
|
209
|
+
.local_error('500',
|
|
210
|
+
'Unexpected error',
|
|
211
|
+
ErrorResponseException))
|
|
212
|
+
.execute
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
216
|
+
# class="since-beta-tag">Version: 10.14.0.cl or later</span>
|
|
217
|
+
# Fetch communication channel preferences.
|
|
218
|
+
# - Use `cluster_preferences` to fetch the default preferences for your
|
|
219
|
+
# ThoughtSpot application instance.
|
|
220
|
+
# - If your instance has
|
|
221
|
+
# [Orgs](https://docs.thoughtspot.com/cloud/latest/orgs-overview), use
|
|
222
|
+
# `org_preferences` to fetch any Org-specific preferences that override the
|
|
223
|
+
# defaults.
|
|
224
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) or `DEVELOPER`
|
|
225
|
+
# (**Has developer privilege**) privilege. If [Role-Based Access Control
|
|
226
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
227
|
+
# instance, users with `APPLICATION_ADMINISTRATION` (**Can manage
|
|
228
|
+
# application settings**) privilege are also authorized to perform this
|
|
229
|
+
# action.
|
|
230
|
+
# #### Endpoint URL
|
|
231
|
+
# @param [SearchCommunicationChannelPreferencesRequest] body Required
|
|
232
|
+
# parameter: TODO: type description here
|
|
233
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
234
|
+
def search_communication_channel_preferences(body)
|
|
235
|
+
@api_call
|
|
236
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
237
|
+
'/api/rest/2.0/system/preferences/communication-channels/search',
|
|
238
|
+
Server::DEFAULT)
|
|
239
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
240
|
+
.body_param(new_parameter(body)
|
|
241
|
+
.is_required(true))
|
|
242
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
243
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
244
|
+
.auth(Single.new('bearerAuth')))
|
|
245
|
+
.response(new_response_handler
|
|
246
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
247
|
+
.deserialize_into(CommunicationChannelPreferencesResponse.method(:from_hash))
|
|
248
|
+
.is_api_response(true)
|
|
249
|
+
.local_error('400',
|
|
250
|
+
'Invalid request.',
|
|
251
|
+
ErrorResponseException)
|
|
252
|
+
.local_error('401',
|
|
253
|
+
'Unauthorized access.',
|
|
254
|
+
ErrorResponseException)
|
|
255
|
+
.local_error('403',
|
|
256
|
+
'Forbidden access.',
|
|
257
|
+
ErrorResponseException)
|
|
258
|
+
.local_error('500',
|
|
259
|
+
'Unexpected error',
|
|
260
|
+
ErrorResponseException))
|
|
261
|
+
.execute
|
|
262
|
+
end
|
|
263
|
+
|
|
264
|
+
# <span class="since-beta-tag">Version: 26.2.0.cl or later</span>
|
|
265
|
+
# Fetch security settings for your ThoughtSpot application instance.
|
|
266
|
+
# - Use `scope: CLUSTER` to retrieve cluster-level security settings,
|
|
267
|
+
# including CORS and CSP allowlists, SAML redirect URLs, and settings that
|
|
268
|
+
# control access to non-embedded pages.
|
|
269
|
+
# - Use `scope: ORG` to retrieve Org-level security settings. If your
|
|
270
|
+
# instance has
|
|
271
|
+
# [Orgs](https://docs.thoughtspot.com/cloud/latest/orgs-overview), this
|
|
272
|
+
# returns CORS and non-embed access settings specific to the Org.
|
|
273
|
+
# - If `scope` is not specified, returns both cluster and Org-specific
|
|
274
|
+
# settings based on user privileges.
|
|
275
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) or `DEVELOPER`
|
|
276
|
+
# (**Has developer privilege**) privilege.
|
|
277
|
+
# See [Security
|
|
278
|
+
# Settings](https://developers.thoughtspot.com/docs/security-settings) for
|
|
279
|
+
# more details.
|
|
280
|
+
# #### Endpoint URL
|
|
281
|
+
# @param [SearchSecuritySettingsRequest] body Required parameter: TODO: type
|
|
282
|
+
# description here
|
|
283
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
284
|
+
def search_security_settings(body)
|
|
285
|
+
@api_call
|
|
286
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
287
|
+
'/api/rest/2.0/system/security-settings/search',
|
|
288
|
+
Server::DEFAULT)
|
|
289
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
290
|
+
.body_param(new_parameter(body)
|
|
291
|
+
.is_required(true))
|
|
292
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
293
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
294
|
+
.auth(Single.new('bearerAuth')))
|
|
295
|
+
.response(new_response_handler
|
|
296
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
297
|
+
.deserialize_into(SecuritySettingsResponse.method(:from_hash))
|
|
298
|
+
.is_api_response(true)
|
|
299
|
+
.local_error('400',
|
|
300
|
+
'Invalid request.',
|
|
301
|
+
ErrorResponseException)
|
|
302
|
+
.local_error('401',
|
|
303
|
+
'Unauthorized access.',
|
|
304
|
+
ErrorResponseException)
|
|
305
|
+
.local_error('403',
|
|
306
|
+
'Forbidden access.',
|
|
307
|
+
ErrorResponseException)
|
|
308
|
+
.local_error('500',
|
|
309
|
+
'Unexpected error',
|
|
310
|
+
ErrorResponseException))
|
|
311
|
+
.execute
|
|
312
|
+
end
|
|
313
|
+
|
|
314
|
+
# <span class="since-beta-tag">Version: 9.2.0.cl or later</span>
|
|
315
|
+
# Updates the current configuration of the cluster. You must send the
|
|
316
|
+
# configuration data in JSON format.
|
|
317
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privileges.
|
|
318
|
+
# If [Role-Based Access Control
|
|
319
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
320
|
+
# instance, the `APPLICATION_ADMINISTRATION` (**Can manage application
|
|
321
|
+
# settings**) privilege is required.
|
|
322
|
+
# #### Endpoint URL
|
|
323
|
+
# @param [UpdateSystemConfigRequest] body Required parameter: TODO: type
|
|
324
|
+
# description here
|
|
325
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
326
|
+
def update_system_config(body)
|
|
327
|
+
@api_call
|
|
328
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
329
|
+
'/api/rest/2.0/system/config-update',
|
|
330
|
+
Server::DEFAULT)
|
|
331
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
332
|
+
.body_param(new_parameter(body)
|
|
333
|
+
.is_required(true))
|
|
334
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
335
|
+
.auth(Single.new('bearerAuth')))
|
|
336
|
+
.response(new_response_handler
|
|
337
|
+
.is_response_void(true)
|
|
338
|
+
.is_api_response(true)
|
|
339
|
+
.local_error('400',
|
|
340
|
+
'Invalid request.',
|
|
341
|
+
ErrorResponseException)
|
|
342
|
+
.local_error('401',
|
|
343
|
+
'Unauthorized access.',
|
|
344
|
+
ErrorResponseException)
|
|
345
|
+
.local_error('403',
|
|
346
|
+
'Forbidden access.',
|
|
347
|
+
ErrorResponseException)
|
|
348
|
+
.local_error('500',
|
|
349
|
+
'Unexpected error',
|
|
350
|
+
ErrorResponseException))
|
|
351
|
+
.execute
|
|
352
|
+
end
|
|
353
|
+
|
|
354
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
355
|
+
# class="since-beta-tag">Version: 26.4.0.cl or later</span>
|
|
356
|
+
# Validates a communication channel configuration to ensure it is properly
|
|
357
|
+
# set up and can receive events.
|
|
358
|
+
# - Use `channel_type` to specify the type of communication channel to
|
|
359
|
+
# validate (e.g., WEBHOOK).
|
|
360
|
+
# - Use `channel_identifier` to provide the unique identifier or name for
|
|
361
|
+
# the communication channel.
|
|
362
|
+
# - Use `event_type` to specify the event type to validate for this channel.
|
|
363
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) or `DEVELOPER`
|
|
364
|
+
# (**Has developer privilege**) privilege. For webhook channels, users with
|
|
365
|
+
# `CAN_MANAGE_WEBHOOKS` (**Can manage webhooks**) privilege are also
|
|
366
|
+
# authorized to perform this action.
|
|
367
|
+
# #### Endpoint URL
|
|
368
|
+
# @param [ValidateCommunicationChannelRequest] body Required parameter:
|
|
369
|
+
# TODO: type description here
|
|
370
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
371
|
+
def validate_communication_channel(body)
|
|
372
|
+
@api_call
|
|
373
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
374
|
+
'/api/rest/2.0/system/communication-channels/validate',
|
|
375
|
+
Server::DEFAULT)
|
|
376
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
377
|
+
.body_param(new_parameter(body)
|
|
378
|
+
.is_required(true))
|
|
379
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
380
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
381
|
+
.auth(Single.new('bearerAuth')))
|
|
382
|
+
.response(new_response_handler
|
|
383
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
384
|
+
.deserialize_into(CommunicationChannelValidateResponse.method(:from_hash))
|
|
385
|
+
.is_api_response(true)
|
|
386
|
+
.local_error('400',
|
|
387
|
+
'Invalid request.',
|
|
388
|
+
ErrorResponseException)
|
|
389
|
+
.local_error('401',
|
|
390
|
+
'Unauthorized access.',
|
|
391
|
+
ErrorResponseException)
|
|
392
|
+
.local_error('403',
|
|
393
|
+
'Forbidden access.',
|
|
394
|
+
ErrorResponseException)
|
|
395
|
+
.local_error('500',
|
|
396
|
+
'Unexpected error',
|
|
397
|
+
ErrorResponseException))
|
|
398
|
+
.execute
|
|
399
|
+
end
|
|
400
|
+
end
|
|
401
|
+
end
|
|
@@ -0,0 +1,246 @@
|
|
|
1
|
+
# thought_spot_public_rest_api
|
|
2
|
+
#
|
|
3
|
+
# This file was automatically generated by
|
|
4
|
+
# APIMATIC v3.0 ( https://www.apimatic.io ).
|
|
5
|
+
|
|
6
|
+
module ThoughtSpotPublicRestApi
|
|
7
|
+
# TagsController
|
|
8
|
+
class TagsController < BaseController
|
|
9
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
10
|
+
# Assigns tags to Liveboards, Answers, Tables, and Worksheets.
|
|
11
|
+
# Requires edit access to the metadata object.
|
|
12
|
+
# #### Endpoint URL
|
|
13
|
+
# @param [AssignTagRequest] body Required parameter: TODO: type description
|
|
14
|
+
# here
|
|
15
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
16
|
+
def assign_tag(body)
|
|
17
|
+
@api_call
|
|
18
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
19
|
+
'/api/rest/2.0/tags/assign',
|
|
20
|
+
Server::DEFAULT)
|
|
21
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
22
|
+
.body_param(new_parameter(body)
|
|
23
|
+
.is_required(true))
|
|
24
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
25
|
+
.auth(Single.new('bearerAuth')))
|
|
26
|
+
.response(new_response_handler
|
|
27
|
+
.is_response_void(true)
|
|
28
|
+
.is_api_response(true)
|
|
29
|
+
.local_error('400',
|
|
30
|
+
'Invalid request.',
|
|
31
|
+
ErrorResponseException)
|
|
32
|
+
.local_error('401',
|
|
33
|
+
'Unauthorized access.',
|
|
34
|
+
ErrorResponseException)
|
|
35
|
+
.local_error('403',
|
|
36
|
+
'Forbidden access.',
|
|
37
|
+
ErrorResponseException)
|
|
38
|
+
.local_error('500',
|
|
39
|
+
'Unexpected error',
|
|
40
|
+
ErrorResponseException))
|
|
41
|
+
.execute
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
45
|
+
# Creates a tag object.
|
|
46
|
+
# Tags are labels that identify a metadata object. For example, you can
|
|
47
|
+
# create a tag to designate subject areas, such as sales, HR, marketing, and
|
|
48
|
+
# finance.
|
|
49
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
50
|
+
# If [Role-Based Access Control
|
|
51
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
52
|
+
# instance, the `TAGMANAGEMENT` (**Can manage tags**) privilege is required
|
|
53
|
+
# to create, edit, and delete tags.
|
|
54
|
+
# #### Endpoint URL
|
|
55
|
+
# @param [CreateTagRequest] body Required parameter: TODO: type description
|
|
56
|
+
# here
|
|
57
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
58
|
+
def create_tag(body)
|
|
59
|
+
@api_call
|
|
60
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
61
|
+
'/api/rest/2.0/tags/create',
|
|
62
|
+
Server::DEFAULT)
|
|
63
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
64
|
+
.body_param(new_parameter(body)
|
|
65
|
+
.is_required(true))
|
|
66
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
67
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
68
|
+
.auth(Single.new('bearerAuth')))
|
|
69
|
+
.response(new_response_handler
|
|
70
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
71
|
+
.deserialize_into(Tag.method(:from_hash))
|
|
72
|
+
.is_api_response(true)
|
|
73
|
+
.local_error('400',
|
|
74
|
+
'Invalid request.',
|
|
75
|
+
ErrorResponseException)
|
|
76
|
+
.local_error('401',
|
|
77
|
+
'Unauthorized access.',
|
|
78
|
+
ErrorResponseException)
|
|
79
|
+
.local_error('403',
|
|
80
|
+
'Forbidden access.',
|
|
81
|
+
ErrorResponseException)
|
|
82
|
+
.local_error('500',
|
|
83
|
+
'Unexpected error',
|
|
84
|
+
ErrorResponseException))
|
|
85
|
+
.execute
|
|
86
|
+
end
|
|
87
|
+
|
|
88
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
89
|
+
# Deletes a tag object from the ThoughtSpot system
|
|
90
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
91
|
+
# If [Role-Based Access Control
|
|
92
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
93
|
+
# instance, the `TAGMANAGEMENT` (**Can manage tags**) privilege is required
|
|
94
|
+
# to create, edit, and delete tags.
|
|
95
|
+
# #### Endpoint URL
|
|
96
|
+
# @param [String] tag_identifier Required parameter: Tag identifier Tag name
|
|
97
|
+
# or Tag id.
|
|
98
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
99
|
+
def delete_tag(tag_identifier)
|
|
100
|
+
@api_call
|
|
101
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
102
|
+
'/api/rest/2.0/tags/{tag_identifier}/delete',
|
|
103
|
+
Server::DEFAULT)
|
|
104
|
+
.template_param(new_parameter(tag_identifier, key: 'tag_identifier')
|
|
105
|
+
.is_required(true)
|
|
106
|
+
.should_encode(true))
|
|
107
|
+
.auth(Single.new('bearerAuth')))
|
|
108
|
+
.response(new_response_handler
|
|
109
|
+
.is_response_void(true)
|
|
110
|
+
.is_api_response(true)
|
|
111
|
+
.local_error('400',
|
|
112
|
+
'Invalid request.',
|
|
113
|
+
ErrorResponseException)
|
|
114
|
+
.local_error('401',
|
|
115
|
+
'Unauthorized access.',
|
|
116
|
+
ErrorResponseException)
|
|
117
|
+
.local_error('403',
|
|
118
|
+
'Forbidden access.',
|
|
119
|
+
ErrorResponseException)
|
|
120
|
+
.local_error('500',
|
|
121
|
+
'Unexpected error',
|
|
122
|
+
ErrorResponseException))
|
|
123
|
+
.execute
|
|
124
|
+
end
|
|
125
|
+
|
|
126
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
127
|
+
# Gets a list of tag objects available on the ThoughtSpot system. To get
|
|
128
|
+
# details of a specific tag object, specify the GUID or name.
|
|
129
|
+
# Any authenticated user can search for tag objects.
|
|
130
|
+
# #### Endpoint URL
|
|
131
|
+
# @param [SearchTagsRequest] body Required parameter: TODO: type description
|
|
132
|
+
# here
|
|
133
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
134
|
+
def search_tags(body)
|
|
135
|
+
@api_call
|
|
136
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
137
|
+
'/api/rest/2.0/tags/search',
|
|
138
|
+
Server::DEFAULT)
|
|
139
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
140
|
+
.body_param(new_parameter(body)
|
|
141
|
+
.is_required(true))
|
|
142
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
143
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
144
|
+
.auth(Single.new('bearerAuth')))
|
|
145
|
+
.response(new_response_handler
|
|
146
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
147
|
+
.deserialize_into(Tag.method(:from_hash))
|
|
148
|
+
.is_api_response(true)
|
|
149
|
+
.is_response_array(true)
|
|
150
|
+
.local_error('400',
|
|
151
|
+
'Invalid request.',
|
|
152
|
+
ErrorResponseException)
|
|
153
|
+
.local_error('401',
|
|
154
|
+
'Unauthorized access.',
|
|
155
|
+
ErrorResponseException)
|
|
156
|
+
.local_error('403',
|
|
157
|
+
'Forbidden access.',
|
|
158
|
+
ErrorResponseException)
|
|
159
|
+
.local_error('500',
|
|
160
|
+
'Unexpected error',
|
|
161
|
+
ErrorResponseException))
|
|
162
|
+
.execute
|
|
163
|
+
end
|
|
164
|
+
|
|
165
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
166
|
+
# Removes the tags applied to a Liveboard, Answer, Table, or Worksheet.
|
|
167
|
+
# Requires edit access to the metadata object.
|
|
168
|
+
# #### Endpoint URL
|
|
169
|
+
# @param [UnassignTagRequest] body Required parameter: TODO: type
|
|
170
|
+
# description here
|
|
171
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
172
|
+
def unassign_tag(body)
|
|
173
|
+
@api_call
|
|
174
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
175
|
+
'/api/rest/2.0/tags/unassign',
|
|
176
|
+
Server::DEFAULT)
|
|
177
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
178
|
+
.body_param(new_parameter(body)
|
|
179
|
+
.is_required(true))
|
|
180
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
181
|
+
.auth(Single.new('bearerAuth')))
|
|
182
|
+
.response(new_response_handler
|
|
183
|
+
.is_response_void(true)
|
|
184
|
+
.is_api_response(true)
|
|
185
|
+
.local_error('400',
|
|
186
|
+
'Invalid request.',
|
|
187
|
+
ErrorResponseException)
|
|
188
|
+
.local_error('401',
|
|
189
|
+
'Unauthorized access.',
|
|
190
|
+
ErrorResponseException)
|
|
191
|
+
.local_error('403',
|
|
192
|
+
'Forbidden access.',
|
|
193
|
+
ErrorResponseException)
|
|
194
|
+
.local_error('500',
|
|
195
|
+
'Unexpected error',
|
|
196
|
+
ErrorResponseException))
|
|
197
|
+
.execute
|
|
198
|
+
end
|
|
199
|
+
|
|
200
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
201
|
+
# Updates a tag object.
|
|
202
|
+
# You can modify the `name` and `color` properties of a tag object.
|
|
203
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
204
|
+
# If [Role-Based Access Control
|
|
205
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
206
|
+
# instance, the `TAGMANAGEMENT` (**Can manage tags**) privilege is required
|
|
207
|
+
# to create, edit, and delete tags.
|
|
208
|
+
# #### Endpoint URL
|
|
209
|
+
# @param [String] tag_identifier Required parameter: Name or Id of the
|
|
210
|
+
# tag.
|
|
211
|
+
# @param [UpdateTagRequest] body Required parameter: TODO: type description
|
|
212
|
+
# here
|
|
213
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
214
|
+
def update_tag(tag_identifier,
|
|
215
|
+
body)
|
|
216
|
+
@api_call
|
|
217
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
218
|
+
'/api/rest/2.0/tags/{tag_identifier}/update',
|
|
219
|
+
Server::DEFAULT)
|
|
220
|
+
.template_param(new_parameter(tag_identifier, key: 'tag_identifier')
|
|
221
|
+
.is_required(true)
|
|
222
|
+
.should_encode(true))
|
|
223
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
224
|
+
.body_param(new_parameter(body)
|
|
225
|
+
.is_required(true))
|
|
226
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
227
|
+
.auth(Single.new('bearerAuth')))
|
|
228
|
+
.response(new_response_handler
|
|
229
|
+
.is_response_void(true)
|
|
230
|
+
.is_api_response(true)
|
|
231
|
+
.local_error('400',
|
|
232
|
+
'Invalid request.',
|
|
233
|
+
ErrorResponseException)
|
|
234
|
+
.local_error('401',
|
|
235
|
+
'Unauthorized access.',
|
|
236
|
+
ErrorResponseException)
|
|
237
|
+
.local_error('403',
|
|
238
|
+
'Forbidden access.',
|
|
239
|
+
ErrorResponseException)
|
|
240
|
+
.local_error('500',
|
|
241
|
+
'Unexpected error',
|
|
242
|
+
ErrorResponseException))
|
|
243
|
+
.execute
|
|
244
|
+
end
|
|
245
|
+
end
|
|
246
|
+
end
|