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,354 @@
|
|
|
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
|
+
# EmailCustomizationController
|
|
8
|
+
class EmailCustomizationController < BaseController
|
|
9
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
10
|
+
# class="since-beta-tag">Version: 10.10.0.cl or later</span>
|
|
11
|
+
# Creates a customization configuration for the notification email.
|
|
12
|
+
# #### Pre-requisites
|
|
13
|
+
# Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION`
|
|
14
|
+
# (**Can administer ThoughtSpot**) privilege.
|
|
15
|
+
# If [Role-Based Access Control
|
|
16
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
17
|
+
# instance, the `DEVELOPER` (**Has developer privilege**) privilege is
|
|
18
|
+
# required.
|
|
19
|
+
# **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support
|
|
20
|
+
# to enable this on your instance.
|
|
21
|
+
# #### Usage guidelines
|
|
22
|
+
# To create a custom configuration pass these parameters in your API
|
|
23
|
+
# request:
|
|
24
|
+
# - A JSON map of configuration attributes `template_properties`. The
|
|
25
|
+
# following example shows a sample set of customization configuration:
|
|
26
|
+
# ```
|
|
27
|
+
# {
|
|
28
|
+
# {
|
|
29
|
+
# "cta_button_bg_color": "#444DEA",
|
|
30
|
+
# "cta_text_font_color": "#FFFFFF",
|
|
31
|
+
# "primary_bg_color": "#D3DEF0",
|
|
32
|
+
# "logo_url":
|
|
33
|
+
# "https://storage.pardot.com/710713/1642089901EbkRibJq/TS_fullworkmark_dark
|
|
34
|
+
# mode.png",
|
|
35
|
+
# "font_family": "",
|
|
36
|
+
# "product_name": "ThoughtSpot",
|
|
37
|
+
# "footer_address": "444 Castro St, Suite 1000 Mountain View, CA
|
|
38
|
+
# 94041",
|
|
39
|
+
# "footer_phone": "(800) 508-7008",
|
|
40
|
+
# "replacement_value_for_liveboard": "Dashboard",
|
|
41
|
+
# "replacement_value_for_answer": "Chart",
|
|
42
|
+
# "replacement_value_for_spot_iq": "AI Insights",
|
|
43
|
+
# "hide_footer_phone": false,
|
|
44
|
+
# "hide_footer_address": false,
|
|
45
|
+
# "hide_product_name": false,
|
|
46
|
+
# "hide_manage_notification": false,
|
|
47
|
+
# "hide_mobile_app_nudge": false,
|
|
48
|
+
# "hide_privacy_policy": false,
|
|
49
|
+
# "hide_ts_vocabulary_definitions": false,
|
|
50
|
+
# "hide_error_message": false,
|
|
51
|
+
# "hide_unsubscribe_link": false,
|
|
52
|
+
# "hide_notification_status": false,
|
|
53
|
+
# "hide_modify_alert": false,
|
|
54
|
+
# "company_website_url": "https://your-website.com/",
|
|
55
|
+
# "company_privacy_policy_url" :
|
|
56
|
+
# "https://link-to-privacy-policy.com/",
|
|
57
|
+
# "contact_support_url": "https://link-to-contact-support.com/",
|
|
58
|
+
# "hide_contact_support_url": false,
|
|
59
|
+
# "hide_logo_url" : false
|
|
60
|
+
# }
|
|
61
|
+
# }
|
|
62
|
+
# ```
|
|
63
|
+
# #### Endpoint URL
|
|
64
|
+
# @param [CreateEmailCustomizationRequest] body Required parameter: TODO:
|
|
65
|
+
# type description here
|
|
66
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
67
|
+
def create_email_customization(body)
|
|
68
|
+
@api_call
|
|
69
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
70
|
+
'/api/rest/2.0/customization/email',
|
|
71
|
+
Server::DEFAULT)
|
|
72
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
73
|
+
.body_param(new_parameter(body)
|
|
74
|
+
.is_required(true))
|
|
75
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
76
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
77
|
+
.auth(Single.new('bearerAuth')))
|
|
78
|
+
.response(new_response_handler
|
|
79
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
80
|
+
.deserialize_into(CreateEmailCustomizationResponse.method(:from_hash))
|
|
81
|
+
.is_api_response(true)
|
|
82
|
+
.local_error('400',
|
|
83
|
+
'Invalid request.',
|
|
84
|
+
ErrorResponseException)
|
|
85
|
+
.local_error('403',
|
|
86
|
+
'Unauthorized access.',
|
|
87
|
+
ErrorResponseException)
|
|
88
|
+
.local_error('500',
|
|
89
|
+
'Unexpected error',
|
|
90
|
+
ErrorResponseException))
|
|
91
|
+
.execute
|
|
92
|
+
end
|
|
93
|
+
|
|
94
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
95
|
+
# class="since-beta-tag">Version: 10.10.0.cl or later</span>
|
|
96
|
+
# Deletes the configuration for the email customization.
|
|
97
|
+
# #### Pre-requisites
|
|
98
|
+
# Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION`
|
|
99
|
+
# (**Can administer ThoughtSpot**) privilege.
|
|
100
|
+
# If [Role-Based Access Control
|
|
101
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
102
|
+
# instance, the `DEVELOPER` (**Has developer privilege**) privilege is
|
|
103
|
+
# required.
|
|
104
|
+
# **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support
|
|
105
|
+
# to enable this on your instance.
|
|
106
|
+
# #### Usage guidelines
|
|
107
|
+
# - Call the search API endpoint to get the `template_identifier` from the
|
|
108
|
+
# response.
|
|
109
|
+
# - Use that `template_identifier` as a parameter in this API request.
|
|
110
|
+
# #### Endpoint URL
|
|
111
|
+
# @param [String] template_identifier Required parameter: Unique ID or name
|
|
112
|
+
# of the email customization.
|
|
113
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
114
|
+
def delete_email_customization(template_identifier)
|
|
115
|
+
warn 'Endpoint delete_email_customization in EmailCustomizationControlle'\
|
|
116
|
+
'r is deprecated'
|
|
117
|
+
@api_call
|
|
118
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
119
|
+
'/api/rest/2.0/customization/email/{template_identifier}/delete',
|
|
120
|
+
Server::DEFAULT)
|
|
121
|
+
.template_param(new_parameter(template_identifier, key: 'template_identifier')
|
|
122
|
+
.is_required(true)
|
|
123
|
+
.should_encode(true))
|
|
124
|
+
.auth(Single.new('bearerAuth')))
|
|
125
|
+
.response(new_response_handler
|
|
126
|
+
.is_response_void(true)
|
|
127
|
+
.is_api_response(true)
|
|
128
|
+
.local_error('400',
|
|
129
|
+
'Invalid request.',
|
|
130
|
+
ErrorResponseException)
|
|
131
|
+
.local_error('403',
|
|
132
|
+
'Unauthorized access.',
|
|
133
|
+
ErrorResponseException)
|
|
134
|
+
.local_error('500',
|
|
135
|
+
'Unexpected error',
|
|
136
|
+
ErrorResponseException))
|
|
137
|
+
.execute
|
|
138
|
+
end
|
|
139
|
+
|
|
140
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
141
|
+
# class="since-beta-tag">Version: 10.12.0.cl or later</span>
|
|
142
|
+
# Deletes the configuration for the email customization.
|
|
143
|
+
# #### Pre-requisites
|
|
144
|
+
# Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION`
|
|
145
|
+
# (**Can administer ThoughtSpot**) privilege.
|
|
146
|
+
# If [Role-Based Access Control
|
|
147
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
148
|
+
# instance, the `DEVELOPER` (**Has developer privilege**) privilege is
|
|
149
|
+
# required.
|
|
150
|
+
# **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support
|
|
151
|
+
# to enable this on your instance.
|
|
152
|
+
# #### Usage guidelines
|
|
153
|
+
# - Call the search API endpoint to get the `org_identifier` from the
|
|
154
|
+
# response.
|
|
155
|
+
# - Use that `org_identifier` as a parameter in this API request.
|
|
156
|
+
# #### Endpoint URL
|
|
157
|
+
# @param [DeleteOrgEmailCustomizationRequest] body Required parameter: TODO:
|
|
158
|
+
# type description here
|
|
159
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
160
|
+
def delete_org_email_customization(body)
|
|
161
|
+
@api_call
|
|
162
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
163
|
+
'/api/rest/2.0/customization/email/delete',
|
|
164
|
+
Server::DEFAULT)
|
|
165
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
166
|
+
.body_param(new_parameter(body)
|
|
167
|
+
.is_required(true))
|
|
168
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
169
|
+
.auth(Single.new('bearerAuth')))
|
|
170
|
+
.response(new_response_handler
|
|
171
|
+
.is_response_void(true)
|
|
172
|
+
.is_api_response(true)
|
|
173
|
+
.local_error('400',
|
|
174
|
+
'Invalid request.',
|
|
175
|
+
ErrorResponseException)
|
|
176
|
+
.local_error('401',
|
|
177
|
+
'Unauthorized access.',
|
|
178
|
+
ErrorResponseException)
|
|
179
|
+
.local_error('403',
|
|
180
|
+
'Unauthorized access.',
|
|
181
|
+
ErrorResponseException)
|
|
182
|
+
.local_error('500',
|
|
183
|
+
'Unexpected error',
|
|
184
|
+
ErrorResponseException))
|
|
185
|
+
.execute
|
|
186
|
+
end
|
|
187
|
+
|
|
188
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
189
|
+
# class="since-beta-tag">Version: 10.10.0.cl or later</span>
|
|
190
|
+
# Search the email customization configuration if any set for the
|
|
191
|
+
# ThoughtSpot system.
|
|
192
|
+
# #### Pre-requisites
|
|
193
|
+
# Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION`
|
|
194
|
+
# (**Can administer ThoughtSpot**) privilege.
|
|
195
|
+
# If [Role-Based Access Control
|
|
196
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
197
|
+
# instance, the `DEVELOPER` (**Has developer privilege**) privilege is
|
|
198
|
+
# required.
|
|
199
|
+
# **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support
|
|
200
|
+
# to enable this on your instance.
|
|
201
|
+
# #### Endpoint URL
|
|
202
|
+
# @param [SearchEmailCustomizationRequest] body Required parameter: TODO:
|
|
203
|
+
# type description here
|
|
204
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
205
|
+
def search_email_customization(body)
|
|
206
|
+
@api_call
|
|
207
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
208
|
+
'/api/rest/2.0/customization/email/search',
|
|
209
|
+
Server::DEFAULT)
|
|
210
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
211
|
+
.body_param(new_parameter(body)
|
|
212
|
+
.is_required(true))
|
|
213
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
214
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
215
|
+
.auth(Single.new('bearerAuth')))
|
|
216
|
+
.response(new_response_handler
|
|
217
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
218
|
+
.deserialize_into(CreateEmailCustomizationResponse.method(:from_hash))
|
|
219
|
+
.is_api_response(true)
|
|
220
|
+
.is_response_array(true)
|
|
221
|
+
.local_error('400',
|
|
222
|
+
'Invalid request.',
|
|
223
|
+
ErrorResponseException)
|
|
224
|
+
.local_error('403',
|
|
225
|
+
'Unauthorized access.',
|
|
226
|
+
ErrorResponseException)
|
|
227
|
+
.local_error('500',
|
|
228
|
+
'Unexpected error',
|
|
229
|
+
ErrorResponseException))
|
|
230
|
+
.execute
|
|
231
|
+
end
|
|
232
|
+
|
|
233
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
234
|
+
# class="since-beta-tag">Version: 10.12.0.cl or later</span>
|
|
235
|
+
# Updates a customization configuration for the notification email.
|
|
236
|
+
# #### Pre-requisites
|
|
237
|
+
# Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION`
|
|
238
|
+
# (**Can administer ThoughtSpot**) privilege.
|
|
239
|
+
# If [Role-Based Access Control
|
|
240
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
241
|
+
# instance, the `DEVELOPER` (**Has developer privilege**) privilege is
|
|
242
|
+
# required.
|
|
243
|
+
# **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support
|
|
244
|
+
# to enable this on your instance.
|
|
245
|
+
# #### Usage guidelines
|
|
246
|
+
# To update a custom configuration pass these parameters in your API
|
|
247
|
+
# request:
|
|
248
|
+
# - A JSON map of configuration attributes `template_properties`. The
|
|
249
|
+
# following example shows a sample set of customization configuration:
|
|
250
|
+
# ```
|
|
251
|
+
# {
|
|
252
|
+
# {
|
|
253
|
+
# "cta_button_bg_color": "#444DEA",
|
|
254
|
+
# "cta_text_font_color": "#FFFFFF",
|
|
255
|
+
# "primary_bg_color": "#D3DEF0",
|
|
256
|
+
# "logo_url":
|
|
257
|
+
# "https://storage.pardot.com/710713/1642089901EbkRibJq/TS_fullworkmark_dark
|
|
258
|
+
# mode.png",
|
|
259
|
+
# "font_family": "",
|
|
260
|
+
# "product_name": "ThoughtSpot",
|
|
261
|
+
# "footer_address": "444 Castro St, Suite 1000 Mountain View, CA
|
|
262
|
+
# 94041",
|
|
263
|
+
# "footer_phone": "(800) 508-7008",
|
|
264
|
+
# "replacement_value_for_liveboard": "Dashboard",
|
|
265
|
+
# "replacement_value_for_answer": "Chart",
|
|
266
|
+
# "replacement_value_for_spot_iq": "AI Insights",
|
|
267
|
+
# "hide_footer_phone": false,
|
|
268
|
+
# "hide_footer_address": false,
|
|
269
|
+
# "hide_product_name": false,
|
|
270
|
+
# "hide_manage_notification": false,
|
|
271
|
+
# "hide_mobile_app_nudge": false,
|
|
272
|
+
# "hide_privacy_policy": false,
|
|
273
|
+
# "hide_ts_vocabulary_definitions": false,
|
|
274
|
+
# "hide_error_message": false,
|
|
275
|
+
# "hide_unsubscribe_link": false,
|
|
276
|
+
# "hide_notification_status": false,
|
|
277
|
+
# "hide_modify_alert": false,
|
|
278
|
+
# "company_website_url": "https://your-website.com/",
|
|
279
|
+
# "company_privacy_policy_url" : "https://link-to-privacy-policy.com/",
|
|
280
|
+
# "contact_support_url": "https://link-to-contact-support.com/",
|
|
281
|
+
# "hide_contact_support_url": false,
|
|
282
|
+
# "hide_logo_url" : false
|
|
283
|
+
# }
|
|
284
|
+
# }
|
|
285
|
+
# ```
|
|
286
|
+
# #### Endpoint URL
|
|
287
|
+
# @param [UpdateEmailCustomizationRequest] body Required parameter: TODO:
|
|
288
|
+
# type description here
|
|
289
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
290
|
+
def update_email_customization(body)
|
|
291
|
+
@api_call
|
|
292
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
293
|
+
'/api/rest/2.0/customization/email/update',
|
|
294
|
+
Server::DEFAULT)
|
|
295
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
296
|
+
.body_param(new_parameter(body)
|
|
297
|
+
.is_required(true))
|
|
298
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
299
|
+
.auth(Single.new('bearerAuth')))
|
|
300
|
+
.response(new_response_handler
|
|
301
|
+
.is_response_void(true)
|
|
302
|
+
.is_api_response(true)
|
|
303
|
+
.local_error('400',
|
|
304
|
+
'Invalid request.',
|
|
305
|
+
ErrorResponseException)
|
|
306
|
+
.local_error('401',
|
|
307
|
+
'Unauthorized access.',
|
|
308
|
+
ErrorResponseException)
|
|
309
|
+
.local_error('403',
|
|
310
|
+
'Unauthorized access.',
|
|
311
|
+
ErrorResponseException)
|
|
312
|
+
.local_error('500',
|
|
313
|
+
'Unexpected error',
|
|
314
|
+
ErrorResponseException))
|
|
315
|
+
.execute
|
|
316
|
+
end
|
|
317
|
+
|
|
318
|
+
# <span class="since-beta-tag">Beta</span> <span
|
|
319
|
+
# class="since-beta-tag">Version: 10.10.0.cl or later</span>
|
|
320
|
+
# Validates the email customization configuration if any set for the
|
|
321
|
+
# ThoughtSpot system.
|
|
322
|
+
# #### Pre-requisites
|
|
323
|
+
# Requires `DEVELOPER` (**has developer privilege**) or `ADMINISTRATION`
|
|
324
|
+
# (**Can administer ThoughtSpot**) privilege.
|
|
325
|
+
# If [Role-Based Access Control
|
|
326
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
327
|
+
# instance, the `DEVELOPER` (**Has developer privilege**) privilege is
|
|
328
|
+
# required.
|
|
329
|
+
# **NOTE**:This endpoint in currently in beta. Contact ThoughtSpot support
|
|
330
|
+
# to enable this on your instance.
|
|
331
|
+
# #### Endpoint URL
|
|
332
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
333
|
+
def validate_email_customization
|
|
334
|
+
@api_call
|
|
335
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
336
|
+
'/api/rest/2.0/customization/email/validate',
|
|
337
|
+
Server::DEFAULT)
|
|
338
|
+
.auth(Single.new('bearerAuth')))
|
|
339
|
+
.response(new_response_handler
|
|
340
|
+
.is_response_void(true)
|
|
341
|
+
.is_api_response(true)
|
|
342
|
+
.local_error('400',
|
|
343
|
+
'Invalid request.',
|
|
344
|
+
ErrorResponseException)
|
|
345
|
+
.local_error('403',
|
|
346
|
+
'Unauthorized access.',
|
|
347
|
+
ErrorResponseException)
|
|
348
|
+
.local_error('500',
|
|
349
|
+
'Unexpected error',
|
|
350
|
+
ErrorResponseException))
|
|
351
|
+
.execute
|
|
352
|
+
end
|
|
353
|
+
end
|
|
354
|
+
end
|
|
@@ -0,0 +1,257 @@
|
|
|
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
|
+
# GroupsController
|
|
8
|
+
class GroupsController < BaseController
|
|
9
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
10
|
+
# Creates a group object in ThoughtSpot.
|
|
11
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
12
|
+
# If [Role-Based Access Control
|
|
13
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
14
|
+
# instance, the `GROUP_ADMINISTRATION` (**Can manage groups**) privilege is
|
|
15
|
+
# required.
|
|
16
|
+
# #### About groups
|
|
17
|
+
# Groups in ThoughtSpot are used by the administrators to define privileges
|
|
18
|
+
# and organize users based on their roles and access requirements. To know
|
|
19
|
+
# more about groups and privileges, see [ThoughtSpot Product
|
|
20
|
+
# Documentation](https://docs.thoughtspot.com/cloud/latest/groups-privileges
|
|
21
|
+
# ).
|
|
22
|
+
# #### Supported operations
|
|
23
|
+
# The API endpoint lets you perform the following operations:
|
|
24
|
+
# * Assign privileges
|
|
25
|
+
# * Add users
|
|
26
|
+
# * Define sharing visibility
|
|
27
|
+
# * Add sub-groups
|
|
28
|
+
# * Assign a default Liveboard
|
|
29
|
+
# #### Endpoint URL
|
|
30
|
+
# @param [CreateUserGroupRequest] body Required parameter: TODO: type
|
|
31
|
+
# description here
|
|
32
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
33
|
+
def create_user_group(body)
|
|
34
|
+
@api_call
|
|
35
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
36
|
+
'/api/rest/2.0/groups/create',
|
|
37
|
+
Server::DEFAULT)
|
|
38
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
39
|
+
.body_param(new_parameter(body)
|
|
40
|
+
.is_required(true))
|
|
41
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
42
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
43
|
+
.auth(Single.new('bearerAuth')))
|
|
44
|
+
.response(new_response_handler
|
|
45
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
46
|
+
.deserialize_into(UserGroupResponse.method(:from_hash))
|
|
47
|
+
.is_api_response(true)
|
|
48
|
+
.local_error('400',
|
|
49
|
+
'Invalid request.',
|
|
50
|
+
ErrorResponseException)
|
|
51
|
+
.local_error('401',
|
|
52
|
+
'Unauthorized access.',
|
|
53
|
+
ErrorResponseException)
|
|
54
|
+
.local_error('403',
|
|
55
|
+
'Forbidden access.',
|
|
56
|
+
ErrorResponseException)
|
|
57
|
+
.local_error('500',
|
|
58
|
+
'Unexpected error',
|
|
59
|
+
ErrorResponseException))
|
|
60
|
+
.execute
|
|
61
|
+
end
|
|
62
|
+
|
|
63
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
64
|
+
# Removes the specified group object from the ThoughtSpot system.
|
|
65
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
66
|
+
# If [Role-Based Access Control
|
|
67
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
68
|
+
# instance, the `GROUP_ADMINISTRATION` (**Can manage groups**) privilege is
|
|
69
|
+
# required.
|
|
70
|
+
# #### Endpoint URL
|
|
71
|
+
# @param [String] group_identifier Required parameter: GUID or name of the
|
|
72
|
+
# group.
|
|
73
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
74
|
+
def delete_user_group(group_identifier)
|
|
75
|
+
@api_call
|
|
76
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
77
|
+
'/api/rest/2.0/groups/{group_identifier}/delete',
|
|
78
|
+
Server::DEFAULT)
|
|
79
|
+
.template_param(new_parameter(group_identifier, key: 'group_identifier')
|
|
80
|
+
.is_required(true)
|
|
81
|
+
.should_encode(true))
|
|
82
|
+
.auth(Single.new('bearerAuth')))
|
|
83
|
+
.response(new_response_handler
|
|
84
|
+
.is_response_void(true)
|
|
85
|
+
.is_api_response(true)
|
|
86
|
+
.local_error('400',
|
|
87
|
+
'Invalid request.',
|
|
88
|
+
ErrorResponseException)
|
|
89
|
+
.local_error('401',
|
|
90
|
+
'Unauthorized access.',
|
|
91
|
+
ErrorResponseException)
|
|
92
|
+
.local_error('403',
|
|
93
|
+
'Forbidden access.',
|
|
94
|
+
ErrorResponseException)
|
|
95
|
+
.local_error('500',
|
|
96
|
+
'Unexpected error',
|
|
97
|
+
ErrorResponseException))
|
|
98
|
+
.execute
|
|
99
|
+
end
|
|
100
|
+
|
|
101
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
102
|
+
# Imports group objects from external databases into ThoughtSpot.
|
|
103
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
104
|
+
# If [Role-Based Access Control
|
|
105
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
106
|
+
# instance, the `GROUP_ADMINISTRATION` (**Can manage groups**) privilege is
|
|
107
|
+
# required.
|
|
108
|
+
# During the import operation:
|
|
109
|
+
# * If the specified group is not available in ThoughtSpot, it will be added
|
|
110
|
+
# to ThoughtSpot.
|
|
111
|
+
# * If `delete_unspecified_groups` is set to `true`, the groups not
|
|
112
|
+
# specified in the API request, excluding administrator and system user
|
|
113
|
+
# groups, are deleted.
|
|
114
|
+
# * If the specified groups are already available in ThoughtSpot, the object
|
|
115
|
+
# properties of these groups are modified and synchronized as per the input
|
|
116
|
+
# data in the API request.
|
|
117
|
+
# A successful API call returns the object that represents the changes made
|
|
118
|
+
# in the ThoughtSpot system.
|
|
119
|
+
# #### Endpoint URL
|
|
120
|
+
# @param [ImportUserGroupsRequest] body Required parameter: TODO: type
|
|
121
|
+
# description here
|
|
122
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
123
|
+
def import_user_groups(body)
|
|
124
|
+
@api_call
|
|
125
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
126
|
+
'/api/rest/2.0/groups/import',
|
|
127
|
+
Server::DEFAULT)
|
|
128
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
129
|
+
.body_param(new_parameter(body)
|
|
130
|
+
.is_required(true))
|
|
131
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
132
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
133
|
+
.auth(Single.new('bearerAuth')))
|
|
134
|
+
.response(new_response_handler
|
|
135
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
136
|
+
.deserialize_into(ImportUserGroupsResponse.method(:from_hash))
|
|
137
|
+
.is_api_response(true)
|
|
138
|
+
.local_error('400',
|
|
139
|
+
'Invalid request.',
|
|
140
|
+
ErrorResponseException)
|
|
141
|
+
.local_error('401',
|
|
142
|
+
'Unauthorized access.',
|
|
143
|
+
ErrorResponseException)
|
|
144
|
+
.local_error('403',
|
|
145
|
+
'Forbidden access.',
|
|
146
|
+
ErrorResponseException)
|
|
147
|
+
.local_error('500',
|
|
148
|
+
'Unexpected error',
|
|
149
|
+
ErrorResponseException))
|
|
150
|
+
.execute
|
|
151
|
+
end
|
|
152
|
+
|
|
153
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
154
|
+
# Gets a list of user group objects from the ThoughtSpot system.
|
|
155
|
+
# To get details of a specific user group, specify the user group GUID or
|
|
156
|
+
# name. You can also filter the API response based on User ID, Org ID, Role
|
|
157
|
+
# ID, type of group, sharing visibility, privileges assigned to the group,
|
|
158
|
+
# and the Liveboard IDs assigned to the users in the group.
|
|
159
|
+
# Available to all users. Users with `ADMINISTRATION` (**Can administer
|
|
160
|
+
# ThoughtSpot**) privileges can view all users properties.
|
|
161
|
+
# If [Role-Based Access Control
|
|
162
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
163
|
+
# instance, the `GROUP_ADMINISTRATION` (**Can manage groups**) privilege is
|
|
164
|
+
# required.
|
|
165
|
+
# **NOTE**: If you do not get precise results, try setting `record_size` to
|
|
166
|
+
# `-1` and `record_offset` to `0`.
|
|
167
|
+
# #### Endpoint URL
|
|
168
|
+
# @param [SearchUserGroupsRequest] body Required parameter: TODO: type
|
|
169
|
+
# description here
|
|
170
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
171
|
+
def search_user_groups(body)
|
|
172
|
+
@api_call
|
|
173
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
174
|
+
'/api/rest/2.0/groups/search',
|
|
175
|
+
Server::DEFAULT)
|
|
176
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
177
|
+
.body_param(new_parameter(body)
|
|
178
|
+
.is_required(true))
|
|
179
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
180
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
181
|
+
.auth(Single.new('bearerAuth')))
|
|
182
|
+
.response(new_response_handler
|
|
183
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
184
|
+
.deserialize_into(UserGroupResponse.method(:from_hash))
|
|
185
|
+
.is_api_response(true)
|
|
186
|
+
.is_response_array(true)
|
|
187
|
+
.local_error('400',
|
|
188
|
+
'Invalid request.',
|
|
189
|
+
ErrorResponseException)
|
|
190
|
+
.local_error('401',
|
|
191
|
+
'Unauthorized access.',
|
|
192
|
+
ErrorResponseException)
|
|
193
|
+
.local_error('403',
|
|
194
|
+
'Forbidden access.',
|
|
195
|
+
ErrorResponseException)
|
|
196
|
+
.local_error('500',
|
|
197
|
+
'Unexpected error',
|
|
198
|
+
ErrorResponseException))
|
|
199
|
+
.execute
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
# <span class="since-beta-tag">Version: 9.0.0.cl or later</span>
|
|
203
|
+
# Updates the properties of a group object in ThoughtSpot.
|
|
204
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) privilege.
|
|
205
|
+
# If [Role-Based Access Control
|
|
206
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
207
|
+
# instance, the `GROUP_ADMINISTRATION` (**Can manage groups**) privilege is
|
|
208
|
+
# required.
|
|
209
|
+
# #### Supported operations
|
|
210
|
+
# This API endpoint lets you perform the following operations in a single
|
|
211
|
+
# API request:
|
|
212
|
+
# * Edit
|
|
213
|
+
# [privileges](https://developers.thoughtspot.com/docs/?pageid=api-user-mana
|
|
214
|
+
# gement#group-privileges)
|
|
215
|
+
# * Add or remove users
|
|
216
|
+
# * Change sharing visibility settings
|
|
217
|
+
# * Add or remove sub-groups
|
|
218
|
+
# * Assign a default Liveboard or update the existing settings
|
|
219
|
+
# #### Endpoint URL
|
|
220
|
+
# @param [String] group_identifier Required parameter: GUID or name of the
|
|
221
|
+
# group.
|
|
222
|
+
# @param [UpdateUserGroupRequest] body Required parameter: TODO: type
|
|
223
|
+
# description here
|
|
224
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
225
|
+
def update_user_group(group_identifier,
|
|
226
|
+
body)
|
|
227
|
+
@api_call
|
|
228
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
229
|
+
'/api/rest/2.0/groups/{group_identifier}/update',
|
|
230
|
+
Server::DEFAULT)
|
|
231
|
+
.template_param(new_parameter(group_identifier, key: 'group_identifier')
|
|
232
|
+
.is_required(true)
|
|
233
|
+
.should_encode(true))
|
|
234
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
235
|
+
.body_param(new_parameter(body)
|
|
236
|
+
.is_required(true))
|
|
237
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
238
|
+
.auth(Single.new('bearerAuth')))
|
|
239
|
+
.response(new_response_handler
|
|
240
|
+
.is_response_void(true)
|
|
241
|
+
.is_api_response(true)
|
|
242
|
+
.local_error('400',
|
|
243
|
+
'Invalid request.',
|
|
244
|
+
ErrorResponseException)
|
|
245
|
+
.local_error('401',
|
|
246
|
+
'Unauthorized access.',
|
|
247
|
+
ErrorResponseException)
|
|
248
|
+
.local_error('403',
|
|
249
|
+
'Forbidden access.',
|
|
250
|
+
ErrorResponseException)
|
|
251
|
+
.local_error('500',
|
|
252
|
+
'Unexpected error',
|
|
253
|
+
ErrorResponseException))
|
|
254
|
+
.execute
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
end
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
# JobsController
|
|
8
|
+
class JobsController < BaseController
|
|
9
|
+
# <span class="since-beta-tag">Version: 26.4.0.cl or later</span>
|
|
10
|
+
# Searches delivery history for communication channels such as webhooks.
|
|
11
|
+
# Returns channel-level delivery status for each job execution record. Use
|
|
12
|
+
# this to monitor channel health and delivery success rates across events.
|
|
13
|
+
# Requires `ADMINISTRATION` (**Can administer ThoughtSpot**) or `DEVELOPER`
|
|
14
|
+
# (**Has developer privilege**) privilege. If [Role-Based Access Control
|
|
15
|
+
# (RBAC)](https://developers.thoughtspot.com/docs/rbac) is enabled on your
|
|
16
|
+
# instance, users with `CAN_MANAGE_WEBHOOKS` (**Can manage webhooks**)
|
|
17
|
+
# privilege are also authorized to perform this action.
|
|
18
|
+
# **NOTE**: When `channel_type` is `WEBHOOK`, the following constraints
|
|
19
|
+
# apply:
|
|
20
|
+
# - `job_ids`, `channel_identifiers`, and `events` each accept at most one
|
|
21
|
+
# element.
|
|
22
|
+
# - When `job_ids` is provided, it is used as the sole lookup key and other
|
|
23
|
+
# filter fields are ignored.
|
|
24
|
+
# - When `job_ids` is not provided, `channel_identifiers` and `events` are
|
|
25
|
+
# both required. Each must contain exactly one element, and the event object
|
|
26
|
+
# must include the `identifier` field.
|
|
27
|
+
# - Records older than the configured retention period are not returned.
|
|
28
|
+
# #### Endpoint URL
|
|
29
|
+
# @param [SearchChannelHistoryRequest] body Required parameter: TODO: type
|
|
30
|
+
# description here
|
|
31
|
+
# @return [ApiResponse] Complete http response with raw body and status code.
|
|
32
|
+
def search_channel_history(body)
|
|
33
|
+
@api_call
|
|
34
|
+
.request(new_request_builder(HttpMethodEnum::POST,
|
|
35
|
+
'/api/rest/2.0/jobs/history/communication-channels/search',
|
|
36
|
+
Server::DEFAULT)
|
|
37
|
+
.header_param(new_parameter('application/json', key: 'Content-Type'))
|
|
38
|
+
.body_param(new_parameter(body)
|
|
39
|
+
.is_required(true))
|
|
40
|
+
.header_param(new_parameter('application/json', key: 'accept'))
|
|
41
|
+
.body_serializer(proc do |param| param.to_json unless param.nil? end)
|
|
42
|
+
.auth(Single.new('bearerAuth')))
|
|
43
|
+
.response(new_response_handler
|
|
44
|
+
.deserializer(APIHelper.method(:custom_type_deserializer))
|
|
45
|
+
.deserialize_into(SearchChannelHistoryResponse.method(:from_hash))
|
|
46
|
+
.is_api_response(true)
|
|
47
|
+
.local_error('400',
|
|
48
|
+
'Invalid request.',
|
|
49
|
+
ErrorResponseException)
|
|
50
|
+
.local_error('401',
|
|
51
|
+
'Unauthorized access.',
|
|
52
|
+
ErrorResponseException)
|
|
53
|
+
.local_error('403',
|
|
54
|
+
'Forbidden access.',
|
|
55
|
+
ErrorResponseException)
|
|
56
|
+
.local_error('500',
|
|
57
|
+
'Unexpected error',
|
|
58
|
+
ErrorResponseException))
|
|
59
|
+
.execute
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|