visier-platform-sdk 22222222.99201.1892b3__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of visier-platform-sdk might be problematic. Click here for more details.
- visier_platform_sdk/__init__.py +684 -0
- visier_platform_sdk/api/__init__.py +42 -0
- visier_platform_sdk/api/basic_authentication_api.py +625 -0
- visier_platform_sdk/api/benchmarks_api.py +936 -0
- visier_platform_sdk/api/concepts_v2_api.py +2307 -0
- visier_platform_sdk/api/consolidated_analytics_api.py +3265 -0
- visier_platform_sdk/api/data_and_job_handling_api.py +8346 -0
- visier_platform_sdk/api/data_intake_api.py +1866 -0
- visier_platform_sdk/api/data_model_api.py +13164 -0
- visier_platform_sdk/api/data_query_api.py +1226 -0
- visier_platform_sdk/api/data_upload_api.py +343 -0
- visier_platform_sdk/api/data_version_export_api.py +1724 -0
- visier_platform_sdk/api/dimensions_api.py +3050 -0
- visier_platform_sdk/api/direct_data_intake_api.py +3039 -0
- visier_platform_sdk/api/email_domains_api.py +880 -0
- visier_platform_sdk/api/encryption_keys_api.py +835 -0
- visier_platform_sdk/api/jobs_library_api.py +1168 -0
- visier_platform_sdk/api/network_subnets_api.py +1170 -0
- visier_platform_sdk/api/o_auth2_api.py +1021 -0
- visier_platform_sdk/api/object_configuration_api.py +1752 -0
- visier_platform_sdk/api/permissions_api.py +4295 -0
- visier_platform_sdk/api/pgp_key_api.py +1161 -0
- visier_platform_sdk/api/planning_data_load_api.py +740 -0
- visier_platform_sdk/api/production_versions_api.py +944 -0
- visier_platform_sdk/api/profiles_api.py +2873 -0
- visier_platform_sdk/api/projects_api.py +2128 -0
- visier_platform_sdk/api/release_version_configuration_api.py +835 -0
- visier_platform_sdk/api/reporting_api.py +1757 -0
- visier_platform_sdk/api/search_api.py +356 -0
- visier_platform_sdk/api/skills_library_api.py +2632 -0
- visier_platform_sdk/api/source_files_download_api.py +335 -0
- visier_platform_sdk/api/sources_api.py +652 -0
- visier_platform_sdk/api/system_status_api.py +570 -0
- visier_platform_sdk/api/tenants_v1_api.py +2836 -0
- visier_platform_sdk/api/tenants_v2_api.py +1595 -0
- visier_platform_sdk/api/user_groups_v2_api.py +2332 -0
- visier_platform_sdk/api/users_v1_api.py +6157 -0
- visier_platform_sdk/api/users_v2_api.py +973 -0
- visier_platform_sdk/api/vee_api.py +1161 -0
- visier_platform_sdk/api/webhooks_api.py +2281 -0
- visier_platform_sdk/api_client.py +811 -0
- visier_platform_sdk/api_response.py +21 -0
- visier_platform_sdk/configuration.py +808 -0
- visier_platform_sdk/exceptions.py +217 -0
- visier_platform_sdk/models/__init__.py +630 -0
- visier_platform_sdk/models/admin_all_tenants_status_apidto.py +100 -0
- visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py +112 -0
- visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py +96 -0
- visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py +98 -0
- visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py +92 -0
- visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py +96 -0
- visier_platform_sdk/models/admin_business_location_dto.py +90 -0
- visier_platform_sdk/models/admin_connector_info_response_dto.py +92 -0
- visier_platform_sdk/models/admin_connector_setting_request_dto.py +90 -0
- visier_platform_sdk/models/admin_connector_setting_response_dto.py +92 -0
- visier_platform_sdk/models/admin_connector_settings_response_dto.py +102 -0
- visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py +88 -0
- visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py +88 -0
- visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py +88 -0
- visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py +88 -0
- visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py +92 -0
- visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py +96 -0
- visier_platform_sdk/models/admin_custom_property_dto.py +90 -0
- visier_platform_sdk/models/admin_custom_tenant_property_dto.py +90 -0
- visier_platform_sdk/models/admin_data_import_definition_apidto.py +92 -0
- visier_platform_sdk/models/admin_data_import_definitions_apidto.py +100 -0
- visier_platform_sdk/models/admin_data_version_and_date_dto.py +90 -0
- visier_platform_sdk/models/admin_delete_user_group_v2_request.py +88 -0
- visier_platform_sdk/models/admin_element_ids_dto.py +88 -0
- visier_platform_sdk/models/admin_email_domains_dto.py +90 -0
- visier_platform_sdk/models/admin_excluded_sources_body.py +88 -0
- visier_platform_sdk/models/admin_extractor_setting_apidto.py +100 -0
- visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py +90 -0
- visier_platform_sdk/models/admin_extractor_settings_apidto.py +96 -0
- visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py +90 -0
- visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py +88 -0
- visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py +150 -0
- visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py +96 -0
- visier_platform_sdk/models/admin_key_name.py +88 -0
- visier_platform_sdk/models/admin_mask_message.py +88 -0
- visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py +98 -0
- visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py +100 -0
- visier_platform_sdk/models/admin_network_subnets_message_request.py +90 -0
- visier_platform_sdk/models/admin_network_subnets_message_response.py +88 -0
- visier_platform_sdk/models/admin_permission_response_dto.py +90 -0
- visier_platform_sdk/models/admin_permissions_list_dto.py +96 -0
- visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py +102 -0
- visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py +90 -0
- visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py +96 -0
- visier_platform_sdk/models/admin_product_release_dto.py +94 -0
- visier_platform_sdk/models/admin_product_releases_dto.py +96 -0
- visier_platform_sdk/models/admin_product_version_dto.py +92 -0
- visier_platform_sdk/models/admin_product_versions_dto.py +96 -0
- visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py +94 -0
- visier_platform_sdk/models/admin_product_versions_update_response_dto.py +106 -0
- visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py +92 -0
- visier_platform_sdk/models/admin_put_project_commits_request.py +88 -0
- visier_platform_sdk/models/admin_security_assignment_response_dto.py +96 -0
- visier_platform_sdk/models/admin_set_connector_setting_request_dto.py +98 -0
- visier_platform_sdk/models/admin_set_connector_setting_response_dto.py +112 -0
- visier_platform_sdk/models/admin_set_connector_settings_request_dto.py +96 -0
- visier_platform_sdk/models/admin_set_connector_settings_response_dto.py +96 -0
- visier_platform_sdk/models/admin_simple_user_dto.py +90 -0
- visier_platform_sdk/models/admin_target_project_for_tenant_dto.py +90 -0
- visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py +96 -0
- visier_platform_sdk/models/admin_tenant_assignments_dto.py +114 -0
- visier_platform_sdk/models/admin_tenant_code_body.py +88 -0
- visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py +98 -0
- visier_platform_sdk/models/admin_tenant_detail_apidto.py +130 -0
- visier_platform_sdk/models/admin_tenant_details_traits_dto.py +112 -0
- visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py +156 -0
- visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py +100 -0
- visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py +156 -0
- visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py +136 -0
- visier_platform_sdk/models/admin_tenant_provision_apidto.py +110 -0
- visier_platform_sdk/models/admin_tenant_status_apidto.py +94 -0
- visier_platform_sdk/models/admin_update_tenant_model.py +98 -0
- visier_platform_sdk/models/admin_user_group_change_definition_dto.py +108 -0
- visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py +104 -0
- visier_platform_sdk/models/admin_user_group_change_failure_dto.py +96 -0
- visier_platform_sdk/models/admin_user_group_change_filter_dto.py +100 -0
- visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py +90 -0
- visier_platform_sdk/models/admin_user_group_change_response_dto.py +106 -0
- visier_platform_sdk/models/admin_user_group_change_success_dto.py +94 -0
- visier_platform_sdk/models/admin_user_group_change_users_dto.py +105 -0
- visier_platform_sdk/models/admin_user_group_delete_dto.py +92 -0
- visier_platform_sdk/models/admin_user_group_delete_failure_dto.py +96 -0
- visier_platform_sdk/models/admin_user_group_delete_response_dto.py +106 -0
- visier_platform_sdk/models/admin_user_group_delete_success_dto.py +92 -0
- visier_platform_sdk/models/admin_user_group_filters_dto.py +96 -0
- visier_platform_sdk/models/admin_user_group_get_api_response_dto.py +100 -0
- visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py +98 -0
- visier_platform_sdk/models/admin_user_groups_change_dto.py +96 -0
- visier_platform_sdk/models/admin_user_groups_delete_request_dto.py +96 -0
- visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py +100 -0
- visier_platform_sdk/models/admin_user_groups_users_dto.py +100 -0
- visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py +98 -0
- visier_platform_sdk/models/admin_user_security_assignments_dto.py +100 -0
- visier_platform_sdk/models/admin_users_to_user_group_request_dto.py +90 -0
- visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py +102 -0
- visier_platform_sdk/models/analysis_common_report_create_request_dto.py +90 -0
- visier_platform_sdk/models/analysis_common_report_delete_success_dto.py +88 -0
- visier_platform_sdk/models/analysis_common_report_dto.py +115 -0
- visier_platform_sdk/models/analysis_common_report_list_response_dto.py +96 -0
- visier_platform_sdk/models/analysis_common_vee_clarification_dto.py +98 -0
- visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py +88 -0
- visier_platform_sdk/models/analysis_common_vee_corrections_dto.py +109 -0
- visier_platform_sdk/models/analysis_common_vee_data_dto.py +90 -0
- visier_platform_sdk/models/analysis_common_vee_feedback_dto.py +96 -0
- visier_platform_sdk/models/analysis_common_vee_options_dto.py +110 -0
- visier_platform_sdk/models/analysis_common_vee_question_dto.py +102 -0
- visier_platform_sdk/models/analysis_common_vee_response_dto.py +132 -0
- visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py +107 -0
- visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py +90 -0
- visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py +94 -0
- visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py +96 -0
- visier_platform_sdk/models/analysis_common_vee_status_code_dto.py +100 -0
- visier_platform_sdk/models/analysis_common_vee_visual_dto.py +92 -0
- visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py +90 -0
- visier_platform_sdk/models/api_error.py +92 -0
- visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py +117 -0
- visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py +100 -0
- visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py +96 -0
- visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py +96 -0
- visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py +88 -0
- visier_platform_sdk/models/benchmark_info.py +92 -0
- visier_platform_sdk/models/benchmark_value.py +108 -0
- visier_platform_sdk/models/data_in_assign_connector_credential_request.py +96 -0
- visier_platform_sdk/models/data_in_connector.py +98 -0
- visier_platform_sdk/models/data_in_data_load_request.py +92 -0
- visier_platform_sdk/models/data_in_data_load_request_model.py +90 -0
- visier_platform_sdk/models/data_in_data_load_response.py +88 -0
- visier_platform_sdk/models/data_in_data_transfer_result_detail.py +94 -0
- visier_platform_sdk/models/data_in_data_version_object.py +90 -0
- visier_platform_sdk/models/data_in_disable_dv_model.py +96 -0
- visier_platform_sdk/models/data_in_disable_dv_request.py +92 -0
- visier_platform_sdk/models/data_in_disable_dv_response.py +100 -0
- visier_platform_sdk/models/data_in_dispatching_job_status_response.py +94 -0
- visier_platform_sdk/models/data_in_exclude_data_uploads_request.py +96 -0
- visier_platform_sdk/models/data_in_extraction_job.py +94 -0
- visier_platform_sdk/models/data_in_extraction_job_and_status_response.py +104 -0
- visier_platform_sdk/models/data_in_include_data_uploads_request.py +96 -0
- visier_platform_sdk/models/data_in_job_status_list_response.py +100 -0
- visier_platform_sdk/models/data_in_job_status_with_start_time.py +96 -0
- visier_platform_sdk/models/data_in_processing_job.py +96 -0
- visier_platform_sdk/models/data_in_processing_job_and_status_response.py +104 -0
- visier_platform_sdk/models/data_in_processing_job_status_response.py +104 -0
- visier_platform_sdk/models/data_in_push_data_cancel_response.py +102 -0
- visier_platform_sdk/models/data_in_push_data_complete_request.py +90 -0
- visier_platform_sdk/models/data_in_push_data_complete_response.py +104 -0
- visier_platform_sdk/models/data_in_push_data_response.py +104 -0
- visier_platform_sdk/models/data_in_receiving_job.py +92 -0
- visier_platform_sdk/models/data_in_receiving_job_and_status_response.py +104 -0
- visier_platform_sdk/models/data_in_receiving_job_status_response.py +104 -0
- visier_platform_sdk/models/data_in_result.py +96 -0
- visier_platform_sdk/models/data_in_source.py +98 -0
- visier_platform_sdk/models/data_in_start_extraction_response.py +88 -0
- visier_platform_sdk/models/data_in_start_transfer_response.py +88 -0
- visier_platform_sdk/models/data_in_tenant.py +100 -0
- visier_platform_sdk/models/data_in_tenant_and_credential.py +90 -0
- visier_platform_sdk/models/data_in_upload_to_exclude.py +98 -0
- visier_platform_sdk/models/data_in_upload_to_include.py +98 -0
- visier_platform_sdk/models/data_out_list_response.py +101 -0
- visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py +90 -0
- visier_platform_sdk/models/dataservices_common_member_values_dto.py +105 -0
- visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py +102 -0
- visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py +130 -0
- visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_currency_dto.py +94 -0
- visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py +120 -0
- visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py +102 -0
- visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py +90 -0
- visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py +90 -0
- visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_level_dto.py +92 -0
- visier_platform_sdk/models/dataservices_datamodel_member_dto.py +106 -0
- visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py +102 -0
- visier_platform_sdk/models/dataservices_datamodel_members_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_metric_dto.py +122 -0
- visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py +98 -0
- visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py +110 -0
- visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py +110 -0
- visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py +94 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py +88 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py +92 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py +92 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py +98 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py +123 -0
- visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py +115 -0
- visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py +124 -0
- visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_properties_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_property_dto.py +118 -0
- visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py +90 -0
- visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py +90 -0
- visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py +106 -0
- visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py +90 -0
- visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py +96 -0
- visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py +90 -0
- visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py +90 -0
- visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py +128 -0
- visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py +98 -0
- visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py +96 -0
- visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py +96 -0
- visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py +90 -0
- visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py +90 -0
- visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py +88 -0
- visier_platform_sdk/models/dataservices_query_cell_dto.py +102 -0
- visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py +102 -0
- visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py +92 -0
- visier_platform_sdk/models/dataservices_query_cell_set_dto.py +114 -0
- visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py +98 -0
- visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py +96 -0
- visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_lineage_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py +144 -0
- visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py +158 -0
- visier_platform_sdk/models/dataservices_query_list_query_source_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_member_filter_dto.py +98 -0
- visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py +98 -0
- visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py +90 -0
- visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_property_column_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_query_axis_dto.py +141 -0
- visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py +92 -0
- visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py +92 -0
- visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py +108 -0
- visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py +96 -0
- visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py +102 -0
- visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py +192 -0
- visier_platform_sdk/models/dataservices_query_query_filter_dto.py +106 -0
- visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py +104 -0
- visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py +110 -0
- visier_platform_sdk/models/dataservices_query_query_property_dto.py +120 -0
- visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py +134 -0
- visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py +150 -0
- visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py +144 -0
- visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py +134 -0
- visier_platform_sdk/models/dataservices_query_sort_option_dto.py +100 -0
- visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py +94 -0
- visier_platform_sdk/models/dataservices_query_time_shift_dto.py +112 -0
- visier_platform_sdk/models/description_entry.py +90 -0
- visier_platform_sdk/models/designer_adp_auth_params_dto.py +88 -0
- visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py +100 -0
- visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py +96 -0
- visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py +96 -0
- visier_platform_sdk/models/designer_api_calculation_concept_dto.py +96 -0
- visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py +96 -0
- visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py +92 -0
- visier_platform_sdk/models/designer_api_dimension_filter_dto.py +100 -0
- visier_platform_sdk/models/designer_api_dimension_member_dto.py +88 -0
- visier_platform_sdk/models/designer_api_perspective_configuration_dto.py +100 -0
- visier_platform_sdk/models/designer_api_perspective_node_dto.py +100 -0
- visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py +96 -0
- visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py +96 -0
- visier_platform_sdk/models/designer_api_selection_concept_dto.py +96 -0
- visier_platform_sdk/models/designer_api_selection_concept_list_dto.py +96 -0
- visier_platform_sdk/models/designer_bamboo_auth_params_dto.py +90 -0
- visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_big_query_auth_params_dto.py +104 -0
- visier_platform_sdk/models/designer_big_query_service_account_params_dto.py +90 -0
- visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py +88 -0
- visier_platform_sdk/models/designer_credential_creation_api_response_dto.py +102 -0
- visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py +92 -0
- visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py +88 -0
- visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py +88 -0
- visier_platform_sdk/models/designer_crypto_public_key_dto.py +96 -0
- visier_platform_sdk/models/designer_crypto_public_keys_dto.py +96 -0
- visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py +96 -0
- visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py +94 -0
- visier_platform_sdk/models/designer_data_provider_auth_information_dto.py +104 -0
- visier_platform_sdk/models/designer_data_provider_auth_params_dto.py +344 -0
- visier_platform_sdk/models/designer_data_provider_basic_information_dto.py +90 -0
- visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py +88 -0
- visier_platform_sdk/models/designer_data_version_export_column_dto.py +94 -0
- visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py +92 -0
- visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py +96 -0
- visier_platform_sdk/models/designer_data_version_export_dto.py +108 -0
- visier_platform_sdk/models/designer_data_version_export_file_dto.py +106 -0
- visier_platform_sdk/models/designer_data_version_export_job_status_dto.py +94 -0
- visier_platform_sdk/models/designer_data_version_export_part_file_dto.py +90 -0
- visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py +90 -0
- visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py +88 -0
- visier_platform_sdk/models/designer_data_version_export_table_dto.py +101 -0
- visier_platform_sdk/models/designer_data_version_exports_dto.py +96 -0
- visier_platform_sdk/models/designer_databricks_auth_params_dto.py +94 -0
- visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_dimensions_auth_params_dto.py +98 -0
- visier_platform_sdk/models/designer_download_source_files_dto.py +102 -0
- visier_platform_sdk/models/designer_download_source_files_response_dto.py +90 -0
- visier_platform_sdk/models/designer_extractor_credential_apidto.py +96 -0
- visier_platform_sdk/models/designer_extractor_credentials_apidto.py +100 -0
- visier_platform_sdk/models/designer_fusion_auth_params_dto.py +92 -0
- visier_platform_sdk/models/designer_gong_auth_params_dto.py +90 -0
- visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py +94 -0
- visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py +88 -0
- visier_platform_sdk/models/designer_icims_auth_params_dto.py +108 -0
- visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py +90 -0
- visier_platform_sdk/models/designer_jdbc_auth_params_dto.py +92 -0
- visier_platform_sdk/models/designer_jira_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_jira_connect_params_dto.py +92 -0
- visier_platform_sdk/models/designer_lever_auth_params_dto.py +88 -0
- visier_platform_sdk/models/designer_medallia_auth_params_dto.py +94 -0
- visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py +94 -0
- visier_platform_sdk/models/designer_module_settings_dto.py +92 -0
- visier_platform_sdk/models/designer_my_sql_auth_params_dto.py +98 -0
- visier_platform_sdk/models/designer_namely_auth_params_dto.py +88 -0
- visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_push_data_column_definition_dto.py +98 -0
- visier_platform_sdk/models/designer_push_data_source_definition_dto.py +102 -0
- visier_platform_sdk/models/designer_push_data_source_definitions_dto.py +96 -0
- visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py +90 -0
- visier_platform_sdk/models/designer_redshift_auth_params_dto.py +100 -0
- visier_platform_sdk/models/designer_salesforce_auth_params_dto.py +90 -0
- visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py +94 -0
- visier_platform_sdk/models/designer_service_now_auth_params_dto.py +92 -0
- visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_slack_auth_params_dto.py +92 -0
- visier_platform_sdk/models/designer_snowflake_auth_params_dto.py +100 -0
- visier_platform_sdk/models/designer_sql_server_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_subject_missing_access_dto.py +102 -0
- visier_platform_sdk/models/designer_success_factors_auth_params_dto.py +100 -0
- visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py +92 -0
- visier_platform_sdk/models/designer_tenant_module_dto.py +96 -0
- visier_platform_sdk/models/designer_ultimate_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py +90 -0
- visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py +94 -0
- visier_platform_sdk/models/designer_webhook_webhook_details_dto.py +104 -0
- visier_platform_sdk/models/designer_webhook_webhook_dto.py +96 -0
- visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py +88 -0
- visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py +94 -0
- visier_platform_sdk/models/designer_webhook_webhook_request_dto.py +98 -0
- visier_platform_sdk/models/designer_webhook_webhooks_dto.py +96 -0
- visier_platform_sdk/models/designer_willow_auth_params_dto.py +90 -0
- visier_platform_sdk/models/designer_workday_auth_params_dto.py +110 -0
- visier_platform_sdk/models/designer_workday_o_auth_params_dto.py +92 -0
- visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py +96 -0
- visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py +92 -0
- visier_platform_sdk/models/designer_zoom_auth_params_dto.py +92 -0
- visier_platform_sdk/models/dimension_member.py +139 -0
- visier_platform_sdk/models/direct_data_upload_file_response_dto.py +92 -0
- visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py +92 -0
- visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py +102 -0
- visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py +100 -0
- visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py +88 -0
- visier_platform_sdk/models/dp_job_cancellation_result_dto.py +110 -0
- visier_platform_sdk/models/dp_job_cancellation_results_dto.py +96 -0
- visier_platform_sdk/models/dv_export_status.py +96 -0
- visier_platform_sdk/models/extracted_skill.py +94 -0
- visier_platform_sdk/models/generate_impersonation_token_request.py +88 -0
- visier_platform_sdk/models/google_protobuf_any.py +101 -0
- visier_platform_sdk/models/hierarchy.py +92 -0
- visier_platform_sdk/models/job.py +121 -0
- visier_platform_sdk/models/job_entry.py +92 -0
- visier_platform_sdk/models/job_feedback_input.py +92 -0
- visier_platform_sdk/models/job_search_failure_output.py +94 -0
- visier_platform_sdk/models/job_search_input.py +88 -0
- visier_platform_sdk/models/job_search_output.py +106 -0
- visier_platform_sdk/models/job_standardization_input.py +98 -0
- visier_platform_sdk/models/job_standardization_input_skills.py +90 -0
- visier_platform_sdk/models/location_search_failure_output.py +96 -0
- visier_platform_sdk/models/location_search_input.py +98 -0
- visier_platform_sdk/models/location_search_input1.py +92 -0
- visier_platform_sdk/models/location_search_output.py +106 -0
- visier_platform_sdk/models/location_search_successful_output.py +98 -0
- visier_platform_sdk/models/output_entry.py +98 -0
- visier_platform_sdk/models/output_entry1.py +98 -0
- visier_platform_sdk/models/output_entry1_matches_inner.py +94 -0
- visier_platform_sdk/models/plan_data_load_change_dto.py +94 -0
- visier_platform_sdk/models/plan_data_load_change_list_dto.py +98 -0
- visier_platform_sdk/models/plan_data_upload_response_dto.py +110 -0
- visier_platform_sdk/models/plan_row_data_load_response_dto.py +114 -0
- visier_platform_sdk/models/planning_get_plan_list_response_dto.py +98 -0
- visier_platform_sdk/models/planning_plan_data_load_error_dto.py +92 -0
- visier_platform_sdk/models/planning_plan_info_dto.py +106 -0
- visier_platform_sdk/models/planning_plan_item_dto.py +102 -0
- visier_platform_sdk/models/planning_plan_schema_dto.py +126 -0
- visier_platform_sdk/models/planning_plan_segment_level_dto.py +96 -0
- visier_platform_sdk/models/planning_plan_segment_level_member_dto.py +94 -0
- visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py +100 -0
- visier_platform_sdk/models/planning_plan_time_period_dto.py +90 -0
- visier_platform_sdk/models/planning_plan_with_schema_dto.py +108 -0
- visier_platform_sdk/models/planning_scenario_info_dto.py +92 -0
- visier_platform_sdk/models/salary_benchmark_input.py +100 -0
- visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +96 -0
- visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +106 -0
- visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +110 -0
- visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py +102 -0
- visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py +128 -0
- visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py +98 -0
- visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py +125 -0
- visier_platform_sdk/models/servicing_additional_capabilities_dto.py +88 -0
- visier_platform_sdk/models/servicing_admin_capability_config_dto.py +90 -0
- visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py +96 -0
- visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py +96 -0
- visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py +96 -0
- visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py +96 -0
- visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py +100 -0
- visier_platform_sdk/models/servicing_analytic_object_dto.py +132 -0
- visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py +102 -0
- visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py +114 -0
- visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py +92 -0
- visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py +90 -0
- visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py +102 -0
- visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_capabilities_dto.py +92 -0
- visier_platform_sdk/models/servicing_capability_dto.py +92 -0
- visier_platform_sdk/models/servicing_capability_group_dto.py +146 -0
- visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py +92 -0
- visier_platform_sdk/models/servicing_commit_dto.py +92 -0
- visier_platform_sdk/models/servicing_content_package_dto.py +92 -0
- visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_data_access_set_dto.py +104 -0
- visier_platform_sdk/models/servicing_data_access_set_error_dto.py +90 -0
- visier_platform_sdk/models/servicing_data_access_set_failure_dto.py +96 -0
- visier_platform_sdk/models/servicing_data_access_set_success_dto.py +90 -0
- visier_platform_sdk/models/servicing_data_categories_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_data_category_response_dto.py +90 -0
- visier_platform_sdk/models/servicing_data_security_profile_dto.py +134 -0
- visier_platform_sdk/models/servicing_delete_permissions_request_dto.py +88 -0
- visier_platform_sdk/models/servicing_dimension_filter_dto.py +98 -0
- visier_platform_sdk/models/servicing_direct_data_job_config_dto.py +100 -0
- visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_direct_data_load_config_dto.py +92 -0
- visier_platform_sdk/models/servicing_direct_data_schema_dto.py +96 -0
- visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py +96 -0
- visier_platform_sdk/models/servicing_direct_data_transaction_dto.py +96 -0
- visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py +88 -0
- visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +92 -0
- visier_platform_sdk/models/servicing_document_search_link_dto.py +90 -0
- visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py +112 -0
- visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py +106 -0
- visier_platform_sdk/models/servicing_error_dto.py +92 -0
- visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py +92 -0
- visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py +98 -0
- visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py +94 -0
- visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py +90 -0
- visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_get_projects_api_response_dto.py +123 -0
- visier_platform_sdk/models/servicing_hierarchy_property_dto.py +90 -0
- visier_platform_sdk/models/servicing_inherited_access_config_dto.py +100 -0
- visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py +90 -0
- visier_platform_sdk/models/servicing_job_id_response.py +88 -0
- visier_platform_sdk/models/servicing_last_login_dto.py +88 -0
- visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py +92 -0
- visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py +118 -0
- visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py +88 -0
- visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_member_filter_config_dto.py +96 -0
- visier_platform_sdk/models/servicing_member_selection_dto.py +102 -0
- visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py +90 -0
- visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py +92 -0
- visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py +94 -0
- visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py +100 -0
- visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py +96 -0
- visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py +98 -0
- visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py +94 -0
- visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py +96 -0
- visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py +100 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py +112 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py +100 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py +92 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py +117 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py +113 -0
- visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py +98 -0
- visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py +88 -0
- visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py +88 -0
- visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py +98 -0
- visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py +92 -0
- visier_platform_sdk/models/servicing_permission_assigned_user_dto.py +92 -0
- visier_platform_sdk/models/servicing_permission_assigned_users_dto.py +100 -0
- visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_permission_dto.py +114 -0
- visier_platform_sdk/models/servicing_permission_error_dto.py +90 -0
- visier_platform_sdk/models/servicing_permission_failure_dto.py +96 -0
- visier_platform_sdk/models/servicing_permission_success_dto.py +90 -0
- visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py +98 -0
- visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py +92 -0
- visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py +104 -0
- visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py +88 -0
- visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py +98 -0
- visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py +110 -0
- visier_platform_sdk/models/servicing_profile_get_api_response_dto.py +102 -0
- visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_project_commits_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_project_dto.py +111 -0
- visier_platform_sdk/models/servicing_project_operation_request_dto.py +98 -0
- visier_platform_sdk/models/servicing_project_operation_response_dto.py +92 -0
- visier_platform_sdk/models/servicing_property_access_config_dto.py +116 -0
- visier_platform_sdk/models/servicing_property_set_config_dto.py +102 -0
- visier_platform_sdk/models/servicing_question_categories_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_question_category_api_response_dto.py +90 -0
- visier_platform_sdk/models/servicing_reduced_error_dto.py +88 -0
- visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py +96 -0
- visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py +94 -0
- visier_platform_sdk/models/servicing_related_analytic_object_dto.py +90 -0
- visier_platform_sdk/models/servicing_role_modules_config_dto.py +88 -0
- visier_platform_sdk/models/servicing_sample_question_api_response_dto.py +100 -0
- visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_securable_dimension_dto.py +102 -0
- visier_platform_sdk/models/servicing_securable_property_dto.py +96 -0
- visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py +96 -0
- visier_platform_sdk/models/servicing_shareable_data_access_set.py +88 -0
- visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py +98 -0
- visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py +98 -0
- visier_platform_sdk/models/servicing_static_dimension_filter_dto.py +112 -0
- visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py +92 -0
- visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py +88 -0
- visier_platform_sdk/models/servicing_target_tenant_code_dto.py +90 -0
- visier_platform_sdk/models/servicing_tenant_code_error_dto.py +96 -0
- visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py +90 -0
- visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py +94 -0
- visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py +100 -0
- visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py +98 -0
- visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py +100 -0
- visier_platform_sdk/models/servicing_user_creation_api_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_user_get_api_response_dto.py +122 -0
- visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py +90 -0
- visier_platform_sdk/models/servicing_user_group_assignment_dto.py +88 -0
- visier_platform_sdk/models/servicing_user_id_error_dto.py +94 -0
- visier_platform_sdk/models/servicing_user_property_dto.py +88 -0
- visier_platform_sdk/models/servicing_user_update_api_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_users_api_error_message_dto.py +90 -0
- visier_platform_sdk/models/servicing_users_api_failure_dto.py +98 -0
- visier_platform_sdk/models/servicing_users_api_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_users_api_success_dto.py +98 -0
- visier_platform_sdk/models/servicing_users_creation_api_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_users_delete_api_request_dto.py +88 -0
- visier_platform_sdk/models/servicing_users_update_api_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_users_update_api_user_dto.py +98 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py +102 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py +98 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py +102 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py +92 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py +102 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py +98 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py +92 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py +98 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py +90 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py +100 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py +114 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py +92 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py +90 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py +128 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py +90 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py +92 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py +114 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py +92 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py +102 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py +96 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py +102 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py +104 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py +90 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py +98 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py +88 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py +88 -0
- visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py +96 -0
- visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py +100 -0
- visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py +100 -0
- visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py +106 -0
- visier_platform_sdk/models/servicing_vee_question_change_success_dto.py +104 -0
- visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py +92 -0
- visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py +106 -0
- visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py +96 -0
- visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py +96 -0
- visier_platform_sdk/models/skill.py +106 -0
- visier_platform_sdk/models/skill_category.py +102 -0
- visier_platform_sdk/models/skill_category_entry.py +92 -0
- visier_platform_sdk/models/skill_entry.py +92 -0
- visier_platform_sdk/models/skill_extraction_input.py +93 -0
- visier_platform_sdk/models/skill_group.py +104 -0
- visier_platform_sdk/models/skill_group_entry.py +92 -0
- visier_platform_sdk/models/skill_match_input.py +91 -0
- visier_platform_sdk/models/source_import_result_summary_dto.py +94 -0
- visier_platform_sdk/models/sources_api_put_response_dto.py +92 -0
- visier_platform_sdk/models/sql_like200_response.py +138 -0
- visier_platform_sdk/models/status.py +96 -0
- visier_platform_sdk/models/systemstatus_system_status_dto.py +88 -0
- visier_platform_sdk/models/systemstatus_vee_status_dto.py +88 -0
- visier_platform_sdk/models/table_response_dto.py +90 -0
- visier_platform_sdk/models/token_response.py +96 -0
- visier_platform_sdk/models/user_creation_api_response_dto.py +98 -0
- visier_platform_sdk/py.typed +0 -0
- visier_platform_sdk/rest.py +259 -0
- visier_platform_sdk-22222222.99201.1892b3.dist-info/METADATA +25 -0
- visier_platform_sdk-22222222.99201.1892b3.dist-info/RECORD +664 -0
- visier_platform_sdk-22222222.99201.1892b3.dist-info/WHEEL +5 -0
- visier_platform_sdk-22222222.99201.1892b3.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,2873 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
API Reference
|
|
5
|
+
|
|
6
|
+
Detailed API reference documentation for Visier APIs. Includes all endpoints, headers, path parameters, query parameters, request body schema, response schema, JSON request samples, and JSON response samples.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 22222222.99201.1892
|
|
9
|
+
Contact: alpine@visier.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from pydantic import Field, StrictStr
|
|
21
|
+
from typing import Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_request_dto import ServicingAccessibleTenantProfileAssignmentRequestDTO
|
|
24
|
+
from visier_platform_sdk.models.servicing_accessible_tenant_profile_assignment_response_dto import ServicingAccessibleTenantProfileAssignmentResponseDTO
|
|
25
|
+
from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_request_dto import ServicingAccessibleTenantProfileRevokeRequestDTO
|
|
26
|
+
from visier_platform_sdk.models.servicing_accessible_tenant_profile_revoke_response_dto import ServicingAccessibleTenantProfileRevokeResponseDTO
|
|
27
|
+
from visier_platform_sdk.models.servicing_all_profile_assigned_for_accessible_tenant_dto import ServicingAllProfileAssignedForAccessibleTenantDTO
|
|
28
|
+
from visier_platform_sdk.models.servicing_all_profile_assigned_for_local_tenant_dto import ServicingAllProfileAssignedForLocalTenantDTO
|
|
29
|
+
from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_request_dto import ServicingLocalTenantProfileAssignmentRequestDTO
|
|
30
|
+
from visier_platform_sdk.models.servicing_local_tenant_profile_assignment_response_dto import ServicingLocalTenantProfileAssignmentResponseDTO
|
|
31
|
+
from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_request_dto import ServicingLocalTenantProfileRevokeRequestDTO
|
|
32
|
+
from visier_platform_sdk.models.servicing_local_tenant_profile_revoke_response_dto import ServicingLocalTenantProfileRevokeResponseDTO
|
|
33
|
+
from visier_platform_sdk.models.servicing_profile_get_api_response_dto import ServicingProfileGetAPIResponseDTO
|
|
34
|
+
from visier_platform_sdk.models.servicing_profiles_get_api_response_dto import ServicingProfilesGetAPIResponseDTO
|
|
35
|
+
|
|
36
|
+
from visier_platform_sdk.api_client import ApiClient, RequestSerialized
|
|
37
|
+
from visier_platform_sdk.api_response import ApiResponse
|
|
38
|
+
from visier_platform_sdk.rest import RESTResponseType
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
class ProfilesApi:
|
|
42
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
43
|
+
Ref: https://openapi-generator.tech
|
|
44
|
+
|
|
45
|
+
Do not edit the class manually.
|
|
46
|
+
"""
|
|
47
|
+
|
|
48
|
+
def __init__(self, api_client=None) -> None:
|
|
49
|
+
if api_client is None:
|
|
50
|
+
api_client = ApiClient.get_default()
|
|
51
|
+
self.api_client = api_client
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
@validate_call
|
|
55
|
+
def assign_analytic_profile(
|
|
56
|
+
self,
|
|
57
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign.")],
|
|
58
|
+
servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO,
|
|
59
|
+
_request_timeout: Union[
|
|
60
|
+
None,
|
|
61
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
62
|
+
Tuple[
|
|
63
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
64
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
65
|
+
]
|
|
66
|
+
] = None,
|
|
67
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
68
|
+
_content_type: Optional[StrictStr] = None,
|
|
69
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
70
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
71
|
+
) -> ServicingAccessibleTenantProfileAssignmentResponseDTO:
|
|
72
|
+
"""Assign an analytic tenant profile to administrating tenant users
|
|
73
|
+
|
|
74
|
+
Assign an analytic tenant profile to a list of administrating tenant users for a list of analytic tenants. **Note:** - Administrating tenants only. - You can revoke a profile from a user with this request by updating the validityEndTime to be \"less than\" the current time (that is, in the past).
|
|
75
|
+
|
|
76
|
+
:param profile_id: The ID of the profile to assign. (required)
|
|
77
|
+
:type profile_id: str
|
|
78
|
+
:param servicing_accessible_tenant_profile_assignment_request_dto: (required)
|
|
79
|
+
:type servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO
|
|
80
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
81
|
+
number provided, it will be total request
|
|
82
|
+
timeout. It can also be a pair (tuple) of
|
|
83
|
+
(connection, read) timeouts.
|
|
84
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
85
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
86
|
+
request; this effectively ignores the
|
|
87
|
+
authentication in the spec for a single request.
|
|
88
|
+
:type _request_auth: dict, optional
|
|
89
|
+
:param _content_type: force content-type for the request.
|
|
90
|
+
:type _content_type: str, Optional
|
|
91
|
+
:param _headers: set to override the headers for a single
|
|
92
|
+
request; this effectively ignores the headers
|
|
93
|
+
in the spec for a single request.
|
|
94
|
+
:type _headers: dict, optional
|
|
95
|
+
:param _host_index: set to override the host_index for a single
|
|
96
|
+
request; this effectively ignores the host_index
|
|
97
|
+
in the spec for a single request.
|
|
98
|
+
:type _host_index: int, optional
|
|
99
|
+
:return: Returns the result object.
|
|
100
|
+
""" # noqa: E501
|
|
101
|
+
|
|
102
|
+
_param = self._assign_analytic_profile_serialize(
|
|
103
|
+
profile_id=profile_id,
|
|
104
|
+
servicing_accessible_tenant_profile_assignment_request_dto=servicing_accessible_tenant_profile_assignment_request_dto,
|
|
105
|
+
_request_auth=_request_auth,
|
|
106
|
+
_content_type=_content_type,
|
|
107
|
+
_headers=_headers,
|
|
108
|
+
_host_index=_host_index
|
|
109
|
+
)
|
|
110
|
+
|
|
111
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
112
|
+
'200': "ServicingAccessibleTenantProfileAssignmentResponseDTO",
|
|
113
|
+
}
|
|
114
|
+
response_data = self.api_client.call_api(
|
|
115
|
+
*_param,
|
|
116
|
+
_request_timeout=_request_timeout
|
|
117
|
+
)
|
|
118
|
+
response_data.read()
|
|
119
|
+
return self.api_client.response_deserialize(
|
|
120
|
+
response_data=response_data,
|
|
121
|
+
response_types_map=_response_types_map,
|
|
122
|
+
).data
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
@validate_call
|
|
126
|
+
def assign_analytic_profile_with_http_info(
|
|
127
|
+
self,
|
|
128
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign.")],
|
|
129
|
+
servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO,
|
|
130
|
+
_request_timeout: Union[
|
|
131
|
+
None,
|
|
132
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
133
|
+
Tuple[
|
|
134
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
135
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
136
|
+
]
|
|
137
|
+
] = None,
|
|
138
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
139
|
+
_content_type: Optional[StrictStr] = None,
|
|
140
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
141
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
142
|
+
) -> ApiResponse[ServicingAccessibleTenantProfileAssignmentResponseDTO]:
|
|
143
|
+
"""Assign an analytic tenant profile to administrating tenant users
|
|
144
|
+
|
|
145
|
+
Assign an analytic tenant profile to a list of administrating tenant users for a list of analytic tenants. **Note:** - Administrating tenants only. - You can revoke a profile from a user with this request by updating the validityEndTime to be \"less than\" the current time (that is, in the past).
|
|
146
|
+
|
|
147
|
+
:param profile_id: The ID of the profile to assign. (required)
|
|
148
|
+
:type profile_id: str
|
|
149
|
+
:param servicing_accessible_tenant_profile_assignment_request_dto: (required)
|
|
150
|
+
:type servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO
|
|
151
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
152
|
+
number provided, it will be total request
|
|
153
|
+
timeout. It can also be a pair (tuple) of
|
|
154
|
+
(connection, read) timeouts.
|
|
155
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
156
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
157
|
+
request; this effectively ignores the
|
|
158
|
+
authentication in the spec for a single request.
|
|
159
|
+
:type _request_auth: dict, optional
|
|
160
|
+
:param _content_type: force content-type for the request.
|
|
161
|
+
:type _content_type: str, Optional
|
|
162
|
+
:param _headers: set to override the headers for a single
|
|
163
|
+
request; this effectively ignores the headers
|
|
164
|
+
in the spec for a single request.
|
|
165
|
+
:type _headers: dict, optional
|
|
166
|
+
:param _host_index: set to override the host_index for a single
|
|
167
|
+
request; this effectively ignores the host_index
|
|
168
|
+
in the spec for a single request.
|
|
169
|
+
:type _host_index: int, optional
|
|
170
|
+
:return: Returns the result object.
|
|
171
|
+
""" # noqa: E501
|
|
172
|
+
|
|
173
|
+
_param = self._assign_analytic_profile_serialize(
|
|
174
|
+
profile_id=profile_id,
|
|
175
|
+
servicing_accessible_tenant_profile_assignment_request_dto=servicing_accessible_tenant_profile_assignment_request_dto,
|
|
176
|
+
_request_auth=_request_auth,
|
|
177
|
+
_content_type=_content_type,
|
|
178
|
+
_headers=_headers,
|
|
179
|
+
_host_index=_host_index
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
183
|
+
'200': "ServicingAccessibleTenantProfileAssignmentResponseDTO",
|
|
184
|
+
}
|
|
185
|
+
response_data = self.api_client.call_api(
|
|
186
|
+
*_param,
|
|
187
|
+
_request_timeout=_request_timeout
|
|
188
|
+
)
|
|
189
|
+
response_data.read()
|
|
190
|
+
return self.api_client.response_deserialize(
|
|
191
|
+
response_data=response_data,
|
|
192
|
+
response_types_map=_response_types_map,
|
|
193
|
+
)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
@validate_call
|
|
197
|
+
def assign_analytic_profile_without_preload_content(
|
|
198
|
+
self,
|
|
199
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign.")],
|
|
200
|
+
servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO,
|
|
201
|
+
_request_timeout: Union[
|
|
202
|
+
None,
|
|
203
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
204
|
+
Tuple[
|
|
205
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
206
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
207
|
+
]
|
|
208
|
+
] = None,
|
|
209
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
210
|
+
_content_type: Optional[StrictStr] = None,
|
|
211
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
212
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
213
|
+
) -> RESTResponseType:
|
|
214
|
+
"""Assign an analytic tenant profile to administrating tenant users
|
|
215
|
+
|
|
216
|
+
Assign an analytic tenant profile to a list of administrating tenant users for a list of analytic tenants. **Note:** - Administrating tenants only. - You can revoke a profile from a user with this request by updating the validityEndTime to be \"less than\" the current time (that is, in the past).
|
|
217
|
+
|
|
218
|
+
:param profile_id: The ID of the profile to assign. (required)
|
|
219
|
+
:type profile_id: str
|
|
220
|
+
:param servicing_accessible_tenant_profile_assignment_request_dto: (required)
|
|
221
|
+
:type servicing_accessible_tenant_profile_assignment_request_dto: ServicingAccessibleTenantProfileAssignmentRequestDTO
|
|
222
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
223
|
+
number provided, it will be total request
|
|
224
|
+
timeout. It can also be a pair (tuple) of
|
|
225
|
+
(connection, read) timeouts.
|
|
226
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
227
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
228
|
+
request; this effectively ignores the
|
|
229
|
+
authentication in the spec for a single request.
|
|
230
|
+
:type _request_auth: dict, optional
|
|
231
|
+
:param _content_type: force content-type for the request.
|
|
232
|
+
:type _content_type: str, Optional
|
|
233
|
+
:param _headers: set to override the headers for a single
|
|
234
|
+
request; this effectively ignores the headers
|
|
235
|
+
in the spec for a single request.
|
|
236
|
+
:type _headers: dict, optional
|
|
237
|
+
:param _host_index: set to override the host_index for a single
|
|
238
|
+
request; this effectively ignores the host_index
|
|
239
|
+
in the spec for a single request.
|
|
240
|
+
:type _host_index: int, optional
|
|
241
|
+
:return: Returns the result object.
|
|
242
|
+
""" # noqa: E501
|
|
243
|
+
|
|
244
|
+
_param = self._assign_analytic_profile_serialize(
|
|
245
|
+
profile_id=profile_id,
|
|
246
|
+
servicing_accessible_tenant_profile_assignment_request_dto=servicing_accessible_tenant_profile_assignment_request_dto,
|
|
247
|
+
_request_auth=_request_auth,
|
|
248
|
+
_content_type=_content_type,
|
|
249
|
+
_headers=_headers,
|
|
250
|
+
_host_index=_host_index
|
|
251
|
+
)
|
|
252
|
+
|
|
253
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
254
|
+
'200': "ServicingAccessibleTenantProfileAssignmentResponseDTO",
|
|
255
|
+
}
|
|
256
|
+
response_data = self.api_client.call_api(
|
|
257
|
+
*_param,
|
|
258
|
+
_request_timeout=_request_timeout
|
|
259
|
+
)
|
|
260
|
+
return response_data.response
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
def _assign_analytic_profile_serialize(
|
|
264
|
+
self,
|
|
265
|
+
profile_id,
|
|
266
|
+
servicing_accessible_tenant_profile_assignment_request_dto,
|
|
267
|
+
_request_auth,
|
|
268
|
+
_content_type,
|
|
269
|
+
_headers,
|
|
270
|
+
_host_index,
|
|
271
|
+
) -> RequestSerialized:
|
|
272
|
+
|
|
273
|
+
_host = None
|
|
274
|
+
|
|
275
|
+
_collection_formats: Dict[str, str] = {
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
_path_params: Dict[str, str] = {}
|
|
279
|
+
_query_params: List[Tuple[str, str]] = []
|
|
280
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
281
|
+
_form_params: List[Tuple[str, str]] = []
|
|
282
|
+
_files: Dict[
|
|
283
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
284
|
+
] = {}
|
|
285
|
+
_body_params: Optional[bytes] = None
|
|
286
|
+
|
|
287
|
+
# process the path parameters
|
|
288
|
+
if profile_id is not None:
|
|
289
|
+
_path_params['profileId'] = profile_id
|
|
290
|
+
# process the query parameters
|
|
291
|
+
# process the header parameters
|
|
292
|
+
# process the form parameters
|
|
293
|
+
# process the body parameter
|
|
294
|
+
if servicing_accessible_tenant_profile_assignment_request_dto is not None:
|
|
295
|
+
_body_params = servicing_accessible_tenant_profile_assignment_request_dto
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
# set the HTTP header `Accept`
|
|
299
|
+
if 'Accept' not in _header_params:
|
|
300
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
301
|
+
[
|
|
302
|
+
'application/json'
|
|
303
|
+
]
|
|
304
|
+
)
|
|
305
|
+
|
|
306
|
+
# set the HTTP header `Content-Type`
|
|
307
|
+
if _content_type:
|
|
308
|
+
_header_params['Content-Type'] = _content_type
|
|
309
|
+
else:
|
|
310
|
+
_default_content_type = (
|
|
311
|
+
self.api_client.select_header_content_type(
|
|
312
|
+
[
|
|
313
|
+
'application/json'
|
|
314
|
+
]
|
|
315
|
+
)
|
|
316
|
+
)
|
|
317
|
+
if _default_content_type is not None:
|
|
318
|
+
_header_params['Content-Type'] = _default_content_type
|
|
319
|
+
|
|
320
|
+
# authentication setting
|
|
321
|
+
_auth_settings: List[str] = [
|
|
322
|
+
'CookieAuth',
|
|
323
|
+
'ApiKeyAuth',
|
|
324
|
+
'OAuth2Auth',
|
|
325
|
+
'OAuth2Auth',
|
|
326
|
+
'BearerAuth'
|
|
327
|
+
]
|
|
328
|
+
|
|
329
|
+
return self.api_client.param_serialize(
|
|
330
|
+
method='PUT',
|
|
331
|
+
resource_path='/v1/admin/profiles/accessible-tenants/{profileId}/assign',
|
|
332
|
+
path_params=_path_params,
|
|
333
|
+
query_params=_query_params,
|
|
334
|
+
header_params=_header_params,
|
|
335
|
+
body=_body_params,
|
|
336
|
+
post_params=_form_params,
|
|
337
|
+
files=_files,
|
|
338
|
+
auth_settings=_auth_settings,
|
|
339
|
+
collection_formats=_collection_formats,
|
|
340
|
+
_host=_host,
|
|
341
|
+
_request_auth=_request_auth
|
|
342
|
+
)
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
|
|
347
|
+
@validate_call
|
|
348
|
+
def assign_profile(
|
|
349
|
+
self,
|
|
350
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign to a list of users.")],
|
|
351
|
+
servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO,
|
|
352
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
353
|
+
_request_timeout: Union[
|
|
354
|
+
None,
|
|
355
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
356
|
+
Tuple[
|
|
357
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
358
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
359
|
+
]
|
|
360
|
+
] = None,
|
|
361
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
362
|
+
_content_type: Optional[StrictStr] = None,
|
|
363
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
364
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
365
|
+
) -> ServicingLocalTenantProfileAssignmentResponseDTO:
|
|
366
|
+
"""Assign a profile to a list of users
|
|
367
|
+
|
|
368
|
+
Assign a profile to a list of users. For administrating tenants, this assigns an administrating tenant profile to a list of users.
|
|
369
|
+
|
|
370
|
+
:param profile_id: The ID of the profile to assign to a list of users. (required)
|
|
371
|
+
:type profile_id: str
|
|
372
|
+
:param servicing_local_tenant_profile_assignment_request_dto: (required)
|
|
373
|
+
:type servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO
|
|
374
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
375
|
+
:type target_tenant_id: str
|
|
376
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
377
|
+
number provided, it will be total request
|
|
378
|
+
timeout. It can also be a pair (tuple) of
|
|
379
|
+
(connection, read) timeouts.
|
|
380
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
381
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
382
|
+
request; this effectively ignores the
|
|
383
|
+
authentication in the spec for a single request.
|
|
384
|
+
:type _request_auth: dict, optional
|
|
385
|
+
:param _content_type: force content-type for the request.
|
|
386
|
+
:type _content_type: str, Optional
|
|
387
|
+
:param _headers: set to override the headers for a single
|
|
388
|
+
request; this effectively ignores the headers
|
|
389
|
+
in the spec for a single request.
|
|
390
|
+
:type _headers: dict, optional
|
|
391
|
+
:param _host_index: set to override the host_index for a single
|
|
392
|
+
request; this effectively ignores the host_index
|
|
393
|
+
in the spec for a single request.
|
|
394
|
+
:type _host_index: int, optional
|
|
395
|
+
:return: Returns the result object.
|
|
396
|
+
""" # noqa: E501
|
|
397
|
+
|
|
398
|
+
_param = self._assign_profile_serialize(
|
|
399
|
+
profile_id=profile_id,
|
|
400
|
+
servicing_local_tenant_profile_assignment_request_dto=servicing_local_tenant_profile_assignment_request_dto,
|
|
401
|
+
target_tenant_id=target_tenant_id,
|
|
402
|
+
_request_auth=_request_auth,
|
|
403
|
+
_content_type=_content_type,
|
|
404
|
+
_headers=_headers,
|
|
405
|
+
_host_index=_host_index
|
|
406
|
+
)
|
|
407
|
+
|
|
408
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
409
|
+
'200': "ServicingLocalTenantProfileAssignmentResponseDTO",
|
|
410
|
+
}
|
|
411
|
+
response_data = self.api_client.call_api(
|
|
412
|
+
*_param,
|
|
413
|
+
_request_timeout=_request_timeout
|
|
414
|
+
)
|
|
415
|
+
response_data.read()
|
|
416
|
+
return self.api_client.response_deserialize(
|
|
417
|
+
response_data=response_data,
|
|
418
|
+
response_types_map=_response_types_map,
|
|
419
|
+
).data
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
@validate_call
|
|
423
|
+
def assign_profile_with_http_info(
|
|
424
|
+
self,
|
|
425
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign to a list of users.")],
|
|
426
|
+
servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO,
|
|
427
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
428
|
+
_request_timeout: Union[
|
|
429
|
+
None,
|
|
430
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
431
|
+
Tuple[
|
|
432
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
433
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
434
|
+
]
|
|
435
|
+
] = None,
|
|
436
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
437
|
+
_content_type: Optional[StrictStr] = None,
|
|
438
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
439
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
440
|
+
) -> ApiResponse[ServicingLocalTenantProfileAssignmentResponseDTO]:
|
|
441
|
+
"""Assign a profile to a list of users
|
|
442
|
+
|
|
443
|
+
Assign a profile to a list of users. For administrating tenants, this assigns an administrating tenant profile to a list of users.
|
|
444
|
+
|
|
445
|
+
:param profile_id: The ID of the profile to assign to a list of users. (required)
|
|
446
|
+
:type profile_id: str
|
|
447
|
+
:param servicing_local_tenant_profile_assignment_request_dto: (required)
|
|
448
|
+
:type servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO
|
|
449
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
450
|
+
:type target_tenant_id: str
|
|
451
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
452
|
+
number provided, it will be total request
|
|
453
|
+
timeout. It can also be a pair (tuple) of
|
|
454
|
+
(connection, read) timeouts.
|
|
455
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
456
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
457
|
+
request; this effectively ignores the
|
|
458
|
+
authentication in the spec for a single request.
|
|
459
|
+
:type _request_auth: dict, optional
|
|
460
|
+
:param _content_type: force content-type for the request.
|
|
461
|
+
:type _content_type: str, Optional
|
|
462
|
+
:param _headers: set to override the headers for a single
|
|
463
|
+
request; this effectively ignores the headers
|
|
464
|
+
in the spec for a single request.
|
|
465
|
+
:type _headers: dict, optional
|
|
466
|
+
:param _host_index: set to override the host_index for a single
|
|
467
|
+
request; this effectively ignores the host_index
|
|
468
|
+
in the spec for a single request.
|
|
469
|
+
:type _host_index: int, optional
|
|
470
|
+
:return: Returns the result object.
|
|
471
|
+
""" # noqa: E501
|
|
472
|
+
|
|
473
|
+
_param = self._assign_profile_serialize(
|
|
474
|
+
profile_id=profile_id,
|
|
475
|
+
servicing_local_tenant_profile_assignment_request_dto=servicing_local_tenant_profile_assignment_request_dto,
|
|
476
|
+
target_tenant_id=target_tenant_id,
|
|
477
|
+
_request_auth=_request_auth,
|
|
478
|
+
_content_type=_content_type,
|
|
479
|
+
_headers=_headers,
|
|
480
|
+
_host_index=_host_index
|
|
481
|
+
)
|
|
482
|
+
|
|
483
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
484
|
+
'200': "ServicingLocalTenantProfileAssignmentResponseDTO",
|
|
485
|
+
}
|
|
486
|
+
response_data = self.api_client.call_api(
|
|
487
|
+
*_param,
|
|
488
|
+
_request_timeout=_request_timeout
|
|
489
|
+
)
|
|
490
|
+
response_data.read()
|
|
491
|
+
return self.api_client.response_deserialize(
|
|
492
|
+
response_data=response_data,
|
|
493
|
+
response_types_map=_response_types_map,
|
|
494
|
+
)
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
@validate_call
|
|
498
|
+
def assign_profile_without_preload_content(
|
|
499
|
+
self,
|
|
500
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to assign to a list of users.")],
|
|
501
|
+
servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO,
|
|
502
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
503
|
+
_request_timeout: Union[
|
|
504
|
+
None,
|
|
505
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
506
|
+
Tuple[
|
|
507
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
508
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
509
|
+
]
|
|
510
|
+
] = None,
|
|
511
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
512
|
+
_content_type: Optional[StrictStr] = None,
|
|
513
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
514
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
515
|
+
) -> RESTResponseType:
|
|
516
|
+
"""Assign a profile to a list of users
|
|
517
|
+
|
|
518
|
+
Assign a profile to a list of users. For administrating tenants, this assigns an administrating tenant profile to a list of users.
|
|
519
|
+
|
|
520
|
+
:param profile_id: The ID of the profile to assign to a list of users. (required)
|
|
521
|
+
:type profile_id: str
|
|
522
|
+
:param servicing_local_tenant_profile_assignment_request_dto: (required)
|
|
523
|
+
:type servicing_local_tenant_profile_assignment_request_dto: ServicingLocalTenantProfileAssignmentRequestDTO
|
|
524
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
525
|
+
:type target_tenant_id: str
|
|
526
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
527
|
+
number provided, it will be total request
|
|
528
|
+
timeout. It can also be a pair (tuple) of
|
|
529
|
+
(connection, read) timeouts.
|
|
530
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
531
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
532
|
+
request; this effectively ignores the
|
|
533
|
+
authentication in the spec for a single request.
|
|
534
|
+
:type _request_auth: dict, optional
|
|
535
|
+
:param _content_type: force content-type for the request.
|
|
536
|
+
:type _content_type: str, Optional
|
|
537
|
+
:param _headers: set to override the headers for a single
|
|
538
|
+
request; this effectively ignores the headers
|
|
539
|
+
in the spec for a single request.
|
|
540
|
+
:type _headers: dict, optional
|
|
541
|
+
:param _host_index: set to override the host_index for a single
|
|
542
|
+
request; this effectively ignores the host_index
|
|
543
|
+
in the spec for a single request.
|
|
544
|
+
:type _host_index: int, optional
|
|
545
|
+
:return: Returns the result object.
|
|
546
|
+
""" # noqa: E501
|
|
547
|
+
|
|
548
|
+
_param = self._assign_profile_serialize(
|
|
549
|
+
profile_id=profile_id,
|
|
550
|
+
servicing_local_tenant_profile_assignment_request_dto=servicing_local_tenant_profile_assignment_request_dto,
|
|
551
|
+
target_tenant_id=target_tenant_id,
|
|
552
|
+
_request_auth=_request_auth,
|
|
553
|
+
_content_type=_content_type,
|
|
554
|
+
_headers=_headers,
|
|
555
|
+
_host_index=_host_index
|
|
556
|
+
)
|
|
557
|
+
|
|
558
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
559
|
+
'200': "ServicingLocalTenantProfileAssignmentResponseDTO",
|
|
560
|
+
}
|
|
561
|
+
response_data = self.api_client.call_api(
|
|
562
|
+
*_param,
|
|
563
|
+
_request_timeout=_request_timeout
|
|
564
|
+
)
|
|
565
|
+
return response_data.response
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
def _assign_profile_serialize(
|
|
569
|
+
self,
|
|
570
|
+
profile_id,
|
|
571
|
+
servicing_local_tenant_profile_assignment_request_dto,
|
|
572
|
+
target_tenant_id,
|
|
573
|
+
_request_auth,
|
|
574
|
+
_content_type,
|
|
575
|
+
_headers,
|
|
576
|
+
_host_index,
|
|
577
|
+
) -> RequestSerialized:
|
|
578
|
+
|
|
579
|
+
_host = None
|
|
580
|
+
|
|
581
|
+
_collection_formats: Dict[str, str] = {
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
_path_params: Dict[str, str] = {}
|
|
585
|
+
_query_params: List[Tuple[str, str]] = []
|
|
586
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
587
|
+
_form_params: List[Tuple[str, str]] = []
|
|
588
|
+
_files: Dict[
|
|
589
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
590
|
+
] = {}
|
|
591
|
+
_body_params: Optional[bytes] = None
|
|
592
|
+
|
|
593
|
+
# process the path parameters
|
|
594
|
+
if profile_id is not None:
|
|
595
|
+
_path_params['profileId'] = profile_id
|
|
596
|
+
# process the query parameters
|
|
597
|
+
# process the header parameters
|
|
598
|
+
if target_tenant_id is not None:
|
|
599
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
600
|
+
# process the form parameters
|
|
601
|
+
# process the body parameter
|
|
602
|
+
if servicing_local_tenant_profile_assignment_request_dto is not None:
|
|
603
|
+
_body_params = servicing_local_tenant_profile_assignment_request_dto
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
# set the HTTP header `Accept`
|
|
607
|
+
if 'Accept' not in _header_params:
|
|
608
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
609
|
+
[
|
|
610
|
+
'application/json'
|
|
611
|
+
]
|
|
612
|
+
)
|
|
613
|
+
|
|
614
|
+
# set the HTTP header `Content-Type`
|
|
615
|
+
if _content_type:
|
|
616
|
+
_header_params['Content-Type'] = _content_type
|
|
617
|
+
else:
|
|
618
|
+
_default_content_type = (
|
|
619
|
+
self.api_client.select_header_content_type(
|
|
620
|
+
[
|
|
621
|
+
'application/json'
|
|
622
|
+
]
|
|
623
|
+
)
|
|
624
|
+
)
|
|
625
|
+
if _default_content_type is not None:
|
|
626
|
+
_header_params['Content-Type'] = _default_content_type
|
|
627
|
+
|
|
628
|
+
# authentication setting
|
|
629
|
+
_auth_settings: List[str] = [
|
|
630
|
+
'CookieAuth',
|
|
631
|
+
'ApiKeyAuth',
|
|
632
|
+
'OAuth2Auth',
|
|
633
|
+
'OAuth2Auth',
|
|
634
|
+
'BearerAuth'
|
|
635
|
+
]
|
|
636
|
+
|
|
637
|
+
return self.api_client.param_serialize(
|
|
638
|
+
method='PUT',
|
|
639
|
+
resource_path='/v1/admin/profiles/{profileId}/assign',
|
|
640
|
+
path_params=_path_params,
|
|
641
|
+
query_params=_query_params,
|
|
642
|
+
header_params=_header_params,
|
|
643
|
+
body=_body_params,
|
|
644
|
+
post_params=_form_params,
|
|
645
|
+
files=_files,
|
|
646
|
+
auth_settings=_auth_settings,
|
|
647
|
+
collection_formats=_collection_formats,
|
|
648
|
+
_host=_host,
|
|
649
|
+
_request_auth=_request_auth
|
|
650
|
+
)
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
@validate_call
|
|
656
|
+
def get_all_profiles(
|
|
657
|
+
self,
|
|
658
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
659
|
+
_request_timeout: Union[
|
|
660
|
+
None,
|
|
661
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
662
|
+
Tuple[
|
|
663
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
664
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
665
|
+
]
|
|
666
|
+
] = None,
|
|
667
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
668
|
+
_content_type: Optional[StrictStr] = None,
|
|
669
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
670
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
671
|
+
) -> ServicingProfilesGetAPIResponseDTO:
|
|
672
|
+
"""Retrieve a list of all profiles
|
|
673
|
+
|
|
674
|
+
Get a list of all available profiles. For administrating tenants, this retrieves all administrating tenant profiles.
|
|
675
|
+
|
|
676
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
677
|
+
:type target_tenant_id: str
|
|
678
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
679
|
+
number provided, it will be total request
|
|
680
|
+
timeout. It can also be a pair (tuple) of
|
|
681
|
+
(connection, read) timeouts.
|
|
682
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
683
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
684
|
+
request; this effectively ignores the
|
|
685
|
+
authentication in the spec for a single request.
|
|
686
|
+
:type _request_auth: dict, optional
|
|
687
|
+
:param _content_type: force content-type for the request.
|
|
688
|
+
:type _content_type: str, Optional
|
|
689
|
+
:param _headers: set to override the headers for a single
|
|
690
|
+
request; this effectively ignores the headers
|
|
691
|
+
in the spec for a single request.
|
|
692
|
+
:type _headers: dict, optional
|
|
693
|
+
:param _host_index: set to override the host_index for a single
|
|
694
|
+
request; this effectively ignores the host_index
|
|
695
|
+
in the spec for a single request.
|
|
696
|
+
:type _host_index: int, optional
|
|
697
|
+
:return: Returns the result object.
|
|
698
|
+
""" # noqa: E501
|
|
699
|
+
|
|
700
|
+
_param = self._get_all_profiles_serialize(
|
|
701
|
+
target_tenant_id=target_tenant_id,
|
|
702
|
+
_request_auth=_request_auth,
|
|
703
|
+
_content_type=_content_type,
|
|
704
|
+
_headers=_headers,
|
|
705
|
+
_host_index=_host_index
|
|
706
|
+
)
|
|
707
|
+
|
|
708
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
709
|
+
'200': "ServicingProfilesGetAPIResponseDTO",
|
|
710
|
+
}
|
|
711
|
+
response_data = self.api_client.call_api(
|
|
712
|
+
*_param,
|
|
713
|
+
_request_timeout=_request_timeout
|
|
714
|
+
)
|
|
715
|
+
response_data.read()
|
|
716
|
+
return self.api_client.response_deserialize(
|
|
717
|
+
response_data=response_data,
|
|
718
|
+
response_types_map=_response_types_map,
|
|
719
|
+
).data
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
@validate_call
|
|
723
|
+
def get_all_profiles_with_http_info(
|
|
724
|
+
self,
|
|
725
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
726
|
+
_request_timeout: Union[
|
|
727
|
+
None,
|
|
728
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
729
|
+
Tuple[
|
|
730
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
731
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
732
|
+
]
|
|
733
|
+
] = None,
|
|
734
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
735
|
+
_content_type: Optional[StrictStr] = None,
|
|
736
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
737
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
738
|
+
) -> ApiResponse[ServicingProfilesGetAPIResponseDTO]:
|
|
739
|
+
"""Retrieve a list of all profiles
|
|
740
|
+
|
|
741
|
+
Get a list of all available profiles. For administrating tenants, this retrieves all administrating tenant profiles.
|
|
742
|
+
|
|
743
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
744
|
+
:type target_tenant_id: str
|
|
745
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
746
|
+
number provided, it will be total request
|
|
747
|
+
timeout. It can also be a pair (tuple) of
|
|
748
|
+
(connection, read) timeouts.
|
|
749
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
750
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
751
|
+
request; this effectively ignores the
|
|
752
|
+
authentication in the spec for a single request.
|
|
753
|
+
:type _request_auth: dict, optional
|
|
754
|
+
:param _content_type: force content-type for the request.
|
|
755
|
+
:type _content_type: str, Optional
|
|
756
|
+
:param _headers: set to override the headers for a single
|
|
757
|
+
request; this effectively ignores the headers
|
|
758
|
+
in the spec for a single request.
|
|
759
|
+
:type _headers: dict, optional
|
|
760
|
+
:param _host_index: set to override the host_index for a single
|
|
761
|
+
request; this effectively ignores the host_index
|
|
762
|
+
in the spec for a single request.
|
|
763
|
+
:type _host_index: int, optional
|
|
764
|
+
:return: Returns the result object.
|
|
765
|
+
""" # noqa: E501
|
|
766
|
+
|
|
767
|
+
_param = self._get_all_profiles_serialize(
|
|
768
|
+
target_tenant_id=target_tenant_id,
|
|
769
|
+
_request_auth=_request_auth,
|
|
770
|
+
_content_type=_content_type,
|
|
771
|
+
_headers=_headers,
|
|
772
|
+
_host_index=_host_index
|
|
773
|
+
)
|
|
774
|
+
|
|
775
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
776
|
+
'200': "ServicingProfilesGetAPIResponseDTO",
|
|
777
|
+
}
|
|
778
|
+
response_data = self.api_client.call_api(
|
|
779
|
+
*_param,
|
|
780
|
+
_request_timeout=_request_timeout
|
|
781
|
+
)
|
|
782
|
+
response_data.read()
|
|
783
|
+
return self.api_client.response_deserialize(
|
|
784
|
+
response_data=response_data,
|
|
785
|
+
response_types_map=_response_types_map,
|
|
786
|
+
)
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
@validate_call
|
|
790
|
+
def get_all_profiles_without_preload_content(
|
|
791
|
+
self,
|
|
792
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
793
|
+
_request_timeout: Union[
|
|
794
|
+
None,
|
|
795
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
796
|
+
Tuple[
|
|
797
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
798
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
799
|
+
]
|
|
800
|
+
] = None,
|
|
801
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
802
|
+
_content_type: Optional[StrictStr] = None,
|
|
803
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
804
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
805
|
+
) -> RESTResponseType:
|
|
806
|
+
"""Retrieve a list of all profiles
|
|
807
|
+
|
|
808
|
+
Get a list of all available profiles. For administrating tenants, this retrieves all administrating tenant profiles.
|
|
809
|
+
|
|
810
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
811
|
+
:type target_tenant_id: str
|
|
812
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
813
|
+
number provided, it will be total request
|
|
814
|
+
timeout. It can also be a pair (tuple) of
|
|
815
|
+
(connection, read) timeouts.
|
|
816
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
817
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
818
|
+
request; this effectively ignores the
|
|
819
|
+
authentication in the spec for a single request.
|
|
820
|
+
:type _request_auth: dict, optional
|
|
821
|
+
:param _content_type: force content-type for the request.
|
|
822
|
+
:type _content_type: str, Optional
|
|
823
|
+
:param _headers: set to override the headers for a single
|
|
824
|
+
request; this effectively ignores the headers
|
|
825
|
+
in the spec for a single request.
|
|
826
|
+
:type _headers: dict, optional
|
|
827
|
+
:param _host_index: set to override the host_index for a single
|
|
828
|
+
request; this effectively ignores the host_index
|
|
829
|
+
in the spec for a single request.
|
|
830
|
+
:type _host_index: int, optional
|
|
831
|
+
:return: Returns the result object.
|
|
832
|
+
""" # noqa: E501
|
|
833
|
+
|
|
834
|
+
_param = self._get_all_profiles_serialize(
|
|
835
|
+
target_tenant_id=target_tenant_id,
|
|
836
|
+
_request_auth=_request_auth,
|
|
837
|
+
_content_type=_content_type,
|
|
838
|
+
_headers=_headers,
|
|
839
|
+
_host_index=_host_index
|
|
840
|
+
)
|
|
841
|
+
|
|
842
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
843
|
+
'200': "ServicingProfilesGetAPIResponseDTO",
|
|
844
|
+
}
|
|
845
|
+
response_data = self.api_client.call_api(
|
|
846
|
+
*_param,
|
|
847
|
+
_request_timeout=_request_timeout
|
|
848
|
+
)
|
|
849
|
+
return response_data.response
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
def _get_all_profiles_serialize(
|
|
853
|
+
self,
|
|
854
|
+
target_tenant_id,
|
|
855
|
+
_request_auth,
|
|
856
|
+
_content_type,
|
|
857
|
+
_headers,
|
|
858
|
+
_host_index,
|
|
859
|
+
) -> RequestSerialized:
|
|
860
|
+
|
|
861
|
+
_host = None
|
|
862
|
+
|
|
863
|
+
_collection_formats: Dict[str, str] = {
|
|
864
|
+
}
|
|
865
|
+
|
|
866
|
+
_path_params: Dict[str, str] = {}
|
|
867
|
+
_query_params: List[Tuple[str, str]] = []
|
|
868
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
869
|
+
_form_params: List[Tuple[str, str]] = []
|
|
870
|
+
_files: Dict[
|
|
871
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
872
|
+
] = {}
|
|
873
|
+
_body_params: Optional[bytes] = None
|
|
874
|
+
|
|
875
|
+
# process the path parameters
|
|
876
|
+
# process the query parameters
|
|
877
|
+
# process the header parameters
|
|
878
|
+
if target_tenant_id is not None:
|
|
879
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
880
|
+
# process the form parameters
|
|
881
|
+
# process the body parameter
|
|
882
|
+
|
|
883
|
+
|
|
884
|
+
# set the HTTP header `Accept`
|
|
885
|
+
if 'Accept' not in _header_params:
|
|
886
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
887
|
+
[
|
|
888
|
+
'application/json'
|
|
889
|
+
]
|
|
890
|
+
)
|
|
891
|
+
|
|
892
|
+
|
|
893
|
+
# authentication setting
|
|
894
|
+
_auth_settings: List[str] = [
|
|
895
|
+
'CookieAuth',
|
|
896
|
+
'ApiKeyAuth',
|
|
897
|
+
'OAuth2Auth',
|
|
898
|
+
'OAuth2Auth',
|
|
899
|
+
'BearerAuth'
|
|
900
|
+
]
|
|
901
|
+
|
|
902
|
+
return self.api_client.param_serialize(
|
|
903
|
+
method='GET',
|
|
904
|
+
resource_path='/v1/admin/profiles',
|
|
905
|
+
path_params=_path_params,
|
|
906
|
+
query_params=_query_params,
|
|
907
|
+
header_params=_header_params,
|
|
908
|
+
body=_body_params,
|
|
909
|
+
post_params=_form_params,
|
|
910
|
+
files=_files,
|
|
911
|
+
auth_settings=_auth_settings,
|
|
912
|
+
collection_formats=_collection_formats,
|
|
913
|
+
_host=_host,
|
|
914
|
+
_request_auth=_request_auth
|
|
915
|
+
)
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
@validate_call
|
|
921
|
+
def get_analytic_profile_detail(
|
|
922
|
+
self,
|
|
923
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to retrieve details for.")],
|
|
924
|
+
_request_timeout: Union[
|
|
925
|
+
None,
|
|
926
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
927
|
+
Tuple[
|
|
928
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
929
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
930
|
+
]
|
|
931
|
+
] = None,
|
|
932
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
933
|
+
_content_type: Optional[StrictStr] = None,
|
|
934
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
935
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
936
|
+
) -> ServicingProfileGetAPIResponseDTO:
|
|
937
|
+
"""Retrieve the details of an analytic tenant profile
|
|
938
|
+
|
|
939
|
+
Get the details of an analytic tenant profile. **Note:** Administrating tenants only.
|
|
940
|
+
|
|
941
|
+
:param profile_id: The ID of the profile to retrieve details for. (required)
|
|
942
|
+
:type profile_id: str
|
|
943
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
944
|
+
number provided, it will be total request
|
|
945
|
+
timeout. It can also be a pair (tuple) of
|
|
946
|
+
(connection, read) timeouts.
|
|
947
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
948
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
949
|
+
request; this effectively ignores the
|
|
950
|
+
authentication in the spec for a single request.
|
|
951
|
+
:type _request_auth: dict, optional
|
|
952
|
+
:param _content_type: force content-type for the request.
|
|
953
|
+
:type _content_type: str, Optional
|
|
954
|
+
:param _headers: set to override the headers for a single
|
|
955
|
+
request; this effectively ignores the headers
|
|
956
|
+
in the spec for a single request.
|
|
957
|
+
:type _headers: dict, optional
|
|
958
|
+
:param _host_index: set to override the host_index for a single
|
|
959
|
+
request; this effectively ignores the host_index
|
|
960
|
+
in the spec for a single request.
|
|
961
|
+
:type _host_index: int, optional
|
|
962
|
+
:return: Returns the result object.
|
|
963
|
+
""" # noqa: E501
|
|
964
|
+
|
|
965
|
+
_param = self._get_analytic_profile_detail_serialize(
|
|
966
|
+
profile_id=profile_id,
|
|
967
|
+
_request_auth=_request_auth,
|
|
968
|
+
_content_type=_content_type,
|
|
969
|
+
_headers=_headers,
|
|
970
|
+
_host_index=_host_index
|
|
971
|
+
)
|
|
972
|
+
|
|
973
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
974
|
+
'200': "ServicingProfileGetAPIResponseDTO",
|
|
975
|
+
}
|
|
976
|
+
response_data = self.api_client.call_api(
|
|
977
|
+
*_param,
|
|
978
|
+
_request_timeout=_request_timeout
|
|
979
|
+
)
|
|
980
|
+
response_data.read()
|
|
981
|
+
return self.api_client.response_deserialize(
|
|
982
|
+
response_data=response_data,
|
|
983
|
+
response_types_map=_response_types_map,
|
|
984
|
+
).data
|
|
985
|
+
|
|
986
|
+
|
|
987
|
+
@validate_call
|
|
988
|
+
def get_analytic_profile_detail_with_http_info(
|
|
989
|
+
self,
|
|
990
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to retrieve details for.")],
|
|
991
|
+
_request_timeout: Union[
|
|
992
|
+
None,
|
|
993
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
994
|
+
Tuple[
|
|
995
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
996
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
997
|
+
]
|
|
998
|
+
] = None,
|
|
999
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1000
|
+
_content_type: Optional[StrictStr] = None,
|
|
1001
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1002
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1003
|
+
) -> ApiResponse[ServicingProfileGetAPIResponseDTO]:
|
|
1004
|
+
"""Retrieve the details of an analytic tenant profile
|
|
1005
|
+
|
|
1006
|
+
Get the details of an analytic tenant profile. **Note:** Administrating tenants only.
|
|
1007
|
+
|
|
1008
|
+
:param profile_id: The ID of the profile to retrieve details for. (required)
|
|
1009
|
+
:type profile_id: str
|
|
1010
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1011
|
+
number provided, it will be total request
|
|
1012
|
+
timeout. It can also be a pair (tuple) of
|
|
1013
|
+
(connection, read) timeouts.
|
|
1014
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1015
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1016
|
+
request; this effectively ignores the
|
|
1017
|
+
authentication in the spec for a single request.
|
|
1018
|
+
:type _request_auth: dict, optional
|
|
1019
|
+
:param _content_type: force content-type for the request.
|
|
1020
|
+
:type _content_type: str, Optional
|
|
1021
|
+
:param _headers: set to override the headers for a single
|
|
1022
|
+
request; this effectively ignores the headers
|
|
1023
|
+
in the spec for a single request.
|
|
1024
|
+
:type _headers: dict, optional
|
|
1025
|
+
:param _host_index: set to override the host_index for a single
|
|
1026
|
+
request; this effectively ignores the host_index
|
|
1027
|
+
in the spec for a single request.
|
|
1028
|
+
:type _host_index: int, optional
|
|
1029
|
+
:return: Returns the result object.
|
|
1030
|
+
""" # noqa: E501
|
|
1031
|
+
|
|
1032
|
+
_param = self._get_analytic_profile_detail_serialize(
|
|
1033
|
+
profile_id=profile_id,
|
|
1034
|
+
_request_auth=_request_auth,
|
|
1035
|
+
_content_type=_content_type,
|
|
1036
|
+
_headers=_headers,
|
|
1037
|
+
_host_index=_host_index
|
|
1038
|
+
)
|
|
1039
|
+
|
|
1040
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1041
|
+
'200': "ServicingProfileGetAPIResponseDTO",
|
|
1042
|
+
}
|
|
1043
|
+
response_data = self.api_client.call_api(
|
|
1044
|
+
*_param,
|
|
1045
|
+
_request_timeout=_request_timeout
|
|
1046
|
+
)
|
|
1047
|
+
response_data.read()
|
|
1048
|
+
return self.api_client.response_deserialize(
|
|
1049
|
+
response_data=response_data,
|
|
1050
|
+
response_types_map=_response_types_map,
|
|
1051
|
+
)
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
|
+
@validate_call
|
|
1055
|
+
def get_analytic_profile_detail_without_preload_content(
|
|
1056
|
+
self,
|
|
1057
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to retrieve details for.")],
|
|
1058
|
+
_request_timeout: Union[
|
|
1059
|
+
None,
|
|
1060
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1061
|
+
Tuple[
|
|
1062
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1063
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1064
|
+
]
|
|
1065
|
+
] = None,
|
|
1066
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1067
|
+
_content_type: Optional[StrictStr] = None,
|
|
1068
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1069
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1070
|
+
) -> RESTResponseType:
|
|
1071
|
+
"""Retrieve the details of an analytic tenant profile
|
|
1072
|
+
|
|
1073
|
+
Get the details of an analytic tenant profile. **Note:** Administrating tenants only.
|
|
1074
|
+
|
|
1075
|
+
:param profile_id: The ID of the profile to retrieve details for. (required)
|
|
1076
|
+
:type profile_id: str
|
|
1077
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1078
|
+
number provided, it will be total request
|
|
1079
|
+
timeout. It can also be a pair (tuple) of
|
|
1080
|
+
(connection, read) timeouts.
|
|
1081
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1082
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1083
|
+
request; this effectively ignores the
|
|
1084
|
+
authentication in the spec for a single request.
|
|
1085
|
+
:type _request_auth: dict, optional
|
|
1086
|
+
:param _content_type: force content-type for the request.
|
|
1087
|
+
:type _content_type: str, Optional
|
|
1088
|
+
:param _headers: set to override the headers for a single
|
|
1089
|
+
request; this effectively ignores the headers
|
|
1090
|
+
in the spec for a single request.
|
|
1091
|
+
:type _headers: dict, optional
|
|
1092
|
+
:param _host_index: set to override the host_index for a single
|
|
1093
|
+
request; this effectively ignores the host_index
|
|
1094
|
+
in the spec for a single request.
|
|
1095
|
+
:type _host_index: int, optional
|
|
1096
|
+
:return: Returns the result object.
|
|
1097
|
+
""" # noqa: E501
|
|
1098
|
+
|
|
1099
|
+
_param = self._get_analytic_profile_detail_serialize(
|
|
1100
|
+
profile_id=profile_id,
|
|
1101
|
+
_request_auth=_request_auth,
|
|
1102
|
+
_content_type=_content_type,
|
|
1103
|
+
_headers=_headers,
|
|
1104
|
+
_host_index=_host_index
|
|
1105
|
+
)
|
|
1106
|
+
|
|
1107
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1108
|
+
'200': "ServicingProfileGetAPIResponseDTO",
|
|
1109
|
+
}
|
|
1110
|
+
response_data = self.api_client.call_api(
|
|
1111
|
+
*_param,
|
|
1112
|
+
_request_timeout=_request_timeout
|
|
1113
|
+
)
|
|
1114
|
+
return response_data.response
|
|
1115
|
+
|
|
1116
|
+
|
|
1117
|
+
def _get_analytic_profile_detail_serialize(
|
|
1118
|
+
self,
|
|
1119
|
+
profile_id,
|
|
1120
|
+
_request_auth,
|
|
1121
|
+
_content_type,
|
|
1122
|
+
_headers,
|
|
1123
|
+
_host_index,
|
|
1124
|
+
) -> RequestSerialized:
|
|
1125
|
+
|
|
1126
|
+
_host = None
|
|
1127
|
+
|
|
1128
|
+
_collection_formats: Dict[str, str] = {
|
|
1129
|
+
}
|
|
1130
|
+
|
|
1131
|
+
_path_params: Dict[str, str] = {}
|
|
1132
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1133
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1134
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1135
|
+
_files: Dict[
|
|
1136
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1137
|
+
] = {}
|
|
1138
|
+
_body_params: Optional[bytes] = None
|
|
1139
|
+
|
|
1140
|
+
# process the path parameters
|
|
1141
|
+
if profile_id is not None:
|
|
1142
|
+
_path_params['profileId'] = profile_id
|
|
1143
|
+
# process the query parameters
|
|
1144
|
+
# process the header parameters
|
|
1145
|
+
# process the form parameters
|
|
1146
|
+
# process the body parameter
|
|
1147
|
+
|
|
1148
|
+
|
|
1149
|
+
# set the HTTP header `Accept`
|
|
1150
|
+
if 'Accept' not in _header_params:
|
|
1151
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1152
|
+
[
|
|
1153
|
+
'application/json'
|
|
1154
|
+
]
|
|
1155
|
+
)
|
|
1156
|
+
|
|
1157
|
+
|
|
1158
|
+
# authentication setting
|
|
1159
|
+
_auth_settings: List[str] = [
|
|
1160
|
+
'CookieAuth',
|
|
1161
|
+
'ApiKeyAuth',
|
|
1162
|
+
'OAuth2Auth',
|
|
1163
|
+
'OAuth2Auth',
|
|
1164
|
+
'BearerAuth'
|
|
1165
|
+
]
|
|
1166
|
+
|
|
1167
|
+
return self.api_client.param_serialize(
|
|
1168
|
+
method='GET',
|
|
1169
|
+
resource_path='/v1/admin/profiles/accessible-tenants/{profileId}',
|
|
1170
|
+
path_params=_path_params,
|
|
1171
|
+
query_params=_query_params,
|
|
1172
|
+
header_params=_header_params,
|
|
1173
|
+
body=_body_params,
|
|
1174
|
+
post_params=_form_params,
|
|
1175
|
+
files=_files,
|
|
1176
|
+
auth_settings=_auth_settings,
|
|
1177
|
+
collection_formats=_collection_formats,
|
|
1178
|
+
_host=_host,
|
|
1179
|
+
_request_auth=_request_auth
|
|
1180
|
+
)
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
@validate_call
|
|
1186
|
+
def get_analytic_profiles(
|
|
1187
|
+
self,
|
|
1188
|
+
_request_timeout: Union[
|
|
1189
|
+
None,
|
|
1190
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1191
|
+
Tuple[
|
|
1192
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1193
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1194
|
+
]
|
|
1195
|
+
] = None,
|
|
1196
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1197
|
+
_content_type: Optional[StrictStr] = None,
|
|
1198
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1199
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1200
|
+
) -> ServicingProfilesGetAPIResponseDTO:
|
|
1201
|
+
"""Retrieve a list of analytic tenant profiles
|
|
1202
|
+
|
|
1203
|
+
Retrieve a list of profiles available for analytic tenants. **Note:** Administrating tenants only.
|
|
1204
|
+
|
|
1205
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1206
|
+
number provided, it will be total request
|
|
1207
|
+
timeout. It can also be a pair (tuple) of
|
|
1208
|
+
(connection, read) timeouts.
|
|
1209
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1210
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1211
|
+
request; this effectively ignores the
|
|
1212
|
+
authentication in the spec for a single request.
|
|
1213
|
+
:type _request_auth: dict, optional
|
|
1214
|
+
:param _content_type: force content-type for the request.
|
|
1215
|
+
:type _content_type: str, Optional
|
|
1216
|
+
:param _headers: set to override the headers for a single
|
|
1217
|
+
request; this effectively ignores the headers
|
|
1218
|
+
in the spec for a single request.
|
|
1219
|
+
:type _headers: dict, optional
|
|
1220
|
+
:param _host_index: set to override the host_index for a single
|
|
1221
|
+
request; this effectively ignores the host_index
|
|
1222
|
+
in the spec for a single request.
|
|
1223
|
+
:type _host_index: int, optional
|
|
1224
|
+
:return: Returns the result object.
|
|
1225
|
+
""" # noqa: E501
|
|
1226
|
+
|
|
1227
|
+
_param = self._get_analytic_profiles_serialize(
|
|
1228
|
+
_request_auth=_request_auth,
|
|
1229
|
+
_content_type=_content_type,
|
|
1230
|
+
_headers=_headers,
|
|
1231
|
+
_host_index=_host_index
|
|
1232
|
+
)
|
|
1233
|
+
|
|
1234
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1235
|
+
'200': "ServicingProfilesGetAPIResponseDTO",
|
|
1236
|
+
}
|
|
1237
|
+
response_data = self.api_client.call_api(
|
|
1238
|
+
*_param,
|
|
1239
|
+
_request_timeout=_request_timeout
|
|
1240
|
+
)
|
|
1241
|
+
response_data.read()
|
|
1242
|
+
return self.api_client.response_deserialize(
|
|
1243
|
+
response_data=response_data,
|
|
1244
|
+
response_types_map=_response_types_map,
|
|
1245
|
+
).data
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
@validate_call
|
|
1249
|
+
def get_analytic_profiles_with_http_info(
|
|
1250
|
+
self,
|
|
1251
|
+
_request_timeout: Union[
|
|
1252
|
+
None,
|
|
1253
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1254
|
+
Tuple[
|
|
1255
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1256
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1257
|
+
]
|
|
1258
|
+
] = None,
|
|
1259
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1260
|
+
_content_type: Optional[StrictStr] = None,
|
|
1261
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1262
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1263
|
+
) -> ApiResponse[ServicingProfilesGetAPIResponseDTO]:
|
|
1264
|
+
"""Retrieve a list of analytic tenant profiles
|
|
1265
|
+
|
|
1266
|
+
Retrieve a list of profiles available for analytic tenants. **Note:** Administrating tenants only.
|
|
1267
|
+
|
|
1268
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1269
|
+
number provided, it will be total request
|
|
1270
|
+
timeout. It can also be a pair (tuple) of
|
|
1271
|
+
(connection, read) timeouts.
|
|
1272
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1273
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1274
|
+
request; this effectively ignores the
|
|
1275
|
+
authentication in the spec for a single request.
|
|
1276
|
+
:type _request_auth: dict, optional
|
|
1277
|
+
:param _content_type: force content-type for the request.
|
|
1278
|
+
:type _content_type: str, Optional
|
|
1279
|
+
:param _headers: set to override the headers for a single
|
|
1280
|
+
request; this effectively ignores the headers
|
|
1281
|
+
in the spec for a single request.
|
|
1282
|
+
:type _headers: dict, optional
|
|
1283
|
+
:param _host_index: set to override the host_index for a single
|
|
1284
|
+
request; this effectively ignores the host_index
|
|
1285
|
+
in the spec for a single request.
|
|
1286
|
+
:type _host_index: int, optional
|
|
1287
|
+
:return: Returns the result object.
|
|
1288
|
+
""" # noqa: E501
|
|
1289
|
+
|
|
1290
|
+
_param = self._get_analytic_profiles_serialize(
|
|
1291
|
+
_request_auth=_request_auth,
|
|
1292
|
+
_content_type=_content_type,
|
|
1293
|
+
_headers=_headers,
|
|
1294
|
+
_host_index=_host_index
|
|
1295
|
+
)
|
|
1296
|
+
|
|
1297
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1298
|
+
'200': "ServicingProfilesGetAPIResponseDTO",
|
|
1299
|
+
}
|
|
1300
|
+
response_data = self.api_client.call_api(
|
|
1301
|
+
*_param,
|
|
1302
|
+
_request_timeout=_request_timeout
|
|
1303
|
+
)
|
|
1304
|
+
response_data.read()
|
|
1305
|
+
return self.api_client.response_deserialize(
|
|
1306
|
+
response_data=response_data,
|
|
1307
|
+
response_types_map=_response_types_map,
|
|
1308
|
+
)
|
|
1309
|
+
|
|
1310
|
+
|
|
1311
|
+
@validate_call
|
|
1312
|
+
def get_analytic_profiles_without_preload_content(
|
|
1313
|
+
self,
|
|
1314
|
+
_request_timeout: Union[
|
|
1315
|
+
None,
|
|
1316
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1317
|
+
Tuple[
|
|
1318
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1319
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1320
|
+
]
|
|
1321
|
+
] = None,
|
|
1322
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1323
|
+
_content_type: Optional[StrictStr] = None,
|
|
1324
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1325
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1326
|
+
) -> RESTResponseType:
|
|
1327
|
+
"""Retrieve a list of analytic tenant profiles
|
|
1328
|
+
|
|
1329
|
+
Retrieve a list of profiles available for analytic tenants. **Note:** Administrating tenants only.
|
|
1330
|
+
|
|
1331
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1332
|
+
number provided, it will be total request
|
|
1333
|
+
timeout. It can also be a pair (tuple) of
|
|
1334
|
+
(connection, read) timeouts.
|
|
1335
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1336
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1337
|
+
request; this effectively ignores the
|
|
1338
|
+
authentication in the spec for a single request.
|
|
1339
|
+
:type _request_auth: dict, optional
|
|
1340
|
+
:param _content_type: force content-type for the request.
|
|
1341
|
+
:type _content_type: str, Optional
|
|
1342
|
+
:param _headers: set to override the headers for a single
|
|
1343
|
+
request; this effectively ignores the headers
|
|
1344
|
+
in the spec for a single request.
|
|
1345
|
+
:type _headers: dict, optional
|
|
1346
|
+
:param _host_index: set to override the host_index for a single
|
|
1347
|
+
request; this effectively ignores the host_index
|
|
1348
|
+
in the spec for a single request.
|
|
1349
|
+
:type _host_index: int, optional
|
|
1350
|
+
:return: Returns the result object.
|
|
1351
|
+
""" # noqa: E501
|
|
1352
|
+
|
|
1353
|
+
_param = self._get_analytic_profiles_serialize(
|
|
1354
|
+
_request_auth=_request_auth,
|
|
1355
|
+
_content_type=_content_type,
|
|
1356
|
+
_headers=_headers,
|
|
1357
|
+
_host_index=_host_index
|
|
1358
|
+
)
|
|
1359
|
+
|
|
1360
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1361
|
+
'200': "ServicingProfilesGetAPIResponseDTO",
|
|
1362
|
+
}
|
|
1363
|
+
response_data = self.api_client.call_api(
|
|
1364
|
+
*_param,
|
|
1365
|
+
_request_timeout=_request_timeout
|
|
1366
|
+
)
|
|
1367
|
+
return response_data.response
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
def _get_analytic_profiles_serialize(
|
|
1371
|
+
self,
|
|
1372
|
+
_request_auth,
|
|
1373
|
+
_content_type,
|
|
1374
|
+
_headers,
|
|
1375
|
+
_host_index,
|
|
1376
|
+
) -> RequestSerialized:
|
|
1377
|
+
|
|
1378
|
+
_host = None
|
|
1379
|
+
|
|
1380
|
+
_collection_formats: Dict[str, str] = {
|
|
1381
|
+
}
|
|
1382
|
+
|
|
1383
|
+
_path_params: Dict[str, str] = {}
|
|
1384
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1385
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1386
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1387
|
+
_files: Dict[
|
|
1388
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1389
|
+
] = {}
|
|
1390
|
+
_body_params: Optional[bytes] = None
|
|
1391
|
+
|
|
1392
|
+
# process the path parameters
|
|
1393
|
+
# process the query parameters
|
|
1394
|
+
# process the header parameters
|
|
1395
|
+
# process the form parameters
|
|
1396
|
+
# process the body parameter
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
# set the HTTP header `Accept`
|
|
1400
|
+
if 'Accept' not in _header_params:
|
|
1401
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1402
|
+
[
|
|
1403
|
+
'application/json'
|
|
1404
|
+
]
|
|
1405
|
+
)
|
|
1406
|
+
|
|
1407
|
+
|
|
1408
|
+
# authentication setting
|
|
1409
|
+
_auth_settings: List[str] = [
|
|
1410
|
+
'CookieAuth',
|
|
1411
|
+
'ApiKeyAuth',
|
|
1412
|
+
'OAuth2Auth',
|
|
1413
|
+
'OAuth2Auth',
|
|
1414
|
+
'BearerAuth'
|
|
1415
|
+
]
|
|
1416
|
+
|
|
1417
|
+
return self.api_client.param_serialize(
|
|
1418
|
+
method='GET',
|
|
1419
|
+
resource_path='/v1/admin/profiles/accessible-tenants',
|
|
1420
|
+
path_params=_path_params,
|
|
1421
|
+
query_params=_query_params,
|
|
1422
|
+
header_params=_header_params,
|
|
1423
|
+
body=_body_params,
|
|
1424
|
+
post_params=_form_params,
|
|
1425
|
+
files=_files,
|
|
1426
|
+
auth_settings=_auth_settings,
|
|
1427
|
+
collection_formats=_collection_formats,
|
|
1428
|
+
_host=_host,
|
|
1429
|
+
_request_auth=_request_auth
|
|
1430
|
+
)
|
|
1431
|
+
|
|
1432
|
+
|
|
1433
|
+
|
|
1434
|
+
|
|
1435
|
+
@validate_call
|
|
1436
|
+
def get_analytic_user_profile(
|
|
1437
|
+
self,
|
|
1438
|
+
user_id: Annotated[StrictStr, Field(description="The ID of the user you want to retrieve.")],
|
|
1439
|
+
_request_timeout: Union[
|
|
1440
|
+
None,
|
|
1441
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1442
|
+
Tuple[
|
|
1443
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1444
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1445
|
+
]
|
|
1446
|
+
] = None,
|
|
1447
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1448
|
+
_content_type: Optional[StrictStr] = None,
|
|
1449
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1450
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1451
|
+
) -> ServicingAllProfileAssignedForAccessibleTenantDTO:
|
|
1452
|
+
"""Retrieve an administrating tenant user's analytic tenant profiles
|
|
1453
|
+
|
|
1454
|
+
Retrieve a specified user's assigned profiles for analytic tenants. **Note:** Administrating tenants only.
|
|
1455
|
+
|
|
1456
|
+
:param user_id: The ID of the user you want to retrieve. (required)
|
|
1457
|
+
:type user_id: str
|
|
1458
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1459
|
+
number provided, it will be total request
|
|
1460
|
+
timeout. It can also be a pair (tuple) of
|
|
1461
|
+
(connection, read) timeouts.
|
|
1462
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1463
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1464
|
+
request; this effectively ignores the
|
|
1465
|
+
authentication in the spec for a single request.
|
|
1466
|
+
:type _request_auth: dict, optional
|
|
1467
|
+
:param _content_type: force content-type for the request.
|
|
1468
|
+
:type _content_type: str, Optional
|
|
1469
|
+
:param _headers: set to override the headers for a single
|
|
1470
|
+
request; this effectively ignores the headers
|
|
1471
|
+
in the spec for a single request.
|
|
1472
|
+
:type _headers: dict, optional
|
|
1473
|
+
:param _host_index: set to override the host_index for a single
|
|
1474
|
+
request; this effectively ignores the host_index
|
|
1475
|
+
in the spec for a single request.
|
|
1476
|
+
:type _host_index: int, optional
|
|
1477
|
+
:return: Returns the result object.
|
|
1478
|
+
""" # noqa: E501
|
|
1479
|
+
|
|
1480
|
+
_param = self._get_analytic_user_profile_serialize(
|
|
1481
|
+
user_id=user_id,
|
|
1482
|
+
_request_auth=_request_auth,
|
|
1483
|
+
_content_type=_content_type,
|
|
1484
|
+
_headers=_headers,
|
|
1485
|
+
_host_index=_host_index
|
|
1486
|
+
)
|
|
1487
|
+
|
|
1488
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1489
|
+
'200': "ServicingAllProfileAssignedForAccessibleTenantDTO",
|
|
1490
|
+
}
|
|
1491
|
+
response_data = self.api_client.call_api(
|
|
1492
|
+
*_param,
|
|
1493
|
+
_request_timeout=_request_timeout
|
|
1494
|
+
)
|
|
1495
|
+
response_data.read()
|
|
1496
|
+
return self.api_client.response_deserialize(
|
|
1497
|
+
response_data=response_data,
|
|
1498
|
+
response_types_map=_response_types_map,
|
|
1499
|
+
).data
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
@validate_call
|
|
1503
|
+
def get_analytic_user_profile_with_http_info(
|
|
1504
|
+
self,
|
|
1505
|
+
user_id: Annotated[StrictStr, Field(description="The ID of the user you want to retrieve.")],
|
|
1506
|
+
_request_timeout: Union[
|
|
1507
|
+
None,
|
|
1508
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1509
|
+
Tuple[
|
|
1510
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1511
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1512
|
+
]
|
|
1513
|
+
] = None,
|
|
1514
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1515
|
+
_content_type: Optional[StrictStr] = None,
|
|
1516
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1517
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1518
|
+
) -> ApiResponse[ServicingAllProfileAssignedForAccessibleTenantDTO]:
|
|
1519
|
+
"""Retrieve an administrating tenant user's analytic tenant profiles
|
|
1520
|
+
|
|
1521
|
+
Retrieve a specified user's assigned profiles for analytic tenants. **Note:** Administrating tenants only.
|
|
1522
|
+
|
|
1523
|
+
:param user_id: The ID of the user you want to retrieve. (required)
|
|
1524
|
+
:type user_id: str
|
|
1525
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1526
|
+
number provided, it will be total request
|
|
1527
|
+
timeout. It can also be a pair (tuple) of
|
|
1528
|
+
(connection, read) timeouts.
|
|
1529
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1530
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1531
|
+
request; this effectively ignores the
|
|
1532
|
+
authentication in the spec for a single request.
|
|
1533
|
+
:type _request_auth: dict, optional
|
|
1534
|
+
:param _content_type: force content-type for the request.
|
|
1535
|
+
:type _content_type: str, Optional
|
|
1536
|
+
:param _headers: set to override the headers for a single
|
|
1537
|
+
request; this effectively ignores the headers
|
|
1538
|
+
in the spec for a single request.
|
|
1539
|
+
:type _headers: dict, optional
|
|
1540
|
+
:param _host_index: set to override the host_index for a single
|
|
1541
|
+
request; this effectively ignores the host_index
|
|
1542
|
+
in the spec for a single request.
|
|
1543
|
+
:type _host_index: int, optional
|
|
1544
|
+
:return: Returns the result object.
|
|
1545
|
+
""" # noqa: E501
|
|
1546
|
+
|
|
1547
|
+
_param = self._get_analytic_user_profile_serialize(
|
|
1548
|
+
user_id=user_id,
|
|
1549
|
+
_request_auth=_request_auth,
|
|
1550
|
+
_content_type=_content_type,
|
|
1551
|
+
_headers=_headers,
|
|
1552
|
+
_host_index=_host_index
|
|
1553
|
+
)
|
|
1554
|
+
|
|
1555
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1556
|
+
'200': "ServicingAllProfileAssignedForAccessibleTenantDTO",
|
|
1557
|
+
}
|
|
1558
|
+
response_data = self.api_client.call_api(
|
|
1559
|
+
*_param,
|
|
1560
|
+
_request_timeout=_request_timeout
|
|
1561
|
+
)
|
|
1562
|
+
response_data.read()
|
|
1563
|
+
return self.api_client.response_deserialize(
|
|
1564
|
+
response_data=response_data,
|
|
1565
|
+
response_types_map=_response_types_map,
|
|
1566
|
+
)
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
|
+
@validate_call
|
|
1570
|
+
def get_analytic_user_profile_without_preload_content(
|
|
1571
|
+
self,
|
|
1572
|
+
user_id: Annotated[StrictStr, Field(description="The ID of the user you want to retrieve.")],
|
|
1573
|
+
_request_timeout: Union[
|
|
1574
|
+
None,
|
|
1575
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1576
|
+
Tuple[
|
|
1577
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1578
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1579
|
+
]
|
|
1580
|
+
] = None,
|
|
1581
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1582
|
+
_content_type: Optional[StrictStr] = None,
|
|
1583
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1584
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1585
|
+
) -> RESTResponseType:
|
|
1586
|
+
"""Retrieve an administrating tenant user's analytic tenant profiles
|
|
1587
|
+
|
|
1588
|
+
Retrieve a specified user's assigned profiles for analytic tenants. **Note:** Administrating tenants only.
|
|
1589
|
+
|
|
1590
|
+
:param user_id: The ID of the user you want to retrieve. (required)
|
|
1591
|
+
:type user_id: str
|
|
1592
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1593
|
+
number provided, it will be total request
|
|
1594
|
+
timeout. It can also be a pair (tuple) of
|
|
1595
|
+
(connection, read) timeouts.
|
|
1596
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1597
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1598
|
+
request; this effectively ignores the
|
|
1599
|
+
authentication in the spec for a single request.
|
|
1600
|
+
:type _request_auth: dict, optional
|
|
1601
|
+
:param _content_type: force content-type for the request.
|
|
1602
|
+
:type _content_type: str, Optional
|
|
1603
|
+
:param _headers: set to override the headers for a single
|
|
1604
|
+
request; this effectively ignores the headers
|
|
1605
|
+
in the spec for a single request.
|
|
1606
|
+
:type _headers: dict, optional
|
|
1607
|
+
:param _host_index: set to override the host_index for a single
|
|
1608
|
+
request; this effectively ignores the host_index
|
|
1609
|
+
in the spec for a single request.
|
|
1610
|
+
:type _host_index: int, optional
|
|
1611
|
+
:return: Returns the result object.
|
|
1612
|
+
""" # noqa: E501
|
|
1613
|
+
|
|
1614
|
+
_param = self._get_analytic_user_profile_serialize(
|
|
1615
|
+
user_id=user_id,
|
|
1616
|
+
_request_auth=_request_auth,
|
|
1617
|
+
_content_type=_content_type,
|
|
1618
|
+
_headers=_headers,
|
|
1619
|
+
_host_index=_host_index
|
|
1620
|
+
)
|
|
1621
|
+
|
|
1622
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1623
|
+
'200': "ServicingAllProfileAssignedForAccessibleTenantDTO",
|
|
1624
|
+
}
|
|
1625
|
+
response_data = self.api_client.call_api(
|
|
1626
|
+
*_param,
|
|
1627
|
+
_request_timeout=_request_timeout
|
|
1628
|
+
)
|
|
1629
|
+
return response_data.response
|
|
1630
|
+
|
|
1631
|
+
|
|
1632
|
+
def _get_analytic_user_profile_serialize(
|
|
1633
|
+
self,
|
|
1634
|
+
user_id,
|
|
1635
|
+
_request_auth,
|
|
1636
|
+
_content_type,
|
|
1637
|
+
_headers,
|
|
1638
|
+
_host_index,
|
|
1639
|
+
) -> RequestSerialized:
|
|
1640
|
+
|
|
1641
|
+
_host = None
|
|
1642
|
+
|
|
1643
|
+
_collection_formats: Dict[str, str] = {
|
|
1644
|
+
}
|
|
1645
|
+
|
|
1646
|
+
_path_params: Dict[str, str] = {}
|
|
1647
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1648
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1649
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1650
|
+
_files: Dict[
|
|
1651
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1652
|
+
] = {}
|
|
1653
|
+
_body_params: Optional[bytes] = None
|
|
1654
|
+
|
|
1655
|
+
# process the path parameters
|
|
1656
|
+
if user_id is not None:
|
|
1657
|
+
_path_params['userId'] = user_id
|
|
1658
|
+
# process the query parameters
|
|
1659
|
+
# process the header parameters
|
|
1660
|
+
# process the form parameters
|
|
1661
|
+
# process the body parameter
|
|
1662
|
+
|
|
1663
|
+
|
|
1664
|
+
# set the HTTP header `Accept`
|
|
1665
|
+
if 'Accept' not in _header_params:
|
|
1666
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1667
|
+
[
|
|
1668
|
+
'application/json'
|
|
1669
|
+
]
|
|
1670
|
+
)
|
|
1671
|
+
|
|
1672
|
+
|
|
1673
|
+
# authentication setting
|
|
1674
|
+
_auth_settings: List[str] = [
|
|
1675
|
+
'CookieAuth',
|
|
1676
|
+
'ApiKeyAuth',
|
|
1677
|
+
'OAuth2Auth',
|
|
1678
|
+
'OAuth2Auth',
|
|
1679
|
+
'BearerAuth'
|
|
1680
|
+
]
|
|
1681
|
+
|
|
1682
|
+
return self.api_client.param_serialize(
|
|
1683
|
+
method='GET',
|
|
1684
|
+
resource_path='/v1/admin/users/{userId}/accessible-tenant-profiles',
|
|
1685
|
+
path_params=_path_params,
|
|
1686
|
+
query_params=_query_params,
|
|
1687
|
+
header_params=_header_params,
|
|
1688
|
+
body=_body_params,
|
|
1689
|
+
post_params=_form_params,
|
|
1690
|
+
files=_files,
|
|
1691
|
+
auth_settings=_auth_settings,
|
|
1692
|
+
collection_formats=_collection_formats,
|
|
1693
|
+
_host=_host,
|
|
1694
|
+
_request_auth=_request_auth
|
|
1695
|
+
)
|
|
1696
|
+
|
|
1697
|
+
|
|
1698
|
+
|
|
1699
|
+
|
|
1700
|
+
@validate_call
|
|
1701
|
+
def get_profile_detail(
|
|
1702
|
+
self,
|
|
1703
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to retrieve details for.")],
|
|
1704
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1705
|
+
_request_timeout: Union[
|
|
1706
|
+
None,
|
|
1707
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1708
|
+
Tuple[
|
|
1709
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1710
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1711
|
+
]
|
|
1712
|
+
] = None,
|
|
1713
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1714
|
+
_content_type: Optional[StrictStr] = None,
|
|
1715
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1716
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1717
|
+
) -> ServicingProfileGetAPIResponseDTO:
|
|
1718
|
+
"""Retrieve the details of a profile
|
|
1719
|
+
|
|
1720
|
+
Get the details of a specific profile. For administrating tenants, this retrieves the details of administrating tenant profiles.
|
|
1721
|
+
|
|
1722
|
+
:param profile_id: The ID of the profile to retrieve details for. (required)
|
|
1723
|
+
:type profile_id: str
|
|
1724
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1725
|
+
:type target_tenant_id: str
|
|
1726
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1727
|
+
number provided, it will be total request
|
|
1728
|
+
timeout. It can also be a pair (tuple) of
|
|
1729
|
+
(connection, read) timeouts.
|
|
1730
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1731
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1732
|
+
request; this effectively ignores the
|
|
1733
|
+
authentication in the spec for a single request.
|
|
1734
|
+
:type _request_auth: dict, optional
|
|
1735
|
+
:param _content_type: force content-type for the request.
|
|
1736
|
+
:type _content_type: str, Optional
|
|
1737
|
+
:param _headers: set to override the headers for a single
|
|
1738
|
+
request; this effectively ignores the headers
|
|
1739
|
+
in the spec for a single request.
|
|
1740
|
+
:type _headers: dict, optional
|
|
1741
|
+
:param _host_index: set to override the host_index for a single
|
|
1742
|
+
request; this effectively ignores the host_index
|
|
1743
|
+
in the spec for a single request.
|
|
1744
|
+
:type _host_index: int, optional
|
|
1745
|
+
:return: Returns the result object.
|
|
1746
|
+
""" # noqa: E501
|
|
1747
|
+
|
|
1748
|
+
_param = self._get_profile_detail_serialize(
|
|
1749
|
+
profile_id=profile_id,
|
|
1750
|
+
target_tenant_id=target_tenant_id,
|
|
1751
|
+
_request_auth=_request_auth,
|
|
1752
|
+
_content_type=_content_type,
|
|
1753
|
+
_headers=_headers,
|
|
1754
|
+
_host_index=_host_index
|
|
1755
|
+
)
|
|
1756
|
+
|
|
1757
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1758
|
+
'200': "ServicingProfileGetAPIResponseDTO",
|
|
1759
|
+
}
|
|
1760
|
+
response_data = self.api_client.call_api(
|
|
1761
|
+
*_param,
|
|
1762
|
+
_request_timeout=_request_timeout
|
|
1763
|
+
)
|
|
1764
|
+
response_data.read()
|
|
1765
|
+
return self.api_client.response_deserialize(
|
|
1766
|
+
response_data=response_data,
|
|
1767
|
+
response_types_map=_response_types_map,
|
|
1768
|
+
).data
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
@validate_call
|
|
1772
|
+
def get_profile_detail_with_http_info(
|
|
1773
|
+
self,
|
|
1774
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to retrieve details for.")],
|
|
1775
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1776
|
+
_request_timeout: Union[
|
|
1777
|
+
None,
|
|
1778
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1779
|
+
Tuple[
|
|
1780
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1781
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1782
|
+
]
|
|
1783
|
+
] = None,
|
|
1784
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1785
|
+
_content_type: Optional[StrictStr] = None,
|
|
1786
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1787
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1788
|
+
) -> ApiResponse[ServicingProfileGetAPIResponseDTO]:
|
|
1789
|
+
"""Retrieve the details of a profile
|
|
1790
|
+
|
|
1791
|
+
Get the details of a specific profile. For administrating tenants, this retrieves the details of administrating tenant profiles.
|
|
1792
|
+
|
|
1793
|
+
:param profile_id: The ID of the profile to retrieve details for. (required)
|
|
1794
|
+
:type profile_id: str
|
|
1795
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1796
|
+
:type target_tenant_id: str
|
|
1797
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1798
|
+
number provided, it will be total request
|
|
1799
|
+
timeout. It can also be a pair (tuple) of
|
|
1800
|
+
(connection, read) timeouts.
|
|
1801
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1802
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1803
|
+
request; this effectively ignores the
|
|
1804
|
+
authentication in the spec for a single request.
|
|
1805
|
+
:type _request_auth: dict, optional
|
|
1806
|
+
:param _content_type: force content-type for the request.
|
|
1807
|
+
:type _content_type: str, Optional
|
|
1808
|
+
:param _headers: set to override the headers for a single
|
|
1809
|
+
request; this effectively ignores the headers
|
|
1810
|
+
in the spec for a single request.
|
|
1811
|
+
:type _headers: dict, optional
|
|
1812
|
+
:param _host_index: set to override the host_index for a single
|
|
1813
|
+
request; this effectively ignores the host_index
|
|
1814
|
+
in the spec for a single request.
|
|
1815
|
+
:type _host_index: int, optional
|
|
1816
|
+
:return: Returns the result object.
|
|
1817
|
+
""" # noqa: E501
|
|
1818
|
+
|
|
1819
|
+
_param = self._get_profile_detail_serialize(
|
|
1820
|
+
profile_id=profile_id,
|
|
1821
|
+
target_tenant_id=target_tenant_id,
|
|
1822
|
+
_request_auth=_request_auth,
|
|
1823
|
+
_content_type=_content_type,
|
|
1824
|
+
_headers=_headers,
|
|
1825
|
+
_host_index=_host_index
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1829
|
+
'200': "ServicingProfileGetAPIResponseDTO",
|
|
1830
|
+
}
|
|
1831
|
+
response_data = self.api_client.call_api(
|
|
1832
|
+
*_param,
|
|
1833
|
+
_request_timeout=_request_timeout
|
|
1834
|
+
)
|
|
1835
|
+
response_data.read()
|
|
1836
|
+
return self.api_client.response_deserialize(
|
|
1837
|
+
response_data=response_data,
|
|
1838
|
+
response_types_map=_response_types_map,
|
|
1839
|
+
)
|
|
1840
|
+
|
|
1841
|
+
|
|
1842
|
+
@validate_call
|
|
1843
|
+
def get_profile_detail_without_preload_content(
|
|
1844
|
+
self,
|
|
1845
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to retrieve details for.")],
|
|
1846
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1847
|
+
_request_timeout: Union[
|
|
1848
|
+
None,
|
|
1849
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1850
|
+
Tuple[
|
|
1851
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1852
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1853
|
+
]
|
|
1854
|
+
] = None,
|
|
1855
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1856
|
+
_content_type: Optional[StrictStr] = None,
|
|
1857
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1858
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1859
|
+
) -> RESTResponseType:
|
|
1860
|
+
"""Retrieve the details of a profile
|
|
1861
|
+
|
|
1862
|
+
Get the details of a specific profile. For administrating tenants, this retrieves the details of administrating tenant profiles.
|
|
1863
|
+
|
|
1864
|
+
:param profile_id: The ID of the profile to retrieve details for. (required)
|
|
1865
|
+
:type profile_id: str
|
|
1866
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
1867
|
+
:type target_tenant_id: str
|
|
1868
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1869
|
+
number provided, it will be total request
|
|
1870
|
+
timeout. It can also be a pair (tuple) of
|
|
1871
|
+
(connection, read) timeouts.
|
|
1872
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1873
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1874
|
+
request; this effectively ignores the
|
|
1875
|
+
authentication in the spec for a single request.
|
|
1876
|
+
:type _request_auth: dict, optional
|
|
1877
|
+
:param _content_type: force content-type for the request.
|
|
1878
|
+
:type _content_type: str, Optional
|
|
1879
|
+
:param _headers: set to override the headers for a single
|
|
1880
|
+
request; this effectively ignores the headers
|
|
1881
|
+
in the spec for a single request.
|
|
1882
|
+
:type _headers: dict, optional
|
|
1883
|
+
:param _host_index: set to override the host_index for a single
|
|
1884
|
+
request; this effectively ignores the host_index
|
|
1885
|
+
in the spec for a single request.
|
|
1886
|
+
:type _host_index: int, optional
|
|
1887
|
+
:return: Returns the result object.
|
|
1888
|
+
""" # noqa: E501
|
|
1889
|
+
|
|
1890
|
+
_param = self._get_profile_detail_serialize(
|
|
1891
|
+
profile_id=profile_id,
|
|
1892
|
+
target_tenant_id=target_tenant_id,
|
|
1893
|
+
_request_auth=_request_auth,
|
|
1894
|
+
_content_type=_content_type,
|
|
1895
|
+
_headers=_headers,
|
|
1896
|
+
_host_index=_host_index
|
|
1897
|
+
)
|
|
1898
|
+
|
|
1899
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1900
|
+
'200': "ServicingProfileGetAPIResponseDTO",
|
|
1901
|
+
}
|
|
1902
|
+
response_data = self.api_client.call_api(
|
|
1903
|
+
*_param,
|
|
1904
|
+
_request_timeout=_request_timeout
|
|
1905
|
+
)
|
|
1906
|
+
return response_data.response
|
|
1907
|
+
|
|
1908
|
+
|
|
1909
|
+
def _get_profile_detail_serialize(
|
|
1910
|
+
self,
|
|
1911
|
+
profile_id,
|
|
1912
|
+
target_tenant_id,
|
|
1913
|
+
_request_auth,
|
|
1914
|
+
_content_type,
|
|
1915
|
+
_headers,
|
|
1916
|
+
_host_index,
|
|
1917
|
+
) -> RequestSerialized:
|
|
1918
|
+
|
|
1919
|
+
_host = None
|
|
1920
|
+
|
|
1921
|
+
_collection_formats: Dict[str, str] = {
|
|
1922
|
+
}
|
|
1923
|
+
|
|
1924
|
+
_path_params: Dict[str, str] = {}
|
|
1925
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1926
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1927
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1928
|
+
_files: Dict[
|
|
1929
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1930
|
+
] = {}
|
|
1931
|
+
_body_params: Optional[bytes] = None
|
|
1932
|
+
|
|
1933
|
+
# process the path parameters
|
|
1934
|
+
if profile_id is not None:
|
|
1935
|
+
_path_params['profileId'] = profile_id
|
|
1936
|
+
# process the query parameters
|
|
1937
|
+
# process the header parameters
|
|
1938
|
+
if target_tenant_id is not None:
|
|
1939
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1940
|
+
# process the form parameters
|
|
1941
|
+
# process the body parameter
|
|
1942
|
+
|
|
1943
|
+
|
|
1944
|
+
# set the HTTP header `Accept`
|
|
1945
|
+
if 'Accept' not in _header_params:
|
|
1946
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1947
|
+
[
|
|
1948
|
+
'application/json'
|
|
1949
|
+
]
|
|
1950
|
+
)
|
|
1951
|
+
|
|
1952
|
+
|
|
1953
|
+
# authentication setting
|
|
1954
|
+
_auth_settings: List[str] = [
|
|
1955
|
+
'CookieAuth',
|
|
1956
|
+
'ApiKeyAuth',
|
|
1957
|
+
'OAuth2Auth',
|
|
1958
|
+
'OAuth2Auth',
|
|
1959
|
+
'BearerAuth'
|
|
1960
|
+
]
|
|
1961
|
+
|
|
1962
|
+
return self.api_client.param_serialize(
|
|
1963
|
+
method='GET',
|
|
1964
|
+
resource_path='/v1/admin/profiles/{profileId}',
|
|
1965
|
+
path_params=_path_params,
|
|
1966
|
+
query_params=_query_params,
|
|
1967
|
+
header_params=_header_params,
|
|
1968
|
+
body=_body_params,
|
|
1969
|
+
post_params=_form_params,
|
|
1970
|
+
files=_files,
|
|
1971
|
+
auth_settings=_auth_settings,
|
|
1972
|
+
collection_formats=_collection_formats,
|
|
1973
|
+
_host=_host,
|
|
1974
|
+
_request_auth=_request_auth
|
|
1975
|
+
)
|
|
1976
|
+
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
|
|
1980
|
+
@validate_call
|
|
1981
|
+
def get_user_profile(
|
|
1982
|
+
self,
|
|
1983
|
+
user_id: Annotated[StrictStr, Field(description="The ID of the user you want to retrieve.")],
|
|
1984
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
1985
|
+
_request_timeout: Union[
|
|
1986
|
+
None,
|
|
1987
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1988
|
+
Tuple[
|
|
1989
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1990
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1991
|
+
]
|
|
1992
|
+
] = None,
|
|
1993
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1994
|
+
_content_type: Optional[StrictStr] = None,
|
|
1995
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1996
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1997
|
+
) -> ServicingAllProfileAssignedForLocalTenantDTO:
|
|
1998
|
+
"""Retrieve a user's profiles
|
|
1999
|
+
|
|
2000
|
+
Retrieve a specified user's assigned profiles. For administrating tenants, this retrieves a user's administrating tenant profiles.
|
|
2001
|
+
|
|
2002
|
+
:param user_id: The ID of the user you want to retrieve. (required)
|
|
2003
|
+
:type user_id: str
|
|
2004
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2005
|
+
:type target_tenant_id: str
|
|
2006
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2007
|
+
number provided, it will be total request
|
|
2008
|
+
timeout. It can also be a pair (tuple) of
|
|
2009
|
+
(connection, read) timeouts.
|
|
2010
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2011
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2012
|
+
request; this effectively ignores the
|
|
2013
|
+
authentication in the spec for a single request.
|
|
2014
|
+
:type _request_auth: dict, optional
|
|
2015
|
+
:param _content_type: force content-type for the request.
|
|
2016
|
+
:type _content_type: str, Optional
|
|
2017
|
+
:param _headers: set to override the headers for a single
|
|
2018
|
+
request; this effectively ignores the headers
|
|
2019
|
+
in the spec for a single request.
|
|
2020
|
+
:type _headers: dict, optional
|
|
2021
|
+
:param _host_index: set to override the host_index for a single
|
|
2022
|
+
request; this effectively ignores the host_index
|
|
2023
|
+
in the spec for a single request.
|
|
2024
|
+
:type _host_index: int, optional
|
|
2025
|
+
:return: Returns the result object.
|
|
2026
|
+
""" # noqa: E501
|
|
2027
|
+
|
|
2028
|
+
_param = self._get_user_profile_serialize(
|
|
2029
|
+
user_id=user_id,
|
|
2030
|
+
target_tenant_id=target_tenant_id,
|
|
2031
|
+
_request_auth=_request_auth,
|
|
2032
|
+
_content_type=_content_type,
|
|
2033
|
+
_headers=_headers,
|
|
2034
|
+
_host_index=_host_index
|
|
2035
|
+
)
|
|
2036
|
+
|
|
2037
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2038
|
+
'200': "ServicingAllProfileAssignedForLocalTenantDTO",
|
|
2039
|
+
}
|
|
2040
|
+
response_data = self.api_client.call_api(
|
|
2041
|
+
*_param,
|
|
2042
|
+
_request_timeout=_request_timeout
|
|
2043
|
+
)
|
|
2044
|
+
response_data.read()
|
|
2045
|
+
return self.api_client.response_deserialize(
|
|
2046
|
+
response_data=response_data,
|
|
2047
|
+
response_types_map=_response_types_map,
|
|
2048
|
+
).data
|
|
2049
|
+
|
|
2050
|
+
|
|
2051
|
+
@validate_call
|
|
2052
|
+
def get_user_profile_with_http_info(
|
|
2053
|
+
self,
|
|
2054
|
+
user_id: Annotated[StrictStr, Field(description="The ID of the user you want to retrieve.")],
|
|
2055
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2056
|
+
_request_timeout: Union[
|
|
2057
|
+
None,
|
|
2058
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2059
|
+
Tuple[
|
|
2060
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2061
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2062
|
+
]
|
|
2063
|
+
] = None,
|
|
2064
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2065
|
+
_content_type: Optional[StrictStr] = None,
|
|
2066
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2067
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2068
|
+
) -> ApiResponse[ServicingAllProfileAssignedForLocalTenantDTO]:
|
|
2069
|
+
"""Retrieve a user's profiles
|
|
2070
|
+
|
|
2071
|
+
Retrieve a specified user's assigned profiles. For administrating tenants, this retrieves a user's administrating tenant profiles.
|
|
2072
|
+
|
|
2073
|
+
:param user_id: The ID of the user you want to retrieve. (required)
|
|
2074
|
+
:type user_id: str
|
|
2075
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2076
|
+
:type target_tenant_id: str
|
|
2077
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2078
|
+
number provided, it will be total request
|
|
2079
|
+
timeout. It can also be a pair (tuple) of
|
|
2080
|
+
(connection, read) timeouts.
|
|
2081
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2082
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2083
|
+
request; this effectively ignores the
|
|
2084
|
+
authentication in the spec for a single request.
|
|
2085
|
+
:type _request_auth: dict, optional
|
|
2086
|
+
:param _content_type: force content-type for the request.
|
|
2087
|
+
:type _content_type: str, Optional
|
|
2088
|
+
:param _headers: set to override the headers for a single
|
|
2089
|
+
request; this effectively ignores the headers
|
|
2090
|
+
in the spec for a single request.
|
|
2091
|
+
:type _headers: dict, optional
|
|
2092
|
+
:param _host_index: set to override the host_index for a single
|
|
2093
|
+
request; this effectively ignores the host_index
|
|
2094
|
+
in the spec for a single request.
|
|
2095
|
+
:type _host_index: int, optional
|
|
2096
|
+
:return: Returns the result object.
|
|
2097
|
+
""" # noqa: E501
|
|
2098
|
+
|
|
2099
|
+
_param = self._get_user_profile_serialize(
|
|
2100
|
+
user_id=user_id,
|
|
2101
|
+
target_tenant_id=target_tenant_id,
|
|
2102
|
+
_request_auth=_request_auth,
|
|
2103
|
+
_content_type=_content_type,
|
|
2104
|
+
_headers=_headers,
|
|
2105
|
+
_host_index=_host_index
|
|
2106
|
+
)
|
|
2107
|
+
|
|
2108
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2109
|
+
'200': "ServicingAllProfileAssignedForLocalTenantDTO",
|
|
2110
|
+
}
|
|
2111
|
+
response_data = self.api_client.call_api(
|
|
2112
|
+
*_param,
|
|
2113
|
+
_request_timeout=_request_timeout
|
|
2114
|
+
)
|
|
2115
|
+
response_data.read()
|
|
2116
|
+
return self.api_client.response_deserialize(
|
|
2117
|
+
response_data=response_data,
|
|
2118
|
+
response_types_map=_response_types_map,
|
|
2119
|
+
)
|
|
2120
|
+
|
|
2121
|
+
|
|
2122
|
+
@validate_call
|
|
2123
|
+
def get_user_profile_without_preload_content(
|
|
2124
|
+
self,
|
|
2125
|
+
user_id: Annotated[StrictStr, Field(description="The ID of the user you want to retrieve.")],
|
|
2126
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2127
|
+
_request_timeout: Union[
|
|
2128
|
+
None,
|
|
2129
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2130
|
+
Tuple[
|
|
2131
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2132
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2133
|
+
]
|
|
2134
|
+
] = None,
|
|
2135
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2136
|
+
_content_type: Optional[StrictStr] = None,
|
|
2137
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2138
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2139
|
+
) -> RESTResponseType:
|
|
2140
|
+
"""Retrieve a user's profiles
|
|
2141
|
+
|
|
2142
|
+
Retrieve a specified user's assigned profiles. For administrating tenants, this retrieves a user's administrating tenant profiles.
|
|
2143
|
+
|
|
2144
|
+
:param user_id: The ID of the user you want to retrieve. (required)
|
|
2145
|
+
:type user_id: str
|
|
2146
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2147
|
+
:type target_tenant_id: str
|
|
2148
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2149
|
+
number provided, it will be total request
|
|
2150
|
+
timeout. It can also be a pair (tuple) of
|
|
2151
|
+
(connection, read) timeouts.
|
|
2152
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2153
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2154
|
+
request; this effectively ignores the
|
|
2155
|
+
authentication in the spec for a single request.
|
|
2156
|
+
:type _request_auth: dict, optional
|
|
2157
|
+
:param _content_type: force content-type for the request.
|
|
2158
|
+
:type _content_type: str, Optional
|
|
2159
|
+
:param _headers: set to override the headers for a single
|
|
2160
|
+
request; this effectively ignores the headers
|
|
2161
|
+
in the spec for a single request.
|
|
2162
|
+
:type _headers: dict, optional
|
|
2163
|
+
:param _host_index: set to override the host_index for a single
|
|
2164
|
+
request; this effectively ignores the host_index
|
|
2165
|
+
in the spec for a single request.
|
|
2166
|
+
:type _host_index: int, optional
|
|
2167
|
+
:return: Returns the result object.
|
|
2168
|
+
""" # noqa: E501
|
|
2169
|
+
|
|
2170
|
+
_param = self._get_user_profile_serialize(
|
|
2171
|
+
user_id=user_id,
|
|
2172
|
+
target_tenant_id=target_tenant_id,
|
|
2173
|
+
_request_auth=_request_auth,
|
|
2174
|
+
_content_type=_content_type,
|
|
2175
|
+
_headers=_headers,
|
|
2176
|
+
_host_index=_host_index
|
|
2177
|
+
)
|
|
2178
|
+
|
|
2179
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2180
|
+
'200': "ServicingAllProfileAssignedForLocalTenantDTO",
|
|
2181
|
+
}
|
|
2182
|
+
response_data = self.api_client.call_api(
|
|
2183
|
+
*_param,
|
|
2184
|
+
_request_timeout=_request_timeout
|
|
2185
|
+
)
|
|
2186
|
+
return response_data.response
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
def _get_user_profile_serialize(
|
|
2190
|
+
self,
|
|
2191
|
+
user_id,
|
|
2192
|
+
target_tenant_id,
|
|
2193
|
+
_request_auth,
|
|
2194
|
+
_content_type,
|
|
2195
|
+
_headers,
|
|
2196
|
+
_host_index,
|
|
2197
|
+
) -> RequestSerialized:
|
|
2198
|
+
|
|
2199
|
+
_host = None
|
|
2200
|
+
|
|
2201
|
+
_collection_formats: Dict[str, str] = {
|
|
2202
|
+
}
|
|
2203
|
+
|
|
2204
|
+
_path_params: Dict[str, str] = {}
|
|
2205
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2206
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2207
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2208
|
+
_files: Dict[
|
|
2209
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2210
|
+
] = {}
|
|
2211
|
+
_body_params: Optional[bytes] = None
|
|
2212
|
+
|
|
2213
|
+
# process the path parameters
|
|
2214
|
+
if user_id is not None:
|
|
2215
|
+
_path_params['userId'] = user_id
|
|
2216
|
+
# process the query parameters
|
|
2217
|
+
# process the header parameters
|
|
2218
|
+
if target_tenant_id is not None:
|
|
2219
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
2220
|
+
# process the form parameters
|
|
2221
|
+
# process the body parameter
|
|
2222
|
+
|
|
2223
|
+
|
|
2224
|
+
# set the HTTP header `Accept`
|
|
2225
|
+
if 'Accept' not in _header_params:
|
|
2226
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2227
|
+
[
|
|
2228
|
+
'application/json'
|
|
2229
|
+
]
|
|
2230
|
+
)
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
# authentication setting
|
|
2234
|
+
_auth_settings: List[str] = [
|
|
2235
|
+
'CookieAuth',
|
|
2236
|
+
'ApiKeyAuth',
|
|
2237
|
+
'OAuth2Auth',
|
|
2238
|
+
'OAuth2Auth',
|
|
2239
|
+
'BearerAuth'
|
|
2240
|
+
]
|
|
2241
|
+
|
|
2242
|
+
return self.api_client.param_serialize(
|
|
2243
|
+
method='GET',
|
|
2244
|
+
resource_path='/v1/admin/users/{userId}/profiles',
|
|
2245
|
+
path_params=_path_params,
|
|
2246
|
+
query_params=_query_params,
|
|
2247
|
+
header_params=_header_params,
|
|
2248
|
+
body=_body_params,
|
|
2249
|
+
post_params=_form_params,
|
|
2250
|
+
files=_files,
|
|
2251
|
+
auth_settings=_auth_settings,
|
|
2252
|
+
collection_formats=_collection_formats,
|
|
2253
|
+
_host=_host,
|
|
2254
|
+
_request_auth=_request_auth
|
|
2255
|
+
)
|
|
2256
|
+
|
|
2257
|
+
|
|
2258
|
+
|
|
2259
|
+
|
|
2260
|
+
@validate_call
|
|
2261
|
+
def remove_analytic_profile(
|
|
2262
|
+
self,
|
|
2263
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove.")],
|
|
2264
|
+
servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO,
|
|
2265
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2266
|
+
_request_timeout: Union[
|
|
2267
|
+
None,
|
|
2268
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2269
|
+
Tuple[
|
|
2270
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2271
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2272
|
+
]
|
|
2273
|
+
] = None,
|
|
2274
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2275
|
+
_content_type: Optional[StrictStr] = None,
|
|
2276
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2277
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2278
|
+
) -> ServicingAccessibleTenantProfileRevokeResponseDTO:
|
|
2279
|
+
"""Remove an analytic tenant profile from administrating tenant users
|
|
2280
|
+
|
|
2281
|
+
Remove an analytic tenant profile from a list of administrating tenant users for a list of analytic tenants. **Note:** Administrating tenants only.
|
|
2282
|
+
|
|
2283
|
+
:param profile_id: The ID of the profile to remove. (required)
|
|
2284
|
+
:type profile_id: str
|
|
2285
|
+
:param servicing_accessible_tenant_profile_revoke_request_dto: (required)
|
|
2286
|
+
:type servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO
|
|
2287
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2288
|
+
:type target_tenant_id: str
|
|
2289
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2290
|
+
number provided, it will be total request
|
|
2291
|
+
timeout. It can also be a pair (tuple) of
|
|
2292
|
+
(connection, read) timeouts.
|
|
2293
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2294
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2295
|
+
request; this effectively ignores the
|
|
2296
|
+
authentication in the spec for a single request.
|
|
2297
|
+
:type _request_auth: dict, optional
|
|
2298
|
+
:param _content_type: force content-type for the request.
|
|
2299
|
+
:type _content_type: str, Optional
|
|
2300
|
+
:param _headers: set to override the headers for a single
|
|
2301
|
+
request; this effectively ignores the headers
|
|
2302
|
+
in the spec for a single request.
|
|
2303
|
+
:type _headers: dict, optional
|
|
2304
|
+
:param _host_index: set to override the host_index for a single
|
|
2305
|
+
request; this effectively ignores the host_index
|
|
2306
|
+
in the spec for a single request.
|
|
2307
|
+
:type _host_index: int, optional
|
|
2308
|
+
:return: Returns the result object.
|
|
2309
|
+
""" # noqa: E501
|
|
2310
|
+
|
|
2311
|
+
_param = self._remove_analytic_profile_serialize(
|
|
2312
|
+
profile_id=profile_id,
|
|
2313
|
+
servicing_accessible_tenant_profile_revoke_request_dto=servicing_accessible_tenant_profile_revoke_request_dto,
|
|
2314
|
+
target_tenant_id=target_tenant_id,
|
|
2315
|
+
_request_auth=_request_auth,
|
|
2316
|
+
_content_type=_content_type,
|
|
2317
|
+
_headers=_headers,
|
|
2318
|
+
_host_index=_host_index
|
|
2319
|
+
)
|
|
2320
|
+
|
|
2321
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2322
|
+
'200': "ServicingAccessibleTenantProfileRevokeResponseDTO",
|
|
2323
|
+
}
|
|
2324
|
+
response_data = self.api_client.call_api(
|
|
2325
|
+
*_param,
|
|
2326
|
+
_request_timeout=_request_timeout
|
|
2327
|
+
)
|
|
2328
|
+
response_data.read()
|
|
2329
|
+
return self.api_client.response_deserialize(
|
|
2330
|
+
response_data=response_data,
|
|
2331
|
+
response_types_map=_response_types_map,
|
|
2332
|
+
).data
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
@validate_call
|
|
2336
|
+
def remove_analytic_profile_with_http_info(
|
|
2337
|
+
self,
|
|
2338
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove.")],
|
|
2339
|
+
servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO,
|
|
2340
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2341
|
+
_request_timeout: Union[
|
|
2342
|
+
None,
|
|
2343
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2344
|
+
Tuple[
|
|
2345
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2346
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2347
|
+
]
|
|
2348
|
+
] = None,
|
|
2349
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2350
|
+
_content_type: Optional[StrictStr] = None,
|
|
2351
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2352
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2353
|
+
) -> ApiResponse[ServicingAccessibleTenantProfileRevokeResponseDTO]:
|
|
2354
|
+
"""Remove an analytic tenant profile from administrating tenant users
|
|
2355
|
+
|
|
2356
|
+
Remove an analytic tenant profile from a list of administrating tenant users for a list of analytic tenants. **Note:** Administrating tenants only.
|
|
2357
|
+
|
|
2358
|
+
:param profile_id: The ID of the profile to remove. (required)
|
|
2359
|
+
:type profile_id: str
|
|
2360
|
+
:param servicing_accessible_tenant_profile_revoke_request_dto: (required)
|
|
2361
|
+
:type servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO
|
|
2362
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2363
|
+
:type target_tenant_id: str
|
|
2364
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2365
|
+
number provided, it will be total request
|
|
2366
|
+
timeout. It can also be a pair (tuple) of
|
|
2367
|
+
(connection, read) timeouts.
|
|
2368
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2369
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2370
|
+
request; this effectively ignores the
|
|
2371
|
+
authentication in the spec for a single request.
|
|
2372
|
+
:type _request_auth: dict, optional
|
|
2373
|
+
:param _content_type: force content-type for the request.
|
|
2374
|
+
:type _content_type: str, Optional
|
|
2375
|
+
:param _headers: set to override the headers for a single
|
|
2376
|
+
request; this effectively ignores the headers
|
|
2377
|
+
in the spec for a single request.
|
|
2378
|
+
:type _headers: dict, optional
|
|
2379
|
+
:param _host_index: set to override the host_index for a single
|
|
2380
|
+
request; this effectively ignores the host_index
|
|
2381
|
+
in the spec for a single request.
|
|
2382
|
+
:type _host_index: int, optional
|
|
2383
|
+
:return: Returns the result object.
|
|
2384
|
+
""" # noqa: E501
|
|
2385
|
+
|
|
2386
|
+
_param = self._remove_analytic_profile_serialize(
|
|
2387
|
+
profile_id=profile_id,
|
|
2388
|
+
servicing_accessible_tenant_profile_revoke_request_dto=servicing_accessible_tenant_profile_revoke_request_dto,
|
|
2389
|
+
target_tenant_id=target_tenant_id,
|
|
2390
|
+
_request_auth=_request_auth,
|
|
2391
|
+
_content_type=_content_type,
|
|
2392
|
+
_headers=_headers,
|
|
2393
|
+
_host_index=_host_index
|
|
2394
|
+
)
|
|
2395
|
+
|
|
2396
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2397
|
+
'200': "ServicingAccessibleTenantProfileRevokeResponseDTO",
|
|
2398
|
+
}
|
|
2399
|
+
response_data = self.api_client.call_api(
|
|
2400
|
+
*_param,
|
|
2401
|
+
_request_timeout=_request_timeout
|
|
2402
|
+
)
|
|
2403
|
+
response_data.read()
|
|
2404
|
+
return self.api_client.response_deserialize(
|
|
2405
|
+
response_data=response_data,
|
|
2406
|
+
response_types_map=_response_types_map,
|
|
2407
|
+
)
|
|
2408
|
+
|
|
2409
|
+
|
|
2410
|
+
@validate_call
|
|
2411
|
+
def remove_analytic_profile_without_preload_content(
|
|
2412
|
+
self,
|
|
2413
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove.")],
|
|
2414
|
+
servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO,
|
|
2415
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2416
|
+
_request_timeout: Union[
|
|
2417
|
+
None,
|
|
2418
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2419
|
+
Tuple[
|
|
2420
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2421
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2422
|
+
]
|
|
2423
|
+
] = None,
|
|
2424
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2425
|
+
_content_type: Optional[StrictStr] = None,
|
|
2426
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2427
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2428
|
+
) -> RESTResponseType:
|
|
2429
|
+
"""Remove an analytic tenant profile from administrating tenant users
|
|
2430
|
+
|
|
2431
|
+
Remove an analytic tenant profile from a list of administrating tenant users for a list of analytic tenants. **Note:** Administrating tenants only.
|
|
2432
|
+
|
|
2433
|
+
:param profile_id: The ID of the profile to remove. (required)
|
|
2434
|
+
:type profile_id: str
|
|
2435
|
+
:param servicing_accessible_tenant_profile_revoke_request_dto: (required)
|
|
2436
|
+
:type servicing_accessible_tenant_profile_revoke_request_dto: ServicingAccessibleTenantProfileRevokeRequestDTO
|
|
2437
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2438
|
+
:type target_tenant_id: str
|
|
2439
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2440
|
+
number provided, it will be total request
|
|
2441
|
+
timeout. It can also be a pair (tuple) of
|
|
2442
|
+
(connection, read) timeouts.
|
|
2443
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2444
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2445
|
+
request; this effectively ignores the
|
|
2446
|
+
authentication in the spec for a single request.
|
|
2447
|
+
:type _request_auth: dict, optional
|
|
2448
|
+
:param _content_type: force content-type for the request.
|
|
2449
|
+
:type _content_type: str, Optional
|
|
2450
|
+
:param _headers: set to override the headers for a single
|
|
2451
|
+
request; this effectively ignores the headers
|
|
2452
|
+
in the spec for a single request.
|
|
2453
|
+
:type _headers: dict, optional
|
|
2454
|
+
:param _host_index: set to override the host_index for a single
|
|
2455
|
+
request; this effectively ignores the host_index
|
|
2456
|
+
in the spec for a single request.
|
|
2457
|
+
:type _host_index: int, optional
|
|
2458
|
+
:return: Returns the result object.
|
|
2459
|
+
""" # noqa: E501
|
|
2460
|
+
|
|
2461
|
+
_param = self._remove_analytic_profile_serialize(
|
|
2462
|
+
profile_id=profile_id,
|
|
2463
|
+
servicing_accessible_tenant_profile_revoke_request_dto=servicing_accessible_tenant_profile_revoke_request_dto,
|
|
2464
|
+
target_tenant_id=target_tenant_id,
|
|
2465
|
+
_request_auth=_request_auth,
|
|
2466
|
+
_content_type=_content_type,
|
|
2467
|
+
_headers=_headers,
|
|
2468
|
+
_host_index=_host_index
|
|
2469
|
+
)
|
|
2470
|
+
|
|
2471
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2472
|
+
'200': "ServicingAccessibleTenantProfileRevokeResponseDTO",
|
|
2473
|
+
}
|
|
2474
|
+
response_data = self.api_client.call_api(
|
|
2475
|
+
*_param,
|
|
2476
|
+
_request_timeout=_request_timeout
|
|
2477
|
+
)
|
|
2478
|
+
return response_data.response
|
|
2479
|
+
|
|
2480
|
+
|
|
2481
|
+
def _remove_analytic_profile_serialize(
|
|
2482
|
+
self,
|
|
2483
|
+
profile_id,
|
|
2484
|
+
servicing_accessible_tenant_profile_revoke_request_dto,
|
|
2485
|
+
target_tenant_id,
|
|
2486
|
+
_request_auth,
|
|
2487
|
+
_content_type,
|
|
2488
|
+
_headers,
|
|
2489
|
+
_host_index,
|
|
2490
|
+
) -> RequestSerialized:
|
|
2491
|
+
|
|
2492
|
+
_host = None
|
|
2493
|
+
|
|
2494
|
+
_collection_formats: Dict[str, str] = {
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
_path_params: Dict[str, str] = {}
|
|
2498
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2499
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2500
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2501
|
+
_files: Dict[
|
|
2502
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2503
|
+
] = {}
|
|
2504
|
+
_body_params: Optional[bytes] = None
|
|
2505
|
+
|
|
2506
|
+
# process the path parameters
|
|
2507
|
+
if profile_id is not None:
|
|
2508
|
+
_path_params['profileId'] = profile_id
|
|
2509
|
+
# process the query parameters
|
|
2510
|
+
# process the header parameters
|
|
2511
|
+
if target_tenant_id is not None:
|
|
2512
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
2513
|
+
# process the form parameters
|
|
2514
|
+
# process the body parameter
|
|
2515
|
+
if servicing_accessible_tenant_profile_revoke_request_dto is not None:
|
|
2516
|
+
_body_params = servicing_accessible_tenant_profile_revoke_request_dto
|
|
2517
|
+
|
|
2518
|
+
|
|
2519
|
+
# set the HTTP header `Accept`
|
|
2520
|
+
if 'Accept' not in _header_params:
|
|
2521
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2522
|
+
[
|
|
2523
|
+
'application/json'
|
|
2524
|
+
]
|
|
2525
|
+
)
|
|
2526
|
+
|
|
2527
|
+
# set the HTTP header `Content-Type`
|
|
2528
|
+
if _content_type:
|
|
2529
|
+
_header_params['Content-Type'] = _content_type
|
|
2530
|
+
else:
|
|
2531
|
+
_default_content_type = (
|
|
2532
|
+
self.api_client.select_header_content_type(
|
|
2533
|
+
[
|
|
2534
|
+
'application/json'
|
|
2535
|
+
]
|
|
2536
|
+
)
|
|
2537
|
+
)
|
|
2538
|
+
if _default_content_type is not None:
|
|
2539
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2540
|
+
|
|
2541
|
+
# authentication setting
|
|
2542
|
+
_auth_settings: List[str] = [
|
|
2543
|
+
'CookieAuth',
|
|
2544
|
+
'ApiKeyAuth',
|
|
2545
|
+
'OAuth2Auth',
|
|
2546
|
+
'OAuth2Auth',
|
|
2547
|
+
'BearerAuth'
|
|
2548
|
+
]
|
|
2549
|
+
|
|
2550
|
+
return self.api_client.param_serialize(
|
|
2551
|
+
method='DELETE',
|
|
2552
|
+
resource_path='/v1/admin/profiles/accessible-tenants/{profileId}/remove',
|
|
2553
|
+
path_params=_path_params,
|
|
2554
|
+
query_params=_query_params,
|
|
2555
|
+
header_params=_header_params,
|
|
2556
|
+
body=_body_params,
|
|
2557
|
+
post_params=_form_params,
|
|
2558
|
+
files=_files,
|
|
2559
|
+
auth_settings=_auth_settings,
|
|
2560
|
+
collection_formats=_collection_formats,
|
|
2561
|
+
_host=_host,
|
|
2562
|
+
_request_auth=_request_auth
|
|
2563
|
+
)
|
|
2564
|
+
|
|
2565
|
+
|
|
2566
|
+
|
|
2567
|
+
|
|
2568
|
+
@validate_call
|
|
2569
|
+
def remove_profile(
|
|
2570
|
+
self,
|
|
2571
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove to a list of users.")],
|
|
2572
|
+
servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO,
|
|
2573
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2574
|
+
_request_timeout: Union[
|
|
2575
|
+
None,
|
|
2576
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2577
|
+
Tuple[
|
|
2578
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2579
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2580
|
+
]
|
|
2581
|
+
] = None,
|
|
2582
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2583
|
+
_content_type: Optional[StrictStr] = None,
|
|
2584
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2585
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2586
|
+
) -> ServicingLocalTenantProfileRevokeResponseDTO:
|
|
2587
|
+
"""Remove a profile from a list of users
|
|
2588
|
+
|
|
2589
|
+
Remove a profile from a list of users. For administrating tenants, this removes an administrating tenant profile from a list of users.
|
|
2590
|
+
|
|
2591
|
+
:param profile_id: The ID of the profile to remove to a list of users. (required)
|
|
2592
|
+
:type profile_id: str
|
|
2593
|
+
:param servicing_local_tenant_profile_revoke_request_dto: (required)
|
|
2594
|
+
:type servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO
|
|
2595
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2596
|
+
:type target_tenant_id: str
|
|
2597
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2598
|
+
number provided, it will be total request
|
|
2599
|
+
timeout. It can also be a pair (tuple) of
|
|
2600
|
+
(connection, read) timeouts.
|
|
2601
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2602
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2603
|
+
request; this effectively ignores the
|
|
2604
|
+
authentication in the spec for a single request.
|
|
2605
|
+
:type _request_auth: dict, optional
|
|
2606
|
+
:param _content_type: force content-type for the request.
|
|
2607
|
+
:type _content_type: str, Optional
|
|
2608
|
+
:param _headers: set to override the headers for a single
|
|
2609
|
+
request; this effectively ignores the headers
|
|
2610
|
+
in the spec for a single request.
|
|
2611
|
+
:type _headers: dict, optional
|
|
2612
|
+
:param _host_index: set to override the host_index for a single
|
|
2613
|
+
request; this effectively ignores the host_index
|
|
2614
|
+
in the spec for a single request.
|
|
2615
|
+
:type _host_index: int, optional
|
|
2616
|
+
:return: Returns the result object.
|
|
2617
|
+
""" # noqa: E501
|
|
2618
|
+
|
|
2619
|
+
_param = self._remove_profile_serialize(
|
|
2620
|
+
profile_id=profile_id,
|
|
2621
|
+
servicing_local_tenant_profile_revoke_request_dto=servicing_local_tenant_profile_revoke_request_dto,
|
|
2622
|
+
target_tenant_id=target_tenant_id,
|
|
2623
|
+
_request_auth=_request_auth,
|
|
2624
|
+
_content_type=_content_type,
|
|
2625
|
+
_headers=_headers,
|
|
2626
|
+
_host_index=_host_index
|
|
2627
|
+
)
|
|
2628
|
+
|
|
2629
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2630
|
+
'200': "ServicingLocalTenantProfileRevokeResponseDTO",
|
|
2631
|
+
}
|
|
2632
|
+
response_data = self.api_client.call_api(
|
|
2633
|
+
*_param,
|
|
2634
|
+
_request_timeout=_request_timeout
|
|
2635
|
+
)
|
|
2636
|
+
response_data.read()
|
|
2637
|
+
return self.api_client.response_deserialize(
|
|
2638
|
+
response_data=response_data,
|
|
2639
|
+
response_types_map=_response_types_map,
|
|
2640
|
+
).data
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
@validate_call
|
|
2644
|
+
def remove_profile_with_http_info(
|
|
2645
|
+
self,
|
|
2646
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove to a list of users.")],
|
|
2647
|
+
servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO,
|
|
2648
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2649
|
+
_request_timeout: Union[
|
|
2650
|
+
None,
|
|
2651
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2652
|
+
Tuple[
|
|
2653
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2654
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2655
|
+
]
|
|
2656
|
+
] = None,
|
|
2657
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2658
|
+
_content_type: Optional[StrictStr] = None,
|
|
2659
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2660
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2661
|
+
) -> ApiResponse[ServicingLocalTenantProfileRevokeResponseDTO]:
|
|
2662
|
+
"""Remove a profile from a list of users
|
|
2663
|
+
|
|
2664
|
+
Remove a profile from a list of users. For administrating tenants, this removes an administrating tenant profile from a list of users.
|
|
2665
|
+
|
|
2666
|
+
:param profile_id: The ID of the profile to remove to a list of users. (required)
|
|
2667
|
+
:type profile_id: str
|
|
2668
|
+
:param servicing_local_tenant_profile_revoke_request_dto: (required)
|
|
2669
|
+
:type servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO
|
|
2670
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2671
|
+
:type target_tenant_id: str
|
|
2672
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2673
|
+
number provided, it will be total request
|
|
2674
|
+
timeout. It can also be a pair (tuple) of
|
|
2675
|
+
(connection, read) timeouts.
|
|
2676
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2677
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2678
|
+
request; this effectively ignores the
|
|
2679
|
+
authentication in the spec for a single request.
|
|
2680
|
+
:type _request_auth: dict, optional
|
|
2681
|
+
:param _content_type: force content-type for the request.
|
|
2682
|
+
:type _content_type: str, Optional
|
|
2683
|
+
:param _headers: set to override the headers for a single
|
|
2684
|
+
request; this effectively ignores the headers
|
|
2685
|
+
in the spec for a single request.
|
|
2686
|
+
:type _headers: dict, optional
|
|
2687
|
+
:param _host_index: set to override the host_index for a single
|
|
2688
|
+
request; this effectively ignores the host_index
|
|
2689
|
+
in the spec for a single request.
|
|
2690
|
+
:type _host_index: int, optional
|
|
2691
|
+
:return: Returns the result object.
|
|
2692
|
+
""" # noqa: E501
|
|
2693
|
+
|
|
2694
|
+
_param = self._remove_profile_serialize(
|
|
2695
|
+
profile_id=profile_id,
|
|
2696
|
+
servicing_local_tenant_profile_revoke_request_dto=servicing_local_tenant_profile_revoke_request_dto,
|
|
2697
|
+
target_tenant_id=target_tenant_id,
|
|
2698
|
+
_request_auth=_request_auth,
|
|
2699
|
+
_content_type=_content_type,
|
|
2700
|
+
_headers=_headers,
|
|
2701
|
+
_host_index=_host_index
|
|
2702
|
+
)
|
|
2703
|
+
|
|
2704
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2705
|
+
'200': "ServicingLocalTenantProfileRevokeResponseDTO",
|
|
2706
|
+
}
|
|
2707
|
+
response_data = self.api_client.call_api(
|
|
2708
|
+
*_param,
|
|
2709
|
+
_request_timeout=_request_timeout
|
|
2710
|
+
)
|
|
2711
|
+
response_data.read()
|
|
2712
|
+
return self.api_client.response_deserialize(
|
|
2713
|
+
response_data=response_data,
|
|
2714
|
+
response_types_map=_response_types_map,
|
|
2715
|
+
)
|
|
2716
|
+
|
|
2717
|
+
|
|
2718
|
+
@validate_call
|
|
2719
|
+
def remove_profile_without_preload_content(
|
|
2720
|
+
self,
|
|
2721
|
+
profile_id: Annotated[StrictStr, Field(description="The ID of the profile to remove to a list of users.")],
|
|
2722
|
+
servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO,
|
|
2723
|
+
target_tenant_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.")] = None,
|
|
2724
|
+
_request_timeout: Union[
|
|
2725
|
+
None,
|
|
2726
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2727
|
+
Tuple[
|
|
2728
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
2729
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
2730
|
+
]
|
|
2731
|
+
] = None,
|
|
2732
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
2733
|
+
_content_type: Optional[StrictStr] = None,
|
|
2734
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
2735
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
2736
|
+
) -> RESTResponseType:
|
|
2737
|
+
"""Remove a profile from a list of users
|
|
2738
|
+
|
|
2739
|
+
Remove a profile from a list of users. For administrating tenants, this removes an administrating tenant profile from a list of users.
|
|
2740
|
+
|
|
2741
|
+
:param profile_id: The ID of the profile to remove to a list of users. (required)
|
|
2742
|
+
:type profile_id: str
|
|
2743
|
+
:param servicing_local_tenant_profile_revoke_request_dto: (required)
|
|
2744
|
+
:type servicing_local_tenant_profile_revoke_request_dto: ServicingLocalTenantProfileRevokeRequestDTO
|
|
2745
|
+
:param target_tenant_id: Optionally, specify the tenant that you want to execute the API call on. This defines the tenant that you're logged into. If omitted, the request uses the administrating tenant as the login tenant.
|
|
2746
|
+
:type target_tenant_id: str
|
|
2747
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2748
|
+
number provided, it will be total request
|
|
2749
|
+
timeout. It can also be a pair (tuple) of
|
|
2750
|
+
(connection, read) timeouts.
|
|
2751
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2752
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2753
|
+
request; this effectively ignores the
|
|
2754
|
+
authentication in the spec for a single request.
|
|
2755
|
+
:type _request_auth: dict, optional
|
|
2756
|
+
:param _content_type: force content-type for the request.
|
|
2757
|
+
:type _content_type: str, Optional
|
|
2758
|
+
:param _headers: set to override the headers for a single
|
|
2759
|
+
request; this effectively ignores the headers
|
|
2760
|
+
in the spec for a single request.
|
|
2761
|
+
:type _headers: dict, optional
|
|
2762
|
+
:param _host_index: set to override the host_index for a single
|
|
2763
|
+
request; this effectively ignores the host_index
|
|
2764
|
+
in the spec for a single request.
|
|
2765
|
+
:type _host_index: int, optional
|
|
2766
|
+
:return: Returns the result object.
|
|
2767
|
+
""" # noqa: E501
|
|
2768
|
+
|
|
2769
|
+
_param = self._remove_profile_serialize(
|
|
2770
|
+
profile_id=profile_id,
|
|
2771
|
+
servicing_local_tenant_profile_revoke_request_dto=servicing_local_tenant_profile_revoke_request_dto,
|
|
2772
|
+
target_tenant_id=target_tenant_id,
|
|
2773
|
+
_request_auth=_request_auth,
|
|
2774
|
+
_content_type=_content_type,
|
|
2775
|
+
_headers=_headers,
|
|
2776
|
+
_host_index=_host_index
|
|
2777
|
+
)
|
|
2778
|
+
|
|
2779
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2780
|
+
'200': "ServicingLocalTenantProfileRevokeResponseDTO",
|
|
2781
|
+
}
|
|
2782
|
+
response_data = self.api_client.call_api(
|
|
2783
|
+
*_param,
|
|
2784
|
+
_request_timeout=_request_timeout
|
|
2785
|
+
)
|
|
2786
|
+
return response_data.response
|
|
2787
|
+
|
|
2788
|
+
|
|
2789
|
+
def _remove_profile_serialize(
|
|
2790
|
+
self,
|
|
2791
|
+
profile_id,
|
|
2792
|
+
servicing_local_tenant_profile_revoke_request_dto,
|
|
2793
|
+
target_tenant_id,
|
|
2794
|
+
_request_auth,
|
|
2795
|
+
_content_type,
|
|
2796
|
+
_headers,
|
|
2797
|
+
_host_index,
|
|
2798
|
+
) -> RequestSerialized:
|
|
2799
|
+
|
|
2800
|
+
_host = None
|
|
2801
|
+
|
|
2802
|
+
_collection_formats: Dict[str, str] = {
|
|
2803
|
+
}
|
|
2804
|
+
|
|
2805
|
+
_path_params: Dict[str, str] = {}
|
|
2806
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2807
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2808
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2809
|
+
_files: Dict[
|
|
2810
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2811
|
+
] = {}
|
|
2812
|
+
_body_params: Optional[bytes] = None
|
|
2813
|
+
|
|
2814
|
+
# process the path parameters
|
|
2815
|
+
if profile_id is not None:
|
|
2816
|
+
_path_params['profileId'] = profile_id
|
|
2817
|
+
# process the query parameters
|
|
2818
|
+
# process the header parameters
|
|
2819
|
+
if target_tenant_id is not None:
|
|
2820
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
2821
|
+
# process the form parameters
|
|
2822
|
+
# process the body parameter
|
|
2823
|
+
if servicing_local_tenant_profile_revoke_request_dto is not None:
|
|
2824
|
+
_body_params = servicing_local_tenant_profile_revoke_request_dto
|
|
2825
|
+
|
|
2826
|
+
|
|
2827
|
+
# set the HTTP header `Accept`
|
|
2828
|
+
if 'Accept' not in _header_params:
|
|
2829
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2830
|
+
[
|
|
2831
|
+
'application/json'
|
|
2832
|
+
]
|
|
2833
|
+
)
|
|
2834
|
+
|
|
2835
|
+
# set the HTTP header `Content-Type`
|
|
2836
|
+
if _content_type:
|
|
2837
|
+
_header_params['Content-Type'] = _content_type
|
|
2838
|
+
else:
|
|
2839
|
+
_default_content_type = (
|
|
2840
|
+
self.api_client.select_header_content_type(
|
|
2841
|
+
[
|
|
2842
|
+
'application/json'
|
|
2843
|
+
]
|
|
2844
|
+
)
|
|
2845
|
+
)
|
|
2846
|
+
if _default_content_type is not None:
|
|
2847
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2848
|
+
|
|
2849
|
+
# authentication setting
|
|
2850
|
+
_auth_settings: List[str] = [
|
|
2851
|
+
'CookieAuth',
|
|
2852
|
+
'ApiKeyAuth',
|
|
2853
|
+
'OAuth2Auth',
|
|
2854
|
+
'OAuth2Auth',
|
|
2855
|
+
'BearerAuth'
|
|
2856
|
+
]
|
|
2857
|
+
|
|
2858
|
+
return self.api_client.param_serialize(
|
|
2859
|
+
method='DELETE',
|
|
2860
|
+
resource_path='/v1/admin/profiles/{profileId}/remove',
|
|
2861
|
+
path_params=_path_params,
|
|
2862
|
+
query_params=_query_params,
|
|
2863
|
+
header_params=_header_params,
|
|
2864
|
+
body=_body_params,
|
|
2865
|
+
post_params=_form_params,
|
|
2866
|
+
files=_files,
|
|
2867
|
+
auth_settings=_auth_settings,
|
|
2868
|
+
collection_formats=_collection_formats,
|
|
2869
|
+
_host=_host,
|
|
2870
|
+
_request_auth=_request_auth
|
|
2871
|
+
)
|
|
2872
|
+
|
|
2873
|
+
|