From 7fdd376c1a4b3131610c137fdcf4d5f750b14a83 Mon Sep 17 00:00:00 2001 From: "timur.malikov" Date: Fri, 5 Sep 2025 17:09:50 -0700 Subject: [PATCH] Updated code to last working version. --- .../.openapi-generator/FILES | 200 +- src/visier_platform_sdk/pyproject.toml | 2 +- src/visier_platform_sdk/setup.py | 4 +- ...e_tenant_profile_assignment_request_dto.py | 2 +- ..._tenant_profile_assignment_response_dto.py | 2 +- ...sible_tenant_profile_revoke_request_dto.py | 2 +- ...ible_tenant_profile_revoke_response_dto.py | 2 +- .../test/test_additional_capabilities_dto.py | 2 +- .../test/test_admin_capability_config_dto.py | 2 +- .../test/test_adp_auth_params_dto.py | 2 +- ...t_aggregate_query_execution_options_dto.py | 2 +- .../test/test_aggregation_query_dto.py | 5 +- .../test_aggregation_query_execution_dto.py | 5 +- .../test/test_aggregation_query_source_dto.py | 2 +- ...est_aggregation_query_source_metric_dto.py | 2 +- ...st_aggregation_query_source_metrics_dto.py | 2 +- .../test/test_aggregation_type_option_dto.py | 2 +- .../test_aggregation_type_parameter_dto.py | 2 +- ...st_aggregation_type_parameter_value_dto.py | 2 +- ...rmissions_assigned_for_local_tenant_dto.py | 2 +- ...file_assigned_for_accessible_tenant_dto.py | 2 +- ...l_profile_assigned_for_local_tenant_dto.py | 2 +- .../test/test_all_tenants_status_apidto.py | 2 +- ...er_groups_assigned_for_local_tenant_dto.py | 2 +- .../test_all_users_get_api_response_dto.py | 2 +- .../test_analytic_object_definition_dto.py | 3 +- ...test_analytic_object_delete_request_dto.py | 62 + ...analytic_object_delete_with_context_dto.py | 63 + .../test/test_analytic_object_details_dto.py | 4 +- .../test/test_analytic_object_dto.py | 2 +- .../test/test_analytic_object_filter_dto.py | 2 +- .../test_analytic_object_filter_list_dto.py | 2 +- .../test/test_analytic_object_names_dto.py | 2 +- .../test_analytic_object_reference_dto.py | 2 +- ...test_analytic_object_reference_list_dto.py | 2 +- .../test/test_analytic_object_request_dto.py | 2 +- .../test/test_analytic_object_response_dto.py | 62 + ...test_analytic_object_revert_request_dto.py | 62 + ...analytic_object_revert_with_context_dto.py | 63 + .../test_analytic_object_with_context_dto.py | 3 +- .../test/test_analytic_objects_dto.py | 2 +- .../test/test_analytic_objects_v2_api.py | 81 + src/visier_platform_sdk/test/test_any.py | 2 +- .../test/test_api_error.py | 2 +- ...est_assign_connector_credential_request.py | 2 +- ...ctor_credentials_by_tenant_response_dto.py | 2 +- ...sign_connector_credentials_response_dto.py | 2 +- ...connector_with_credentials_response_dto.py | 2 +- ...ign_revoke_permission_by_permission_dto.py | 2 +- ..._assign_revoke_permission_by_tenant_dto.py | 2 +- ...st_assign_revoke_permission_by_user_dto.py | 2 +- ...st_assign_revoke_permission_request_dto.py | 2 +- ...t_assign_revoke_permissions_request_dto.py | 2 +- ..._assign_revoke_permissions_response_dto.py | 5 +- ...t_assigned_credential_info_response_dto.py | 2 +- .../test/test_bamboo_auth_params_dto.py | 2 +- .../test/test_basic_authentication_api.py | 2 +- .../test/test_basic_information_dto.py | 2 +- .../test/test_basic_s3_auth_params_dto.py | 2 +- .../test_batch_tenant_provision_apidto.py | 2 +- .../test/test_benchmark_info.py | 2 +- .../test/test_benchmark_value.py | 2 +- .../test/test_benchmarks_api.py | 9 +- .../test/test_between_rule_dto.py | 59 + .../test/test_big_query_auth_params_dto.py | 2 +- ...st_big_query_service_account_params_dto.py | 2 +- .../test/test_bulk_change_response_dto.py | 2 +- .../test_bulk_data_access_set_request_dto.py | 2 +- .../test_bulk_data_access_set_response_dto.py | 2 +- .../test/test_business_location_dto.py | 2 +- .../test/test_calculated_property_type_dto.py | 2 +- .../test_calculated_selection_concept_dto.py | 2 +- ...t_calculation_concept_configuration_dto.py | 2 +- ...lculation_concept_configuration_map_dto.py | 2 +- .../test/test_calculation_concept_dto.py | 2 +- .../test/test_calculation_concept_list_dto.py | 2 +- .../test_cancel_job_batch_from_job_id_dto.py | 2 +- .../test/test_capabilities_dto.py | 2 +- .../test/test_capability_dto.py | 2 +- .../test/test_capability_group_dto.py | 2 +- .../test/test_caption_dto.py | 2 +- .../test/test_caption_list_dto.py | 2 +- ...test_career_level_search_failure_output.py | 67 + .../test/test_career_level_search_input.py | 64 + .../test/test_career_level_search_output.py | 147 + ...t_career_level_search_successful_output.py | 125 + .../test/test_category_icon_dto.py | 59 + .../test/test_cell_distribution_bin_dto.py | 2 +- .../test_cell_distribution_options_dto.py | 2 +- src/visier_platform_sdk/test/test_cell_dto.py | 2 +- .../test/test_cell_set_axis_dto.py | 2 +- .../test/test_cell_set_axis_position_dto.py | 2 +- .../test/test_cell_set_dto.py | 2 +- .../test/test_cell_set_or_error_dto.py | 2 +- ..._clone_files_into_source_parameters_dto.py | 2 +- .../test/test_cohort_filter_dto.py | 10 +- .../test/test_collaboration_info.py | 62 + ...mmit_and_publish_operation_response_dto.py | 2 +- .../test/test_commit_dto.py | 2 +- .../test/test_compared_metric_dto.py | 76 + .../test_concept_configuration_result_dto.py | 2 +- .../test/test_concept_definition_dto.py | 2 +- .../test/test_concept_delete_request_dto.py | 2 +- .../test_concept_delete_with_context_dto.py | 2 +- ...y => test_concept_reference_filter_dto.py} | 30 +- .../test/test_concept_request_dto.py | 2 +- .../test/test_concept_response_dto.py | 2 +- .../test/test_concept_type_details_dto.py | 2 +- .../test/test_concept_with_context_dto.py | 2 +- .../test/test_concepts_v2_api.py | 2 +- .../test/test_connector.py | 2 +- .../test/test_connector_info_response_dto.py | 2 +- .../test_connector_setting_request_dto.py | 2 +- .../test_connector_setting_response_dto.py | 2 +- .../test_connector_settings_response_dto.py | 2 +- .../test/test_consolidate_action_payload.py | 2 +- .../test/test_consolidated_analytics_api.py | 2 +- ..._analytics_api_excluded_source_list_dto.py | 2 +- ...ed_analytics_api_source_tenant_list_dto.py | 2 +- ...analytics_api_tenant_create_request_dto.py | 2 +- ..._analytics_api_tenant_list_response_dto.py | 2 +- ...dated_analytics_api_tenant_with_details.py | 2 +- ...i_tenant_with_details_list_response_dto.py | 2 +- ..._consolidated_analytics_job_request_dto.py | 2 +- .../test/test_content_package_dto.py | 2 +- .../test/test_copy_s3_auth_params_dto.py | 2 +- .../test_create_event_alert_request_dto.py | 60 + ...st_credential_creation_api_response_dto.py | 2 +- .../test/test_currencies_dto.py | 2 +- .../test/test_currency_dto.py | 2 +- .../test/test_currency_rate_dto.py | 2 +- .../test/test_currency_rates_dto.py | 2 +- .../test/test_custom_property_dto.py | 2 +- .../test/test_custom_tenant_property_dto.py | 2 +- .../test/test_data_access_set_dto.py | 2 +- .../test/test_data_access_set_error_dto.py | 2 +- .../test/test_data_access_set_failure_dto.py | 2 +- .../test/test_data_access_set_success_dto.py | 2 +- .../test/test_data_and_job_handling_api.py | 2 +- .../test/test_data_categories_response_dto.py | 2 +- .../test/test_data_category_response_dto.py | 2 +- .../test/test_data_intake_api.py | 2 +- .../test/test_data_load_request.py | 2 +- .../test/test_data_load_request_model.py | 2 +- .../test/test_data_load_response.py | 2 +- .../test_data_model_analytic_object_dto.py | 2 +- .../test/test_data_model_api.py | 37 +- ...test_data_provider_auth_information_dto.py | 2 +- .../test_data_provider_auth_params_dto.py | 2 +- ...est_data_provider_basic_information_dto.py | 2 +- .../test_data_provider_basic_metadata_dto.py | 2 +- .../test/test_data_query_api.py | 2 +- .../test/test_data_security_profile_dto.py | 2 +- .../test/test_data_transfer_result_detail.py | 2 +- .../test/test_data_upload_api.py | 2 +- .../test/test_data_version_and_date_dto.py | 2 +- .../test/test_data_version_export_api.py | 2 +- .../test_data_version_export_column_dto.py | 2 +- ...version_export_data_version_summary_dto.py | 2 +- ...t_data_version_export_data_versions_dto.py | 2 +- .../test/test_data_version_export_dto.py | 2 +- .../test/test_data_version_export_file_dto.py | 2 +- ...test_data_version_export_job_status_dto.py | 2 +- .../test_data_version_export_part_file_dto.py | 2 +- ...version_export_schedule_job_request_dto.py | 2 +- ...ersion_export_schedule_job_response_dto.py | 2 +- .../test_data_version_export_table_dto.py | 2 +- .../test/test_data_version_exports_dto.py | 2 +- .../test/test_data_version_object.py | 2 +- .../test/test_databricks_auth_params_dto.py | 2 +- .../test/test_date_range_dto.py | 2 +- .../test/test_dayforce_v2_auth_params_dto.py | 2 +- .../test/test_delete_email_domains_dto.py | 61 + .../test_delete_permissions_request_dto.py | 2 +- .../test/test_delete_user_group_v2_request.py | 2 +- .../test/test_dependent_dto.py | 2 +- .../test/test_derived_metric_details_dto.py | 62 + .../test/test_description_entry.py | 2 +- .../test_designer_dimension_filter_dto.py | 2 +- .../test_designer_selection_concept_dto.py | 2 +- .../test_dimension_change_definition_dto.py | 2 +- ...ension_change_definitions_by_tenant_dto.py | 2 +- .../test/test_dimension_delete_request_dto.py | 2 +- .../test_dimension_delete_with_context_dto.py | 2 +- .../test/test_dimension_details_dto.py | 2 +- .../test/test_dimension_dto.py | 2 +- .../test/test_dimension_filter_dto.py | 2 +- .../test_dimension_mapping_validation_dto.py | 2 +- ...ension_mapping_validation_execution_dto.py | 2 +- .../test/test_dimension_member.py | 2 +- .../test/test_dimension_member_dto.py | 2 +- .../test_dimension_member_reference_dto.py | 2 +- .../test/test_dimension_reference_dto.py | 2 +- .../test/test_dimension_request_dto.py | 2 +- .../test/test_dimension_response_dto.py | 2 +- .../test/test_dimension_with_context_dto.py | 4 +- .../test/test_dimensions_api.py | 9 +- .../test/test_dimensions_auth_params_dto.py | 2 +- .../test_dimensions_change_definitions_dto.py | 2 +- .../test/test_dimensions_dto.py | 2 +- .../test/test_dimensions_v2_api.py | 2 +- .../test/test_direct_data_intake_api.py | 2 +- .../test/test_direct_data_job_config_dto.py | 2 +- ...est_direct_data_job_status_response_dto.py | 2 +- ...ect_data_list_transactions_response_dto.py | 2 +- .../test/test_direct_data_load_config_dto.py | 2 +- .../test/test_direct_data_schema_dto.py | 2 +- .../test/test_direct_data_schema_field_dto.py | 2 +- .../test/test_direct_data_transaction_dto.py | 2 +- ...ect_data_transaction_start_response_dto.py | 2 +- ...st_direct_data_upload_file_response_dto.py | 2 +- .../test/test_disable_dv_model.py | 2 +- .../test/test_disable_dv_request.py | 2 +- .../test/test_disable_dv_response.py | 2 +- .../test_dispatching_job_status_response.py | 2 +- .../test/test_document_search_link_dto.py | 2 +- .../test/test_download_source_files_dto.py | 2 +- ...test_download_source_files_response_dto.py | 2 +- .../test/test_dv_export_status.py | 2 +- .../test/test_dynamic_dimension_filter_dto.py | 2 +- .../test/test_dynamic_property_mapping_dto.py | 2 +- .../test/test_element_ids_dto.py | 2 +- .../test/test_email_domains_api.py | 2 +- .../test/test_email_domains_dto.py | 5 +- .../test/test_encryption_keys_api.py | 2 +- .../test_end_collaboration_action_payload.py | 58 + .../test/test_error_dto.py | 2 +- .../test/test_error_summary.py | 2 +- .../test_event_alert_delete_success_dto.py | 58 + .../test/test_event_alert_dto.py | 62 + ...t_notification_result_alert_details_dto.py | 60 + ...est_event_alert_notification_result_dto.py | 69 + ...st_event_alert_notification_results_dto.py | 70 + .../test_event_alert_trigger_criteria_dto.py | 72 + .../test/test_event_details_dto.py | 17 +- .../test/test_exclude_data_uploads_request.py | 2 +- .../test/test_excluded_sources_body.py | 2 +- .../test/test_execution_context_dto.py | 2 +- ...n_versions_api_operation_parameters_dto.py | 2 +- .../test/test_extract_data_and_load_dto.py | 2 +- .../test/test_extracted_skill.py | 2 +- .../test/test_extraction_job.py | 2 +- ...test_extraction_job_and_status_response.py | 2 +- .../test/test_extractor_credential_apidto.py | 2 +- .../test/test_extractor_credentials_apidto.py | 2 +- .../test/test_extractor_setting_apidto.py | 2 +- ...test_extractor_setting_key_value_apidto.py | 2 +- .../test/test_extractor_settings_apidto.py | 2 +- ...ccessible_tenant_profile_assignment_dto.py | 2 +- .../test/test_failed_change_dto.py | 2 +- ...led_local_tenant_profile_assignment_dto.py | 2 +- ..._failed_local_tenant_profile_revoke_dto.py | 2 +- .../test/test_filter_dto.py | 79 + .../test/test_fixed_time_type_dto.py | 60 + .../test/test_fusion_auth_params_dto.py | 2 +- ...st_generate_impersonation_token_request.py | 2 +- .../test/test_generate_key_request_dto.py | 2 +- .../test_get_capabilities_api_response_dto.py | 2 +- ...t_get_content_packages_api_response_dto.py | 2 +- ...t_get_data_access_sets_api_response_dto.py | 2 +- ..._data_security_objects_api_response_dto.py | 2 +- .../test_get_event_alerts_response_dto.py | 71 + .../test_get_permissions_api_response_dto.py | 2 +- .../test/test_get_plan_list_response_dto.py | 10 +- ...et_production_versions_api_response_dto.py | 2 +- .../test_get_projects_api_response_dto.py | 2 +- .../test/test_gong_auth_params_dto.py | 2 +- .../test_google_sheets_auth_params_dto.py | 2 +- .../test_google_workspace_auth_params_dto.py | 2 +- .../test/test_greenhouse_auth_params_dto.py | 2 +- ...ped_metric_value_threshold_criteria_dto.py | 91 + .../test/test_hierarchy.py | 2 +- .../test/test_hierarchy_property_dto.py | 2 +- .../test_home_analysis_by_user_group_dto.py | 2 +- .../test/test_icims_auth_params_dto.py | 2 +- .../test/test_import_definition_apidto.py | 2 +- .../test/test_import_definitions_apidto.py | 2 +- .../test/test_include_data_uploads_request.py | 2 +- .../test/test_inherited_access_config_dto.py | 2 +- ...ited_reference_member_filter_config_dto.py | 2 +- ...st_internal_query_execution_options_dto.py | 2 +- .../test/test_internal_s3_auth_params_dto.py | 2 +- .../test/test_jdbc_auth_params_dto.py | 2 +- .../test/test_jira_auth_params_dto.py | 2 +- .../test/test_jira_connect_params_dto.py | 2 +- src/visier_platform_sdk/test/test_job.py | 2 +- .../test/test_job_cancellation_result_dto.py | 2 +- .../test/test_job_cancellation_results_dto.py | 2 +- .../test/test_job_entry.py | 2 +- .../test/test_job_feedback_input.py | 2 +- .../test/test_job_id_response.py | 2 +- .../test/test_job_search_failure_output.py | 2 +- .../test/test_job_search_input.py | 2 +- .../test/test_job_search_output.py | 2 +- .../test/test_job_standardization_input.py | 5 +- .../test_job_standardization_input_skills.py | 2 +- .../test/test_job_status_list_response.py | 2 +- .../test/test_job_status_with_start_time.py | 2 +- .../test/test_jobs_library_api.py | 2 +- .../test/test_key_group_filter_dto.py | 10 +- .../test/test_key_group_filter_item_dto.py | 4 +- src/visier_platform_sdk/test/test_key_name.py | 2 +- .../test/test_key_pair_delete_response_dto.py | 2 +- .../test_key_pair_generate_request_dto.py | 2 +- .../test/test_last_login_dto.py | 2 +- .../test/test_level_dto.py | 2 +- .../test/test_level_list_dto.py | 2 +- .../test/test_leveled_details_dto.py | 2 +- .../test/test_lever_auth_params_dto.py | 2 +- .../test/test_lineage_dto.py | 2 +- .../test/test_list_query_execution_dto.py | 5 +- .../test_list_query_execution_options_dto.py | 2 +- .../test/test_list_query_source_dto.py | 2 +- .../test/test_list_response.py | 2 +- .../test_local_or_shared_dimension_dto.py | 4 +- ...test_local_or_shared_dimension_list_dto.py | 2 +- ...l_tenant_profile_assignment_request_dto.py | 2 +- ..._tenant_profile_assignment_response_dto.py | 2 +- ...local_tenant_profile_revoke_request_dto.py | 2 +- ...ocal_tenant_profile_revoke_response_dto.py | 2 +- .../test_location_search_failure_output.py | 2 +- .../test/test_location_search_input.py | 2 +- .../test/test_location_search_input1.py | 2 +- .../test/test_location_search_output.py | 2 +- .../test_location_search_successful_output.py | 2 +- .../test/test_mask_message.py | 2 +- .../test/test_medallia_auth_params_dto.py | 2 +- .../test/test_member_dto.py | 2 +- .../test/test_member_filter_config_dto.py | 2 +- .../test/test_member_filter_dto.py | 2 +- .../test_member_parameter_definition_dto.py | 2 +- .../test/test_member_parameter_value_dto.py | 2 +- .../test/test_member_selection_concept_dto.py | 2 +- .../test/test_member_selection_dto.py | 2 +- .../test/test_member_values_dto.py | 2 +- .../test/test_members_dto.py | 2 +- .../test/test_metric_definition_dto.py | 19 +- .../test/test_metric_delete_request_dto.py | 62 + ...=> test_metric_delete_with_context_dto.py} | 37 +- .../test/test_metric_dto.py | 22 +- .../test_metric_filter_parameter_value_dto.py | 68 + .../test/test_metric_request_dto.py | 62 + .../test/test_metric_response_dto.py | 62 + .../test/test_metric_type_details_dto.py | 11 +- .../test_metric_validation_summary_dto.py | 2 +- .../test/test_metric_with_context_dto.py | 71 + .../test/test_metrics_dto.py | 20 +- .../test/test_metrics_v2_api.py | 81 + .../test/test_microsoft365_auth_params_dto.py | 2 +- .../test/test_module_settings_dto.py | 2 +- .../test_multi_value_property_type_dto.py | 2 +- .../test/test_multi_value_setting_dto.py | 2 +- ...ltiple_tenant_data_versions_details_dto.py | 2 +- ..._multiple_tenant_data_versions_list_dto.py | 2 +- .../test/test_my_sql_auth_params_dto.py | 2 +- .../test/test_namely_auth_params_dto.py | 2 +- .../test/test_network_subnets_api.py | 2 +- .../test_network_subnets_message_request.py | 2 +- .../test_network_subnets_message_response.py | 2 +- .../test_numeric_parameter_definition_dto.py | 2 +- .../test/test_numeric_parameter_value_dto.py | 2 +- .../test/test_numeric_range_dto.py | 60 + .../test/test_numeric_range_filter_dto.py | 64 + .../test/test_o_auth2_api.py | 2 +- .../test/test_o_auth2_user_info_dto.py | 2 +- .../test/test_o_auth2_user_subnet_info_dto.py | 2 +- .../test_o_auth2_user_tenant_detail_dto.py | 2 +- .../test_o_auth2_user_tenant_details_dto.py | 2 +- ...test_o_auth2_user_tenant_properties_dto.py | 2 +- .../test/test_object_change_failure_dto.py | 2 +- .../test/test_object_change_success_dto.py | 2 +- .../test/test_object_configuration_api.py | 2 +- .../test/test_object_id_dto.py | 2 +- .../test/test_object_reference_dto.py | 2 +- .../test_objects_bulk_change_response_dto.py | 2 +- .../test/test_oracle_db_auth_params_dto.py | 2 +- .../test/test_other_metric_dto.py | 67 + .../test/test_output_entry.py | 2 +- .../test/test_output_entry1.py | 2 +- .../test/test_output_entry1_matches_inner.py | 2 +- src/visier_platform_sdk/test/test_pair_dto.py | 2 +- .../test/test_parameter_definition_dto.py | 59 +- .../test/test_parent_child_details_dto.py | 2 +- .../test/test_periods_back_dto.py | 59 + .../test_permission_assigned_by_tenant_dto.py | 2 +- ...ermission_assigned_for_local_tenant_dto.py | 2 +- .../test/test_permission_assigned_user_dto.py | 2 +- .../test_permission_assigned_users_dto.py | 2 +- ..._permission_bulk_operation_response_dto.py | 2 +- .../test/test_permission_dto.py | 2 +- .../test/test_permission_error_dto.py | 2 +- .../test/test_permission_failure_dto.py | 2 +- .../test/test_permission_response_dto.py | 2 +- .../test/test_permission_success_dto.py | 2 +- .../test/test_permissions_api.py | 2 +- .../test/test_permissions_list_dto.py | 2 +- ...ermissions_to_user_group_for_tenant_dto.py | 2 +- ...t_permissions_to_user_group_request_dto.py | 2 +- ..._permissions_to_user_groups_request_dto.py | 2 +- ...py => test_persisted_cohort_filter_dto.py} | 27 +- .../test/test_personalized_alerts_api.py | 81 + .../test_perspective_configuration_dto.py | 2 +- .../test/test_perspective_node_dto.py | 2 +- .../test/test_pgp_keys_api.py | 2 +- .../test/test_plan_administration_api.py | 9 +- .../test/test_plan_data_load_api.py | 2 +- .../test/test_plan_data_load_change_dto.py | 2 +- .../test_plan_data_load_change_list_dto.py | 2 +- .../test/test_plan_data_load_error_dto.py | 2 +- .../test_plan_data_upload_response_dto.py | 2 +- .../test/test_plan_info_dto.py | 10 +- .../test/test_plan_item_dto.py | 2 +- .../test_plan_parameter_definition_dto.py | 2 +- .../test/test_plan_parameter_value_dto.py | 5 +- ...t_plan_patch_consolidate_action_request.py | 2 +- ...consolidate_action_request_with_plan_id.py | 71 - ..._patch_end_collaboration_action_request.py | 63 + .../test_plan_patch_reopen_action_request.py | 2 +- ...atch_reopen_action_request_with_plan_id.py | 67 - ...atch_start_collaboration_action_request.py | 65 + .../test_plan_patch_submit_action_request.py | 63 + .../test_plan_row_data_load_response_dto.py | 2 +- ...test_plan_scenario_patch_action_result.py} | 24 +- ...py => test_plan_scenario_patch_request.py} | 32 +- ...y => test_plan_scenario_patch_response.py} | 26 +- .../test/test_plan_schema_dto.py | 2 +- .../test/test_plan_segment_level_dto.py | 2 +- .../test_plan_segment_level_member_dto.py | 2 +- ...test_plan_segment_level_member_list_dto.py | 2 +- .../test/test_plan_time_period_dto.py | 2 +- .../test/test_plan_with_schema_dto.py | 10 +- ...est_planning_concept_filter_context_dto.py | 2 +- ...t_planning_hierarchy_filter_context_dto.py | 2 +- .../test/test_planning_model_dto.py | 2 +- .../test/test_planning_models_dto.py | 2 +- .../test/test_planning_plan_context_dto.py | 2 +- .../test/test_planning_plan_dto.py | 2 +- .../test/test_planning_plans_dto.py | 2 +- .../test_plans_patch_request_plan_item.py | 77 - .../test/test_plans_patch_response.py | 67 - .../test/test_population_configuration_dto.py | 2 +- .../test/test_prediction_dto.py | 2 +- .../test/test_predictions_dto.py | 2 +- .../test_process_concept_definition_dto.py | 9 +- .../test/test_process_concept_member_dto.py | 2 +- .../test_process_concept_member_list_dto.py | 2 +- ...t_process_concept_metric_definition_dto.py | 21 +- ...test_process_concept_metric_details_dto.py | 60 + .../test_process_concept_metric_list_dto.py | 7 +- ...process_concept_metric_type_details_dto.py | 61 + .../test/test_process_concept_outcome_dto.py | 2 +- .../test_process_concept_outcome_list_dto.py | 2 +- ...st_process_concept_property_details_dto.py | 61 + .../test/test_process_concept_property_dto.py | 68 + .../test_process_concept_property_list_dto.py | 4 +- .../test_process_concept_property_type_dto.py | 2 +- .../test/test_process_concept_stage_dto.py | 2 +- .../test_process_concept_stage_list_dto.py | 2 +- .../test/test_processing_job.py | 2 +- ...test_processing_job_and_status_response.py | 2 +- .../test/test_processing_job_request_dto.py | 2 +- .../test_processing_job_status_response.py | 2 +- .../test/test_product_release_dto.py | 2 +- .../test/test_product_releases_dto.py | 2 +- .../test/test_product_version_dto.py | 2 +- .../test/test_product_versions_dto.py | 2 +- ...ions_update_failure_tenant_response_dto.py | 2 +- ...st_product_versions_update_response_dto.py | 2 +- ...s_update_successful_tenant_response_dto.py | 2 +- ...ction_version_api_operation_request_dto.py | 2 +- ...tion_version_api_operation_response_dto.py | 2 +- .../test/test_production_versions_api.py | 2 +- ...tion_versions_api_operation_request_dto.py | 2 +- ...ion_versions_api_operation_response_dto.py | 2 +- ...file_assigned_for_accessible_tenant_dto.py | 2 +- ...t_profile_assigned_for_local_tenant_dto.py | 2 +- .../test/test_profile_assignment_dto.py | 2 +- .../test/test_profile_get_api_response_dto.py | 2 +- .../test/test_profiles_api.py | 2 +- .../test_profiles_get_api_response_dto.py | 2 +- .../test/test_project_commit_dto.py | 60 + .../test_project_commits_api_response_dto.py | 2 +- .../test/test_project_dto.py | 2 +- .../test_project_operation_request_dto.py | 2 +- .../test_project_operation_response_dto.py | 2 +- .../test/test_projects_api.py | 2 +- .../test_properties_change_definitions_dto.py | 2 +- .../test_properties_delete_definitions_dto.py | 2 +- .../test/test_properties_dto.py | 10 +- .../test/test_property_access_config_dto.py | 2 +- .../test_property_bulk_delete_response_dto.py | 2 +- .../test_property_change_definition_dto.py | 2 +- ...operty_change_definitions_by_tenant_dto.py | 2 +- .../test/test_property_column_dto.py | 2 +- .../test/test_property_definition_dto.py | 15 +- .../test/test_property_definition_list_dto.py | 9 +- ...operty_delete_definitions_by_tenant_dto.py | 2 +- .../test/test_property_delete_failure_dto.py | 2 +- .../test/test_property_delete_success_dto.py | 2 +- .../test/test_property_dependency_dto.py | 2 +- .../test/test_property_dependency_list_dto.py | 2 +- .../test/test_property_dto.py | 10 +- .../test/test_property_reference_dto.py | 2 +- .../test/test_property_set_config_dto.py | 2 +- .../test/test_property_type_details_dto.py | 6 +- .../test/test_property_type_dto.py | 2 +- .../test/test_public_key_dto.py | 2 +- .../test/test_public_keys_dto.py | 2 +- .../test/test_push_data_cancel_response.py | 2 +- .../test_push_data_column_definition_dto.py | 2 +- .../test/test_push_data_complete_request.py | 2 +- .../test/test_push_data_complete_response.py | 2 +- .../test/test_push_data_response.py | 2 +- .../test_push_data_source_definition_dto.py | 2 +- .../test_push_data_source_definitions_dto.py | 2 +- .../test/test_qualtrics_auth_params_dto.py | 2 +- .../test/test_query_axis_dto.py | 4 +- .../test/test_query_axis_options_dto.py | 2 +- ...ery_dimension_data_member_selection_dto.py | 2 +- ...test_query_dimension_leaf_selection_dto.py | 2 +- ...test_query_dimension_level_property_dto.py | 2 +- ...est_query_dimension_level_selection_dto.py | 2 +- ...st_query_dimension_member_selection_dto.py | 2 +- .../test_query_execution_error_details_dto.py | 2 +- .../test/test_query_execution_error_dto.py | 2 +- .../test/test_query_execution_errors_dto.py | 2 +- .../test/test_query_filter_dto.py | 4 +- .../test_query_member_map_property_dto.py | 2 +- .../test_query_member_map_selection_dto.py | 2 +- .../test/test_query_numeric_ranges_dto.py | 2 +- .../test/test_query_parameter_value_dto.py | 21 +- .../test/test_query_property_dto.py | 4 +- .../test/test_query_time_interval_dto.py | 2 +- ...ime_interval_dto_with_dynamic_date_from.py | 2 +- ...ry_time_interval_dto_with_from_datetime.py | 2 +- ...ery_time_interval_dto_with_from_instant.py | 2 +- .../test/test_query_time_intervals_dto.py | 2 +- ...me_intervals_dto_with_dynamic_date_from.py | 2 +- ...y_time_intervals_dto_with_from_datetime.py | 2 +- ...ry_time_intervals_dto_with_from_instant.py | 2 +- ...st_question_categories_api_response_dto.py | 5 +- ...test_question_category_api_response_dto.py | 7 +- .../test/test_receiving_job.py | 2 +- .../test_receiving_job_and_status_response.py | 2 +- ...ceiving_job_extracted_file_response_dto.py | 2 +- ...extracted_files_for_tenant_response_dto.py | 2 +- ...g_job_extracted_files_list_response_dto.py | 2 +- .../test_receiving_job_status_response.py | 2 +- .../test/test_redshift_auth_params_dto.py | 2 +- .../test/test_reduced_error_dto.py | 2 +- .../test_reduced_tenant_code_error_dto.py | 2 +- .../test/test_reduced_user_id_error_dto.py | 2 +- .../test/test_related_analytic_object_dto.py | 2 +- .../test/test_relative_time_expression_dto.py | 65 + .../test/test_relative_time_period_dto.py | 61 + .../test/test_relative_time_selection_dto.py | 60 + .../test/test_relative_time_shift_dto.py | 59 + ...equest.py => test_relative_to_rule_dto.py} | 29 +- .../test_release_version_configuration_api.py | 2 +- .../test/test_reopen_action_payload.py | 2 +- .../test/test_report_create_request_dto.py | 2 +- .../test/test_report_delete_success_dto.py | 2 +- .../test/test_report_dto.py | 2 +- .../test/test_report_list_response_dto.py | 2 +- .../test/test_reporting_api.py | 2 +- src/visier_platform_sdk/test/test_result.py | 2 +- .../test/test_role_modules_config_dto.py | 2 +- src/visier_platform_sdk/test/test_rule_dto.py | 63 + .../test/test_rule_set_dto.py | 67 + .../test_salary_benchmark_feedback_input.py | 73 + .../test/test_salary_benchmark_input.py | 5 +- ...chmarks_batch_processing_failure_output.py | 2 +- ...ary_benchmarks_batch_processing_outputs.py | 2 +- ...arks_batch_processing_successful_output.py | 2 +- .../test/test_salesforce_auth_params_dto.py | 2 +- .../test_salesforce_v2_auth_params_dto.py | 2 +- .../test_same_metric_other_context_dto.py | 67 + .../test/test_same_metric_other_time_dto.py | 61 + .../test_sample_question_api_response_dto.py | 2 +- .../test_sample_questions_api_response_dto.py | 2 +- .../test/test_scenario_info_dto.py | 2 +- .../test/test_scenario_or_snapshot_dto.py | 2 +- .../test/test_search_api.py | 2 +- .../test/test_securable_dimension_dto.py | 2 +- .../test/test_securable_property_dto.py | 2 +- .../test_security_assignment_response_dto.py | 2 +- ...est_selection_concept_configuration_dto.py | 2 +- ...selection_concept_configuration_map_dto.py | 2 +- .../test/test_selection_concept_dto.py | 2 +- .../test/test_selection_concept_list_dto.py | 2 +- .../test_selection_concept_reference_dto.py | 4 +- .../test/test_selection_concepts_dto.py | 2 +- .../test/test_service_now_auth_params_dto.py | 2 +- .../test_service_now_v2_auth_params_dto.py | 2 +- ...capability_proto_enum_access_lookup_dto.py | 2 +- ...ng_direct_data_upload_file_response_dto.py | 2 +- .../test_set_connector_setting_request_dto.py | 2 +- ...test_set_connector_setting_response_dto.py | 2 +- ...test_set_connector_settings_request_dto.py | 2 +- ...est_set_connector_settings_response_dto.py | 2 +- .../test/test_settings_dto.py | 2 +- .../test/test_shareable_data_access_set.py | 2 +- .../test/test_sidecar_solution_request_dto.py | 2 +- .../test_sidecar_solution_settings_dto.py | 2 +- .../test/test_sidecar_solutions_api.py | 2 +- ...ple_document_header_search_response_dto.py | 2 +- ...imple_document_header_search_result_dto.py | 2 +- .../test/test_simple_metric_details_dto.py | 59 + .../test/test_simple_property_type_dto.py | 2 +- .../test/test_simple_user_dto.py | 2 +- .../test/test_single_value_setting_dto.py | 2 +- src/visier_platform_sdk/test/test_skill.py | 2 +- .../test/test_skill_category.py | 2 +- .../test/test_skill_category_entry.py | 2 +- .../test/test_skill_entry.py | 2 +- .../test/test_skill_extraction_input.py | 2 +- .../test/test_skill_group.py | 2 +- .../test/test_skill_group_entry.py | 2 +- .../test/test_skill_match_input.py | 2 +- .../test/test_skills_library_api.py | 2 +- .../test/test_slack_auth_params_dto.py | 2 +- .../test/test_snapshot_query_execution_dto.py | 5 +- ...st_snapshot_query_execution_options_dto.py | 2 +- .../test/test_snowflake_auth_params_dto.py | 2 +- .../test/test_sort_option_dto.py | 2 +- src/visier_platform_sdk/test/test_source.py | 2 +- .../test/test_source_file_response_dto.py | 2 +- .../test/test_source_files_download_api.py | 2 +- .../test_source_import_result_summary_dto.py | 2 +- .../test/test_sources_api.py | 2 +- .../test_sources_api_operation_request_dto.py | 2 +- .../test/test_sources_api_put_response_dto.py | 2 +- .../test/test_sql_like_query_execution_dto.py | 2 +- .../test/test_sql_server_auth_params_dto.py | 2 +- ...test_start_collaboration_action_payload.py | 59 + .../test/test_start_extraction_response.py | 2 +- .../test/test_start_transfer_response.py | 2 +- .../test/test_static_dimension_filter_dto.py | 2 +- src/visier_platform_sdk/test/test_status.py | 2 +- .../test/test_subject_details_dto.py | 17 +- ..._subject_member_set_parameter_value_dto.py | 73 + ...rameter_value_dto_list_of_name_path_dto.py | 63 + ...r_set_parameter_value_dto_name_path_dto.py | 60 + .../test/test_subject_missing_access_dto.py | 2 +- .../test/test_subject_reference_dto.py | 5 +- .../test/test_subject_reference_list_dto.py | 5 +- ...e_dto.py => test_submit_action_payload.py} | 26 +- .../test_success_factors_auth_params_dto.py | 2 +- .../test_success_factors_o_auth_params_dto.py | 2 +- ...ccessible_tenant_profile_assignment_dto.py | 2 +- .../test/test_successful_change_dto.py | 2 +- ...ful_local_tenant_profile_assignment_dto.py | 2 +- .../test/test_synonym_list_dto.py | 2 +- .../test/test_system_status_api.py | 2 +- .../test/test_system_status_dto.py | 2 +- .../test/test_table_response_dto.py | 2 +- .../test/test_tag_map_element_dto.py | 2 +- .../test/test_tag_reference_dto.py | 2 +- .../test/test_tag_reference_list_dto.py | 2 +- src/visier_platform_sdk/test/test_tags_dto.py | 2 +- .../test_target_project_for_tenant_dto.py | 2 +- ...est_target_project_for_tenants_list_dto.py | 2 +- .../test/test_target_tenant_code_dto.py | 2 +- src/visier_platform_sdk/test/test_tenant.py | 2 +- .../test/test_tenant_and_credential.py | 2 +- .../test/test_tenant_assignments_dto.py | 2 +- .../test/test_tenant_code_body.py | 2 +- .../test/test_tenant_code_error_dto.py | 2 +- ...t_tenant_connector_settings_request_dto.py | 2 +- ..._tenant_data_upload_status_response_dto.py | 2 +- ..._data_upload_update_status_response_dto.py | 2 +- ...t_tenant_data_uploads_list_response_dto.py | 2 +- .../test_tenant_data_uploads_response_dto.py | 2 +- ...tenant_data_uploads_update_response_dto.py | 2 +- .../test/test_tenant_detail_apidto.py | 2 +- .../test/test_tenant_details_traits_dto.py | 2 +- .../test_tenant_encryption_key_details_dto.py | 2 +- .../test/test_tenant_encryption_key_dto.py | 2 +- ..._tenant_management_api_get_response_dto.py | 2 +- ...tenant_management_api_list_response_dto.py | 2 +- ...enant_management_api_update_request_dto.py | 5 +- ...nant_management_api_update_response_dto.py | 5 +- .../test/test_tenant_module_dto.py | 2 +- ...test_tenant_preview_entries_summary_dto.py | 2 +- ...tenant_preview_entries_summary_list_dto.py | 2 +- .../test/test_tenant_provision_apidto.py | 2 +- ...t_tenant_source_files_list_response_dto.py | 2 +- .../test/test_tenant_status_apidto.py | 2 +- .../test/test_tenants_v1_api.py | 2 +- .../test/test_tenants_v2_api.py | 2 +- .../test/test_time_handling_dto.py | 61 + .../test/test_time_period_dto.py | 69 + .../test/test_time_period_filter_dto.py | 65 + .../test/test_time_period_metadata_dto.py | 63 + .../test/test_time_shift_dto.py | 2 +- .../test/test_token_response.py | 2 +- ...trigger_criteria_member_result_info_dto.py | 61 + ...rigger_criteria_overall_result_info_dto.py | 59 + .../test_trigger_criteria_result_info_dto.py | 65 + .../test/test_ultimate_auth_params_dto.py | 2 +- ...update_event_alert_recipient_status_dto.py | 58 + .../test/test_update_tenant_model.py | 2 +- .../test/test_upload_to_exclude.py | 2 +- .../test/test_upload_to_include.py | 2 +- .../test_user_creation_api_request_dto.py | 2 +- .../test_user_creation_api_response_dto.py | 2 +- .../test/test_user_get_api_response_dto.py | 2 +- ...ser_group_assigned_for_local_tenant_dto.py | 2 +- .../test/test_user_group_assignment_dto.py | 2 +- .../test_user_group_change_definition_dto.py | 8 +- ..._user_group_change_dimension_filter_dto.py | 2 +- .../test_user_group_change_failure_dto.py | 2 +- .../test/test_user_group_change_filter_dto.py | 2 +- ..._user_group_change_member_selection_dto.py | 2 +- .../test_user_group_change_response_dto.py | 2 +- .../test_user_group_change_success_dto.py | 2 +- .../test/test_user_group_change_users_dto.py | 2 +- .../test/test_user_group_delete_dto.py | 2 +- .../test_user_group_delete_failure_dto.py | 2 +- .../test_user_group_delete_response_dto.py | 2 +- .../test_user_group_delete_success_dto.py | 2 +- .../test/test_user_group_filters_dto.py | 2 +- .../test_user_group_get_api_response_dto.py | 2 +- ...t_user_group_single_delete_response_dto.py | 2 +- .../test/test_user_groups_change_dto.py | 5 +- .../test_user_groups_delete_request_dto.py | 2 +- .../test_user_groups_get_api_response_dto.py | 2 +- .../test/test_user_groups_users_dto.py | 2 +- .../test_user_groups_users_for_tenant_dto.py | 2 +- .../test/test_user_groups_v2_api.py | 2 +- .../test/test_user_id_error_dto.py | 2 +- .../test/test_user_property_dto.py | 2 +- .../test_user_security_assignments_dto.py | 2 +- .../test/test_user_update_api_request_dto.py | 2 +- .../test/test_user_v3_api_request_dto.py | 2 +- .../test/test_user_v3_api_response_dto.py | 2 +- .../test/test_users_api_error_message_dto.py | 2 +- .../test/test_users_api_failure_dto.py | 2 +- .../test/test_users_api_response_dto.py | 2 +- .../test/test_users_api_success_dto.py | 2 +- .../test_users_creation_api_request_dto.py | 2 +- .../test/test_users_delete_api_request_dto.py | 2 +- .../test_users_to_user_group_request_dto.py | 2 +- .../test_users_to_user_groups_request_dto.py | 2 +- .../test/test_users_update_api_request_dto.py | 2 +- .../test/test_users_update_api_user_dto.py | 2 +- .../test/test_users_v1_api.py | 2 +- .../test/test_users_v2_api.py | 2 +- .../test/test_users_v3_api.py | 2 +- .../test_v2_calculated_property_type_dto.py | 2 +- .../test/test_v2_dimension_dto.py | 4 +- .../test/test_v2_level_dto.py | 2 +- .../test/test_v2_simple_property_type_dto.py | 2 +- .../test/test_validity_range_dto.py | 2 +- src/visier_platform_sdk/test/test_vee_api.py | 2 +- .../test/test_vee_clarification_dto.py | 2 +- .../test/test_vee_conversation_dto.py | 2 +- .../test/test_vee_conversation_state_dto.py | 2 +- .../test/test_vee_corrections_dto.py | 2 +- .../test/test_vee_data_dto.py | 2 +- .../test/test_vee_detail_data_dto.py | 63 + .../test/test_vee_feedback_dto.py | 2 +- .../test/test_vee_options_dto.py | 5 +- ...ion_categories_bulk_change_response_dto.py | 75 + ...stion_categories_change_definitions_dto.py | 68 + ...stion_categories_delete_definitions_dto.py | 65 + ...question_category_change_definition_dto.py | 62 + ...tegory_change_definitions_by_tenant_dto.py | 65 + ...ee_question_category_change_failure_dto.py | 66 + ...ee_question_category_change_success_dto.py | 64 + ...tegory_delete_definitions_by_tenant_dto.py | 62 + ...test_vee_question_change_definition_dto.py | 2 +- ...estion_change_definitions_by_tenant_dto.py | 2 +- .../test_vee_question_change_failure_dto.py | 2 +- .../test_vee_question_change_success_dto.py | 2 +- ...estion_delete_definitions_by_tenant_dto.py | 2 +- .../test/test_vee_question_dto.py | 5 +- ..._vee_questions_bulk_change_response_dto.py | 2 +- ...st_vee_questions_change_definitions_dto.py | 2 +- ...st_vee_questions_delete_definitions_dto.py | 2 +- .../test/test_vee_response_dto.py | 13 +- .../test/test_vee_response_schema_dto.py | 2 +- .../test_vee_response_schema_reference_dto.py | 2 +- .../test/test_vee_sample_question_dto.py | 2 +- .../test_vee_sample_question_library_dto.py | 2 +- .../test/test_vee_status_code_dto.py | 2 +- .../test/test_vee_status_dto.py | 2 +- .../test/test_vee_visual_dto.py | 2 +- .../test/test_vee_visual_options_dto.py | 2 +- .../test/test_version_information_dto.py | 2 +- ...o.py => test_visible_for_selection_dto.py} | 27 +- .../test_webhook_basic_auth_credential_dto.py | 2 +- .../test/test_webhook_credentials_dto.py | 2 +- .../test/test_webhook_details_dto.py | 2 +- .../test/test_webhook_dto.py | 2 +- .../test/test_webhook_event_type_dto.py | 2 +- .../test/test_webhook_message_response_dto.py | 2 +- .../test/test_webhook_request_dto.py | 2 +- .../test/test_webhooks_api.py | 2 +- .../test/test_webhooks_dto.py | 2 +- .../test/test_willow_auth_params_dto.py | 2 +- .../test/test_workday_auth_params_dto.py | 2 +- .../test/test_workday_o_auth_params_dto.py | 2 +- .../test/test_workday_raas_auth_params_dto.py | 2 +- .../test_workday_refresh_token_params_dto.py | 2 +- .../test/test_zoom_auth_params_dto.py | 2 +- .../visier_platform_sdk/__init__.py | 204 +- .../visier_platform_sdk/api/__init__.py | 3 + .../api/analytic_objects_v2_api.py | 2250 +++++++++ .../api/basic_authentication_api.py | 2 +- .../visier_platform_sdk/api/benchmarks_api.py | 303 +- .../api/concepts_v2_api.py | 94 +- .../api/consolidated_analytics_api.py | 2 +- .../api/data_and_job_handling_api.py | 2 +- .../api/data_intake_api.py | 2 +- .../visier_platform_sdk/api/data_model_api.py | 4336 ++++++++++------- .../visier_platform_sdk/api/data_query_api.py | 2 +- .../api/data_upload_api.py | 2 +- .../api/data_version_export_api.py | 2 +- .../visier_platform_sdk/api/dimensions_api.py | 372 +- .../api/dimensions_v2_api.py | 2 +- .../api/direct_data_intake_api.py | 2 +- .../api/email_domains_api.py | 43 +- .../api/encryption_keys_api.py | 2 +- .../api/jobs_library_api.py | 2 +- .../visier_platform_sdk/api/metrics_v2_api.py | 2307 +++++++++ .../api/network_subnets_api.py | 2 +- .../visier_platform_sdk/api/o_auth2_api.py | 2 +- .../api/object_configuration_api.py | 2 +- .../api/permissions_api.py | 17 +- .../api/personalized_alerts_api.py | 1938 ++++++++ .../visier_platform_sdk/api/pgp_keys_api.py | 2 +- .../api/plan_administration_api.py | 367 +- .../api/plan_data_load_api.py | 4 +- .../api/production_versions_api.py | 2 +- .../visier_platform_sdk/api/profiles_api.py | 2 +- .../visier_platform_sdk/api/projects_api.py | 47 +- .../api/release_version_configuration_api.py | 2 +- .../visier_platform_sdk/api/reporting_api.py | 2 +- .../visier_platform_sdk/api/search_api.py | 2 +- .../api/sidecar_solutions_api.py | 8 +- .../api/skills_library_api.py | 2 +- .../api/source_files_download_api.py | 2 +- .../visier_platform_sdk/api/sources_api.py | 8 +- .../api/system_status_api.py | 2 +- .../visier_platform_sdk/api/tenants_v1_api.py | 2 +- .../visier_platform_sdk/api/tenants_v2_api.py | 14 +- .../api/user_groups_v2_api.py | 36 +- .../visier_platform_sdk/api/users_v1_api.py | 32 +- .../visier_platform_sdk/api/users_v2_api.py | 2 +- .../visier_platform_sdk/api/users_v3_api.py | 17 +- .../visier_platform_sdk/api/vee_api.py | 2 +- .../visier_platform_sdk/api/webhooks_api.py | 2 +- .../visier_platform_sdk/api_client.py | 4 +- .../visier_platform_sdk/configuration.py | 6 +- .../visier_platform_sdk/exceptions.py | 2 +- .../visier_platform_sdk/models/__init__.py | 99 +- ...e_tenant_profile_assignment_request_dto.py | 2 +- ..._tenant_profile_assignment_response_dto.py | 2 +- ...sible_tenant_profile_revoke_request_dto.py | 2 +- ...ible_tenant_profile_revoke_response_dto.py | 2 +- .../models/additional_capabilities_dto.py | 2 +- .../models/admin_capability_config_dto.py | 2 +- .../models/adp_auth_params_dto.py | 2 +- .../aggregate_query_execution_options_dto.py | 2 +- .../models/aggregation_query_dto.py | 2 +- .../models/aggregation_query_execution_dto.py | 2 +- .../models/aggregation_query_source_dto.py | 2 +- .../aggregation_query_source_metric_dto.py | 2 +- .../aggregation_query_source_metrics_dto.py | 2 +- .../models/aggregation_type_option_dto.py | 2 +- .../models/aggregation_type_parameter_dto.py | 2 +- .../aggregation_type_parameter_value_dto.py | 6 +- ...rmissions_assigned_for_local_tenant_dto.py | 2 +- ...file_assigned_for_accessible_tenant_dto.py | 2 +- ...l_profile_assigned_for_local_tenant_dto.py | 2 +- .../models/all_tenants_status_apidto.py | 2 +- ...er_groups_assigned_for_local_tenant_dto.py | 2 +- .../models/all_users_get_api_response_dto.py | 2 +- .../models/analytic_object_definition_dto.py | 18 +- .../analytic_object_delete_request_dto.py | 96 + ...analytic_object_delete_with_context_dto.py | 98 + .../models/analytic_object_details_dto.py | 2 +- .../models/analytic_object_dto.py | 2 +- .../models/analytic_object_filter_dto.py | 2 +- .../models/analytic_object_filter_list_dto.py | 2 +- .../models/analytic_object_names_dto.py | 2 +- .../models/analytic_object_reference_dto.py | 2 +- .../analytic_object_reference_list_dto.py | 2 +- .../models/analytic_object_request_dto.py | 2 +- .../models/analytic_object_response_dto.py | 96 + .../analytic_object_revert_request_dto.py | 96 + ...analytic_object_revert_with_context_dto.py | 98 + .../analytic_object_with_context_dto.py | 2 +- .../models/analytic_objects_dto.py | 2 +- .../visier_platform_sdk/models/any.py | 2 +- .../visier_platform_sdk/models/api_error.py | 2 +- .../assign_connector_credential_request.py | 2 +- ...ctor_credentials_by_tenant_response_dto.py | 2 +- ...sign_connector_credentials_response_dto.py | 2 +- ...connector_with_credentials_response_dto.py | 2 +- ...ign_revoke_permission_by_permission_dto.py | 2 +- .../assign_revoke_permission_by_tenant_dto.py | 2 +- .../assign_revoke_permission_by_user_dto.py | 2 +- .../assign_revoke_permission_request_dto.py | 2 +- .../assign_revoke_permissions_request_dto.py | 2 +- .../assign_revoke_permissions_response_dto.py | 10 +- .../assigned_credential_info_response_dto.py | 2 +- .../models/bamboo_auth_params_dto.py | 2 +- .../models/basic_information_dto.py | 2 +- .../models/basic_s3_auth_params_dto.py | 2 +- .../models/batch_tenant_provision_apidto.py | 2 +- .../models/benchmark_info.py | 2 +- .../models/benchmark_value.py | 2 +- .../models/between_rule_dto.py | 90 + .../models/big_query_auth_params_dto.py | 2 +- .../big_query_service_account_params_dto.py | 2 +- .../models/bulk_change_response_dto.py | 2 +- .../bulk_data_access_set_request_dto.py | 2 +- .../bulk_data_access_set_response_dto.py | 2 +- .../models/business_location_dto.py | 2 +- .../models/calculated_property_type_dto.py | 2 +- .../calculated_selection_concept_dto.py | 2 +- .../calculation_concept_configuration_dto.py | 2 +- ...lculation_concept_configuration_map_dto.py | 2 +- .../models/calculation_concept_dto.py | 2 +- .../models/calculation_concept_list_dto.py | 2 +- .../cancel_job_batch_from_job_id_dto.py | 2 +- .../models/capabilities_dto.py | 2 +- .../models/capability_dto.py | 2 +- .../models/capability_group_dto.py | 6 +- .../visier_platform_sdk/models/caption_dto.py | 2 +- .../models/caption_list_dto.py | 2 +- .../career_level_search_failure_output.py | 96 + .../models/career_level_search_input.py | 90 + .../models/career_level_search_output.py | 106 + .../career_level_search_successful_output.py | 98 + .../models/category_icon_dto.py | 90 + .../models/cell_distribution_bin_dto.py | 2 +- .../models/cell_distribution_options_dto.py | 2 +- .../visier_platform_sdk/models/cell_dto.py | 2 +- .../models/cell_set_axis_dto.py | 2 +- .../models/cell_set_axis_position_dto.py | 2 +- .../models/cell_set_dto.py | 2 +- .../models/cell_set_or_error_dto.py | 2 +- .../clone_files_into_source_parameters_dto.py | 2 +- .../models/cohort_filter_dto.py | 2 +- .../models/collaboration_info.py | 106 + ...mmit_and_publish_operation_response_dto.py | 2 +- .../visier_platform_sdk/models/commit_dto.py | 2 +- .../models/compared_metric_dto.py | 106 + .../concept_configuration_result_dto.py | 2 +- .../models/concept_definition_dto.py | 2 +- .../models/concept_delete_request_dto.py | 2 +- .../models/concept_delete_with_context_dto.py | 2 +- .../models/concept_reference_filter_dto.py | 90 + .../models/concept_request_dto.py | 2 +- .../models/concept_response_dto.py | 2 +- .../models/concept_type_details_dto.py | 2 +- .../models/concept_with_context_dto.py | 2 +- .../visier_platform_sdk/models/connector.py | 2 +- .../models/connector_info_response_dto.py | 2 +- .../models/connector_setting_request_dto.py | 2 +- .../models/connector_setting_response_dto.py | 2 +- .../models/connector_settings_response_dto.py | 2 +- .../models/consolidate_action_payload.py | 4 +- ..._analytics_api_excluded_source_list_dto.py | 2 +- ...ed_analytics_api_source_tenant_list_dto.py | 2 +- ...analytics_api_tenant_create_request_dto.py | 2 +- ..._analytics_api_tenant_list_response_dto.py | 2 +- ...dated_analytics_api_tenant_with_details.py | 2 +- ...i_tenant_with_details_list_response_dto.py | 2 +- .../consolidated_analytics_job_request_dto.py | 2 +- .../models/content_package_dto.py | 2 +- .../models/copy_s3_auth_params_dto.py | 2 +- .../models/create_event_alert_request_dto.py | 94 + .../credential_creation_api_response_dto.py | 2 +- .../models/currencies_dto.py | 2 +- .../models/currency_dto.py | 2 +- .../models/currency_rate_dto.py | 2 +- .../models/currency_rates_dto.py | 2 +- .../models/custom_property_dto.py | 2 +- .../models/custom_tenant_property_dto.py | 2 +- .../models/data_access_set_dto.py | 2 +- .../models/data_access_set_error_dto.py | 2 +- .../models/data_access_set_failure_dto.py | 2 +- .../models/data_access_set_success_dto.py | 2 +- .../models/data_categories_response_dto.py | 2 +- .../models/data_category_response_dto.py | 2 +- .../models/data_load_request.py | 2 +- .../models/data_load_request_model.py | 2 +- .../models/data_load_response.py | 2 +- .../models/data_model_analytic_object_dto.py | 2 +- .../data_provider_auth_information_dto.py | 2 +- .../models/data_provider_auth_params_dto.py | 2 +- .../data_provider_basic_information_dto.py | 2 +- .../data_provider_basic_metadata_dto.py | 2 +- .../models/data_security_profile_dto.py | 2 +- .../models/data_transfer_result_detail.py | 2 +- .../models/data_version_and_date_dto.py | 2 +- .../models/data_version_export_column_dto.py | 2 +- ...version_export_data_version_summary_dto.py | 2 +- .../data_version_export_data_versions_dto.py | 2 +- .../models/data_version_export_dto.py | 2 +- .../models/data_version_export_file_dto.py | 2 +- .../data_version_export_job_status_dto.py | 2 +- .../data_version_export_part_file_dto.py | 2 +- ...version_export_schedule_job_request_dto.py | 2 +- ...ersion_export_schedule_job_response_dto.py | 2 +- .../models/data_version_export_table_dto.py | 2 +- .../models/data_version_exports_dto.py | 2 +- .../models/data_version_object.py | 2 +- .../models/databricks_auth_params_dto.py | 2 +- .../models/date_range_dto.py | 2 +- .../models/dayforce_v2_auth_params_dto.py | 2 +- .../models/delete_email_domains_dto.py | 90 + .../models/delete_permissions_request_dto.py | 2 +- .../models/delete_user_group_v2_request.py | 2 +- .../models/dependent_dto.py | 2 +- .../models/derived_metric_details_dto.py | 106 + .../models/description_entry.py | 2 +- .../models/designer_dimension_filter_dto.py | 2 +- .../models/designer_selection_concept_dto.py | 2 +- .../models/dimension_change_definition_dto.py | 2 +- ...ension_change_definitions_by_tenant_dto.py | 2 +- .../models/dimension_delete_request_dto.py | 2 +- .../dimension_delete_with_context_dto.py | 2 +- .../models/dimension_details_dto.py | 2 +- .../models/dimension_dto.py | 2 +- .../models/dimension_filter_dto.py | 2 +- .../dimension_mapping_validation_dto.py | 2 +- ...ension_mapping_validation_execution_dto.py | 2 +- .../models/dimension_member.py | 2 +- .../models/dimension_member_dto.py | 2 +- .../models/dimension_member_reference_dto.py | 2 +- .../models/dimension_reference_dto.py | 2 +- .../models/dimension_request_dto.py | 2 +- .../models/dimension_response_dto.py | 2 +- .../models/dimension_with_context_dto.py | 2 +- .../models/dimensions_auth_params_dto.py | 2 +- .../dimensions_change_definitions_dto.py | 2 +- .../models/dimensions_dto.py | 2 +- .../models/direct_data_job_config_dto.py | 2 +- .../direct_data_job_status_response_dto.py | 2 +- ...ect_data_list_transactions_response_dto.py | 2 +- .../models/direct_data_load_config_dto.py | 2 +- .../models/direct_data_schema_dto.py | 2 +- .../models/direct_data_schema_field_dto.py | 2 +- .../models/direct_data_transaction_dto.py | 2 +- ...ect_data_transaction_start_response_dto.py | 2 +- .../direct_data_upload_file_response_dto.py | 2 +- .../models/disable_dv_model.py | 2 +- .../models/disable_dv_request.py | 2 +- .../models/disable_dv_response.py | 2 +- .../models/dispatching_job_status_response.py | 2 +- .../models/document_search_link_dto.py | 2 +- .../models/download_source_files_dto.py | 2 +- .../download_source_files_response_dto.py | 2 +- .../models/dv_export_status.py | 2 +- .../models/dynamic_dimension_filter_dto.py | 2 +- .../models/dynamic_property_mapping_dto.py | 2 +- .../models/element_ids_dto.py | 2 +- .../models/email_domains_dto.py | 10 +- .../end_collaboration_action_payload.py | 98 + .../visier_platform_sdk/models/error_dto.py | 2 +- .../models/error_summary.py | 2 +- ...t.py => event_alert_delete_success_dto.py} | 16 +- .../models/event_alert_dto.py | 98 + ...t_notification_result_alert_details_dto.py | 104 + .../event_alert_notification_result_dto.py | 120 + .../event_alert_notification_results_dto.py | 96 + ...py => event_alert_trigger_criteria_dto.py} | 28 +- .../models/event_details_dto.py | 10 +- .../models/exclude_data_uploads_request.py | 2 +- .../models/excluded_sources_body.py | 2 +- .../models/execution_context_dto.py | 2 +- ...n_versions_api_operation_parameters_dto.py | 2 +- .../models/extract_data_and_load_dto.py | 2 +- .../models/extracted_skill.py | 2 +- .../models/extraction_job.py | 2 +- .../extraction_job_and_status_response.py | 2 +- .../models/extractor_credential_apidto.py | 2 +- .../models/extractor_credentials_apidto.py | 2 +- .../models/extractor_setting_apidto.py | 2 +- .../extractor_setting_key_value_apidto.py | 2 +- .../models/extractor_settings_apidto.py | 2 +- ...ccessible_tenant_profile_assignment_dto.py | 2 +- .../models/failed_change_dto.py | 2 +- ...led_local_tenant_profile_assignment_dto.py | 2 +- .../failed_local_tenant_profile_revoke_dto.py | 2 +- .../visier_platform_sdk/models/filter_dto.py | 128 + .../models/fixed_time_type_dto.py | 102 + .../models/fusion_auth_params_dto.py | 2 +- .../generate_impersonation_token_request.py | 2 +- .../models/generate_key_request_dto.py | 2 +- .../get_capabilities_api_response_dto.py | 2 +- .../get_content_packages_api_response_dto.py | 2 +- .../get_data_access_sets_api_response_dto.py | 2 +- ..._data_security_objects_api_response_dto.py | 2 +- .../models/get_event_alerts_response_dto.py | 105 + .../get_permissions_api_response_dto.py | 2 +- .../models/get_plan_list_response_dto.py | 2 +- ...et_production_versions_api_response_dto.py | 2 +- .../models/get_projects_api_response_dto.py | 2 +- .../models/gong_auth_params_dto.py | 2 +- .../models/google_sheets_auth_params_dto.py | 2 +- .../google_workspace_auth_params_dto.py | 2 +- .../models/greenhouse_auth_params_dto.py | 2 +- ...ped_metric_value_threshold_criteria_dto.py | 120 + .../visier_platform_sdk/models/hierarchy.py | 2 +- .../models/hierarchy_property_dto.py | 2 +- .../models/home_analysis_by_user_group_dto.py | 2 +- .../models/icims_auth_params_dto.py | 2 +- .../models/import_definition_apidto.py | 2 +- .../models/import_definitions_apidto.py | 2 +- .../models/include_data_uploads_request.py | 2 +- .../models/inherited_access_config_dto.py | 2 +- ...ited_reference_member_filter_config_dto.py | 2 +- .../internal_query_execution_options_dto.py | 2 +- .../models/internal_s3_auth_params_dto.py | 2 +- .../models/jdbc_auth_params_dto.py | 2 +- .../models/jira_auth_params_dto.py | 2 +- .../models/jira_connect_params_dto.py | 2 +- .../visier_platform_sdk/models/job.py | 2 +- .../models/job_cancellation_result_dto.py | 2 +- .../models/job_cancellation_results_dto.py | 2 +- .../visier_platform_sdk/models/job_entry.py | 2 +- .../models/job_feedback_input.py | 4 +- .../models/job_id_response.py | 2 +- .../models/job_search_failure_output.py | 2 +- .../models/job_search_input.py | 2 +- .../models/job_search_output.py | 2 +- .../models/job_standardization_input.py | 8 +- .../job_standardization_input_skills.py | 2 +- .../models/job_status_list_response.py | 2 +- .../models/job_status_with_start_time.py | 2 +- .../models/key_group_filter_dto.py | 22 +- .../models/key_group_filter_item_dto.py | 2 +- .../visier_platform_sdk/models/key_name.py | 2 +- .../models/key_pair_delete_response_dto.py | 2 +- .../models/key_pair_generate_request_dto.py | 2 +- .../models/last_login_dto.py | 2 +- .../visier_platform_sdk/models/level_dto.py | 2 +- .../models/level_list_dto.py | 2 +- .../models/leveled_details_dto.py | 2 +- .../models/lever_auth_params_dto.py | 2 +- .../visier_platform_sdk/models/lineage_dto.py | 2 +- .../models/list_query_execution_dto.py | 2 +- .../list_query_execution_options_dto.py | 2 +- .../models/list_query_source_dto.py | 2 +- .../models/list_response.py | 2 +- .../models/local_or_shared_dimension_dto.py | 2 +- .../local_or_shared_dimension_list_dto.py | 2 +- ...l_tenant_profile_assignment_request_dto.py | 2 +- ..._tenant_profile_assignment_response_dto.py | 2 +- ...local_tenant_profile_revoke_request_dto.py | 2 +- ...ocal_tenant_profile_revoke_response_dto.py | 2 +- .../models/location_search_failure_output.py | 2 +- .../models/location_search_input.py | 2 +- .../models/location_search_input1.py | 2 +- .../models/location_search_output.py | 2 +- .../location_search_successful_output.py | 2 +- .../models/mask_message.py | 2 +- .../models/medallia_auth_params_dto.py | 2 +- .../visier_platform_sdk/models/member_dto.py | 2 +- .../models/member_filter_config_dto.py | 2 +- .../models/member_filter_dto.py | 2 +- .../models/member_parameter_definition_dto.py | 2 +- .../models/member_parameter_value_dto.py | 2 +- .../models/member_selection_concept_dto.py | 2 +- .../models/member_selection_dto.py | 2 +- .../models/member_values_dto.py | 2 +- .../visier_platform_sdk/models/members_dto.py | 2 +- .../models/metric_definition_dto.py | 26 +- ...st_dto.py => metric_delete_request_dto.py} | 30 +- .../models/metric_delete_with_context_dto.py | 98 + .../visier_platform_sdk/models/metric_dto.py | 56 +- ...y => metric_filter_parameter_value_dto.py} | 34 +- .../models/metric_request_dto.py | 96 + ...atch_request.py => metric_response_dto.py} | 30 +- .../models/metric_type_details_dto.py | 22 +- .../models/metric_validation_summary_dto.py | 2 +- .../models/metric_with_context_dto.py | 98 + .../visier_platform_sdk/models/metrics_dto.py | 2 +- .../models/microsoft365_auth_params_dto.py | 2 +- .../models/module_settings_dto.py | 2 +- .../models/multi_value_property_type_dto.py | 2 +- .../models/multi_value_setting_dto.py | 2 +- ...ltiple_tenant_data_versions_details_dto.py | 2 +- .../multiple_tenant_data_versions_list_dto.py | 2 +- .../models/my_sql_auth_params_dto.py | 2 +- .../models/namely_auth_params_dto.py | 2 +- .../models/network_subnets_message_request.py | 2 +- .../network_subnets_message_response.py | 2 +- .../numeric_parameter_definition_dto.py | 2 +- .../models/numeric_parameter_value_dto.py | 4 +- .../models/numeric_range_dto.py | 102 + .../models/numeric_range_filter_dto.py | 100 + .../models/o_auth2_user_info_dto.py | 2 +- .../models/o_auth2_user_subnet_info_dto.py | 2 +- .../models/o_auth2_user_tenant_detail_dto.py | 2 +- .../models/o_auth2_user_tenant_details_dto.py | 2 +- .../o_auth2_user_tenant_properties_dto.py | 2 +- .../models/object_change_failure_dto.py | 2 +- .../models/object_change_success_dto.py | 2 +- .../models/object_id_dto.py | 2 +- .../models/object_reference_dto.py | 2 +- .../objects_bulk_change_response_dto.py | 2 +- .../models/oracle_db_auth_params_dto.py | 2 +- .../models/other_metric_dto.py | 92 + .../models/output_entry.py | 2 +- .../models/output_entry1.py | 2 +- .../models/output_entry1_matches_inner.py | 2 +- .../visier_platform_sdk/models/pair_dto.py | 2 +- .../models/parameter_definition_dto.py | 54 +- .../models/parent_child_details_dto.py | 2 +- .../models/periods_back_dto.py | 90 + .../permission_assigned_by_tenant_dto.py | 2 +- ...ermission_assigned_for_local_tenant_dto.py | 2 +- .../models/permission_assigned_user_dto.py | 2 +- .../models/permission_assigned_users_dto.py | 2 +- .../permission_bulk_operation_response_dto.py | 2 +- .../models/permission_dto.py | 2 +- .../models/permission_error_dto.py | 2 +- .../models/permission_failure_dto.py | 2 +- .../models/permission_response_dto.py | 2 +- .../models/permission_success_dto.py | 2 +- .../models/permissions_list_dto.py | 2 +- ...ermissions_to_user_group_for_tenant_dto.py | 2 +- .../permissions_to_user_group_request_dto.py | 2 +- .../permissions_to_user_groups_request_dto.py | 2 +- .../models/persisted_cohort_filter_dto.py | 90 + .../models/perspective_configuration_dto.py | 2 +- .../models/perspective_node_dto.py | 2 +- .../models/plan_data_load_change_dto.py | 2 +- .../models/plan_data_load_change_list_dto.py | 2 +- .../models/plan_data_load_error_dto.py | 2 +- .../models/plan_data_upload_response_dto.py | 2 +- .../models/plan_info_dto.py | 14 +- .../models/plan_item_dto.py | 2 +- .../models/plan_parameter_definition_dto.py | 2 +- .../models/plan_parameter_value_dto.py | 16 +- .../plan_patch_consolidate_action_request.py | 4 +- ...patch_end_collaboration_action_request.py} | 32 +- .../plan_patch_reopen_action_request.py | 4 +- ...atch_start_collaboration_action_request.py | 101 + ...py => plan_patch_submit_action_request.py} | 32 +- .../models/plan_row_data_load_response_dto.py | 2 +- ...y => plan_scenario_patch_action_result.py} | 12 +- ...uest.py => plan_scenario_patch_request.py} | 68 +- ...nse.py => plan_scenario_patch_response.py} | 14 +- .../models/plan_schema_dto.py | 2 +- .../models/plan_segment_level_dto.py | 2 +- .../models/plan_segment_level_member_dto.py | 2 +- .../plan_segment_level_member_list_dto.py | 2 +- .../models/plan_time_period_dto.py | 2 +- .../models/plan_with_schema_dto.py | 2 +- .../planning_concept_filter_context_dto.py | 2 +- .../planning_hierarchy_filter_context_dto.py | 2 +- .../models/planning_model_dto.py | 2 +- .../models/planning_models_dto.py | 2 +- .../models/planning_plan_context_dto.py | 2 +- .../models/planning_plan_dto.py | 2 +- .../models/planning_plans_dto.py | 2 +- .../models/plans_patch_request_plan_item.py | 141 - .../models/population_configuration_dto.py | 2 +- .../models/prediction_dto.py | 2 +- .../models/predictions_dto.py | 2 +- .../models/process_concept_definition_dto.py | 2 +- .../models/process_concept_member_dto.py | 2 +- .../models/process_concept_member_list_dto.py | 2 +- .../process_concept_metric_definition_dto.py | 48 +- .../process_concept_metric_details_dto.py | 92 + .../models/process_concept_metric_list_dto.py | 8 +- ...process_concept_metric_type_details_dto.py | 92 + .../models/process_concept_outcome_dto.py | 2 +- .../process_concept_outcome_list_dto.py | 2 +- .../process_concept_property_details_dto.py | 92 + .../models/process_concept_property_dto.py | 102 + .../process_concept_property_list_dto.py | 8 +- .../process_concept_property_type_dto.py | 2 +- .../models/process_concept_stage_dto.py | 2 +- .../models/process_concept_stage_list_dto.py | 2 +- .../models/processing_job.py | 2 +- .../processing_job_and_status_response.py | 2 +- .../models/processing_job_request_dto.py | 2 +- .../models/processing_job_status_response.py | 2 +- .../models/product_release_dto.py | 2 +- .../models/product_releases_dto.py | 2 +- .../models/product_version_dto.py | 2 +- .../models/product_versions_dto.py | 2 +- ...ions_update_failure_tenant_response_dto.py | 2 +- .../product_versions_update_response_dto.py | 2 +- ...s_update_successful_tenant_response_dto.py | 2 +- ...ction_version_api_operation_request_dto.py | 2 +- ...tion_version_api_operation_response_dto.py | 2 +- ...tion_versions_api_operation_request_dto.py | 2 +- ...ion_versions_api_operation_response_dto.py | 2 +- ...file_assigned_for_accessible_tenant_dto.py | 2 +- .../profile_assigned_for_local_tenant_dto.py | 2 +- .../models/profile_assignment_dto.py | 6 +- .../models/profile_get_api_response_dto.py | 2 +- .../models/profiles_get_api_response_dto.py | 2 +- .../models/project_commit_dto.py | 92 + .../project_commits_api_response_dto.py | 2 +- .../visier_platform_sdk/models/project_dto.py | 2 +- .../models/project_operation_request_dto.py | 2 +- .../models/project_operation_response_dto.py | 2 +- .../properties_change_definitions_dto.py | 2 +- .../properties_delete_definitions_dto.py | 2 +- .../models/properties_dto.py | 2 +- .../models/property_access_config_dto.py | 2 +- .../property_bulk_delete_response_dto.py | 2 +- .../models/property_change_definition_dto.py | 2 +- ...operty_change_definitions_by_tenant_dto.py | 2 +- .../models/property_column_dto.py | 2 +- .../models/property_definition_dto.py | 22 +- .../models/property_definition_list_dto.py | 20 +- ...operty_delete_definitions_by_tenant_dto.py | 2 +- .../models/property_delete_failure_dto.py | 2 +- .../models/property_delete_success_dto.py | 2 +- .../models/property_dependency_dto.py | 2 +- .../models/property_dependency_list_dto.py | 2 +- .../models/property_dto.py | 2 +- .../models/property_reference_dto.py | 2 +- .../models/property_set_config_dto.py | 2 +- .../models/property_type_details_dto.py | 10 +- .../models/property_type_dto.py | 2 +- .../models/public_key_dto.py | 2 +- .../models/public_keys_dto.py | 2 +- .../models/push_data_cancel_response.py | 2 +- .../models/push_data_column_definition_dto.py | 2 +- .../models/push_data_complete_request.py | 2 +- .../models/push_data_complete_response.py | 2 +- .../models/push_data_response.py | 2 +- .../models/push_data_source_definition_dto.py | 2 +- .../push_data_source_definitions_dto.py | 2 +- .../models/qualtrics_auth_params_dto.py | 2 +- .../models/query_axis_dto.py | 2 +- .../models/query_axis_options_dto.py | 2 +- ...ery_dimension_data_member_selection_dto.py | 2 +- .../query_dimension_leaf_selection_dto.py | 2 +- .../query_dimension_level_property_dto.py | 2 +- .../query_dimension_level_selection_dto.py | 2 +- .../query_dimension_member_selection_dto.py | 2 +- .../query_execution_error_details_dto.py | 2 +- .../models/query_execution_error_dto.py | 2 +- .../models/query_execution_errors_dto.py | 2 +- .../models/query_filter_dto.py | 2 +- .../models/query_member_map_property_dto.py | 2 +- .../models/query_member_map_selection_dto.py | 2 +- .../models/query_numeric_ranges_dto.py | 2 +- .../models/query_parameter_value_dto.py | 12 +- .../models/query_property_dto.py | 2 +- .../models/query_time_interval_dto.py | 2 +- ...ime_interval_dto_with_dynamic_date_from.py | 2 +- ...ry_time_interval_dto_with_from_datetime.py | 2 +- ...ery_time_interval_dto_with_from_instant.py | 2 +- .../models/query_time_intervals_dto.py | 2 +- ...me_intervals_dto_with_dynamic_date_from.py | 2 +- ...y_time_intervals_dto_with_from_datetime.py | 2 +- ...ry_time_intervals_dto_with_from_instant.py | 2 +- .../question_categories_api_response_dto.py | 2 +- .../question_category_api_response_dto.py | 12 +- .../models/receiving_job.py | 2 +- .../receiving_job_and_status_response.py | 2 +- ...ceiving_job_extracted_file_response_dto.py | 2 +- ...extracted_files_for_tenant_response_dto.py | 2 +- ...g_job_extracted_files_list_response_dto.py | 2 +- .../models/receiving_job_status_response.py | 2 +- .../models/redshift_auth_params_dto.py | 2 +- .../models/reduced_error_dto.py | 2 +- .../models/reduced_tenant_code_error_dto.py | 2 +- .../models/reduced_user_id_error_dto.py | 2 +- .../models/related_analytic_object_dto.py | 2 +- .../models/relative_time_expression_dto.py | 110 + .../models/relative_time_period_dto.py | 114 + .../models/relative_time_selection_dto.py | 92 + .../models/relative_time_shift_dto.py | 90 + .../models/relative_to_rule_dto.py | 100 + .../models/reopen_action_payload.py | 6 +- .../models/report_create_request_dto.py | 2 +- .../models/report_delete_success_dto.py | 2 +- .../visier_platform_sdk/models/report_dto.py | 2 +- .../models/report_list_response_dto.py | 2 +- .../visier_platform_sdk/models/result.py | 2 +- .../models/role_modules_config_dto.py | 2 +- .../visier_platform_sdk/models/rule_dto.py | 98 + .../models/rule_set_dto.py | 102 + .../models/salary_benchmark_feedback_input.py | 104 + .../models/salary_benchmark_input.py | 8 +- ...chmarks_batch_processing_failure_output.py | 2 +- ...ary_benchmarks_batch_processing_outputs.py | 2 +- ...arks_batch_processing_successful_output.py | 2 +- .../models/salesforce_auth_params_dto.py | 2 +- .../models/salesforce_v2_auth_params_dto.py | 2 +- .../models/same_metric_other_context_dto.py | 96 + .../models/same_metric_other_time_dto.py | 92 + .../sample_question_api_response_dto.py | 2 +- .../sample_questions_api_response_dto.py | 2 +- .../models/scenario_info_dto.py | 2 +- .../models/scenario_or_snapshot_dto.py | 2 +- .../models/securable_dimension_dto.py | 2 +- .../models/securable_property_dto.py | 2 +- .../security_assignment_response_dto.py | 2 +- .../selection_concept_configuration_dto.py | 2 +- ...selection_concept_configuration_map_dto.py | 2 +- .../models/selection_concept_dto.py | 2 +- .../models/selection_concept_list_dto.py | 2 +- .../models/selection_concept_reference_dto.py | 8 +- .../models/selection_concepts_dto.py | 2 +- .../models/service_now_auth_params_dto.py | 2 +- .../models/service_now_v2_auth_params_dto.py | 2 +- ...capability_proto_enum_access_lookup_dto.py | 2 +- ...ng_direct_data_upload_file_response_dto.py | 2 +- .../set_connector_setting_request_dto.py | 2 +- .../set_connector_setting_response_dto.py | 2 +- .../set_connector_settings_request_dto.py | 2 +- .../set_connector_settings_response_dto.py | 2 +- .../models/settings_dto.py | 2 +- .../models/shareable_data_access_set.py | 2 +- .../models/sidecar_solution_request_dto.py | 2 +- .../models/sidecar_solution_settings_dto.py | 2 +- ...ple_document_header_search_response_dto.py | 2 +- ...imple_document_header_search_result_dto.py | 2 +- .../models/simple_metric_details_dto.py | 90 + .../models/simple_property_type_dto.py | 2 +- .../models/simple_user_dto.py | 2 +- .../models/single_value_setting_dto.py | 2 +- .../visier_platform_sdk/models/skill.py | 2 +- .../models/skill_category.py | 2 +- .../models/skill_category_entry.py | 2 +- .../visier_platform_sdk/models/skill_entry.py | 2 +- .../models/skill_extraction_input.py | 2 +- .../visier_platform_sdk/models/skill_group.py | 2 +- .../models/skill_group_entry.py | 2 +- .../models/skill_match_input.py | 2 +- .../models/slack_auth_params_dto.py | 2 +- .../models/snapshot_query_execution_dto.py | 2 +- .../snapshot_query_execution_options_dto.py | 2 +- .../models/snowflake_auth_params_dto.py | 2 +- .../models/sort_option_dto.py | 2 +- .../visier_platform_sdk/models/source.py | 2 +- .../models/source_file_response_dto.py | 2 +- .../source_import_result_summary_dto.py | 2 +- .../sources_api_operation_request_dto.py | 2 +- .../models/sources_api_put_response_dto.py | 2 +- .../models/sql_like200_response.py | 2 +- .../models/sql_like_query_execution_dto.py | 2 +- .../models/sql_server_auth_params_dto.py | 2 +- .../start_collaboration_action_payload.py | 90 + .../models/start_extraction_response.py | 2 +- .../models/start_transfer_response.py | 2 +- .../models/static_dimension_filter_dto.py | 2 +- .../visier_platform_sdk/models/status.py | 2 +- .../models/subject_details_dto.py | 10 +- .../subject_member_set_parameter_value_dto.py | 108 + ...rameter_value_dto_list_of_name_path_dto.py | 96 + ...r_set_parameter_value_dto_name_path_dto.py | 88 + .../models/subject_missing_access_dto.py | 2 +- .../models/subject_reference_dto.py | 8 +- .../models/subject_reference_list_dto.py | 2 +- ...erence_dto.py => submit_action_payload.py} | 16 +- .../models/success_factors_auth_params_dto.py | 2 +- .../success_factors_o_auth_params_dto.py | 2 +- ...ccessible_tenant_profile_assignment_dto.py | 2 +- .../models/successful_change_dto.py | 2 +- ...ful_local_tenant_profile_assignment_dto.py | 2 +- .../models/synonym_list_dto.py | 2 +- .../models/system_status_dto.py | 2 +- .../models/table_response_dto.py | 2 +- .../models/tag_map_element_dto.py | 2 +- .../models/tag_reference_dto.py | 2 +- .../models/tag_reference_list_dto.py | 2 +- .../visier_platform_sdk/models/tags_dto.py | 2 +- .../models/target_project_for_tenant_dto.py | 2 +- .../target_project_for_tenants_list_dto.py | 2 +- .../models/target_tenant_code_dto.py | 2 +- .../visier_platform_sdk/models/tenant.py | 2 +- .../models/tenant_and_credential.py | 2 +- .../models/tenant_assignments_dto.py | 2 +- .../models/tenant_code_body.py | 2 +- .../models/tenant_code_error_dto.py | 2 +- .../tenant_connector_settings_request_dto.py | 2 +- .../tenant_data_upload_status_response_dto.py | 2 +- ..._data_upload_update_status_response_dto.py | 2 +- .../tenant_data_uploads_list_response_dto.py | 2 +- .../tenant_data_uploads_response_dto.py | 2 +- ...tenant_data_uploads_update_response_dto.py | 2 +- .../models/tenant_detail_apidto.py | 2 +- .../models/tenant_details_traits_dto.py | 4 +- .../tenant_encryption_key_details_dto.py | 2 +- .../models/tenant_encryption_key_dto.py | 2 +- .../tenant_management_api_get_response_dto.py | 2 +- ...tenant_management_api_list_response_dto.py | 6 +- ...enant_management_api_update_request_dto.py | 10 +- ...nant_management_api_update_response_dto.py | 10 +- .../models/tenant_module_dto.py | 2 +- .../tenant_preview_entries_summary_dto.py | 2 +- ...tenant_preview_entries_summary_list_dto.py | 2 +- .../models/tenant_provision_apidto.py | 4 +- .../tenant_source_files_list_response_dto.py | 2 +- .../models/tenant_status_apidto.py | 2 +- .../models/time_handling_dto.py | 94 + .../models/time_period_dto.py | 120 + .../models/time_period_filter_dto.py | 98 + .../models/time_period_metadata_dto.py | 96 + .../models/time_shift_dto.py | 2 +- .../models/token_response.py | 2 +- ...trigger_criteria_member_result_info_dto.py | 94 + ...rigger_criteria_overall_result_info_dto.py | 90 + .../trigger_criteria_result_info_dto.py | 98 + .../models/ultimate_auth_params_dto.py | 2 +- ...pdate_event_alert_recipient_status_dto.py} | 25 +- .../models/update_tenant_model.py | 2 +- .../models/upload_to_exclude.py | 2 +- .../models/upload_to_include.py | 2 +- .../models/user_creation_api_request_dto.py | 2 +- .../models/user_creation_api_response_dto.py | 2 +- .../models/user_get_api_response_dto.py | 2 +- ...ser_group_assigned_for_local_tenant_dto.py | 2 +- .../models/user_group_assignment_dto.py | 2 +- .../user_group_change_definition_dto.py | 20 +- .../user_group_change_dimension_filter_dto.py | 2 +- .../models/user_group_change_failure_dto.py | 2 +- .../models/user_group_change_filter_dto.py | 2 +- .../user_group_change_member_selection_dto.py | 2 +- .../models/user_group_change_response_dto.py | 2 +- .../models/user_group_change_success_dto.py | 2 +- .../models/user_group_change_users_dto.py | 2 +- .../models/user_group_delete_dto.py | 2 +- .../models/user_group_delete_failure_dto.py | 2 +- .../models/user_group_delete_response_dto.py | 2 +- .../models/user_group_delete_success_dto.py | 2 +- .../models/user_group_filters_dto.py | 2 +- .../models/user_group_get_api_response_dto.py | 2 +- .../user_group_single_delete_response_dto.py | 2 +- .../models/user_groups_change_dto.py | 2 +- .../models/user_groups_delete_request_dto.py | 2 +- .../user_groups_get_api_response_dto.py | 2 +- .../models/user_groups_users_dto.py | 2 +- .../user_groups_users_for_tenant_dto.py | 2 +- .../models/user_id_error_dto.py | 2 +- .../models/user_property_dto.py | 2 +- .../models/user_security_assignments_dto.py | 2 +- .../models/user_update_api_request_dto.py | 2 +- .../models/user_v3_api_request_dto.py | 2 +- .../models/user_v3_api_response_dto.py | 2 +- .../models/users_api_error_message_dto.py | 2 +- .../models/users_api_failure_dto.py | 2 +- .../models/users_api_response_dto.py | 2 +- .../models/users_api_success_dto.py | 2 +- .../models/users_creation_api_request_dto.py | 2 +- .../models/users_delete_api_request_dto.py | 2 +- .../models/users_to_user_group_request_dto.py | 2 +- .../users_to_user_groups_request_dto.py | 2 +- .../models/users_update_api_request_dto.py | 2 +- .../models/users_update_api_user_dto.py | 2 +- .../models/v2_calculated_property_type_dto.py | 2 +- .../models/v2_dimension_dto.py | 8 +- .../models/v2_level_dto.py | 2 +- .../models/v2_simple_property_type_dto.py | 2 +- .../models/validity_range_dto.py | 2 +- .../models/vee_clarification_dto.py | 2 +- .../models/vee_conversation_dto.py | 2 +- .../models/vee_conversation_state_dto.py | 2 +- .../models/vee_corrections_dto.py | 2 +- .../models/vee_data_dto.py | 2 +- .../models/vee_detail_data_dto.py | 98 + .../models/vee_feedback_dto.py | 2 +- .../models/vee_options_dto.py | 8 +- ...ion_categories_bulk_change_response_dto.py | 106 + ...stion_categories_change_definitions_dto.py | 96 + ...stion_categories_delete_definitions_dto.py | 96 + ...question_category_change_definition_dto.py | 96 + ...tegory_change_definitions_by_tenant_dto.py | 100 + ...ee_question_category_change_failure_dto.py | 104 + ...ee_question_category_change_success_dto.py | 100 + ...tegory_delete_definitions_by_tenant_dto.py | 92 + .../vee_question_change_definition_dto.py | 2 +- ...estion_change_definitions_by_tenant_dto.py | 2 +- .../models/vee_question_change_failure_dto.py | 2 +- .../models/vee_question_change_success_dto.py | 2 +- ...estion_delete_definitions_by_tenant_dto.py | 2 +- .../models/vee_question_dto.py | 2 +- .../vee_questions_bulk_change_response_dto.py | 2 +- .../vee_questions_change_definitions_dto.py | 2 +- .../vee_questions_delete_definitions_dto.py | 2 +- .../models/vee_response_dto.py | 16 +- .../models/vee_response_schema_dto.py | 2 +- .../vee_response_schema_reference_dto.py | 2 +- .../models/vee_sample_question_dto.py | 2 +- .../models/vee_sample_question_library_dto.py | 2 +- .../models/vee_status_code_dto.py | 2 +- .../models/vee_status_dto.py | 2 +- .../models/vee_visual_dto.py | 2 +- .../models/vee_visual_options_dto.py | 2 +- .../models/version_information_dto.py | 2 +- .../models/visible_for_selection_dto.py | 101 + .../webhook_basic_auth_credential_dto.py | 2 +- .../models/webhook_credentials_dto.py | 2 +- .../models/webhook_details_dto.py | 4 +- .../visier_platform_sdk/models/webhook_dto.py | 2 +- .../models/webhook_event_type_dto.py | 4 +- .../models/webhook_message_response_dto.py | 2 +- .../models/webhook_request_dto.py | 2 +- .../models/webhooks_dto.py | 2 +- .../models/willow_auth_params_dto.py | 2 +- .../models/workday_auth_params_dto.py | 2 +- .../models/workday_o_auth_params_dto.py | 2 +- .../models/workday_raas_auth_params_dto.py | 2 +- .../workday_refresh_token_params_dto.py | 2 +- .../models/zoom_auth_params_dto.py | 2 +- .../visier_platform_sdk/rest.py | 2 +- 1614 files changed, 25085 insertions(+), 4701 deletions(-) create mode 100644 src/visier_platform_sdk/test/test_analytic_object_delete_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_delete_with_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_revert_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_object_revert_with_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_analytic_objects_v2_api.py create mode 100644 src/visier_platform_sdk/test/test_between_rule_dto.py create mode 100644 src/visier_platform_sdk/test/test_career_level_search_failure_output.py create mode 100644 src/visier_platform_sdk/test/test_career_level_search_input.py create mode 100644 src/visier_platform_sdk/test/test_career_level_search_output.py create mode 100644 src/visier_platform_sdk/test/test_career_level_search_successful_output.py create mode 100644 src/visier_platform_sdk/test/test_category_icon_dto.py create mode 100644 src/visier_platform_sdk/test/test_collaboration_info.py create mode 100644 src/visier_platform_sdk/test/test_compared_metric_dto.py rename src/visier_platform_sdk/test/{test_concept_reference_list_dto.py => test_concept_reference_filter_dto.py} (59%) create mode 100644 src/visier_platform_sdk/test/test_create_event_alert_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_delete_email_domains_dto.py create mode 100644 src/visier_platform_sdk/test/test_derived_metric_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_end_collaboration_action_payload.py create mode 100644 src/visier_platform_sdk/test/test_event_alert_delete_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_event_alert_dto.py create mode 100644 src/visier_platform_sdk/test/test_event_alert_notification_result_alert_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_event_alert_notification_result_dto.py create mode 100644 src/visier_platform_sdk/test/test_event_alert_notification_results_dto.py create mode 100644 src/visier_platform_sdk/test/test_event_alert_trigger_criteria_dto.py create mode 100644 src/visier_platform_sdk/test/test_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_fixed_time_type_dto.py create mode 100644 src/visier_platform_sdk/test/test_get_event_alerts_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_grouped_metric_value_threshold_criteria_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_delete_request_dto.py rename src/visier_platform_sdk/test/{test_plans_patch_response_action_result.py => test_metric_delete_with_context_dto.py} (53%) create mode 100644 src/visier_platform_sdk/test/test_metric_filter_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_request_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_metric_with_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_metrics_v2_api.py create mode 100644 src/visier_platform_sdk/test/test_numeric_range_dto.py create mode 100644 src/visier_platform_sdk/test/test_numeric_range_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_other_metric_dto.py create mode 100644 src/visier_platform_sdk/test/test_periods_back_dto.py rename src/visier_platform_sdk/test/{test_put_project_commits_request.py => test_persisted_cohort_filter_dto.py} (61%) create mode 100644 src/visier_platform_sdk/test/test_personalized_alerts_api.py delete mode 100644 src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request_with_plan_id.py create mode 100644 src/visier_platform_sdk/test/test_plan_patch_end_collaboration_action_request.py delete mode 100644 src/visier_platform_sdk/test/test_plan_patch_reopen_action_request_with_plan_id.py create mode 100644 src/visier_platform_sdk/test/test_plan_patch_start_collaboration_action_request.py create mode 100644 src/visier_platform_sdk/test/test_plan_patch_submit_action_request.py rename src/visier_platform_sdk/test/{test_plan_patch_action_result.py => test_plan_scenario_patch_action_result.py} (63%) rename src/visier_platform_sdk/test/{test_plan_patch_request.py => test_plan_scenario_patch_request.py} (55%) rename src/visier_platform_sdk/test/{test_plan_patch_response.py => test_plan_scenario_patch_response.py} (61%) delete mode 100644 src/visier_platform_sdk/test/test_plans_patch_request_plan_item.py delete mode 100644 src/visier_platform_sdk/test/test_plans_patch_response.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_metric_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_metric_type_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_property_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_process_concept_property_dto.py create mode 100644 src/visier_platform_sdk/test/test_project_commit_dto.py create mode 100644 src/visier_platform_sdk/test/test_relative_time_expression_dto.py create mode 100644 src/visier_platform_sdk/test/test_relative_time_period_dto.py create mode 100644 src/visier_platform_sdk/test/test_relative_time_selection_dto.py create mode 100644 src/visier_platform_sdk/test/test_relative_time_shift_dto.py rename src/visier_platform_sdk/test/{test_plans_patch_request.py => test_relative_to_rule_dto.py} (63%) create mode 100644 src/visier_platform_sdk/test/test_rule_dto.py create mode 100644 src/visier_platform_sdk/test/test_rule_set_dto.py create mode 100644 src/visier_platform_sdk/test/test_salary_benchmark_feedback_input.py create mode 100644 src/visier_platform_sdk/test/test_same_metric_other_context_dto.py create mode 100644 src/visier_platform_sdk/test/test_same_metric_other_time_dto.py create mode 100644 src/visier_platform_sdk/test/test_simple_metric_details_dto.py create mode 100644 src/visier_platform_sdk/test/test_start_collaboration_action_payload.py create mode 100644 src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_list_of_name_path_dto.py create mode 100644 src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_name_path_dto.py rename src/visier_platform_sdk/test/{test_concept_reference_dto.py => test_submit_action_payload.py} (64%) create mode 100644 src/visier_platform_sdk/test/test_time_handling_dto.py create mode 100644 src/visier_platform_sdk/test/test_time_period_dto.py create mode 100644 src/visier_platform_sdk/test/test_time_period_filter_dto.py create mode 100644 src/visier_platform_sdk/test/test_time_period_metadata_dto.py create mode 100644 src/visier_platform_sdk/test/test_trigger_criteria_member_result_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_trigger_criteria_overall_result_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_trigger_criteria_result_info_dto.py create mode 100644 src/visier_platform_sdk/test/test_update_event_alert_recipient_status_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_detail_data_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_categories_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_categories_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_categories_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_category_change_definition_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_category_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_category_change_failure_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_category_change_success_dto.py create mode 100644 src/visier_platform_sdk/test/test_vee_question_category_delete_definitions_by_tenant_dto.py rename src/visier_platform_sdk/test/{test_features_for_user_group_dto.py => test_visible_for_selection_dto.py} (61%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/api/analytic_objects_v2_api.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/api/metrics_v2_api.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/api/personalized_alerts_api.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_with_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_with_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/between_rule_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_failure_output.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_input.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_output.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_successful_output.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/category_icon_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/collaboration_info.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/compared_metric_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/create_event_alert_request_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/delete_email_domains_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/derived_metric_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/end_collaboration_action_payload.py rename src/visier_platform_sdk/visier_platform_sdk/models/{put_project_commits_request.py => event_alert_delete_success_dto.py} (80%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/event_alert_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_alert_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_results_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{plans_patch_response.py => event_alert_trigger_criteria_dto.py} (68%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/fixed_time_type_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/get_event_alerts_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/grouped_metric_value_threshold_criteria_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{concept_reference_list_dto.py => metric_delete_request_dto.py} (71%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_with_context_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{plans_patch_response_action_result.py => metric_filter_parameter_value_dto.py} (66%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_request_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{plans_patch_request.py => metric_response_dto.py} (68%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/metric_with_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/other_metric_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/periods_back_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/persisted_cohort_filter_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{plan_patch_consolidate_action_request_with_plan_id.py => plan_patch_end_collaboration_action_request.py} (61%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_start_collaboration_action_request.py rename src/visier_platform_sdk/visier_platform_sdk/models/{plan_patch_reopen_action_request_with_plan_id.py => plan_patch_submit_action_request.py} (64%) rename src/visier_platform_sdk/visier_platform_sdk/models/{plan_patch_action_result.py => plan_scenario_patch_action_result.py} (88%) rename src/visier_platform_sdk/visier_platform_sdk/models/{plan_patch_request.py => plan_scenario_patch_request.py} (51%) rename src/visier_platform_sdk/visier_platform_sdk/models/{plan_patch_response.py => plan_scenario_patch_response.py} (79%) delete mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request_plan_item.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_type_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/project_commit_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/relative_time_expression_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/relative_time_period_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/relative_time_selection_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/relative_time_shift_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/relative_to_rule_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/rule_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/rule_set_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_feedback_input.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_context_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_time_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/simple_metric_details_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/start_collaboration_action_payload.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_list_of_name_path_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_name_path_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{concept_reference_dto.py => submit_action_payload.py} (82%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/time_handling_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/time_period_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/time_period_filter_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/time_period_metadata_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_member_result_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_overall_result_info_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_result_info_dto.py rename src/visier_platform_sdk/visier_platform_sdk/models/{features_for_user_group_dto.py => update_event_alert_recipient_status_dto.py} (68%) create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_detail_data_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_bulk_change_response_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_change_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_delete_definitions_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definition_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_failure_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_success_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_delete_definitions_by_tenant_dto.py create mode 100644 src/visier_platform_sdk/visier_platform_sdk/models/visible_for_selection_dto.py diff --git a/src/visier_platform_sdk/.openapi-generator/FILES b/src/visier_platform_sdk/.openapi-generator/FILES index 557e104164..dc11854203 100644 --- a/src/visier_platform_sdk/.openapi-generator/FILES +++ b/src/visier_platform_sdk/.openapi-generator/FILES @@ -27,6 +27,8 @@ test/test_all_tenants_status_apidto.py test/test_all_user_groups_assigned_for_local_tenant_dto.py test/test_all_users_get_api_response_dto.py test/test_analytic_object_definition_dto.py +test/test_analytic_object_delete_request_dto.py +test/test_analytic_object_delete_with_context_dto.py test/test_analytic_object_details_dto.py test/test_analytic_object_dto.py test/test_analytic_object_filter_dto.py @@ -35,8 +37,12 @@ test/test_analytic_object_names_dto.py test/test_analytic_object_reference_dto.py test/test_analytic_object_reference_list_dto.py test/test_analytic_object_request_dto.py +test/test_analytic_object_response_dto.py +test/test_analytic_object_revert_request_dto.py +test/test_analytic_object_revert_with_context_dto.py test/test_analytic_object_with_context_dto.py test/test_analytic_objects_dto.py +test/test_analytic_objects_v2_api.py test/test_any.py test/test_api_error.py test/test_assign_connector_credential_request.py @@ -58,6 +64,7 @@ test/test_batch_tenant_provision_apidto.py test/test_benchmark_info.py test/test_benchmark_value.py test/test_benchmarks_api.py +test/test_between_rule_dto.py test/test_big_query_auth_params_dto.py test/test_big_query_service_account_params_dto.py test/test_bulk_change_response_dto.py @@ -76,6 +83,11 @@ test/test_capability_dto.py test/test_capability_group_dto.py test/test_caption_dto.py test/test_caption_list_dto.py +test/test_career_level_search_failure_output.py +test/test_career_level_search_input.py +test/test_career_level_search_output.py +test/test_career_level_search_successful_output.py +test/test_category_icon_dto.py test/test_cell_distribution_bin_dto.py test/test_cell_distribution_options_dto.py test/test_cell_dto.py @@ -85,14 +97,15 @@ test/test_cell_set_dto.py test/test_cell_set_or_error_dto.py test/test_clone_files_into_source_parameters_dto.py test/test_cohort_filter_dto.py +test/test_collaboration_info.py test/test_commit_and_publish_operation_response_dto.py test/test_commit_dto.py +test/test_compared_metric_dto.py test/test_concept_configuration_result_dto.py test/test_concept_definition_dto.py test/test_concept_delete_request_dto.py test/test_concept_delete_with_context_dto.py -test/test_concept_reference_dto.py -test/test_concept_reference_list_dto.py +test/test_concept_reference_filter_dto.py test/test_concept_request_dto.py test/test_concept_response_dto.py test/test_concept_type_details_dto.py @@ -114,6 +127,7 @@ test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py test/test_consolidated_analytics_job_request_dto.py test/test_content_package_dto.py test/test_copy_s3_auth_params_dto.py +test/test_create_event_alert_request_dto.py test/test_credential_creation_api_response_dto.py test/test_currencies_dto.py test/test_currency_dto.py @@ -159,9 +173,11 @@ test/test_data_version_object.py test/test_databricks_auth_params_dto.py test/test_date_range_dto.py test/test_dayforce_v2_auth_params_dto.py +test/test_delete_email_domains_dto.py test/test_delete_permissions_request_dto.py test/test_delete_user_group_v2_request.py test/test_dependent_dto.py +test/test_derived_metric_details_dto.py test/test_description_entry.py test/test_designer_dimension_filter_dto.py test/test_designer_selection_concept_dto.py @@ -210,8 +226,15 @@ test/test_element_ids_dto.py test/test_email_domains_api.py test/test_email_domains_dto.py test/test_encryption_keys_api.py +test/test_end_collaboration_action_payload.py test/test_error_dto.py test/test_error_summary.py +test/test_event_alert_delete_success_dto.py +test/test_event_alert_dto.py +test/test_event_alert_notification_result_alert_details_dto.py +test/test_event_alert_notification_result_dto.py +test/test_event_alert_notification_results_dto.py +test/test_event_alert_trigger_criteria_dto.py test/test_event_details_dto.py test/test_exclude_data_uploads_request.py test/test_excluded_sources_body.py @@ -230,7 +253,8 @@ test/test_failed_accessible_tenant_profile_assignment_dto.py test/test_failed_change_dto.py test/test_failed_local_tenant_profile_assignment_dto.py test/test_failed_local_tenant_profile_revoke_dto.py -test/test_features_for_user_group_dto.py +test/test_filter_dto.py +test/test_fixed_time_type_dto.py test/test_fusion_auth_params_dto.py test/test_generate_impersonation_token_request.py test/test_generate_key_request_dto.py @@ -238,6 +262,7 @@ test/test_get_capabilities_api_response_dto.py test/test_get_content_packages_api_response_dto.py test/test_get_data_access_sets_api_response_dto.py test/test_get_data_security_objects_api_response_dto.py +test/test_get_event_alerts_response_dto.py test/test_get_permissions_api_response_dto.py test/test_get_plan_list_response_dto.py test/test_get_production_versions_api_response_dto.py @@ -246,6 +271,7 @@ test/test_gong_auth_params_dto.py test/test_google_sheets_auth_params_dto.py test/test_google_workspace_auth_params_dto.py test/test_greenhouse_auth_params_dto.py +test/test_grouped_metric_value_threshold_criteria_dto.py test/test_hierarchy.py test/test_hierarchy_property_dto.py test/test_home_analysis_by_user_group_dto.py @@ -312,10 +338,17 @@ test/test_member_selection_dto.py test/test_member_values_dto.py test/test_members_dto.py test/test_metric_definition_dto.py +test/test_metric_delete_request_dto.py +test/test_metric_delete_with_context_dto.py test/test_metric_dto.py +test/test_metric_filter_parameter_value_dto.py +test/test_metric_request_dto.py +test/test_metric_response_dto.py test/test_metric_type_details_dto.py test/test_metric_validation_summary_dto.py +test/test_metric_with_context_dto.py test/test_metrics_dto.py +test/test_metrics_v2_api.py test/test_microsoft365_auth_params_dto.py test/test_module_settings_dto.py test/test_multi_value_property_type_dto.py @@ -329,6 +362,8 @@ test/test_network_subnets_message_request.py test/test_network_subnets_message_response.py test/test_numeric_parameter_definition_dto.py test/test_numeric_parameter_value_dto.py +test/test_numeric_range_dto.py +test/test_numeric_range_filter_dto.py test/test_o_auth2_api.py test/test_o_auth2_user_info_dto.py test/test_o_auth2_user_subnet_info_dto.py @@ -342,12 +377,14 @@ test/test_object_id_dto.py test/test_object_reference_dto.py test/test_objects_bulk_change_response_dto.py test/test_oracle_db_auth_params_dto.py +test/test_other_metric_dto.py test/test_output_entry.py test/test_output_entry1.py test/test_output_entry1_matches_inner.py test/test_pair_dto.py test/test_parameter_definition_dto.py test/test_parent_child_details_dto.py +test/test_periods_back_dto.py test/test_permission_assigned_by_tenant_dto.py test/test_permission_assigned_for_local_tenant_dto.py test/test_permission_assigned_user_dto.py @@ -363,6 +400,8 @@ test/test_permissions_list_dto.py test/test_permissions_to_user_group_for_tenant_dto.py test/test_permissions_to_user_group_request_dto.py test/test_permissions_to_user_groups_request_dto.py +test/test_persisted_cohort_filter_dto.py +test/test_personalized_alerts_api.py test/test_perspective_configuration_dto.py test/test_perspective_node_dto.py test/test_pgp_keys_api.py @@ -376,14 +415,15 @@ test/test_plan_info_dto.py test/test_plan_item_dto.py test/test_plan_parameter_definition_dto.py test/test_plan_parameter_value_dto.py -test/test_plan_patch_action_result.py test/test_plan_patch_consolidate_action_request.py -test/test_plan_patch_consolidate_action_request_with_plan_id.py +test/test_plan_patch_end_collaboration_action_request.py test/test_plan_patch_reopen_action_request.py -test/test_plan_patch_reopen_action_request_with_plan_id.py -test/test_plan_patch_request.py -test/test_plan_patch_response.py +test/test_plan_patch_start_collaboration_action_request.py +test/test_plan_patch_submit_action_request.py test/test_plan_row_data_load_response_dto.py +test/test_plan_scenario_patch_action_result.py +test/test_plan_scenario_patch_request.py +test/test_plan_scenario_patch_response.py test/test_plan_schema_dto.py test/test_plan_segment_level_dto.py test/test_plan_segment_level_member_dto.py @@ -397,10 +437,6 @@ test/test_planning_models_dto.py test/test_planning_plan_context_dto.py test/test_planning_plan_dto.py test/test_planning_plans_dto.py -test/test_plans_patch_request.py -test/test_plans_patch_request_plan_item.py -test/test_plans_patch_response.py -test/test_plans_patch_response_action_result.py test/test_population_configuration_dto.py test/test_prediction_dto.py test/test_predictions_dto.py @@ -408,9 +444,13 @@ test/test_process_concept_definition_dto.py test/test_process_concept_member_dto.py test/test_process_concept_member_list_dto.py test/test_process_concept_metric_definition_dto.py +test/test_process_concept_metric_details_dto.py test/test_process_concept_metric_list_dto.py +test/test_process_concept_metric_type_details_dto.py test/test_process_concept_outcome_dto.py test/test_process_concept_outcome_list_dto.py +test/test_process_concept_property_details_dto.py +test/test_process_concept_property_dto.py test/test_process_concept_property_list_dto.py test/test_process_concept_property_type_dto.py test/test_process_concept_stage_dto.py @@ -437,6 +477,7 @@ test/test_profile_assignment_dto.py test/test_profile_get_api_response_dto.py test/test_profiles_api.py test/test_profiles_get_api_response_dto.py +test/test_project_commit_dto.py test/test_project_commits_api_response_dto.py test/test_project_dto.py test/test_project_operation_request_dto.py @@ -471,7 +512,6 @@ test/test_push_data_complete_response.py test/test_push_data_response.py test/test_push_data_source_definition_dto.py test/test_push_data_source_definitions_dto.py -test/test_put_project_commits_request.py test/test_qualtrics_auth_params_dto.py test/test_query_axis_dto.py test/test_query_axis_options_dto.py @@ -510,6 +550,11 @@ test/test_reduced_error_dto.py test/test_reduced_tenant_code_error_dto.py test/test_reduced_user_id_error_dto.py test/test_related_analytic_object_dto.py +test/test_relative_time_expression_dto.py +test/test_relative_time_period_dto.py +test/test_relative_time_selection_dto.py +test/test_relative_time_shift_dto.py +test/test_relative_to_rule_dto.py test/test_release_version_configuration_api.py test/test_reopen_action_payload.py test/test_report_create_request_dto.py @@ -519,12 +564,17 @@ test/test_report_list_response_dto.py test/test_reporting_api.py test/test_result.py test/test_role_modules_config_dto.py +test/test_rule_dto.py +test/test_rule_set_dto.py +test/test_salary_benchmark_feedback_input.py test/test_salary_benchmark_input.py test/test_salary_benchmarks_batch_processing_failure_output.py test/test_salary_benchmarks_batch_processing_outputs.py test/test_salary_benchmarks_batch_processing_successful_output.py test/test_salesforce_auth_params_dto.py test/test_salesforce_v2_auth_params_dto.py +test/test_same_metric_other_context_dto.py +test/test_same_metric_other_time_dto.py test/test_sample_question_api_response_dto.py test/test_sample_questions_api_response_dto.py test/test_scenario_info_dto.py @@ -554,6 +604,7 @@ test/test_sidecar_solution_settings_dto.py test/test_sidecar_solutions_api.py test/test_simple_document_header_search_response_dto.py test/test_simple_document_header_search_result_dto.py +test/test_simple_metric_details_dto.py test/test_simple_property_type_dto.py test/test_simple_user_dto.py test/test_single_value_setting_dto.py @@ -580,14 +631,19 @@ test/test_sources_api_operation_request_dto.py test/test_sources_api_put_response_dto.py test/test_sql_like_query_execution_dto.py test/test_sql_server_auth_params_dto.py +test/test_start_collaboration_action_payload.py test/test_start_extraction_response.py test/test_start_transfer_response.py test/test_static_dimension_filter_dto.py test/test_status.py test/test_subject_details_dto.py +test/test_subject_member_set_parameter_value_dto.py +test/test_subject_member_set_parameter_value_dto_list_of_name_path_dto.py +test/test_subject_member_set_parameter_value_dto_name_path_dto.py test/test_subject_missing_access_dto.py test/test_subject_reference_dto.py test/test_subject_reference_list_dto.py +test/test_submit_action_payload.py test/test_success_factors_auth_params_dto.py test/test_success_factors_o_auth_params_dto.py test/test_successful_accessible_tenant_profile_assignment_dto.py @@ -631,9 +687,17 @@ test/test_tenant_source_files_list_response_dto.py test/test_tenant_status_apidto.py test/test_tenants_v1_api.py test/test_tenants_v2_api.py +test/test_time_handling_dto.py +test/test_time_period_dto.py +test/test_time_period_filter_dto.py +test/test_time_period_metadata_dto.py test/test_time_shift_dto.py test/test_token_response.py +test/test_trigger_criteria_member_result_info_dto.py +test/test_trigger_criteria_overall_result_info_dto.py +test/test_trigger_criteria_result_info_dto.py test/test_ultimate_auth_params_dto.py +test/test_update_event_alert_recipient_status_dto.py test/test_update_tenant_model.py test/test_upload_to_exclude.py test/test_upload_to_include.py @@ -693,8 +757,17 @@ test/test_vee_conversation_dto.py test/test_vee_conversation_state_dto.py test/test_vee_corrections_dto.py test/test_vee_data_dto.py +test/test_vee_detail_data_dto.py test/test_vee_feedback_dto.py test/test_vee_options_dto.py +test/test_vee_question_categories_bulk_change_response_dto.py +test/test_vee_question_categories_change_definitions_dto.py +test/test_vee_question_categories_delete_definitions_dto.py +test/test_vee_question_category_change_definition_dto.py +test/test_vee_question_category_change_definitions_by_tenant_dto.py +test/test_vee_question_category_change_failure_dto.py +test/test_vee_question_category_change_success_dto.py +test/test_vee_question_category_delete_definitions_by_tenant_dto.py test/test_vee_question_change_definition_dto.py test/test_vee_question_change_definitions_by_tenant_dto.py test/test_vee_question_change_failure_dto.py @@ -714,6 +787,7 @@ test/test_vee_status_dto.py test/test_vee_visual_dto.py test/test_vee_visual_options_dto.py test/test_version_information_dto.py +test/test_visible_for_selection_dto.py test/test_webhook_basic_auth_credential_dto.py test/test_webhook_credentials_dto.py test/test_webhook_details_dto.py @@ -732,6 +806,7 @@ test/test_zoom_auth_params_dto.py tox.ini visier_platform_sdk/__init__.py visier_platform_sdk/api/__init__.py +visier_platform_sdk/api/analytic_objects_v2_api.py visier_platform_sdk/api/basic_authentication_api.py visier_platform_sdk/api/benchmarks_api.py visier_platform_sdk/api/concepts_v2_api.py @@ -748,10 +823,12 @@ visier_platform_sdk/api/direct_data_intake_api.py visier_platform_sdk/api/email_domains_api.py visier_platform_sdk/api/encryption_keys_api.py visier_platform_sdk/api/jobs_library_api.py +visier_platform_sdk/api/metrics_v2_api.py visier_platform_sdk/api/network_subnets_api.py visier_platform_sdk/api/o_auth2_api.py visier_platform_sdk/api/object_configuration_api.py visier_platform_sdk/api/permissions_api.py +visier_platform_sdk/api/personalized_alerts_api.py visier_platform_sdk/api/pgp_keys_api.py visier_platform_sdk/api/plan_administration_api.py visier_platform_sdk/api/plan_data_load_api.py @@ -802,6 +879,8 @@ visier_platform_sdk/models/all_tenants_status_apidto.py visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py visier_platform_sdk/models/all_users_get_api_response_dto.py visier_platform_sdk/models/analytic_object_definition_dto.py +visier_platform_sdk/models/analytic_object_delete_request_dto.py +visier_platform_sdk/models/analytic_object_delete_with_context_dto.py visier_platform_sdk/models/analytic_object_details_dto.py visier_platform_sdk/models/analytic_object_dto.py visier_platform_sdk/models/analytic_object_filter_dto.py @@ -810,6 +889,9 @@ visier_platform_sdk/models/analytic_object_names_dto.py visier_platform_sdk/models/analytic_object_reference_dto.py visier_platform_sdk/models/analytic_object_reference_list_dto.py visier_platform_sdk/models/analytic_object_request_dto.py +visier_platform_sdk/models/analytic_object_response_dto.py +visier_platform_sdk/models/analytic_object_revert_request_dto.py +visier_platform_sdk/models/analytic_object_revert_with_context_dto.py visier_platform_sdk/models/analytic_object_with_context_dto.py visier_platform_sdk/models/analytic_objects_dto.py visier_platform_sdk/models/any.py @@ -831,6 +913,7 @@ visier_platform_sdk/models/basic_s3_auth_params_dto.py visier_platform_sdk/models/batch_tenant_provision_apidto.py visier_platform_sdk/models/benchmark_info.py visier_platform_sdk/models/benchmark_value.py +visier_platform_sdk/models/between_rule_dto.py visier_platform_sdk/models/big_query_auth_params_dto.py visier_platform_sdk/models/big_query_service_account_params_dto.py visier_platform_sdk/models/bulk_change_response_dto.py @@ -849,6 +932,11 @@ visier_platform_sdk/models/capability_dto.py visier_platform_sdk/models/capability_group_dto.py visier_platform_sdk/models/caption_dto.py visier_platform_sdk/models/caption_list_dto.py +visier_platform_sdk/models/career_level_search_failure_output.py +visier_platform_sdk/models/career_level_search_input.py +visier_platform_sdk/models/career_level_search_output.py +visier_platform_sdk/models/career_level_search_successful_output.py +visier_platform_sdk/models/category_icon_dto.py visier_platform_sdk/models/cell_distribution_bin_dto.py visier_platform_sdk/models/cell_distribution_options_dto.py visier_platform_sdk/models/cell_dto.py @@ -858,14 +946,15 @@ visier_platform_sdk/models/cell_set_dto.py visier_platform_sdk/models/cell_set_or_error_dto.py visier_platform_sdk/models/clone_files_into_source_parameters_dto.py visier_platform_sdk/models/cohort_filter_dto.py +visier_platform_sdk/models/collaboration_info.py visier_platform_sdk/models/commit_and_publish_operation_response_dto.py visier_platform_sdk/models/commit_dto.py +visier_platform_sdk/models/compared_metric_dto.py visier_platform_sdk/models/concept_configuration_result_dto.py visier_platform_sdk/models/concept_definition_dto.py visier_platform_sdk/models/concept_delete_request_dto.py visier_platform_sdk/models/concept_delete_with_context_dto.py -visier_platform_sdk/models/concept_reference_dto.py -visier_platform_sdk/models/concept_reference_list_dto.py +visier_platform_sdk/models/concept_reference_filter_dto.py visier_platform_sdk/models/concept_request_dto.py visier_platform_sdk/models/concept_response_dto.py visier_platform_sdk/models/concept_type_details_dto.py @@ -885,6 +974,7 @@ visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_r visier_platform_sdk/models/consolidated_analytics_job_request_dto.py visier_platform_sdk/models/content_package_dto.py visier_platform_sdk/models/copy_s3_auth_params_dto.py +visier_platform_sdk/models/create_event_alert_request_dto.py visier_platform_sdk/models/credential_creation_api_response_dto.py visier_platform_sdk/models/currencies_dto.py visier_platform_sdk/models/currency_dto.py @@ -924,9 +1014,11 @@ visier_platform_sdk/models/data_version_object.py visier_platform_sdk/models/databricks_auth_params_dto.py visier_platform_sdk/models/date_range_dto.py visier_platform_sdk/models/dayforce_v2_auth_params_dto.py +visier_platform_sdk/models/delete_email_domains_dto.py visier_platform_sdk/models/delete_permissions_request_dto.py visier_platform_sdk/models/delete_user_group_v2_request.py visier_platform_sdk/models/dependent_dto.py +visier_platform_sdk/models/derived_metric_details_dto.py visier_platform_sdk/models/description_entry.py visier_platform_sdk/models/designer_dimension_filter_dto.py visier_platform_sdk/models/designer_selection_concept_dto.py @@ -970,8 +1062,15 @@ visier_platform_sdk/models/dynamic_dimension_filter_dto.py visier_platform_sdk/models/dynamic_property_mapping_dto.py visier_platform_sdk/models/element_ids_dto.py visier_platform_sdk/models/email_domains_dto.py +visier_platform_sdk/models/end_collaboration_action_payload.py visier_platform_sdk/models/error_dto.py visier_platform_sdk/models/error_summary.py +visier_platform_sdk/models/event_alert_delete_success_dto.py +visier_platform_sdk/models/event_alert_dto.py +visier_platform_sdk/models/event_alert_notification_result_alert_details_dto.py +visier_platform_sdk/models/event_alert_notification_result_dto.py +visier_platform_sdk/models/event_alert_notification_results_dto.py +visier_platform_sdk/models/event_alert_trigger_criteria_dto.py visier_platform_sdk/models/event_details_dto.py visier_platform_sdk/models/exclude_data_uploads_request.py visier_platform_sdk/models/excluded_sources_body.py @@ -990,7 +1089,8 @@ visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py visier_platform_sdk/models/failed_change_dto.py visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py -visier_platform_sdk/models/features_for_user_group_dto.py +visier_platform_sdk/models/filter_dto.py +visier_platform_sdk/models/fixed_time_type_dto.py visier_platform_sdk/models/fusion_auth_params_dto.py visier_platform_sdk/models/generate_impersonation_token_request.py visier_platform_sdk/models/generate_key_request_dto.py @@ -998,6 +1098,7 @@ visier_platform_sdk/models/get_capabilities_api_response_dto.py visier_platform_sdk/models/get_content_packages_api_response_dto.py visier_platform_sdk/models/get_data_access_sets_api_response_dto.py visier_platform_sdk/models/get_data_security_objects_api_response_dto.py +visier_platform_sdk/models/get_event_alerts_response_dto.py visier_platform_sdk/models/get_permissions_api_response_dto.py visier_platform_sdk/models/get_plan_list_response_dto.py visier_platform_sdk/models/get_production_versions_api_response_dto.py @@ -1006,6 +1107,7 @@ visier_platform_sdk/models/gong_auth_params_dto.py visier_platform_sdk/models/google_sheets_auth_params_dto.py visier_platform_sdk/models/google_workspace_auth_params_dto.py visier_platform_sdk/models/greenhouse_auth_params_dto.py +visier_platform_sdk/models/grouped_metric_value_threshold_criteria_dto.py visier_platform_sdk/models/hierarchy.py visier_platform_sdk/models/hierarchy_property_dto.py visier_platform_sdk/models/home_analysis_by_user_group_dto.py @@ -1071,9 +1173,15 @@ visier_platform_sdk/models/member_selection_dto.py visier_platform_sdk/models/member_values_dto.py visier_platform_sdk/models/members_dto.py visier_platform_sdk/models/metric_definition_dto.py +visier_platform_sdk/models/metric_delete_request_dto.py +visier_platform_sdk/models/metric_delete_with_context_dto.py visier_platform_sdk/models/metric_dto.py +visier_platform_sdk/models/metric_filter_parameter_value_dto.py +visier_platform_sdk/models/metric_request_dto.py +visier_platform_sdk/models/metric_response_dto.py visier_platform_sdk/models/metric_type_details_dto.py visier_platform_sdk/models/metric_validation_summary_dto.py +visier_platform_sdk/models/metric_with_context_dto.py visier_platform_sdk/models/metrics_dto.py visier_platform_sdk/models/microsoft365_auth_params_dto.py visier_platform_sdk/models/module_settings_dto.py @@ -1087,6 +1195,8 @@ visier_platform_sdk/models/network_subnets_message_request.py visier_platform_sdk/models/network_subnets_message_response.py visier_platform_sdk/models/numeric_parameter_definition_dto.py visier_platform_sdk/models/numeric_parameter_value_dto.py +visier_platform_sdk/models/numeric_range_dto.py +visier_platform_sdk/models/numeric_range_filter_dto.py visier_platform_sdk/models/o_auth2_user_info_dto.py visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py @@ -1098,12 +1208,14 @@ visier_platform_sdk/models/object_id_dto.py visier_platform_sdk/models/object_reference_dto.py visier_platform_sdk/models/objects_bulk_change_response_dto.py visier_platform_sdk/models/oracle_db_auth_params_dto.py +visier_platform_sdk/models/other_metric_dto.py visier_platform_sdk/models/output_entry.py visier_platform_sdk/models/output_entry1.py visier_platform_sdk/models/output_entry1_matches_inner.py visier_platform_sdk/models/pair_dto.py visier_platform_sdk/models/parameter_definition_dto.py visier_platform_sdk/models/parent_child_details_dto.py +visier_platform_sdk/models/periods_back_dto.py visier_platform_sdk/models/permission_assigned_by_tenant_dto.py visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py visier_platform_sdk/models/permission_assigned_user_dto.py @@ -1118,6 +1230,7 @@ visier_platform_sdk/models/permissions_list_dto.py visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py visier_platform_sdk/models/permissions_to_user_group_request_dto.py visier_platform_sdk/models/permissions_to_user_groups_request_dto.py +visier_platform_sdk/models/persisted_cohort_filter_dto.py visier_platform_sdk/models/perspective_configuration_dto.py visier_platform_sdk/models/perspective_node_dto.py visier_platform_sdk/models/plan_data_load_change_dto.py @@ -1128,14 +1241,15 @@ visier_platform_sdk/models/plan_info_dto.py visier_platform_sdk/models/plan_item_dto.py visier_platform_sdk/models/plan_parameter_definition_dto.py visier_platform_sdk/models/plan_parameter_value_dto.py -visier_platform_sdk/models/plan_patch_action_result.py visier_platform_sdk/models/plan_patch_consolidate_action_request.py -visier_platform_sdk/models/plan_patch_consolidate_action_request_with_plan_id.py +visier_platform_sdk/models/plan_patch_end_collaboration_action_request.py visier_platform_sdk/models/plan_patch_reopen_action_request.py -visier_platform_sdk/models/plan_patch_reopen_action_request_with_plan_id.py -visier_platform_sdk/models/plan_patch_request.py -visier_platform_sdk/models/plan_patch_response.py +visier_platform_sdk/models/plan_patch_start_collaboration_action_request.py +visier_platform_sdk/models/plan_patch_submit_action_request.py visier_platform_sdk/models/plan_row_data_load_response_dto.py +visier_platform_sdk/models/plan_scenario_patch_action_result.py +visier_platform_sdk/models/plan_scenario_patch_request.py +visier_platform_sdk/models/plan_scenario_patch_response.py visier_platform_sdk/models/plan_schema_dto.py visier_platform_sdk/models/plan_segment_level_dto.py visier_platform_sdk/models/plan_segment_level_member_dto.py @@ -1149,10 +1263,6 @@ visier_platform_sdk/models/planning_models_dto.py visier_platform_sdk/models/planning_plan_context_dto.py visier_platform_sdk/models/planning_plan_dto.py visier_platform_sdk/models/planning_plans_dto.py -visier_platform_sdk/models/plans_patch_request.py -visier_platform_sdk/models/plans_patch_request_plan_item.py -visier_platform_sdk/models/plans_patch_response.py -visier_platform_sdk/models/plans_patch_response_action_result.py visier_platform_sdk/models/population_configuration_dto.py visier_platform_sdk/models/prediction_dto.py visier_platform_sdk/models/predictions_dto.py @@ -1160,9 +1270,13 @@ visier_platform_sdk/models/process_concept_definition_dto.py visier_platform_sdk/models/process_concept_member_dto.py visier_platform_sdk/models/process_concept_member_list_dto.py visier_platform_sdk/models/process_concept_metric_definition_dto.py +visier_platform_sdk/models/process_concept_metric_details_dto.py visier_platform_sdk/models/process_concept_metric_list_dto.py +visier_platform_sdk/models/process_concept_metric_type_details_dto.py visier_platform_sdk/models/process_concept_outcome_dto.py visier_platform_sdk/models/process_concept_outcome_list_dto.py +visier_platform_sdk/models/process_concept_property_details_dto.py +visier_platform_sdk/models/process_concept_property_dto.py visier_platform_sdk/models/process_concept_property_list_dto.py visier_platform_sdk/models/process_concept_property_type_dto.py visier_platform_sdk/models/process_concept_stage_dto.py @@ -1187,6 +1301,7 @@ visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py visier_platform_sdk/models/profile_assignment_dto.py visier_platform_sdk/models/profile_get_api_response_dto.py visier_platform_sdk/models/profiles_get_api_response_dto.py +visier_platform_sdk/models/project_commit_dto.py visier_platform_sdk/models/project_commits_api_response_dto.py visier_platform_sdk/models/project_dto.py visier_platform_sdk/models/project_operation_request_dto.py @@ -1220,7 +1335,6 @@ visier_platform_sdk/models/push_data_complete_response.py visier_platform_sdk/models/push_data_response.py visier_platform_sdk/models/push_data_source_definition_dto.py visier_platform_sdk/models/push_data_source_definitions_dto.py -visier_platform_sdk/models/put_project_commits_request.py visier_platform_sdk/models/qualtrics_auth_params_dto.py visier_platform_sdk/models/query_axis_dto.py visier_platform_sdk/models/query_axis_options_dto.py @@ -1259,6 +1373,11 @@ visier_platform_sdk/models/reduced_error_dto.py visier_platform_sdk/models/reduced_tenant_code_error_dto.py visier_platform_sdk/models/reduced_user_id_error_dto.py visier_platform_sdk/models/related_analytic_object_dto.py +visier_platform_sdk/models/relative_time_expression_dto.py +visier_platform_sdk/models/relative_time_period_dto.py +visier_platform_sdk/models/relative_time_selection_dto.py +visier_platform_sdk/models/relative_time_shift_dto.py +visier_platform_sdk/models/relative_to_rule_dto.py visier_platform_sdk/models/reopen_action_payload.py visier_platform_sdk/models/report_create_request_dto.py visier_platform_sdk/models/report_delete_success_dto.py @@ -1266,12 +1385,17 @@ visier_platform_sdk/models/report_dto.py visier_platform_sdk/models/report_list_response_dto.py visier_platform_sdk/models/result.py visier_platform_sdk/models/role_modules_config_dto.py +visier_platform_sdk/models/rule_dto.py +visier_platform_sdk/models/rule_set_dto.py +visier_platform_sdk/models/salary_benchmark_feedback_input.py visier_platform_sdk/models/salary_benchmark_input.py visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py visier_platform_sdk/models/salesforce_auth_params_dto.py visier_platform_sdk/models/salesforce_v2_auth_params_dto.py +visier_platform_sdk/models/same_metric_other_context_dto.py +visier_platform_sdk/models/same_metric_other_time_dto.py visier_platform_sdk/models/sample_question_api_response_dto.py visier_platform_sdk/models/sample_questions_api_response_dto.py visier_platform_sdk/models/scenario_info_dto.py @@ -1299,6 +1423,7 @@ visier_platform_sdk/models/sidecar_solution_request_dto.py visier_platform_sdk/models/sidecar_solution_settings_dto.py visier_platform_sdk/models/simple_document_header_search_response_dto.py visier_platform_sdk/models/simple_document_header_search_result_dto.py +visier_platform_sdk/models/simple_metric_details_dto.py visier_platform_sdk/models/simple_property_type_dto.py visier_platform_sdk/models/simple_user_dto.py visier_platform_sdk/models/single_value_setting_dto.py @@ -1323,14 +1448,19 @@ visier_platform_sdk/models/sources_api_put_response_dto.py visier_platform_sdk/models/sql_like200_response.py visier_platform_sdk/models/sql_like_query_execution_dto.py visier_platform_sdk/models/sql_server_auth_params_dto.py +visier_platform_sdk/models/start_collaboration_action_payload.py visier_platform_sdk/models/start_extraction_response.py visier_platform_sdk/models/start_transfer_response.py visier_platform_sdk/models/static_dimension_filter_dto.py visier_platform_sdk/models/status.py visier_platform_sdk/models/subject_details_dto.py +visier_platform_sdk/models/subject_member_set_parameter_value_dto.py +visier_platform_sdk/models/subject_member_set_parameter_value_dto_list_of_name_path_dto.py +visier_platform_sdk/models/subject_member_set_parameter_value_dto_name_path_dto.py visier_platform_sdk/models/subject_missing_access_dto.py visier_platform_sdk/models/subject_reference_dto.py visier_platform_sdk/models/subject_reference_list_dto.py +visier_platform_sdk/models/submit_action_payload.py visier_platform_sdk/models/success_factors_auth_params_dto.py visier_platform_sdk/models/success_factors_o_auth_params_dto.py visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py @@ -1371,9 +1501,17 @@ visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py visier_platform_sdk/models/tenant_provision_apidto.py visier_platform_sdk/models/tenant_source_files_list_response_dto.py visier_platform_sdk/models/tenant_status_apidto.py +visier_platform_sdk/models/time_handling_dto.py +visier_platform_sdk/models/time_period_dto.py +visier_platform_sdk/models/time_period_filter_dto.py +visier_platform_sdk/models/time_period_metadata_dto.py visier_platform_sdk/models/time_shift_dto.py visier_platform_sdk/models/token_response.py +visier_platform_sdk/models/trigger_criteria_member_result_info_dto.py +visier_platform_sdk/models/trigger_criteria_overall_result_info_dto.py +visier_platform_sdk/models/trigger_criteria_result_info_dto.py visier_platform_sdk/models/ultimate_auth_params_dto.py +visier_platform_sdk/models/update_event_alert_recipient_status_dto.py visier_platform_sdk/models/update_tenant_model.py visier_platform_sdk/models/upload_to_exclude.py visier_platform_sdk/models/upload_to_include.py @@ -1428,8 +1566,17 @@ visier_platform_sdk/models/vee_conversation_dto.py visier_platform_sdk/models/vee_conversation_state_dto.py visier_platform_sdk/models/vee_corrections_dto.py visier_platform_sdk/models/vee_data_dto.py +visier_platform_sdk/models/vee_detail_data_dto.py visier_platform_sdk/models/vee_feedback_dto.py visier_platform_sdk/models/vee_options_dto.py +visier_platform_sdk/models/vee_question_categories_bulk_change_response_dto.py +visier_platform_sdk/models/vee_question_categories_change_definitions_dto.py +visier_platform_sdk/models/vee_question_categories_delete_definitions_dto.py +visier_platform_sdk/models/vee_question_category_change_definition_dto.py +visier_platform_sdk/models/vee_question_category_change_definitions_by_tenant_dto.py +visier_platform_sdk/models/vee_question_category_change_failure_dto.py +visier_platform_sdk/models/vee_question_category_change_success_dto.py +visier_platform_sdk/models/vee_question_category_delete_definitions_by_tenant_dto.py visier_platform_sdk/models/vee_question_change_definition_dto.py visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py visier_platform_sdk/models/vee_question_change_failure_dto.py @@ -1449,6 +1596,7 @@ visier_platform_sdk/models/vee_status_dto.py visier_platform_sdk/models/vee_visual_dto.py visier_platform_sdk/models/vee_visual_options_dto.py visier_platform_sdk/models/version_information_dto.py +visier_platform_sdk/models/visible_for_selection_dto.py visier_platform_sdk/models/webhook_basic_auth_credential_dto.py visier_platform_sdk/models/webhook_credentials_dto.py visier_platform_sdk/models/webhook_details_dto.py diff --git a/src/visier_platform_sdk/pyproject.toml b/src/visier_platform_sdk/pyproject.toml index a770040576..7241f7119b 100644 --- a/src/visier_platform_sdk/pyproject.toml +++ b/src/visier_platform_sdk/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "visier_platform_sdk" -version = "22222222.99201.2050" +version = "22222222.99200.22144" description = "API Reference" authors = ["Visier "] license = "Apache License, Version 2.0" diff --git a/src/visier_platform_sdk/setup.py b/src/visier_platform_sdk/setup.py index 8974753e85..94502b5837 100644 --- a/src/visier_platform_sdk/setup.py +++ b/src/visier_platform_sdk/setup.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,7 @@ # prerequisite: setuptools # http://pypi.python.org/pypi/setuptools NAME = "visier-platform-sdk" -VERSION = "22222222.99201.2050" +VERSION = "22222222.99200.22144" PYTHON_REQUIRES = ">= 3.10" REQUIRES = [ # Workaround to fix urllib3 version conflict with `vcrpy` while using `uv` and `poetry`. diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py index 54ea48b65a..ecdd1ddbf8 100644 --- a/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py index 2788ab5a07..7d2aa306be 100644 --- a/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_assignment_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py index 70db9171af..f03b9d9729 100644 --- a/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py index ac3046ba85..031931e0b8 100644 --- a/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py +++ b/src/visier_platform_sdk/test/test_accessible_tenant_profile_revoke_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_additional_capabilities_dto.py b/src/visier_platform_sdk/test/test_additional_capabilities_dto.py index 7a62892694..ed577a5f39 100644 --- a/src/visier_platform_sdk/test/test_additional_capabilities_dto.py +++ b/src/visier_platform_sdk/test/test_additional_capabilities_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_admin_capability_config_dto.py b/src/visier_platform_sdk/test/test_admin_capability_config_dto.py index 47003d1e8e..cbaeb3a4d2 100644 --- a/src/visier_platform_sdk/test/test_admin_capability_config_dto.py +++ b/src/visier_platform_sdk/test/test_admin_capability_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_adp_auth_params_dto.py b/src/visier_platform_sdk/test/test_adp_auth_params_dto.py index 1c5a3000ef..d2549d0310 100644 --- a/src/visier_platform_sdk/test/test_adp_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_adp_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregate_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_aggregate_query_execution_options_dto.py index bfd405f8da..6a9c22d71e 100644 --- a/src/visier_platform_sdk/test/test_aggregate_query_execution_options_dto.py +++ b/src/visier_platform_sdk/test/test_aggregate_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregation_query_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_dto.py index bf587a8142..0ca94265d3 100644 --- a/src/visier_platform_sdk/test/test_aggregation_query_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_query_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -72,7 +72,8 @@ def make_instance(self, include_optional) -> AggregationQueryDTO: member_value = None, numeric_value = None, plan_value = None, - aggregation_type_value = None, ) + aggregation_type_value = None, + subject_member_set_value = None, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py index 60eb5b6d67..84d9344f37 100644 --- a/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -63,7 +63,8 @@ def make_instance(self, include_optional) -> AggregationQueryExecutionDTO: member_value = None, numeric_value = None, plan_value = None, - aggregation_type_value = None, ) + aggregation_type_value = None, + subject_member_set_value = None, ) ], ), options = visier_platform_sdk.models.aggregate_query_execution_options_dto.AggregateQueryExecutionOptionsDTO( calendar_type = 'TENANT_CALENDAR', diff --git a/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py index 42babc1c57..e4d04b2c13 100644 --- a/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_query_source_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py index 01c764be15..24f1672b51 100644 --- a/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_query_source_metric_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py b/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py index 605338b1de..0ca8f50b95 100644 --- a/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_query_source_metrics_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py b/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py index a0bd7db7a0..cbac221369 100644 --- a/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_type_option_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py b/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py index 3c507cd437..931675437e 100644 --- a/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_type_parameter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py b/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py index d30b30d1fb..c858394833 100644 --- a/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py +++ b/src/visier_platform_sdk/test/test_aggregation_type_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py index 078ed2b7d3..bc8c439f1c 100644 --- a/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_all_permissions_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py index 2f041e40a2..e01637dfe2 100644 --- a/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_all_profile_assigned_for_accessible_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py index 48015fd8ed..c2b67a2c58 100644 --- a/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_all_profile_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py b/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py index 103899be14..20ee09ce6a 100644 --- a/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py +++ b/src/visier_platform_sdk/test/test_all_tenants_status_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py index 46b44d6ea5..d867bcdf1e 100644 --- a/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_all_user_groups_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py b/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py index 9ce36b4f74..70d4d5af53 100644 --- a/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_all_users_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py b/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py index 3d795d5cd7..857b6d0b71 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -37,7 +37,6 @@ def make_instance(self, include_optional) -> AnalyticObjectDefinitionDTO: return AnalyticObjectDefinitionDTO( uuid = '', object_name = '', - update_operation = 'unspecified', basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( display_name = '', short_display_name = '', diff --git a/src/visier_platform_sdk/test/test_analytic_object_delete_request_dto.py b/src/visier_platform_sdk/test/test_analytic_object_delete_request_dto.py new file mode 100644 index 0000000000..52818e699e --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_delete_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_delete_request_dto import AnalyticObjectDeleteRequestDTO + +class TestAnalyticObjectDeleteRequestDTO(unittest.TestCase): + """AnalyticObjectDeleteRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectDeleteRequestDTO: + """Test AnalyticObjectDeleteRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectDeleteRequestDTO( + analytic_objects = [ + visier_platform_sdk.models.analytic_object_delete_with_context_dto.AnalyticObjectDeleteWithContextDTO( + execution_context = None, + analytic_object = None, ) + ] + ) + else: + return AnalyticObjectDeleteRequestDTO( + ) + + def testAnalyticObjectDeleteRequestDTO(self): + """Test AnalyticObjectDeleteRequestDTO""" + def validate_instance(instance): + AnalyticObjectDeleteRequestDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectDeleteRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_delete_with_context_dto.py b/src/visier_platform_sdk/test/test_analytic_object_delete_with_context_dto.py new file mode 100644 index 0000000000..bc7783560b --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_delete_with_context_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_delete_with_context_dto import AnalyticObjectDeleteWithContextDTO + +class TestAnalyticObjectDeleteWithContextDTO(unittest.TestCase): + """AnalyticObjectDeleteWithContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectDeleteWithContextDTO: + """Test AnalyticObjectDeleteWithContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectDeleteWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + analytic_object = visier_platform_sdk.models.object_id_dto.ObjectIdDTO( + uuid = '', + object_name = '', ) + ) + else: + return AnalyticObjectDeleteWithContextDTO( + ) + + def testAnalyticObjectDeleteWithContextDTO(self): + """Test AnalyticObjectDeleteWithContextDTO""" + def validate_instance(instance): + AnalyticObjectDeleteWithContextDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectDeleteWithContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_details_dto.py b/src/visier_platform_sdk/test/test_analytic_object_details_dto.py index e6e8e94a84..20dfaf1e88 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_details_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,7 +47,6 @@ def make_instance(self, include_optional) -> AnalyticObjectDetailsDTO: include_with_vee = True, property_list = None, dimension_list = None, - concept_list = None, subject_reference_list = None, ), event = visier_platform_sdk.models.event_details_dto.EventDetailsDTO( occurrence_caption = None, @@ -60,7 +59,6 @@ def make_instance(self, include_optional) -> AnalyticObjectDetailsDTO: include_with_vee = True, property_list = None, dimension_list = None, - concept_list = None, subject_reference_list = None, ) ) else: diff --git a/src/visier_platform_sdk/test/test_analytic_object_dto.py b/src/visier_platform_sdk/test/test_analytic_object_dto.py index 189f935de1..811fb7a086 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py b/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py index c7995d94ad..430fc31a9e 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_filter_list_dto.py b/src/visier_platform_sdk/test/test_analytic_object_filter_list_dto.py index c11d35462e..9ada0c66a7 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_filter_list_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_filter_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_names_dto.py b/src/visier_platform_sdk/test/test_analytic_object_names_dto.py index 663841cf9b..224c048f29 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_names_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_names_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_reference_dto.py b/src/visier_platform_sdk/test/test_analytic_object_reference_dto.py index 4ff81038ec..a351d85268 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_reference_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_reference_list_dto.py b/src/visier_platform_sdk/test/test_analytic_object_reference_list_dto.py index 909ecd3fef..8807644b3a 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_reference_list_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_reference_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_request_dto.py b/src/visier_platform_sdk/test/test_analytic_object_request_dto.py index d7f5b96157..34c2bfc924 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_request_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_object_response_dto.py b/src/visier_platform_sdk/test/test_analytic_object_response_dto.py new file mode 100644 index 0000000000..c787b3930f --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_response_dto import AnalyticObjectResponseDTO + +class TestAnalyticObjectResponseDTO(unittest.TestCase): + """AnalyticObjectResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectResponseDTO: + """Test AnalyticObjectResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectResponseDTO( + analytic_objects = [ + visier_platform_sdk.models.analytic_object_with_context_dto.AnalyticObjectWithContextDTO( + execution_context = None, + analytic_object = None, ) + ] + ) + else: + return AnalyticObjectResponseDTO( + ) + + def testAnalyticObjectResponseDTO(self): + """Test AnalyticObjectResponseDTO""" + def validate_instance(instance): + AnalyticObjectResponseDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_revert_request_dto.py b/src/visier_platform_sdk/test/test_analytic_object_revert_request_dto.py new file mode 100644 index 0000000000..5c600c0f86 --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_revert_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_revert_request_dto import AnalyticObjectRevertRequestDTO + +class TestAnalyticObjectRevertRequestDTO(unittest.TestCase): + """AnalyticObjectRevertRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectRevertRequestDTO: + """Test AnalyticObjectRevertRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectRevertRequestDTO( + analytic_objects = [ + visier_platform_sdk.models.analytic_object_revert_with_context_dto.AnalyticObjectRevertWithContextDTO( + execution_context = None, + analytic_object = None, ) + ] + ) + else: + return AnalyticObjectRevertRequestDTO( + ) + + def testAnalyticObjectRevertRequestDTO(self): + """Test AnalyticObjectRevertRequestDTO""" + def validate_instance(instance): + AnalyticObjectRevertRequestDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectRevertRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_revert_with_context_dto.py b/src/visier_platform_sdk/test/test_analytic_object_revert_with_context_dto.py new file mode 100644 index 0000000000..072361670a --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_object_revert_with_context_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.analytic_object_revert_with_context_dto import AnalyticObjectRevertWithContextDTO + +class TestAnalyticObjectRevertWithContextDTO(unittest.TestCase): + """AnalyticObjectRevertWithContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AnalyticObjectRevertWithContextDTO: + """Test AnalyticObjectRevertWithContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return AnalyticObjectRevertWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + analytic_object = visier_platform_sdk.models.object_id_dto.ObjectIdDTO( + uuid = '', + object_name = '', ) + ) + else: + return AnalyticObjectRevertWithContextDTO( + ) + + def testAnalyticObjectRevertWithContextDTO(self): + """Test AnalyticObjectRevertWithContextDTO""" + def validate_instance(instance): + AnalyticObjectRevertWithContextDTO.model_validate(inst_req_only) + instance_deserialized = AnalyticObjectRevertWithContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py b/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py index 09c1e0dc61..0e075f3550 100644 --- a/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_object_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -41,7 +41,6 @@ def make_instance(self, include_optional) -> AnalyticObjectWithContextDTO: analytic_object = visier_platform_sdk.models.analytic_object_definition_dto.AnalyticObjectDefinitionDTO( uuid = '', object_name = '', - update_operation = 'unspecified', basic_information = None, details = None, tag_list = None, diff --git a/src/visier_platform_sdk/test/test_analytic_objects_dto.py b/src/visier_platform_sdk/test/test_analytic_objects_dto.py index 08ad0ceb03..4caa7df2d6 100644 --- a/src/visier_platform_sdk/test/test_analytic_objects_dto.py +++ b/src/visier_platform_sdk/test/test_analytic_objects_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_analytic_objects_v2_api.py b/src/visier_platform_sdk/test/test_analytic_objects_v2_api.py new file mode 100644 index 0000000000..e274735e82 --- /dev/null +++ b/src/visier_platform_sdk/test/test_analytic_objects_v2_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from visier_platform_sdk.api.analytic_objects_v2_api import AnalyticObjectsV2Api + + +class TestAnalyticObjectsV2Api(unittest.TestCase): + """AnalyticObjectsV2Api unit test stubs""" + + def setUp(self) -> None: + self.api = AnalyticObjectsV2Api() + + def tearDown(self) -> None: + pass + + def test_create_analytic_objects(self) -> None: + """Test case for create_analytic_objects + + Create analytic objects + """ + pass + + def test_delete_analytic_objects(self) -> None: + """Test case for delete_analytic_objects + + Delete analytic objects + """ + pass + + def test_get_all_analytic_objects(self) -> None: + """Test case for get_all_analytic_objects + + Retrieve a list of analytic objects + """ + pass + + def test_get_one_analytic_object(self) -> None: + """Test case for get_one_analytic_object + + Retrieve an analytic object's details + """ + pass + + def test_patch_analytic_objects(self) -> None: + """Test case for patch_analytic_objects + + Partially update analytic objects + """ + pass + + def test_put_analytic_objects(self) -> None: + """Test case for put_analytic_objects + + Update analytic objects + """ + pass + + def test_revert_analytic_objects(self) -> None: + """Test case for revert_analytic_objects + + Revert analytic objects to Blueprint + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_any.py b/src/visier_platform_sdk/test/test_any.py index 9af62a280e..e0dd411485 100644 --- a/src/visier_platform_sdk/test/test_any.py +++ b/src/visier_platform_sdk/test/test_any.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_api_error.py b/src/visier_platform_sdk/test/test_api_error.py index e78dce0a8f..ce7f434898 100644 --- a/src/visier_platform_sdk/test/test_api_error.py +++ b/src/visier_platform_sdk/test/test_api_error.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_connector_credential_request.py b/src/visier_platform_sdk/test/test_assign_connector_credential_request.py index fff11cedb6..02bc2ef315 100644 --- a/src/visier_platform_sdk/test/test_assign_connector_credential_request.py +++ b/src/visier_platform_sdk/test/test_assign_connector_credential_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py b/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py index 6e908480e2..1600eccae4 100644 --- a/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py +++ b/src/visier_platform_sdk/test/test_assign_connector_credentials_by_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py b/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py index 417db428cc..f85b354382 100644 --- a/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py +++ b/src/visier_platform_sdk/test/test_assign_connector_credentials_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py b/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py index 252580332c..c86f5f994c 100644 --- a/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py +++ b/src/visier_platform_sdk/test/test_assign_connector_with_credentials_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py index c024e10334..9400646f27 100644 --- a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_permission_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py index 42348ac08c..2aa50238a2 100644 --- a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py index bcabb06f70..755e48dacd 100644 --- a/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_by_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py index a2c94967c7..638869db1e 100644 --- a/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py +++ b/src/visier_platform_sdk/test/test_assign_revoke_permission_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py index 911495ed51..a5bdda2b90 100644 --- a/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py +++ b/src/visier_platform_sdk/test/test_assign_revoke_permissions_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py b/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py index 73f6dec935..93f2ea905f 100644 --- a/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py +++ b/src/visier_platform_sdk/test/test_assign_revoke_permissions_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -54,7 +54,8 @@ def make_instance(self, include_optional) -> AssignRevokePermissionsResponseDTO: status = 'Unknown', message = '', project_id = '', ) - ] + ], + session_repo_id = '' ) else: return AssignRevokePermissionsResponseDTO( diff --git a/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py b/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py index 73eb431f7b..931d85d5ca 100644 --- a/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py +++ b/src/visier_platform_sdk/test/test_assigned_credential_info_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py b/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py index 1fd3338d4e..3e564b72e8 100644 --- a/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_bamboo_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_basic_authentication_api.py b/src/visier_platform_sdk/test/test_basic_authentication_api.py index ab6a4627a1..6e9e86105b 100644 --- a/src/visier_platform_sdk/test/test_basic_authentication_api.py +++ b/src/visier_platform_sdk/test/test_basic_authentication_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_basic_information_dto.py b/src/visier_platform_sdk/test/test_basic_information_dto.py index fd4510262e..a5412bbfcc 100644 --- a/src/visier_platform_sdk/test/test_basic_information_dto.py +++ b/src/visier_platform_sdk/test/test_basic_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py index 639cfc00b2..509389c3f8 100644 --- a/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_basic_s3_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py b/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py index be86374059..8dd095763f 100644 --- a/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py +++ b/src/visier_platform_sdk/test/test_batch_tenant_provision_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_benchmark_info.py b/src/visier_platform_sdk/test/test_benchmark_info.py index c604c226c1..8d4c8d272c 100644 --- a/src/visier_platform_sdk/test/test_benchmark_info.py +++ b/src/visier_platform_sdk/test/test_benchmark_info.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_benchmark_value.py b/src/visier_platform_sdk/test/test_benchmark_value.py index 24deedbd86..e6218211f3 100644 --- a/src/visier_platform_sdk/test/test_benchmark_value.py +++ b/src/visier_platform_sdk/test/test_benchmark_value.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_benchmarks_api.py b/src/visier_platform_sdk/test/test_benchmarks_api.py index 22cb71a36f..893a26c42e 100644 --- a/src/visier_platform_sdk/test/test_benchmarks_api.py +++ b/src/visier_platform_sdk/test/test_benchmarks_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -48,6 +48,13 @@ def test_get_salary_benchmarks_in_bulk(self) -> None: """ pass + def test_submit_salary_benchmark_feedback(self) -> None: + """Test case for submit_salary_benchmark_feedback + + Submit feedback to improve salary benchmark values + """ + pass + if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_between_rule_dto.py b/src/visier_platform_sdk/test/test_between_rule_dto.py new file mode 100644 index 0000000000..52335f62e8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_between_rule_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.between_rule_dto import BetweenRuleDTO + +class TestBetweenRuleDTO(unittest.TestCase): + """BetweenRuleDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BetweenRuleDTO: + """Test BetweenRuleDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return BetweenRuleDTO( + lower = 1.337, + upper = 1.337 + ) + else: + return BetweenRuleDTO( + ) + + def testBetweenRuleDTO(self): + """Test BetweenRuleDTO""" + def validate_instance(instance): + BetweenRuleDTO.model_validate(inst_req_only) + instance_deserialized = BetweenRuleDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py b/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py index abbfc2d46e..2a0d09f6d2 100644 --- a/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_big_query_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py b/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py index d029d9a4aa..20f32c2a56 100644 --- a/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py +++ b/src/visier_platform_sdk/test/test_big_query_service_account_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_bulk_change_response_dto.py index d3c392ba03..b87a5a7102 100644 --- a/src/visier_platform_sdk/test/test_bulk_change_response_dto.py +++ b/src/visier_platform_sdk/test/test_bulk_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_bulk_data_access_set_request_dto.py b/src/visier_platform_sdk/test/test_bulk_data_access_set_request_dto.py index d131ba4f6a..a11a3625c2 100644 --- a/src/visier_platform_sdk/test/test_bulk_data_access_set_request_dto.py +++ b/src/visier_platform_sdk/test/test_bulk_data_access_set_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py b/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py index 3db5f0310e..03187090d0 100644 --- a/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py +++ b/src/visier_platform_sdk/test/test_bulk_data_access_set_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_business_location_dto.py b/src/visier_platform_sdk/test/test_business_location_dto.py index cae326e5ba..7ab3f14282 100644 --- a/src/visier_platform_sdk/test/test_business_location_dto.py +++ b/src/visier_platform_sdk/test/test_business_location_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_calculated_property_type_dto.py b/src/visier_platform_sdk/test/test_calculated_property_type_dto.py index 2be46c6839..b32935b90a 100644 --- a/src/visier_platform_sdk/test/test_calculated_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_calculated_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_calculated_selection_concept_dto.py b/src/visier_platform_sdk/test/test_calculated_selection_concept_dto.py index cc4daa7d86..520e59873e 100644 --- a/src/visier_platform_sdk/test/test_calculated_selection_concept_dto.py +++ b/src/visier_platform_sdk/test/test_calculated_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py index d0d85f4a2d..eee5c3f456 100644 --- a/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py +++ b/src/visier_platform_sdk/test/test_calculation_concept_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py index 1bb9869674..3d619b3501 100644 --- a/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py +++ b/src/visier_platform_sdk/test/test_calculation_concept_configuration_map_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_calculation_concept_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_dto.py index 3a5e675ffc..d84ceadd9b 100644 --- a/src/visier_platform_sdk/test/test_calculation_concept_dto.py +++ b/src/visier_platform_sdk/test/test_calculation_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py b/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py index ab67bee0d3..edc63e30e3 100644 --- a/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py +++ b/src/visier_platform_sdk/test/test_calculation_concept_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py b/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py index 1128faa73f..662a85b00e 100644 --- a/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py +++ b/src/visier_platform_sdk/test/test_cancel_job_batch_from_job_id_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_capabilities_dto.py b/src/visier_platform_sdk/test/test_capabilities_dto.py index a2f13bb4f2..029c93d372 100644 --- a/src/visier_platform_sdk/test/test_capabilities_dto.py +++ b/src/visier_platform_sdk/test/test_capabilities_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_capability_dto.py b/src/visier_platform_sdk/test/test_capability_dto.py index 4c79489a00..6b87911f28 100644 --- a/src/visier_platform_sdk/test/test_capability_dto.py +++ b/src/visier_platform_sdk/test/test_capability_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_capability_group_dto.py b/src/visier_platform_sdk/test/test_capability_group_dto.py index 3a826a12b6..c9b6947b61 100644 --- a/src/visier_platform_sdk/test/test_capability_group_dto.py +++ b/src/visier_platform_sdk/test/test_capability_group_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_caption_dto.py b/src/visier_platform_sdk/test/test_caption_dto.py index 07d9690ba3..f642473191 100644 --- a/src/visier_platform_sdk/test/test_caption_dto.py +++ b/src/visier_platform_sdk/test/test_caption_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_caption_list_dto.py b/src/visier_platform_sdk/test/test_caption_list_dto.py index 03ae9bea1d..87a5ca3a59 100644 --- a/src/visier_platform_sdk/test/test_caption_list_dto.py +++ b/src/visier_platform_sdk/test/test_caption_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_career_level_search_failure_output.py b/src/visier_platform_sdk/test/test_career_level_search_failure_output.py new file mode 100644 index 0000000000..600de454d2 --- /dev/null +++ b/src/visier_platform_sdk/test/test_career_level_search_failure_output.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.career_level_search_failure_output import CareerLevelSearchFailureOutput + +class TestCareerLevelSearchFailureOutput(unittest.TestCase): + """CareerLevelSearchFailureOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CareerLevelSearchFailureOutput: + """Test CareerLevelSearchFailureOutput + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CareerLevelSearchFailureOutput( + job_id = '', + http_status = '', + message = '', + rci = '', + error_code = '' + ) + else: + return CareerLevelSearchFailureOutput( + job_id = '', + http_status = '', + message = '', + rci = '', + error_code = '', + ) + + def testCareerLevelSearchFailureOutput(self): + """Test CareerLevelSearchFailureOutput""" + def validate_instance(instance): + CareerLevelSearchFailureOutput.model_validate(inst_req_only) + instance_deserialized = CareerLevelSearchFailureOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_career_level_search_input.py b/src/visier_platform_sdk/test/test_career_level_search_input.py new file mode 100644 index 0000000000..0d6a91bb43 --- /dev/null +++ b/src/visier_platform_sdk/test/test_career_level_search_input.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.career_level_search_input import CareerLevelSearchInput + +class TestCareerLevelSearchInput(unittest.TestCase): + """CareerLevelSearchInput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CareerLevelSearchInput: + """Test CareerLevelSearchInput + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CareerLevelSearchInput( + job_ids = [ + '' + ], + has_benchmark_value = True + ) + else: + return CareerLevelSearchInput( + job_ids = [ + '' + ], + ) + + def testCareerLevelSearchInput(self): + """Test CareerLevelSearchInput""" + def validate_instance(instance): + CareerLevelSearchInput.model_validate(inst_req_only) + instance_deserialized = CareerLevelSearchInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_career_level_search_output.py b/src/visier_platform_sdk/test/test_career_level_search_output.py new file mode 100644 index 0000000000..4077659545 --- /dev/null +++ b/src/visier_platform_sdk/test/test_career_level_search_output.py @@ -0,0 +1,147 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.career_level_search_output import CareerLevelSearchOutput + +class TestCareerLevelSearchOutput(unittest.TestCase): + """CareerLevelSearchOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CareerLevelSearchOutput: + """Test CareerLevelSearchOutput + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CareerLevelSearchOutput( + successes = [ + visier_platform_sdk.models.career_level_search_successful_output.CareerLevelSearchSuccessfulOutput( + job_id = '', + results = [ + visier_platform_sdk.models.dimension_member.DimensionMember( + id = '', + name = '', + description = '', + has_benchmark_value = True, + has_children = True, + status = 'active', + display_id = '', + short_description_sections = [ + visier_platform_sdk.models.description_entry.DescriptionEntry( + label = '', + text = '', ) + ], + job_domain = '', + job_subdomain = '', + typical_titles = [ + '' + ], + related_jobs = [ + '' + ], + naics_id = '', + naics_name = '', + naics_description = '', + soc_code = '', + soc_name = '', + soc_codes = visier_platform_sdk.models.soc_codes.socCodes(), + soc_names = visier_platform_sdk.models.soc_names.socNames(), + children = [ + None + ], ) + ], ) + ], + failures = [ + visier_platform_sdk.models.career_level_search_failure_output.CareerLevelSearchFailureOutput( + job_id = '', + http_status = '', + message = '', + rci = '', + error_code = '', ) + ] + ) + else: + return CareerLevelSearchOutput( + successes = [ + visier_platform_sdk.models.career_level_search_successful_output.CareerLevelSearchSuccessfulOutput( + job_id = '', + results = [ + visier_platform_sdk.models.dimension_member.DimensionMember( + id = '', + name = '', + description = '', + has_benchmark_value = True, + has_children = True, + status = 'active', + display_id = '', + short_description_sections = [ + visier_platform_sdk.models.description_entry.DescriptionEntry( + label = '', + text = '', ) + ], + job_domain = '', + job_subdomain = '', + typical_titles = [ + '' + ], + related_jobs = [ + '' + ], + naics_id = '', + naics_name = '', + naics_description = '', + soc_code = '', + soc_name = '', + soc_codes = visier_platform_sdk.models.soc_codes.socCodes(), + soc_names = visier_platform_sdk.models.soc_names.socNames(), + children = [ + None + ], ) + ], ) + ], + failures = [ + visier_platform_sdk.models.career_level_search_failure_output.CareerLevelSearchFailureOutput( + job_id = '', + http_status = '', + message = '', + rci = '', + error_code = '', ) + ], + ) + + def testCareerLevelSearchOutput(self): + """Test CareerLevelSearchOutput""" + def validate_instance(instance): + CareerLevelSearchOutput.model_validate(inst_req_only) + instance_deserialized = CareerLevelSearchOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_career_level_search_successful_output.py b/src/visier_platform_sdk/test/test_career_level_search_successful_output.py new file mode 100644 index 0000000000..603ce0842d --- /dev/null +++ b/src/visier_platform_sdk/test/test_career_level_search_successful_output.py @@ -0,0 +1,125 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.career_level_search_successful_output import CareerLevelSearchSuccessfulOutput + +class TestCareerLevelSearchSuccessfulOutput(unittest.TestCase): + """CareerLevelSearchSuccessfulOutput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CareerLevelSearchSuccessfulOutput: + """Test CareerLevelSearchSuccessfulOutput + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CareerLevelSearchSuccessfulOutput( + job_id = '', + results = [ + visier_platform_sdk.models.dimension_member.DimensionMember( + id = '', + name = '', + description = '', + has_benchmark_value = True, + has_children = True, + status = 'active', + display_id = '', + short_description_sections = [ + visier_platform_sdk.models.description_entry.DescriptionEntry( + label = '', + text = '', ) + ], + job_domain = '', + job_subdomain = '', + typical_titles = [ + '' + ], + related_jobs = [ + '' + ], + naics_id = '', + naics_name = '', + naics_description = '', + soc_code = '', + soc_name = '', + soc_codes = visier_platform_sdk.models.soc_codes.socCodes(), + soc_names = visier_platform_sdk.models.soc_names.socNames(), + children = [ + None + ], ) + ] + ) + else: + return CareerLevelSearchSuccessfulOutput( + job_id = '', + results = [ + visier_platform_sdk.models.dimension_member.DimensionMember( + id = '', + name = '', + description = '', + has_benchmark_value = True, + has_children = True, + status = 'active', + display_id = '', + short_description_sections = [ + visier_platform_sdk.models.description_entry.DescriptionEntry( + label = '', + text = '', ) + ], + job_domain = '', + job_subdomain = '', + typical_titles = [ + '' + ], + related_jobs = [ + '' + ], + naics_id = '', + naics_name = '', + naics_description = '', + soc_code = '', + soc_name = '', + soc_codes = visier_platform_sdk.models.soc_codes.socCodes(), + soc_names = visier_platform_sdk.models.soc_names.socNames(), + children = [ + None + ], ) + ], + ) + + def testCareerLevelSearchSuccessfulOutput(self): + """Test CareerLevelSearchSuccessfulOutput""" + def validate_instance(instance): + CareerLevelSearchSuccessfulOutput.model_validate(inst_req_only) + instance_deserialized = CareerLevelSearchSuccessfulOutput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_category_icon_dto.py b/src/visier_platform_sdk/test/test_category_icon_dto.py new file mode 100644 index 0000000000..37b3e91dec --- /dev/null +++ b/src/visier_platform_sdk/test/test_category_icon_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO + +class TestCategoryIconDTO(unittest.TestCase): + """CategoryIconDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CategoryIconDTO: + """Test CategoryIconDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CategoryIconDTO( + base64_image = '', + background_color = '' + ) + else: + return CategoryIconDTO( + ) + + def testCategoryIconDTO(self): + """Test CategoryIconDTO""" + def validate_instance(instance): + CategoryIconDTO.model_validate(inst_req_only) + instance_deserialized = CategoryIconDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py b/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py index 48ae5068ab..7a81b22d2b 100644 --- a/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py +++ b/src/visier_platform_sdk/test/test_cell_distribution_bin_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py b/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py index a4ddea1bbc..f2ecb6816e 100644 --- a/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py +++ b/src/visier_platform_sdk/test/test_cell_distribution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cell_dto.py b/src/visier_platform_sdk/test/test_cell_dto.py index 3182182695..7398861f3e 100644 --- a/src/visier_platform_sdk/test/test_cell_dto.py +++ b/src/visier_platform_sdk/test/test_cell_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cell_set_axis_dto.py b/src/visier_platform_sdk/test/test_cell_set_axis_dto.py index 6977fb6a76..14fc0b8e4e 100644 --- a/src/visier_platform_sdk/test/test_cell_set_axis_dto.py +++ b/src/visier_platform_sdk/test/test_cell_set_axis_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py b/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py index daf11e053f..672ac2527c 100644 --- a/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py +++ b/src/visier_platform_sdk/test/test_cell_set_axis_position_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cell_set_dto.py b/src/visier_platform_sdk/test/test_cell_set_dto.py index 986955f5d2..c877e650f5 100644 --- a/src/visier_platform_sdk/test/test_cell_set_dto.py +++ b/src/visier_platform_sdk/test/test_cell_set_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py b/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py index 52d06d946a..fa69324512 100644 --- a/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py +++ b/src/visier_platform_sdk/test/test_cell_set_or_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py b/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py index a431210a64..8237fc9c4f 100644 --- a/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py +++ b/src/visier_platform_sdk/test/test_clone_files_into_source_parameters_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_cohort_filter_dto.py b/src/visier_platform_sdk/test/test_cohort_filter_dto.py index bc1d67010e..5abdbfca9c 100644 --- a/src/visier_platform_sdk/test/test_cohort_filter_dto.py +++ b/src/visier_platform_sdk/test/test_cohort_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,12 +36,8 @@ def make_instance(self, include_optional) -> CohortFilterDTO: if include_optional: return CohortFilterDTO( key_group = visier_platform_sdk.models.key_group_filter_dto.KeyGroupFilterDTO( - filters = [ - visier_platform_sdk.models.key_group_filter_item_dto.KeyGroupFilterItemDTO( - formula = '', - selection_concept = None, - member_set = None, ) - ], ), + id = '', + qualifying_path = '', ), exclude = True, time_interval = visier_platform_sdk.models.query_time_interval_dto.QueryTimeIntervalDTO( interval_period_type = 'MONTH', diff --git a/src/visier_platform_sdk/test/test_collaboration_info.py b/src/visier_platform_sdk/test/test_collaboration_info.py new file mode 100644 index 0000000000..1e9111656b --- /dev/null +++ b/src/visier_platform_sdk/test/test_collaboration_info.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.collaboration_info import CollaborationInfo + +class TestCollaborationInfo(unittest.TestCase): + """CollaborationInfo unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CollaborationInfo: + """Test CollaborationInfo + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CollaborationInfo( + scenario_id = '', + start_date = '', + due_date = '', + updated_date = '', + status = 'Closed' + ) + else: + return CollaborationInfo( + ) + + def testCollaborationInfo(self): + """Test CollaborationInfo""" + def validate_instance(instance): + CollaborationInfo.model_validate(inst_req_only) + instance_deserialized = CollaborationInfo.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py b/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py index d59389ee05..0aef196691 100644 --- a/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py +++ b/src/visier_platform_sdk/test/test_commit_and_publish_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_commit_dto.py b/src/visier_platform_sdk/test/test_commit_dto.py index 5f89708a65..e169d929ad 100644 --- a/src/visier_platform_sdk/test/test_commit_dto.py +++ b/src/visier_platform_sdk/test/test_commit_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_compared_metric_dto.py b/src/visier_platform_sdk/test/test_compared_metric_dto.py new file mode 100644 index 0000000000..30d34e0c12 --- /dev/null +++ b/src/visier_platform_sdk/test/test_compared_metric_dto.py @@ -0,0 +1,76 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.compared_metric_dto import ComparedMetricDTO + +class TestComparedMetricDTO(unittest.TestCase): + """ComparedMetricDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ComparedMetricDTO: + """Test ComparedMetricDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ComparedMetricDTO( + no_comparison = None, + same_metric_other_context = visier_platform_sdk.models.same_metric_other_context_dto.SameMetricOtherContextDTO( + filters = [ + visier_platform_sdk.models.filter_dto.FilterDTO( + selection_concept = None, + member_set = None, + concept_reference = None, + key_group = None, + persisted_cohort = None, + time_period = None, + numeric_range = None, ) + ], ), + same_metric_other_time = visier_platform_sdk.models.same_metric_other_time_dto.SameMetricOtherTimeDTO( + time_period = visier_platform_sdk.models.time_period_metadata_dto.TimePeriodMetadataDTO( + fixed = None, + previous_period = None, + same_period_previous_year = None, ), ), + other_metric = visier_platform_sdk.models.other_metric_dto.OtherMetricDTO( + metric = None, ) + ) + else: + return ComparedMetricDTO( + ) + + def testComparedMetricDTO(self): + """Test ComparedMetricDTO""" + def validate_instance(instance): + ComparedMetricDTO.model_validate(inst_req_only) + instance_deserialized = ComparedMetricDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py b/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py index d6e0d6fe5e..8a84a0bad6 100644 --- a/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py +++ b/src/visier_platform_sdk/test/test_concept_configuration_result_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_definition_dto.py b/src/visier_platform_sdk/test/test_concept_definition_dto.py index 4451f52ce8..6e889d8ad9 100644 --- a/src/visier_platform_sdk/test/test_concept_definition_dto.py +++ b/src/visier_platform_sdk/test/test_concept_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_delete_request_dto.py b/src/visier_platform_sdk/test/test_concept_delete_request_dto.py index a59bf45223..676ec80898 100644 --- a/src/visier_platform_sdk/test/test_concept_delete_request_dto.py +++ b/src/visier_platform_sdk/test/test_concept_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py b/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py index 5214c0f469..815899788e 100644 --- a/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py +++ b/src/visier_platform_sdk/test/test_concept_delete_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_reference_list_dto.py b/src/visier_platform_sdk/test/test_concept_reference_filter_dto.py similarity index 59% rename from src/visier_platform_sdk/test/test_concept_reference_list_dto.py rename to src/visier_platform_sdk/test/test_concept_reference_filter_dto.py index 12a389a565..47d7ec1074 100644 --- a/src/visier_platform_sdk/test/test_concept_reference_list_dto.py +++ b/src/visier_platform_sdk/test/test_concept_reference_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.concept_reference_list_dto import ConceptReferenceListDTO +from visier_platform_sdk.models.concept_reference_filter_dto import ConceptReferenceFilterDTO -class TestConceptReferenceListDTO(unittest.TestCase): - """ConceptReferenceListDTO unit test stubs""" +class TestConceptReferenceFilterDTO(unittest.TestCase): + """ConceptReferenceFilterDTO unit test stubs""" def setUp(self): pass @@ -27,28 +27,26 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> ConceptReferenceListDTO: - """Test ConceptReferenceListDTO + def make_instance(self, include_optional) -> ConceptReferenceFilterDTO: + """Test ConceptReferenceFilterDTO include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return ConceptReferenceListDTO( - concepts = [ - visier_platform_sdk.models.concept_reference_dto.ConceptReferenceDTO( - object_name = '', ) - ] + return ConceptReferenceFilterDTO( + id = '', + qualifying_path = '' ) else: - return ConceptReferenceListDTO( + return ConceptReferenceFilterDTO( ) - def testConceptReferenceListDTO(self): - """Test ConceptReferenceListDTO""" + def testConceptReferenceFilterDTO(self): + """Test ConceptReferenceFilterDTO""" def validate_instance(instance): - ConceptReferenceListDTO.model_validate(inst_req_only) - instance_deserialized = ConceptReferenceListDTO.from_dict(instance.to_dict()) + ConceptReferenceFilterDTO.model_validate(inst_req_only) + instance_deserialized = ConceptReferenceFilterDTO.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_concept_request_dto.py b/src/visier_platform_sdk/test/test_concept_request_dto.py index 7b3f982515..d89b494768 100644 --- a/src/visier_platform_sdk/test/test_concept_request_dto.py +++ b/src/visier_platform_sdk/test/test_concept_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_response_dto.py b/src/visier_platform_sdk/test/test_concept_response_dto.py index a9bd418b84..78651fb6d1 100644 --- a/src/visier_platform_sdk/test/test_concept_response_dto.py +++ b/src/visier_platform_sdk/test/test_concept_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_type_details_dto.py b/src/visier_platform_sdk/test/test_concept_type_details_dto.py index 493e54b3e0..7a38295458 100644 --- a/src/visier_platform_sdk/test/test_concept_type_details_dto.py +++ b/src/visier_platform_sdk/test/test_concept_type_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concept_with_context_dto.py b/src/visier_platform_sdk/test/test_concept_with_context_dto.py index 3cd3b827fe..cea0a2cd04 100644 --- a/src/visier_platform_sdk/test/test_concept_with_context_dto.py +++ b/src/visier_platform_sdk/test/test_concept_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_concepts_v2_api.py b/src/visier_platform_sdk/test/test_concepts_v2_api.py index 6ccc1f7391..d3c7d3da7c 100644 --- a/src/visier_platform_sdk/test/test_concepts_v2_api.py +++ b/src/visier_platform_sdk/test/test_concepts_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_connector.py b/src/visier_platform_sdk/test/test_connector.py index f369c6214e..f77498ea70 100644 --- a/src/visier_platform_sdk/test/test_connector.py +++ b/src/visier_platform_sdk/test/test_connector.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_connector_info_response_dto.py b/src/visier_platform_sdk/test/test_connector_info_response_dto.py index 4d6164dd14..59596c540f 100644 --- a/src/visier_platform_sdk/test/test_connector_info_response_dto.py +++ b/src/visier_platform_sdk/test/test_connector_info_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_connector_setting_request_dto.py b/src/visier_platform_sdk/test/test_connector_setting_request_dto.py index 002a790b47..68789b43db 100644 --- a/src/visier_platform_sdk/test/test_connector_setting_request_dto.py +++ b/src/visier_platform_sdk/test/test_connector_setting_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_connector_setting_response_dto.py b/src/visier_platform_sdk/test/test_connector_setting_response_dto.py index f1a08b86c8..c0ce44e7c7 100644 --- a/src/visier_platform_sdk/test/test_connector_setting_response_dto.py +++ b/src/visier_platform_sdk/test/test_connector_setting_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_connector_settings_response_dto.py b/src/visier_platform_sdk/test/test_connector_settings_response_dto.py index 15aa679cdf..cf78768a47 100644 --- a/src/visier_platform_sdk/test/test_connector_settings_response_dto.py +++ b/src/visier_platform_sdk/test/test_connector_settings_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidate_action_payload.py b/src/visier_platform_sdk/test/test_consolidate_action_payload.py index 47930311e9..c79ade67ca 100644 --- a/src/visier_platform_sdk/test/test_consolidate_action_payload.py +++ b/src/visier_platform_sdk/test/test_consolidate_action_payload.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api.py index a299af2cf5..f361a9c37b 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py index 754bfdbc44..69b3ebc569 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_excluded_source_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py index b6bfe1528c..95412c2d61 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_source_tenant_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py index 5efe5aa6e0..e155ca9c2b 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_create_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py index 9a0b867638..653189cd5a 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py index 214b377a0d..adb4b5e39d 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py index ac540c810f..2e9ab5e220 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_api_tenant_with_details_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py b/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py index fe9cb5a163..8a38bea1cd 100644 --- a/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py +++ b/src/visier_platform_sdk/test/test_consolidated_analytics_job_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_content_package_dto.py b/src/visier_platform_sdk/test/test_content_package_dto.py index 49bf9b3ada..f24ea37275 100644 --- a/src/visier_platform_sdk/test/test_content_package_dto.py +++ b/src/visier_platform_sdk/test/test_content_package_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py index 85775ee553..31e71fb3f1 100644 --- a/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_copy_s3_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_create_event_alert_request_dto.py b/src/visier_platform_sdk/test/test_create_event_alert_request_dto.py new file mode 100644 index 0000000000..add2f7b8a7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_create_event_alert_request_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.create_event_alert_request_dto import CreateEventAlertRequestDTO + +class TestCreateEventAlertRequestDTO(unittest.TestCase): + """CreateEventAlertRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CreateEventAlertRequestDTO: + """Test CreateEventAlertRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return CreateEventAlertRequestDTO( + trigger_criteria = visier_platform_sdk.models.event_alert_trigger_criteria_dto.EventAlertTriggerCriteriaDTO( + grouped_metric_value_threshold = None, ), + display_name = '' + ) + else: + return CreateEventAlertRequestDTO( + ) + + def testCreateEventAlertRequestDTO(self): + """Test CreateEventAlertRequestDTO""" + def validate_instance(instance): + CreateEventAlertRequestDTO.model_validate(inst_req_only) + instance_deserialized = CreateEventAlertRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py b/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py index 76143f459e..aa7fd8dca6 100644 --- a/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_credential_creation_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_currencies_dto.py b/src/visier_platform_sdk/test/test_currencies_dto.py index e86b4182ac..3a24307c7c 100644 --- a/src/visier_platform_sdk/test/test_currencies_dto.py +++ b/src/visier_platform_sdk/test/test_currencies_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_currency_dto.py b/src/visier_platform_sdk/test/test_currency_dto.py index a0529a6592..2038d3e99a 100644 --- a/src/visier_platform_sdk/test/test_currency_dto.py +++ b/src/visier_platform_sdk/test/test_currency_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_currency_rate_dto.py b/src/visier_platform_sdk/test/test_currency_rate_dto.py index 7f4c92913f..4110e03435 100644 --- a/src/visier_platform_sdk/test/test_currency_rate_dto.py +++ b/src/visier_platform_sdk/test/test_currency_rate_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_currency_rates_dto.py b/src/visier_platform_sdk/test/test_currency_rates_dto.py index 439d537283..631265e310 100644 --- a/src/visier_platform_sdk/test/test_currency_rates_dto.py +++ b/src/visier_platform_sdk/test/test_currency_rates_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_custom_property_dto.py b/src/visier_platform_sdk/test/test_custom_property_dto.py index bca64bb551..75a725da41 100644 --- a/src/visier_platform_sdk/test/test_custom_property_dto.py +++ b/src/visier_platform_sdk/test/test_custom_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py b/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py index 2846bdea75..effb423eaf 100644 --- a/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py +++ b/src/visier_platform_sdk/test/test_custom_tenant_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_access_set_dto.py b/src/visier_platform_sdk/test/test_data_access_set_dto.py index 5b56b92ba1..2a27c9b1c7 100644 --- a/src/visier_platform_sdk/test/test_data_access_set_dto.py +++ b/src/visier_platform_sdk/test/test_data_access_set_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_access_set_error_dto.py b/src/visier_platform_sdk/test/test_data_access_set_error_dto.py index 5931d1d4c2..49e7fdf4bf 100644 --- a/src/visier_platform_sdk/test/test_data_access_set_error_dto.py +++ b/src/visier_platform_sdk/test/test_data_access_set_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py b/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py index a07d662e17..30db58ba88 100644 --- a/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py +++ b/src/visier_platform_sdk/test/test_data_access_set_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_access_set_success_dto.py b/src/visier_platform_sdk/test/test_data_access_set_success_dto.py index d933bbadfa..c0340bbfaa 100644 --- a/src/visier_platform_sdk/test/test_data_access_set_success_dto.py +++ b/src/visier_platform_sdk/test/test_data_access_set_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_and_job_handling_api.py b/src/visier_platform_sdk/test/test_data_and_job_handling_api.py index 5dfcbc7054..93dfe63f85 100644 --- a/src/visier_platform_sdk/test/test_data_and_job_handling_api.py +++ b/src/visier_platform_sdk/test/test_data_and_job_handling_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_categories_response_dto.py b/src/visier_platform_sdk/test/test_data_categories_response_dto.py index 87c510ca34..9cc7cdcc03 100644 --- a/src/visier_platform_sdk/test/test_data_categories_response_dto.py +++ b/src/visier_platform_sdk/test/test_data_categories_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_category_response_dto.py b/src/visier_platform_sdk/test/test_data_category_response_dto.py index fcd166505a..a9b79870c4 100644 --- a/src/visier_platform_sdk/test/test_data_category_response_dto.py +++ b/src/visier_platform_sdk/test/test_data_category_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_intake_api.py b/src/visier_platform_sdk/test/test_data_intake_api.py index 625c724236..36a3f49c0f 100644 --- a/src/visier_platform_sdk/test/test_data_intake_api.py +++ b/src/visier_platform_sdk/test/test_data_intake_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_load_request.py b/src/visier_platform_sdk/test/test_data_load_request.py index 82dab3826a..cc678176a5 100644 --- a/src/visier_platform_sdk/test/test_data_load_request.py +++ b/src/visier_platform_sdk/test/test_data_load_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_load_request_model.py b/src/visier_platform_sdk/test/test_data_load_request_model.py index 6be30c44a3..e72ff02642 100644 --- a/src/visier_platform_sdk/test/test_data_load_request_model.py +++ b/src/visier_platform_sdk/test/test_data_load_request_model.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_load_response.py b/src/visier_platform_sdk/test/test_data_load_response.py index 6b01a0745f..32da2e075c 100644 --- a/src/visier_platform_sdk/test/test_data_load_response.py +++ b/src/visier_platform_sdk/test/test_data_load_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py b/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py index 38c197989d..d80ed9c3a7 100644 --- a/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py +++ b/src/visier_platform_sdk/test/test_data_model_analytic_object_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_model_api.py b/src/visier_platform_sdk/test/test_data_model_api.py index 4b73b924ec..3083ec1d33 100644 --- a/src/visier_platform_sdk/test/test_data_model_api.py +++ b/src/visier_platform_sdk/test/test_data_model_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -62,6 +62,13 @@ def test_create_properties(self) -> None: """ pass + def test_create_vee_sample_question_categories(self) -> None: + """Test case for create_vee_sample_question_categories + + Create Vee question categories + """ + pass + def test_create_vee_sample_questions(self) -> None: """Test case for create_vee_sample_questions @@ -104,6 +111,13 @@ def test_delete_properties(self) -> None: """ pass + def test_delete_vee_sample_question_categories(self) -> None: + """Test case for delete_vee_sample_question_categories + + Delete Vee question categories + """ + pass + def test_delete_vee_sample_questions(self) -> None: """Test case for delete_vee_sample_questions @@ -279,6 +293,13 @@ def test_put_properties(self) -> None: """ pass + def test_put_vee_sample_question_categories(self) -> None: + """Test case for put_vee_sample_question_categories + + Update Vee question categories + """ + pass + def test_put_vee_sample_questions(self) -> None: """Test case for put_vee_sample_questions @@ -300,13 +321,6 @@ def test_selection_concepts(self) -> None: """ pass - def test_update_analytic_objects(self) -> None: - """Test case for update_analytic_objects - - Update analytic objects - """ - pass - def test_update_dimensions(self) -> None: """Test case for update_dimensions @@ -321,6 +335,13 @@ def test_update_properties(self) -> None: """ pass + def test_update_vee_sample_question_categories(self) -> None: + """Test case for update_vee_sample_question_categories + + Partially update Vee question categories + """ + pass + def test_update_vee_sample_questions(self) -> None: """Test case for update_vee_sample_questions diff --git a/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py b/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py index d1f6b11271..781eef2962 100644 --- a/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py +++ b/src/visier_platform_sdk/test/test_data_provider_auth_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py b/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py index 6dd564bcf5..6165ccf3a3 100644 --- a/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_data_provider_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py b/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py index 4a35e4e363..f2a1a45504 100644 --- a/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py +++ b/src/visier_platform_sdk/test/test_data_provider_basic_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py b/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py index 2e65bbd0e7..4f7751b4fc 100644 --- a/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py +++ b/src/visier_platform_sdk/test/test_data_provider_basic_metadata_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_query_api.py b/src/visier_platform_sdk/test/test_data_query_api.py index 7371887f27..87e22d3669 100644 --- a/src/visier_platform_sdk/test/test_data_query_api.py +++ b/src/visier_platform_sdk/test/test_data_query_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_security_profile_dto.py b/src/visier_platform_sdk/test/test_data_security_profile_dto.py index 4d366ea7b3..f51994877d 100644 --- a/src/visier_platform_sdk/test/test_data_security_profile_dto.py +++ b/src/visier_platform_sdk/test/test_data_security_profile_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_transfer_result_detail.py b/src/visier_platform_sdk/test/test_data_transfer_result_detail.py index 0d7da42dca..46807db58b 100644 --- a/src/visier_platform_sdk/test/test_data_transfer_result_detail.py +++ b/src/visier_platform_sdk/test/test_data_transfer_result_detail.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_upload_api.py b/src/visier_platform_sdk/test/test_data_upload_api.py index 0b4001a851..93aec7c95e 100644 --- a/src/visier_platform_sdk/test/test_data_upload_api.py +++ b/src/visier_platform_sdk/test/test_data_upload_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_and_date_dto.py b/src/visier_platform_sdk/test/test_data_version_and_date_dto.py index 685c36d68c..d87dbe595b 100644 --- a/src/visier_platform_sdk/test/test_data_version_and_date_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_and_date_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_api.py b/src/visier_platform_sdk/test/test_data_version_export_api.py index 35ddd4bf1d..744e73820c 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_api.py +++ b/src/visier_platform_sdk/test/test_data_version_export_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_column_dto.py b/src/visier_platform_sdk/test/test_data_version_export_column_dto.py index 3cc19f4a9a..b1fe410370 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_column_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_column_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py b/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py index c0a368b91b..517230ae8b 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_data_version_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py b/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py index e5b4c97de5..c2448aae5a 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_data_versions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_dto.py b/src/visier_platform_sdk/test/test_data_version_export_dto.py index 82a608978a..f42fddece3 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_file_dto.py b/src/visier_platform_sdk/test/test_data_version_export_file_dto.py index f003ef4092..6927880cf9 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_file_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_file_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py b/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py index f233a598bd..c78e3ef535 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_job_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py b/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py index 5b6a1a1341..44e867712f 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_part_file_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py index db643d7ad2..a32e72ea4e 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py index 58c6a593e2..30c60c1497 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_schedule_job_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_export_table_dto.py b/src/visier_platform_sdk/test/test_data_version_export_table_dto.py index 79ea516773..cfc4e4ca5f 100644 --- a/src/visier_platform_sdk/test/test_data_version_export_table_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_export_table_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_exports_dto.py b/src/visier_platform_sdk/test/test_data_version_exports_dto.py index 052159e345..e1b2220e7a 100644 --- a/src/visier_platform_sdk/test/test_data_version_exports_dto.py +++ b/src/visier_platform_sdk/test/test_data_version_exports_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_data_version_object.py b/src/visier_platform_sdk/test/test_data_version_object.py index 01a1bfe160..5d7a441923 100644 --- a/src/visier_platform_sdk/test/test_data_version_object.py +++ b/src/visier_platform_sdk/test/test_data_version_object.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py b/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py index f1b9231590..9a2a71a5da 100644 --- a/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_databricks_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_date_range_dto.py b/src/visier_platform_sdk/test/test_date_range_dto.py index 7dcac54e91..d9ba736900 100644 --- a/src/visier_platform_sdk/test/test_date_range_dto.py +++ b/src/visier_platform_sdk/test/test_date_range_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py index 2d9527d947..924aec7438 100644 --- a/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_dayforce_v2_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_delete_email_domains_dto.py b/src/visier_platform_sdk/test/test_delete_email_domains_dto.py new file mode 100644 index 0000000000..990aeeaa5a --- /dev/null +++ b/src/visier_platform_sdk/test/test_delete_email_domains_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.delete_email_domains_dto import DeleteEmailDomainsDTO + +class TestDeleteEmailDomainsDTO(unittest.TestCase): + """DeleteEmailDomainsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DeleteEmailDomainsDTO: + """Test DeleteEmailDomainsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DeleteEmailDomainsDTO( + domains = [ + '' + ], + confirm_not_allowed_domain = True + ) + else: + return DeleteEmailDomainsDTO( + ) + + def testDeleteEmailDomainsDTO(self): + """Test DeleteEmailDomainsDTO""" + def validate_instance(instance): + DeleteEmailDomainsDTO.model_validate(inst_req_only) + instance_deserialized = DeleteEmailDomainsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py b/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py index 1a1cf1c10b..5da0802680 100644 --- a/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py +++ b/src/visier_platform_sdk/test/test_delete_permissions_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py b/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py index d951ea85aa..2a7eab1a81 100644 --- a/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py +++ b/src/visier_platform_sdk/test/test_delete_user_group_v2_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dependent_dto.py b/src/visier_platform_sdk/test/test_dependent_dto.py index d06c4f52ef..46393e5f2b 100644 --- a/src/visier_platform_sdk/test/test_dependent_dto.py +++ b/src/visier_platform_sdk/test/test_dependent_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_derived_metric_details_dto.py b/src/visier_platform_sdk/test/test_derived_metric_details_dto.py new file mode 100644 index 0000000000..90e516ba62 --- /dev/null +++ b/src/visier_platform_sdk/test/test_derived_metric_details_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.derived_metric_details_dto import DerivedMetricDetailsDTO + +class TestDerivedMetricDetailsDTO(unittest.TestCase): + """DerivedMetricDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> DerivedMetricDetailsDTO: + """Test DerivedMetricDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return DerivedMetricDetailsDTO( + formula = '', + data_type = '', + base_metric_id = '', + derived_metric_type = 'Rate', + denominator_metric_name = '' + ) + else: + return DerivedMetricDetailsDTO( + ) + + def testDerivedMetricDetailsDTO(self): + """Test DerivedMetricDetailsDTO""" + def validate_instance(instance): + DerivedMetricDetailsDTO.model_validate(inst_req_only) + instance_deserialized = DerivedMetricDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_description_entry.py b/src/visier_platform_sdk/test/test_description_entry.py index 4212c05251..e04d87eae9 100644 --- a/src/visier_platform_sdk/test/test_description_entry.py +++ b/src/visier_platform_sdk/test/test_description_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py index 35a1fc5ef9..99a9476385 100644 --- a/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py +++ b/src/visier_platform_sdk/test/test_designer_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py b/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py index e144151d1b..faf0a95c6b 100644 --- a/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py +++ b/src/visier_platform_sdk/test/test_designer_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py b/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py index d003d08b60..8d3ebd9745 100644 --- a/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py index 383a46da47..89bd9cb65b 100644 --- a/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_change_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_delete_request_dto.py b/src/visier_platform_sdk/test/test_dimension_delete_request_dto.py index 17032c1e7b..4d2b1d8b56 100644 --- a/src/visier_platform_sdk/test/test_dimension_delete_request_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_delete_with_context_dto.py b/src/visier_platform_sdk/test/test_dimension_delete_with_context_dto.py index 77f2b9670e..ffb5ff8ea9 100644 --- a/src/visier_platform_sdk/test/test_dimension_delete_with_context_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_delete_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_details_dto.py b/src/visier_platform_sdk/test/test_dimension_details_dto.py index 9cada33b68..661d2bc47b 100644 --- a/src/visier_platform_sdk/test/test_dimension_details_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_dto.py b/src/visier_platform_sdk/test/test_dimension_dto.py index b28b70ab28..d59f4672d0 100644 --- a/src/visier_platform_sdk/test/test_dimension_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_dimension_filter_dto.py index 97ee10a730..0c03b6dc19 100644 --- a/src/visier_platform_sdk/test/test_dimension_filter_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py b/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py index 0d0b00b55c..e42f1de07b 100644 --- a/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_mapping_validation_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py b/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py index fb5d12dbcd..5b20feb71b 100644 --- a/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_mapping_validation_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_member.py b/src/visier_platform_sdk/test/test_dimension_member.py index 227d24fba1..12672a5482 100644 --- a/src/visier_platform_sdk/test/test_dimension_member.py +++ b/src/visier_platform_sdk/test/test_dimension_member.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_member_dto.py b/src/visier_platform_sdk/test/test_dimension_member_dto.py index 76bbbc23a6..a1afb9988d 100644 --- a/src/visier_platform_sdk/test/test_dimension_member_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py b/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py index 106cd6f9b9..1aa92414ae 100644 --- a/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_member_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_reference_dto.py b/src/visier_platform_sdk/test/test_dimension_reference_dto.py index d4cb8ed66f..25580aa381 100644 --- a/src/visier_platform_sdk/test/test_dimension_reference_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_request_dto.py b/src/visier_platform_sdk/test/test_dimension_request_dto.py index 8d0fe1c054..8d5d82227e 100644 --- a/src/visier_platform_sdk/test/test_dimension_request_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_response_dto.py b/src/visier_platform_sdk/test/test_dimension_response_dto.py index fd83a704d0..84672cfb6b 100644 --- a/src/visier_platform_sdk/test/test_dimension_response_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimension_with_context_dto.py b/src/visier_platform_sdk/test/test_dimension_with_context_dto.py index 5df0a59c69..3377479341 100644 --- a/src/visier_platform_sdk/test/test_dimension_with_context_dto.py +++ b/src/visier_platform_sdk/test/test_dimension_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -44,7 +44,7 @@ def make_instance(self, include_optional) -> DimensionWithContextDTO: basic_information = None, details = None, tag_list = None, - visible_in_app = True, + visible_in_analytics = True, include_with_vee = True, version_information = None, ) ) diff --git a/src/visier_platform_sdk/test/test_dimensions_api.py b/src/visier_platform_sdk/test/test_dimensions_api.py index 3b37b5be8f..99d5f705be 100644 --- a/src/visier_platform_sdk/test/test_dimensions_api.py +++ b/src/visier_platform_sdk/test/test_dimensions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -69,6 +69,13 @@ def test_get_locations(self) -> None: """ pass + def test_search_career_levels_in_bulk(self) -> None: + """Test case for search_career_levels_in_bulk + + Get career level members in bulk + """ + pass + def test_search_jobs(self) -> None: """Test case for search_jobs diff --git a/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py b/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py index 414f6b9e93..dfab2a3b71 100644 --- a/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_dimensions_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py b/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py index ed0089fd05..4e0102491d 100644 --- a/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py +++ b/src/visier_platform_sdk/test/test_dimensions_change_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimensions_dto.py b/src/visier_platform_sdk/test/test_dimensions_dto.py index 012b018a39..9fd7272cbc 100644 --- a/src/visier_platform_sdk/test/test_dimensions_dto.py +++ b/src/visier_platform_sdk/test/test_dimensions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dimensions_v2_api.py b/src/visier_platform_sdk/test/test_dimensions_v2_api.py index 2aa8c36662..4ce03401a9 100644 --- a/src/visier_platform_sdk/test/test_dimensions_v2_api.py +++ b/src/visier_platform_sdk/test/test_dimensions_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_intake_api.py b/src/visier_platform_sdk/test/test_direct_data_intake_api.py index cec1525fd4..41c6f1210f 100644 --- a/src/visier_platform_sdk/test/test_direct_data_intake_api.py +++ b/src/visier_platform_sdk/test/test_direct_data_intake_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py b/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py index c11a862026..8e22d9ccd1 100644 --- a/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_job_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py index c826dcc3a6..54c2a0a722 100644 --- a/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_job_status_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py index 6033d56b5f..35aa12f7c4 100644 --- a/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_list_transactions_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py b/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py index d226d0d0d4..34a053e982 100644 --- a/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_load_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_schema_dto.py b/src/visier_platform_sdk/test/test_direct_data_schema_dto.py index 3c811a2ce8..905dcf1729 100644 --- a/src/visier_platform_sdk/test/test_direct_data_schema_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py b/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py index 0d9132c20c..f648881986 100644 --- a/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_schema_field_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py b/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py index 8c602c0f19..cbc9c911d2 100644 --- a/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_transaction_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py index 84759d5d75..8f698b7b33 100644 --- a/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_transaction_start_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py b/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py index 0d386a855a..4dc4241c41 100644 --- a/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py +++ b/src/visier_platform_sdk/test/test_direct_data_upload_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_disable_dv_model.py b/src/visier_platform_sdk/test/test_disable_dv_model.py index 8b44d130c4..25dd16bdf1 100644 --- a/src/visier_platform_sdk/test/test_disable_dv_model.py +++ b/src/visier_platform_sdk/test/test_disable_dv_model.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_disable_dv_request.py b/src/visier_platform_sdk/test/test_disable_dv_request.py index f28ca376bb..cad495484f 100644 --- a/src/visier_platform_sdk/test/test_disable_dv_request.py +++ b/src/visier_platform_sdk/test/test_disable_dv_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_disable_dv_response.py b/src/visier_platform_sdk/test/test_disable_dv_response.py index 3d75c0a568..6ece690305 100644 --- a/src/visier_platform_sdk/test/test_disable_dv_response.py +++ b/src/visier_platform_sdk/test/test_disable_dv_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dispatching_job_status_response.py b/src/visier_platform_sdk/test/test_dispatching_job_status_response.py index a9ccedb1d9..85891d5363 100644 --- a/src/visier_platform_sdk/test/test_dispatching_job_status_response.py +++ b/src/visier_platform_sdk/test/test_dispatching_job_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_document_search_link_dto.py b/src/visier_platform_sdk/test/test_document_search_link_dto.py index 7bd05fccb1..1b0ca65f8d 100644 --- a/src/visier_platform_sdk/test/test_document_search_link_dto.py +++ b/src/visier_platform_sdk/test/test_document_search_link_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_download_source_files_dto.py b/src/visier_platform_sdk/test/test_download_source_files_dto.py index 5dc6bbd51e..d5351dc465 100644 --- a/src/visier_platform_sdk/test/test_download_source_files_dto.py +++ b/src/visier_platform_sdk/test/test_download_source_files_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_download_source_files_response_dto.py b/src/visier_platform_sdk/test/test_download_source_files_response_dto.py index fa0c2c9b29..aba24bceeb 100644 --- a/src/visier_platform_sdk/test/test_download_source_files_response_dto.py +++ b/src/visier_platform_sdk/test/test_download_source_files_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dv_export_status.py b/src/visier_platform_sdk/test/test_dv_export_status.py index 17f7cae3e8..69df1eaaf0 100644 --- a/src/visier_platform_sdk/test/test_dv_export_status.py +++ b/src/visier_platform_sdk/test/test_dv_export_status.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py index 01a618262f..884af11e72 100644 --- a/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py +++ b/src/visier_platform_sdk/test/test_dynamic_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py b/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py index 6b5f4b2011..11b28e029c 100644 --- a/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py +++ b/src/visier_platform_sdk/test/test_dynamic_property_mapping_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_element_ids_dto.py b/src/visier_platform_sdk/test/test_element_ids_dto.py index 3ff3e0054e..c849687640 100644 --- a/src/visier_platform_sdk/test/test_element_ids_dto.py +++ b/src/visier_platform_sdk/test/test_element_ids_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_email_domains_api.py b/src/visier_platform_sdk/test/test_email_domains_api.py index 0d68803432..47a45425ec 100644 --- a/src/visier_platform_sdk/test/test_email_domains_api.py +++ b/src/visier_platform_sdk/test/test_email_domains_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_email_domains_dto.py b/src/visier_platform_sdk/test/test_email_domains_dto.py index a606833c23..0d71eddc13 100644 --- a/src/visier_platform_sdk/test/test_email_domains_dto.py +++ b/src/visier_platform_sdk/test/test_email_domains_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -37,8 +37,7 @@ def make_instance(self, include_optional) -> EmailDomainsDTO: return EmailDomainsDTO( domains = [ '' - ], - confirm_not_allowed_domain = True + ] ) else: return EmailDomainsDTO( diff --git a/src/visier_platform_sdk/test/test_encryption_keys_api.py b/src/visier_platform_sdk/test/test_encryption_keys_api.py index c3906d624b..2cb50130f7 100644 --- a/src/visier_platform_sdk/test/test_encryption_keys_api.py +++ b/src/visier_platform_sdk/test/test_encryption_keys_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_end_collaboration_action_payload.py b/src/visier_platform_sdk/test/test_end_collaboration_action_payload.py new file mode 100644 index 0000000000..350099be65 --- /dev/null +++ b/src/visier_platform_sdk/test/test_end_collaboration_action_payload.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.end_collaboration_action_payload import EndCollaborationActionPayload + +class TestEndCollaborationActionPayload(unittest.TestCase): + """EndCollaborationActionPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EndCollaborationActionPayload: + """Test EndCollaborationActionPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EndCollaborationActionPayload( + action_when_unconsolidated_plans_exists = 'Ignore' + ) + else: + return EndCollaborationActionPayload( + ) + + def testEndCollaborationActionPayload(self): + """Test EndCollaborationActionPayload""" + def validate_instance(instance): + EndCollaborationActionPayload.model_validate(inst_req_only) + instance_deserialized = EndCollaborationActionPayload.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_error_dto.py b/src/visier_platform_sdk/test/test_error_dto.py index 2a05647638..3d1c56bae5 100644 --- a/src/visier_platform_sdk/test/test_error_dto.py +++ b/src/visier_platform_sdk/test/test_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_error_summary.py b/src/visier_platform_sdk/test/test_error_summary.py index f633fe4224..3f7079c3cb 100644 --- a/src/visier_platform_sdk/test/test_error_summary.py +++ b/src/visier_platform_sdk/test/test_error_summary.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_event_alert_delete_success_dto.py b/src/visier_platform_sdk/test/test_event_alert_delete_success_dto.py new file mode 100644 index 0000000000..2c604822b7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_event_alert_delete_success_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.event_alert_delete_success_dto import EventAlertDeleteSuccessDTO + +class TestEventAlertDeleteSuccessDTO(unittest.TestCase): + """EventAlertDeleteSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EventAlertDeleteSuccessDTO: + """Test EventAlertDeleteSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EventAlertDeleteSuccessDTO( + alert_id = '' + ) + else: + return EventAlertDeleteSuccessDTO( + ) + + def testEventAlertDeleteSuccessDTO(self): + """Test EventAlertDeleteSuccessDTO""" + def validate_instance(instance): + EventAlertDeleteSuccessDTO.model_validate(inst_req_only) + instance_deserialized = EventAlertDeleteSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_event_alert_dto.py b/src/visier_platform_sdk/test/test_event_alert_dto.py new file mode 100644 index 0000000000..19b696cd03 --- /dev/null +++ b/src/visier_platform_sdk/test/test_event_alert_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.event_alert_dto import EventAlertDTO + +class TestEventAlertDTO(unittest.TestCase): + """EventAlertDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EventAlertDTO: + """Test EventAlertDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EventAlertDTO( + alert_id = '', + trigger_criteria = visier_platform_sdk.models.event_alert_trigger_criteria_dto.EventAlertTriggerCriteriaDTO( + grouped_metric_value_threshold = None, ), + display_name = '', + is_enabled_for_user = True + ) + else: + return EventAlertDTO( + ) + + def testEventAlertDTO(self): + """Test EventAlertDTO""" + def validate_instance(instance): + EventAlertDTO.model_validate(inst_req_only) + instance_deserialized = EventAlertDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_event_alert_notification_result_alert_details_dto.py b/src/visier_platform_sdk/test/test_event_alert_notification_result_alert_details_dto.py new file mode 100644 index 0000000000..f1e47ecaa4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_event_alert_notification_result_alert_details_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.event_alert_notification_result_alert_details_dto import EventAlertNotificationResultAlertDetailsDTO + +class TestEventAlertNotificationResultAlertDetailsDTO(unittest.TestCase): + """EventAlertNotificationResultAlertDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EventAlertNotificationResultAlertDetailsDTO: + """Test EventAlertNotificationResultAlertDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EventAlertNotificationResultAlertDetailsDTO( + trigger_type = 'UNSPECIFIED', + trigger_criteria = visier_platform_sdk.models.event_alert_trigger_criteria_dto.EventAlertTriggerCriteriaDTO( + grouped_metric_value_threshold = None, ) + ) + else: + return EventAlertNotificationResultAlertDetailsDTO( + ) + + def testEventAlertNotificationResultAlertDetailsDTO(self): + """Test EventAlertNotificationResultAlertDetailsDTO""" + def validate_instance(instance): + EventAlertNotificationResultAlertDetailsDTO.model_validate(inst_req_only) + instance_deserialized = EventAlertNotificationResultAlertDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_event_alert_notification_result_dto.py b/src/visier_platform_sdk/test/test_event_alert_notification_result_dto.py new file mode 100644 index 0000000000..e1738661c4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_event_alert_notification_result_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.event_alert_notification_result_dto import EventAlertNotificationResultDTO + +class TestEventAlertNotificationResultDTO(unittest.TestCase): + """EventAlertNotificationResultDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EventAlertNotificationResultDTO: + """Test EventAlertNotificationResultDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EventAlertNotificationResultDTO( + alert_notification_id = '', + alert_id = '', + created_date = '', + alert_details = visier_platform_sdk.models.event_alert_notification_result_alert_details_dto.EventAlertNotificationResultAlertDetailsDTO( + trigger_type = 'UNSPECIFIED', + trigger_criteria = None, ), + result_info = [ + visier_platform_sdk.models.trigger_criteria_result_info_dto.TriggerCriteriaResultInfoDTO( + overall_result = None, + member_result = None, ) + ], + result_type = 'NOMINAL' + ) + else: + return EventAlertNotificationResultDTO( + ) + + def testEventAlertNotificationResultDTO(self): + """Test EventAlertNotificationResultDTO""" + def validate_instance(instance): + EventAlertNotificationResultDTO.model_validate(inst_req_only) + instance_deserialized = EventAlertNotificationResultDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_event_alert_notification_results_dto.py b/src/visier_platform_sdk/test/test_event_alert_notification_results_dto.py new file mode 100644 index 0000000000..dc4d05e98f --- /dev/null +++ b/src/visier_platform_sdk/test/test_event_alert_notification_results_dto.py @@ -0,0 +1,70 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.event_alert_notification_results_dto import EventAlertNotificationResultsDTO + +class TestEventAlertNotificationResultsDTO(unittest.TestCase): + """EventAlertNotificationResultsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EventAlertNotificationResultsDTO: + """Test EventAlertNotificationResultsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EventAlertNotificationResultsDTO( + notifications = [ + visier_platform_sdk.models.event_alert_notification_result_dto.EventAlertNotificationResultDTO( + alert_notification_id = '', + alert_id = '', + created_date = '', + alert_details = None, + result_info = [ + visier_platform_sdk.models.trigger_criteria_result_info_dto.TriggerCriteriaResultInfoDTO( + overall_result = None, + member_result = None, ) + ], + result_type = 'NOMINAL', ) + ] + ) + else: + return EventAlertNotificationResultsDTO( + ) + + def testEventAlertNotificationResultsDTO(self): + """Test EventAlertNotificationResultsDTO""" + def validate_instance(instance): + EventAlertNotificationResultsDTO.model_validate(inst_req_only) + instance_deserialized = EventAlertNotificationResultsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_event_alert_trigger_criteria_dto.py b/src/visier_platform_sdk/test/test_event_alert_trigger_criteria_dto.py new file mode 100644 index 0000000000..f033fbae7a --- /dev/null +++ b/src/visier_platform_sdk/test/test_event_alert_trigger_criteria_dto.py @@ -0,0 +1,72 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.event_alert_trigger_criteria_dto import EventAlertTriggerCriteriaDTO + +class TestEventAlertTriggerCriteriaDTO(unittest.TestCase): + """EventAlertTriggerCriteriaDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EventAlertTriggerCriteriaDTO: + """Test EventAlertTriggerCriteriaDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return EventAlertTriggerCriteriaDTO( + grouped_metric_value_threshold = visier_platform_sdk.models.grouped_metric_value_threshold_criteria_dto.GroupedMetricValueThresholdCriteriaDTO( + metric = None, + filters = [ + visier_platform_sdk.models.filter_dto.FilterDTO( + selection_concept = None, + member_set = None, + concept_reference = None, + key_group = None, + persisted_cohort = None, + time_period = None, + numeric_range = None, ) + ], + dimension = None, + relative_time_period = None, + rule_set = None, ) + ) + else: + return EventAlertTriggerCriteriaDTO( + ) + + def testEventAlertTriggerCriteriaDTO(self): + """Test EventAlertTriggerCriteriaDTO""" + def validate_instance(instance): + EventAlertTriggerCriteriaDTO.model_validate(inst_req_only) + instance_deserialized = EventAlertTriggerCriteriaDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_event_details_dto.py b/src/visier_platform_sdk/test/test_event_details_dto.py index 6d16c1acc3..9e8c38189e 100644 --- a/src/visier_platform_sdk/test/test_event_details_dto.py +++ b/src/visier_platform_sdk/test/test_event_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -55,12 +55,15 @@ def make_instance(self, include_optional) -> EventDetailsDTO: enable_end_data = True, include_with_vee = True, property_list = visier_platform_sdk.models.property_definition_list_dto.PropertyDefinitionListDTO( - property_list = [ + properties = [ visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( uuid = '', object_name = '', basic_information = None, - details = None, ) + details = None, + tag_list = None, + include_with_vee = True, + version_information = None, ) ], ), dimension_list = visier_platform_sdk.models.local_or_shared_dimension_list_dto.LocalOrSharedDimensionListDTO( dimensions = [ @@ -68,11 +71,6 @@ def make_instance(self, include_optional) -> EventDetailsDTO: local = None, shared = None, ) ], ), - concept_list = visier_platform_sdk.models.concept_reference_list_dto.ConceptReferenceListDTO( - concepts = [ - visier_platform_sdk.models.concept_reference_dto.ConceptReferenceDTO( - object_name = '', ) - ], ), subject_reference_list = visier_platform_sdk.models.subject_reference_list_dto.SubjectReferenceListDTO( subject_references = [ visier_platform_sdk.models.subject_reference_dto.SubjectReferenceDTO( @@ -82,7 +80,8 @@ def make_instance(self, include_optional) -> EventDetailsDTO: tag_list = None, direction = 'forward', subject = '', - binding = True, ) + binding = True, + visible_in_analytics = True, ) ], ) ) else: diff --git a/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py b/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py index 52daa402a2..c8b1d96789 100644 --- a/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py +++ b/src/visier_platform_sdk/test/test_exclude_data_uploads_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_excluded_sources_body.py b/src/visier_platform_sdk/test/test_excluded_sources_body.py index f2137bd855..14ddba12c8 100644 --- a/src/visier_platform_sdk/test/test_excluded_sources_body.py +++ b/src/visier_platform_sdk/test/test_excluded_sources_body.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_execution_context_dto.py b/src/visier_platform_sdk/test/test_execution_context_dto.py index d2d8f6b8e9..55ff11ce76 100644 --- a/src/visier_platform_sdk/test/test_execution_context_dto.py +++ b/src/visier_platform_sdk/test/test_execution_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py b/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py index b5125899a2..a5761305dc 100644 --- a/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py +++ b/src/visier_platform_sdk/test/test_export_production_versions_api_operation_parameters_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py b/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py index bdd54c8989..e562b046f3 100644 --- a/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py +++ b/src/visier_platform_sdk/test/test_extract_data_and_load_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extracted_skill.py b/src/visier_platform_sdk/test/test_extracted_skill.py index 0f3d13244c..2a6236d5ca 100644 --- a/src/visier_platform_sdk/test/test_extracted_skill.py +++ b/src/visier_platform_sdk/test/test_extracted_skill.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extraction_job.py b/src/visier_platform_sdk/test/test_extraction_job.py index 0548081694..b02ce26f51 100644 --- a/src/visier_platform_sdk/test/test_extraction_job.py +++ b/src/visier_platform_sdk/test/test_extraction_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py b/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py index 93ecf7a325..b740413c0a 100644 --- a/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py +++ b/src/visier_platform_sdk/test/test_extraction_job_and_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extractor_credential_apidto.py b/src/visier_platform_sdk/test/test_extractor_credential_apidto.py index 947e61e428..97c5197158 100644 --- a/src/visier_platform_sdk/test/test_extractor_credential_apidto.py +++ b/src/visier_platform_sdk/test/test_extractor_credential_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py b/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py index 16cde9dc23..e641a5a373 100644 --- a/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py +++ b/src/visier_platform_sdk/test/test_extractor_credentials_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extractor_setting_apidto.py b/src/visier_platform_sdk/test/test_extractor_setting_apidto.py index 530c335edc..344fabef87 100644 --- a/src/visier_platform_sdk/test/test_extractor_setting_apidto.py +++ b/src/visier_platform_sdk/test/test_extractor_setting_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py b/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py index e811390d1c..e4ba75714a 100644 --- a/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py +++ b/src/visier_platform_sdk/test/test_extractor_setting_key_value_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_extractor_settings_apidto.py b/src/visier_platform_sdk/test/test_extractor_settings_apidto.py index 0fb4fe904d..4e523b055e 100644 --- a/src/visier_platform_sdk/test/test_extractor_settings_apidto.py +++ b/src/visier_platform_sdk/test/test_extractor_settings_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py index 17d317e96f..2b9f73333c 100644 --- a/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/test/test_failed_accessible_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_failed_change_dto.py b/src/visier_platform_sdk/test/test_failed_change_dto.py index 81bdcfa7a7..0033619136 100644 --- a/src/visier_platform_sdk/test/test_failed_change_dto.py +++ b/src/visier_platform_sdk/test/test_failed_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py index dfee6fac30..4591469d66 100644 --- a/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py index c5e2439a8d..d90b3f1bf2 100644 --- a/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py +++ b/src/visier_platform_sdk/test/test_failed_local_tenant_profile_revoke_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_filter_dto.py b/src/visier_platform_sdk/test/test_filter_dto.py new file mode 100644 index 0000000000..729c43f234 --- /dev/null +++ b/src/visier_platform_sdk/test/test_filter_dto.py @@ -0,0 +1,79 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.filter_dto import FilterDTO + +class TestFilterDTO(unittest.TestCase): + """FilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FilterDTO: + """Test FilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FilterDTO( + selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( + id = '', + qualifying_path = '', ), + member_set = visier_platform_sdk.models.member_filter_dto.MemberFilterDTO( + dimension = None, + values = None, ), + concept_reference = visier_platform_sdk.models.concept_reference_filter_dto.ConceptReferenceFilterDTO( + id = '', + qualifying_path = '', ), + key_group = visier_platform_sdk.models.key_group_filter_dto.KeyGroupFilterDTO( + id = '', + qualifying_path = '', ), + persisted_cohort = visier_platform_sdk.models.persisted_cohort_filter_dto.PersistedCohortFilterDTO( + id = '', + qualifying_path = '', ), + time_period = visier_platform_sdk.models.time_period_filter_dto.TimePeriodFilterDTO( + dimension = None, + time_period = None, ), + numeric_range = visier_platform_sdk.models.numeric_range_filter_dto.NumericRangeFilterDTO( + dimension = None, + numeric_range = None, + is_excluded = True, ) + ) + else: + return FilterDTO( + ) + + def testFilterDTO(self): + """Test FilterDTO""" + def validate_instance(instance): + FilterDTO.model_validate(inst_req_only) + instance_deserialized = FilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_fixed_time_type_dto.py b/src/visier_platform_sdk/test/test_fixed_time_type_dto.py new file mode 100644 index 0000000000..ea2d4cf227 --- /dev/null +++ b/src/visier_platform_sdk/test/test_fixed_time_type_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.fixed_time_type_dto import FixedTimeTypeDTO + +class TestFixedTimeTypeDTO(unittest.TestCase): + """FixedTimeTypeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> FixedTimeTypeDTO: + """Test FixedTimeTypeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return FixedTimeTypeDTO( + period_type = 'MONTH', + end = '', + period_count = 56 + ) + else: + return FixedTimeTypeDTO( + ) + + def testFixedTimeTypeDTO(self): + """Test FixedTimeTypeDTO""" + def validate_instance(instance): + FixedTimeTypeDTO.model_validate(inst_req_only) + instance_deserialized = FixedTimeTypeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py b/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py index 4a3615828d..de12bae5e4 100644 --- a/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_fusion_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py b/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py index 0c1a7d5ef1..7ce9c86264 100644 --- a/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py +++ b/src/visier_platform_sdk/test/test_generate_impersonation_token_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_generate_key_request_dto.py b/src/visier_platform_sdk/test/test_generate_key_request_dto.py index fa15bfae7b..49e2804258 100644 --- a/src/visier_platform_sdk/test/test_generate_key_request_dto.py +++ b/src/visier_platform_sdk/test/test_generate_key_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py b/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py index d32f797b2e..fee7ca34f6 100644 --- a/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_capabilities_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py b/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py index 4a7a3f1691..16faff2f93 100644 --- a/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_content_packages_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py b/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py index 864b9aead3..78c81fac5a 100644 --- a/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_data_access_sets_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py b/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py index 4a97e3890f..0ff19dac4f 100644 --- a/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_data_security_objects_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_event_alerts_response_dto.py b/src/visier_platform_sdk/test/test_get_event_alerts_response_dto.py new file mode 100644 index 0000000000..6e72aecff1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_get_event_alerts_response_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.get_event_alerts_response_dto import GetEventAlertsResponseDTO + +class TestGetEventAlertsResponseDTO(unittest.TestCase): + """GetEventAlertsResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GetEventAlertsResponseDTO: + """Test GetEventAlertsResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GetEventAlertsResponseDTO( + owned_alerts = [ + visier_platform_sdk.models.event_alert_dto.EventAlertDTO( + alert_id = '', + trigger_criteria = None, + display_name = '', + is_enabled_for_user = True, ) + ], + shared_alerts = [ + visier_platform_sdk.models.event_alert_dto.EventAlertDTO( + alert_id = '', + trigger_criteria = None, + display_name = '', + is_enabled_for_user = True, ) + ] + ) + else: + return GetEventAlertsResponseDTO( + ) + + def testGetEventAlertsResponseDTO(self): + """Test GetEventAlertsResponseDTO""" + def validate_instance(instance): + GetEventAlertsResponseDTO.model_validate(inst_req_only) + instance_deserialized = GetEventAlertsResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py b/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py index 3c287da25a..0c527a8e78 100644 --- a/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_permissions_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py b/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py index af7399bb80..02ce4fcaee 100644 --- a/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_plan_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -46,6 +46,14 @@ def make_instance(self, include_optional) -> GetPlanListResponseDTO: display_name = '', versioned_scenario_id = '', ) ], + collaborations = [ + visier_platform_sdk.models.collaboration_info.CollaborationInfo( + scenario_id = '', + start_date = '', + due_date = '', + updated_date = '', + status = 'Closed', ) + ], parent_plan_uuid = '', currency_code = '', ) ], diff --git a/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py b/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py index c0127e9345..e85e1fe443 100644 --- a/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_production_versions_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py b/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py index d72b8eec77..fc88ab4da2 100644 --- a/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_get_projects_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_gong_auth_params_dto.py b/src/visier_platform_sdk/test/test_gong_auth_params_dto.py index 72e6dc93e7..d9cacf4fae 100644 --- a/src/visier_platform_sdk/test/test_gong_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_gong_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py b/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py index 0eec79565d..17d894b0eb 100644 --- a/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_google_sheets_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py b/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py index 150f7bbb0d..602afaa9e4 100644 --- a/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_google_workspace_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py b/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py index f2ece0b8f3..678d35fd0d 100644 --- a/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_greenhouse_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_grouped_metric_value_threshold_criteria_dto.py b/src/visier_platform_sdk/test/test_grouped_metric_value_threshold_criteria_dto.py new file mode 100644 index 0000000000..7faa668475 --- /dev/null +++ b/src/visier_platform_sdk/test/test_grouped_metric_value_threshold_criteria_dto.py @@ -0,0 +1,91 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.grouped_metric_value_threshold_criteria_dto import GroupedMetricValueThresholdCriteriaDTO + +class TestGroupedMetricValueThresholdCriteriaDTO(unittest.TestCase): + """GroupedMetricValueThresholdCriteriaDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> GroupedMetricValueThresholdCriteriaDTO: + """Test GroupedMetricValueThresholdCriteriaDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return GroupedMetricValueThresholdCriteriaDTO( + metric = visier_platform_sdk.models.metric_dto.MetricDTO( + id = '', + parameter_values = [ + visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( + metric_filter_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) + ], + time_handling = None, ), + filters = [ + visier_platform_sdk.models.filter_dto.FilterDTO( + selection_concept = None, + member_set = None, + concept_reference = None, + key_group = None, + persisted_cohort = None, + time_period = None, + numeric_range = None, ) + ], + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + object_name = '', ), + relative_time_period = visier_platform_sdk.models.relative_time_period_dto.RelativeTimePeriodDTO( + allow_partial_period = True, + period_type = 'MONTH', + period_count = 56, + direction = 'BACKWARD', ), + rule_set = visier_platform_sdk.models.rule_set_dto.RuleSetDTO( + compare_to = None, + rules = [ + visier_platform_sdk.models.rule_dto.RuleDTO( + relative_to_value_rule = None, + between_values_rule = None, ) + ], ) + ) + else: + return GroupedMetricValueThresholdCriteriaDTO( + ) + + def testGroupedMetricValueThresholdCriteriaDTO(self): + """Test GroupedMetricValueThresholdCriteriaDTO""" + def validate_instance(instance): + GroupedMetricValueThresholdCriteriaDTO.model_validate(inst_req_only) + instance_deserialized = GroupedMetricValueThresholdCriteriaDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_hierarchy.py b/src/visier_platform_sdk/test/test_hierarchy.py index d0d497049c..3a163ae4d4 100644 --- a/src/visier_platform_sdk/test/test_hierarchy.py +++ b/src/visier_platform_sdk/test/test_hierarchy.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_hierarchy_property_dto.py b/src/visier_platform_sdk/test/test_hierarchy_property_dto.py index 227d757125..8a310a4a32 100644 --- a/src/visier_platform_sdk/test/test_hierarchy_property_dto.py +++ b/src/visier_platform_sdk/test/test_hierarchy_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py b/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py index e665bc82a2..6f4edd5262 100644 --- a/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py +++ b/src/visier_platform_sdk/test/test_home_analysis_by_user_group_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_icims_auth_params_dto.py b/src/visier_platform_sdk/test/test_icims_auth_params_dto.py index e0eb727604..f1c3712b6e 100644 --- a/src/visier_platform_sdk/test/test_icims_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_icims_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_import_definition_apidto.py b/src/visier_platform_sdk/test/test_import_definition_apidto.py index 0e16fe16cb..3536a6393c 100644 --- a/src/visier_platform_sdk/test/test_import_definition_apidto.py +++ b/src/visier_platform_sdk/test/test_import_definition_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_import_definitions_apidto.py b/src/visier_platform_sdk/test/test_import_definitions_apidto.py index a8236be99e..121e30e9ef 100644 --- a/src/visier_platform_sdk/test/test_import_definitions_apidto.py +++ b/src/visier_platform_sdk/test/test_import_definitions_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_include_data_uploads_request.py b/src/visier_platform_sdk/test/test_include_data_uploads_request.py index dd3dd2dead..355c8a69b9 100644 --- a/src/visier_platform_sdk/test/test_include_data_uploads_request.py +++ b/src/visier_platform_sdk/test/test_include_data_uploads_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_inherited_access_config_dto.py b/src/visier_platform_sdk/test/test_inherited_access_config_dto.py index c91d67eb64..f14f0b6a76 100644 --- a/src/visier_platform_sdk/test/test_inherited_access_config_dto.py +++ b/src/visier_platform_sdk/test/test_inherited_access_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py b/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py index 785f284872..a5697b1b02 100644 --- a/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py +++ b/src/visier_platform_sdk/test/test_inherited_reference_member_filter_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py index b5d3cc57fd..681f20fd6a 100644 --- a/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py +++ b/src/visier_platform_sdk/test/test_internal_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py b/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py index 1e65aaf3a8..0a291813c2 100644 --- a/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_internal_s3_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py b/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py index 193d6d8186..22f34e81ad 100644 --- a/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_jdbc_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_jira_auth_params_dto.py b/src/visier_platform_sdk/test/test_jira_auth_params_dto.py index 02d1922f55..331767f041 100644 --- a/src/visier_platform_sdk/test/test_jira_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_jira_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_jira_connect_params_dto.py b/src/visier_platform_sdk/test/test_jira_connect_params_dto.py index 9d7d9d56c1..c8f0a9b82a 100644 --- a/src/visier_platform_sdk/test/test_jira_connect_params_dto.py +++ b/src/visier_platform_sdk/test/test_jira_connect_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job.py b/src/visier_platform_sdk/test/test_job.py index 86b7ae5010..6752055960 100644 --- a/src/visier_platform_sdk/test/test_job.py +++ b/src/visier_platform_sdk/test/test_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py b/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py index 8413651aa7..0f563a3bf8 100644 --- a/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py +++ b/src/visier_platform_sdk/test/test_job_cancellation_result_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py b/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py index a5be8ce7c9..d40137ef4e 100644 --- a/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py +++ b/src/visier_platform_sdk/test/test_job_cancellation_results_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_entry.py b/src/visier_platform_sdk/test/test_job_entry.py index 64d535537d..2527226b58 100644 --- a/src/visier_platform_sdk/test/test_job_entry.py +++ b/src/visier_platform_sdk/test/test_job_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_feedback_input.py b/src/visier_platform_sdk/test/test_job_feedback_input.py index b72c8787f6..98ec09b767 100644 --- a/src/visier_platform_sdk/test/test_job_feedback_input.py +++ b/src/visier_platform_sdk/test/test_job_feedback_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_id_response.py b/src/visier_platform_sdk/test/test_job_id_response.py index 1916b57375..f42f49454e 100644 --- a/src/visier_platform_sdk/test/test_job_id_response.py +++ b/src/visier_platform_sdk/test/test_job_id_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_search_failure_output.py b/src/visier_platform_sdk/test/test_job_search_failure_output.py index b04df6467e..ae67108cd2 100644 --- a/src/visier_platform_sdk/test/test_job_search_failure_output.py +++ b/src/visier_platform_sdk/test/test_job_search_failure_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_search_input.py b/src/visier_platform_sdk/test/test_job_search_input.py index 154354b17b..2b10c7cf29 100644 --- a/src/visier_platform_sdk/test/test_job_search_input.py +++ b/src/visier_platform_sdk/test/test_job_search_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_search_output.py b/src/visier_platform_sdk/test/test_job_search_output.py index ae89acbf3a..d57919df93 100644 --- a/src/visier_platform_sdk/test/test_job_search_output.py +++ b/src/visier_platform_sdk/test/test_job_search_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_standardization_input.py b/src/visier_platform_sdk/test/test_job_standardization_input.py index 8f369843bc..35bc87ca56 100644 --- a/src/visier_platform_sdk/test/test_job_standardization_input.py +++ b/src/visier_platform_sdk/test/test_job_standardization_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,7 +42,8 @@ def make_instance(self, include_optional) -> JobStandardizationInput: num_matches = 56, semantic_only = True, lexical_only = True, - typical_titles_search = True + typical_titles_search = True, + include_archived = True ) else: return JobStandardizationInput( diff --git a/src/visier_platform_sdk/test/test_job_standardization_input_skills.py b/src/visier_platform_sdk/test/test_job_standardization_input_skills.py index c97d9bd99a..1a7597e0e6 100644 --- a/src/visier_platform_sdk/test/test_job_standardization_input_skills.py +++ b/src/visier_platform_sdk/test/test_job_standardization_input_skills.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_status_list_response.py b/src/visier_platform_sdk/test/test_job_status_list_response.py index c31090a50f..a56deebf66 100644 --- a/src/visier_platform_sdk/test/test_job_status_list_response.py +++ b/src/visier_platform_sdk/test/test_job_status_list_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_job_status_with_start_time.py b/src/visier_platform_sdk/test/test_job_status_with_start_time.py index 80ddfd281a..30e5ab8892 100644 --- a/src/visier_platform_sdk/test/test_job_status_with_start_time.py +++ b/src/visier_platform_sdk/test/test_job_status_with_start_time.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_jobs_library_api.py b/src/visier_platform_sdk/test/test_jobs_library_api.py index cb4cc3deb7..9af63391e2 100644 --- a/src/visier_platform_sdk/test/test_jobs_library_api.py +++ b/src/visier_platform_sdk/test/test_jobs_library_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_key_group_filter_dto.py b/src/visier_platform_sdk/test/test_key_group_filter_dto.py index 007149fbab..0892df40c8 100644 --- a/src/visier_platform_sdk/test/test_key_group_filter_dto.py +++ b/src/visier_platform_sdk/test/test_key_group_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,12 +35,8 @@ def make_instance(self, include_optional) -> KeyGroupFilterDTO: if include_optional: return KeyGroupFilterDTO( - filters = [ - visier_platform_sdk.models.key_group_filter_item_dto.KeyGroupFilterItemDTO( - formula = '', - selection_concept = None, - member_set = None, ) - ] + id = '', + qualifying_path = '' ) else: return KeyGroupFilterDTO( diff --git a/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py b/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py index a86a6c2295..210613369c 100644 --- a/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py +++ b/src/visier_platform_sdk/test/test_key_group_filter_item_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> KeyGroupFilterItemDTO: return KeyGroupFilterItemDTO( formula = '', selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( - name = '', + id = '', qualifying_path = '', ), member_set = visier_platform_sdk.models.member_filter_dto.MemberFilterDTO( dimension = None, diff --git a/src/visier_platform_sdk/test/test_key_name.py b/src/visier_platform_sdk/test/test_key_name.py index 25e0b332b4..205e0be71b 100644 --- a/src/visier_platform_sdk/test/test_key_name.py +++ b/src/visier_platform_sdk/test/test_key_name.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py b/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py index 627c0a9953..85614e7028 100644 --- a/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py +++ b/src/visier_platform_sdk/test/test_key_pair_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py b/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py index fc5fbf0511..790f892357 100644 --- a/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py +++ b/src/visier_platform_sdk/test/test_key_pair_generate_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_last_login_dto.py b/src/visier_platform_sdk/test/test_last_login_dto.py index 9d44d3741a..928450da3a 100644 --- a/src/visier_platform_sdk/test/test_last_login_dto.py +++ b/src/visier_platform_sdk/test/test_last_login_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_level_dto.py b/src/visier_platform_sdk/test/test_level_dto.py index 440fde28e9..66d307659e 100644 --- a/src/visier_platform_sdk/test/test_level_dto.py +++ b/src/visier_platform_sdk/test/test_level_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_level_list_dto.py b/src/visier_platform_sdk/test/test_level_list_dto.py index f27903fd40..31f0057ce7 100644 --- a/src/visier_platform_sdk/test/test_level_list_dto.py +++ b/src/visier_platform_sdk/test/test_level_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_leveled_details_dto.py b/src/visier_platform_sdk/test/test_leveled_details_dto.py index 997ca78262..d5ec57702c 100644 --- a/src/visier_platform_sdk/test/test_leveled_details_dto.py +++ b/src/visier_platform_sdk/test/test_leveled_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_lever_auth_params_dto.py b/src/visier_platform_sdk/test/test_lever_auth_params_dto.py index f9629c07b3..97fa785030 100644 --- a/src/visier_platform_sdk/test/test_lever_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_lever_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_lineage_dto.py b/src/visier_platform_sdk/test/test_lineage_dto.py index bf6d49c479..7b7332620a 100644 --- a/src/visier_platform_sdk/test/test_lineage_dto.py +++ b/src/visier_platform_sdk/test/test_lineage_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_list_query_execution_dto.py b/src/visier_platform_sdk/test/test_list_query_execution_dto.py index 2d54ebf5e3..deee0d6cb3 100644 --- a/src/visier_platform_sdk/test/test_list_query_execution_dto.py +++ b/src/visier_platform_sdk/test/test_list_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -67,7 +67,8 @@ def make_instance(self, include_optional) -> ListQueryExecutionDTO: member_value = None, numeric_value = None, plan_value = None, - aggregation_type_value = None, ) + aggregation_type_value = None, + subject_member_set_value = None, ) ], options = visier_platform_sdk.models.list_query_execution_options_dto.ListQueryExecutionOptionsDTO( limit = 56, diff --git a/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py index 7a8c010352..060470a67d 100644 --- a/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py +++ b/src/visier_platform_sdk/test/test_list_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_list_query_source_dto.py b/src/visier_platform_sdk/test/test_list_query_source_dto.py index db61f10314..a3a5034e82 100644 --- a/src/visier_platform_sdk/test/test_list_query_source_dto.py +++ b/src/visier_platform_sdk/test/test_list_query_source_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_list_response.py b/src/visier_platform_sdk/test/test_list_response.py index ca10c367b4..bdbceeb8e0 100644 --- a/src/visier_platform_sdk/test/test_list_response.py +++ b/src/visier_platform_sdk/test/test_list_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_local_or_shared_dimension_dto.py b/src/visier_platform_sdk/test/test_local_or_shared_dimension_dto.py index 2510c981c5..0a07f86fbf 100644 --- a/src/visier_platform_sdk/test/test_local_or_shared_dimension_dto.py +++ b/src/visier_platform_sdk/test/test_local_or_shared_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -41,7 +41,7 @@ def make_instance(self, include_optional) -> LocalOrSharedDimensionDTO: basic_information = None, details = None, tag_list = None, - visible_in_app = True, + visible_in_analytics = True, include_with_vee = True, version_information = None, ), shared = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( diff --git a/src/visier_platform_sdk/test/test_local_or_shared_dimension_list_dto.py b/src/visier_platform_sdk/test/test_local_or_shared_dimension_list_dto.py index c3f2987b7c..5f6737ca6c 100644 --- a/src/visier_platform_sdk/test/test_local_or_shared_dimension_list_dto.py +++ b/src/visier_platform_sdk/test/test_local_or_shared_dimension_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py index 5e2f5fd2ad..9ea825550f 100644 --- a/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py index 4f38929acf..b181da494e 100644 --- a/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_assignment_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py index 9a418aee34..f19ac6f821 100644 --- a/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py index 3be4f630ba..8f6fbc595d 100644 --- a/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py +++ b/src/visier_platform_sdk/test/test_local_tenant_profile_revoke_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_location_search_failure_output.py b/src/visier_platform_sdk/test/test_location_search_failure_output.py index 91b6494793..ad3781adc5 100644 --- a/src/visier_platform_sdk/test/test_location_search_failure_output.py +++ b/src/visier_platform_sdk/test/test_location_search_failure_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_location_search_input.py b/src/visier_platform_sdk/test/test_location_search_input.py index f82f8118ef..d0342982f1 100644 --- a/src/visier_platform_sdk/test/test_location_search_input.py +++ b/src/visier_platform_sdk/test/test_location_search_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_location_search_input1.py b/src/visier_platform_sdk/test/test_location_search_input1.py index c7fbbdc8c4..195d10d471 100644 --- a/src/visier_platform_sdk/test/test_location_search_input1.py +++ b/src/visier_platform_sdk/test/test_location_search_input1.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_location_search_output.py b/src/visier_platform_sdk/test/test_location_search_output.py index aeea49b30d..ce12628962 100644 --- a/src/visier_platform_sdk/test/test_location_search_output.py +++ b/src/visier_platform_sdk/test/test_location_search_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_location_search_successful_output.py b/src/visier_platform_sdk/test/test_location_search_successful_output.py index 77f3fe94b2..6341242f48 100644 --- a/src/visier_platform_sdk/test/test_location_search_successful_output.py +++ b/src/visier_platform_sdk/test/test_location_search_successful_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_mask_message.py b/src/visier_platform_sdk/test/test_mask_message.py index 5489198600..0b13f7cf39 100644 --- a/src/visier_platform_sdk/test/test_mask_message.py +++ b/src/visier_platform_sdk/test/test_mask_message.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py b/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py index 87fc2bdca9..f01f58b8fd 100644 --- a/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_medallia_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_dto.py b/src/visier_platform_sdk/test/test_member_dto.py index 7cd4cb4296..486a1c9998 100644 --- a/src/visier_platform_sdk/test/test_member_dto.py +++ b/src/visier_platform_sdk/test/test_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_filter_config_dto.py b/src/visier_platform_sdk/test/test_member_filter_config_dto.py index 498a8d1a7d..d3f6cce4f5 100644 --- a/src/visier_platform_sdk/test/test_member_filter_config_dto.py +++ b/src/visier_platform_sdk/test/test_member_filter_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_filter_dto.py b/src/visier_platform_sdk/test/test_member_filter_dto.py index e7db2e674d..5f8a83aa4d 100644 --- a/src/visier_platform_sdk/test/test_member_filter_dto.py +++ b/src/visier_platform_sdk/test/test_member_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py index 8280f50729..7640891307 100644 --- a/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py +++ b/src/visier_platform_sdk/test/test_member_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_parameter_value_dto.py b/src/visier_platform_sdk/test/test_member_parameter_value_dto.py index 0b45732926..a86e251841 100644 --- a/src/visier_platform_sdk/test/test_member_parameter_value_dto.py +++ b/src/visier_platform_sdk/test/test_member_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_selection_concept_dto.py b/src/visier_platform_sdk/test/test_member_selection_concept_dto.py index b901387500..f23e3af252 100644 --- a/src/visier_platform_sdk/test/test_member_selection_concept_dto.py +++ b/src/visier_platform_sdk/test/test_member_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_selection_dto.py b/src/visier_platform_sdk/test/test_member_selection_dto.py index 06c15b395a..5773678b1e 100644 --- a/src/visier_platform_sdk/test/test_member_selection_dto.py +++ b/src/visier_platform_sdk/test/test_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_member_values_dto.py b/src/visier_platform_sdk/test/test_member_values_dto.py index dac71def6e..925555ab5b 100644 --- a/src/visier_platform_sdk/test/test_member_values_dto.py +++ b/src/visier_platform_sdk/test/test_member_values_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_members_dto.py b/src/visier_platform_sdk/test/test_members_dto.py index 7c71a3cf04..7f70672a6b 100644 --- a/src/visier_platform_sdk/test/test_members_dto.py +++ b/src/visier_platform_sdk/test/test_members_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_metric_definition_dto.py b/src/visier_platform_sdk/test/test_metric_definition_dto.py index ac4fecfbc9..5bbaea391a 100644 --- a/src/visier_platform_sdk/test/test_metric_definition_dto.py +++ b/src/visier_platform_sdk/test/test_metric_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -45,8 +45,21 @@ def make_instance(self, include_optional) -> MetricDefinitionDTO: designer_notes = '', synonym_list = None, ), details = visier_platform_sdk.models.metric_type_details_dto.MetricTypeDetailsDTO( - process_concept = None, ), - additive_type = 'fullyAdditive' + simple = None, + derived = None, ), + additive_type = 'fullyAdditive', + visible_in_analytics = True, + include_with_vee = True, + analytic_object_name = '', + tag_list = visier_platform_sdk.models.tag_reference_list_dto.TagReferenceListDTO( + tags = [ + visier_platform_sdk.models.tag_reference_dto.TagReferenceDTO( + object_name = '', ) + ], ), + version_information = visier_platform_sdk.models.version_information_dto.VersionInformationDTO( + version_type = 'Unknown', + edited = '', + editor = '', ) ) else: return MetricDefinitionDTO( diff --git a/src/visier_platform_sdk/test/test_metric_delete_request_dto.py b/src/visier_platform_sdk/test/test_metric_delete_request_dto.py new file mode 100644 index 0000000000..2328839ed3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_delete_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_delete_request_dto import MetricDeleteRequestDTO + +class TestMetricDeleteRequestDTO(unittest.TestCase): + """MetricDeleteRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricDeleteRequestDTO: + """Test MetricDeleteRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricDeleteRequestDTO( + metrics = [ + visier_platform_sdk.models.metric_delete_with_context_dto.MetricDeleteWithContextDTO( + execution_context = None, + metric = None, ) + ] + ) + else: + return MetricDeleteRequestDTO( + ) + + def testMetricDeleteRequestDTO(self): + """Test MetricDeleteRequestDTO""" + def validate_instance(instance): + MetricDeleteRequestDTO.model_validate(inst_req_only) + instance_deserialized = MetricDeleteRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plans_patch_response_action_result.py b/src/visier_platform_sdk/test/test_metric_delete_with_context_dto.py similarity index 53% rename from src/visier_platform_sdk/test/test_plans_patch_response_action_result.py rename to src/visier_platform_sdk/test/test_metric_delete_with_context_dto.py index 3b7bc274fe..40b926705e 100644 --- a/src/visier_platform_sdk/test/test_plans_patch_response_action_result.py +++ b/src/visier_platform_sdk/test/test_metric_delete_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.plans_patch_response_action_result import PlansPatchResponseActionResult +from visier_platform_sdk.models.metric_delete_with_context_dto import MetricDeleteWithContextDTO -class TestPlansPatchResponseActionResult(unittest.TestCase): - """PlansPatchResponseActionResult unit test stubs""" +class TestMetricDeleteWithContextDTO(unittest.TestCase): + """MetricDeleteWithContextDTO unit test stubs""" def setUp(self): pass @@ -27,31 +27,30 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PlansPatchResponseActionResult: - """Test PlansPatchResponseActionResult + def make_instance(self, include_optional) -> MetricDeleteWithContextDTO: + """Test MetricDeleteWithContextDTO include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return PlansPatchResponseActionResult( - plan_id = '', - plans = [ - visier_platform_sdk.models.plan_patch_action_result.PlanPatchActionResult( - plan_id = '', - success = True, - error = None, ) - ] + return MetricDeleteWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + metric = visier_platform_sdk.models.object_id_dto.ObjectIdDTO( + uuid = '', + object_name = '', ) ) else: - return PlansPatchResponseActionResult( + return MetricDeleteWithContextDTO( ) - def testPlansPatchResponseActionResult(self): - """Test PlansPatchResponseActionResult""" + def testMetricDeleteWithContextDTO(self): + """Test MetricDeleteWithContextDTO""" def validate_instance(instance): - PlansPatchResponseActionResult.model_validate(inst_req_only) - instance_deserialized = PlansPatchResponseActionResult.from_dict(instance.to_dict()) + MetricDeleteWithContextDTO.model_validate(inst_req_only) + instance_deserialized = MetricDeleteWithContextDTO.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_metric_dto.py b/src/visier_platform_sdk/test/test_metric_dto.py index 40cdefd7f7..99a374f447 100644 --- a/src/visier_platform_sdk/test/test_metric_dto.py +++ b/src/visier_platform_sdk/test/test_metric_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,20 +36,16 @@ def make_instance(self, include_optional) -> MetricDTO: if include_optional: return MetricDTO( id = '', - display_name = '', - description = '', - data_start_date = '', - data_end_date = '', - analytic_object_id = '', - parameters = [ + parameter_values = [ visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) + metric_filter_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) ], - category = 'REGULAR', - visible_in_app = True + time_handling = visier_platform_sdk.models.time_handling_dto.TimeHandlingDTO( + per_period = True, + trailing_periods = None, ) ) else: return MetricDTO( diff --git a/src/visier_platform_sdk/test/test_metric_filter_parameter_value_dto.py b/src/visier_platform_sdk/test/test_metric_filter_parameter_value_dto.py new file mode 100644 index 0000000000..5758e8f308 --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_filter_parameter_value_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_filter_parameter_value_dto import MetricFilterParameterValueDTO + +class TestMetricFilterParameterValueDTO(unittest.TestCase): + """MetricFilterParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricFilterParameterValueDTO: + """Test MetricFilterParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricFilterParameterValueDTO( + parameter_id = '', + filters = [ + visier_platform_sdk.models.filter_dto.FilterDTO( + selection_concept = None, + member_set = None, + concept_reference = None, + key_group = None, + persisted_cohort = None, + time_period = None, + numeric_range = None, ) + ] + ) + else: + return MetricFilterParameterValueDTO( + ) + + def testMetricFilterParameterValueDTO(self): + """Test MetricFilterParameterValueDTO""" + def validate_instance(instance): + MetricFilterParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = MetricFilterParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_request_dto.py b/src/visier_platform_sdk/test/test_metric_request_dto.py new file mode 100644 index 0000000000..71512a5efb --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_request_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_request_dto import MetricRequestDTO + +class TestMetricRequestDTO(unittest.TestCase): + """MetricRequestDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricRequestDTO: + """Test MetricRequestDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricRequestDTO( + metrics = [ + visier_platform_sdk.models.metric_with_context_dto.MetricWithContextDTO( + execution_context = None, + metric = None, ) + ] + ) + else: + return MetricRequestDTO( + ) + + def testMetricRequestDTO(self): + """Test MetricRequestDTO""" + def validate_instance(instance): + MetricRequestDTO.model_validate(inst_req_only) + instance_deserialized = MetricRequestDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_response_dto.py b/src/visier_platform_sdk/test/test_metric_response_dto.py new file mode 100644 index 0000000000..4e1d81063d --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_response_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_response_dto import MetricResponseDTO + +class TestMetricResponseDTO(unittest.TestCase): + """MetricResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricResponseDTO: + """Test MetricResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricResponseDTO( + metrics = [ + visier_platform_sdk.models.metric_with_context_dto.MetricWithContextDTO( + execution_context = None, + metric = None, ) + ] + ) + else: + return MetricResponseDTO( + ) + + def testMetricResponseDTO(self): + """Test MetricResponseDTO""" + def validate_instance(instance): + MetricResponseDTO.model_validate(inst_req_only) + instance_deserialized = MetricResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metric_type_details_dto.py b/src/visier_platform_sdk/test/test_metric_type_details_dto.py index c2acf3f735..5080f97503 100644 --- a/src/visier_platform_sdk/test/test_metric_type_details_dto.py +++ b/src/visier_platform_sdk/test/test_metric_type_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,10 +35,15 @@ def make_instance(self, include_optional) -> MetricTypeDetailsDTO: if include_optional: return MetricTypeDetailsDTO( - process_concept = visier_platform_sdk.models.process_concept_metric_definition_dto.ProcessConceptMetricDefinitionDTO( + simple = visier_platform_sdk.models.simple_metric_details_dto.SimpleMetricDetailsDTO( + formula = '', + data_type = '', ), + derived = visier_platform_sdk.models.derived_metric_details_dto.DerivedMetricDetailsDTO( formula = '', data_type = '', - visible_in_analytics = True, ) + base_metric_id = '', + derived_metric_type = 'Rate', + denominator_metric_name = '', ) ) else: return MetricTypeDetailsDTO( diff --git a/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py b/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py index fbd1670ffd..2af9e1b0f7 100644 --- a/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py +++ b/src/visier_platform_sdk/test/test_metric_validation_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_metric_with_context_dto.py b/src/visier_platform_sdk/test/test_metric_with_context_dto.py new file mode 100644 index 0000000000..1b3646c379 --- /dev/null +++ b/src/visier_platform_sdk/test/test_metric_with_context_dto.py @@ -0,0 +1,71 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.metric_with_context_dto import MetricWithContextDTO + +class TestMetricWithContextDTO(unittest.TestCase): + """MetricWithContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> MetricWithContextDTO: + """Test MetricWithContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return MetricWithContextDTO( + execution_context = visier_platform_sdk.models.execution_context_dto.ExecutionContextDTO( + tenant_code = '', + project_id = '', ), + metric = visier_platform_sdk.models.metric_definition_dto.MetricDefinitionDTO( + uuid = '', + object_name = '', + basic_information = None, + details = None, + additive_type = 'fullyAdditive', + visible_in_analytics = True, + include_with_vee = True, + analytic_object_name = '', + tag_list = None, + version_information = None, ) + ) + else: + return MetricWithContextDTO( + ) + + def testMetricWithContextDTO(self): + """Test MetricWithContextDTO""" + def validate_instance(instance): + MetricWithContextDTO.model_validate(inst_req_only) + instance_deserialized = MetricWithContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_metrics_dto.py b/src/visier_platform_sdk/test/test_metrics_dto.py index 0ed0c1c42b..252bf13648 100644 --- a/src/visier_platform_sdk/test/test_metrics_dto.py +++ b/src/visier_platform_sdk/test/test_metrics_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -38,20 +38,14 @@ def make_instance(self, include_optional) -> MetricsDTO: metrics = [ visier_platform_sdk.models.metric_dto.MetricDTO( id = '', - display_name = '', - description = '', - data_start_date = '', - data_end_date = '', - analytic_object_id = '', - parameters = [ + parameter_values = [ visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) + metric_filter_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) ], - category = 'REGULAR', - visible_in_app = True, ) + time_handling = None, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_metrics_v2_api.py b/src/visier_platform_sdk/test/test_metrics_v2_api.py new file mode 100644 index 0000000000..deadfb7426 --- /dev/null +++ b/src/visier_platform_sdk/test/test_metrics_v2_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from visier_platform_sdk.api.metrics_v2_api import MetricsV2Api + + +class TestMetricsV2Api(unittest.TestCase): + """MetricsV2Api unit test stubs""" + + def setUp(self) -> None: + self.api = MetricsV2Api() + + def tearDown(self) -> None: + pass + + def test_create_metrics(self) -> None: + """Test case for create_metrics + + Create metrics + """ + pass + + def test_delete_metrics(self) -> None: + """Test case for delete_metrics + + Delete metrics + """ + pass + + def test_get_all_metrics(self) -> None: + """Test case for get_all_metrics + + Retrieve a list of metrics + """ + pass + + def test_get_analytic_object_metrics(self) -> None: + """Test case for get_analytic_object_metrics + + Retrieve a list of metrics by analytic object + """ + pass + + def test_get_one_metric(self) -> None: + """Test case for get_one_metric + + Retrieve a metric's details + """ + pass + + def test_patch_metrics(self) -> None: + """Test case for patch_metrics + + Partially update metrics + """ + pass + + def test_put_metrics(self) -> None: + """Test case for put_metrics + + Update metrics + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py b/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py index 470291dc6c..40cb07f93c 100644 --- a/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_microsoft365_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_module_settings_dto.py b/src/visier_platform_sdk/test/test_module_settings_dto.py index 80dd39643a..6e14894afb 100644 --- a/src/visier_platform_sdk/test/test_module_settings_dto.py +++ b/src/visier_platform_sdk/test/test_module_settings_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_multi_value_property_type_dto.py b/src/visier_platform_sdk/test/test_multi_value_property_type_dto.py index a73968b542..55afdc171d 100644 --- a/src/visier_platform_sdk/test/test_multi_value_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_multi_value_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_multi_value_setting_dto.py b/src/visier_platform_sdk/test/test_multi_value_setting_dto.py index 3bc5a6e2a0..99b25a3441 100644 --- a/src/visier_platform_sdk/test/test_multi_value_setting_dto.py +++ b/src/visier_platform_sdk/test/test_multi_value_setting_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py index 40ff95f2d7..46306beb0e 100644 --- a/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py +++ b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py index 6b9ab61d71..75e82aa1d9 100644 --- a/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py +++ b/src/visier_platform_sdk/test/test_multiple_tenant_data_versions_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py b/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py index 3f128c2fbe..090835788b 100644 --- a/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_my_sql_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_namely_auth_params_dto.py b/src/visier_platform_sdk/test/test_namely_auth_params_dto.py index c981d38e85..018cea599c 100644 --- a/src/visier_platform_sdk/test/test_namely_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_namely_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_network_subnets_api.py b/src/visier_platform_sdk/test/test_network_subnets_api.py index 2f68142d8d..255acccb6d 100644 --- a/src/visier_platform_sdk/test/test_network_subnets_api.py +++ b/src/visier_platform_sdk/test/test_network_subnets_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_network_subnets_message_request.py b/src/visier_platform_sdk/test/test_network_subnets_message_request.py index 34b244fc4e..b575c70be3 100644 --- a/src/visier_platform_sdk/test/test_network_subnets_message_request.py +++ b/src/visier_platform_sdk/test/test_network_subnets_message_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_network_subnets_message_response.py b/src/visier_platform_sdk/test/test_network_subnets_message_response.py index f1236f7641..9af0f3bd3d 100644 --- a/src/visier_platform_sdk/test/test_network_subnets_message_response.py +++ b/src/visier_platform_sdk/test/test_network_subnets_message_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py index 7a629c0008..0e8ca106de 100644 --- a/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py +++ b/src/visier_platform_sdk/test/test_numeric_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py b/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py index c8300bc7b7..cd02f5f04c 100644 --- a/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py +++ b/src/visier_platform_sdk/test/test_numeric_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_numeric_range_dto.py b/src/visier_platform_sdk/test/test_numeric_range_dto.py new file mode 100644 index 0000000000..1deee5121b --- /dev/null +++ b/src/visier_platform_sdk/test/test_numeric_range_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.numeric_range_dto import NumericRangeDTO + +class TestNumericRangeDTO(unittest.TestCase): + """NumericRangeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NumericRangeDTO: + """Test NumericRangeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NumericRangeDTO( + range_start = '', + range_end = '', + range_type = 'EXCLUSIVE_INCLUSIVE' + ) + else: + return NumericRangeDTO( + ) + + def testNumericRangeDTO(self): + """Test NumericRangeDTO""" + def validate_instance(instance): + NumericRangeDTO.model_validate(inst_req_only) + instance_deserialized = NumericRangeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_numeric_range_filter_dto.py b/src/visier_platform_sdk/test/test_numeric_range_filter_dto.py new file mode 100644 index 0000000000..3b7fa123ad --- /dev/null +++ b/src/visier_platform_sdk/test/test_numeric_range_filter_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.numeric_range_filter_dto import NumericRangeFilterDTO + +class TestNumericRangeFilterDTO(unittest.TestCase): + """NumericRangeFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> NumericRangeFilterDTO: + """Test NumericRangeFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return NumericRangeFilterDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + object_name = '', ), + numeric_range = visier_platform_sdk.models.numeric_range_dto.NumericRangeDTO( + range_start = '', + range_end = '', + range_type = 'EXCLUSIVE_INCLUSIVE', ), + is_excluded = True + ) + else: + return NumericRangeFilterDTO( + ) + + def testNumericRangeFilterDTO(self): + """Test NumericRangeFilterDTO""" + def validate_instance(instance): + NumericRangeFilterDTO.model_validate(inst_req_only) + instance_deserialized = NumericRangeFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_o_auth2_api.py b/src/visier_platform_sdk/test/test_o_auth2_api.py index 6535bddc67..9079376025 100644 --- a/src/visier_platform_sdk/test/test_o_auth2_api.py +++ b/src/visier_platform_sdk/test/test_o_auth2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py index 4b0ccbcf2b..3bc3c6aec1 100644 --- a/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py +++ b/src/visier_platform_sdk/test/test_o_auth2_user_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py index 1977927c08..aa49b7ceba 100644 --- a/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py +++ b/src/visier_platform_sdk/test/test_o_auth2_user_subnet_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py index 9522bf3a6a..4f7f168f8a 100644 --- a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py +++ b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_detail_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py index 506f2f286f..75d25baf2b 100644 --- a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py +++ b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py index c39dba3bbc..659b0a1a58 100644 --- a/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py +++ b/src/visier_platform_sdk/test/test_o_auth2_user_tenant_properties_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_object_change_failure_dto.py b/src/visier_platform_sdk/test/test_object_change_failure_dto.py index 8642ccb6a8..e83670c868 100644 --- a/src/visier_platform_sdk/test/test_object_change_failure_dto.py +++ b/src/visier_platform_sdk/test/test_object_change_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_object_change_success_dto.py b/src/visier_platform_sdk/test/test_object_change_success_dto.py index b8de9d1470..0720ee3fb3 100644 --- a/src/visier_platform_sdk/test/test_object_change_success_dto.py +++ b/src/visier_platform_sdk/test/test_object_change_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_object_configuration_api.py b/src/visier_platform_sdk/test/test_object_configuration_api.py index 56e7499921..44b1f6de33 100644 --- a/src/visier_platform_sdk/test/test_object_configuration_api.py +++ b/src/visier_platform_sdk/test/test_object_configuration_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_object_id_dto.py b/src/visier_platform_sdk/test/test_object_id_dto.py index 6ab26d43ad..976253b9cd 100644 --- a/src/visier_platform_sdk/test/test_object_id_dto.py +++ b/src/visier_platform_sdk/test/test_object_id_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_object_reference_dto.py b/src/visier_platform_sdk/test/test_object_reference_dto.py index b4870a688d..dd4d7eb32e 100644 --- a/src/visier_platform_sdk/test/test_object_reference_dto.py +++ b/src/visier_platform_sdk/test/test_object_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py index 5003540c2c..2d6706c2f8 100644 --- a/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py +++ b/src/visier_platform_sdk/test/test_objects_bulk_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py b/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py index f11efce968..1aafcd8e11 100644 --- a/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_oracle_db_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_other_metric_dto.py b/src/visier_platform_sdk/test/test_other_metric_dto.py new file mode 100644 index 0000000000..7add988018 --- /dev/null +++ b/src/visier_platform_sdk/test/test_other_metric_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.other_metric_dto import OtherMetricDTO + +class TestOtherMetricDTO(unittest.TestCase): + """OtherMetricDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherMetricDTO: + """Test OtherMetricDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return OtherMetricDTO( + metric = visier_platform_sdk.models.metric_dto.MetricDTO( + id = '', + parameter_values = [ + visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( + metric_filter_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) + ], + time_handling = None, ) + ) + else: + return OtherMetricDTO( + ) + + def testOtherMetricDTO(self): + """Test OtherMetricDTO""" + def validate_instance(instance): + OtherMetricDTO.model_validate(inst_req_only) + instance_deserialized = OtherMetricDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_output_entry.py b/src/visier_platform_sdk/test/test_output_entry.py index e008c97f6f..cc3b00596d 100644 --- a/src/visier_platform_sdk/test/test_output_entry.py +++ b/src/visier_platform_sdk/test/test_output_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_output_entry1.py b/src/visier_platform_sdk/test/test_output_entry1.py index d190d8f533..ea1626aa2c 100644 --- a/src/visier_platform_sdk/test/test_output_entry1.py +++ b/src/visier_platform_sdk/test/test_output_entry1.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py b/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py index 88e5e1a2f7..7dd2c5b6f9 100644 --- a/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py +++ b/src/visier_platform_sdk/test/test_output_entry1_matches_inner.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_pair_dto.py b/src/visier_platform_sdk/test/test_pair_dto.py index 526edd97f7..b71d541920 100644 --- a/src/visier_platform_sdk/test/test_pair_dto.py +++ b/src/visier_platform_sdk/test/test_pair_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_parameter_definition_dto.py index 080b62d513..578dbe4835 100644 --- a/src/visier_platform_sdk/test/test_parameter_definition_dto.py +++ b/src/visier_platform_sdk/test/test_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,39 +35,30 @@ def make_instance(self, include_optional) -> ParameterDefinitionDTO: if include_optional: return ParameterDefinitionDTO( - member_parameter = visier_platform_sdk.models.member_parameter_definition_dto.MemberParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - dimension_id = '', - reference_path = [ - '' - ], - default = None, ), - numeric_parameter = visier_platform_sdk.models.numeric_parameter_definition_dto.NumericParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - lower_bound = 1.337, - upper_bound = 1.337, - default = 1.337, ), - plan_parameter = visier_platform_sdk.models.plan_parameter_definition_dto.PlanParameterDefinitionDTO( - id = '', - display_name = '', - description = '', - model_name = '', ), - aggregation_type_parameter = visier_platform_sdk.models.aggregation_type_parameter_dto.AggregationTypeParameterDTO( - id = '', - display_name = '', - description = '', - parameter_options = [ - visier_platform_sdk.models.aggregation_type_option_dto.AggregationTypeOptionDTO( - id = '', - display_name = '', - property_name = '', - aggregation_function = '', - is_default = True, ) - ], ) + metric_filter_value = visier_platform_sdk.models.metric_filter_parameter_value_dto.MetricFilterParameterValueDTO( + parameter_id = '', + filters = [ + visier_platform_sdk.models.filter_dto.FilterDTO( + selection_concept = None, + member_set = None, + concept_reference = None, + key_group = None, + persisted_cohort = None, + time_period = None, + numeric_range = None, ) + ], ), + numeric_value = visier_platform_sdk.models.numeric_parameter_value_dto.NumericParameterValueDTO( + parameter_id = '', + value = 1.337, ), + plan_value = visier_platform_sdk.models.plan_parameter_value_dto.PlanParameterValueDTO( + parameter_id = '', + plan_id = '', + scenario_id = '', + snapshot_id = '', + exploration_snapshot_id = '', ), + aggregation_type_value = visier_platform_sdk.models.aggregation_type_parameter_value_dto.AggregationTypeParameterValueDTO( + parameter_id = '', + aggregation_option_id = '', ) ) else: return ParameterDefinitionDTO( diff --git a/src/visier_platform_sdk/test/test_parent_child_details_dto.py b/src/visier_platform_sdk/test/test_parent_child_details_dto.py index 2850a75bad..be7a3da18b 100644 --- a/src/visier_platform_sdk/test/test_parent_child_details_dto.py +++ b/src/visier_platform_sdk/test/test_parent_child_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_periods_back_dto.py b/src/visier_platform_sdk/test/test_periods_back_dto.py new file mode 100644 index 0000000000..9fd277a325 --- /dev/null +++ b/src/visier_platform_sdk/test/test_periods_back_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.periods_back_dto import PeriodsBackDTO + +class TestPeriodsBackDTO(unittest.TestCase): + """PeriodsBackDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PeriodsBackDTO: + """Test PeriodsBackDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PeriodsBackDTO( + period_type = '', + periods_back = 56 + ) + else: + return PeriodsBackDTO( + ) + + def testPeriodsBackDTO(self): + """Test PeriodsBackDTO""" + def validate_instance(instance): + PeriodsBackDTO.model_validate(inst_req_only) + instance_deserialized = PeriodsBackDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py index 67a22a752b..ee9798f499 100644 --- a/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_permission_assigned_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py index 67d162d762..fd6e748499 100644 --- a/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_permission_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py index 821541bc38..4a2344f78f 100644 --- a/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py +++ b/src/visier_platform_sdk/test/test_permission_assigned_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py b/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py index c59a3a3e31..416dbebcb6 100644 --- a/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py +++ b/src/visier_platform_sdk/test/test_permission_assigned_users_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py b/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py index 9d39a7de3c..3eb7b60c0e 100644 --- a/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py +++ b/src/visier_platform_sdk/test/test_permission_bulk_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_dto.py b/src/visier_platform_sdk/test/test_permission_dto.py index 4bcf3c363c..38b25fbe84 100644 --- a/src/visier_platform_sdk/test/test_permission_dto.py +++ b/src/visier_platform_sdk/test/test_permission_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_error_dto.py b/src/visier_platform_sdk/test/test_permission_error_dto.py index f566972dfc..5f3f1a3ea1 100644 --- a/src/visier_platform_sdk/test/test_permission_error_dto.py +++ b/src/visier_platform_sdk/test/test_permission_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_failure_dto.py b/src/visier_platform_sdk/test/test_permission_failure_dto.py index 255f93cc94..ec59007b4f 100644 --- a/src/visier_platform_sdk/test/test_permission_failure_dto.py +++ b/src/visier_platform_sdk/test/test_permission_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_response_dto.py b/src/visier_platform_sdk/test/test_permission_response_dto.py index a0b9b17958..5759f1a665 100644 --- a/src/visier_platform_sdk/test/test_permission_response_dto.py +++ b/src/visier_platform_sdk/test/test_permission_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permission_success_dto.py b/src/visier_platform_sdk/test/test_permission_success_dto.py index a4e2f18a2a..55a64b65cf 100644 --- a/src/visier_platform_sdk/test/test_permission_success_dto.py +++ b/src/visier_platform_sdk/test/test_permission_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permissions_api.py b/src/visier_platform_sdk/test/test_permissions_api.py index 96dbeeb740..8e1bc187c0 100644 --- a/src/visier_platform_sdk/test/test_permissions_api.py +++ b/src/visier_platform_sdk/test/test_permissions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permissions_list_dto.py b/src/visier_platform_sdk/test/test_permissions_list_dto.py index 06c4dfe589..d98fac46cc 100644 --- a/src/visier_platform_sdk/test/test_permissions_list_dto.py +++ b/src/visier_platform_sdk/test/test_permissions_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py b/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py index b4cfa3f762..fd950cf9b5 100644 --- a/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_permissions_to_user_group_for_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py b/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py index 2fb4bf0fa4..e21c558f80 100644 --- a/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py +++ b/src/visier_platform_sdk/test/test_permissions_to_user_group_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py b/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py index 514744fed8..d369c62d1a 100644 --- a/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py +++ b/src/visier_platform_sdk/test/test_permissions_to_user_groups_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_put_project_commits_request.py b/src/visier_platform_sdk/test/test_persisted_cohort_filter_dto.py similarity index 61% rename from src/visier_platform_sdk/test/test_put_project_commits_request.py rename to src/visier_platform_sdk/test/test_persisted_cohort_filter_dto.py index a835ae704e..432e45d7f5 100644 --- a/src/visier_platform_sdk/test/test_put_project_commits_request.py +++ b/src/visier_platform_sdk/test/test_persisted_cohort_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest +from visier_platform_sdk.models.persisted_cohort_filter_dto import PersistedCohortFilterDTO -class TestPutProjectCommitsRequest(unittest.TestCase): - """PutProjectCommitsRequest unit test stubs""" +class TestPersistedCohortFilterDTO(unittest.TestCase): + """PersistedCohortFilterDTO unit test stubs""" def setUp(self): pass @@ -27,25 +27,26 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PutProjectCommitsRequest: - """Test PutProjectCommitsRequest + def make_instance(self, include_optional) -> PersistedCohortFilterDTO: + """Test PersistedCohortFilterDTO include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return PutProjectCommitsRequest( - project_id = '' + return PersistedCohortFilterDTO( + id = '', + qualifying_path = '' ) else: - return PutProjectCommitsRequest( + return PersistedCohortFilterDTO( ) - def testPutProjectCommitsRequest(self): - """Test PutProjectCommitsRequest""" + def testPersistedCohortFilterDTO(self): + """Test PersistedCohortFilterDTO""" def validate_instance(instance): - PutProjectCommitsRequest.model_validate(inst_req_only) - instance_deserialized = PutProjectCommitsRequest.from_dict(instance.to_dict()) + PersistedCohortFilterDTO.model_validate(inst_req_only) + instance_deserialized = PersistedCohortFilterDTO.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_personalized_alerts_api.py b/src/visier_platform_sdk/test/test_personalized_alerts_api.py new file mode 100644 index 0000000000..a2dc58a940 --- /dev/null +++ b/src/visier_platform_sdk/test/test_personalized_alerts_api.py @@ -0,0 +1,81 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +from visier_platform_sdk.api.personalized_alerts_api import PersonalizedAlertsApi + + +class TestPersonalizedAlertsApi(unittest.TestCase): + """PersonalizedAlertsApi unit test stubs""" + + def setUp(self) -> None: + self.api = PersonalizedAlertsApi() + + def tearDown(self) -> None: + pass + + def test_create_alert(self) -> None: + """Test case for create_alert + + Create a personalized alert + """ + pass + + def test_delete_alert(self) -> None: + """Test case for delete_alert + + Delete a personalized alert + """ + pass + + def test_get_alert(self) -> None: + """Test case for get_alert + + Retrieve a personalized alert + """ + pass + + def test_get_alerts(self) -> None: + """Test case for get_alerts + + Retrieve personalized alerts + """ + pass + + def test_get_notifications(self) -> None: + """Test case for get_notifications + + Retrieve personalized alerts notifications + """ + pass + + def test_update_alert(self) -> None: + """Test case for update_alert + + Update a personalized alert + """ + pass + + def test_update_recipient_status(self) -> None: + """Test case for update_recipient_status + + Enable or disable a personalized alert + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_perspective_configuration_dto.py b/src/visier_platform_sdk/test/test_perspective_configuration_dto.py index 4027604385..2850f76531 100644 --- a/src/visier_platform_sdk/test/test_perspective_configuration_dto.py +++ b/src/visier_platform_sdk/test/test_perspective_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_perspective_node_dto.py b/src/visier_platform_sdk/test/test_perspective_node_dto.py index ef4ba4fab3..6831fd23de 100644 --- a/src/visier_platform_sdk/test/test_perspective_node_dto.py +++ b/src/visier_platform_sdk/test/test_perspective_node_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_pgp_keys_api.py b/src/visier_platform_sdk/test/test_pgp_keys_api.py index 4872c09728..0537f16a25 100644 --- a/src/visier_platform_sdk/test/test_pgp_keys_api.py +++ b/src/visier_platform_sdk/test/test_pgp_keys_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_administration_api.py b/src/visier_platform_sdk/test/test_plan_administration_api.py index 6b2e518093..190afb28ca 100644 --- a/src/visier_platform_sdk/test/test_plan_administration_api.py +++ b/src/visier_platform_sdk/test/test_plan_administration_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -34,13 +34,6 @@ def test_patch_plan(self) -> None: """ pass - def test_patch_plans(self) -> None: - """Test case for patch_plans - - Partially update subplans - """ - pass - if __name__ == '__main__': unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_data_load_api.py b/src/visier_platform_sdk/test/test_plan_data_load_api.py index eea0a6e232..261dd570f6 100644 --- a/src/visier_platform_sdk/test/test_plan_data_load_api.py +++ b/src/visier_platform_sdk/test/test_plan_data_load_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py b/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py index b772c49371..f96bc794d6 100644 --- a/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_load_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py b/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py index dab0e82944..39d2295c96 100644 --- a/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_load_change_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py b/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py index f93f9d06fb..9101c37247 100644 --- a/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_load_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py b/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py index 81a055fec6..57a3801b99 100644 --- a/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py +++ b/src/visier_platform_sdk/test/test_plan_data_upload_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_info_dto.py b/src/visier_platform_sdk/test/test_plan_info_dto.py index c5ac5240f6..6929668c7d 100644 --- a/src/visier_platform_sdk/test/test_plan_info_dto.py +++ b/src/visier_platform_sdk/test/test_plan_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -44,6 +44,14 @@ def make_instance(self, include_optional) -> PlanInfoDTO: display_name = '', versioned_scenario_id = '', ) ], + collaborations = [ + visier_platform_sdk.models.collaboration_info.CollaborationInfo( + scenario_id = '', + start_date = '', + due_date = '', + updated_date = '', + status = 'Closed', ) + ], parent_plan_uuid = '', currency_code = '' ) diff --git a/src/visier_platform_sdk/test/test_plan_item_dto.py b/src/visier_platform_sdk/test/test_plan_item_dto.py index 729ef1b3a9..0645b7573b 100644 --- a/src/visier_platform_sdk/test/test_plan_item_dto.py +++ b/src/visier_platform_sdk/test/test_plan_item_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py b/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py index 675fd25e3a..608ce1d31f 100644 --- a/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py +++ b/src/visier_platform_sdk/test/test_plan_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py b/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py index 4a2ff71d74..903b0f0909 100644 --- a/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py +++ b/src/visier_platform_sdk/test/test_plan_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -38,7 +38,8 @@ def make_instance(self, include_optional) -> PlanParameterValueDTO: parameter_id = '', plan_id = '', scenario_id = '', - snapshot_id = '' + snapshot_id = '', + exploration_snapshot_id = '' ) else: return PlanParameterValueDTO( diff --git a/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request.py b/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request.py index 1ea5bbc20e..7d620531a7 100644 --- a/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request.py +++ b/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request_with_plan_id.py b/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request_with_plan_id.py deleted file mode 100644 index 016e2e965b..0000000000 --- a/src/visier_platform_sdk/test/test_plan_patch_consolidate_action_request_with_plan_id.py +++ /dev/null @@ -1,71 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.2050 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import visier_platform_sdk.models -from visier_platform_sdk.models.plan_patch_consolidate_action_request_with_plan_id import PlanPatchConsolidateActionRequestWithPlanId - -class TestPlanPatchConsolidateActionRequestWithPlanId(unittest.TestCase): - """PlanPatchConsolidateActionRequestWithPlanId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanPatchConsolidateActionRequestWithPlanId: - """Test PlanPatchConsolidateActionRequestWithPlanId - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - - if include_optional: - return PlanPatchConsolidateActionRequestWithPlanId( - action_type = 'Consolidate', - consolidate_action_payload = visier_platform_sdk.models.consolidate_action_payload.ConsolidateActionPayload( - auto_rollup = True, - included_sub_plans = [ - '' - ], ), - plan_id = '' - ) - else: - return PlanPatchConsolidateActionRequestWithPlanId( - action_type = 'Consolidate', - consolidate_action_payload = visier_platform_sdk.models.consolidate_action_payload.ConsolidateActionPayload( - auto_rollup = True, - included_sub_plans = [ - '' - ], ), - plan_id = '', - ) - - def testPlanPatchConsolidateActionRequestWithPlanId(self): - """Test PlanPatchConsolidateActionRequestWithPlanId""" - def validate_instance(instance): - PlanPatchConsolidateActionRequestWithPlanId.model_validate(inst_req_only) - instance_deserialized = PlanPatchConsolidateActionRequestWithPlanId.from_dict(instance.to_dict()) - assert instance == instance_deserialized - - inst_req_only = self.make_instance(include_optional=False) - validate_instance(inst_req_only) - - inst_req_and_optional = self.make_instance(include_optional=True) - validate_instance(inst_req_and_optional) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_patch_end_collaboration_action_request.py b/src/visier_platform_sdk/test/test_plan_patch_end_collaboration_action_request.py new file mode 100644 index 0000000000..93aea36c5d --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_patch_end_collaboration_action_request.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_patch_end_collaboration_action_request import PlanPatchEndCollaborationActionRequest + +class TestPlanPatchEndCollaborationActionRequest(unittest.TestCase): + """PlanPatchEndCollaborationActionRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanPatchEndCollaborationActionRequest: + """Test PlanPatchEndCollaborationActionRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanPatchEndCollaborationActionRequest( + action_type = 'EndCollaboration', + end_collaboration_action_payload = visier_platform_sdk.models.end_collaboration_action_payload.EndCollaborationActionPayload( + action_when_unconsolidated_plans_exists = 'Ignore', ) + ) + else: + return PlanPatchEndCollaborationActionRequest( + action_type = 'EndCollaboration', + end_collaboration_action_payload = visier_platform_sdk.models.end_collaboration_action_payload.EndCollaborationActionPayload( + action_when_unconsolidated_plans_exists = 'Ignore', ), + ) + + def testPlanPatchEndCollaborationActionRequest(self): + """Test PlanPatchEndCollaborationActionRequest""" + def validate_instance(instance): + PlanPatchEndCollaborationActionRequest.model_validate(inst_req_only) + instance_deserialized = PlanPatchEndCollaborationActionRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request.py b/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request.py index e055144790..e1295b8cc5 100644 --- a/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request.py +++ b/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request_with_plan_id.py b/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request_with_plan_id.py deleted file mode 100644 index 4f0606ae20..0000000000 --- a/src/visier_platform_sdk/test/test_plan_patch_reopen_action_request_with_plan_id.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.2050 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import visier_platform_sdk.models -from visier_platform_sdk.models.plan_patch_reopen_action_request_with_plan_id import PlanPatchReopenActionRequestWithPlanId - -class TestPlanPatchReopenActionRequestWithPlanId(unittest.TestCase): - """PlanPatchReopenActionRequestWithPlanId unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlanPatchReopenActionRequestWithPlanId: - """Test PlanPatchReopenActionRequestWithPlanId - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - - if include_optional: - return PlanPatchReopenActionRequestWithPlanId( - action_type = 'Reopen', - reopen_action_payload = visier_platform_sdk.models.reopen_action_payload.ReopenActionPayload( - assignee = '', - due_date = '', ), - plan_id = '' - ) - else: - return PlanPatchReopenActionRequestWithPlanId( - action_type = 'Reopen', - reopen_action_payload = visier_platform_sdk.models.reopen_action_payload.ReopenActionPayload( - assignee = '', - due_date = '', ), - plan_id = '', - ) - - def testPlanPatchReopenActionRequestWithPlanId(self): - """Test PlanPatchReopenActionRequestWithPlanId""" - def validate_instance(instance): - PlanPatchReopenActionRequestWithPlanId.model_validate(inst_req_only) - instance_deserialized = PlanPatchReopenActionRequestWithPlanId.from_dict(instance.to_dict()) - assert instance == instance_deserialized - - inst_req_only = self.make_instance(include_optional=False) - validate_instance(inst_req_only) - - inst_req_and_optional = self.make_instance(include_optional=True) - validate_instance(inst_req_and_optional) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_patch_start_collaboration_action_request.py b/src/visier_platform_sdk/test/test_plan_patch_start_collaboration_action_request.py new file mode 100644 index 0000000000..8d7313df25 --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_patch_start_collaboration_action_request.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_patch_start_collaboration_action_request import PlanPatchStartCollaborationActionRequest + +class TestPlanPatchStartCollaborationActionRequest(unittest.TestCase): + """PlanPatchStartCollaborationActionRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanPatchStartCollaborationActionRequest: + """Test PlanPatchStartCollaborationActionRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanPatchStartCollaborationActionRequest( + action_type = 'StartCollaboration', + start_collaboration_action_payload = visier_platform_sdk.models.start_collaboration_action_payload.StartCollaborationActionPayload( + start_date = '', + due_date = '', ) + ) + else: + return PlanPatchStartCollaborationActionRequest( + action_type = 'StartCollaboration', + start_collaboration_action_payload = visier_platform_sdk.models.start_collaboration_action_payload.StartCollaborationActionPayload( + start_date = '', + due_date = '', ), + ) + + def testPlanPatchStartCollaborationActionRequest(self): + """Test PlanPatchStartCollaborationActionRequest""" + def validate_instance(instance): + PlanPatchStartCollaborationActionRequest.model_validate(inst_req_only) + instance_deserialized = PlanPatchStartCollaborationActionRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_patch_submit_action_request.py b/src/visier_platform_sdk/test/test_plan_patch_submit_action_request.py new file mode 100644 index 0000000000..03c0504e1a --- /dev/null +++ b/src/visier_platform_sdk/test/test_plan_patch_submit_action_request.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.plan_patch_submit_action_request import PlanPatchSubmitActionRequest + +class TestPlanPatchSubmitActionRequest(unittest.TestCase): + """PlanPatchSubmitActionRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> PlanPatchSubmitActionRequest: + """Test PlanPatchSubmitActionRequest + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return PlanPatchSubmitActionRequest( + action_type = 'Submit', + submit_action_payload = visier_platform_sdk.models.submit_action_payload.SubmitActionPayload( + comment = '', ) + ) + else: + return PlanPatchSubmitActionRequest( + action_type = 'Submit', + submit_action_payload = visier_platform_sdk.models.submit_action_payload.SubmitActionPayload( + comment = '', ), + ) + + def testPlanPatchSubmitActionRequest(self): + """Test PlanPatchSubmitActionRequest""" + def validate_instance(instance): + PlanPatchSubmitActionRequest.model_validate(inst_req_only) + instance_deserialized = PlanPatchSubmitActionRequest.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py b/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py index 455bbb8cb6..bd969256bf 100644 --- a/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py +++ b/src/visier_platform_sdk/test/test_plan_row_data_load_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_patch_action_result.py b/src/visier_platform_sdk/test/test_plan_scenario_patch_action_result.py similarity index 63% rename from src/visier_platform_sdk/test/test_plan_patch_action_result.py rename to src/visier_platform_sdk/test/test_plan_scenario_patch_action_result.py index e4a7ba8fe7..bebdd5ce17 100644 --- a/src/visier_platform_sdk/test/test_plan_patch_action_result.py +++ b/src/visier_platform_sdk/test/test_plan_scenario_patch_action_result.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.plan_patch_action_result import PlanPatchActionResult +from visier_platform_sdk.models.plan_scenario_patch_action_result import PlanScenarioPatchActionResult -class TestPlanPatchActionResult(unittest.TestCase): - """PlanPatchActionResult unit test stubs""" +class TestPlanScenarioPatchActionResult(unittest.TestCase): + """PlanScenarioPatchActionResult unit test stubs""" def setUp(self): pass @@ -27,14 +27,14 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PlanPatchActionResult: - """Test PlanPatchActionResult + def make_instance(self, include_optional) -> PlanScenarioPatchActionResult: + """Test PlanScenarioPatchActionResult include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return PlanPatchActionResult( + return PlanScenarioPatchActionResult( plan_id = '', success = True, error = visier_platform_sdk.models.error_summary.ErrorSummary( @@ -42,14 +42,14 @@ def make_instance(self, include_optional) -> PlanPatchActionResult: message = '', ) ) else: - return PlanPatchActionResult( + return PlanScenarioPatchActionResult( ) - def testPlanPatchActionResult(self): - """Test PlanPatchActionResult""" + def testPlanScenarioPatchActionResult(self): + """Test PlanScenarioPatchActionResult""" def validate_instance(instance): - PlanPatchActionResult.model_validate(inst_req_only) - instance_deserialized = PlanPatchActionResult.from_dict(instance.to_dict()) + PlanScenarioPatchActionResult.model_validate(inst_req_only) + instance_deserialized = PlanScenarioPatchActionResult.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_plan_patch_request.py b/src/visier_platform_sdk/test/test_plan_scenario_patch_request.py similarity index 55% rename from src/visier_platform_sdk/test/test_plan_patch_request.py rename to src/visier_platform_sdk/test/test_plan_scenario_patch_request.py index 532eae00f4..4ea4c8d8b5 100644 --- a/src/visier_platform_sdk/test/test_plan_patch_request.py +++ b/src/visier_platform_sdk/test/test_plan_scenario_patch_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.plan_patch_request import PlanPatchRequest +from visier_platform_sdk.models.plan_scenario_patch_request import PlanScenarioPatchRequest -class TestPlanPatchRequest(unittest.TestCase): - """PlanPatchRequest unit test stubs""" +class TestPlanScenarioPatchRequest(unittest.TestCase): + """PlanScenarioPatchRequest unit test stubs""" def setUp(self): pass @@ -27,14 +27,14 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PlanPatchRequest: - """Test PlanPatchRequest + def make_instance(self, include_optional) -> PlanScenarioPatchRequest: + """Test PlanScenarioPatchRequest include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return PlanPatchRequest( + return PlanScenarioPatchRequest( action_type = 'Update', consolidate_action_payload = visier_platform_sdk.models.consolidate_action_payload.ConsolidateActionPayload( auto_rollup = True, @@ -44,17 +44,23 @@ def make_instance(self, include_optional) -> PlanPatchRequest: reopen_action_payload = visier_platform_sdk.models.reopen_action_payload.ReopenActionPayload( assignee = '', due_date = '', ), - plan_id = '' + submit_action_payload = visier_platform_sdk.models.submit_action_payload.SubmitActionPayload( + comment = '', ), + start_collaboration_action_payload = visier_platform_sdk.models.start_collaboration_action_payload.StartCollaborationActionPayload( + start_date = '', + due_date = '', ), + end_collaboration_action_payload = visier_platform_sdk.models.end_collaboration_action_payload.EndCollaborationActionPayload( + action_when_unconsolidated_plans_exists = 'Ignore', ) ) else: - return PlanPatchRequest( + return PlanScenarioPatchRequest( ) - def testPlanPatchRequest(self): - """Test PlanPatchRequest""" + def testPlanScenarioPatchRequest(self): + """Test PlanScenarioPatchRequest""" def validate_instance(instance): - PlanPatchRequest.model_validate(inst_req_only) - instance_deserialized = PlanPatchRequest.from_dict(instance.to_dict()) + PlanScenarioPatchRequest.model_validate(inst_req_only) + instance_deserialized = PlanScenarioPatchRequest.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_plan_patch_response.py b/src/visier_platform_sdk/test/test_plan_scenario_patch_response.py similarity index 61% rename from src/visier_platform_sdk/test/test_plan_patch_response.py rename to src/visier_platform_sdk/test/test_plan_scenario_patch_response.py index 460046eceb..e59dfcf4fe 100644 --- a/src/visier_platform_sdk/test/test_plan_patch_response.py +++ b/src/visier_platform_sdk/test/test_plan_scenario_patch_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.plan_patch_response import PlanPatchResponse +from visier_platform_sdk.models.plan_scenario_patch_response import PlanScenarioPatchResponse -class TestPlanPatchResponse(unittest.TestCase): - """PlanPatchResponse unit test stubs""" +class TestPlanScenarioPatchResponse(unittest.TestCase): + """PlanScenarioPatchResponse unit test stubs""" def setUp(self): pass @@ -27,30 +27,30 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PlanPatchResponse: - """Test PlanPatchResponse + def make_instance(self, include_optional) -> PlanScenarioPatchResponse: + """Test PlanScenarioPatchResponse include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return PlanPatchResponse( + return PlanScenarioPatchResponse( action_results = [ - visier_platform_sdk.models.plan_patch_action_result.PlanPatchActionResult( + visier_platform_sdk.models.plan_scenario_patch_action_result.PlanScenarioPatchActionResult( plan_id = '', success = True, error = None, ) ] ) else: - return PlanPatchResponse( + return PlanScenarioPatchResponse( ) - def testPlanPatchResponse(self): - """Test PlanPatchResponse""" + def testPlanScenarioPatchResponse(self): + """Test PlanScenarioPatchResponse""" def validate_instance(instance): - PlanPatchResponse.model_validate(inst_req_only) - instance_deserialized = PlanPatchResponse.from_dict(instance.to_dict()) + PlanScenarioPatchResponse.model_validate(inst_req_only) + instance_deserialized = PlanScenarioPatchResponse.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_plan_schema_dto.py b/src/visier_platform_sdk/test/test_plan_schema_dto.py index 7f16815664..d1ab43cbda 100644 --- a/src/visier_platform_sdk/test/test_plan_schema_dto.py +++ b/src/visier_platform_sdk/test/test_plan_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_segment_level_dto.py b/src/visier_platform_sdk/test/test_plan_segment_level_dto.py index 9f5bcfa53f..1cd40c10f6 100644 --- a/src/visier_platform_sdk/test/test_plan_segment_level_dto.py +++ b/src/visier_platform_sdk/test/test_plan_segment_level_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py b/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py index 24c6eb463b..bd27ae6ceb 100644 --- a/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py +++ b/src/visier_platform_sdk/test/test_plan_segment_level_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py b/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py index f2a6c6e647..dea77383cf 100644 --- a/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py +++ b/src/visier_platform_sdk/test/test_plan_segment_level_member_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_time_period_dto.py b/src/visier_platform_sdk/test/test_plan_time_period_dto.py index 5e4c4f452c..188b51dbbd 100644 --- a/src/visier_platform_sdk/test/test_plan_time_period_dto.py +++ b/src/visier_platform_sdk/test/test_plan_time_period_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plan_with_schema_dto.py b/src/visier_platform_sdk/test/test_plan_with_schema_dto.py index b9a74be337..1f5bf8b72d 100644 --- a/src/visier_platform_sdk/test/test_plan_with_schema_dto.py +++ b/src/visier_platform_sdk/test/test_plan_with_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -45,6 +45,14 @@ def make_instance(self, include_optional) -> PlanWithSchemaDTO: display_name = '', versioned_scenario_id = '', ) ], + collaborations = [ + visier_platform_sdk.models.collaboration_info.CollaborationInfo( + scenario_id = '', + start_date = '', + due_date = '', + updated_date = '', + status = 'Closed', ) + ], parent_plan_uuid = '', currency_code = '', ), var_schema = visier_platform_sdk.models.plan_schema_dto.PlanSchemaDTO( diff --git a/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py b/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py index 1e8d1e510e..92ef3d90e9 100644 --- a/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py +++ b/src/visier_platform_sdk/test/test_planning_concept_filter_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py b/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py index f1714eb383..393acee10e 100644 --- a/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py +++ b/src/visier_platform_sdk/test/test_planning_hierarchy_filter_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_planning_model_dto.py b/src/visier_platform_sdk/test/test_planning_model_dto.py index 4e8d045098..b78eecca3c 100644 --- a/src/visier_platform_sdk/test/test_planning_model_dto.py +++ b/src/visier_platform_sdk/test/test_planning_model_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_planning_models_dto.py b/src/visier_platform_sdk/test/test_planning_models_dto.py index 2a31bb0353..cacc578c40 100644 --- a/src/visier_platform_sdk/test/test_planning_models_dto.py +++ b/src/visier_platform_sdk/test/test_planning_models_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_planning_plan_context_dto.py b/src/visier_platform_sdk/test/test_planning_plan_context_dto.py index 97c72c9244..26e3892497 100644 --- a/src/visier_platform_sdk/test/test_planning_plan_context_dto.py +++ b/src/visier_platform_sdk/test/test_planning_plan_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_planning_plan_dto.py b/src/visier_platform_sdk/test/test_planning_plan_dto.py index 068ed6fbf1..693d89d100 100644 --- a/src/visier_platform_sdk/test/test_planning_plan_dto.py +++ b/src/visier_platform_sdk/test/test_planning_plan_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_planning_plans_dto.py b/src/visier_platform_sdk/test/test_planning_plans_dto.py index 6526d6e58d..4791e1d120 100644 --- a/src/visier_platform_sdk/test/test_planning_plans_dto.py +++ b/src/visier_platform_sdk/test/test_planning_plans_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_plans_patch_request_plan_item.py b/src/visier_platform_sdk/test/test_plans_patch_request_plan_item.py deleted file mode 100644 index 2b7a1d29f0..0000000000 --- a/src/visier_platform_sdk/test/test_plans_patch_request_plan_item.py +++ /dev/null @@ -1,77 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.2050 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import visier_platform_sdk.models -from visier_platform_sdk.models.plans_patch_request_plan_item import PlansPatchRequestPlanItem - -class TestPlansPatchRequestPlanItem(unittest.TestCase): - """PlansPatchRequestPlanItem unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlansPatchRequestPlanItem: - """Test PlansPatchRequestPlanItem - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - - if include_optional: - return PlansPatchRequestPlanItem( - action_type = 'Reopen', - consolidate_action_payload = visier_platform_sdk.models.consolidate_action_payload.ConsolidateActionPayload( - auto_rollup = True, - included_sub_plans = [ - '' - ], ), - plan_id = '', - reopen_action_payload = visier_platform_sdk.models.reopen_action_payload.ReopenActionPayload( - assignee = '', - due_date = '', ) - ) - else: - return PlansPatchRequestPlanItem( - action_type = 'Reopen', - consolidate_action_payload = visier_platform_sdk.models.consolidate_action_payload.ConsolidateActionPayload( - auto_rollup = True, - included_sub_plans = [ - '' - ], ), - plan_id = '', - reopen_action_payload = visier_platform_sdk.models.reopen_action_payload.ReopenActionPayload( - assignee = '', - due_date = '', ), - ) - - def testPlansPatchRequestPlanItem(self): - """Test PlansPatchRequestPlanItem""" - def validate_instance(instance): - PlansPatchRequestPlanItem.model_validate(inst_req_only) - instance_deserialized = PlansPatchRequestPlanItem.from_dict(instance.to_dict()) - assert instance == instance_deserialized - - inst_req_only = self.make_instance(include_optional=False) - validate_instance(inst_req_only) - - inst_req_and_optional = self.make_instance(include_optional=True) - validate_instance(inst_req_and_optional) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_plans_patch_response.py b/src/visier_platform_sdk/test/test_plans_patch_response.py deleted file mode 100644 index 88e0365ab5..0000000000 --- a/src/visier_platform_sdk/test/test_plans_patch_response.py +++ /dev/null @@ -1,67 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.2050 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest - -import visier_platform_sdk.models -from visier_platform_sdk.models.plans_patch_response import PlansPatchResponse - -class TestPlansPatchResponse(unittest.TestCase): - """PlansPatchResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PlansPatchResponse: - """Test PlansPatchResponse - include_optional is a boolean, when False only required - params are included, when True both required and - optional params are included """ - - if include_optional: - return PlansPatchResponse( - actions_results = [ - visier_platform_sdk.models.plans_patch_response_action_result.PlansPatchResponseActionResult( - plan_id = '', - plans = [ - visier_platform_sdk.models.plan_patch_action_result.PlanPatchActionResult( - plan_id = '', - success = True, - error = None, ) - ], ) - ] - ) - else: - return PlansPatchResponse( - ) - - def testPlansPatchResponse(self): - """Test PlansPatchResponse""" - def validate_instance(instance): - PlansPatchResponse.model_validate(inst_req_only) - instance_deserialized = PlansPatchResponse.from_dict(instance.to_dict()) - assert instance == instance_deserialized - - inst_req_only = self.make_instance(include_optional=False) - validate_instance(inst_req_only) - - inst_req_and_optional = self.make_instance(include_optional=True) - validate_instance(inst_req_and_optional) - -if __name__ == '__main__': - unittest.main() diff --git a/src/visier_platform_sdk/test/test_population_configuration_dto.py b/src/visier_platform_sdk/test/test_population_configuration_dto.py index f4045daa53..17a9aae868 100644 --- a/src/visier_platform_sdk/test/test_population_configuration_dto.py +++ b/src/visier_platform_sdk/test/test_population_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_prediction_dto.py b/src/visier_platform_sdk/test/test_prediction_dto.py index e062d53009..1a0aa72bcc 100644 --- a/src/visier_platform_sdk/test/test_prediction_dto.py +++ b/src/visier_platform_sdk/test/test_prediction_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_predictions_dto.py b/src/visier_platform_sdk/test/test_predictions_dto.py index ad6b1cc5bd..5b4b177e92 100644 --- a/src/visier_platform_sdk/test/test_predictions_dto.py +++ b/src/visier_platform_sdk/test/test_predictions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_definition_dto.py b/src/visier_platform_sdk/test/test_process_concept_definition_dto.py index b54779e7ca..75d5eb7880 100644 --- a/src/visier_platform_sdk/test/test_process_concept_definition_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -58,16 +58,17 @@ def make_instance(self, include_optional) -> ProcessConceptDefinitionDTO: ], ), metric_list = visier_platform_sdk.models.process_concept_metric_list_dto.ProcessConceptMetricListDTO( metrics = [ - visier_platform_sdk.models.metric_definition_dto.MetricDefinitionDTO( + visier_platform_sdk.models.process_concept_metric_definition_dto.ProcessConceptMetricDefinitionDTO( uuid = '', object_name = '', basic_information = None, details = None, - additive_type = 'fullyAdditive', ) + additive_type = 'fullyAdditive', + version_information = None, ) ], ), property_list = visier_platform_sdk.models.process_concept_property_list_dto.ProcessConceptPropertyListDTO( properties = [ - visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( + visier_platform_sdk.models.process_concept_property_dto.ProcessConceptPropertyDTO( uuid = '', object_name = '', basic_information = None, diff --git a/src/visier_platform_sdk/test/test_process_concept_member_dto.py b/src/visier_platform_sdk/test/test_process_concept_member_dto.py index 94560741ff..8f5b96ae1d 100644 --- a/src/visier_platform_sdk/test/test_process_concept_member_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py index 279b6b6492..bbc1d23152 100644 --- a/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_member_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py b/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py index fdf544eebc..6eacb54a55 100644 --- a/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_metric_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,9 +35,22 @@ def make_instance(self, include_optional) -> ProcessConceptMetricDefinitionDTO: if include_optional: return ProcessConceptMetricDefinitionDTO( - formula = '', - data_type = '', - visible_in_analytics = True + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + details = visier_platform_sdk.models.process_concept_metric_type_details_dto.ProcessConceptMetricTypeDetailsDTO( + process_concept = None, ), + additive_type = 'fullyAdditive', + version_information = visier_platform_sdk.models.version_information_dto.VersionInformationDTO( + version_type = 'Unknown', + edited = '', + editor = '', ) ) else: return ProcessConceptMetricDefinitionDTO( diff --git a/src/visier_platform_sdk/test/test_process_concept_metric_details_dto.py b/src/visier_platform_sdk/test/test_process_concept_metric_details_dto.py new file mode 100644 index 0000000000..dfd98edf09 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_metric_details_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_metric_details_dto import ProcessConceptMetricDetailsDTO + +class TestProcessConceptMetricDetailsDTO(unittest.TestCase): + """ProcessConceptMetricDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptMetricDetailsDTO: + """Test ProcessConceptMetricDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptMetricDetailsDTO( + formula = '', + data_type = '', + visible_in_analytics = True + ) + else: + return ProcessConceptMetricDetailsDTO( + ) + + def testProcessConceptMetricDetailsDTO(self): + """Test ProcessConceptMetricDetailsDTO""" + def validate_instance(instance): + ProcessConceptMetricDetailsDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptMetricDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py index 735fb2e64d..f75e36b5a3 100644 --- a/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_metric_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,12 +36,13 @@ def make_instance(self, include_optional) -> ProcessConceptMetricListDTO: if include_optional: return ProcessConceptMetricListDTO( metrics = [ - visier_platform_sdk.models.metric_definition_dto.MetricDefinitionDTO( + visier_platform_sdk.models.process_concept_metric_definition_dto.ProcessConceptMetricDefinitionDTO( uuid = '', object_name = '', basic_information = None, details = None, - additive_type = 'fullyAdditive', ) + additive_type = 'fullyAdditive', + version_information = None, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_process_concept_metric_type_details_dto.py b/src/visier_platform_sdk/test/test_process_concept_metric_type_details_dto.py new file mode 100644 index 0000000000..0cb965bafd --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_metric_type_details_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_metric_type_details_dto import ProcessConceptMetricTypeDetailsDTO + +class TestProcessConceptMetricTypeDetailsDTO(unittest.TestCase): + """ProcessConceptMetricTypeDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptMetricTypeDetailsDTO: + """Test ProcessConceptMetricTypeDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptMetricTypeDetailsDTO( + process_concept = visier_platform_sdk.models.process_concept_metric_details_dto.ProcessConceptMetricDetailsDTO( + formula = '', + data_type = '', + visible_in_analytics = True, ) + ) + else: + return ProcessConceptMetricTypeDetailsDTO( + ) + + def testProcessConceptMetricTypeDetailsDTO(self): + """Test ProcessConceptMetricTypeDetailsDTO""" + def validate_instance(instance): + ProcessConceptMetricTypeDetailsDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptMetricTypeDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py b/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py index 137e88624b..0cc4016073 100644 --- a/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_outcome_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py index f727edd81b..9e29eb2b96 100644 --- a/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_outcome_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_property_details_dto.py b/src/visier_platform_sdk/test/test_process_concept_property_details_dto.py new file mode 100644 index 0000000000..d04f4d0ab8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_property_details_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_property_details_dto import ProcessConceptPropertyDetailsDTO + +class TestProcessConceptPropertyDetailsDTO(unittest.TestCase): + """ProcessConceptPropertyDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptPropertyDetailsDTO: + """Test ProcessConceptPropertyDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptPropertyDetailsDTO( + process_concept = visier_platform_sdk.models.process_concept_property_type_dto.ProcessConceptPropertyTypeDTO( + data_type = '', + primitive_type = '', + formula = '', ) + ) + else: + return ProcessConceptPropertyDetailsDTO( + ) + + def testProcessConceptPropertyDetailsDTO(self): + """Test ProcessConceptPropertyDetailsDTO""" + def validate_instance(instance): + ProcessConceptPropertyDetailsDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptPropertyDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_property_dto.py b/src/visier_platform_sdk/test/test_process_concept_property_dto.py new file mode 100644 index 0000000000..0d5d666628 --- /dev/null +++ b/src/visier_platform_sdk/test/test_process_concept_property_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.process_concept_property_dto import ProcessConceptPropertyDTO + +class TestProcessConceptPropertyDTO(unittest.TestCase): + """ProcessConceptPropertyDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProcessConceptPropertyDTO: + """Test ProcessConceptPropertyDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProcessConceptPropertyDTO( + uuid = '', + object_name = '', + basic_information = visier_platform_sdk.models.basic_information_dto.BasicInformationDTO( + display_name = '', + short_display_name = '', + description = '', + explanation = '', + designer_notes = '', + synonym_list = None, ), + details = visier_platform_sdk.models.process_concept_property_details_dto.ProcessConceptPropertyDetailsDTO( + process_concept = None, ) + ) + else: + return ProcessConceptPropertyDTO( + ) + + def testProcessConceptPropertyDTO(self): + """Test ProcessConceptPropertyDTO""" + def validate_instance(instance): + ProcessConceptPropertyDTO.model_validate(inst_req_only) + instance_deserialized = ProcessConceptPropertyDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py index f1fad9fc51..752fe5b83f 100644 --- a/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_property_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,7 +36,7 @@ def make_instance(self, include_optional) -> ProcessConceptPropertyListDTO: if include_optional: return ProcessConceptPropertyListDTO( properties = [ - visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( + visier_platform_sdk.models.process_concept_property_dto.ProcessConceptPropertyDTO( uuid = '', object_name = '', basic_information = None, diff --git a/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py b/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py index b863613bdc..91a1323478 100644 --- a/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_stage_dto.py b/src/visier_platform_sdk/test/test_process_concept_stage_dto.py index ce8602790f..59cbd0dc2c 100644 --- a/src/visier_platform_sdk/test/test_process_concept_stage_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_stage_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py b/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py index be397336a4..fec3e0f292 100644 --- a/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py +++ b/src/visier_platform_sdk/test/test_process_concept_stage_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_processing_job.py b/src/visier_platform_sdk/test/test_processing_job.py index f64e395596..23749dc5eb 100644 --- a/src/visier_platform_sdk/test/test_processing_job.py +++ b/src/visier_platform_sdk/test/test_processing_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_processing_job_and_status_response.py b/src/visier_platform_sdk/test/test_processing_job_and_status_response.py index 25fa6bbd16..2cc12e8e79 100644 --- a/src/visier_platform_sdk/test/test_processing_job_and_status_response.py +++ b/src/visier_platform_sdk/test/test_processing_job_and_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_processing_job_request_dto.py b/src/visier_platform_sdk/test/test_processing_job_request_dto.py index d5e983b844..e6cbbdcb05 100644 --- a/src/visier_platform_sdk/test/test_processing_job_request_dto.py +++ b/src/visier_platform_sdk/test/test_processing_job_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_processing_job_status_response.py b/src/visier_platform_sdk/test/test_processing_job_status_response.py index e95a2598e0..03d7e64dcf 100644 --- a/src/visier_platform_sdk/test/test_processing_job_status_response.py +++ b/src/visier_platform_sdk/test/test_processing_job_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_release_dto.py b/src/visier_platform_sdk/test/test_product_release_dto.py index 539f8bcadb..efe2c6d595 100644 --- a/src/visier_platform_sdk/test/test_product_release_dto.py +++ b/src/visier_platform_sdk/test/test_product_release_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_releases_dto.py b/src/visier_platform_sdk/test/test_product_releases_dto.py index 225022eac4..83f720d231 100644 --- a/src/visier_platform_sdk/test/test_product_releases_dto.py +++ b/src/visier_platform_sdk/test/test_product_releases_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_version_dto.py b/src/visier_platform_sdk/test/test_product_version_dto.py index 800dd440db..b466db3a6d 100644 --- a/src/visier_platform_sdk/test/test_product_version_dto.py +++ b/src/visier_platform_sdk/test/test_product_version_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_versions_dto.py b/src/visier_platform_sdk/test/test_product_versions_dto.py index ef9da8c591..ec34733bd2 100644 --- a/src/visier_platform_sdk/test/test_product_versions_dto.py +++ b/src/visier_platform_sdk/test/test_product_versions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py b/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py index 9cfd7f0c6f..84d9b3b2b7 100644 --- a/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py +++ b/src/visier_platform_sdk/test/test_product_versions_update_failure_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py b/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py index 5becb9a82a..6df0a9ffba 100644 --- a/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py +++ b/src/visier_platform_sdk/test/test_product_versions_update_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py b/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py index 2ea9c40ac9..52065c7099 100644 --- a/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py +++ b/src/visier_platform_sdk/test/test_product_versions_update_successful_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py index 6a36f3ba1c..a14ca275ae 100644 --- a/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py +++ b/src/visier_platform_sdk/test/test_production_version_api_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py b/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py index f92e14e95c..ff6c90ebdc 100644 --- a/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py +++ b/src/visier_platform_sdk/test/test_production_version_api_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_production_versions_api.py b/src/visier_platform_sdk/test/test_production_versions_api.py index f8a489e8ca..1d725d438d 100644 --- a/src/visier_platform_sdk/test/test_production_versions_api.py +++ b/src/visier_platform_sdk/test/test_production_versions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py index cb56c7b825..77a770d380 100644 --- a/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py +++ b/src/visier_platform_sdk/test/test_production_versions_api_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py b/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py index 7a1182822b..54143f3d29 100644 --- a/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py +++ b/src/visier_platform_sdk/test/test_production_versions_api_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py index 9606ebe210..f0fbf9310a 100644 --- a/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_profile_assigned_for_accessible_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py index 3503cc426c..ee58897bd7 100644 --- a/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_profile_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_profile_assignment_dto.py index 7a2525919f..23bc7e04ff 100644 --- a/src/visier_platform_sdk/test/test_profile_assignment_dto.py +++ b/src/visier_platform_sdk/test/test_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py b/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py index 74225c75ba..48eb11f52b 100644 --- a/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_profile_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_profiles_api.py b/src/visier_platform_sdk/test/test_profiles_api.py index 5918f776e9..b8f56081ab 100644 --- a/src/visier_platform_sdk/test/test_profiles_api.py +++ b/src/visier_platform_sdk/test/test_profiles_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py b/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py index d2a424dc67..80a99a3dc6 100644 --- a/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_profiles_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_project_commit_dto.py b/src/visier_platform_sdk/test/test_project_commit_dto.py new file mode 100644 index 0000000000..609cbbe6c8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_project_commit_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.project_commit_dto import ProjectCommitDTO + +class TestProjectCommitDTO(unittest.TestCase): + """ProjectCommitDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ProjectCommitDTO: + """Test ProjectCommitDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return ProjectCommitDTO( + id = '', + name = '', + description = '' + ) + else: + return ProjectCommitDTO( + ) + + def testProjectCommitDTO(self): + """Test ProjectCommitDTO""" + def validate_instance(instance): + ProjectCommitDTO.model_validate(inst_req_only) + instance_deserialized = ProjectCommitDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py b/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py index 7f2cb39bfc..fd995219f1 100644 --- a/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_project_commits_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_project_dto.py b/src/visier_platform_sdk/test/test_project_dto.py index 2c5fc978f9..861b61cc82 100644 --- a/src/visier_platform_sdk/test/test_project_dto.py +++ b/src/visier_platform_sdk/test/test_project_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_project_operation_request_dto.py b/src/visier_platform_sdk/test/test_project_operation_request_dto.py index f7bac74672..00ac4d75e7 100644 --- a/src/visier_platform_sdk/test/test_project_operation_request_dto.py +++ b/src/visier_platform_sdk/test/test_project_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_project_operation_response_dto.py b/src/visier_platform_sdk/test/test_project_operation_response_dto.py index 354f74ec9b..b3724d7348 100644 --- a/src/visier_platform_sdk/test/test_project_operation_response_dto.py +++ b/src/visier_platform_sdk/test/test_project_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_projects_api.py b/src/visier_platform_sdk/test/test_projects_api.py index 8d6763af0b..5e522c3f1b 100644 --- a/src/visier_platform_sdk/test/test_projects_api.py +++ b/src/visier_platform_sdk/test/test_projects_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py b/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py index 36563eaa39..68ca8b1134 100644 --- a/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py +++ b/src/visier_platform_sdk/test/test_properties_change_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py index b2c77400cc..8f932cf38d 100644 --- a/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py +++ b/src/visier_platform_sdk/test/test_properties_delete_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_properties_dto.py b/src/visier_platform_sdk/test/test_properties_dto.py index 2ed72da3c1..681e239eab 100644 --- a/src/visier_platform_sdk/test/test_properties_dto.py +++ b/src/visier_platform_sdk/test/test_properties_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -44,10 +44,10 @@ def make_instance(self, include_optional) -> PropertiesDTO: primitive_data_type = '', parameters = [ visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) + metric_filter_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) ], tags = [ visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( diff --git a/src/visier_platform_sdk/test/test_property_access_config_dto.py b/src/visier_platform_sdk/test/test_property_access_config_dto.py index 1a68961589..47582b9981 100644 --- a/src/visier_platform_sdk/test/test_property_access_config_dto.py +++ b/src/visier_platform_sdk/test/test_property_access_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py b/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py index 61315bfdd6..86e4bc672f 100644 --- a/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py +++ b/src/visier_platform_sdk/test/test_property_bulk_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_change_definition_dto.py b/src/visier_platform_sdk/test/test_property_change_definition_dto.py index 9681979f9d..ea6397331c 100644 --- a/src/visier_platform_sdk/test/test_property_change_definition_dto.py +++ b/src/visier_platform_sdk/test/test_property_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py index b3f286e2e8..9c54de55a6 100644 --- a/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_property_change_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_column_dto.py b/src/visier_platform_sdk/test/test_property_column_dto.py index 34d9e8ca82..7799da8975 100644 --- a/src/visier_platform_sdk/test/test_property_column_dto.py +++ b/src/visier_platform_sdk/test/test_property_column_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_definition_dto.py b/src/visier_platform_sdk/test/test_property_definition_dto.py index ffb0138d30..8a3f833799 100644 --- a/src/visier_platform_sdk/test/test_property_definition_dto.py +++ b/src/visier_platform_sdk/test/test_property_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -47,8 +47,17 @@ def make_instance(self, include_optional) -> PropertyDefinitionDTO: details = visier_platform_sdk.models.property_type_details_dto.PropertyTypeDetailsDTO( simple = None, calculated = None, - process_concept = None, - multi_value = None, ) + multi_value = None, ), + tag_list = visier_platform_sdk.models.tag_reference_list_dto.TagReferenceListDTO( + tags = [ + visier_platform_sdk.models.tag_reference_dto.TagReferenceDTO( + object_name = '', ) + ], ), + include_with_vee = True, + version_information = visier_platform_sdk.models.version_information_dto.VersionInformationDTO( + version_type = 'Unknown', + edited = '', + editor = '', ) ) else: return PropertyDefinitionDTO( diff --git a/src/visier_platform_sdk/test/test_property_definition_list_dto.py b/src/visier_platform_sdk/test/test_property_definition_list_dto.py index 3b01fa05a4..445d9355dd 100644 --- a/src/visier_platform_sdk/test/test_property_definition_list_dto.py +++ b/src/visier_platform_sdk/test/test_property_definition_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,12 +35,15 @@ def make_instance(self, include_optional) -> PropertyDefinitionListDTO: if include_optional: return PropertyDefinitionListDTO( - property_list = [ + properties = [ visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( uuid = '', object_name = '', basic_information = None, - details = None, ) + details = None, + tag_list = None, + include_with_vee = True, + version_information = None, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py index 57874cb501..58c3beecd4 100644 --- a/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_property_delete_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_delete_failure_dto.py b/src/visier_platform_sdk/test/test_property_delete_failure_dto.py index a555b73e86..f3497c2e7e 100644 --- a/src/visier_platform_sdk/test/test_property_delete_failure_dto.py +++ b/src/visier_platform_sdk/test/test_property_delete_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_delete_success_dto.py b/src/visier_platform_sdk/test/test_property_delete_success_dto.py index 049b87507c..8585c2ba47 100644 --- a/src/visier_platform_sdk/test/test_property_delete_success_dto.py +++ b/src/visier_platform_sdk/test/test_property_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_dependency_dto.py b/src/visier_platform_sdk/test/test_property_dependency_dto.py index d9d680829b..d564253986 100644 --- a/src/visier_platform_sdk/test/test_property_dependency_dto.py +++ b/src/visier_platform_sdk/test/test_property_dependency_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_dependency_list_dto.py b/src/visier_platform_sdk/test/test_property_dependency_list_dto.py index 0484f8e942..1df6a5b842 100644 --- a/src/visier_platform_sdk/test/test_property_dependency_list_dto.py +++ b/src/visier_platform_sdk/test/test_property_dependency_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_dto.py b/src/visier_platform_sdk/test/test_property_dto.py index 0d5ff4f60f..8e2033325d 100644 --- a/src/visier_platform_sdk/test/test_property_dto.py +++ b/src/visier_platform_sdk/test/test_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,10 +42,10 @@ def make_instance(self, include_optional) -> PropertyDTO: primitive_data_type = '', parameters = [ visier_platform_sdk.models.parameter_definition_dto.ParameterDefinitionDTO( - member_parameter = None, - numeric_parameter = None, - plan_parameter = None, - aggregation_type_parameter = None, ) + metric_filter_value = None, + numeric_value = None, + plan_value = None, + aggregation_type_value = None, ) ], tags = [ visier_platform_sdk.models.tag_map_element_dto.TagMapElementDTO( diff --git a/src/visier_platform_sdk/test/test_property_reference_dto.py b/src/visier_platform_sdk/test/test_property_reference_dto.py index 159980b597..9aa71c6d7c 100644 --- a/src/visier_platform_sdk/test/test_property_reference_dto.py +++ b/src/visier_platform_sdk/test/test_property_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_set_config_dto.py b/src/visier_platform_sdk/test/test_property_set_config_dto.py index 214115b4f3..b0175732a0 100644 --- a/src/visier_platform_sdk/test/test_property_set_config_dto.py +++ b/src/visier_platform_sdk/test/test_property_set_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_property_type_details_dto.py b/src/visier_platform_sdk/test/test_property_type_details_dto.py index 4a04d8a20b..e3ff25876a 100644 --- a/src/visier_platform_sdk/test/test_property_type_details_dto.py +++ b/src/visier_platform_sdk/test/test_property_type_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -42,10 +42,6 @@ def make_instance(self, include_optional) -> PropertyTypeDetailsDTO: data_type = '', primitive_type = '', formula = '', ), - process_concept = visier_platform_sdk.models.process_concept_property_type_dto.ProcessConceptPropertyTypeDTO( - data_type = '', - primitive_type = '', - formula = '', ), multi_value = visier_platform_sdk.models.multi_value_property_type_dto.MultiValuePropertyTypeDTO( data_type = '', ) ) diff --git a/src/visier_platform_sdk/test/test_property_type_dto.py b/src/visier_platform_sdk/test/test_property_type_dto.py index 71ea5b048c..068ece5946 100644 --- a/src/visier_platform_sdk/test/test_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_public_key_dto.py b/src/visier_platform_sdk/test/test_public_key_dto.py index 328eed1115..b40d46c593 100644 --- a/src/visier_platform_sdk/test/test_public_key_dto.py +++ b/src/visier_platform_sdk/test/test_public_key_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_public_keys_dto.py b/src/visier_platform_sdk/test/test_public_keys_dto.py index 923ef429b3..a10bd675a1 100644 --- a/src/visier_platform_sdk/test/test_public_keys_dto.py +++ b/src/visier_platform_sdk/test/test_public_keys_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_cancel_response.py b/src/visier_platform_sdk/test/test_push_data_cancel_response.py index da12e41156..0c7278f680 100644 --- a/src/visier_platform_sdk/test/test_push_data_cancel_response.py +++ b/src/visier_platform_sdk/test/test_push_data_cancel_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py b/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py index a1453aa9f3..c2197a0024 100644 --- a/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py +++ b/src/visier_platform_sdk/test/test_push_data_column_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_complete_request.py b/src/visier_platform_sdk/test/test_push_data_complete_request.py index 9d5296d213..521317572e 100644 --- a/src/visier_platform_sdk/test/test_push_data_complete_request.py +++ b/src/visier_platform_sdk/test/test_push_data_complete_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_complete_response.py b/src/visier_platform_sdk/test/test_push_data_complete_response.py index d60388a4ba..1c5e7c61fe 100644 --- a/src/visier_platform_sdk/test/test_push_data_complete_response.py +++ b/src/visier_platform_sdk/test/test_push_data_complete_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_response.py b/src/visier_platform_sdk/test/test_push_data_response.py index e32e26c203..5f8ba00c43 100644 --- a/src/visier_platform_sdk/test/test_push_data_response.py +++ b/src/visier_platform_sdk/test/test_push_data_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py b/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py index e80318d685..f037692734 100644 --- a/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py +++ b/src/visier_platform_sdk/test/test_push_data_source_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py b/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py index 9efb45a7f3..ac23284dc0 100644 --- a/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py +++ b/src/visier_platform_sdk/test/test_push_data_source_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py b/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py index b404410fad..d78e792fd9 100644 --- a/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_qualtrics_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_axis_dto.py b/src/visier_platform_sdk/test/test_query_axis_dto.py index 0cac524401..0fe0186e09 100644 --- a/src/visier_platform_sdk/test/test_query_axis_dto.py +++ b/src/visier_platform_sdk/test/test_query_axis_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> QueryAxisDTO: return QueryAxisDTO( formula = '', selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( - name = '', + id = '', qualifying_path = '', ), dimension_member_selection = visier_platform_sdk.models.query_dimension_member_selection_dto.QueryDimensionMemberSelectionDTO( dimension = None, diff --git a/src/visier_platform_sdk/test/test_query_axis_options_dto.py b/src/visier_platform_sdk/test/test_query_axis_options_dto.py index c83e921a08..1086474c1b 100644 --- a/src/visier_platform_sdk/test/test_query_axis_options_dto.py +++ b/src/visier_platform_sdk/test/test_query_axis_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py index bf432dca74..87c134e4f4 100644 --- a/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py +++ b/src/visier_platform_sdk/test/test_query_dimension_data_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py index ead8fa2ac2..84e5a86e57 100644 --- a/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py +++ b/src/visier_platform_sdk/test/test_query_dimension_leaf_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py b/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py index aa5f1421b3..276cd5d6fb 100644 --- a/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py +++ b/src/visier_platform_sdk/test/test_query_dimension_level_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py index c2f6bcb5bf..4f873ae9ef 100644 --- a/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py +++ b/src/visier_platform_sdk/test/test_query_dimension_level_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py b/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py index 9edaf2d90c..5100b8eebf 100644 --- a/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py +++ b/src/visier_platform_sdk/test/test_query_dimension_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py b/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py index c548307322..6d391a2de1 100644 --- a/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py +++ b/src/visier_platform_sdk/test/test_query_execution_error_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_execution_error_dto.py b/src/visier_platform_sdk/test/test_query_execution_error_dto.py index e3a667fe82..c6b19f62ef 100644 --- a/src/visier_platform_sdk/test/test_query_execution_error_dto.py +++ b/src/visier_platform_sdk/test/test_query_execution_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_execution_errors_dto.py b/src/visier_platform_sdk/test/test_query_execution_errors_dto.py index 32833c9f39..1d76289e61 100644 --- a/src/visier_platform_sdk/test/test_query_execution_errors_dto.py +++ b/src/visier_platform_sdk/test/test_query_execution_errors_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_filter_dto.py b/src/visier_platform_sdk/test/test_query_filter_dto.py index 1f48aab85d..4704182326 100644 --- a/src/visier_platform_sdk/test/test_query_filter_dto.py +++ b/src/visier_platform_sdk/test/test_query_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -37,7 +37,7 @@ def make_instance(self, include_optional) -> QueryFilterDTO: return QueryFilterDTO( formula = '', selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( - name = '', + id = '', qualifying_path = '', ), member_set = visier_platform_sdk.models.member_filter_dto.MemberFilterDTO( dimension = None, diff --git a/src/visier_platform_sdk/test/test_query_member_map_property_dto.py b/src/visier_platform_sdk/test/test_query_member_map_property_dto.py index 5fb053e1f0..ca87514db9 100644 --- a/src/visier_platform_sdk/test/test_query_member_map_property_dto.py +++ b/src/visier_platform_sdk/test/test_query_member_map_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py b/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py index c93f43d003..a111a5c08a 100644 --- a/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py +++ b/src/visier_platform_sdk/test/test_query_member_map_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py b/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py index 575c03898f..202beed436 100644 --- a/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py +++ b/src/visier_platform_sdk/test/test_query_numeric_ranges_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_parameter_value_dto.py b/src/visier_platform_sdk/test/test_query_parameter_value_dto.py index 445b0fc5bf..e7beba0b29 100644 --- a/src/visier_platform_sdk/test/test_query_parameter_value_dto.py +++ b/src/visier_platform_sdk/test/test_query_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -49,10 +49,25 @@ def make_instance(self, include_optional) -> QueryParameterValueDTO: parameter_id = '', plan_id = '', scenario_id = '', - snapshot_id = '', ), + snapshot_id = '', + exploration_snapshot_id = '', ), aggregation_type_value = visier_platform_sdk.models.aggregation_type_parameter_value_dto.AggregationTypeParameterValueDTO( parameter_id = '', - aggregation_option_id = '', ) + aggregation_option_id = '', ), + subject_member_set_value = visier_platform_sdk.models.subject_member_set_parameter_value_dto.SubjectMemberSetParameterValueDTO( + parameter_id = '', + key_name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto.SubjectMemberSetParameterValueDTO_NamePathDTO( + name_path = [ + '' + ], ) + ], + value_name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_list_of_name_path_dto.SubjectMemberSetParameterValueDTO_ListOfNamePathDTO( + name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto.SubjectMemberSetParameterValueDTO_NamePathDTO() + ], ) + ], ) ) else: return QueryParameterValueDTO( diff --git a/src/visier_platform_sdk/test/test_query_property_dto.py b/src/visier_platform_sdk/test/test_query_property_dto.py index 1943f75163..80f54388dc 100644 --- a/src/visier_platform_sdk/test/test_query_property_dto.py +++ b/src/visier_platform_sdk/test/test_query_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -40,7 +40,7 @@ def make_instance(self, include_optional) -> QueryPropertyDTO: name = '', qualifying_path = '', ), selection_concept = visier_platform_sdk.models.selection_concept_reference_dto.SelectionConceptReferenceDTO( - name = '', + id = '', qualifying_path = '', ), dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( object_name = '', ), diff --git a/src/visier_platform_sdk/test/test_query_time_interval_dto.py b/src/visier_platform_sdk/test/test_query_time_interval_dto.py index 15b533ad35..27dad34623 100644 --- a/src/visier_platform_sdk/test/test_query_time_interval_dto.py +++ b/src/visier_platform_sdk/test/test_query_time_interval_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_interval_dto_with_dynamic_date_from.py b/src/visier_platform_sdk/test/test_query_time_interval_dto_with_dynamic_date_from.py index a59c718d60..ebdb21ceb7 100644 --- a/src/visier_platform_sdk/test/test_query_time_interval_dto_with_dynamic_date_from.py +++ b/src/visier_platform_sdk/test/test_query_time_interval_dto_with_dynamic_date_from.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_datetime.py b/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_datetime.py index 0f83fd02c4..fdf7beda92 100644 --- a/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_datetime.py +++ b/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_datetime.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_instant.py b/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_instant.py index b00247c37b..4bbe8fe9d5 100644 --- a/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_instant.py +++ b/src/visier_platform_sdk/test/test_query_time_interval_dto_with_from_instant.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_intervals_dto.py b/src/visier_platform_sdk/test/test_query_time_intervals_dto.py index bd850576e7..995566cf0d 100644 --- a/src/visier_platform_sdk/test/test_query_time_intervals_dto.py +++ b/src/visier_platform_sdk/test/test_query_time_intervals_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_dynamic_date_from.py b/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_dynamic_date_from.py index 909350fca7..b45552b8f4 100644 --- a/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_dynamic_date_from.py +++ b/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_dynamic_date_from.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_datetime.py b/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_datetime.py index bd23789aff..ef59f957c8 100644 --- a/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_datetime.py +++ b/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_datetime.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_instant.py b/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_instant.py index e161efc4db..542835e42a 100644 --- a/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_instant.py +++ b/src/visier_platform_sdk/test/test_query_time_intervals_dto_with_from_instant.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py b/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py index 4e9738bd3c..14ceab5058 100644 --- a/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_question_categories_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -38,7 +38,8 @@ def make_instance(self, include_optional) -> QuestionCategoriesAPIResponseDTO: categories = [ visier_platform_sdk.models.question_category_api_response_dto.QuestionCategoryAPIResponseDTO( category_id = '', - display_name = '', ) + display_name = '', + category_icon = None, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_question_category_api_response_dto.py b/src/visier_platform_sdk/test/test_question_category_api_response_dto.py index 9798d24034..79f01cd488 100644 --- a/src/visier_platform_sdk/test/test_question_category_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_question_category_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,7 +36,10 @@ def make_instance(self, include_optional) -> QuestionCategoryAPIResponseDTO: if include_optional: return QuestionCategoryAPIResponseDTO( category_id = '', - display_name = '' + display_name = '', + category_icon = visier_platform_sdk.models.category_icon_dto.CategoryIconDTO( + base64_image = '', + background_color = '', ) ) else: return QuestionCategoryAPIResponseDTO( diff --git a/src/visier_platform_sdk/test/test_receiving_job.py b/src/visier_platform_sdk/test/test_receiving_job.py index 3896ec8def..389d4e3b90 100644 --- a/src/visier_platform_sdk/test/test_receiving_job.py +++ b/src/visier_platform_sdk/test/test_receiving_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py b/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py index 88e3bc894c..c41114e7bd 100644 --- a/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py +++ b/src/visier_platform_sdk/test/test_receiving_job_and_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_receiving_job_extracted_file_response_dto.py b/src/visier_platform_sdk/test/test_receiving_job_extracted_file_response_dto.py index 99c3274dee..313324ab02 100644 --- a/src/visier_platform_sdk/test/test_receiving_job_extracted_file_response_dto.py +++ b/src/visier_platform_sdk/test/test_receiving_job_extracted_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_receiving_job_extracted_files_for_tenant_response_dto.py b/src/visier_platform_sdk/test/test_receiving_job_extracted_files_for_tenant_response_dto.py index 566d11c9ba..9fa9f1916c 100644 --- a/src/visier_platform_sdk/test/test_receiving_job_extracted_files_for_tenant_response_dto.py +++ b/src/visier_platform_sdk/test/test_receiving_job_extracted_files_for_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_receiving_job_extracted_files_list_response_dto.py b/src/visier_platform_sdk/test/test_receiving_job_extracted_files_list_response_dto.py index efba9a81a8..e4dd1cd8fd 100644 --- a/src/visier_platform_sdk/test/test_receiving_job_extracted_files_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_receiving_job_extracted_files_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_receiving_job_status_response.py b/src/visier_platform_sdk/test/test_receiving_job_status_response.py index ea326c7aef..e16b1857c4 100644 --- a/src/visier_platform_sdk/test/test_receiving_job_status_response.py +++ b/src/visier_platform_sdk/test/test_receiving_job_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py b/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py index dba2717d4a..49f63b9afb 100644 --- a/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_redshift_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_reduced_error_dto.py b/src/visier_platform_sdk/test/test_reduced_error_dto.py index 6e9b6dc4cb..62a11f880b 100644 --- a/src/visier_platform_sdk/test/test_reduced_error_dto.py +++ b/src/visier_platform_sdk/test/test_reduced_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py b/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py index ecf1d64ccf..dd162fb405 100644 --- a/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py +++ b/src/visier_platform_sdk/test/test_reduced_tenant_code_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py b/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py index 7a35b62950..4930434fed 100644 --- a/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py +++ b/src/visier_platform_sdk/test/test_reduced_user_id_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_related_analytic_object_dto.py b/src/visier_platform_sdk/test/test_related_analytic_object_dto.py index cf1c1ccd2f..e4a7db1b23 100644 --- a/src/visier_platform_sdk/test/test_related_analytic_object_dto.py +++ b/src/visier_platform_sdk/test/test_related_analytic_object_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_relative_time_expression_dto.py b/src/visier_platform_sdk/test/test_relative_time_expression_dto.py new file mode 100644 index 0000000000..7536e8b7b6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_relative_time_expression_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.relative_time_expression_dto import RelativeTimeExpressionDTO + +class TestRelativeTimeExpressionDTO(unittest.TestCase): + """RelativeTimeExpressionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RelativeTimeExpressionDTO: + """Test RelativeTimeExpressionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RelativeTimeExpressionDTO( + anchor = 'INTERVAL_START', + time_selection = visier_platform_sdk.models.relative_time_selection_dto.RelativeTimeSelectionDTO( + period_type = '', + forward = 56, + back = 56, ), + time_shift = visier_platform_sdk.models.relative_time_shift_dto.RelativeTimeShiftDTO( + period_type = '', + time_shift = 56, ) + ) + else: + return RelativeTimeExpressionDTO( + ) + + def testRelativeTimeExpressionDTO(self): + """Test RelativeTimeExpressionDTO""" + def validate_instance(instance): + RelativeTimeExpressionDTO.model_validate(inst_req_only) + instance_deserialized = RelativeTimeExpressionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_relative_time_period_dto.py b/src/visier_platform_sdk/test/test_relative_time_period_dto.py new file mode 100644 index 0000000000..47b35893ce --- /dev/null +++ b/src/visier_platform_sdk/test/test_relative_time_period_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.relative_time_period_dto import RelativeTimePeriodDTO + +class TestRelativeTimePeriodDTO(unittest.TestCase): + """RelativeTimePeriodDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RelativeTimePeriodDTO: + """Test RelativeTimePeriodDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RelativeTimePeriodDTO( + allow_partial_period = True, + period_type = 'MONTH', + period_count = 56, + direction = 'BACKWARD' + ) + else: + return RelativeTimePeriodDTO( + ) + + def testRelativeTimePeriodDTO(self): + """Test RelativeTimePeriodDTO""" + def validate_instance(instance): + RelativeTimePeriodDTO.model_validate(inst_req_only) + instance_deserialized = RelativeTimePeriodDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_relative_time_selection_dto.py b/src/visier_platform_sdk/test/test_relative_time_selection_dto.py new file mode 100644 index 0000000000..32b8b69de9 --- /dev/null +++ b/src/visier_platform_sdk/test/test_relative_time_selection_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.relative_time_selection_dto import RelativeTimeSelectionDTO + +class TestRelativeTimeSelectionDTO(unittest.TestCase): + """RelativeTimeSelectionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RelativeTimeSelectionDTO: + """Test RelativeTimeSelectionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RelativeTimeSelectionDTO( + period_type = '', + forward = 56, + back = 56 + ) + else: + return RelativeTimeSelectionDTO( + ) + + def testRelativeTimeSelectionDTO(self): + """Test RelativeTimeSelectionDTO""" + def validate_instance(instance): + RelativeTimeSelectionDTO.model_validate(inst_req_only) + instance_deserialized = RelativeTimeSelectionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_relative_time_shift_dto.py b/src/visier_platform_sdk/test/test_relative_time_shift_dto.py new file mode 100644 index 0000000000..13253b703a --- /dev/null +++ b/src/visier_platform_sdk/test/test_relative_time_shift_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.relative_time_shift_dto import RelativeTimeShiftDTO + +class TestRelativeTimeShiftDTO(unittest.TestCase): + """RelativeTimeShiftDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RelativeTimeShiftDTO: + """Test RelativeTimeShiftDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RelativeTimeShiftDTO( + period_type = '', + time_shift = 56 + ) + else: + return RelativeTimeShiftDTO( + ) + + def testRelativeTimeShiftDTO(self): + """Test RelativeTimeShiftDTO""" + def validate_instance(instance): + RelativeTimeShiftDTO.model_validate(inst_req_only) + instance_deserialized = RelativeTimeShiftDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_plans_patch_request.py b/src/visier_platform_sdk/test/test_relative_to_rule_dto.py similarity index 63% rename from src/visier_platform_sdk/test/test_plans_patch_request.py rename to src/visier_platform_sdk/test/test_relative_to_rule_dto.py index bb27045912..7c4d5f6671 100644 --- a/src/visier_platform_sdk/test/test_plans_patch_request.py +++ b/src/visier_platform_sdk/test/test_relative_to_rule_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.plans_patch_request import PlansPatchRequest +from visier_platform_sdk.models.relative_to_rule_dto import RelativeToRuleDTO -class TestPlansPatchRequest(unittest.TestCase): - """PlansPatchRequest unit test stubs""" +class TestRelativeToRuleDTO(unittest.TestCase): + """RelativeToRuleDTO unit test stubs""" def setUp(self): pass @@ -27,27 +27,26 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PlansPatchRequest: - """Test PlansPatchRequest + def make_instance(self, include_optional) -> RelativeToRuleDTO: + """Test RelativeToRuleDTO include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return PlansPatchRequest( - plans = [ - null - ] + return RelativeToRuleDTO( + rule_predicate = 'LESS_THAN', + comparand = 1.337 ) else: - return PlansPatchRequest( + return RelativeToRuleDTO( ) - def testPlansPatchRequest(self): - """Test PlansPatchRequest""" + def testRelativeToRuleDTO(self): + """Test RelativeToRuleDTO""" def validate_instance(instance): - PlansPatchRequest.model_validate(inst_req_only) - instance_deserialized = PlansPatchRequest.from_dict(instance.to_dict()) + RelativeToRuleDTO.model_validate(inst_req_only) + instance_deserialized = RelativeToRuleDTO.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_release_version_configuration_api.py b/src/visier_platform_sdk/test/test_release_version_configuration_api.py index e1e7f89ea5..9a43e71958 100644 --- a/src/visier_platform_sdk/test/test_release_version_configuration_api.py +++ b/src/visier_platform_sdk/test/test_release_version_configuration_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_reopen_action_payload.py b/src/visier_platform_sdk/test/test_reopen_action_payload.py index 90be394ac8..bf10467fcf 100644 --- a/src/visier_platform_sdk/test/test_reopen_action_payload.py +++ b/src/visier_platform_sdk/test/test_reopen_action_payload.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_report_create_request_dto.py b/src/visier_platform_sdk/test/test_report_create_request_dto.py index 81dbee1612..8cd604a4e6 100644 --- a/src/visier_platform_sdk/test/test_report_create_request_dto.py +++ b/src/visier_platform_sdk/test/test_report_create_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_report_delete_success_dto.py b/src/visier_platform_sdk/test/test_report_delete_success_dto.py index e1fe18db4e..bc418879af 100644 --- a/src/visier_platform_sdk/test/test_report_delete_success_dto.py +++ b/src/visier_platform_sdk/test/test_report_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_report_dto.py b/src/visier_platform_sdk/test/test_report_dto.py index a63fa5b02c..a95a1832be 100644 --- a/src/visier_platform_sdk/test/test_report_dto.py +++ b/src/visier_platform_sdk/test/test_report_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_report_list_response_dto.py b/src/visier_platform_sdk/test/test_report_list_response_dto.py index f40154f868..e403ac2d46 100644 --- a/src/visier_platform_sdk/test/test_report_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_report_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_reporting_api.py b/src/visier_platform_sdk/test/test_reporting_api.py index 54125561ef..9ea588246e 100644 --- a/src/visier_platform_sdk/test/test_reporting_api.py +++ b/src/visier_platform_sdk/test/test_reporting_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_result.py b/src/visier_platform_sdk/test/test_result.py index a11d89abf9..aa20df9387 100644 --- a/src/visier_platform_sdk/test/test_result.py +++ b/src/visier_platform_sdk/test/test_result.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_role_modules_config_dto.py b/src/visier_platform_sdk/test/test_role_modules_config_dto.py index 33a6bb591b..f812578808 100644 --- a/src/visier_platform_sdk/test/test_role_modules_config_dto.py +++ b/src/visier_platform_sdk/test/test_role_modules_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_rule_dto.py b/src/visier_platform_sdk/test/test_rule_dto.py new file mode 100644 index 0000000000..b84970e794 --- /dev/null +++ b/src/visier_platform_sdk/test/test_rule_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.rule_dto import RuleDTO + +class TestRuleDTO(unittest.TestCase): + """RuleDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RuleDTO: + """Test RuleDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RuleDTO( + relative_to_value_rule = visier_platform_sdk.models.relative_to_rule_dto.RelativeToRuleDTO( + rule_predicate = 'LESS_THAN', + comparand = 1.337, ), + between_values_rule = visier_platform_sdk.models.between_rule_dto.BetweenRuleDTO( + lower = 1.337, + upper = 1.337, ) + ) + else: + return RuleDTO( + ) + + def testRuleDTO(self): + """Test RuleDTO""" + def validate_instance(instance): + RuleDTO.model_validate(inst_req_only) + instance_deserialized = RuleDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_rule_set_dto.py b/src/visier_platform_sdk/test/test_rule_set_dto.py new file mode 100644 index 0000000000..7061dd6277 --- /dev/null +++ b/src/visier_platform_sdk/test/test_rule_set_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.rule_set_dto import RuleSetDTO + +class TestRuleSetDTO(unittest.TestCase): + """RuleSetDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RuleSetDTO: + """Test RuleSetDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return RuleSetDTO( + compare_to = visier_platform_sdk.models.compared_metric_dto.ComparedMetricDTO( + no_comparison = None, + same_metric_other_context = None, + same_metric_other_time = None, + other_metric = None, ), + rules = [ + visier_platform_sdk.models.rule_dto.RuleDTO( + relative_to_value_rule = None, + between_values_rule = None, ) + ] + ) + else: + return RuleSetDTO( + ) + + def testRuleSetDTO(self): + """Test RuleSetDTO""" + def validate_instance(instance): + RuleSetDTO.model_validate(inst_req_only) + instance_deserialized = RuleSetDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_salary_benchmark_feedback_input.py b/src/visier_platform_sdk/test/test_salary_benchmark_feedback_input.py new file mode 100644 index 0000000000..ce1b39af16 --- /dev/null +++ b/src/visier_platform_sdk/test/test_salary_benchmark_feedback_input.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.salary_benchmark_feedback_input import SalaryBenchmarkFeedbackInput + +class TestSalaryBenchmarkFeedbackInput(unittest.TestCase): + """SalaryBenchmarkFeedbackInput unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SalaryBenchmarkFeedbackInput: + """Test SalaryBenchmarkFeedbackInput + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SalaryBenchmarkFeedbackInput( + job = '', + location = '', + career_level = '', + industry = '', + company_size = '', + reference_date = '', + release_date = '', + naics_code = '', + additional_comments = '' + ) + else: + return SalaryBenchmarkFeedbackInput( + job = '', + location = '', + career_level = '', + industry = '', + company_size = '', + reference_date = '', + release_date = '', + ) + + def testSalaryBenchmarkFeedbackInput(self): + """Test SalaryBenchmarkFeedbackInput""" + def validate_instance(instance): + SalaryBenchmarkFeedbackInput.model_validate(inst_req_only) + instance_deserialized = SalaryBenchmarkFeedbackInput.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_salary_benchmark_input.py b/src/visier_platform_sdk/test/test_salary_benchmark_input.py index 913f76ffcf..1d27f5dd1a 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmark_input.py +++ b/src/visier_platform_sdk/test/test_salary_benchmark_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -41,7 +41,8 @@ def make_instance(self, include_optional) -> SalaryBenchmarkInput: naics_code = '', location = '', company_size = '', - career_level = '' + career_level = '', + match_date = '' ) else: return SalaryBenchmarkInput( diff --git a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py index 18f2c1b6f3..bdd0b1490c 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py +++ b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_failure_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py index dee76a5f73..085a50d5b3 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py +++ b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_outputs.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py index a9cee6068b..af24bf0138 100644 --- a/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py +++ b/src/visier_platform_sdk/test/test_salary_benchmarks_batch_processing_successful_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py b/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py index 37065723d2..9ff4fb780e 100644 --- a/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_salesforce_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py index 814725080c..d6fa37a4d0 100644 --- a/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_salesforce_v2_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_same_metric_other_context_dto.py b/src/visier_platform_sdk/test/test_same_metric_other_context_dto.py new file mode 100644 index 0000000000..75a804d685 --- /dev/null +++ b/src/visier_platform_sdk/test/test_same_metric_other_context_dto.py @@ -0,0 +1,67 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.same_metric_other_context_dto import SameMetricOtherContextDTO + +class TestSameMetricOtherContextDTO(unittest.TestCase): + """SameMetricOtherContextDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SameMetricOtherContextDTO: + """Test SameMetricOtherContextDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SameMetricOtherContextDTO( + filters = [ + visier_platform_sdk.models.filter_dto.FilterDTO( + selection_concept = None, + member_set = None, + concept_reference = None, + key_group = None, + persisted_cohort = None, + time_period = None, + numeric_range = None, ) + ] + ) + else: + return SameMetricOtherContextDTO( + ) + + def testSameMetricOtherContextDTO(self): + """Test SameMetricOtherContextDTO""" + def validate_instance(instance): + SameMetricOtherContextDTO.model_validate(inst_req_only) + instance_deserialized = SameMetricOtherContextDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_same_metric_other_time_dto.py b/src/visier_platform_sdk/test/test_same_metric_other_time_dto.py new file mode 100644 index 0000000000..4babb27afe --- /dev/null +++ b/src/visier_platform_sdk/test/test_same_metric_other_time_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.same_metric_other_time_dto import SameMetricOtherTimeDTO + +class TestSameMetricOtherTimeDTO(unittest.TestCase): + """SameMetricOtherTimeDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SameMetricOtherTimeDTO: + """Test SameMetricOtherTimeDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SameMetricOtherTimeDTO( + time_period = visier_platform_sdk.models.time_period_metadata_dto.TimePeriodMetadataDTO( + fixed = None, + previous_period = None, + same_period_previous_year = None, ) + ) + else: + return SameMetricOtherTimeDTO( + ) + + def testSameMetricOtherTimeDTO(self): + """Test SameMetricOtherTimeDTO""" + def validate_instance(instance): + SameMetricOtherTimeDTO.model_validate(inst_req_only) + instance_deserialized = SameMetricOtherTimeDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py b/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py index 10da0ec78b..34fb04764b 100644 --- a/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_sample_question_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py b/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py index 862b8ecf83..149175d762 100644 --- a/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_sample_questions_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_scenario_info_dto.py b/src/visier_platform_sdk/test/test_scenario_info_dto.py index 63dfd1a054..0e6b6a4f62 100644 --- a/src/visier_platform_sdk/test/test_scenario_info_dto.py +++ b/src/visier_platform_sdk/test/test_scenario_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py b/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py index 8d8c76f87c..ad0ff0d8ca 100644 --- a/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py +++ b/src/visier_platform_sdk/test/test_scenario_or_snapshot_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_search_api.py b/src/visier_platform_sdk/test/test_search_api.py index cac77b3044..e7d02c472a 100644 --- a/src/visier_platform_sdk/test/test_search_api.py +++ b/src/visier_platform_sdk/test/test_search_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_securable_dimension_dto.py b/src/visier_platform_sdk/test/test_securable_dimension_dto.py index 36b2334fc3..c32b74fbbc 100644 --- a/src/visier_platform_sdk/test/test_securable_dimension_dto.py +++ b/src/visier_platform_sdk/test/test_securable_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_securable_property_dto.py b/src/visier_platform_sdk/test/test_securable_property_dto.py index 7ba24a287e..d877d21600 100644 --- a/src/visier_platform_sdk/test/test_securable_property_dto.py +++ b/src/visier_platform_sdk/test/test_securable_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_security_assignment_response_dto.py b/src/visier_platform_sdk/test/test_security_assignment_response_dto.py index 98ee88c532..296f73c15a 100644 --- a/src/visier_platform_sdk/test/test_security_assignment_response_dto.py +++ b/src/visier_platform_sdk/test/test_security_assignment_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py b/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py index cdefbfd545..9eaf59755d 100644 --- a/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py +++ b/src/visier_platform_sdk/test/test_selection_concept_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py b/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py index eb81da28da..562f3410f5 100644 --- a/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py +++ b/src/visier_platform_sdk/test/test_selection_concept_configuration_map_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_selection_concept_dto.py b/src/visier_platform_sdk/test/test_selection_concept_dto.py index 6b2b61a649..b05d8920ea 100644 --- a/src/visier_platform_sdk/test/test_selection_concept_dto.py +++ b/src/visier_platform_sdk/test/test_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_selection_concept_list_dto.py b/src/visier_platform_sdk/test/test_selection_concept_list_dto.py index 821f4702db..28f9ea97d8 100644 --- a/src/visier_platform_sdk/test/test_selection_concept_list_dto.py +++ b/src/visier_platform_sdk/test/test_selection_concept_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py b/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py index 06471de304..588f1d718a 100644 --- a/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py +++ b/src/visier_platform_sdk/test/test_selection_concept_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ def make_instance(self, include_optional) -> SelectionConceptReferenceDTO: if include_optional: return SelectionConceptReferenceDTO( - name = '', + id = '', qualifying_path = '' ) else: diff --git a/src/visier_platform_sdk/test/test_selection_concepts_dto.py b/src/visier_platform_sdk/test/test_selection_concepts_dto.py index 0415e07d5f..b31e263da0 100644 --- a/src/visier_platform_sdk/test/test_selection_concepts_dto.py +++ b/src/visier_platform_sdk/test/test_selection_concepts_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py b/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py index d82c1dd738..216cad54a5 100644 --- a/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_service_now_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py b/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py index 26301e0a39..a920b62af8 100644 --- a/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_service_now_v2_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py b/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py index 38a5de3a5e..d596754967 100644 --- a/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py +++ b/src/visier_platform_sdk/test/test_servicing_capability_proto_enum_access_lookup_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py b/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py index a796714e9d..80a629aa19 100644 --- a/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py +++ b/src/visier_platform_sdk/test/test_servicing_direct_data_upload_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py b/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py index 8e501aa391..ce6348e832 100644 --- a/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py +++ b/src/visier_platform_sdk/test/test_set_connector_setting_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py b/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py index 859bb6e1b3..558b849cb7 100644 --- a/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py +++ b/src/visier_platform_sdk/test/test_set_connector_setting_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py b/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py index 5c388f9c90..ef366c83bc 100644 --- a/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py +++ b/src/visier_platform_sdk/test/test_set_connector_settings_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py b/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py index b12f759e56..6ff0856d08 100644 --- a/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py +++ b/src/visier_platform_sdk/test/test_set_connector_settings_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_settings_dto.py b/src/visier_platform_sdk/test/test_settings_dto.py index 5c7f9252ad..49f57fa535 100644 --- a/src/visier_platform_sdk/test/test_settings_dto.py +++ b/src/visier_platform_sdk/test/test_settings_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_shareable_data_access_set.py b/src/visier_platform_sdk/test/test_shareable_data_access_set.py index d269780b8f..63885f5ceb 100644 --- a/src/visier_platform_sdk/test/test_shareable_data_access_set.py +++ b/src/visier_platform_sdk/test/test_shareable_data_access_set.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sidecar_solution_request_dto.py b/src/visier_platform_sdk/test/test_sidecar_solution_request_dto.py index 16bda2d646..6a80db7361 100644 --- a/src/visier_platform_sdk/test/test_sidecar_solution_request_dto.py +++ b/src/visier_platform_sdk/test/test_sidecar_solution_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sidecar_solution_settings_dto.py b/src/visier_platform_sdk/test/test_sidecar_solution_settings_dto.py index a7c41fd213..39ac46f851 100644 --- a/src/visier_platform_sdk/test/test_sidecar_solution_settings_dto.py +++ b/src/visier_platform_sdk/test/test_sidecar_solution_settings_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sidecar_solutions_api.py b/src/visier_platform_sdk/test/test_sidecar_solutions_api.py index bff0f58732..0586e0a216 100644 --- a/src/visier_platform_sdk/test/test_sidecar_solutions_api.py +++ b/src/visier_platform_sdk/test/test_sidecar_solutions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py b/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py index 343d23f74b..5732604a9c 100644 --- a/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py +++ b/src/visier_platform_sdk/test/test_simple_document_header_search_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py b/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py index 56294ded21..04862a8c1e 100644 --- a/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py +++ b/src/visier_platform_sdk/test/test_simple_document_header_search_result_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_simple_metric_details_dto.py b/src/visier_platform_sdk/test/test_simple_metric_details_dto.py new file mode 100644 index 0000000000..b1e44626f6 --- /dev/null +++ b/src/visier_platform_sdk/test/test_simple_metric_details_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.simple_metric_details_dto import SimpleMetricDetailsDTO + +class TestSimpleMetricDetailsDTO(unittest.TestCase): + """SimpleMetricDetailsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SimpleMetricDetailsDTO: + """Test SimpleMetricDetailsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SimpleMetricDetailsDTO( + formula = '', + data_type = '' + ) + else: + return SimpleMetricDetailsDTO( + ) + + def testSimpleMetricDetailsDTO(self): + """Test SimpleMetricDetailsDTO""" + def validate_instance(instance): + SimpleMetricDetailsDTO.model_validate(inst_req_only) + instance_deserialized = SimpleMetricDetailsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_simple_property_type_dto.py b/src/visier_platform_sdk/test/test_simple_property_type_dto.py index 03a55e6e5c..0a7262f04d 100644 --- a/src/visier_platform_sdk/test/test_simple_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_simple_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_simple_user_dto.py b/src/visier_platform_sdk/test/test_simple_user_dto.py index 3154889e65..cf514aa859 100644 --- a/src/visier_platform_sdk/test/test_simple_user_dto.py +++ b/src/visier_platform_sdk/test/test_simple_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_single_value_setting_dto.py b/src/visier_platform_sdk/test/test_single_value_setting_dto.py index c4dd5fe91c..51e7854c54 100644 --- a/src/visier_platform_sdk/test/test_single_value_setting_dto.py +++ b/src/visier_platform_sdk/test/test_single_value_setting_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill.py b/src/visier_platform_sdk/test/test_skill.py index ab35fa6757..88bfb23e78 100644 --- a/src/visier_platform_sdk/test/test_skill.py +++ b/src/visier_platform_sdk/test/test_skill.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_category.py b/src/visier_platform_sdk/test/test_skill_category.py index ce8c42f0be..c753f15b57 100644 --- a/src/visier_platform_sdk/test/test_skill_category.py +++ b/src/visier_platform_sdk/test/test_skill_category.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_category_entry.py b/src/visier_platform_sdk/test/test_skill_category_entry.py index fd290ae151..7cca5af61b 100644 --- a/src/visier_platform_sdk/test/test_skill_category_entry.py +++ b/src/visier_platform_sdk/test/test_skill_category_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_entry.py b/src/visier_platform_sdk/test/test_skill_entry.py index 3d6e3e7e35..0589d496dd 100644 --- a/src/visier_platform_sdk/test/test_skill_entry.py +++ b/src/visier_platform_sdk/test/test_skill_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_extraction_input.py b/src/visier_platform_sdk/test/test_skill_extraction_input.py index b4b1587c79..ee22c95a11 100644 --- a/src/visier_platform_sdk/test/test_skill_extraction_input.py +++ b/src/visier_platform_sdk/test/test_skill_extraction_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_group.py b/src/visier_platform_sdk/test/test_skill_group.py index d4d8ef28a7..5e6b574a24 100644 --- a/src/visier_platform_sdk/test/test_skill_group.py +++ b/src/visier_platform_sdk/test/test_skill_group.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_group_entry.py b/src/visier_platform_sdk/test/test_skill_group_entry.py index 234c819645..f99307675b 100644 --- a/src/visier_platform_sdk/test/test_skill_group_entry.py +++ b/src/visier_platform_sdk/test/test_skill_group_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skill_match_input.py b/src/visier_platform_sdk/test/test_skill_match_input.py index 96e4aa0432..d4961ab4b4 100644 --- a/src/visier_platform_sdk/test/test_skill_match_input.py +++ b/src/visier_platform_sdk/test/test_skill_match_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_skills_library_api.py b/src/visier_platform_sdk/test/test_skills_library_api.py index 411d93a5e7..7e711e0ed8 100644 --- a/src/visier_platform_sdk/test/test_skills_library_api.py +++ b/src/visier_platform_sdk/test/test_skills_library_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_slack_auth_params_dto.py b/src/visier_platform_sdk/test/test_slack_auth_params_dto.py index 2e82b5b71c..4f4d8850ee 100644 --- a/src/visier_platform_sdk/test/test_slack_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_slack_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py b/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py index e173b49795..8804d9220c 100644 --- a/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py +++ b/src/visier_platform_sdk/test/test_snapshot_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -70,7 +70,8 @@ def make_instance(self, include_optional) -> SnapshotQueryExecutionDTO: member_value = None, numeric_value = None, plan_value = None, - aggregation_type_value = None, ) + aggregation_type_value = None, + subject_member_set_value = None, ) ], options = visier_platform_sdk.models.snapshot_query_execution_options_dto.SnapshotQueryExecutionOptionsDTO( limit = 56, diff --git a/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py b/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py index 6329974edf..58c68f154d 100644 --- a/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py +++ b/src/visier_platform_sdk/test/test_snapshot_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py b/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py index 82f4f8c054..57172331c7 100644 --- a/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_snowflake_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sort_option_dto.py b/src/visier_platform_sdk/test/test_sort_option_dto.py index 04ecaea1c6..0651d698a5 100644 --- a/src/visier_platform_sdk/test/test_sort_option_dto.py +++ b/src/visier_platform_sdk/test/test_sort_option_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_source.py b/src/visier_platform_sdk/test/test_source.py index 8fefcb7b83..411d715baf 100644 --- a/src/visier_platform_sdk/test/test_source.py +++ b/src/visier_platform_sdk/test/test_source.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_source_file_response_dto.py b/src/visier_platform_sdk/test/test_source_file_response_dto.py index 994277e033..9ea72a850f 100644 --- a/src/visier_platform_sdk/test/test_source_file_response_dto.py +++ b/src/visier_platform_sdk/test/test_source_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_source_files_download_api.py b/src/visier_platform_sdk/test/test_source_files_download_api.py index cb48695f01..6a48b2752b 100644 --- a/src/visier_platform_sdk/test/test_source_files_download_api.py +++ b/src/visier_platform_sdk/test/test_source_files_download_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py b/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py index 39cadef422..976cd4fa52 100644 --- a/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py +++ b/src/visier_platform_sdk/test/test_source_import_result_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sources_api.py b/src/visier_platform_sdk/test/test_sources_api.py index a246d33124..dd1b4f4021 100644 --- a/src/visier_platform_sdk/test/test_sources_api.py +++ b/src/visier_platform_sdk/test/test_sources_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py b/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py index 0af89519ab..49d287a56d 100644 --- a/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py +++ b/src/visier_platform_sdk/test/test_sources_api_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py b/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py index 56bcedbcf3..183a77dbbd 100644 --- a/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py +++ b/src/visier_platform_sdk/test/test_sources_api_put_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py b/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py index c79bc9b475..7edc081536 100644 --- a/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py +++ b/src/visier_platform_sdk/test/test_sql_like_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py b/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py index 78c3327d75..673f06d504 100644 --- a/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_sql_server_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_start_collaboration_action_payload.py b/src/visier_platform_sdk/test/test_start_collaboration_action_payload.py new file mode 100644 index 0000000000..4e74c5c3d1 --- /dev/null +++ b/src/visier_platform_sdk/test/test_start_collaboration_action_payload.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.start_collaboration_action_payload import StartCollaborationActionPayload + +class TestStartCollaborationActionPayload(unittest.TestCase): + """StartCollaborationActionPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> StartCollaborationActionPayload: + """Test StartCollaborationActionPayload + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return StartCollaborationActionPayload( + start_date = '', + due_date = '' + ) + else: + return StartCollaborationActionPayload( + ) + + def testStartCollaborationActionPayload(self): + """Test StartCollaborationActionPayload""" + def validate_instance(instance): + StartCollaborationActionPayload.model_validate(inst_req_only) + instance_deserialized = StartCollaborationActionPayload.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_start_extraction_response.py b/src/visier_platform_sdk/test/test_start_extraction_response.py index 812190219b..9054aa911d 100644 --- a/src/visier_platform_sdk/test/test_start_extraction_response.py +++ b/src/visier_platform_sdk/test/test_start_extraction_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_start_transfer_response.py b/src/visier_platform_sdk/test/test_start_transfer_response.py index dcf420ab10..7c7e702ae4 100644 --- a/src/visier_platform_sdk/test/test_start_transfer_response.py +++ b/src/visier_platform_sdk/test/test_start_transfer_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py index 8f85c17c50..5aa319186e 100644 --- a/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py +++ b/src/visier_platform_sdk/test/test_static_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_status.py b/src/visier_platform_sdk/test/test_status.py index c691ab624f..3904af2274 100644 --- a/src/visier_platform_sdk/test/test_status.py +++ b/src/visier_platform_sdk/test/test_status.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_subject_details_dto.py b/src/visier_platform_sdk/test/test_subject_details_dto.py index 2ba2f8e5c3..8d298557f4 100644 --- a/src/visier_platform_sdk/test/test_subject_details_dto.py +++ b/src/visier_platform_sdk/test/test_subject_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -56,12 +56,15 @@ def make_instance(self, include_optional) -> SubjectDetailsDTO: data_category = '', include_with_vee = True, property_list = visier_platform_sdk.models.property_definition_list_dto.PropertyDefinitionListDTO( - property_list = [ + properties = [ visier_platform_sdk.models.property_definition_dto.PropertyDefinitionDTO( uuid = '', object_name = '', basic_information = None, - details = None, ) + details = None, + tag_list = None, + include_with_vee = True, + version_information = None, ) ], ), dimension_list = visier_platform_sdk.models.local_or_shared_dimension_list_dto.LocalOrSharedDimensionListDTO( dimensions = [ @@ -69,11 +72,6 @@ def make_instance(self, include_optional) -> SubjectDetailsDTO: local = None, shared = None, ) ], ), - concept_list = visier_platform_sdk.models.concept_reference_list_dto.ConceptReferenceListDTO( - concepts = [ - visier_platform_sdk.models.concept_reference_dto.ConceptReferenceDTO( - object_name = '', ) - ], ), subject_reference_list = visier_platform_sdk.models.subject_reference_list_dto.SubjectReferenceListDTO( subject_references = [ visier_platform_sdk.models.subject_reference_dto.SubjectReferenceDTO( @@ -83,7 +81,8 @@ def make_instance(self, include_optional) -> SubjectDetailsDTO: tag_list = None, direction = 'forward', subject = '', - binding = True, ) + binding = True, + visible_in_analytics = True, ) ], ) ) else: diff --git a/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto.py b/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto.py new file mode 100644 index 0000000000..9837115ab4 --- /dev/null +++ b/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto.py @@ -0,0 +1,73 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.subject_member_set_parameter_value_dto import SubjectMemberSetParameterValueDTO + +class TestSubjectMemberSetParameterValueDTO(unittest.TestCase): + """SubjectMemberSetParameterValueDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SubjectMemberSetParameterValueDTO: + """Test SubjectMemberSetParameterValueDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SubjectMemberSetParameterValueDTO( + parameter_id = '', + key_name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto.SubjectMemberSetParameterValueDTO_NamePathDTO( + name_path = [ + '' + ], ) + ], + value_name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_list_of_name_path_dto.SubjectMemberSetParameterValueDTO_ListOfNamePathDTO( + name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto.SubjectMemberSetParameterValueDTO_NamePathDTO( + name_path = [ + '' + ], ) + ], ) + ] + ) + else: + return SubjectMemberSetParameterValueDTO( + ) + + def testSubjectMemberSetParameterValueDTO(self): + """Test SubjectMemberSetParameterValueDTO""" + def validate_instance(instance): + SubjectMemberSetParameterValueDTO.model_validate(inst_req_only) + instance_deserialized = SubjectMemberSetParameterValueDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_list_of_name_path_dto.py b/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_list_of_name_path_dto.py new file mode 100644 index 0000000000..17da2fa56d --- /dev/null +++ b/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_list_of_name_path_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_list_of_name_path_dto import SubjectMemberSetParameterValueDTOListOfNamePathDTO + +class TestSubjectMemberSetParameterValueDTOListOfNamePathDTO(unittest.TestCase): + """SubjectMemberSetParameterValueDTOListOfNamePathDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SubjectMemberSetParameterValueDTOListOfNamePathDTO: + """Test SubjectMemberSetParameterValueDTOListOfNamePathDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SubjectMemberSetParameterValueDTOListOfNamePathDTO( + name_paths = [ + visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto.SubjectMemberSetParameterValueDTO_NamePathDTO( + name_path = [ + '' + ], ) + ] + ) + else: + return SubjectMemberSetParameterValueDTOListOfNamePathDTO( + ) + + def testSubjectMemberSetParameterValueDTOListOfNamePathDTO(self): + """Test SubjectMemberSetParameterValueDTOListOfNamePathDTO""" + def validate_instance(instance): + SubjectMemberSetParameterValueDTOListOfNamePathDTO.model_validate(inst_req_only) + instance_deserialized = SubjectMemberSetParameterValueDTOListOfNamePathDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_name_path_dto.py b/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_name_path_dto.py new file mode 100644 index 0000000000..1e04a3295f --- /dev/null +++ b/src/visier_platform_sdk/test/test_subject_member_set_parameter_value_dto_name_path_dto.py @@ -0,0 +1,60 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto import SubjectMemberSetParameterValueDTONamePathDTO + +class TestSubjectMemberSetParameterValueDTONamePathDTO(unittest.TestCase): + """SubjectMemberSetParameterValueDTONamePathDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> SubjectMemberSetParameterValueDTONamePathDTO: + """Test SubjectMemberSetParameterValueDTONamePathDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return SubjectMemberSetParameterValueDTONamePathDTO( + name_path = [ + '' + ] + ) + else: + return SubjectMemberSetParameterValueDTONamePathDTO( + ) + + def testSubjectMemberSetParameterValueDTONamePathDTO(self): + """Test SubjectMemberSetParameterValueDTONamePathDTO""" + def validate_instance(instance): + SubjectMemberSetParameterValueDTONamePathDTO.model_validate(inst_req_only) + instance_deserialized = SubjectMemberSetParameterValueDTONamePathDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_subject_missing_access_dto.py b/src/visier_platform_sdk/test/test_subject_missing_access_dto.py index d96594d45d..cb9928bab1 100644 --- a/src/visier_platform_sdk/test/test_subject_missing_access_dto.py +++ b/src/visier_platform_sdk/test/test_subject_missing_access_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_subject_reference_dto.py b/src/visier_platform_sdk/test/test_subject_reference_dto.py index 3e86df3107..adcc8803d8 100644 --- a/src/visier_platform_sdk/test/test_subject_reference_dto.py +++ b/src/visier_platform_sdk/test/test_subject_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -51,7 +51,8 @@ def make_instance(self, include_optional) -> SubjectReferenceDTO: ], ), direction = 'forward', subject = '', - binding = True + binding = True, + visible_in_analytics = True ) else: return SubjectReferenceDTO( diff --git a/src/visier_platform_sdk/test/test_subject_reference_list_dto.py b/src/visier_platform_sdk/test/test_subject_reference_list_dto.py index 76f61335b5..b8c7619b45 100644 --- a/src/visier_platform_sdk/test/test_subject_reference_list_dto.py +++ b/src/visier_platform_sdk/test/test_subject_reference_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -43,7 +43,8 @@ def make_instance(self, include_optional) -> SubjectReferenceListDTO: tag_list = None, direction = 'forward', subject = '', - binding = True, ) + binding = True, + visible_in_analytics = True, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_concept_reference_dto.py b/src/visier_platform_sdk/test/test_submit_action_payload.py similarity index 64% rename from src/visier_platform_sdk/test/test_concept_reference_dto.py rename to src/visier_platform_sdk/test/test_submit_action_payload.py index 3c637337c8..be8d5a3b04 100644 --- a/src/visier_platform_sdk/test/test_concept_reference_dto.py +++ b/src/visier_platform_sdk/test/test_submit_action_payload.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.concept_reference_dto import ConceptReferenceDTO +from visier_platform_sdk.models.submit_action_payload import SubmitActionPayload -class TestConceptReferenceDTO(unittest.TestCase): - """ConceptReferenceDTO unit test stubs""" +class TestSubmitActionPayload(unittest.TestCase): + """SubmitActionPayload unit test stubs""" def setUp(self): pass @@ -27,25 +27,25 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> ConceptReferenceDTO: - """Test ConceptReferenceDTO + def make_instance(self, include_optional) -> SubmitActionPayload: + """Test SubmitActionPayload include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return ConceptReferenceDTO( - object_name = '' + return SubmitActionPayload( + comment = '' ) else: - return ConceptReferenceDTO( + return SubmitActionPayload( ) - def testConceptReferenceDTO(self): - """Test ConceptReferenceDTO""" + def testSubmitActionPayload(self): + """Test SubmitActionPayload""" def validate_instance(instance): - ConceptReferenceDTO.model_validate(inst_req_only) - instance_deserialized = ConceptReferenceDTO.from_dict(instance.to_dict()) + SubmitActionPayload.model_validate(inst_req_only) + instance_deserialized = SubmitActionPayload.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py b/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py index 429b41384a..226021004a 100644 --- a/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_success_factors_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py b/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py index dee05fc39d..eff78cf54f 100644 --- a/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_success_factors_o_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py index 52bfdfa1f6..319f6319b4 100644 --- a/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/test/test_successful_accessible_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_successful_change_dto.py b/src/visier_platform_sdk/test/test_successful_change_dto.py index 650ca85c57..19f3cd6c15 100644 --- a/src/visier_platform_sdk/test/test_successful_change_dto.py +++ b/src/visier_platform_sdk/test/test_successful_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py index 13c250275c..d3fab5a18e 100644 --- a/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/test/test_successful_local_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_synonym_list_dto.py b/src/visier_platform_sdk/test/test_synonym_list_dto.py index 21210f6915..5f1e9156bc 100644 --- a/src/visier_platform_sdk/test/test_synonym_list_dto.py +++ b/src/visier_platform_sdk/test/test_synonym_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_system_status_api.py b/src/visier_platform_sdk/test/test_system_status_api.py index fde1394836..510cbbaaa6 100644 --- a/src/visier_platform_sdk/test/test_system_status_api.py +++ b/src/visier_platform_sdk/test/test_system_status_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_system_status_dto.py b/src/visier_platform_sdk/test/test_system_status_dto.py index f355092702..fa6a26ccad 100644 --- a/src/visier_platform_sdk/test/test_system_status_dto.py +++ b/src/visier_platform_sdk/test/test_system_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_table_response_dto.py b/src/visier_platform_sdk/test/test_table_response_dto.py index a402dd5f07..f866b685a3 100644 --- a/src/visier_platform_sdk/test/test_table_response_dto.py +++ b/src/visier_platform_sdk/test/test_table_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tag_map_element_dto.py b/src/visier_platform_sdk/test/test_tag_map_element_dto.py index cc2594b112..6a9b979b26 100644 --- a/src/visier_platform_sdk/test/test_tag_map_element_dto.py +++ b/src/visier_platform_sdk/test/test_tag_map_element_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tag_reference_dto.py b/src/visier_platform_sdk/test/test_tag_reference_dto.py index 814d45b2f1..46436ac853 100644 --- a/src/visier_platform_sdk/test/test_tag_reference_dto.py +++ b/src/visier_platform_sdk/test/test_tag_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tag_reference_list_dto.py b/src/visier_platform_sdk/test/test_tag_reference_list_dto.py index a540235721..d7e428d2cd 100644 --- a/src/visier_platform_sdk/test/test_tag_reference_list_dto.py +++ b/src/visier_platform_sdk/test/test_tag_reference_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tags_dto.py b/src/visier_platform_sdk/test/test_tags_dto.py index 855ee5d810..5dea58a09d 100644 --- a/src/visier_platform_sdk/test/test_tags_dto.py +++ b/src/visier_platform_sdk/test/test_tags_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py b/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py index 704836b9e1..9182143b70 100644 --- a/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_target_project_for_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py b/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py index 261f878889..ca7cd898cc 100644 --- a/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py +++ b/src/visier_platform_sdk/test/test_target_project_for_tenants_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_target_tenant_code_dto.py b/src/visier_platform_sdk/test/test_target_tenant_code_dto.py index 07bde07540..37ebe18890 100644 --- a/src/visier_platform_sdk/test/test_target_tenant_code_dto.py +++ b/src/visier_platform_sdk/test/test_target_tenant_code_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant.py b/src/visier_platform_sdk/test/test_tenant.py index 97ee7ebf2d..528a1095c7 100644 --- a/src/visier_platform_sdk/test/test_tenant.py +++ b/src/visier_platform_sdk/test/test_tenant.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_and_credential.py b/src/visier_platform_sdk/test/test_tenant_and_credential.py index 2b3916b58a..65843e87db 100644 --- a/src/visier_platform_sdk/test/test_tenant_and_credential.py +++ b/src/visier_platform_sdk/test/test_tenant_and_credential.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_assignments_dto.py b/src/visier_platform_sdk/test/test_tenant_assignments_dto.py index d6551b33da..e17ce87a05 100644 --- a/src/visier_platform_sdk/test/test_tenant_assignments_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_assignments_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_code_body.py b/src/visier_platform_sdk/test/test_tenant_code_body.py index a5037d09dd..ccd1ad502a 100644 --- a/src/visier_platform_sdk/test/test_tenant_code_body.py +++ b/src/visier_platform_sdk/test/test_tenant_code_body.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_code_error_dto.py b/src/visier_platform_sdk/test/test_tenant_code_error_dto.py index 588e4b5263..f035547609 100644 --- a/src/visier_platform_sdk/test/test_tenant_code_error_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_code_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py b/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py index 3561ba8e48..4dbe0b6f35 100644 --- a/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_connector_settings_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py index 647e8d05ff..a78c0dd994 100644 --- a/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_data_upload_status_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py index 173a9d9321..f5b1a841b8 100644 --- a/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_data_upload_update_status_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py index 65d42a42f9..e4c8071615 100644 --- a/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_data_uploads_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py index 6c6bf52eff..dad2e24df1 100644 --- a/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_data_uploads_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py b/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py index feb4be3f74..c2cd4cd622 100644 --- a/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_data_uploads_update_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_detail_apidto.py b/src/visier_platform_sdk/test/test_tenant_detail_apidto.py index 0ee0383cb4..cdb1c22ad1 100644 --- a/src/visier_platform_sdk/test/test_tenant_detail_apidto.py +++ b/src/visier_platform_sdk/test/test_tenant_detail_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py b/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py index 88deefefbc..cb87cff867 100644 --- a/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_details_traits_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py b/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py index 0c74280a7e..aafaf49451 100644 --- a/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_encryption_key_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py b/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py index b4b232d161..78aefadcc8 100644 --- a/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_encryption_key_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py index 5ca1e28065..303084f5f4 100644 --- a/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_management_api_get_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py index 7d58d30860..0db5d7dddb 100644 --- a/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_management_api_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py index 73e10b3dc2..95570195bb 100644 --- a/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_management_api_update_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -73,7 +73,8 @@ def make_instance(self, include_optional) -> TenantManagementAPIUpdateRequestDTO traits = visier_platform_sdk.models.tenant_details_traits_dto.TenantDetailsTraitsDTO( aggregation_rights = True, tenant_type = 'ROOT_ADMIN', - data_profile_type = 'Regular', ) + data_profile_type = 'Regular', ), + force_logins_with_session_based_permissions = True ) else: return TenantManagementAPIUpdateRequestDTO( diff --git a/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py b/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py index 610ca89cd7..f3618de840 100644 --- a/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_management_api_update_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -67,7 +67,8 @@ def make_instance(self, include_optional) -> TenantManagementAPIUpdateResponseDT default_currency = '', allowed_o_auth_idp_url_domains = [ '' - ] + ], + force_logins_with_session_based_permissions = True ) else: return TenantManagementAPIUpdateResponseDTO( diff --git a/src/visier_platform_sdk/test/test_tenant_module_dto.py b/src/visier_platform_sdk/test/test_tenant_module_dto.py index b9132a118b..96af52826d 100644 --- a/src/visier_platform_sdk/test/test_tenant_module_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_module_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py index b7aef30fbc..9a8f4014e7 100644 --- a/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py index 332b036fe2..c1d6c5dd2a 100644 --- a/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_preview_entries_summary_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_provision_apidto.py b/src/visier_platform_sdk/test/test_tenant_provision_apidto.py index 8aea13d20a..f32eece29d 100644 --- a/src/visier_platform_sdk/test/test_tenant_provision_apidto.py +++ b/src/visier_platform_sdk/test/test_tenant_provision_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_source_files_list_response_dto.py b/src/visier_platform_sdk/test/test_tenant_source_files_list_response_dto.py index b8cf8613de..603d101755 100644 --- a/src/visier_platform_sdk/test/test_tenant_source_files_list_response_dto.py +++ b/src/visier_platform_sdk/test/test_tenant_source_files_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenant_status_apidto.py b/src/visier_platform_sdk/test/test_tenant_status_apidto.py index a97af20177..992d9ac493 100644 --- a/src/visier_platform_sdk/test/test_tenant_status_apidto.py +++ b/src/visier_platform_sdk/test/test_tenant_status_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenants_v1_api.py b/src/visier_platform_sdk/test/test_tenants_v1_api.py index f97c4fbcc9..d0f960a851 100644 --- a/src/visier_platform_sdk/test/test_tenants_v1_api.py +++ b/src/visier_platform_sdk/test/test_tenants_v1_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_tenants_v2_api.py b/src/visier_platform_sdk/test/test_tenants_v2_api.py index b4e1d56c31..d675f823e6 100644 --- a/src/visier_platform_sdk/test/test_tenants_v2_api.py +++ b/src/visier_platform_sdk/test/test_tenants_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_time_handling_dto.py b/src/visier_platform_sdk/test/test_time_handling_dto.py new file mode 100644 index 0000000000..9db279e190 --- /dev/null +++ b/src/visier_platform_sdk/test/test_time_handling_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.time_handling_dto import TimeHandlingDTO + +class TestTimeHandlingDTO(unittest.TestCase): + """TimeHandlingDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TimeHandlingDTO: + """Test TimeHandlingDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TimeHandlingDTO( + per_period = True, + trailing_periods = visier_platform_sdk.models.periods_back_dto.PeriodsBackDTO( + period_type = '', + periods_back = 56, ) + ) + else: + return TimeHandlingDTO( + ) + + def testTimeHandlingDTO(self): + """Test TimeHandlingDTO""" + def validate_instance(instance): + TimeHandlingDTO.model_validate(inst_req_only) + instance_deserialized = TimeHandlingDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_time_period_dto.py b/src/visier_platform_sdk/test/test_time_period_dto.py new file mode 100644 index 0000000000..838eed228f --- /dev/null +++ b/src/visier_platform_sdk/test/test_time_period_dto.py @@ -0,0 +1,69 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.time_period_dto import TimePeriodDTO + +class TestTimePeriodDTO(unittest.TestCase): + """TimePeriodDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TimePeriodDTO: + """Test TimePeriodDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TimePeriodDTO( + end = '', + period_type = 'MONTH', + period_count = 56, + time_type = 'FIXED', + expression = visier_platform_sdk.models.relative_time_expression_dto.RelativeTimeExpressionDTO( + anchor = 'INTERVAL_START', + time_selection = visier_platform_sdk.models.relative_time_selection_dto.RelativeTimeSelectionDTO( + period_type = '', + forward = 56, + back = 56, ), + time_shift = visier_platform_sdk.models.relative_time_shift_dto.RelativeTimeShiftDTO( + period_type = '', ), ) + ) + else: + return TimePeriodDTO( + ) + + def testTimePeriodDTO(self): + """Test TimePeriodDTO""" + def validate_instance(instance): + TimePeriodDTO.model_validate(inst_req_only) + instance_deserialized = TimePeriodDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_time_period_filter_dto.py b/src/visier_platform_sdk/test/test_time_period_filter_dto.py new file mode 100644 index 0000000000..a4223efc83 --- /dev/null +++ b/src/visier_platform_sdk/test/test_time_period_filter_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.time_period_filter_dto import TimePeriodFilterDTO + +class TestTimePeriodFilterDTO(unittest.TestCase): + """TimePeriodFilterDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TimePeriodFilterDTO: + """Test TimePeriodFilterDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TimePeriodFilterDTO( + dimension = visier_platform_sdk.models.dimension_reference_dto.DimensionReferenceDTO( + object_name = '', ), + time_period = visier_platform_sdk.models.time_period_dto.TimePeriodDTO( + end = '', + period_type = 'MONTH', + period_count = 56, + time_type = 'FIXED', + expression = None, ) + ) + else: + return TimePeriodFilterDTO( + ) + + def testTimePeriodFilterDTO(self): + """Test TimePeriodFilterDTO""" + def validate_instance(instance): + TimePeriodFilterDTO.model_validate(inst_req_only) + instance_deserialized = TimePeriodFilterDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_time_period_metadata_dto.py b/src/visier_platform_sdk/test/test_time_period_metadata_dto.py new file mode 100644 index 0000000000..4a953b030b --- /dev/null +++ b/src/visier_platform_sdk/test/test_time_period_metadata_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.time_period_metadata_dto import TimePeriodMetadataDTO + +class TestTimePeriodMetadataDTO(unittest.TestCase): + """TimePeriodMetadataDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TimePeriodMetadataDTO: + """Test TimePeriodMetadataDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TimePeriodMetadataDTO( + fixed = visier_platform_sdk.models.fixed_time_type_dto.FixedTimeTypeDTO( + period_type = 'MONTH', + end = '', + period_count = 56, ), + previous_period = None, + same_period_previous_year = None + ) + else: + return TimePeriodMetadataDTO( + ) + + def testTimePeriodMetadataDTO(self): + """Test TimePeriodMetadataDTO""" + def validate_instance(instance): + TimePeriodMetadataDTO.model_validate(inst_req_only) + instance_deserialized = TimePeriodMetadataDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_time_shift_dto.py b/src/visier_platform_sdk/test/test_time_shift_dto.py index 143cf8b57b..ed787ed1b3 100644 --- a/src/visier_platform_sdk/test/test_time_shift_dto.py +++ b/src/visier_platform_sdk/test/test_time_shift_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_token_response.py b/src/visier_platform_sdk/test/test_token_response.py index d63ac295a3..fbf8d77b17 100644 --- a/src/visier_platform_sdk/test/test_token_response.py +++ b/src/visier_platform_sdk/test/test_token_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_trigger_criteria_member_result_info_dto.py b/src/visier_platform_sdk/test/test_trigger_criteria_member_result_info_dto.py new file mode 100644 index 0000000000..c81b7f7fa5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_trigger_criteria_member_result_info_dto.py @@ -0,0 +1,61 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.trigger_criteria_member_result_info_dto import TriggerCriteriaMemberResultInfoDTO + +class TestTriggerCriteriaMemberResultInfoDTO(unittest.TestCase): + """TriggerCriteriaMemberResultInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TriggerCriteriaMemberResultInfoDTO: + """Test TriggerCriteriaMemberResultInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TriggerCriteriaMemberResultInfoDTO( + member_id = '', + display_name = '', + value = 1.337, + formatted_value = '' + ) + else: + return TriggerCriteriaMemberResultInfoDTO( + ) + + def testTriggerCriteriaMemberResultInfoDTO(self): + """Test TriggerCriteriaMemberResultInfoDTO""" + def validate_instance(instance): + TriggerCriteriaMemberResultInfoDTO.model_validate(inst_req_only) + instance_deserialized = TriggerCriteriaMemberResultInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_trigger_criteria_overall_result_info_dto.py b/src/visier_platform_sdk/test/test_trigger_criteria_overall_result_info_dto.py new file mode 100644 index 0000000000..786dff85f3 --- /dev/null +++ b/src/visier_platform_sdk/test/test_trigger_criteria_overall_result_info_dto.py @@ -0,0 +1,59 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.trigger_criteria_overall_result_info_dto import TriggerCriteriaOverallResultInfoDTO + +class TestTriggerCriteriaOverallResultInfoDTO(unittest.TestCase): + """TriggerCriteriaOverallResultInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TriggerCriteriaOverallResultInfoDTO: + """Test TriggerCriteriaOverallResultInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TriggerCriteriaOverallResultInfoDTO( + value = 1.337, + formatted_value = '' + ) + else: + return TriggerCriteriaOverallResultInfoDTO( + ) + + def testTriggerCriteriaOverallResultInfoDTO(self): + """Test TriggerCriteriaOverallResultInfoDTO""" + def validate_instance(instance): + TriggerCriteriaOverallResultInfoDTO.model_validate(inst_req_only) + instance_deserialized = TriggerCriteriaOverallResultInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_trigger_criteria_result_info_dto.py b/src/visier_platform_sdk/test/test_trigger_criteria_result_info_dto.py new file mode 100644 index 0000000000..455745c173 --- /dev/null +++ b/src/visier_platform_sdk/test/test_trigger_criteria_result_info_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.trigger_criteria_result_info_dto import TriggerCriteriaResultInfoDTO + +class TestTriggerCriteriaResultInfoDTO(unittest.TestCase): + """TriggerCriteriaResultInfoDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> TriggerCriteriaResultInfoDTO: + """Test TriggerCriteriaResultInfoDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return TriggerCriteriaResultInfoDTO( + overall_result = visier_platform_sdk.models.trigger_criteria_overall_result_info_dto.TriggerCriteriaOverallResultInfoDTO( + value = 1.337, + formatted_value = '', ), + member_result = visier_platform_sdk.models.trigger_criteria_member_result_info_dto.TriggerCriteriaMemberResultInfoDTO( + member_id = '', + display_name = '', + value = 1.337, + formatted_value = '', ) + ) + else: + return TriggerCriteriaResultInfoDTO( + ) + + def testTriggerCriteriaResultInfoDTO(self): + """Test TriggerCriteriaResultInfoDTO""" + def validate_instance(instance): + TriggerCriteriaResultInfoDTO.model_validate(inst_req_only) + instance_deserialized = TriggerCriteriaResultInfoDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py b/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py index 1d213765b3..26f3a64738 100644 --- a/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_ultimate_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_update_event_alert_recipient_status_dto.py b/src/visier_platform_sdk/test/test_update_event_alert_recipient_status_dto.py new file mode 100644 index 0000000000..ce267729a5 --- /dev/null +++ b/src/visier_platform_sdk/test/test_update_event_alert_recipient_status_dto.py @@ -0,0 +1,58 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.update_event_alert_recipient_status_dto import UpdateEventAlertRecipientStatusDTO + +class TestUpdateEventAlertRecipientStatusDTO(unittest.TestCase): + """UpdateEventAlertRecipientStatusDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> UpdateEventAlertRecipientStatusDTO: + """Test UpdateEventAlertRecipientStatusDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return UpdateEventAlertRecipientStatusDTO( + status = 'UNSUPPORTED_EVENT_ALERT_STATUS' + ) + else: + return UpdateEventAlertRecipientStatusDTO( + ) + + def testUpdateEventAlertRecipientStatusDTO(self): + """Test UpdateEventAlertRecipientStatusDTO""" + def validate_instance(instance): + UpdateEventAlertRecipientStatusDTO.model_validate(inst_req_only) + instance_deserialized = UpdateEventAlertRecipientStatusDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_update_tenant_model.py b/src/visier_platform_sdk/test/test_update_tenant_model.py index 8db671dd13..72ae1fe57d 100644 --- a/src/visier_platform_sdk/test/test_update_tenant_model.py +++ b/src/visier_platform_sdk/test/test_update_tenant_model.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_upload_to_exclude.py b/src/visier_platform_sdk/test/test_upload_to_exclude.py index 8c3c9d45d0..18be655dbd 100644 --- a/src/visier_platform_sdk/test/test_upload_to_exclude.py +++ b/src/visier_platform_sdk/test/test_upload_to_exclude.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_upload_to_include.py b/src/visier_platform_sdk/test/test_upload_to_include.py index 7c990fa788..e67c89dae5 100644 --- a/src/visier_platform_sdk/test/test_upload_to_include.py +++ b/src/visier_platform_sdk/test/test_upload_to_include.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py b/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py index 2666d0a72b..f4bc6d2cd6 100644 --- a/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py +++ b/src/visier_platform_sdk/test/test_user_creation_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py b/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py index 4da52d109f..703082782c 100644 --- a/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_creation_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_get_api_response_dto.py b/src/visier_platform_sdk/test/test_user_get_api_response_dto.py index 9021ea384c..be30dec74c 100644 --- a/src/visier_platform_sdk/test/test_user_get_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py index 7f9d36fd00..bb9c1cc115 100644 --- a/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_assignment_dto.py b/src/visier_platform_sdk/test/test_user_group_assignment_dto.py index df6af0978d..da8f3d498d 100644 --- a/src/visier_platform_sdk/test/test_user_group_assignment_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py b/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py index 55e508c6c0..242abd8cce 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -49,10 +49,10 @@ def make_instance(self, include_optional) -> UserGroupChangeDefinitionDTO: dynamic_filter_definition = None, ), tenant_code = '', project_id = '', - is_visible_in_features = True, - visible_features = visier_platform_sdk.models.features_for_user_group_dto.FeaturesForUserGroupDTO( + visible_for_selection = visier_platform_sdk.models.visible_for_selection_dto.VisibleForSelectionDTO( + enabled = True, features = [ - 'SolutionFeatures' + 'AnalyticsFeatures' ], ) ) else: diff --git a/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py b/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py index 5057cdc618..a06c84d3af 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py b/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py index 0e4b5749e9..2ec1a56a85 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py b/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py index df2a605110..50413724e8 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py b/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py index 97afb3674e..8619d5a502 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_response_dto.py b/src/visier_platform_sdk/test/test_user_group_change_response_dto.py index f2d1efafa1..28a7e35c6f 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_success_dto.py b/src/visier_platform_sdk/test/test_user_group_change_success_dto.py index 4a0d9a6ceb..64ce1df125 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_success_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_change_users_dto.py b/src/visier_platform_sdk/test/test_user_group_change_users_dto.py index bf97be047c..b67923c514 100644 --- a/src/visier_platform_sdk/test/test_user_group_change_users_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_change_users_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_delete_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_dto.py index 61c527c686..0329600300 100644 --- a/src/visier_platform_sdk/test/test_user_group_delete_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_delete_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py index a58c0ab6f2..b72ffcde61 100644 --- a/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_delete_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py index c7c97bdd48..7b985524a4 100644 --- a/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py b/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py index 307758a150..33ce5b72f9 100644 --- a/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_filters_dto.py b/src/visier_platform_sdk/test/test_user_group_filters_dto.py index 2c8c6e8dfb..2d1e599bb7 100644 --- a/src/visier_platform_sdk/test/test_user_group_filters_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_filters_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py b/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py index 44febae3a0..b2617eb3e8 100644 --- a/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py b/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py index e1a5b06f7b..5e50afd19c 100644 --- a/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_group_single_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_groups_change_dto.py b/src/visier_platform_sdk/test/test_user_groups_change_dto.py index 4bb2fd91ab..f1e5997fb0 100644 --- a/src/visier_platform_sdk/test/test_user_groups_change_dto.py +++ b/src/visier_platform_sdk/test/test_user_groups_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -44,8 +44,7 @@ def make_instance(self, include_optional) -> UserGroupsChangeDTO: users = None, tenant_code = '', project_id = '', - is_visible_in_features = True, - visible_features = None, ) + visible_for_selection = None, ) ] ) else: diff --git a/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py b/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py index 80db2720c6..b921ec42f3 100644 --- a/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py +++ b/src/visier_platform_sdk/test/test_user_groups_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py b/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py index 7beeadfecc..66d3c4a912 100644 --- a/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_groups_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_groups_users_dto.py b/src/visier_platform_sdk/test/test_user_groups_users_dto.py index 490d86ca6e..5f33886e10 100644 --- a/src/visier_platform_sdk/test/test_user_groups_users_dto.py +++ b/src/visier_platform_sdk/test/test_user_groups_users_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py b/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py index f6602106fe..4f9d7f7276 100644 --- a/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_user_groups_users_for_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_groups_v2_api.py b/src/visier_platform_sdk/test/test_user_groups_v2_api.py index 930edb42ed..1445662085 100644 --- a/src/visier_platform_sdk/test/test_user_groups_v2_api.py +++ b/src/visier_platform_sdk/test/test_user_groups_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_id_error_dto.py b/src/visier_platform_sdk/test/test_user_id_error_dto.py index 1ab92940a0..35ebc67032 100644 --- a/src/visier_platform_sdk/test/test_user_id_error_dto.py +++ b/src/visier_platform_sdk/test/test_user_id_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_property_dto.py b/src/visier_platform_sdk/test/test_user_property_dto.py index 1c4e75e3fd..998e9d6aa5 100644 --- a/src/visier_platform_sdk/test/test_user_property_dto.py +++ b/src/visier_platform_sdk/test/test_user_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_security_assignments_dto.py b/src/visier_platform_sdk/test/test_user_security_assignments_dto.py index 5fea180029..a23739ebde 100644 --- a/src/visier_platform_sdk/test/test_user_security_assignments_dto.py +++ b/src/visier_platform_sdk/test/test_user_security_assignments_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_update_api_request_dto.py b/src/visier_platform_sdk/test/test_user_update_api_request_dto.py index ce58aec5d3..9f966960b8 100644 --- a/src/visier_platform_sdk/test/test_user_update_api_request_dto.py +++ b/src/visier_platform_sdk/test/test_user_update_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_v3_api_request_dto.py b/src/visier_platform_sdk/test/test_user_v3_api_request_dto.py index 6e8caddeb6..0a8a8b36f8 100644 --- a/src/visier_platform_sdk/test/test_user_v3_api_request_dto.py +++ b/src/visier_platform_sdk/test/test_user_v3_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_user_v3_api_response_dto.py b/src/visier_platform_sdk/test/test_user_v3_api_response_dto.py index be7b54cab0..3dfd47222b 100644 --- a/src/visier_platform_sdk/test/test_user_v3_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_user_v3_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_api_error_message_dto.py b/src/visier_platform_sdk/test/test_users_api_error_message_dto.py index 5b80ab8802..e07307b296 100644 --- a/src/visier_platform_sdk/test/test_users_api_error_message_dto.py +++ b/src/visier_platform_sdk/test/test_users_api_error_message_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_api_failure_dto.py b/src/visier_platform_sdk/test/test_users_api_failure_dto.py index 3985cd3588..8c86bce9fe 100644 --- a/src/visier_platform_sdk/test/test_users_api_failure_dto.py +++ b/src/visier_platform_sdk/test/test_users_api_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_api_response_dto.py b/src/visier_platform_sdk/test/test_users_api_response_dto.py index bad9518d9e..85da8a1f19 100644 --- a/src/visier_platform_sdk/test/test_users_api_response_dto.py +++ b/src/visier_platform_sdk/test/test_users_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_api_success_dto.py b/src/visier_platform_sdk/test/test_users_api_success_dto.py index db594b5428..d23113bcbb 100644 --- a/src/visier_platform_sdk/test/test_users_api_success_dto.py +++ b/src/visier_platform_sdk/test/test_users_api_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py b/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py index fade240769..0cfcf8209f 100644 --- a/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py +++ b/src/visier_platform_sdk/test/test_users_creation_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py b/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py index 05ae9d23ee..62f0d4b2d7 100644 --- a/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py +++ b/src/visier_platform_sdk/test/test_users_delete_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py b/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py index 453d21d235..b395ae32cd 100644 --- a/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py +++ b/src/visier_platform_sdk/test/test_users_to_user_group_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py b/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py index c2cd70664e..122fe36f72 100644 --- a/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py +++ b/src/visier_platform_sdk/test/test_users_to_user_groups_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_update_api_request_dto.py b/src/visier_platform_sdk/test/test_users_update_api_request_dto.py index b9eb92d09d..7587b7390d 100644 --- a/src/visier_platform_sdk/test/test_users_update_api_request_dto.py +++ b/src/visier_platform_sdk/test/test_users_update_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_update_api_user_dto.py b/src/visier_platform_sdk/test/test_users_update_api_user_dto.py index 79d00df992..018e4167ff 100644 --- a/src/visier_platform_sdk/test/test_users_update_api_user_dto.py +++ b/src/visier_platform_sdk/test/test_users_update_api_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_v1_api.py b/src/visier_platform_sdk/test/test_users_v1_api.py index 67da780436..8e04b9e419 100644 --- a/src/visier_platform_sdk/test/test_users_v1_api.py +++ b/src/visier_platform_sdk/test/test_users_v1_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_v2_api.py b/src/visier_platform_sdk/test/test_users_v2_api.py index ab20aaed2e..8aff0ac2c4 100644 --- a/src/visier_platform_sdk/test/test_users_v2_api.py +++ b/src/visier_platform_sdk/test/test_users_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_users_v3_api.py b/src/visier_platform_sdk/test/test_users_v3_api.py index a541bb5e22..5f7316a9db 100644 --- a/src/visier_platform_sdk/test/test_users_v3_api.py +++ b/src/visier_platform_sdk/test/test_users_v3_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py b/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py index 9d8219f6fc..d59abd018a 100644 --- a/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_v2_calculated_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_v2_dimension_dto.py b/src/visier_platform_sdk/test/test_v2_dimension_dto.py index a2b3d9d643..c7cec877df 100644 --- a/src/visier_platform_sdk/test/test_v2_dimension_dto.py +++ b/src/visier_platform_sdk/test/test_v2_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -52,7 +52,7 @@ def make_instance(self, include_optional) -> V2DimensionDTO: visier_platform_sdk.models.tag_reference_dto.TagReferenceDTO( object_name = '', ) ], ), - visible_in_app = True, + visible_in_analytics = True, include_with_vee = True, version_information = visier_platform_sdk.models.version_information_dto.VersionInformationDTO( version_type = 'Unknown', diff --git a/src/visier_platform_sdk/test/test_v2_level_dto.py b/src/visier_platform_sdk/test/test_v2_level_dto.py index c3d70bd2cf..a841e65c20 100644 --- a/src/visier_platform_sdk/test/test_v2_level_dto.py +++ b/src/visier_platform_sdk/test/test_v2_level_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py b/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py index b65c4fdbdf..9e969f287e 100644 --- a/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py +++ b/src/visier_platform_sdk/test/test_v2_simple_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_validity_range_dto.py b/src/visier_platform_sdk/test/test_validity_range_dto.py index 2743f14596..b62bb0819a 100644 --- a/src/visier_platform_sdk/test/test_validity_range_dto.py +++ b/src/visier_platform_sdk/test/test_validity_range_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_api.py b/src/visier_platform_sdk/test/test_vee_api.py index 2156926988..3d913b68d9 100644 --- a/src/visier_platform_sdk/test/test_vee_api.py +++ b/src/visier_platform_sdk/test/test_vee_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_clarification_dto.py b/src/visier_platform_sdk/test/test_vee_clarification_dto.py index 27a85767e2..e9f8e8e60f 100644 --- a/src/visier_platform_sdk/test/test_vee_clarification_dto.py +++ b/src/visier_platform_sdk/test/test_vee_clarification_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_conversation_dto.py b/src/visier_platform_sdk/test/test_vee_conversation_dto.py index 08339cb62c..61b4c79f4e 100644 --- a/src/visier_platform_sdk/test/test_vee_conversation_dto.py +++ b/src/visier_platform_sdk/test/test_vee_conversation_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py b/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py index b23a05d9d3..813ce54032 100644 --- a/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py +++ b/src/visier_platform_sdk/test/test_vee_conversation_state_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_corrections_dto.py b/src/visier_platform_sdk/test/test_vee_corrections_dto.py index 872ce7ccbd..a580625f86 100644 --- a/src/visier_platform_sdk/test/test_vee_corrections_dto.py +++ b/src/visier_platform_sdk/test/test_vee_corrections_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_data_dto.py b/src/visier_platform_sdk/test/test_vee_data_dto.py index 9204891e6e..52fed71bd8 100644 --- a/src/visier_platform_sdk/test/test_vee_data_dto.py +++ b/src/visier_platform_sdk/test/test_vee_data_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_detail_data_dto.py b/src/visier_platform_sdk/test/test_vee_detail_data_dto.py new file mode 100644 index 0000000000..4484dc7764 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_detail_data_dto.py @@ -0,0 +1,63 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_detail_data_dto import VeeDetailDataDTO + +class TestVeeDetailDataDTO(unittest.TestCase): + """VeeDetailDataDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeDetailDataDTO: + """Test VeeDetailDataDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeDetailDataDTO( + chart_url = '', + query_function = '', + reworded_question = '', + data = visier_platform_sdk.models.vee_data_dto.VeeDataDTO( + data_json = '', + context = '', ) + ) + else: + return VeeDetailDataDTO( + ) + + def testVeeDetailDataDTO(self): + """Test VeeDetailDataDTO""" + def validate_instance(instance): + VeeDetailDataDTO.model_validate(inst_req_only) + instance_deserialized = VeeDetailDataDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_feedback_dto.py b/src/visier_platform_sdk/test/test_vee_feedback_dto.py index 633dbe7d90..4366e530fb 100644 --- a/src/visier_platform_sdk/test/test_vee_feedback_dto.py +++ b/src/visier_platform_sdk/test/test_vee_feedback_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_options_dto.py b/src/visier_platform_sdk/test/test_vee_options_dto.py index 66616d1d69..1effa7fe68 100644 --- a/src/visier_platform_sdk/test/test_vee_options_dto.py +++ b/src/visier_platform_sdk/test/test_vee_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -41,7 +41,8 @@ def make_instance(self, include_optional) -> VeeOptionsDTO: height = 56, ), include_data = True, data_format = 'json', - include_reworded_question = True + include_reworded_question = True, + include_detail_data = True ) else: return VeeOptionsDTO( diff --git a/src/visier_platform_sdk/test/test_vee_question_categories_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_vee_question_categories_bulk_change_response_dto.py new file mode 100644 index 0000000000..f8263733b0 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_categories_bulk_change_response_dto.py @@ -0,0 +1,75 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_categories_bulk_change_response_dto import VeeQuestionCategoriesBulkChangeResponseDTO + +class TestVeeQuestionCategoriesBulkChangeResponseDTO(unittest.TestCase): + """VeeQuestionCategoriesBulkChangeResponseDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoriesBulkChangeResponseDTO: + """Test VeeQuestionCategoriesBulkChangeResponseDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoriesBulkChangeResponseDTO( + successes = [ + visier_platform_sdk.models.vee_question_category_change_success_dto.VeeQuestionCategoryChangeSuccessDTO( + display_name = '', + category_id = '', + category_icon = None, + tenant_code = '', + project_id = '', ) + ], + failures = [ + visier_platform_sdk.models.vee_question_category_change_failure_dto.VeeQuestionCategoryChangeFailureDTO( + display_name = '', + category_id = '', + category_icon = None, + message = '', + rci = '', + tenant_code = '', + project_id = '', ) + ] + ) + else: + return VeeQuestionCategoriesBulkChangeResponseDTO( + ) + + def testVeeQuestionCategoriesBulkChangeResponseDTO(self): + """Test VeeQuestionCategoriesBulkChangeResponseDTO""" + def validate_instance(instance): + VeeQuestionCategoriesBulkChangeResponseDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoriesBulkChangeResponseDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_categories_change_definitions_dto.py b/src/visier_platform_sdk/test/test_vee_question_categories_change_definitions_dto.py new file mode 100644 index 0000000000..a81b580347 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_categories_change_definitions_dto.py @@ -0,0 +1,68 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_categories_change_definitions_dto import VeeQuestionCategoriesChangeDefinitionsDTO + +class TestVeeQuestionCategoriesChangeDefinitionsDTO(unittest.TestCase): + """VeeQuestionCategoriesChangeDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoriesChangeDefinitionsDTO: + """Test VeeQuestionCategoriesChangeDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoriesChangeDefinitionsDTO( + categories_by_tenant = [ + visier_platform_sdk.models.vee_question_category_change_definitions_by_tenant_dto.VeeQuestionCategoryChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + categories = [ + visier_platform_sdk.models.vee_question_category_change_definition_dto.VeeQuestionCategoryChangeDefinitionDTO( + display_name = '', + category_id = '', + category_icon = None, ) + ], ) + ] + ) + else: + return VeeQuestionCategoriesChangeDefinitionsDTO( + ) + + def testVeeQuestionCategoriesChangeDefinitionsDTO(self): + """Test VeeQuestionCategoriesChangeDefinitionsDTO""" + def validate_instance(instance): + VeeQuestionCategoriesChangeDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoriesChangeDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_categories_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_vee_question_categories_delete_definitions_dto.py new file mode 100644 index 0000000000..e668fbcc2e --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_categories_delete_definitions_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_categories_delete_definitions_dto import VeeQuestionCategoriesDeleteDefinitionsDTO + +class TestVeeQuestionCategoriesDeleteDefinitionsDTO(unittest.TestCase): + """VeeQuestionCategoriesDeleteDefinitionsDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoriesDeleteDefinitionsDTO: + """Test VeeQuestionCategoriesDeleteDefinitionsDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoriesDeleteDefinitionsDTO( + categories_by_tenant = [ + visier_platform_sdk.models.vee_question_category_delete_definitions_by_tenant_dto.VeeQuestionCategoryDeleteDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + category_ids = [ + '' + ], ) + ] + ) + else: + return VeeQuestionCategoriesDeleteDefinitionsDTO( + ) + + def testVeeQuestionCategoriesDeleteDefinitionsDTO(self): + """Test VeeQuestionCategoriesDeleteDefinitionsDTO""" + def validate_instance(instance): + VeeQuestionCategoriesDeleteDefinitionsDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoriesDeleteDefinitionsDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_category_change_definition_dto.py b/src/visier_platform_sdk/test/test_vee_question_category_change_definition_dto.py new file mode 100644 index 0000000000..fe0ab060d8 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_category_change_definition_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_category_change_definition_dto import VeeQuestionCategoryChangeDefinitionDTO + +class TestVeeQuestionCategoryChangeDefinitionDTO(unittest.TestCase): + """VeeQuestionCategoryChangeDefinitionDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoryChangeDefinitionDTO: + """Test VeeQuestionCategoryChangeDefinitionDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoryChangeDefinitionDTO( + display_name = '', + category_id = '', + category_icon = visier_platform_sdk.models.category_icon_dto.CategoryIconDTO( + base64_image = '', + background_color = '', ) + ) + else: + return VeeQuestionCategoryChangeDefinitionDTO( + ) + + def testVeeQuestionCategoryChangeDefinitionDTO(self): + """Test VeeQuestionCategoryChangeDefinitionDTO""" + def validate_instance(instance): + VeeQuestionCategoryChangeDefinitionDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoryChangeDefinitionDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_category_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_vee_question_category_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..0aaa970317 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_category_change_definitions_by_tenant_dto.py @@ -0,0 +1,65 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_category_change_definitions_by_tenant_dto import VeeQuestionCategoryChangeDefinitionsByTenantDTO + +class TestVeeQuestionCategoryChangeDefinitionsByTenantDTO(unittest.TestCase): + """VeeQuestionCategoryChangeDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoryChangeDefinitionsByTenantDTO: + """Test VeeQuestionCategoryChangeDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoryChangeDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + categories = [ + visier_platform_sdk.models.vee_question_category_change_definition_dto.VeeQuestionCategoryChangeDefinitionDTO( + display_name = '', + category_id = '', + category_icon = None, ) + ] + ) + else: + return VeeQuestionCategoryChangeDefinitionsByTenantDTO( + ) + + def testVeeQuestionCategoryChangeDefinitionsByTenantDTO(self): + """Test VeeQuestionCategoryChangeDefinitionsByTenantDTO""" + def validate_instance(instance): + VeeQuestionCategoryChangeDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoryChangeDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_category_change_failure_dto.py b/src/visier_platform_sdk/test/test_vee_question_category_change_failure_dto.py new file mode 100644 index 0000000000..175295c8d7 --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_category_change_failure_dto.py @@ -0,0 +1,66 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_category_change_failure_dto import VeeQuestionCategoryChangeFailureDTO + +class TestVeeQuestionCategoryChangeFailureDTO(unittest.TestCase): + """VeeQuestionCategoryChangeFailureDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoryChangeFailureDTO: + """Test VeeQuestionCategoryChangeFailureDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoryChangeFailureDTO( + display_name = '', + category_id = '', + category_icon = visier_platform_sdk.models.category_icon_dto.CategoryIconDTO( + base64_image = '', + background_color = '', ), + message = '', + rci = '', + tenant_code = '', + project_id = '' + ) + else: + return VeeQuestionCategoryChangeFailureDTO( + ) + + def testVeeQuestionCategoryChangeFailureDTO(self): + """Test VeeQuestionCategoryChangeFailureDTO""" + def validate_instance(instance): + VeeQuestionCategoryChangeFailureDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoryChangeFailureDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_category_change_success_dto.py b/src/visier_platform_sdk/test/test_vee_question_category_change_success_dto.py new file mode 100644 index 0000000000..5e9c3b1d0a --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_category_change_success_dto.py @@ -0,0 +1,64 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_category_change_success_dto import VeeQuestionCategoryChangeSuccessDTO + +class TestVeeQuestionCategoryChangeSuccessDTO(unittest.TestCase): + """VeeQuestionCategoryChangeSuccessDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoryChangeSuccessDTO: + """Test VeeQuestionCategoryChangeSuccessDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoryChangeSuccessDTO( + display_name = '', + category_id = '', + category_icon = visier_platform_sdk.models.category_icon_dto.CategoryIconDTO( + base64_image = '', + background_color = '', ), + tenant_code = '', + project_id = '' + ) + else: + return VeeQuestionCategoryChangeSuccessDTO( + ) + + def testVeeQuestionCategoryChangeSuccessDTO(self): + """Test VeeQuestionCategoryChangeSuccessDTO""" + def validate_instance(instance): + VeeQuestionCategoryChangeSuccessDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoryChangeSuccessDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_category_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_vee_question_category_delete_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..da76361d4f --- /dev/null +++ b/src/visier_platform_sdk/test/test_vee_question_category_delete_definitions_by_tenant_dto.py @@ -0,0 +1,62 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest + +import visier_platform_sdk.models +from visier_platform_sdk.models.vee_question_category_delete_definitions_by_tenant_dto import VeeQuestionCategoryDeleteDefinitionsByTenantDTO + +class TestVeeQuestionCategoryDeleteDefinitionsByTenantDTO(unittest.TestCase): + """VeeQuestionCategoryDeleteDefinitionsByTenantDTO unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> VeeQuestionCategoryDeleteDefinitionsByTenantDTO: + """Test VeeQuestionCategoryDeleteDefinitionsByTenantDTO + include_optional is a boolean, when False only required + params are included, when True both required and + optional params are included """ + + if include_optional: + return VeeQuestionCategoryDeleteDefinitionsByTenantDTO( + tenant_code = '', + project_id = '', + category_ids = [ + '' + ] + ) + else: + return VeeQuestionCategoryDeleteDefinitionsByTenantDTO( + ) + + def testVeeQuestionCategoryDeleteDefinitionsByTenantDTO(self): + """Test VeeQuestionCategoryDeleteDefinitionsByTenantDTO""" + def validate_instance(instance): + VeeQuestionCategoryDeleteDefinitionsByTenantDTO.model_validate(inst_req_only) + instance_deserialized = VeeQuestionCategoryDeleteDefinitionsByTenantDTO.from_dict(instance.to_dict()) + assert instance == instance_deserialized + + inst_req_only = self.make_instance(include_optional=False) + validate_instance(inst_req_only) + + inst_req_and_optional = self.make_instance(include_optional=True) + validate_instance(inst_req_and_optional) + +if __name__ == '__main__': + unittest.main() diff --git a/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py index 02c1361168..6e5839eac4 100644 --- a/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py +++ b/src/visier_platform_sdk/test/test_vee_question_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py index 2bd3d9c0ff..ee1a6601a8 100644 --- a/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_vee_question_change_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py index cf280eea22..fb788313a6 100644 --- a/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py +++ b/src/visier_platform_sdk/test/test_vee_question_change_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py b/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py index 62dd6402ff..367f4cdb73 100644 --- a/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py +++ b/src/visier_platform_sdk/test/test_vee_question_change_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py index 66010560d8..803a2a6520 100644 --- a/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/test/test_vee_question_delete_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_question_dto.py b/src/visier_platform_sdk/test/test_vee_question_dto.py index 5c5f54dd91..7bdd84e9b0 100644 --- a/src/visier_platform_sdk/test/test_vee_question_dto.py +++ b/src/visier_platform_sdk/test/test_vee_question_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -45,7 +45,8 @@ def make_instance(self, include_optional) -> VeeQuestionDTO: visual_options = None, include_data = True, data_format = 'json', - include_reworded_question = True, ), + include_reworded_question = True, + include_detail_data = True, ), max_view_details_members = 56 ) else: diff --git a/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py b/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py index 2e58d55ea5..b032385d3b 100644 --- a/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py +++ b/src/visier_platform_sdk/test/test_vee_questions_bulk_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py b/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py index 2235addaf8..9d3773185d 100644 --- a/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py +++ b/src/visier_platform_sdk/test/test_vee_questions_change_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py b/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py index 5b760022a1..0a3e495a5e 100644 --- a/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py +++ b/src/visier_platform_sdk/test/test_vee_questions_delete_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_response_dto.py b/src/visier_platform_sdk/test/test_vee_response_dto.py index 6705f6ed6d..79ab58c5b2 100644 --- a/src/visier_platform_sdk/test/test_vee_response_dto.py +++ b/src/visier_platform_sdk/test/test_vee_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -91,7 +91,16 @@ def make_instance(self, include_optional) -> VeeResponseDTO: image = '', title = '', context = '', ), - reworded_question = '' + reworded_question = '', + detail_data = [ + visier_platform_sdk.models.vee_detail_data_dto.VeeDetailDataDTO( + chart_url = '', + query_function = '', + reworded_question = '', + data = visier_platform_sdk.models.vee_data_dto.VeeDataDTO( + data_json = '', + context = '', ), ) + ] ) else: return VeeResponseDTO( diff --git a/src/visier_platform_sdk/test/test_vee_response_schema_dto.py b/src/visier_platform_sdk/test/test_vee_response_schema_dto.py index 1877f734fa..41f216ad3b 100644 --- a/src/visier_platform_sdk/test/test_vee_response_schema_dto.py +++ b/src/visier_platform_sdk/test/test_vee_response_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py b/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py index dd549a68e6..6384f575e7 100644 --- a/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py +++ b/src/visier_platform_sdk/test/test_vee_response_schema_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_sample_question_dto.py b/src/visier_platform_sdk/test/test_vee_sample_question_dto.py index bbb350c492..f8219f89aa 100644 --- a/src/visier_platform_sdk/test/test_vee_sample_question_dto.py +++ b/src/visier_platform_sdk/test/test_vee_sample_question_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py b/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py index 93334e1f7b..663deae714 100644 --- a/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py +++ b/src/visier_platform_sdk/test/test_vee_sample_question_library_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_status_code_dto.py b/src/visier_platform_sdk/test/test_vee_status_code_dto.py index 34ef5aaf89..664bafff76 100644 --- a/src/visier_platform_sdk/test/test_vee_status_code_dto.py +++ b/src/visier_platform_sdk/test/test_vee_status_code_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_status_dto.py b/src/visier_platform_sdk/test/test_vee_status_dto.py index acae1aa340..6d21783021 100644 --- a/src/visier_platform_sdk/test/test_vee_status_dto.py +++ b/src/visier_platform_sdk/test/test_vee_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_visual_dto.py b/src/visier_platform_sdk/test/test_vee_visual_dto.py index bc12eb8579..c5afa2c712 100644 --- a/src/visier_platform_sdk/test/test_vee_visual_dto.py +++ b/src/visier_platform_sdk/test/test_vee_visual_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_vee_visual_options_dto.py b/src/visier_platform_sdk/test/test_vee_visual_options_dto.py index d91da7101d..d5fe4c8d7e 100644 --- a/src/visier_platform_sdk/test/test_vee_visual_options_dto.py +++ b/src/visier_platform_sdk/test/test_vee_visual_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_version_information_dto.py b/src/visier_platform_sdk/test/test_version_information_dto.py index 0b873f1d73..b577f395dc 100644 --- a/src/visier_platform_sdk/test/test_version_information_dto.py +++ b/src/visier_platform_sdk/test/test_version_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_features_for_user_group_dto.py b/src/visier_platform_sdk/test/test_visible_for_selection_dto.py similarity index 61% rename from src/visier_platform_sdk/test/test_features_for_user_group_dto.py rename to src/visier_platform_sdk/test/test_visible_for_selection_dto.py index 947f94222f..938e6ae9c5 100644 --- a/src/visier_platform_sdk/test/test_features_for_user_group_dto.py +++ b/src/visier_platform_sdk/test/test_visible_for_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -16,10 +16,10 @@ import unittest import visier_platform_sdk.models -from visier_platform_sdk.models.features_for_user_group_dto import FeaturesForUserGroupDTO +from visier_platform_sdk.models.visible_for_selection_dto import VisibleForSelectionDTO -class TestFeaturesForUserGroupDTO(unittest.TestCase): - """FeaturesForUserGroupDTO unit test stubs""" +class TestVisibleForSelectionDTO(unittest.TestCase): + """VisibleForSelectionDTO unit test stubs""" def setUp(self): pass @@ -27,27 +27,28 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> FeaturesForUserGroupDTO: - """Test FeaturesForUserGroupDTO + def make_instance(self, include_optional) -> VisibleForSelectionDTO: + """Test VisibleForSelectionDTO include_optional is a boolean, when False only required params are included, when True both required and optional params are included """ if include_optional: - return FeaturesForUserGroupDTO( + return VisibleForSelectionDTO( + enabled = True, features = [ - 'SolutionFeatures' + 'AnalyticsFeatures' ] ) else: - return FeaturesForUserGroupDTO( + return VisibleForSelectionDTO( ) - def testFeaturesForUserGroupDTO(self): - """Test FeaturesForUserGroupDTO""" + def testVisibleForSelectionDTO(self): + """Test VisibleForSelectionDTO""" def validate_instance(instance): - FeaturesForUserGroupDTO.model_validate(inst_req_only) - instance_deserialized = FeaturesForUserGroupDTO.from_dict(instance.to_dict()) + VisibleForSelectionDTO.model_validate(inst_req_only) + instance_deserialized = VisibleForSelectionDTO.from_dict(instance.to_dict()) assert instance == instance_deserialized inst_req_only = self.make_instance(include_optional=False) diff --git a/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py b/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py index 882d845dd6..78e6e3fe08 100644 --- a/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_basic_auth_credential_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhook_credentials_dto.py b/src/visier_platform_sdk/test/test_webhook_credentials_dto.py index e779cea42e..497ff301d6 100644 --- a/src/visier_platform_sdk/test/test_webhook_credentials_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_credentials_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhook_details_dto.py b/src/visier_platform_sdk/test/test_webhook_details_dto.py index 814df7e99b..5263437a92 100644 --- a/src/visier_platform_sdk/test/test_webhook_details_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhook_dto.py b/src/visier_platform_sdk/test/test_webhook_dto.py index f60e88e0c7..16c311bcb4 100644 --- a/src/visier_platform_sdk/test/test_webhook_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhook_event_type_dto.py b/src/visier_platform_sdk/test/test_webhook_event_type_dto.py index 67ec7b3966..b265917e1f 100644 --- a/src/visier_platform_sdk/test/test_webhook_event_type_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_event_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhook_message_response_dto.py b/src/visier_platform_sdk/test/test_webhook_message_response_dto.py index 9827e20b31..86bf0babc7 100644 --- a/src/visier_platform_sdk/test/test_webhook_message_response_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_message_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhook_request_dto.py b/src/visier_platform_sdk/test/test_webhook_request_dto.py index 2ee93d4273..bdd2611af1 100644 --- a/src/visier_platform_sdk/test/test_webhook_request_dto.py +++ b/src/visier_platform_sdk/test/test_webhook_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhooks_api.py b/src/visier_platform_sdk/test/test_webhooks_api.py index fcf3909299..1eab59e715 100644 --- a/src/visier_platform_sdk/test/test_webhooks_api.py +++ b/src/visier_platform_sdk/test/test_webhooks_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_webhooks_dto.py b/src/visier_platform_sdk/test/test_webhooks_dto.py index 9d73f77889..578dc1664a 100644 --- a/src/visier_platform_sdk/test/test_webhooks_dto.py +++ b/src/visier_platform_sdk/test/test_webhooks_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_willow_auth_params_dto.py b/src/visier_platform_sdk/test/test_willow_auth_params_dto.py index 07ff4585fd..e84cbddc23 100644 --- a/src/visier_platform_sdk/test/test_willow_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_willow_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_workday_auth_params_dto.py b/src/visier_platform_sdk/test/test_workday_auth_params_dto.py index 826e4c07dc..8d79381cc1 100644 --- a/src/visier_platform_sdk/test/test_workday_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_workday_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py b/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py index fd6069c78c..67e7068b83 100644 --- a/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_workday_o_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py b/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py index e1b0c1693a..de31eaad56 100644 --- a/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_workday_raas_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py b/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py index 5d43cc4d4c..5775d21cfb 100644 --- a/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py +++ b/src/visier_platform_sdk/test/test_workday_refresh_token_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py b/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py index 6103714671..4a2a217eb8 100644 --- a/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py +++ b/src/visier_platform_sdk/test/test_zoom_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/__init__.py b/src/visier_platform_sdk/visier_platform_sdk/__init__.py index 329d03dc4b..027244313d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/__init__.py +++ b/src/visier_platform_sdk/visier_platform_sdk/__init__.py @@ -7,7 +7,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -15,10 +15,11 @@ """ # noqa: E501 -__version__ = "22222222.99201.2050" +__version__ = "22222222.99200.22144" # Define package exports __all__ = [ + "AnalyticObjectsV2Api", "BasicAuthenticationApi", "BenchmarksApi", "ConceptsV2Api", @@ -35,11 +36,13 @@ "EmailDomainsApi", "EncryptionKeysApi", "JobsLibraryApi", + "MetricsV2Api", "NetworkSubnetsApi", "OAuth2Api", "ObjectConfigurationApi", "PGPKeysApi", "PermissionsApi", + "PersonalizedAlertsApi", "PlanAdministrationApi", "PlanDataLoadApi", "ProductionVersionsApi", @@ -94,6 +97,8 @@ "AllUsersGetAPIResponseDTO", "AnalyticObjectDTO", "AnalyticObjectDefinitionDTO", + "AnalyticObjectDeleteRequestDTO", + "AnalyticObjectDeleteWithContextDTO", "AnalyticObjectDetailsDTO", "AnalyticObjectFilterDTO", "AnalyticObjectFilterListDTO", @@ -101,6 +106,9 @@ "AnalyticObjectReferenceDTO", "AnalyticObjectReferenceListDTO", "AnalyticObjectRequestDTO", + "AnalyticObjectResponseDTO", + "AnalyticObjectRevertRequestDTO", + "AnalyticObjectRevertWithContextDTO", "AnalyticObjectWithContextDTO", "AnalyticObjectsDTO", "Any", @@ -122,6 +130,7 @@ "BatchTenantProvisionAPIDTO", "BenchmarkInfo", "BenchmarkValue", + "BetweenRuleDTO", "BigQueryAuthParamsDTO", "BigQueryServiceAccountParamsDTO", "BulkChangeResponseDTO", @@ -140,6 +149,11 @@ "CapabilityGroupDTO", "CaptionDTO", "CaptionListDTO", + "CareerLevelSearchFailureOutput", + "CareerLevelSearchInput", + "CareerLevelSearchOutput", + "CareerLevelSearchSuccessfulOutput", + "CategoryIconDTO", "CellDTO", "CellDistributionBinDTO", "CellDistributionOptionsDTO", @@ -149,14 +163,15 @@ "CellSetOrErrorDTO", "CloneFilesIntoSourceParametersDTO", "CohortFilterDTO", + "CollaborationInfo", "CommitAndPublishOperationResponseDTO", "CommitDTO", + "ComparedMetricDTO", "ConceptConfigurationResultDTO", "ConceptDefinitionDTO", "ConceptDeleteRequestDTO", "ConceptDeleteWithContextDTO", - "ConceptReferenceDTO", - "ConceptReferenceListDTO", + "ConceptReferenceFilterDTO", "ConceptRequestDTO", "ConceptResponseDTO", "ConceptTypeDetailsDTO", @@ -176,6 +191,7 @@ "ConsolidatedAnalyticsJobRequestDTO", "ContentPackageDTO", "CopyS3AuthParamsDTO", + "CreateEventAlertRequestDTO", "CredentialCreationAPIResponseDTO", "CurrenciesDTO", "CurrencyDTO", @@ -215,9 +231,11 @@ "DatabricksAuthParamsDTO", "DateRangeDTO", "DayforceV2AuthParamsDTO", + "DeleteEmailDomainsDTO", "DeletePermissionsRequestDTO", "DeleteUserGroupV2Request", "DependentDTO", + "DerivedMetricDetailsDTO", "DescriptionEntry", "DesignerDimensionFilterDTO", "DesignerSelectionConceptDTO", @@ -261,8 +279,15 @@ "DynamicPropertyMappingDTO", "ElementIDsDTO", "EmailDomainsDTO", + "EndCollaborationActionPayload", "ErrorDTO", "ErrorSummary", + "EventAlertDTO", + "EventAlertDeleteSuccessDTO", + "EventAlertNotificationResultAlertDetailsDTO", + "EventAlertNotificationResultDTO", + "EventAlertNotificationResultsDTO", + "EventAlertTriggerCriteriaDTO", "EventDetailsDTO", "ExcludeDataUploadsRequest", "ExcludedSourcesBody", @@ -281,7 +306,8 @@ "FailedChangeDTO", "FailedLocalTenantProfileAssignmentDTO", "FailedLocalTenantProfileRevokeDTO", - "FeaturesForUserGroupDTO", + "FilterDTO", + "FixedTimeTypeDTO", "FusionAuthParamsDTO", "GenerateImpersonationTokenRequest", "GenerateKeyRequestDTO", @@ -289,6 +315,7 @@ "GetContentPackagesAPIResponseDTO", "GetDataAccessSetsAPIResponseDTO", "GetDataSecurityObjectsAPIResponseDTO", + "GetEventAlertsResponseDTO", "GetPermissionsAPIResponseDTO", "GetPlanListResponseDTO", "GetProductionVersionsAPIResponseDTO", @@ -297,6 +324,7 @@ "GoogleSheetsAuthParamsDTO", "GoogleWorkspaceAuthParamsDTO", "GreenhouseAuthParamsDTO", + "GroupedMetricValueThresholdCriteriaDTO", "Hierarchy", "HierarchyPropertyDTO", "HomeAnalysisByUserGroupDTO", @@ -363,8 +391,14 @@ "MembersDTO", "MetricDTO", "MetricDefinitionDTO", + "MetricDeleteRequestDTO", + "MetricDeleteWithContextDTO", + "MetricFilterParameterValueDTO", + "MetricRequestDTO", + "MetricResponseDTO", "MetricTypeDetailsDTO", "MetricValidationSummaryDTO", + "MetricWithContextDTO", "MetricsDTO", "Microsoft365AuthParamsDTO", "ModuleSettingsDTO", @@ -378,6 +412,8 @@ "NetworkSubnetsMessageResponse", "NumericParameterDefinitionDTO", "NumericParameterValueDTO", + "NumericRangeDTO", + "NumericRangeFilterDTO", "OAuth2UserInfoDTO", "OAuth2UserSubnetInfoDTO", "OAuth2UserTenantDetailDTO", @@ -389,12 +425,14 @@ "ObjectReferenceDTO", "ObjectsBulkChangeResponseDTO", "OracleDbAuthParamsDTO", + "OtherMetricDTO", "OutputEntry", "OutputEntry1", "OutputEntry1MatchesInner", "PairDTO", "ParameterDefinitionDTO", "ParentChildDetailsDTO", + "PeriodsBackDTO", "PermissionAssignedByTenantDTO", "PermissionAssignedForLocalTenantDTO", "PermissionAssignedUserDTO", @@ -409,6 +447,7 @@ "PermissionsToUserGroupForTenantDTO", "PermissionsToUserGroupRequestDTO", "PermissionsToUserGroupsRequestDTO", + "PersistedCohortFilterDTO", "PerspectiveConfigurationDTO", "PerspectiveNodeDTO", "PlanDataLoadChangeDTO", @@ -419,14 +458,15 @@ "PlanItemDTO", "PlanParameterDefinitionDTO", "PlanParameterValueDTO", - "PlanPatchActionResult", "PlanPatchConsolidateActionRequest", - "PlanPatchConsolidateActionRequestWithPlanId", + "PlanPatchEndCollaborationActionRequest", "PlanPatchReopenActionRequest", - "PlanPatchReopenActionRequestWithPlanId", - "PlanPatchRequest", - "PlanPatchResponse", + "PlanPatchStartCollaborationActionRequest", + "PlanPatchSubmitActionRequest", "PlanRowDataLoadResponseDTO", + "PlanScenarioPatchActionResult", + "PlanScenarioPatchRequest", + "PlanScenarioPatchResponse", "PlanSchemaDTO", "PlanSegmentLevelDTO", "PlanSegmentLevelMemberDTO", @@ -440,10 +480,6 @@ "PlanningPlanContextDTO", "PlanningPlanDTO", "PlanningPlansDTO", - "PlansPatchRequest", - "PlansPatchRequestPlanItem", - "PlansPatchResponse", - "PlansPatchResponseActionResult", "PopulationConfigurationDTO", "PredictionDTO", "PredictionsDTO", @@ -451,9 +487,13 @@ "ProcessConceptMemberDTO", "ProcessConceptMemberListDTO", "ProcessConceptMetricDefinitionDTO", + "ProcessConceptMetricDetailsDTO", "ProcessConceptMetricListDTO", + "ProcessConceptMetricTypeDetailsDTO", "ProcessConceptOutcomeDTO", "ProcessConceptOutcomeListDTO", + "ProcessConceptPropertyDTO", + "ProcessConceptPropertyDetailsDTO", "ProcessConceptPropertyListDTO", "ProcessConceptPropertyTypeDTO", "ProcessConceptStageDTO", @@ -478,6 +518,7 @@ "ProfileAssignmentDTO", "ProfileGetAPIResponseDTO", "ProfilesGetAPIResponseDTO", + "ProjectCommitDTO", "ProjectCommitsAPIResponseDTO", "ProjectDTO", "ProjectOperationRequestDTO", @@ -511,7 +552,6 @@ "PushDataResponse", "PushDataSourceDefinitionDTO", "PushDataSourceDefinitionsDTO", - "PutProjectCommitsRequest", "QualtricsAuthParamsDTO", "QueryAxisDTO", "QueryAxisOptionsDTO", @@ -550,6 +590,11 @@ "ReducedTenantCodeErrorDTO", "ReducedUserIdErrorDTO", "RelatedAnalyticObjectDTO", + "RelativeTimeExpressionDTO", + "RelativeTimePeriodDTO", + "RelativeTimeSelectionDTO", + "RelativeTimeShiftDTO", + "RelativeToRuleDTO", "ReopenActionPayload", "ReportCreateRequestDTO", "ReportDTO", @@ -557,12 +602,17 @@ "ReportListResponseDTO", "Result", "RoleModulesConfigDTO", + "RuleDTO", + "RuleSetDTO", + "SalaryBenchmarkFeedbackInput", "SalaryBenchmarkInput", "SalaryBenchmarksBatchProcessingFailureOutput", "SalaryBenchmarksBatchProcessingOutputs", "SalaryBenchmarksBatchProcessingSuccessfulOutput", "SalesforceAuthParamsDTO", "SalesforceV2AuthParamsDTO", + "SameMetricOtherContextDTO", + "SameMetricOtherTimeDTO", "SampleQuestionAPIResponseDTO", "SampleQuestionsAPIResponseDTO", "ScenarioInfoDTO", @@ -590,6 +640,7 @@ "SidecarSolutionSettingsDTO", "SimpleDocumentHeaderSearchResponseDTO", "SimpleDocumentHeaderSearchResultDTO", + "SimpleMetricDetailsDTO", "SimplePropertyTypeDTO", "SimpleUserDTO", "SingleValueSettingDTO", @@ -614,14 +665,19 @@ "SqlLike200Response", "SqlLikeQueryExecutionDTO", "SqlServerAuthParamsDTO", + "StartCollaborationActionPayload", "StartExtractionResponse", "StartTransferResponse", "StaticDimensionFilterDTO", "Status", "SubjectDetailsDTO", + "SubjectMemberSetParameterValueDTO", + "SubjectMemberSetParameterValueDTOListOfNamePathDTO", + "SubjectMemberSetParameterValueDTONamePathDTO", "SubjectMissingAccessDTO", "SubjectReferenceDTO", "SubjectReferenceListDTO", + "SubmitActionPayload", "SuccessFactorsAuthParamsDTO", "SuccessFactorsOAuthParamsDTO", "SuccessfulAccessibleTenantProfileAssignmentDTO", @@ -662,9 +718,17 @@ "TenantProvisionAPIDTO", "TenantSourceFilesListResponseDTO", "TenantStatusAPIDTO", + "TimeHandlingDTO", + "TimePeriodDTO", + "TimePeriodFilterDTO", + "TimePeriodMetadataDTO", "TimeShiftDTO", "TokenResponse", + "TriggerCriteriaMemberResultInfoDTO", + "TriggerCriteriaOverallResultInfoDTO", + "TriggerCriteriaResultInfoDTO", "UltimateAuthParamsDTO", + "UpdateEventAlertRecipientStatusDTO", "UpdateTenantModel", "UploadToExclude", "UploadToInclude", @@ -719,8 +783,17 @@ "VeeConversationStateDTO", "VeeCorrectionsDTO", "VeeDataDTO", + "VeeDetailDataDTO", "VeeFeedbackDTO", "VeeOptionsDTO", + "VeeQuestionCategoriesBulkChangeResponseDTO", + "VeeQuestionCategoriesChangeDefinitionsDTO", + "VeeQuestionCategoriesDeleteDefinitionsDTO", + "VeeQuestionCategoryChangeDefinitionDTO", + "VeeQuestionCategoryChangeDefinitionsByTenantDTO", + "VeeQuestionCategoryChangeFailureDTO", + "VeeQuestionCategoryChangeSuccessDTO", + "VeeQuestionCategoryDeleteDefinitionsByTenantDTO", "VeeQuestionChangeDefinitionDTO", "VeeQuestionChangeDefinitionsByTenantDTO", "VeeQuestionChangeFailureDTO", @@ -740,6 +813,7 @@ "VeeVisualDTO", "VeeVisualOptionsDTO", "VersionInformationDTO", + "VisibleForSelectionDTO", "WebhookBasicAuthCredentialDTO", "WebhookCredentialsDTO", "WebhookDTO", @@ -757,6 +831,7 @@ ] # import apis into sdk package +from visier_platform_sdk.api.analytic_objects_v2_api import AnalyticObjectsV2Api from visier_platform_sdk.api.basic_authentication_api import BasicAuthenticationApi from visier_platform_sdk.api.benchmarks_api import BenchmarksApi from visier_platform_sdk.api.concepts_v2_api import ConceptsV2Api @@ -773,11 +848,13 @@ from visier_platform_sdk.api.email_domains_api import EmailDomainsApi from visier_platform_sdk.api.encryption_keys_api import EncryptionKeysApi from visier_platform_sdk.api.jobs_library_api import JobsLibraryApi +from visier_platform_sdk.api.metrics_v2_api import MetricsV2Api from visier_platform_sdk.api.network_subnets_api import NetworkSubnetsApi from visier_platform_sdk.api.o_auth2_api import OAuth2Api from visier_platform_sdk.api.object_configuration_api import ObjectConfigurationApi from visier_platform_sdk.api.pgp_keys_api import PGPKeysApi from visier_platform_sdk.api.permissions_api import PermissionsApi +from visier_platform_sdk.api.personalized_alerts_api import PersonalizedAlertsApi from visier_platform_sdk.api.plan_administration_api import PlanAdministrationApi from visier_platform_sdk.api.plan_data_load_api import PlanDataLoadApi from visier_platform_sdk.api.production_versions_api import ProductionVersionsApi @@ -836,6 +913,8 @@ from visier_platform_sdk.models.all_users_get_api_response_dto import AllUsersGetAPIResponseDTO from visier_platform_sdk.models.analytic_object_dto import AnalyticObjectDTO from visier_platform_sdk.models.analytic_object_definition_dto import AnalyticObjectDefinitionDTO +from visier_platform_sdk.models.analytic_object_delete_request_dto import AnalyticObjectDeleteRequestDTO +from visier_platform_sdk.models.analytic_object_delete_with_context_dto import AnalyticObjectDeleteWithContextDTO from visier_platform_sdk.models.analytic_object_details_dto import AnalyticObjectDetailsDTO from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO from visier_platform_sdk.models.analytic_object_filter_list_dto import AnalyticObjectFilterListDTO @@ -843,6 +922,9 @@ from visier_platform_sdk.models.analytic_object_reference_dto import AnalyticObjectReferenceDTO from visier_platform_sdk.models.analytic_object_reference_list_dto import AnalyticObjectReferenceListDTO from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO +from visier_platform_sdk.models.analytic_object_response_dto import AnalyticObjectResponseDTO +from visier_platform_sdk.models.analytic_object_revert_request_dto import AnalyticObjectRevertRequestDTO +from visier_platform_sdk.models.analytic_object_revert_with_context_dto import AnalyticObjectRevertWithContextDTO from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO from visier_platform_sdk.models.any import Any @@ -864,6 +946,7 @@ from visier_platform_sdk.models.batch_tenant_provision_apidto import BatchTenantProvisionAPIDTO from visier_platform_sdk.models.benchmark_info import BenchmarkInfo from visier_platform_sdk.models.benchmark_value import BenchmarkValue +from visier_platform_sdk.models.between_rule_dto import BetweenRuleDTO from visier_platform_sdk.models.big_query_auth_params_dto import BigQueryAuthParamsDTO from visier_platform_sdk.models.big_query_service_account_params_dto import BigQueryServiceAccountParamsDTO from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO @@ -882,6 +965,11 @@ from visier_platform_sdk.models.capability_group_dto import CapabilityGroupDTO from visier_platform_sdk.models.caption_dto import CaptionDTO from visier_platform_sdk.models.caption_list_dto import CaptionListDTO +from visier_platform_sdk.models.career_level_search_failure_output import CareerLevelSearchFailureOutput +from visier_platform_sdk.models.career_level_search_input import CareerLevelSearchInput +from visier_platform_sdk.models.career_level_search_output import CareerLevelSearchOutput +from visier_platform_sdk.models.career_level_search_successful_output import CareerLevelSearchSuccessfulOutput +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO from visier_platform_sdk.models.cell_dto import CellDTO from visier_platform_sdk.models.cell_distribution_bin_dto import CellDistributionBinDTO from visier_platform_sdk.models.cell_distribution_options_dto import CellDistributionOptionsDTO @@ -891,14 +979,15 @@ from visier_platform_sdk.models.cell_set_or_error_dto import CellSetOrErrorDTO from visier_platform_sdk.models.clone_files_into_source_parameters_dto import CloneFilesIntoSourceParametersDTO from visier_platform_sdk.models.cohort_filter_dto import CohortFilterDTO +from visier_platform_sdk.models.collaboration_info import CollaborationInfo from visier_platform_sdk.models.commit_and_publish_operation_response_dto import CommitAndPublishOperationResponseDTO from visier_platform_sdk.models.commit_dto import CommitDTO +from visier_platform_sdk.models.compared_metric_dto import ComparedMetricDTO from visier_platform_sdk.models.concept_configuration_result_dto import ConceptConfigurationResultDTO from visier_platform_sdk.models.concept_definition_dto import ConceptDefinitionDTO from visier_platform_sdk.models.concept_delete_request_dto import ConceptDeleteRequestDTO from visier_platform_sdk.models.concept_delete_with_context_dto import ConceptDeleteWithContextDTO -from visier_platform_sdk.models.concept_reference_dto import ConceptReferenceDTO -from visier_platform_sdk.models.concept_reference_list_dto import ConceptReferenceListDTO +from visier_platform_sdk.models.concept_reference_filter_dto import ConceptReferenceFilterDTO from visier_platform_sdk.models.concept_request_dto import ConceptRequestDTO from visier_platform_sdk.models.concept_response_dto import ConceptResponseDTO from visier_platform_sdk.models.concept_type_details_dto import ConceptTypeDetailsDTO @@ -918,6 +1007,7 @@ from visier_platform_sdk.models.consolidated_analytics_job_request_dto import ConsolidatedAnalyticsJobRequestDTO from visier_platform_sdk.models.content_package_dto import ContentPackageDTO from visier_platform_sdk.models.copy_s3_auth_params_dto import CopyS3AuthParamsDTO +from visier_platform_sdk.models.create_event_alert_request_dto import CreateEventAlertRequestDTO from visier_platform_sdk.models.credential_creation_api_response_dto import CredentialCreationAPIResponseDTO from visier_platform_sdk.models.currencies_dto import CurrenciesDTO from visier_platform_sdk.models.currency_dto import CurrencyDTO @@ -957,9 +1047,11 @@ from visier_platform_sdk.models.databricks_auth_params_dto import DatabricksAuthParamsDTO from visier_platform_sdk.models.date_range_dto import DateRangeDTO from visier_platform_sdk.models.dayforce_v2_auth_params_dto import DayforceV2AuthParamsDTO +from visier_platform_sdk.models.delete_email_domains_dto import DeleteEmailDomainsDTO from visier_platform_sdk.models.delete_permissions_request_dto import DeletePermissionsRequestDTO from visier_platform_sdk.models.delete_user_group_v2_request import DeleteUserGroupV2Request from visier_platform_sdk.models.dependent_dto import DependentDTO +from visier_platform_sdk.models.derived_metric_details_dto import DerivedMetricDetailsDTO from visier_platform_sdk.models.description_entry import DescriptionEntry from visier_platform_sdk.models.designer_dimension_filter_dto import DesignerDimensionFilterDTO from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO @@ -1003,8 +1095,15 @@ from visier_platform_sdk.models.dynamic_property_mapping_dto import DynamicPropertyMappingDTO from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO +from visier_platform_sdk.models.end_collaboration_action_payload import EndCollaborationActionPayload from visier_platform_sdk.models.error_dto import ErrorDTO from visier_platform_sdk.models.error_summary import ErrorSummary +from visier_platform_sdk.models.event_alert_dto import EventAlertDTO +from visier_platform_sdk.models.event_alert_delete_success_dto import EventAlertDeleteSuccessDTO +from visier_platform_sdk.models.event_alert_notification_result_alert_details_dto import EventAlertNotificationResultAlertDetailsDTO +from visier_platform_sdk.models.event_alert_notification_result_dto import EventAlertNotificationResultDTO +from visier_platform_sdk.models.event_alert_notification_results_dto import EventAlertNotificationResultsDTO +from visier_platform_sdk.models.event_alert_trigger_criteria_dto import EventAlertTriggerCriteriaDTO from visier_platform_sdk.models.event_details_dto import EventDetailsDTO from visier_platform_sdk.models.exclude_data_uploads_request import ExcludeDataUploadsRequest from visier_platform_sdk.models.excluded_sources_body import ExcludedSourcesBody @@ -1023,7 +1122,8 @@ from visier_platform_sdk.models.failed_change_dto import FailedChangeDTO from visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto import FailedLocalTenantProfileAssignmentDTO from visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto import FailedLocalTenantProfileRevokeDTO -from visier_platform_sdk.models.features_for_user_group_dto import FeaturesForUserGroupDTO +from visier_platform_sdk.models.filter_dto import FilterDTO +from visier_platform_sdk.models.fixed_time_type_dto import FixedTimeTypeDTO from visier_platform_sdk.models.fusion_auth_params_dto import FusionAuthParamsDTO from visier_platform_sdk.models.generate_impersonation_token_request import GenerateImpersonationTokenRequest from visier_platform_sdk.models.generate_key_request_dto import GenerateKeyRequestDTO @@ -1031,6 +1131,7 @@ from visier_platform_sdk.models.get_content_packages_api_response_dto import GetContentPackagesAPIResponseDTO from visier_platform_sdk.models.get_data_access_sets_api_response_dto import GetDataAccessSetsAPIResponseDTO from visier_platform_sdk.models.get_data_security_objects_api_response_dto import GetDataSecurityObjectsAPIResponseDTO +from visier_platform_sdk.models.get_event_alerts_response_dto import GetEventAlertsResponseDTO from visier_platform_sdk.models.get_permissions_api_response_dto import GetPermissionsAPIResponseDTO from visier_platform_sdk.models.get_plan_list_response_dto import GetPlanListResponseDTO from visier_platform_sdk.models.get_production_versions_api_response_dto import GetProductionVersionsAPIResponseDTO @@ -1039,6 +1140,7 @@ from visier_platform_sdk.models.google_sheets_auth_params_dto import GoogleSheetsAuthParamsDTO from visier_platform_sdk.models.google_workspace_auth_params_dto import GoogleWorkspaceAuthParamsDTO from visier_platform_sdk.models.greenhouse_auth_params_dto import GreenhouseAuthParamsDTO +from visier_platform_sdk.models.grouped_metric_value_threshold_criteria_dto import GroupedMetricValueThresholdCriteriaDTO from visier_platform_sdk.models.hierarchy import Hierarchy from visier_platform_sdk.models.hierarchy_property_dto import HierarchyPropertyDTO from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO @@ -1105,8 +1207,14 @@ from visier_platform_sdk.models.members_dto import MembersDTO from visier_platform_sdk.models.metric_dto import MetricDTO from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from visier_platform_sdk.models.metric_delete_request_dto import MetricDeleteRequestDTO +from visier_platform_sdk.models.metric_delete_with_context_dto import MetricDeleteWithContextDTO +from visier_platform_sdk.models.metric_filter_parameter_value_dto import MetricFilterParameterValueDTO +from visier_platform_sdk.models.metric_request_dto import MetricRequestDTO +from visier_platform_sdk.models.metric_response_dto import MetricResponseDTO from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO from visier_platform_sdk.models.metric_validation_summary_dto import MetricValidationSummaryDTO +from visier_platform_sdk.models.metric_with_context_dto import MetricWithContextDTO from visier_platform_sdk.models.metrics_dto import MetricsDTO from visier_platform_sdk.models.microsoft365_auth_params_dto import Microsoft365AuthParamsDTO from visier_platform_sdk.models.module_settings_dto import ModuleSettingsDTO @@ -1120,6 +1228,8 @@ from visier_platform_sdk.models.network_subnets_message_response import NetworkSubnetsMessageResponse from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO +from visier_platform_sdk.models.numeric_range_dto import NumericRangeDTO +from visier_platform_sdk.models.numeric_range_filter_dto import NumericRangeFilterDTO from visier_platform_sdk.models.o_auth2_user_info_dto import OAuth2UserInfoDTO from visier_platform_sdk.models.o_auth2_user_subnet_info_dto import OAuth2UserSubnetInfoDTO from visier_platform_sdk.models.o_auth2_user_tenant_detail_dto import OAuth2UserTenantDetailDTO @@ -1131,12 +1241,14 @@ from visier_platform_sdk.models.object_reference_dto import ObjectReferenceDTO from visier_platform_sdk.models.objects_bulk_change_response_dto import ObjectsBulkChangeResponseDTO from visier_platform_sdk.models.oracle_db_auth_params_dto import OracleDbAuthParamsDTO +from visier_platform_sdk.models.other_metric_dto import OtherMetricDTO from visier_platform_sdk.models.output_entry import OutputEntry from visier_platform_sdk.models.output_entry1 import OutputEntry1 from visier_platform_sdk.models.output_entry1_matches_inner import OutputEntry1MatchesInner from visier_platform_sdk.models.pair_dto import PairDTO from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO from visier_platform_sdk.models.parent_child_details_dto import ParentChildDetailsDTO +from visier_platform_sdk.models.periods_back_dto import PeriodsBackDTO from visier_platform_sdk.models.permission_assigned_by_tenant_dto import PermissionAssignedByTenantDTO from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO from visier_platform_sdk.models.permission_assigned_user_dto import PermissionAssignedUserDTO @@ -1151,6 +1263,7 @@ from visier_platform_sdk.models.permissions_to_user_group_for_tenant_dto import PermissionsToUserGroupForTenantDTO from visier_platform_sdk.models.permissions_to_user_group_request_dto import PermissionsToUserGroupRequestDTO from visier_platform_sdk.models.permissions_to_user_groups_request_dto import PermissionsToUserGroupsRequestDTO +from visier_platform_sdk.models.persisted_cohort_filter_dto import PersistedCohortFilterDTO from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO from visier_platform_sdk.models.perspective_node_dto import PerspectiveNodeDTO from visier_platform_sdk.models.plan_data_load_change_dto import PlanDataLoadChangeDTO @@ -1161,14 +1274,15 @@ from visier_platform_sdk.models.plan_item_dto import PlanItemDTO from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO -from visier_platform_sdk.models.plan_patch_action_result import PlanPatchActionResult from visier_platform_sdk.models.plan_patch_consolidate_action_request import PlanPatchConsolidateActionRequest -from visier_platform_sdk.models.plan_patch_consolidate_action_request_with_plan_id import PlanPatchConsolidateActionRequestWithPlanId +from visier_platform_sdk.models.plan_patch_end_collaboration_action_request import PlanPatchEndCollaborationActionRequest from visier_platform_sdk.models.plan_patch_reopen_action_request import PlanPatchReopenActionRequest -from visier_platform_sdk.models.plan_patch_reopen_action_request_with_plan_id import PlanPatchReopenActionRequestWithPlanId -from visier_platform_sdk.models.plan_patch_request import PlanPatchRequest -from visier_platform_sdk.models.plan_patch_response import PlanPatchResponse +from visier_platform_sdk.models.plan_patch_start_collaboration_action_request import PlanPatchStartCollaborationActionRequest +from visier_platform_sdk.models.plan_patch_submit_action_request import PlanPatchSubmitActionRequest from visier_platform_sdk.models.plan_row_data_load_response_dto import PlanRowDataLoadResponseDTO +from visier_platform_sdk.models.plan_scenario_patch_action_result import PlanScenarioPatchActionResult +from visier_platform_sdk.models.plan_scenario_patch_request import PlanScenarioPatchRequest +from visier_platform_sdk.models.plan_scenario_patch_response import PlanScenarioPatchResponse from visier_platform_sdk.models.plan_schema_dto import PlanSchemaDTO from visier_platform_sdk.models.plan_segment_level_dto import PlanSegmentLevelDTO from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO @@ -1182,10 +1296,6 @@ from visier_platform_sdk.models.planning_plan_context_dto import PlanningPlanContextDTO from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO from visier_platform_sdk.models.planning_plans_dto import PlanningPlansDTO -from visier_platform_sdk.models.plans_patch_request import PlansPatchRequest -from visier_platform_sdk.models.plans_patch_request_plan_item import PlansPatchRequestPlanItem -from visier_platform_sdk.models.plans_patch_response import PlansPatchResponse -from visier_platform_sdk.models.plans_patch_response_action_result import PlansPatchResponseActionResult from visier_platform_sdk.models.population_configuration_dto import PopulationConfigurationDTO from visier_platform_sdk.models.prediction_dto import PredictionDTO from visier_platform_sdk.models.predictions_dto import PredictionsDTO @@ -1193,9 +1303,13 @@ from visier_platform_sdk.models.process_concept_member_dto import ProcessConceptMemberDTO from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO +from visier_platform_sdk.models.process_concept_metric_details_dto import ProcessConceptMetricDetailsDTO from visier_platform_sdk.models.process_concept_metric_list_dto import ProcessConceptMetricListDTO +from visier_platform_sdk.models.process_concept_metric_type_details_dto import ProcessConceptMetricTypeDetailsDTO from visier_platform_sdk.models.process_concept_outcome_dto import ProcessConceptOutcomeDTO from visier_platform_sdk.models.process_concept_outcome_list_dto import ProcessConceptOutcomeListDTO +from visier_platform_sdk.models.process_concept_property_dto import ProcessConceptPropertyDTO +from visier_platform_sdk.models.process_concept_property_details_dto import ProcessConceptPropertyDetailsDTO from visier_platform_sdk.models.process_concept_property_list_dto import ProcessConceptPropertyListDTO from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO from visier_platform_sdk.models.process_concept_stage_dto import ProcessConceptStageDTO @@ -1220,6 +1334,7 @@ from visier_platform_sdk.models.profile_assignment_dto import ProfileAssignmentDTO from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO from visier_platform_sdk.models.profiles_get_api_response_dto import ProfilesGetAPIResponseDTO +from visier_platform_sdk.models.project_commit_dto import ProjectCommitDTO from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO from visier_platform_sdk.models.project_dto import ProjectDTO from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO @@ -1253,7 +1368,6 @@ from visier_platform_sdk.models.push_data_response import PushDataResponse from visier_platform_sdk.models.push_data_source_definition_dto import PushDataSourceDefinitionDTO from visier_platform_sdk.models.push_data_source_definitions_dto import PushDataSourceDefinitionsDTO -from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest from visier_platform_sdk.models.qualtrics_auth_params_dto import QualtricsAuthParamsDTO from visier_platform_sdk.models.query_axis_dto import QueryAxisDTO from visier_platform_sdk.models.query_axis_options_dto import QueryAxisOptionsDTO @@ -1292,6 +1406,11 @@ from visier_platform_sdk.models.reduced_tenant_code_error_dto import ReducedTenantCodeErrorDTO from visier_platform_sdk.models.reduced_user_id_error_dto import ReducedUserIdErrorDTO from visier_platform_sdk.models.related_analytic_object_dto import RelatedAnalyticObjectDTO +from visier_platform_sdk.models.relative_time_expression_dto import RelativeTimeExpressionDTO +from visier_platform_sdk.models.relative_time_period_dto import RelativeTimePeriodDTO +from visier_platform_sdk.models.relative_time_selection_dto import RelativeTimeSelectionDTO +from visier_platform_sdk.models.relative_time_shift_dto import RelativeTimeShiftDTO +from visier_platform_sdk.models.relative_to_rule_dto import RelativeToRuleDTO from visier_platform_sdk.models.reopen_action_payload import ReopenActionPayload from visier_platform_sdk.models.report_create_request_dto import ReportCreateRequestDTO from visier_platform_sdk.models.report_dto import ReportDTO @@ -1299,12 +1418,17 @@ from visier_platform_sdk.models.report_list_response_dto import ReportListResponseDTO from visier_platform_sdk.models.result import Result from visier_platform_sdk.models.role_modules_config_dto import RoleModulesConfigDTO +from visier_platform_sdk.models.rule_dto import RuleDTO +from visier_platform_sdk.models.rule_set_dto import RuleSetDTO +from visier_platform_sdk.models.salary_benchmark_feedback_input import SalaryBenchmarkFeedbackInput from visier_platform_sdk.models.salary_benchmark_input import SalaryBenchmarkInput from visier_platform_sdk.models.salary_benchmarks_batch_processing_failure_output import SalaryBenchmarksBatchProcessingFailureOutput from visier_platform_sdk.models.salary_benchmarks_batch_processing_outputs import SalaryBenchmarksBatchProcessingOutputs from visier_platform_sdk.models.salary_benchmarks_batch_processing_successful_output import SalaryBenchmarksBatchProcessingSuccessfulOutput from visier_platform_sdk.models.salesforce_auth_params_dto import SalesforceAuthParamsDTO from visier_platform_sdk.models.salesforce_v2_auth_params_dto import SalesforceV2AuthParamsDTO +from visier_platform_sdk.models.same_metric_other_context_dto import SameMetricOtherContextDTO +from visier_platform_sdk.models.same_metric_other_time_dto import SameMetricOtherTimeDTO from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO @@ -1332,6 +1456,7 @@ from visier_platform_sdk.models.sidecar_solution_settings_dto import SidecarSolutionSettingsDTO from visier_platform_sdk.models.simple_document_header_search_response_dto import SimpleDocumentHeaderSearchResponseDTO from visier_platform_sdk.models.simple_document_header_search_result_dto import SimpleDocumentHeaderSearchResultDTO +from visier_platform_sdk.models.simple_metric_details_dto import SimpleMetricDetailsDTO from visier_platform_sdk.models.simple_property_type_dto import SimplePropertyTypeDTO from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO from visier_platform_sdk.models.single_value_setting_dto import SingleValueSettingDTO @@ -1356,14 +1481,19 @@ from visier_platform_sdk.models.sql_like200_response import SqlLike200Response from visier_platform_sdk.models.sql_like_query_execution_dto import SqlLikeQueryExecutionDTO from visier_platform_sdk.models.sql_server_auth_params_dto import SqlServerAuthParamsDTO +from visier_platform_sdk.models.start_collaboration_action_payload import StartCollaborationActionPayload from visier_platform_sdk.models.start_extraction_response import StartExtractionResponse from visier_platform_sdk.models.start_transfer_response import StartTransferResponse from visier_platform_sdk.models.static_dimension_filter_dto import StaticDimensionFilterDTO from visier_platform_sdk.models.status import Status from visier_platform_sdk.models.subject_details_dto import SubjectDetailsDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto import SubjectMemberSetParameterValueDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_list_of_name_path_dto import SubjectMemberSetParameterValueDTOListOfNamePathDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto import SubjectMemberSetParameterValueDTONamePathDTO from visier_platform_sdk.models.subject_missing_access_dto import SubjectMissingAccessDTO from visier_platform_sdk.models.subject_reference_dto import SubjectReferenceDTO from visier_platform_sdk.models.subject_reference_list_dto import SubjectReferenceListDTO +from visier_platform_sdk.models.submit_action_payload import SubmitActionPayload from visier_platform_sdk.models.success_factors_auth_params_dto import SuccessFactorsAuthParamsDTO from visier_platform_sdk.models.success_factors_o_auth_params_dto import SuccessFactorsOAuthParamsDTO from visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto import SuccessfulAccessibleTenantProfileAssignmentDTO @@ -1404,9 +1534,17 @@ from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO from visier_platform_sdk.models.tenant_source_files_list_response_dto import TenantSourceFilesListResponseDTO from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO +from visier_platform_sdk.models.time_handling_dto import TimeHandlingDTO +from visier_platform_sdk.models.time_period_dto import TimePeriodDTO +from visier_platform_sdk.models.time_period_filter_dto import TimePeriodFilterDTO +from visier_platform_sdk.models.time_period_metadata_dto import TimePeriodMetadataDTO from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO from visier_platform_sdk.models.token_response import TokenResponse +from visier_platform_sdk.models.trigger_criteria_member_result_info_dto import TriggerCriteriaMemberResultInfoDTO +from visier_platform_sdk.models.trigger_criteria_overall_result_info_dto import TriggerCriteriaOverallResultInfoDTO +from visier_platform_sdk.models.trigger_criteria_result_info_dto import TriggerCriteriaResultInfoDTO from visier_platform_sdk.models.ultimate_auth_params_dto import UltimateAuthParamsDTO +from visier_platform_sdk.models.update_event_alert_recipient_status_dto import UpdateEventAlertRecipientStatusDTO from visier_platform_sdk.models.update_tenant_model import UpdateTenantModel from visier_platform_sdk.models.upload_to_exclude import UploadToExclude from visier_platform_sdk.models.upload_to_include import UploadToInclude @@ -1461,8 +1599,17 @@ from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from visier_platform_sdk.models.vee_detail_data_dto import VeeDetailDataDTO from visier_platform_sdk.models.vee_feedback_dto import VeeFeedbackDTO from visier_platform_sdk.models.vee_options_dto import VeeOptionsDTO +from visier_platform_sdk.models.vee_question_categories_bulk_change_response_dto import VeeQuestionCategoriesBulkChangeResponseDTO +from visier_platform_sdk.models.vee_question_categories_change_definitions_dto import VeeQuestionCategoriesChangeDefinitionsDTO +from visier_platform_sdk.models.vee_question_categories_delete_definitions_dto import VeeQuestionCategoriesDeleteDefinitionsDTO +from visier_platform_sdk.models.vee_question_category_change_definition_dto import VeeQuestionCategoryChangeDefinitionDTO +from visier_platform_sdk.models.vee_question_category_change_definitions_by_tenant_dto import VeeQuestionCategoryChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.vee_question_category_change_failure_dto import VeeQuestionCategoryChangeFailureDTO +from visier_platform_sdk.models.vee_question_category_change_success_dto import VeeQuestionCategoryChangeSuccessDTO +from visier_platform_sdk.models.vee_question_category_delete_definitions_by_tenant_dto import VeeQuestionCategoryDeleteDefinitionsByTenantDTO from visier_platform_sdk.models.vee_question_change_definition_dto import VeeQuestionChangeDefinitionDTO from visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto import VeeQuestionChangeDefinitionsByTenantDTO from visier_platform_sdk.models.vee_question_change_failure_dto import VeeQuestionChangeFailureDTO @@ -1482,6 +1629,7 @@ from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO from visier_platform_sdk.models.vee_visual_options_dto import VeeVisualOptionsDTO from visier_platform_sdk.models.version_information_dto import VersionInformationDTO +from visier_platform_sdk.models.visible_for_selection_dto import VisibleForSelectionDTO from visier_platform_sdk.models.webhook_basic_auth_credential_dto import WebhookBasicAuthCredentialDTO from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO from visier_platform_sdk.models.webhook_dto import WebhookDTO diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/__init__.py b/src/visier_platform_sdk/visier_platform_sdk/api/__init__.py index 9d419727fd..d7005bc872 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/__init__.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/__init__.py @@ -1,6 +1,7 @@ # flake8: noqa # import apis into api package +from visier_platform_sdk.api.analytic_objects_v2_api import AnalyticObjectsV2Api from visier_platform_sdk.api.basic_authentication_api import BasicAuthenticationApi from visier_platform_sdk.api.benchmarks_api import BenchmarksApi from visier_platform_sdk.api.concepts_v2_api import ConceptsV2Api @@ -17,11 +18,13 @@ from visier_platform_sdk.api.email_domains_api import EmailDomainsApi from visier_platform_sdk.api.encryption_keys_api import EncryptionKeysApi from visier_platform_sdk.api.jobs_library_api import JobsLibraryApi +from visier_platform_sdk.api.metrics_v2_api import MetricsV2Api from visier_platform_sdk.api.network_subnets_api import NetworkSubnetsApi from visier_platform_sdk.api.o_auth2_api import OAuth2Api from visier_platform_sdk.api.object_configuration_api import ObjectConfigurationApi from visier_platform_sdk.api.pgp_keys_api import PGPKeysApi from visier_platform_sdk.api.permissions_api import PermissionsApi +from visier_platform_sdk.api.personalized_alerts_api import PersonalizedAlertsApi from visier_platform_sdk.api.plan_administration_api import PlanAdministrationApi from visier_platform_sdk.api.plan_data_load_api import PlanDataLoadApi from visier_platform_sdk.api.production_versions_api import ProductionVersionsApi diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/analytic_objects_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/analytic_objects_v2_api.py new file mode 100644 index 0000000000..5640696b29 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/api/analytic_objects_v2_api.py @@ -0,0 +1,2250 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import List, Optional +from typing_extensions import Annotated +from visier_platform_sdk.models.analytic_object_delete_request_dto import AnalyticObjectDeleteRequestDTO +from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO +from visier_platform_sdk.models.analytic_object_response_dto import AnalyticObjectResponseDTO +from visier_platform_sdk.models.analytic_object_revert_request_dto import AnalyticObjectRevertRequestDTO +from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO + +from visier_platform_sdk.api_client import ApiClient, RequestSerialized +from visier_platform_sdk.api_response import ApiResponse +from visier_platform_sdk.rest import RESTResponseType + + +class AnalyticObjectsV2Api: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def create_analytic_objects( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Create analytic objects + + Create new analytic objects. The response returns whether each analytic object was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_analytic_objects_with_http_info( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Create analytic objects + + Create new analytic objects. The response returns whether each analytic object was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_analytic_objects_without_preload_content( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create analytic objects + + Create new analytic objects. The response returns whether each analytic object was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_analytic_objects_serialize( + self, + analytic_object_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if analytic_object_request_dto is not None: + _body_params = analytic_object_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v2alpha/data/model/analytic-objects', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_analytic_objects( + self, + analytic_object_delete_request_dto: AnalyticObjectDeleteRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Delete analytic objects + + Delete existing analytic objects. The response returns whether each analytic object was successfully deleted or not.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_delete_request_dto: (required) + :type analytic_object_delete_request_dto: AnalyticObjectDeleteRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_analytic_objects_serialize( + analytic_object_delete_request_dto=analytic_object_delete_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_analytic_objects_with_http_info( + self, + analytic_object_delete_request_dto: AnalyticObjectDeleteRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Delete analytic objects + + Delete existing analytic objects. The response returns whether each analytic object was successfully deleted or not.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_delete_request_dto: (required) + :type analytic_object_delete_request_dto: AnalyticObjectDeleteRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_analytic_objects_serialize( + analytic_object_delete_request_dto=analytic_object_delete_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_analytic_objects_without_preload_content( + self, + analytic_object_delete_request_dto: AnalyticObjectDeleteRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete analytic objects + + Delete existing analytic objects. The response returns whether each analytic object was successfully deleted or not.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_delete_request_dto: (required) + :type analytic_object_delete_request_dto: AnalyticObjectDeleteRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_analytic_objects_serialize( + analytic_object_delete_request_dto=analytic_object_delete_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_analytic_objects_serialize( + self, + analytic_object_delete_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if analytic_object_delete_request_dto is not None: + _body_params = analytic_object_delete_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v2alpha/data/model/analytic-objects', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_all_analytic_objects( + self, + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the analytic object to retrieve. If undefined, retrieves all analytic object types. Valid values: - `subject`: Retrieves subject analytic objects. - `event`: Retrieves event analytic objects.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The analytic object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The analytic object UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AnalyticObjectResponseDTO: + """Retrieve a list of analytic objects + + Retrieve a list of all analytic objects in your Visier tenant.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param type: The type of the analytic object to retrieve. If undefined, retrieves all analytic object types. Valid values: - `subject`: Retrieves subject analytic objects. - `event`: Retrieves event analytic objects. + :type type: List[str] + :param var_with: The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The analytic object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The analytic object UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_analytic_objects_serialize( + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AnalyticObjectResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_all_analytic_objects_with_http_info( + self, + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the analytic object to retrieve. If undefined, retrieves all analytic object types. Valid values: - `subject`: Retrieves subject analytic objects. - `event`: Retrieves event analytic objects.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The analytic object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The analytic object UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AnalyticObjectResponseDTO]: + """Retrieve a list of analytic objects + + Retrieve a list of all analytic objects in your Visier tenant.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param type: The type of the analytic object to retrieve. If undefined, retrieves all analytic object types. Valid values: - `subject`: Retrieves subject analytic objects. - `event`: Retrieves event analytic objects. + :type type: List[str] + :param var_with: The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The analytic object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The analytic object UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_analytic_objects_serialize( + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AnalyticObjectResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_all_analytic_objects_without_preload_content( + self, + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the analytic object to retrieve. If undefined, retrieves all analytic object types. Valid values: - `subject`: Retrieves subject analytic objects. - `event`: Retrieves event analytic objects.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The analytic object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The analytic object UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a list of analytic objects + + Retrieve a list of all analytic objects in your Visier tenant.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param type: The type of the analytic object to retrieve. If undefined, retrieves all analytic object types. Valid values: - `subject`: Retrieves subject analytic objects. - `event`: Retrieves event analytic objects. + :type type: List[str] + :param var_with: The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The analytic object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The analytic object UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_analytic_objects_serialize( + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AnalyticObjectResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_analytic_objects_serialize( + self, + type, + var_with, + object_name, + uuid, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'type': 'multi', + 'with': 'multi', + 'objectName': 'multi', + 'uuid': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if type is not None: + + _query_params.append(('type', type)) + + if var_with is not None: + + _query_params.append(('with', var_with)) + + if object_name is not None: + + _query_params.append(('objectName', object_name)) + + if uuid is not None: + + _query_params.append(('uuid', uuid)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2alpha/data/model/analytic-objects', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_one_analytic_object( + self, + object_name_or_uuid: Annotated[StrictStr, Field(description="The object name or UUID of the analytic object to retrieve.")], + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> AnalyticObjectWithContextDTO: + """Retrieve an analytic object's details + + Retrieve the details of a specific analytic object, such as its properties, dimensions, and references.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param object_name_or_uuid: The object name or UUID of the analytic object to retrieve. (required) + :type object_name_or_uuid: str + :param var_with: The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_one_analytic_object_serialize( + object_name_or_uuid=object_name_or_uuid, + var_with=var_with, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AnalyticObjectWithContextDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_one_analytic_object_with_http_info( + self, + object_name_or_uuid: Annotated[StrictStr, Field(description="The object name or UUID of the analytic object to retrieve.")], + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[AnalyticObjectWithContextDTO]: + """Retrieve an analytic object's details + + Retrieve the details of a specific analytic object, such as its properties, dimensions, and references.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param object_name_or_uuid: The object name or UUID of the analytic object to retrieve. (required) + :type object_name_or_uuid: str + :param var_with: The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_one_analytic_object_serialize( + object_name_or_uuid=object_name_or_uuid, + var_with=var_with, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AnalyticObjectWithContextDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_one_analytic_object_without_preload_content( + self, + object_name_or_uuid: Annotated[StrictStr, Field(description="The object name or UUID of the analytic object to retrieve.")], + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve an analytic object's details + + Retrieve the details of a specific analytic object, such as its properties, dimensions, and references.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param object_name_or_uuid: The object name or UUID of the analytic object to retrieve. (required) + :type object_name_or_uuid: str + :param var_with: The level of information to retrieve for the analytic object. Valid values: - `basic`: Retrieves the analytic object's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as properties, dimensions, and references. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_one_analytic_object_serialize( + object_name_or_uuid=object_name_or_uuid, + var_with=var_with, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "AnalyticObjectWithContextDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_one_analytic_object_serialize( + self, + object_name_or_uuid, + var_with, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'with': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if object_name_or_uuid is not None: + _path_params['objectNameOrUuid'] = object_name_or_uuid + # process the query parameters + if var_with is not None: + + _query_params.append(('with', var_with)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2alpha/data/model/analytic-objects/{objectNameOrUuid}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def patch_analytic_objects( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Partially update analytic objects + + Make partial changes to existing analytic objects. The response returns whether each analytic object was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the analytic object definition, use `PATCH` to change specific fields in the analytic object without affecting omitted fields. To replace an analytic object's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._patch_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def patch_analytic_objects_with_http_info( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Partially update analytic objects + + Make partial changes to existing analytic objects. The response returns whether each analytic object was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the analytic object definition, use `PATCH` to change specific fields in the analytic object without affecting omitted fields. To replace an analytic object's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._patch_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def patch_analytic_objects_without_preload_content( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Partially update analytic objects + + Make partial changes to existing analytic objects. The response returns whether each analytic object was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the analytic object definition, use `PATCH` to change specific fields in the analytic object without affecting omitted fields. To replace an analytic object's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._patch_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _patch_analytic_objects_serialize( + self, + analytic_object_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if analytic_object_request_dto is not None: + _body_params = analytic_object_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/v2alpha/data/model/analytic-objects', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def put_analytic_objects( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Update analytic objects + + Replace existing analytic objects. The response returns whether each analytic object was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the analytic object. To partially update an analytic object, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._put_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def put_analytic_objects_with_http_info( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Update analytic objects + + Replace existing analytic objects. The response returns whether each analytic object was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the analytic object. To partially update an analytic object, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._put_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def put_analytic_objects_without_preload_content( + self, + analytic_object_request_dto: AnalyticObjectRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update analytic objects + + Replace existing analytic objects. The response returns whether each analytic object was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the analytic object. To partially update an analytic object, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_request_dto: (required) + :type analytic_object_request_dto: AnalyticObjectRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._put_analytic_objects_serialize( + analytic_object_request_dto=analytic_object_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _put_analytic_objects_serialize( + self, + analytic_object_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if analytic_object_request_dto is not None: + _body_params = analytic_object_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/v2alpha/data/model/analytic-objects', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def revert_analytic_objects( + self, + analytic_object_revert_request_dto: AnalyticObjectRevertRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Revert analytic objects to Blueprint + + Revert analytic objects to their Blueprint state. The response returns whether each analytic object was successfully reverted or not. You can revert tenant override objects to Blueprint. If you execute the revert operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_revert_request_dto: (required) + :type analytic_object_revert_request_dto: AnalyticObjectRevertRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._revert_analytic_objects_serialize( + analytic_object_revert_request_dto=analytic_object_revert_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def revert_analytic_objects_with_http_info( + self, + analytic_object_revert_request_dto: AnalyticObjectRevertRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Revert analytic objects to Blueprint + + Revert analytic objects to their Blueprint state. The response returns whether each analytic object was successfully reverted or not. You can revert tenant override objects to Blueprint. If you execute the revert operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_revert_request_dto: (required) + :type analytic_object_revert_request_dto: AnalyticObjectRevertRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._revert_analytic_objects_serialize( + analytic_object_revert_request_dto=analytic_object_revert_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def revert_analytic_objects_without_preload_content( + self, + analytic_object_revert_request_dto: AnalyticObjectRevertRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Revert analytic objects to Blueprint + + Revert analytic objects to their Blueprint state. The response returns whether each analytic object was successfully reverted or not. You can revert tenant override objects to Blueprint. If you execute the revert operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_revert_request_dto: (required) + :type analytic_object_revert_request_dto: AnalyticObjectRevertRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._revert_analytic_objects_serialize( + analytic_object_revert_request_dto=analytic_object_revert_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _revert_analytic_objects_serialize( + self, + analytic_object_revert_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if analytic_object_revert_request_dto is not None: + _body_params = analytic_object_revert_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v2alpha/data/model/analytic-objects/revert-to-bp', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/basic_authentication_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/basic_authentication_api.py index 66f75ede05..f673ff3138 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/basic_authentication_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/basic_authentication_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/benchmarks_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/benchmarks_api.py index 19384c3d6b..8d47ce51f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/benchmarks_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/benchmarks_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,6 +22,7 @@ from typing_extensions import Annotated from visier_platform_sdk.models.benchmark_info import BenchmarkInfo from visier_platform_sdk.models.benchmark_value import BenchmarkValue +from visier_platform_sdk.models.salary_benchmark_feedback_input import SalaryBenchmarkFeedbackInput from visier_platform_sdk.models.salary_benchmark_input import SalaryBenchmarkInput from visier_platform_sdk.models.salary_benchmarks_batch_processing_outputs import SalaryBenchmarksBatchProcessingOutputs @@ -304,6 +305,7 @@ def get_salary_benchmark( location: Annotated[Optional[StrictStr], Field(description="The location member ID. If the ID is not provided, the response returns the benchmark value across all locations. ")] = None, company_size: Annotated[Optional[StrictStr], Field(description="The company size member ID. If the ID is not provided, the response returns the benchmark value across all company sizes. ")] = None, career_level: Annotated[Optional[StrictStr], Field(description="The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. ")] = None, + match_date: Annotated[Optional[StrictStr], Field(description="The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -333,6 +335,8 @@ def get_salary_benchmark( :type company_size: str :param career_level: The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. :type career_level: str + :param match_date: The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. + :type match_date: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -362,6 +366,7 @@ def get_salary_benchmark( location=location, company_size=company_size, career_level=career_level, + match_date=match_date, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -394,6 +399,7 @@ def get_salary_benchmark_with_http_info( location: Annotated[Optional[StrictStr], Field(description="The location member ID. If the ID is not provided, the response returns the benchmark value across all locations. ")] = None, company_size: Annotated[Optional[StrictStr], Field(description="The company size member ID. If the ID is not provided, the response returns the benchmark value across all company sizes. ")] = None, career_level: Annotated[Optional[StrictStr], Field(description="The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. ")] = None, + match_date: Annotated[Optional[StrictStr], Field(description="The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -423,6 +429,8 @@ def get_salary_benchmark_with_http_info( :type company_size: str :param career_level: The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. :type career_level: str + :param match_date: The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. + :type match_date: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -452,6 +460,7 @@ def get_salary_benchmark_with_http_info( location=location, company_size=company_size, career_level=career_level, + match_date=match_date, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -484,6 +493,7 @@ def get_salary_benchmark_without_preload_content( location: Annotated[Optional[StrictStr], Field(description="The location member ID. If the ID is not provided, the response returns the benchmark value across all locations. ")] = None, company_size: Annotated[Optional[StrictStr], Field(description="The company size member ID. If the ID is not provided, the response returns the benchmark value across all company sizes. ")] = None, career_level: Annotated[Optional[StrictStr], Field(description="The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. ")] = None, + match_date: Annotated[Optional[StrictStr], Field(description="The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -513,6 +523,8 @@ def get_salary_benchmark_without_preload_content( :type company_size: str :param career_level: The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. :type career_level: str + :param match_date: The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. + :type match_date: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -542,6 +554,7 @@ def get_salary_benchmark_without_preload_content( location=location, company_size=company_size, career_level=career_level, + match_date=match_date, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -569,6 +582,7 @@ def _get_salary_benchmark_serialize( location, company_size, career_level, + match_date, _request_auth, _content_type, _headers, @@ -615,6 +629,10 @@ def _get_salary_benchmark_serialize( _query_params.append(('careerLevel', career_level)) + if match_date is not None: + + _query_params.append(('matchDate', match_date)) + # process the header parameters # process the form parameters # process the body parameter @@ -934,3 +952,286 @@ def _get_salary_benchmarks_in_bulk_serialize( ) + + + @validate_call + def submit_salary_benchmark_feedback( + self, + salary_benchmark_feedback_input: Annotated[SalaryBenchmarkFeedbackInput, Field(description="The feedback to submit. ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> None: + """Submit feedback to improve salary benchmark values + + Give feedback for a salary benchmark value returned by `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. To submit feedback, include the benchmark value's: * ID values you defined in `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. * `referenceDate` and `releaseDate` returned by `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. * Optional `additionalComments` up to 150 characters. + + :param salary_benchmark_feedback_input: The feedback to submit. (required) + :type salary_benchmark_feedback_input: SalaryBenchmarkFeedbackInput + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._submit_salary_benchmark_feedback_serialize( + salary_benchmark_feedback_input=salary_benchmark_feedback_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': "ApiError", + '500': "ApiError", + '504': "ApiError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def submit_salary_benchmark_feedback_with_http_info( + self, + salary_benchmark_feedback_input: Annotated[SalaryBenchmarkFeedbackInput, Field(description="The feedback to submit. ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[None]: + """Submit feedback to improve salary benchmark values + + Give feedback for a salary benchmark value returned by `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. To submit feedback, include the benchmark value's: * ID values you defined in `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. * `referenceDate` and `releaseDate` returned by `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. * Optional `additionalComments` up to 150 characters. + + :param salary_benchmark_feedback_input: The feedback to submit. (required) + :type salary_benchmark_feedback_input: SalaryBenchmarkFeedbackInput + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._submit_salary_benchmark_feedback_serialize( + salary_benchmark_feedback_input=salary_benchmark_feedback_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': "ApiError", + '500': "ApiError", + '504': "ApiError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def submit_salary_benchmark_feedback_without_preload_content( + self, + salary_benchmark_feedback_input: Annotated[SalaryBenchmarkFeedbackInput, Field(description="The feedback to submit. ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Submit feedback to improve salary benchmark values + + Give feedback for a salary benchmark value returned by `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. To submit feedback, include the benchmark value's: * ID values you defined in `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. * `referenceDate` and `releaseDate` returned by `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. * Optional `additionalComments` up to 150 characters. + + :param salary_benchmark_feedback_input: The feedback to submit. (required) + :type salary_benchmark_feedback_input: SalaryBenchmarkFeedbackInput + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._submit_salary_benchmark_feedback_serialize( + salary_benchmark_feedback_input=salary_benchmark_feedback_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '204': None, + '400': "ApiError", + '500': "ApiError", + '504': "ApiError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _submit_salary_benchmark_feedback_serialize( + self, + salary_benchmark_feedback_input, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if salary_benchmark_feedback_input is not None: + _body_params = salary_benchmark_feedback_input + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'api_key' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/compensation-benchmarks/base-salary/feedback', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py index 8099d9443b..a10da5b947 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/concepts_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -64,7 +64,7 @@ def create_concepts( ) -> BulkChangeResponseDTO: """Create concepts - Create new concepts. The response returns whether each concept was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Create new concepts. The response returns whether each concept was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -139,7 +139,7 @@ def create_concepts_with_http_info( ) -> ApiResponse[BulkChangeResponseDTO]: """Create concepts - Create new concepts. The response returns whether each concept was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Create new concepts. The response returns whether each concept was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -214,7 +214,7 @@ def create_concepts_without_preload_content( ) -> RESTResponseType: """Create concepts - Create new concepts. The response returns whether each concept was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Create new concepts. The response returns whether each concept was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -335,7 +335,7 @@ def _create_concepts_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v2alpha/data/model/concepts', + resource_path='/v2/data/model/concepts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -372,7 +372,7 @@ def delete_concepts( ) -> BulkChangeResponseDTO: """Delete concepts - Delete existing concepts. The response returns whether each concept was successfully deleted or not.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Delete existing concepts. The response returns whether each concept was successfully deleted or not. :param concept_delete_request_dto: (required) :type concept_delete_request_dto: ConceptDeleteRequestDTO @@ -447,7 +447,7 @@ def delete_concepts_with_http_info( ) -> ApiResponse[BulkChangeResponseDTO]: """Delete concepts - Delete existing concepts. The response returns whether each concept was successfully deleted or not.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Delete existing concepts. The response returns whether each concept was successfully deleted or not. :param concept_delete_request_dto: (required) :type concept_delete_request_dto: ConceptDeleteRequestDTO @@ -522,7 +522,7 @@ def delete_concepts_without_preload_content( ) -> RESTResponseType: """Delete concepts - Delete existing concepts. The response returns whether each concept was successfully deleted or not.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Delete existing concepts. The response returns whether each concept was successfully deleted or not. :param concept_delete_request_dto: (required) :type concept_delete_request_dto: ConceptDeleteRequestDTO @@ -643,7 +643,7 @@ def _delete_concepts_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v2alpha/data/model/concepts', + resource_path='/v2/data/model/concepts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -663,7 +663,7 @@ def _delete_concepts_serialize( def get_all_concepts( self, type: Annotated[Optional[List[StrictStr]], Field(description="The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts.")] = None, - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, object_name: Annotated[Optional[List[StrictStr]], Field(description="The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, uuid: Annotated[Optional[List[StrictStr]], Field(description="The concept UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, 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, @@ -683,11 +683,11 @@ def get_all_concepts( ) -> ConceptResponseDTO: """Retrieve a list of concepts - Retrieve a list of all concepts in your Visier tenant.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of all concepts in your Visier tenant. :param type: The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts. :type type: List[str] - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :param object_name: The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. :type object_name: List[str] @@ -750,7 +750,7 @@ def get_all_concepts( def get_all_concepts_with_http_info( self, type: Annotated[Optional[List[StrictStr]], Field(description="The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts.")] = None, - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, object_name: Annotated[Optional[List[StrictStr]], Field(description="The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, uuid: Annotated[Optional[List[StrictStr]], Field(description="The concept UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, 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, @@ -770,11 +770,11 @@ def get_all_concepts_with_http_info( ) -> ApiResponse[ConceptResponseDTO]: """Retrieve a list of concepts - Retrieve a list of all concepts in your Visier tenant.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of all concepts in your Visier tenant. :param type: The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts. :type type: List[str] - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :param object_name: The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. :type object_name: List[str] @@ -837,7 +837,7 @@ def get_all_concepts_with_http_info( def get_all_concepts_without_preload_content( self, type: Annotated[Optional[List[StrictStr]], Field(description="The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts.")] = None, - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, object_name: Annotated[Optional[List[StrictStr]], Field(description="The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, uuid: Annotated[Optional[List[StrictStr]], Field(description="The concept UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, 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, @@ -857,11 +857,11 @@ def get_all_concepts_without_preload_content( ) -> RESTResponseType: """Retrieve a list of concepts - Retrieve a list of all concepts in your Visier tenant.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of all concepts in your Visier tenant. :param type: The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts. :type type: List[str] - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :param object_name: The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. :type object_name: List[str] @@ -995,7 +995,7 @@ def _get_all_concepts_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2alpha/data/model/concepts', + resource_path='/v2/data/model/concepts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1016,7 +1016,7 @@ def get_analytic_object_concepts( self, analytic_object_name: Annotated[StrictStr, Field(description="The object name of the analytic object from which to retrieve concepts.")], type: Annotated[Optional[List[StrictStr]], Field(description="The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts.")] = None, - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, object_name: Annotated[Optional[List[StrictStr]], Field(description="The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, uuid: Annotated[Optional[List[StrictStr]], Field(description="The concept UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, 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, @@ -1036,13 +1036,13 @@ def get_analytic_object_concepts( ) -> ConceptResponseDTO: """Retrieve a list of concepts by analytic object - Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions. :param analytic_object_name: The object name of the analytic object from which to retrieve concepts. (required) :type analytic_object_name: str :param type: The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts. :type type: List[str] - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :param object_name: The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. :type object_name: List[str] @@ -1107,7 +1107,7 @@ def get_analytic_object_concepts_with_http_info( self, analytic_object_name: Annotated[StrictStr, Field(description="The object name of the analytic object from which to retrieve concepts.")], type: Annotated[Optional[List[StrictStr]], Field(description="The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts.")] = None, - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, object_name: Annotated[Optional[List[StrictStr]], Field(description="The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, uuid: Annotated[Optional[List[StrictStr]], Field(description="The concept UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, 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, @@ -1127,13 +1127,13 @@ def get_analytic_object_concepts_with_http_info( ) -> ApiResponse[ConceptResponseDTO]: """Retrieve a list of concepts by analytic object - Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions. :param analytic_object_name: The object name of the analytic object from which to retrieve concepts. (required) :type analytic_object_name: str :param type: The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts. :type type: List[str] - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :param object_name: The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. :type object_name: List[str] @@ -1198,7 +1198,7 @@ def get_analytic_object_concepts_without_preload_content( self, analytic_object_name: Annotated[StrictStr, Field(description="The object name of the analytic object from which to retrieve concepts.")], type: Annotated[Optional[List[StrictStr]], Field(description="The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts.")] = None, - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, object_name: Annotated[Optional[List[StrictStr]], Field(description="The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, uuid: Annotated[Optional[List[StrictStr]], Field(description="The concept UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, 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, @@ -1218,13 +1218,13 @@ def get_analytic_object_concepts_without_preload_content( ) -> RESTResponseType: """Retrieve a list of concepts by analytic object - Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve all the concepts for a specific analytic object. The response returns the details of all concepts for the analytic object, including object names, concept types, and descriptions. :param analytic_object_name: The object name of the analytic object from which to retrieve concepts. (required) :type analytic_object_name: str :param type: The type of the concept to retrieve. Omit to retrieve all supported concept types. Valid values: - `process`: Retrieves all process concepts. - `selection`: Retrieves all member selection concepts and calculated selection concepts. :type type: List[str] - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :param object_name: The concept object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. :type object_name: List[str] @@ -1362,7 +1362,7 @@ def _get_analytic_object_concepts_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2alpha/data/model/analytic-objects/{analyticObjectName}/concepts', + resource_path='/v2/data/model/analytic-objects/{analyticObjectName}/concepts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1382,7 +1382,7 @@ def _get_analytic_object_concepts_serialize( def get_one_concept( self, concept_id: Annotated[StrictStr, Field(description="The object name or UUID of the concept to retrieve.")], - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1400,11 +1400,11 @@ def get_one_concept( ) -> ConceptResponseDTO: """Retrieve a concept's details - Retrieve the details of a specific concept, such as its concept type and description.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the details of a specific concept, such as its concept type and description. :param concept_id: The object name or UUID of the concept to retrieve. (required) :type concept_id: str - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :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. :type target_tenant_id: str @@ -1461,7 +1461,7 @@ def get_one_concept( def get_one_concept_with_http_info( self, concept_id: Annotated[StrictStr, Field(description="The object name or UUID of the concept to retrieve.")], - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1479,11 +1479,11 @@ def get_one_concept_with_http_info( ) -> ApiResponse[ConceptResponseDTO]: """Retrieve a concept's details - Retrieve the details of a specific concept, such as its concept type and description.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the details of a specific concept, such as its concept type and description. :param concept_id: The object name or UUID of the concept to retrieve. (required) :type concept_id: str - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :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. :type target_tenant_id: str @@ -1540,7 +1540,7 @@ def get_one_concept_with_http_info( def get_one_concept_without_preload_content( self, concept_id: Annotated[StrictStr, Field(description="The object name or UUID of the concept to retrieve.")], - var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1558,11 +1558,11 @@ def get_one_concept_without_preload_content( ) -> RESTResponseType: """Retrieve a concept's details - Retrieve the details of a specific concept, such as its concept type and description.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the details of a specific concept, such as its concept type and description. :param concept_id: The object name or UUID of the concept to retrieve. (required) :type concept_id: str - :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInApp`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :param var_with: The level of information to retrieve for the concept. Valid values: - `basic`: Retrieves the concept's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. :type var_with: List[str] :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. :type target_tenant_id: str @@ -1675,7 +1675,7 @@ def _get_one_concept_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v2alpha/data/model/concepts/{conceptId}', + resource_path='/v2/data/model/concepts/{conceptId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1712,7 +1712,7 @@ def patch_concepts( ) -> BulkChangeResponseDTO: """Partially update concepts - Make partial changes to existing concepts. The response returns whether each concept was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Make partial changes to existing concepts. The response returns whether each concept was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -1787,7 +1787,7 @@ def patch_concepts_with_http_info( ) -> ApiResponse[BulkChangeResponseDTO]: """Partially update concepts - Make partial changes to existing concepts. The response returns whether each concept was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Make partial changes to existing concepts. The response returns whether each concept was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -1862,7 +1862,7 @@ def patch_concepts_without_preload_content( ) -> RESTResponseType: """Partially update concepts - Make partial changes to existing concepts. The response returns whether each concept was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Make partial changes to existing concepts. The response returns whether each concept was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the concept definition, use `PATCH` to change specific fields in the concept without affecting omitted fields. To replace a concept's entire definition, see the `PUT` method. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -1983,7 +1983,7 @@ def _patch_concepts_serialize( return self.api_client.param_serialize( method='PATCH', - resource_path='/v2alpha/data/model/concepts', + resource_path='/v2/data/model/concepts', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2020,7 +2020,7 @@ def put_concepts( ) -> BulkChangeResponseDTO: """Update concepts - Update existing concepts. The response returns whether each concept was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the concept. To partially update a concept, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Update existing concepts. The response returns whether each concept was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the concept. To partially update a concept, see the `PATCH` method. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -2095,7 +2095,7 @@ def put_concepts_with_http_info( ) -> ApiResponse[BulkChangeResponseDTO]: """Update concepts - Update existing concepts. The response returns whether each concept was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the concept. To partially update a concept, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Update existing concepts. The response returns whether each concept was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the concept. To partially update a concept, see the `PATCH` method. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -2170,7 +2170,7 @@ def put_concepts_without_preload_content( ) -> RESTResponseType: """Update concepts - Update existing concepts. The response returns whether each concept was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the concept. To partially update a concept, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Update existing concepts. The response returns whether each concept was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the concept. To partially update a concept, see the `PATCH` method. :param concept_request_dto: (required) :type concept_request_dto: ConceptRequestDTO @@ -2291,7 +2291,7 @@ def _put_concepts_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/v2alpha/data/model/concepts', + resource_path='/v2/data/model/concepts', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py index 475b91dd6d..90fb0d1fca 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/consolidated_analytics_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py index 898e610936..66d7a0d897 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_and_job_handling_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py index 879eff4a6d..859b12dd76 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_intake_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py index e6a73ba2ee..0ca7ee9839 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_model_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,9 +20,7 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import List, Optional from typing_extensions import Annotated -from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO -from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO from visier_platform_sdk.models.currencies_dto import CurrenciesDTO from visier_platform_sdk.models.currency_dto import CurrencyDTO from visier_platform_sdk.models.currency_rates_dto import CurrencyRatesDTO @@ -55,6 +53,9 @@ from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO from visier_platform_sdk.models.selection_concept_dto import SelectionConceptDTO from visier_platform_sdk.models.selection_concepts_dto import SelectionConceptsDTO +from visier_platform_sdk.models.vee_question_categories_bulk_change_response_dto import VeeQuestionCategoriesBulkChangeResponseDTO +from visier_platform_sdk.models.vee_question_categories_change_definitions_dto import VeeQuestionCategoriesChangeDefinitionsDTO +from visier_platform_sdk.models.vee_question_categories_delete_definitions_dto import VeeQuestionCategoriesDeleteDefinitionsDTO from visier_platform_sdk.models.vee_questions_bulk_change_response_dto import VeeQuestionsBulkChangeResponseDTO from visier_platform_sdk.models.vee_questions_change_definitions_dto import VeeQuestionsChangeDefinitionsDTO from visier_platform_sdk.models.vee_questions_delete_definitions_dto import VeeQuestionsDeleteDefinitionsDTO @@ -1542,9 +1543,9 @@ def _create_properties_serialize( @validate_call - def create_vee_sample_questions( + def create_vee_sample_question_categories( self, - vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1559,13 +1560,13 @@ def create_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> VeeQuestionsBulkChangeResponseDTO: - """Add Vee sample questions + ) -> VeeQuestionCategoriesBulkChangeResponseDTO: + """Create Vee question categories - Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Create new sample question categories for Vee sample questions. Administrating tenants can specify the tenant in which to add sample question categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param vee_questions_change_definitions_dto: (required) - :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1592,8 +1593,8 @@ def create_vee_sample_questions( :return: Returns the result object. """ # noqa: E501 - _param = self._create_vee_sample_questions_serialize( - vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, + _param = self._create_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1603,7 +1604,7 @@ def create_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "VeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1617,9 +1618,9 @@ def create_vee_sample_questions( @validate_call - def create_vee_sample_questions_with_http_info( + def create_vee_sample_question_categories_with_http_info( self, - vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1634,13 +1635,13 @@ def create_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: - """Add Vee sample questions + ) -> ApiResponse[VeeQuestionCategoriesBulkChangeResponseDTO]: + """Create Vee question categories - Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Create new sample question categories for Vee sample questions. Administrating tenants can specify the tenant in which to add sample question categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param vee_questions_change_definitions_dto: (required) - :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1667,8 +1668,8 @@ def create_vee_sample_questions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._create_vee_sample_questions_serialize( - vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, + _param = self._create_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1678,7 +1679,7 @@ def create_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "VeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1692,9 +1693,9 @@ def create_vee_sample_questions_with_http_info( @validate_call - def create_vee_sample_questions_without_preload_content( + def create_vee_sample_question_categories_without_preload_content( self, - vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -1710,12 +1711,12 @@ def create_vee_sample_questions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Add Vee sample questions + """Create Vee question categories - Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Create new sample question categories for Vee sample questions. Administrating tenants can specify the tenant in which to add sample question categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param vee_questions_change_definitions_dto: (required) - :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1742,8 +1743,8 @@ def create_vee_sample_questions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._create_vee_sample_questions_serialize( - vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, + _param = self._create_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -1753,7 +1754,7 @@ def create_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "VeeQuestionsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1762,9 +1763,9 @@ def create_vee_sample_questions_without_preload_content( return response_data.response - def _create_vee_sample_questions_serialize( + def _create_vee_sample_question_categories_serialize( self, - vee_questions_change_definitions_dto, + vee_question_categories_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -1796,8 +1797,8 @@ def _create_vee_sample_questions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if vee_questions_change_definitions_dto is not None: - _body_params = vee_questions_change_definitions_dto + if vee_question_categories_change_definitions_dto is not None: + _body_params = vee_question_categories_change_definitions_dto # set the HTTP header `Accept` @@ -1833,7 +1834,7 @@ def _create_vee_sample_questions_serialize( return self.api_client.param_serialize( method='POST', - resource_path='/v1alpha/data/model/vee/sample-questions', + resource_path='/v1alpha/data/model/vee/sample-question-categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -1850,9 +1851,11 @@ def _create_vee_sample_questions_serialize( @validate_call - def currencies( + def create_vee_sample_questions( self, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1865,13 +1868,17 @@ def currencies( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CurrenciesDTO: - """Retrieve all currencies + ) -> VeeQuestionsBulkChangeResponseDTO: + """Add Vee sample questions - Retrieve all the available currencies in your Visier solution. + Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1894,8 +1901,10 @@ def currencies( :return: Returns the result object. """ # noqa: E501 - _param = self._currencies_serialize( + _param = self._create_vee_sample_questions_serialize( + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1903,7 +1912,7 @@ def currencies( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrenciesDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1917,9 +1926,11 @@ def currencies( @validate_call - def currencies_with_http_info( + def create_vee_sample_questions_with_http_info( self, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1932,13 +1943,17 @@ def currencies_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CurrenciesDTO]: - """Retrieve all currencies + ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: + """Add Vee sample questions - Retrieve all the available currencies in your Visier solution. + Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1961,8 +1976,10 @@ def currencies_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._currencies_serialize( + _param = self._create_vee_sample_questions_serialize( + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1970,7 +1987,7 @@ def currencies_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrenciesDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -1984,9 +2001,11 @@ def currencies_with_http_info( @validate_call - def currencies_without_preload_content( + def create_vee_sample_questions_without_preload_content( self, + vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -2000,12 +2019,16 @@ def currencies_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve all currencies + """Add Vee sample questions - Retrieve all the available currencies in your Visier solution. + Create new sample questions that your users can ask Vee. Administrating tenants can specify the tenant in which to add sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + :param vee_questions_change_definitions_dto: (required) + :type vee_questions_change_definitions_dto: VeeQuestionsChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -2028,8 +2051,10 @@ def currencies_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._currencies_serialize( + _param = self._create_vee_sample_questions_serialize( + vee_questions_change_definitions_dto=vee_questions_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -2037,7 +2062,7 @@ def currencies_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrenciesDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -2046,9 +2071,11 @@ def currencies_without_preload_content( return response_data.response - def _currencies_serialize( + def _create_vee_sample_questions_serialize( self, + vee_questions_change_definitions_dto, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -2074,8 +2101,12 @@ def _currencies_serialize( # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter + if vee_questions_change_definitions_dto is not None: + _body_params = vee_questions_change_definitions_dto # set the HTTP header `Accept` @@ -2086,6 +2117,19 @@ def _currencies_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -2097,8 +2141,8 @@ def _currencies_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/data/model/currencies', + method='POST', + resource_path='/v1alpha/data/model/vee/sample-questions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2115,9 +2159,8 @@ def _currencies_serialize( @validate_call - def currency( + def currencies( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency.")], 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, _request_timeout: Union[ None, @@ -2131,13 +2174,11 @@ def currency( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CurrencyDTO: - """Retrieve a currency + ) -> CurrenciesDTO: + """Retrieve all currencies - Retrieve a specific currency if you know the currency code. + Retrieve all the available currencies in your Visier solution. - :param id: The ISO 4217 3-letter code for the currency. (required) - :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2162,8 +2203,7 @@ def currency( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_serialize( - id=id, + _param = self._currencies_serialize( target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2172,7 +2212,7 @@ def currency( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrencyDTO", + '200': "CurrenciesDTO", } response_data = self.api_client.call_api( *_param, @@ -2186,9 +2226,8 @@ def currency( @validate_call - def currency_with_http_info( + def currencies_with_http_info( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency.")], 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, _request_timeout: Union[ None, @@ -2202,13 +2241,11 @@ def currency_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CurrencyDTO]: - """Retrieve a currency + ) -> ApiResponse[CurrenciesDTO]: + """Retrieve all currencies - Retrieve a specific currency if you know the currency code. + Retrieve all the available currencies in your Visier solution. - :param id: The ISO 4217 3-letter code for the currency. (required) - :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2233,8 +2270,7 @@ def currency_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_serialize( - id=id, + _param = self._currencies_serialize( target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2243,7 +2279,7 @@ def currency_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrencyDTO", + '200': "CurrenciesDTO", } response_data = self.api_client.call_api( *_param, @@ -2257,9 +2293,8 @@ def currency_with_http_info( @validate_call - def currency_without_preload_content( + def currencies_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency.")], 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, _request_timeout: Union[ None, @@ -2274,12 +2309,10 @@ def currency_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a currency + """Retrieve all currencies - Retrieve a specific currency if you know the currency code. + Retrieve all the available currencies in your Visier solution. - :param id: The ISO 4217 3-letter code for the currency. (required) - :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2304,8 +2337,7 @@ def currency_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_serialize( - id=id, + _param = self._currencies_serialize( target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2314,7 +2346,7 @@ def currency_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrencyDTO", + '200': "CurrenciesDTO", } response_data = self.api_client.call_api( *_param, @@ -2323,9 +2355,8 @@ def currency_without_preload_content( return response_data.response - def _currency_serialize( + def _currencies_serialize( self, - id, target_tenant_id, _request_auth, _content_type, @@ -2348,8 +2379,6 @@ def _currency_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if target_tenant_id is not None: @@ -2378,7 +2407,7 @@ def _currency_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/currencies/{id}', + resource_path='/v1/data/model/currencies', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2395,12 +2424,9 @@ def _currency_serialize( @validate_call - def currency_rates( + def currency( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to get rates for.")], - start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, - end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, - decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency.")], 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, _request_timeout: Union[ None, @@ -2414,19 +2440,13 @@ def currency_rates( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CurrencyRatesDTO: - """Retrieve all exchange rates for a currency + ) -> CurrencyDTO: + """Retrieve a currency - Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. + Retrieve a specific currency if you know the currency code. - :param id: The ISO 4217 3-letter code for the currency to get rates for. (required) + :param id: The ISO 4217 3-letter code for the currency. (required) :type id: str - :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. - :type start_time: str - :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. - :type end_time: str - :param decimals: The number of decimals to round exchange rates to. Default is to round to 2 decimal places. - :type decimals: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2451,11 +2471,8 @@ def currency_rates( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_rates_serialize( + _param = self._currency_serialize( id=id, - start_time=start_time, - end_time=end_time, - decimals=decimals, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2464,7 +2481,7 @@ def currency_rates( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrencyRatesDTO", + '200': "CurrencyDTO", } response_data = self.api_client.call_api( *_param, @@ -2478,12 +2495,9 @@ def currency_rates( @validate_call - def currency_rates_with_http_info( + def currency_with_http_info( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to get rates for.")], - start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, - end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, - decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency.")], 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, _request_timeout: Union[ None, @@ -2497,19 +2511,13 @@ def currency_rates_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CurrencyRatesDTO]: - """Retrieve all exchange rates for a currency + ) -> ApiResponse[CurrencyDTO]: + """Retrieve a currency - Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. + Retrieve a specific currency if you know the currency code. - :param id: The ISO 4217 3-letter code for the currency to get rates for. (required) + :param id: The ISO 4217 3-letter code for the currency. (required) :type id: str - :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. - :type start_time: str - :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. - :type end_time: str - :param decimals: The number of decimals to round exchange rates to. Default is to round to 2 decimal places. - :type decimals: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2534,11 +2542,8 @@ def currency_rates_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_rates_serialize( + _param = self._currency_serialize( id=id, - start_time=start_time, - end_time=end_time, - decimals=decimals, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2547,7 +2552,7 @@ def currency_rates_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrencyRatesDTO", + '200': "CurrencyDTO", } response_data = self.api_client.call_api( *_param, @@ -2561,12 +2566,9 @@ def currency_rates_with_http_info( @validate_call - def currency_rates_without_preload_content( + def currency_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to get rates for.")], - start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, - end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, - decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency.")], 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, _request_timeout: Union[ None, @@ -2581,18 +2583,12 @@ def currency_rates_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve all exchange rates for a currency + """Retrieve a currency - Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. + Retrieve a specific currency if you know the currency code. - :param id: The ISO 4217 3-letter code for the currency to get rates for. (required) + :param id: The ISO 4217 3-letter code for the currency. (required) :type id: str - :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. - :type start_time: str - :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. - :type end_time: str - :param decimals: The number of decimals to round exchange rates to. Default is to round to 2 decimal places. - :type decimals: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -2617,11 +2613,8 @@ def currency_rates_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_rates_serialize( + _param = self._currency_serialize( id=id, - start_time=start_time, - end_time=end_time, - decimals=decimals, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -2630,7 +2623,7 @@ def currency_rates_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "CurrencyRatesDTO", + '200': "CurrencyDTO", } response_data = self.api_client.call_api( *_param, @@ -2639,12 +2632,9 @@ def currency_rates_without_preload_content( return response_data.response - def _currency_rates_serialize( + def _currency_serialize( self, id, - start_time, - end_time, - decimals, target_tenant_id, _request_auth, _content_type, @@ -2670,18 +2660,6 @@ def _currency_rates_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if start_time is not None: - - _query_params.append(('startTime', start_time)) - - if end_time is not None: - - _query_params.append(('endTime', end_time)) - - if decimals is not None: - - _query_params.append(('decimals', decimals)) - # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -2709,7 +2687,7 @@ def _currency_rates_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/currencies/{id}/rates', + resource_path='/v1/data/model/currencies/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -2726,10 +2704,9 @@ def _currency_rates_serialize( @validate_call - def currency_rates_with_to_currency( + def currency_rates( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert from.")], - to_id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert to.")], + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to get rates for.")], start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, @@ -2747,14 +2724,12 @@ def currency_rates_with_to_currency( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> CurrencyRatesDTO: - """Retrieve exchange rates from one currency to another currency + """Retrieve all exchange rates for a currency - Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. + Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. - :param id: The ISO 4217 3-letter code for the currency to convert from. (required) + :param id: The ISO 4217 3-letter code for the currency to get rates for. (required) :type id: str - :param to_id: The ISO 4217 3-letter code for the currency to convert to. (required) - :type to_id: str :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. :type start_time: str :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. @@ -2785,9 +2760,8 @@ def currency_rates_with_to_currency( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_rates_with_to_currency_serialize( + _param = self._currency_rates_serialize( id=id, - to_id=to_id, start_time=start_time, end_time=end_time, decimals=decimals, @@ -2813,10 +2787,9 @@ def currency_rates_with_to_currency( @validate_call - def currency_rates_with_to_currency_with_http_info( + def currency_rates_with_http_info( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert from.")], - to_id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert to.")], + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to get rates for.")], start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, @@ -2834,14 +2807,12 @@ def currency_rates_with_to_currency_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[CurrencyRatesDTO]: - """Retrieve exchange rates from one currency to another currency + """Retrieve all exchange rates for a currency - Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. + Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. - :param id: The ISO 4217 3-letter code for the currency to convert from. (required) + :param id: The ISO 4217 3-letter code for the currency to get rates for. (required) :type id: str - :param to_id: The ISO 4217 3-letter code for the currency to convert to. (required) - :type to_id: str :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. :type start_time: str :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. @@ -2872,9 +2843,8 @@ def currency_rates_with_to_currency_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_rates_with_to_currency_serialize( + _param = self._currency_rates_serialize( id=id, - to_id=to_id, start_time=start_time, end_time=end_time, decimals=decimals, @@ -2900,10 +2870,9 @@ def currency_rates_with_to_currency_with_http_info( @validate_call - def currency_rates_with_to_currency_without_preload_content( + def currency_rates_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert from.")], - to_id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert to.")], + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to get rates for.")], start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, @@ -2921,14 +2890,12 @@ def currency_rates_with_to_currency_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve exchange rates from one currency to another currency + """Retrieve all exchange rates for a currency - Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. + Retrieve exchange rates for a specific currency from Visier. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. - :param id: The ISO 4217 3-letter code for the currency to convert from. (required) + :param id: The ISO 4217 3-letter code for the currency to get rates for. (required) :type id: str - :param to_id: The ISO 4217 3-letter code for the currency to convert to. (required) - :type to_id: str :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. :type start_time: str :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. @@ -2959,9 +2926,8 @@ def currency_rates_with_to_currency_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._currency_rates_with_to_currency_serialize( + _param = self._currency_rates_serialize( id=id, - to_id=to_id, start_time=start_time, end_time=end_time, decimals=decimals, @@ -2982,10 +2948,9 @@ def currency_rates_with_to_currency_without_preload_content( return response_data.response - def _currency_rates_with_to_currency_serialize( + def _currency_rates_serialize( self, id, - to_id, start_time, end_time, decimals, @@ -3013,8 +2978,6 @@ def _currency_rates_with_to_currency_serialize( # process the path parameters if id is not None: _path_params['id'] = id - if to_id is not None: - _path_params['toId'] = to_id # process the query parameters if start_time is not None: @@ -3055,7 +3018,7 @@ def _currency_rates_with_to_currency_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/currencies/{id}/rates/{toId}', + resource_path='/v1/data/model/currencies/{id}/rates', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3072,11 +3035,14 @@ def _currency_rates_with_to_currency_serialize( @validate_call - def delete_properties( + def currency_rates_with_to_currency( self, - properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert from.")], + to_id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert to.")], + start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, + end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, + decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3089,17 +3055,23 @@ def delete_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PropertyBulkDeleteResponseDTO: - """Delete properties + ) -> CurrencyRatesDTO: + """Retrieve exchange rates from one currency to another currency - Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. + Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. - :param properties_delete_definitions_dto: (required) - :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO + :param id: The ISO 4217 3-letter code for the currency to convert from. (required) + :type id: str + :param to_id: The ISO 4217 3-letter code for the currency to convert to. (required) + :type to_id: str + :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. + :type start_time: str + :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. + :type end_time: str + :param decimals: The number of decimals to round exchange rates to. Default is to round to 2 decimal places. + :type decimals: str :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3122,10 +3094,13 @@ def delete_properties( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_properties_serialize( - properties_delete_definitions_dto=properties_delete_definitions_dto, + _param = self._currency_rates_with_to_currency_serialize( + id=id, + to_id=to_id, + start_time=start_time, + end_time=end_time, + decimals=decimals, target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3133,7 +3108,7 @@ def delete_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PropertyBulkDeleteResponseDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -3147,11 +3122,14 @@ def delete_properties( @validate_call - def delete_properties_with_http_info( + def currency_rates_with_to_currency_with_http_info( self, - properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert from.")], + to_id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert to.")], + start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, + end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, + decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3164,17 +3142,23 @@ def delete_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PropertyBulkDeleteResponseDTO]: - """Delete properties + ) -> ApiResponse[CurrencyRatesDTO]: + """Retrieve exchange rates from one currency to another currency - Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. + Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. - :param properties_delete_definitions_dto: (required) - :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO + :param id: The ISO 4217 3-letter code for the currency to convert from. (required) + :type id: str + :param to_id: The ISO 4217 3-letter code for the currency to convert to. (required) + :type to_id: str + :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. + :type start_time: str + :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. + :type end_time: str + :param decimals: The number of decimals to round exchange rates to. Default is to round to 2 decimal places. + :type decimals: str :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3197,10 +3181,13 @@ def delete_properties_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_properties_serialize( - properties_delete_definitions_dto=properties_delete_definitions_dto, + _param = self._currency_rates_with_to_currency_serialize( + id=id, + to_id=to_id, + start_time=start_time, + end_time=end_time, + decimals=decimals, target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3208,7 +3195,7 @@ def delete_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PropertyBulkDeleteResponseDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -3222,11 +3209,14 @@ def delete_properties_with_http_info( @validate_call - def delete_properties_without_preload_content( + def currency_rates_with_to_currency_without_preload_content( self, - properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, + id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert from.")], + to_id: Annotated[StrictStr, Field(description="The ISO 4217 3-letter code for the currency to convert to.")], + start_time: Annotated[Optional[StrictStr], Field(description="The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds.")] = None, + end_time: Annotated[Optional[StrictStr], Field(description="The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds.")] = None, + decimals: Annotated[Optional[StrictStr], Field(description="The number of decimals to round exchange rates to. Default is to round to 2 decimal places.")] = None, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3240,16 +3230,22 @@ def delete_properties_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete properties + """Retrieve exchange rates from one currency to another currency - Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. + Retrieve exchange rates from a specific currency to another specific currency. You can optionally specify query parameter options for the returned rates, such as the number of decimals to round the exchange rate to. - :param properties_delete_definitions_dto: (required) - :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO + :param id: The ISO 4217 3-letter code for the currency to convert from. (required) + :type id: str + :param to_id: The ISO 4217 3-letter code for the currency to convert to. (required) + :type to_id: str + :param start_time: The earliest time instant to retrieve exchange rates from. Default is to use 0 milliseconds. + :type start_time: str + :param end_time: The latest time instant to retrieve exchange rates from. Default is to use the time of this request in milliseconds. + :type end_time: str + :param decimals: The number of decimals to round exchange rates to. Default is to round to 2 decimal places. + :type decimals: str :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3272,10 +3268,13 @@ def delete_properties_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_properties_serialize( - properties_delete_definitions_dto=properties_delete_definitions_dto, + _param = self._currency_rates_with_to_currency_serialize( + id=id, + to_id=to_id, + start_time=start_time, + end_time=end_time, + decimals=decimals, target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3283,7 +3282,7 @@ def delete_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PropertyBulkDeleteResponseDTO", + '200': "CurrencyRatesDTO", } response_data = self.api_client.call_api( *_param, @@ -3292,11 +3291,14 @@ def delete_properties_without_preload_content( return response_data.response - def _delete_properties_serialize( + def _currency_rates_with_to_currency_serialize( self, - properties_delete_definitions_dto, + id, + to_id, + start_time, + end_time, + decimals, target_tenant_id, - project_id, _request_auth, _content_type, _headers, @@ -3318,16 +3320,28 @@ def _delete_properties_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id + if to_id is not None: + _path_params['toId'] = to_id # process the query parameters + if start_time is not None: + + _query_params.append(('startTime', start_time)) + + if end_time is not None: + + _query_params.append(('endTime', end_time)) + + if decimals is not None: + + _query_params.append(('decimals', decimals)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id - if project_id is not None: - _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if properties_delete_definitions_dto is not None: - _body_params = properties_delete_definitions_dto # set the HTTP header `Accept` @@ -3338,19 +3352,6 @@ def _delete_properties_serialize( ] ) - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -3362,8 +3363,8 @@ def _delete_properties_serialize( ] return self.api_client.param_serialize( - method='DELETE', - resource_path='/v1/data/model/properties', + method='GET', + resource_path='/v1/data/model/currencies/{id}/rates/{toId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3380,9 +3381,9 @@ def _delete_properties_serialize( @validate_call - def delete_vee_sample_questions( + def delete_properties( self, - vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, + properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3397,13 +3398,13 @@ def delete_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> VeeQuestionsBulkChangeResponseDTO: - """Delete Vee sample questions + ) -> PropertyBulkDeleteResponseDTO: + """Delete properties - Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. - :param vee_questions_delete_definitions_dto: (required) - :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO + :param properties_delete_definitions_dto: (required) + :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3430,8 +3431,8 @@ def delete_vee_sample_questions( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_vee_sample_questions_serialize( - vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, + _param = self._delete_properties_serialize( + properties_delete_definitions_dto=properties_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3441,7 +3442,7 @@ def delete_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "VeeQuestionsBulkChangeResponseDTO", + '200': "PropertyBulkDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3455,9 +3456,9 @@ def delete_vee_sample_questions( @validate_call - def delete_vee_sample_questions_with_http_info( + def delete_properties_with_http_info( self, - vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, + properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3472,13 +3473,13 @@ def delete_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: - """Delete Vee sample questions + ) -> ApiResponse[PropertyBulkDeleteResponseDTO]: + """Delete properties - Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. - :param vee_questions_delete_definitions_dto: (required) - :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO + :param properties_delete_definitions_dto: (required) + :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3505,8 +3506,8 @@ def delete_vee_sample_questions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_vee_sample_questions_serialize( - vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, + _param = self._delete_properties_serialize( + properties_delete_definitions_dto=properties_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3516,7 +3517,7 @@ def delete_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "VeeQuestionsBulkChangeResponseDTO", + '200': "PropertyBulkDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3530,9 +3531,9 @@ def delete_vee_sample_questions_with_http_info( @validate_call - def delete_vee_sample_questions_without_preload_content( + def delete_properties_without_preload_content( self, - vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, + properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -3548,12 +3549,12 @@ def delete_vee_sample_questions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Delete Vee sample questions + """Delete properties - Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Delete existing properties. Administrating tenant users can specify the tenant in which to delete the properties. In each API request, delete up to 10 properties per tenant with a maximum of 500 tenants. - :param vee_questions_delete_definitions_dto: (required) - :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO + :param properties_delete_definitions_dto: (required) + :type properties_delete_definitions_dto: PropertiesDeleteDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -3580,8 +3581,8 @@ def delete_vee_sample_questions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._delete_vee_sample_questions_serialize( - vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, + _param = self._delete_properties_serialize( + properties_delete_definitions_dto=properties_delete_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -3591,7 +3592,7 @@ def delete_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "VeeQuestionsBulkChangeResponseDTO", + '200': "PropertyBulkDeleteResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3600,9 +3601,9 @@ def delete_vee_sample_questions_without_preload_content( return response_data.response - def _delete_vee_sample_questions_serialize( + def _delete_properties_serialize( self, - vee_questions_delete_definitions_dto, + properties_delete_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -3634,8 +3635,8 @@ def _delete_vee_sample_questions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if vee_questions_delete_definitions_dto is not None: - _body_params = vee_questions_delete_definitions_dto + if properties_delete_definitions_dto is not None: + _body_params = properties_delete_definitions_dto # set the HTTP header `Accept` @@ -3671,7 +3672,7 @@ def _delete_vee_sample_questions_serialize( return self.api_client.param_serialize( method='DELETE', - resource_path='/v1alpha/data/model/vee/sample-questions', + resource_path='/v1/data/model/properties', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3688,11 +3689,11 @@ def _delete_vee_sample_questions_serialize( @validate_call - def dimension( + def delete_vee_sample_question_categories( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[StrictStr, Field(description="The ID of the dimension to retrieve.")], + vee_question_categories_delete_definitions_dto: VeeQuestionCategoriesDeleteDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3705,17 +3706,17 @@ def dimension( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DimensionDTO: - """Retrieve a dimension by ID + ) -> VeeQuestionCategoriesBulkChangeResponseDTO: + """Delete Vee question categories - If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. + Delete existing Vee sample question categories. Administrating tenants can specify the tenant in which to delete categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object to retrieve. (required) - :type object_id: str - :param id: The ID of the dimension to retrieve. (required) - :type id: str + :param vee_question_categories_delete_definitions_dto: (required) + :type vee_question_categories_delete_definitions_dto: VeeQuestionCategoriesDeleteDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3738,10 +3739,10 @@ def dimension( :return: Returns the result object. """ # noqa: E501 - _param = self._dimension_serialize( - object_id=object_id, - id=id, + _param = self._delete_vee_sample_question_categories_serialize( + vee_question_categories_delete_definitions_dto=vee_question_categories_delete_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3749,7 +3750,7 @@ def dimension( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3763,11 +3764,11 @@ def dimension( @validate_call - def dimension_with_http_info( + def delete_vee_sample_question_categories_with_http_info( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[StrictStr, Field(description="The ID of the dimension to retrieve.")], + vee_question_categories_delete_definitions_dto: VeeQuestionCategoriesDeleteDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3780,17 +3781,17 @@ def dimension_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DimensionDTO]: - """Retrieve a dimension by ID + ) -> ApiResponse[VeeQuestionCategoriesBulkChangeResponseDTO]: + """Delete Vee question categories - If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. + Delete existing Vee sample question categories. Administrating tenants can specify the tenant in which to delete categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object to retrieve. (required) - :type object_id: str - :param id: The ID of the dimension to retrieve. (required) - :type id: str + :param vee_question_categories_delete_definitions_dto: (required) + :type vee_question_categories_delete_definitions_dto: VeeQuestionCategoriesDeleteDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3813,10 +3814,10 @@ def dimension_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._dimension_serialize( - object_id=object_id, - id=id, + _param = self._delete_vee_sample_question_categories_serialize( + vee_question_categories_delete_definitions_dto=vee_question_categories_delete_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3824,7 +3825,7 @@ def dimension_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3838,11 +3839,11 @@ def dimension_with_http_info( @validate_call - def dimension_without_preload_content( + def delete_vee_sample_question_categories_without_preload_content( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[StrictStr, Field(description="The ID of the dimension to retrieve.")], + vee_question_categories_delete_definitions_dto: VeeQuestionCategoriesDeleteDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -3856,16 +3857,16 @@ def dimension_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a dimension by ID + """Delete Vee question categories - If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. + Delete existing Vee sample question categories. Administrating tenants can specify the tenant in which to delete categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object to retrieve. (required) - :type object_id: str - :param id: The ID of the dimension to retrieve. (required) - :type id: str + :param vee_question_categories_delete_definitions_dto: (required) + :type vee_question_categories_delete_definitions_dto: VeeQuestionCategoriesDeleteDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -3888,10 +3889,10 @@ def dimension_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._dimension_serialize( - object_id=object_id, - id=id, + _param = self._delete_vee_sample_question_categories_serialize( + vee_question_categories_delete_definitions_dto=vee_question_categories_delete_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -3899,7 +3900,7 @@ def dimension_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -3908,11 +3909,11 @@ def dimension_without_preload_content( return response_data.response - def _dimension_serialize( + def _delete_vee_sample_question_categories_serialize( self, - object_id, - id, + vee_question_categories_delete_definitions_dto, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -3934,16 +3935,16 @@ def _dimension_serialize( _body_params: Optional[bytes] = None # process the path parameters - if object_id is not None: - _path_params['objectId'] = object_id - if id is not None: - _path_params['id'] = id # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter + if vee_question_categories_delete_definitions_dto is not None: + _body_params = vee_question_categories_delete_definitions_dto # set the HTTP header `Accept` @@ -3954,6 +3955,19 @@ def _dimension_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -3965,8 +3979,8 @@ def _dimension_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{id}', + method='DELETE', + resource_path='/v1alpha/data/model/vee/sample-question-categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -3983,12 +3997,11 @@ def _dimension_serialize( @validate_call - def dimension_member_map_validation( + def delete_vee_sample_questions( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], - dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, + vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4001,19 +4014,17 @@ def dimension_member_map_validation( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DimensionMappingValidationDTO: - """Validate a member map's unmapped dimension members by ID + ) -> VeeQuestionsBulkChangeResponseDTO: + """Delete Vee sample questions - If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. + Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of a dimension of the member map. (required) - :type dimension_id: str - :param dimension_mapping_validation_execution_dto: (required) - :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO + :param vee_questions_delete_definitions_dto: (required) + :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4036,11 +4047,10 @@ def dimension_member_map_validation( :return: Returns the result object. """ # noqa: E501 - _param = self._dimension_member_map_validation_serialize( - object_id=object_id, - dimension_id=dimension_id, - dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, + _param = self._delete_vee_sample_questions_serialize( + vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4048,7 +4058,7 @@ def dimension_member_map_validation( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionMappingValidationDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4062,12 +4072,11 @@ def dimension_member_map_validation( @validate_call - def dimension_member_map_validation_with_http_info( + def delete_vee_sample_questions_with_http_info( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], - dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, + vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4080,19 +4089,17 @@ def dimension_member_map_validation_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DimensionMappingValidationDTO]: - """Validate a member map's unmapped dimension members by ID + ) -> ApiResponse[VeeQuestionsBulkChangeResponseDTO]: + """Delete Vee sample questions - If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. + Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of a dimension of the member map. (required) - :type dimension_id: str - :param dimension_mapping_validation_execution_dto: (required) - :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO + :param vee_questions_delete_definitions_dto: (required) + :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4115,11 +4122,10 @@ def dimension_member_map_validation_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._dimension_member_map_validation_serialize( - object_id=object_id, - dimension_id=dimension_id, - dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, + _param = self._delete_vee_sample_questions_serialize( + vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4127,7 +4133,7 @@ def dimension_member_map_validation_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionMappingValidationDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4141,12 +4147,11 @@ def dimension_member_map_validation_with_http_info( @validate_call - def dimension_member_map_validation_without_preload_content( + def delete_vee_sample_questions_without_preload_content( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], - dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, + vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4160,18 +4165,16 @@ def dimension_member_map_validation_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Validate a member map's unmapped dimension members by ID + """Delete Vee sample questions - If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. + Delete existing sample questions. Administrating tenants can specify the tenant in which to delete questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of a dimension of the member map. (required) - :type dimension_id: str - :param dimension_mapping_validation_execution_dto: (required) - :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO + :param vee_questions_delete_definitions_dto: (required) + :type vee_questions_delete_definitions_dto: VeeQuestionsDeleteDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4194,11 +4197,10 @@ def dimension_member_map_validation_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._dimension_member_map_validation_serialize( - object_id=object_id, - dimension_id=dimension_id, - dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, + _param = self._delete_vee_sample_questions_serialize( + vee_questions_delete_definitions_dto=vee_questions_delete_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4206,7 +4208,7 @@ def dimension_member_map_validation_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionMappingValidationDTO", + '200': "VeeQuestionsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -4215,12 +4217,11 @@ def dimension_member_map_validation_without_preload_content( return response_data.response - def _dimension_member_map_validation_serialize( + def _delete_vee_sample_questions_serialize( self, - object_id, - dimension_id, - dimension_mapping_validation_execution_dto, + vee_questions_delete_definitions_dto, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -4242,18 +4243,16 @@ def _dimension_member_map_validation_serialize( _body_params: Optional[bytes] = None # process the path parameters - if object_id is not None: - _path_params['objectId'] = object_id - if dimension_id is not None: - _path_params['dimensionId'] = dimension_id # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if dimension_mapping_validation_execution_dto is not None: - _body_params = dimension_mapping_validation_execution_dto + if vee_questions_delete_definitions_dto is not None: + _body_params = vee_questions_delete_definitions_dto # set the HTTP header `Accept` @@ -4288,8 +4287,8 @@ def _dimension_member_map_validation_serialize( ] return self.api_client.param_serialize( - method='POST', - resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{dimensionId}/mappings/validate', + method='DELETE', + resource_path='/v1alpha/data/model/vee/sample-questions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4306,10 +4305,10 @@ def _dimension_member_map_validation_serialize( @validate_call - def dimensions( + def dimension( self, object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the dimension to retrieve.")], 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, _request_timeout: Union[ None, @@ -4323,15 +4322,15 @@ def dimensions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DimensionsDTO: - """Retrieve a list of dimensions + ) -> DimensionDTO: + """Retrieve a dimension by ID - Retrieve a list of dimensions for a specific analytic object. + If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. :param object_id: The ID of the analytic object to retrieve. (required) :type object_id: str - :param id: The IDs of the dimensions to retrieve. Default is all dimensions. - :type id: List[str] + :param id: The ID of the dimension to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4356,7 +4355,7 @@ def dimensions( :return: Returns the result object. """ # noqa: E501 - _param = self._dimensions_serialize( + _param = self._dimension_serialize( object_id=object_id, id=id, target_tenant_id=target_tenant_id, @@ -4367,7 +4366,7 @@ def dimensions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionsDTO", + '200': "DimensionDTO", } response_data = self.api_client.call_api( *_param, @@ -4381,10 +4380,10 @@ def dimensions( @validate_call - def dimensions_with_http_info( + def dimension_with_http_info( self, object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the dimension to retrieve.")], 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, _request_timeout: Union[ None, @@ -4398,15 +4397,15 @@ def dimensions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DimensionsDTO]: - """Retrieve a list of dimensions + ) -> ApiResponse[DimensionDTO]: + """Retrieve a dimension by ID - Retrieve a list of dimensions for a specific analytic object. + If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. :param object_id: The ID of the analytic object to retrieve. (required) :type object_id: str - :param id: The IDs of the dimensions to retrieve. Default is all dimensions. - :type id: List[str] + :param id: The ID of the dimension to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4431,7 +4430,7 @@ def dimensions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._dimensions_serialize( + _param = self._dimension_serialize( object_id=object_id, id=id, target_tenant_id=target_tenant_id, @@ -4442,7 +4441,7 @@ def dimensions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionsDTO", + '200': "DimensionDTO", } response_data = self.api_client.call_api( *_param, @@ -4456,10 +4455,10 @@ def dimensions_with_http_info( @validate_call - def dimensions_without_preload_content( + def dimension_without_preload_content( self, object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the dimension to retrieve.")], 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, _request_timeout: Union[ None, @@ -4474,14 +4473,14 @@ def dimensions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of dimensions + """Retrieve a dimension by ID - Retrieve a list of dimensions for a specific analytic object. + If you know the ID of a dimension, use this API to retrieve that dimension specifically. You must also know the analytic object's ID. :param object_id: The ID of the analytic object to retrieve. (required) :type object_id: str - :param id: The IDs of the dimensions to retrieve. Default is all dimensions. - :type id: List[str] + :param id: The ID of the dimension to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4506,7 +4505,7 @@ def dimensions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._dimensions_serialize( + _param = self._dimension_serialize( object_id=object_id, id=id, target_tenant_id=target_tenant_id, @@ -4517,7 +4516,7 @@ def dimensions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionsDTO", + '200': "DimensionDTO", } response_data = self.api_client.call_api( *_param, @@ -4526,7 +4525,7 @@ def dimensions_without_preload_content( return response_data.response - def _dimensions_serialize( + def _dimension_serialize( self, object_id, id, @@ -4540,7 +4539,6 @@ def _dimensions_serialize( _host = None _collection_formats: Dict[str, str] = { - 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -4555,11 +4553,9 @@ def _dimensions_serialize( # process the path parameters if object_id is not None: _path_params['objectId'] = object_id - # process the query parameters if id is not None: - - _query_params.append(('id', id)) - + _path_params['id'] = id + # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -4587,7 +4583,7 @@ def _dimensions_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions', + resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4604,11 +4600,12 @@ def _dimensions_serialize( @validate_call - def get_vee_sample_question( + def dimension_member_map_validation( self, - question_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question to retrieve.")], + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], + dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4621,17 +4618,19 @@ def get_vee_sample_question( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> SampleQuestionAPIResponseDTO: - """Retrieve a Vee sample question's details + ) -> DimensionMappingValidationDTO: + """Validate a member map's unmapped dimension members by ID - Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. - :param question_id: The ID of the Vee sample question to retrieve. (required) - :type question_id: str + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of a dimension of the member map. (required) + :type dimension_id: str + :param dimension_mapping_validation_execution_dto: (required) + :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4654,10 +4653,11 @@ def get_vee_sample_question( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_serialize( - question_id=question_id, + _param = self._dimension_member_map_validation_serialize( + object_id=object_id, + dimension_id=dimension_id, + dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4665,7 +4665,7 @@ def get_vee_sample_question( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SampleQuestionAPIResponseDTO", + '200': "DimensionMappingValidationDTO", } response_data = self.api_client.call_api( *_param, @@ -4679,11 +4679,12 @@ def get_vee_sample_question( @validate_call - def get_vee_sample_question_with_http_info( + def dimension_member_map_validation_with_http_info( self, - question_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question to retrieve.")], + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], + dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4696,17 +4697,19 @@ def get_vee_sample_question_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[SampleQuestionAPIResponseDTO]: - """Retrieve a Vee sample question's details + ) -> ApiResponse[DimensionMappingValidationDTO]: + """Validate a member map's unmapped dimension members by ID - Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. - :param question_id: The ID of the Vee sample question to retrieve. (required) - :type question_id: str + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of a dimension of the member map. (required) + :type dimension_id: str + :param dimension_mapping_validation_execution_dto: (required) + :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4729,10 +4732,11 @@ def get_vee_sample_question_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_serialize( - question_id=question_id, + _param = self._dimension_member_map_validation_serialize( + object_id=object_id, + dimension_id=dimension_id, + dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4740,7 +4744,7 @@ def get_vee_sample_question_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SampleQuestionAPIResponseDTO", + '200': "DimensionMappingValidationDTO", } response_data = self.api_client.call_api( *_param, @@ -4754,11 +4758,12 @@ def get_vee_sample_question_with_http_info( @validate_call - def get_vee_sample_question_without_preload_content( + def dimension_member_map_validation_without_preload_content( self, - question_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question to retrieve.")], + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of a dimension of the member map.")], + dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -4772,16 +4777,18 @@ def get_vee_sample_question_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a Vee sample question's details + """Validate a member map's unmapped dimension members by ID - Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + If you know the ID of a member map, use this API to validate one of the member map's dimensions. You must also know the dimension's ID and the analytic object's ID. The response returns the member map ID, the requested dimension ID, a list of the dimension's unmapped members, and a list of errors found. - :param question_id: The ID of the Vee sample question to retrieve. (required) - :type question_id: str + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of a dimension of the member map. (required) + :type dimension_id: str + :param dimension_mapping_validation_execution_dto: (required) + :type dimension_mapping_validation_execution_dto: DimensionMappingValidationExecutionDTO :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -4804,10 +4811,11 @@ def get_vee_sample_question_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_serialize( - question_id=question_id, + _param = self._dimension_member_map_validation_serialize( + object_id=object_id, + dimension_id=dimension_id, + dimension_mapping_validation_execution_dto=dimension_mapping_validation_execution_dto, target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -4815,7 +4823,7 @@ def get_vee_sample_question_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SampleQuestionAPIResponseDTO", + '200': "DimensionMappingValidationDTO", } response_data = self.api_client.call_api( *_param, @@ -4824,11 +4832,12 @@ def get_vee_sample_question_without_preload_content( return response_data.response - def _get_vee_sample_question_serialize( + def _dimension_member_map_validation_serialize( self, - question_id, + object_id, + dimension_id, + dimension_mapping_validation_execution_dto, target_tenant_id, - project_id, _request_auth, _content_type, _headers, @@ -4850,16 +4859,18 @@ def _get_vee_sample_question_serialize( _body_params: Optional[bytes] = None # process the path parameters - if question_id is not None: - _path_params['questionId'] = question_id + if object_id is not None: + _path_params['objectId'] = object_id + if dimension_id is not None: + _path_params['dimensionId'] = dimension_id # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id - if project_id is not None: - _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter + if dimension_mapping_validation_execution_dto is not None: + _body_params = dimension_mapping_validation_execution_dto # set the HTTP header `Accept` @@ -4870,6 +4881,19 @@ def _get_vee_sample_question_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -4881,8 +4905,8 @@ def _get_vee_sample_question_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1alpha/data/model/vee/sample-questions/{questionId}', + method='POST', + resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{dimensionId}/mappings/validate', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -4899,8 +4923,10 @@ def _get_vee_sample_question_serialize( @validate_call - def get_vee_sample_question_categories( + def dimensions( self, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, 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, _request_timeout: Union[ None, @@ -4914,11 +4940,15 @@ def get_vee_sample_question_categories( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> QuestionCategoriesAPIResponseDTO: - """Retrieve a list of all Vee question categories + ) -> DimensionsDTO: + """Retrieve a list of dimensions - Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of dimensions for a specific analytic object. + :param object_id: The ID of the analytic object to retrieve. (required) + :type object_id: str + :param id: The IDs of the dimensions to retrieve. Default is all dimensions. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -4943,7 +4973,9 @@ def get_vee_sample_question_categories( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_categories_serialize( + _param = self._dimensions_serialize( + object_id=object_id, + id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -4952,7 +4984,7 @@ def get_vee_sample_question_categories( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "QuestionCategoriesAPIResponseDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -4966,8 +4998,10 @@ def get_vee_sample_question_categories( @validate_call - def get_vee_sample_question_categories_with_http_info( + def dimensions_with_http_info( self, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, 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, _request_timeout: Union[ None, @@ -4981,11 +5015,15 @@ def get_vee_sample_question_categories_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[QuestionCategoriesAPIResponseDTO]: - """Retrieve a list of all Vee question categories + ) -> ApiResponse[DimensionsDTO]: + """Retrieve a list of dimensions - Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of dimensions for a specific analytic object. + :param object_id: The ID of the analytic object to retrieve. (required) + :type object_id: str + :param id: The IDs of the dimensions to retrieve. Default is all dimensions. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -5010,7 +5048,9 @@ def get_vee_sample_question_categories_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_categories_serialize( + _param = self._dimensions_serialize( + object_id=object_id, + id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5019,7 +5059,7 @@ def get_vee_sample_question_categories_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "QuestionCategoriesAPIResponseDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -5033,8 +5073,10 @@ def get_vee_sample_question_categories_with_http_info( @validate_call - def get_vee_sample_question_categories_without_preload_content( + def dimensions_without_preload_content( self, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, 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, _request_timeout: Union[ None, @@ -5049,10 +5091,14 @@ def get_vee_sample_question_categories_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of all Vee question categories + """Retrieve a list of dimensions - Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of dimensions for a specific analytic object. + :param object_id: The ID of the analytic object to retrieve. (required) + :type object_id: str + :param id: The IDs of the dimensions to retrieve. Default is all dimensions. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -5077,7 +5123,9 @@ def get_vee_sample_question_categories_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_categories_serialize( + _param = self._dimensions_serialize( + object_id=object_id, + id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5086,7 +5134,7 @@ def get_vee_sample_question_categories_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "QuestionCategoriesAPIResponseDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -5095,8 +5143,10 @@ def get_vee_sample_question_categories_without_preload_content( return response_data.response - def _get_vee_sample_question_categories_serialize( + def _dimensions_serialize( self, + object_id, + id, target_tenant_id, _request_auth, _content_type, @@ -5107,6 +5157,7 @@ def _get_vee_sample_question_categories_serialize( _host = None _collection_formats: Dict[str, str] = { + 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -5119,7 +5170,13 @@ def _get_vee_sample_question_categories_serialize( _body_params: Optional[bytes] = None # process the path parameters + if object_id is not None: + _path_params['objectId'] = object_id # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -5147,7 +5204,7 @@ def _get_vee_sample_question_categories_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1alpha/data/model/vee/sample-question-categories', + resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5164,10 +5221,11 @@ def _get_vee_sample_question_categories_serialize( @validate_call - def get_vee_sample_question_category( + def get_vee_sample_question( self, - question_category_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question category to retrieve.")], + question_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question to retrieve.")], 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5180,15 +5238,17 @@ def get_vee_sample_question_category( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> QuestionCategoryAPIResponseDTO: - """Retrieve a Vee question category's details - - Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + ) -> SampleQuestionAPIResponseDTO: + """Retrieve a Vee sample question's details - :param question_category_id: The ID of the Vee sample question category to retrieve. (required) - :type question_category_id: str + Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param question_id: The ID of the Vee sample question to retrieve. (required) + :type question_id: str :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5211,9 +5271,10 @@ def get_vee_sample_question_category( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_category_serialize( - question_category_id=question_category_id, + _param = self._get_vee_sample_question_serialize( + question_id=question_id, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5221,7 +5282,7 @@ def get_vee_sample_question_category( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "QuestionCategoryAPIResponseDTO", + '200': "SampleQuestionAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5235,10 +5296,11 @@ def get_vee_sample_question_category( @validate_call - def get_vee_sample_question_category_with_http_info( + def get_vee_sample_question_with_http_info( self, - question_category_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question category to retrieve.")], + question_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question to retrieve.")], 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5251,15 +5313,17 @@ def get_vee_sample_question_category_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[QuestionCategoryAPIResponseDTO]: - """Retrieve a Vee question category's details + ) -> ApiResponse[SampleQuestionAPIResponseDTO]: + """Retrieve a Vee sample question's details - Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param question_category_id: The ID of the Vee sample question category to retrieve. (required) - :type question_category_id: str + :param question_id: The ID of the Vee sample question to retrieve. (required) + :type question_id: str :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5282,9 +5346,10 @@ def get_vee_sample_question_category_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_category_serialize( - question_category_id=question_category_id, + _param = self._get_vee_sample_question_serialize( + question_id=question_id, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5292,7 +5357,7 @@ def get_vee_sample_question_category_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "QuestionCategoryAPIResponseDTO", + '200': "SampleQuestionAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5306,10 +5371,11 @@ def get_vee_sample_question_category_with_http_info( @validate_call - def get_vee_sample_question_category_without_preload_content( + def get_vee_sample_question_without_preload_content( self, - question_category_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question category to retrieve.")], + question_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question to retrieve.")], 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5323,14 +5389,16 @@ def get_vee_sample_question_category_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a Vee question category's details + """Retrieve a Vee sample question's details - Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Get the details of a specific Vee sample question where the ID is the `questionID` returned by `GET /v1alpha/data/model/vee/sample-questions`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param question_category_id: The ID of the Vee sample question category to retrieve. (required) - :type question_category_id: str + :param question_id: The ID of the Vee sample question to retrieve. (required) + :type question_id: str :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5353,9 +5421,10 @@ def get_vee_sample_question_category_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_question_category_serialize( - question_category_id=question_category_id, + _param = self._get_vee_sample_question_serialize( + question_id=question_id, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5363,7 +5432,7 @@ def get_vee_sample_question_category_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "QuestionCategoryAPIResponseDTO", + '200': "SampleQuestionAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5372,10 +5441,11 @@ def get_vee_sample_question_category_without_preload_content( return response_data.response - def _get_vee_sample_question_category_serialize( + def _get_vee_sample_question_serialize( self, - question_category_id, + question_id, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -5397,12 +5467,14 @@ def _get_vee_sample_question_category_serialize( _body_params: Optional[bytes] = None # process the path parameters - if question_category_id is not None: - _path_params['questionCategoryId'] = question_category_id + if question_id is not None: + _path_params['questionId'] = question_id # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter @@ -5427,7 +5499,7 @@ def _get_vee_sample_question_category_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1alpha/data/model/vee/sample-question-categories/{questionCategoryId}', + resource_path='/v1alpha/data/model/vee/sample-questions/{questionId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5444,10 +5516,9 @@ def _get_vee_sample_question_category_serialize( @validate_call - def get_vee_sample_questions( + def get_vee_sample_question_categories( self, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5460,15 +5531,13 @@ def get_vee_sample_questions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> SampleQuestionsAPIResponseDTO: - """Retrieve a list of all Vee sample questions + ) -> QuestionCategoriesAPIResponseDTO: + """Retrieve a list of all Vee question categories - Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5491,9 +5560,8 @@ def get_vee_sample_questions( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_questions_serialize( + _param = self._get_vee_sample_question_categories_serialize( target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5501,7 +5569,7 @@ def get_vee_sample_questions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SampleQuestionsAPIResponseDTO", + '200': "QuestionCategoriesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5515,10 +5583,9 @@ def get_vee_sample_questions( @validate_call - def get_vee_sample_questions_with_http_info( + def get_vee_sample_question_categories_with_http_info( self, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5531,15 +5598,13 @@ def get_vee_sample_questions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[SampleQuestionsAPIResponseDTO]: - """Retrieve a list of all Vee sample questions + ) -> ApiResponse[QuestionCategoriesAPIResponseDTO]: + """Retrieve a list of all Vee question categories - Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5562,9 +5627,8 @@ def get_vee_sample_questions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_questions_serialize( + _param = self._get_vee_sample_question_categories_serialize( target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5572,7 +5636,7 @@ def get_vee_sample_questions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SampleQuestionsAPIResponseDTO", + '200': "QuestionCategoriesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5586,10 +5650,9 @@ def get_vee_sample_questions_with_http_info( @validate_call - def get_vee_sample_questions_without_preload_content( + def get_vee_sample_question_categories_without_preload_content( self, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -5603,14 +5666,12 @@ def get_vee_sample_questions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of all Vee sample questions + """Retrieve a list of all Vee question categories - Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Get a list of all categories for Vee sample questions. Administrating tenants can specify the tenant from which to retrieve categories using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. - :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -5633,9 +5694,8 @@ def get_vee_sample_questions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._get_vee_sample_questions_serialize( + _param = self._get_vee_sample_question_categories_serialize( target_tenant_id=target_tenant_id, - project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -5643,7 +5703,7 @@ def get_vee_sample_questions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SampleQuestionsAPIResponseDTO", + '200': "QuestionCategoriesAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5652,10 +5712,9 @@ def get_vee_sample_questions_without_preload_content( return response_data.response - def _get_vee_sample_questions_serialize( + def _get_vee_sample_question_categories_serialize( self, target_tenant_id, - project_id, _request_auth, _content_type, _headers, @@ -5681,8 +5740,6 @@ def _get_vee_sample_questions_serialize( # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id - if project_id is not None: - _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter @@ -5707,7 +5764,7 @@ def _get_vee_sample_questions_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1alpha/data/model/vee/sample-questions', + resource_path='/v1alpha/data/model/vee/sample-question-categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -5724,12 +5781,9 @@ def _get_vee_sample_questions_serialize( @validate_call - def member( + def get_vee_sample_question_category( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], - id: StrictStr, - id2: Annotated[Optional[StrictStr], Field(description="The ID of the member to retrieve.")] = None, + question_category_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question category to retrieve.")], 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, _request_timeout: Union[ None, @@ -5743,19 +5797,13 @@ def member( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> MembersDTO: - """Retrieve a dimension member + ) -> QuestionCategoryAPIResponseDTO: + """Retrieve a Vee question category's details - If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. + Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of the dimension. (required) - :type dimension_id: str - :param id: (required) - :type id: str - :param id2: The ID of the member to retrieve. - :type id2: str + :param question_category_id: The ID of the Vee sample question category to retrieve. (required) + :type question_category_id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -5780,11 +5828,8 @@ def member( :return: Returns the result object. """ # noqa: E501 - _param = self._member_serialize( - object_id=object_id, - dimension_id=dimension_id, - id=id, - id2=id2, + _param = self._get_vee_sample_question_category_serialize( + question_category_id=question_category_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5793,7 +5838,7 @@ def member( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MembersDTO", + '200': "QuestionCategoryAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5807,12 +5852,9 @@ def member( @validate_call - def member_with_http_info( + def get_vee_sample_question_category_with_http_info( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], - id: StrictStr, - id2: Annotated[Optional[StrictStr], Field(description="The ID of the member to retrieve.")] = None, + question_category_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question category to retrieve.")], 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, _request_timeout: Union[ None, @@ -5826,19 +5868,13 @@ def member_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[MembersDTO]: - """Retrieve a dimension member + ) -> ApiResponse[QuestionCategoryAPIResponseDTO]: + """Retrieve a Vee question category's details - If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. + Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of the dimension. (required) - :type dimension_id: str - :param id: (required) - :type id: str - :param id2: The ID of the member to retrieve. - :type id2: str + :param question_category_id: The ID of the Vee sample question category to retrieve. (required) + :type question_category_id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -5863,11 +5899,8 @@ def member_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._member_serialize( - object_id=object_id, - dimension_id=dimension_id, - id=id, - id2=id2, + _param = self._get_vee_sample_question_category_serialize( + question_category_id=question_category_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5876,7 +5909,7 @@ def member_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MembersDTO", + '200': "QuestionCategoryAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5890,12 +5923,9 @@ def member_with_http_info( @validate_call - def member_without_preload_content( + def get_vee_sample_question_category_without_preload_content( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], - id: StrictStr, - id2: Annotated[Optional[StrictStr], Field(description="The ID of the member to retrieve.")] = None, + question_category_id: Annotated[StrictStr, Field(description="The ID of the Vee sample question category to retrieve.")], 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, _request_timeout: Union[ None, @@ -5910,18 +5940,12 @@ def member_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a dimension member + """Retrieve a Vee question category's details - If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. + Get the details of a specific Vee sample question category where the ID is the `categoryID` returned by `GET /v1alpha/data/model/vee/sample-question-categories`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of the dimension. (required) - :type dimension_id: str - :param id: (required) - :type id: str - :param id2: The ID of the member to retrieve. - :type id2: str + :param question_category_id: The ID of the Vee sample question category to retrieve. (required) + :type question_category_id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -5946,11 +5970,8 @@ def member_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._member_serialize( - object_id=object_id, - dimension_id=dimension_id, - id=id, - id2=id2, + _param = self._get_vee_sample_question_category_serialize( + question_category_id=question_category_id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -5959,7 +5980,7 @@ def member_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MembersDTO", + '200': "QuestionCategoryAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -5968,12 +5989,9 @@ def member_without_preload_content( return response_data.response - def _member_serialize( + def _get_vee_sample_question_category_serialize( self, - object_id, - dimension_id, - id, - id2, + question_category_id, target_tenant_id, _request_auth, _content_type, @@ -5996,17 +6014,9 @@ def _member_serialize( _body_params: Optional[bytes] = None # process the path parameters - if object_id is not None: - _path_params['objectId'] = object_id - if dimension_id is not None: - _path_params['dimensionId'] = dimension_id - if id is not None: - _path_params['id'] = id + if question_category_id is not None: + _path_params['questionCategoryId'] = question_category_id # process the query parameters - if id2 is not None: - - _query_params.append(('Id', id2)) - # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -6034,7 +6044,7 @@ def _member_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{dimensionId}/members/{id}', + resource_path='/v1alpha/data/model/vee/sample-question-categories/{questionCategoryId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6051,19 +6061,10 @@ def _member_serialize( @validate_call - def members( + def get_vee_sample_questions( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the members to retrieve. Default is all members.")] = None, - max_level: Annotated[Optional[StrictInt], Field(description="The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels.")] = None, - filter: Annotated[Optional[StrictStr], Field(description="A regular expression that members must match to be retrieved. Default is to retrieve all members.")] = None, - var_field: Annotated[Optional[StrictStr], Field(description="Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`.")] = None, - include_data_members: Annotated[Optional[StrictBool], Field(description="Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`.")] = None, - offset: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, - limit: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, - sort_type: Annotated[Optional[StrictStr], Field(description="The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default.")] = None, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6076,33 +6077,15 @@ def members( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> MembersDTO: - """Retrieve a list of dimension members + ) -> SampleQuestionsAPIResponseDTO: + """Retrieve a list of all Vee sample questions - If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. + Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of the dimension. (required) - :type dimension_id: str - :param id: The IDs of the members to retrieve. Default is all members. - :type id: List[str] - :param max_level: The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels. - :type max_level: int - :param filter: A regular expression that members must match to be retrieved. Default is to retrieve all members. - :type filter: str - :param var_field: Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`. - :type var_field: str - :param include_data_members: Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`. - :type include_data_members: bool - :param offset: For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored. - :type offset: int - :param limit: For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored. - :type limit: int - :param sort_type: The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default. - :type sort_type: str :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6125,18 +6108,9 @@ def members( :return: Returns the result object. """ # noqa: E501 - _param = self._members_serialize( - object_id=object_id, - dimension_id=dimension_id, - id=id, - max_level=max_level, - filter=filter, - var_field=var_field, - include_data_members=include_data_members, - offset=offset, - limit=limit, - sort_type=sort_type, + _param = self._get_vee_sample_questions_serialize( target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6144,7 +6118,7 @@ def members( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MembersDTO", + '200': "SampleQuestionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -6158,19 +6132,10 @@ def members( @validate_call - def members_with_http_info( + def get_vee_sample_questions_with_http_info( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the members to retrieve. Default is all members.")] = None, - max_level: Annotated[Optional[StrictInt], Field(description="The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels.")] = None, - filter: Annotated[Optional[StrictStr], Field(description="A regular expression that members must match to be retrieved. Default is to retrieve all members.")] = None, - var_field: Annotated[Optional[StrictStr], Field(description="Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`.")] = None, - include_data_members: Annotated[Optional[StrictBool], Field(description="Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`.")] = None, - offset: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, - limit: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, - sort_type: Annotated[Optional[StrictStr], Field(description="The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default.")] = None, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6183,33 +6148,15 @@ def members_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[MembersDTO]: - """Retrieve a list of dimension members + ) -> ApiResponse[SampleQuestionsAPIResponseDTO]: + """Retrieve a list of all Vee sample questions - If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. + Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of the dimension. (required) - :type dimension_id: str - :param id: The IDs of the members to retrieve. Default is all members. - :type id: List[str] - :param max_level: The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels. - :type max_level: int - :param filter: A regular expression that members must match to be retrieved. Default is to retrieve all members. - :type filter: str - :param var_field: Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`. - :type var_field: str - :param include_data_members: Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`. - :type include_data_members: bool - :param offset: For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored. - :type offset: int - :param limit: For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored. - :type limit: int - :param sort_type: The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default. - :type sort_type: str :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6232,18 +6179,9 @@ def members_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._members_serialize( - object_id=object_id, - dimension_id=dimension_id, - id=id, - max_level=max_level, - filter=filter, - var_field=var_field, - include_data_members=include_data_members, - offset=offset, - limit=limit, - sort_type=sort_type, + _param = self._get_vee_sample_questions_serialize( target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6251,7 +6189,7 @@ def members_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MembersDTO", + '200': "SampleQuestionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -6265,19 +6203,10 @@ def members_with_http_info( @validate_call - def members_without_preload_content( + def get_vee_sample_questions_without_preload_content( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], - dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the members to retrieve. Default is all members.")] = None, - max_level: Annotated[Optional[StrictInt], Field(description="The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels.")] = None, - filter: Annotated[Optional[StrictStr], Field(description="A regular expression that members must match to be retrieved. Default is to retrieve all members.")] = None, - var_field: Annotated[Optional[StrictStr], Field(description="Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`.")] = None, - include_data_members: Annotated[Optional[StrictBool], Field(description="Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`.")] = None, - offset: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, - limit: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, - sort_type: Annotated[Optional[StrictStr], Field(description="The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default.")] = None, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -6291,32 +6220,14 @@ def members_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of dimension members + """Retrieve a list of all Vee sample questions - If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. + Get a list of all Vee sample questions for a tenant, including sample questions that are not available to end users. Administrating tenants can specify the tenant from which to retrieve sample questions using the `TargetTenantID` header.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param object_id: The ID of the analytic object. (required) - :type object_id: str - :param dimension_id: The ID of the dimension. (required) - :type dimension_id: str - :param id: The IDs of the members to retrieve. Default is all members. - :type id: List[str] - :param max_level: The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels. - :type max_level: int - :param filter: A regular expression that members must match to be retrieved. Default is to retrieve all members. - :type filter: str - :param var_field: Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`. - :type var_field: str - :param include_data_members: Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`. - :type include_data_members: bool - :param offset: For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored. - :type offset: int - :param limit: For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored. - :type limit: int - :param sort_type: The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default. - :type sort_type: str :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -6339,18 +6250,9 @@ def members_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._members_serialize( - object_id=object_id, - dimension_id=dimension_id, - id=id, - max_level=max_level, - filter=filter, - var_field=var_field, - include_data_members=include_data_members, - offset=offset, - limit=limit, - sort_type=sort_type, + _param = self._get_vee_sample_questions_serialize( target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -6358,7 +6260,7 @@ def members_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MembersDTO", + '200': "SampleQuestionsAPIResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -6367,19 +6269,10 @@ def members_without_preload_content( return response_data.response - def _members_serialize( + def _get_vee_sample_questions_serialize( self, - object_id, - dimension_id, - id, - max_level, - filter, - var_field, - include_data_members, - offset, - limit, - sort_type, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -6389,7 +6282,6 @@ def _members_serialize( _host = None _collection_formats: Dict[str, str] = { - 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -6402,46 +6294,12 @@ def _members_serialize( _body_params: Optional[bytes] = None # process the path parameters - if object_id is not None: - _path_params['objectId'] = object_id - if dimension_id is not None: - _path_params['dimensionId'] = dimension_id # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - - if max_level is not None: - - _query_params.append(('maxLevel', max_level)) - - if filter is not None: - - _query_params.append(('filter', filter)) - - if var_field is not None: - - _query_params.append(('field', var_field)) - - if include_data_members is not None: - - _query_params.append(('includeDataMembers', include_data_members)) - - if offset is not None: - - _query_params.append(('offset', offset)) - - if limit is not None: - - _query_params.append(('limit', limit)) - - if sort_type is not None: - - _query_params.append(('sortType', sort_type)) - # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter @@ -6466,7 +6324,7 @@ def _members_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{dimensionId}/members', + resource_path='/v1alpha/data/model/vee/sample-questions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6483,9 +6341,12 @@ def _members_serialize( @validate_call - def metric( + def member( self, - id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], + id: StrictStr, + id2: Annotated[Optional[StrictStr], Field(description="The ID of the member to retrieve.")] = None, 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, _request_timeout: Union[ None, @@ -6499,13 +6360,19 @@ def metric( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> MetricDTO: - """Retrieve a metric by ID + ) -> MembersDTO: + """Retrieve a dimension member - If you know the ID of a metric, use this API to retrieve that metric specifically. + If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. - :param id: The ID of the metric to retrieve. (required) + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of the dimension. (required) + :type dimension_id: str + :param id: (required) :type id: str + :param id2: The ID of the member to retrieve. + :type id2: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -6530,8 +6397,11 @@ def metric( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_serialize( + _param = self._member_serialize( + object_id=object_id, + dimension_id=dimension_id, id=id, + id2=id2, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6540,7 +6410,7 @@ def metric( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6554,9 +6424,12 @@ def metric( @validate_call - def metric_with_http_info( + def member_with_http_info( self, - id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], + id: StrictStr, + id2: Annotated[Optional[StrictStr], Field(description="The ID of the member to retrieve.")] = None, 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, _request_timeout: Union[ None, @@ -6570,13 +6443,19 @@ def metric_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[MetricDTO]: - """Retrieve a metric by ID + ) -> ApiResponse[MembersDTO]: + """Retrieve a dimension member - If you know the ID of a metric, use this API to retrieve that metric specifically. + If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. - :param id: The ID of the metric to retrieve. (required) + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of the dimension. (required) + :type dimension_id: str + :param id: (required) :type id: str + :param id2: The ID of the member to retrieve. + :type id2: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -6601,8 +6480,11 @@ def metric_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_serialize( + _param = self._member_serialize( + object_id=object_id, + dimension_id=dimension_id, id=id, + id2=id2, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6611,7 +6493,7 @@ def metric_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6625,9 +6507,12 @@ def metric_with_http_info( @validate_call - def metric_without_preload_content( + def member_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], + id: StrictStr, + id2: Annotated[Optional[StrictStr], Field(description="The ID of the member to retrieve.")] = None, 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, _request_timeout: Union[ None, @@ -6642,12 +6527,18 @@ def metric_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a metric by ID + """Retrieve a dimension member - If you know the ID of a metric, use this API to retrieve that metric specifically. + If you know the ID of a dimension member, use this API to retrieve that dimension member specifically. You must also know the dimension's ID and the analytic object's ID. - :param id: The ID of the metric to retrieve. (required) + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of the dimension. (required) + :type dimension_id: str + :param id: (required) :type id: str + :param id2: The ID of the member to retrieve. + :type id2: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -6672,8 +6563,11 @@ def metric_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_serialize( + _param = self._member_serialize( + object_id=object_id, + dimension_id=dimension_id, id=id, + id2=id2, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6682,7 +6576,7 @@ def metric_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6691,9 +6585,12 @@ def metric_without_preload_content( return response_data.response - def _metric_serialize( + def _member_serialize( self, + object_id, + dimension_id, id, + id2, target_tenant_id, _request_auth, _content_type, @@ -6716,9 +6613,17 @@ def _metric_serialize( _body_params: Optional[bytes] = None # process the path parameters + if object_id is not None: + _path_params['objectId'] = object_id + if dimension_id is not None: + _path_params['dimensionId'] = dimension_id if id is not None: _path_params['id'] = id # process the query parameters + if id2 is not None: + + _query_params.append(('Id', id2)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -6746,7 +6651,7 @@ def _metric_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/metrics/{id}', + resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{dimensionId}/members/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -6763,10 +6668,18 @@ def _metric_serialize( @validate_call - def metric_dimensions( + def members( self, - metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the members to retrieve. Default is all members.")] = None, + max_level: Annotated[Optional[StrictInt], Field(description="The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels.")] = None, + filter: Annotated[Optional[StrictStr], Field(description="A regular expression that members must match to be retrieved. Default is to retrieve all members.")] = None, + var_field: Annotated[Optional[StrictStr], Field(description="Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`.")] = None, + include_data_members: Annotated[Optional[StrictBool], Field(description="Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`.")] = None, + offset: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, + limit: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, + sort_type: Annotated[Optional[StrictStr], Field(description="The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default.")] = None, 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, _request_timeout: Union[ None, @@ -6780,15 +6693,31 @@ def metric_dimensions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> DimensionsDTO: - """Retrieve a metric's dimensions + ) -> MembersDTO: + """Retrieve a list of dimension members - Retrieve a list of dimensions for a specific metric. + If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. - :param metric_id: The ID of the metric to retrieve. (required) - :type metric_id: str - :param id: The IDs of the dimensions to retrieve. Default is all dimensions. + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of the dimension. (required) + :type dimension_id: str + :param id: The IDs of the members to retrieve. Default is all members. :type id: List[str] + :param max_level: The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels. + :type max_level: int + :param filter: A regular expression that members must match to be retrieved. Default is to retrieve all members. + :type filter: str + :param var_field: Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`. + :type var_field: str + :param include_data_members: Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`. + :type include_data_members: bool + :param offset: For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored. + :type offset: int + :param limit: For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored. + :type limit: int + :param sort_type: The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default. + :type sort_type: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -6813,9 +6742,17 @@ def metric_dimensions( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_dimensions_serialize( - metric_id=metric_id, + _param = self._members_serialize( + object_id=object_id, + dimension_id=dimension_id, id=id, + max_level=max_level, + filter=filter, + var_field=var_field, + include_data_members=include_data_members, + offset=offset, + limit=limit, + sort_type=sort_type, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6824,7 +6761,7 @@ def metric_dimensions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionsDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6838,10 +6775,18 @@ def metric_dimensions( @validate_call - def metric_dimensions_with_http_info( + def members_with_http_info( self, - metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the members to retrieve. Default is all members.")] = None, + max_level: Annotated[Optional[StrictInt], Field(description="The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels.")] = None, + filter: Annotated[Optional[StrictStr], Field(description="A regular expression that members must match to be retrieved. Default is to retrieve all members.")] = None, + var_field: Annotated[Optional[StrictStr], Field(description="Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`.")] = None, + include_data_members: Annotated[Optional[StrictBool], Field(description="Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`.")] = None, + offset: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, + limit: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, + sort_type: Annotated[Optional[StrictStr], Field(description="The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default.")] = None, 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, _request_timeout: Union[ None, @@ -6855,15 +6800,31 @@ def metric_dimensions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[DimensionsDTO]: - """Retrieve a metric's dimensions + ) -> ApiResponse[MembersDTO]: + """Retrieve a list of dimension members - Retrieve a list of dimensions for a specific metric. + If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. - :param metric_id: The ID of the metric to retrieve. (required) - :type metric_id: str - :param id: The IDs of the dimensions to retrieve. Default is all dimensions. + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of the dimension. (required) + :type dimension_id: str + :param id: The IDs of the members to retrieve. Default is all members. :type id: List[str] + :param max_level: The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels. + :type max_level: int + :param filter: A regular expression that members must match to be retrieved. Default is to retrieve all members. + :type filter: str + :param var_field: Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`. + :type var_field: str + :param include_data_members: Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`. + :type include_data_members: bool + :param offset: For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored. + :type offset: int + :param limit: For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored. + :type limit: int + :param sort_type: The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default. + :type sort_type: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -6888,9 +6849,17 @@ def metric_dimensions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_dimensions_serialize( - metric_id=metric_id, + _param = self._members_serialize( + object_id=object_id, + dimension_id=dimension_id, id=id, + max_level=max_level, + filter=filter, + var_field=var_field, + include_data_members=include_data_members, + offset=offset, + limit=limit, + sort_type=sort_type, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6899,7 +6868,7 @@ def metric_dimensions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionsDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6913,10 +6882,18 @@ def metric_dimensions_with_http_info( @validate_call - def metric_dimensions_without_preload_content( + def members_without_preload_content( self, - metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object.")], + dimension_id: Annotated[StrictStr, Field(description="The ID of the dimension.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the members to retrieve. Default is all members.")] = None, + max_level: Annotated[Optional[StrictInt], Field(description="The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels.")] = None, + filter: Annotated[Optional[StrictStr], Field(description="A regular expression that members must match to be retrieved. Default is to retrieve all members.")] = None, + var_field: Annotated[Optional[StrictStr], Field(description="Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`.")] = None, + include_data_members: Annotated[Optional[StrictBool], Field(description="Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`.")] = None, + offset: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, + limit: Annotated[Optional[StrictInt], Field(description="For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored.")] = None, + sort_type: Annotated[Optional[StrictStr], Field(description="The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default.")] = None, 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, _request_timeout: Union[ None, @@ -6931,14 +6908,30 @@ def metric_dimensions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a metric's dimensions + """Retrieve a list of dimension members - Retrieve a list of dimensions for a specific metric. + If you know the ID of a dimension, use this API to retrieve the members of that dimension specifically. You must also know the analytic object's ID. Dimension members exist in a hierarchy. The levels in the hierarchy may be fixed or non-uniform. Leveled dimensions have fixed hierarchies, while parent-child dimensions have non-uniform levels. When you retrieve dimension members with this API, the response returns the level of the dimension and the path to get to that level. For example, in a Location dimension, Vancouver is 3 levels deep: - All > Canada > British Columbia > Vancouver Parent-child hierarchies are non-uniform and exhibit distinct characteristics such as time dependence and data attributes. These traits reflect the dynamic nature of hierarchies, for example, organizational hierarchies. The API response includes elements that express the validity ranges for retrieved members. - :param metric_id: The ID of the metric to retrieve. (required) - :type metric_id: str - :param id: The IDs of the dimensions to retrieve. Default is all dimensions. + :param object_id: The ID of the analytic object. (required) + :type object_id: str + :param dimension_id: The ID of the dimension. (required) + :type dimension_id: str + :param id: The IDs of the members to retrieve. Default is all members. :type id: List[str] + :param max_level: The maximum level in the hierarchy to fetch. The top level of the hierarchy is 0. Default is all levels. + :type max_level: int + :param filter: A regular expression that members must match to be retrieved. Default is to retrieve all members. + :type filter: str + :param var_field: Indicates the aspect of the member to apply the filter to. Possible values are: - **id**: Match the filter to the member ID. - **display**: Match the filter to the member's display name. - **either**: Match the filter to the member ID or display name. Default is `id`. + :type var_field: str + :param include_data_members: Indicates whether data members are included in the response. Parent-child dimensions only. Default is `false`. + :type include_data_members: bool + :param offset: For paginated member requests against high-cardinality dimensions, the offset of the first member to retrieve. Default is 0. If the `offset` value is specified to a non-default value, all other non-pagination parameters are ignored. + :type offset: int + :param limit: For paginated member requests against high-cardinality dimensions, the maximum number of members to retrieve. Default is -1, meaning no limit. If the `limit` value is specified to a non-default value, all other non-pagination parameters are ignored. + :type limit: int + :param sort_type: The order of the members in the response. Valid values: - `configured`: Sorts the members according to their configuration. For parent-child dimensions, sorts members by name in ascending order. For other dimensions, sorts members by their configured order in Studio. - `natural`: Does not sort the members. This is the default. + :type sort_type: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -6963,9 +6956,17 @@ def metric_dimensions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_dimensions_serialize( - metric_id=metric_id, + _param = self._members_serialize( + object_id=object_id, + dimension_id=dimension_id, id=id, + max_level=max_level, + filter=filter, + var_field=var_field, + include_data_members=include_data_members, + offset=offset, + limit=limit, + sort_type=sort_type, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -6974,7 +6975,7 @@ def metric_dimensions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "DimensionsDTO", + '200': "MembersDTO", } response_data = self.api_client.call_api( *_param, @@ -6983,10 +6984,18 @@ def metric_dimensions_without_preload_content( return response_data.response - def _metric_dimensions_serialize( + def _members_serialize( self, - metric_id, + object_id, + dimension_id, id, + max_level, + filter, + var_field, + include_data_members, + offset, + limit, + sort_type, target_tenant_id, _request_auth, _content_type, @@ -7010,41 +7019,71 @@ def _metric_dimensions_serialize( _body_params: Optional[bytes] = None # process the path parameters - if metric_id is not None: - _path_params['metricId'] = metric_id + if object_id is not None: + _path_params['objectId'] = object_id + if dimension_id is not None: + _path_params['dimensionId'] = dimension_id # process the query parameters if id is not None: _query_params.append(('id', id)) - # process the header parameters - if target_tenant_id is not None: - _header_params['TargetTenantID'] = target_tenant_id - # process the form parameters - # process the body parameter - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - - # authentication setting - _auth_settings: List[str] = [ - 'CookieAuth', - 'ApiKeyAuth', - 'OAuth2Auth', - 'OAuth2Auth', + if max_level is not None: + + _query_params.append(('maxLevel', max_level)) + + if filter is not None: + + _query_params.append(('filter', filter)) + + if var_field is not None: + + _query_params.append(('field', var_field)) + + if include_data_members is not None: + + _query_params.append(('includeDataMembers', include_data_members)) + + if offset is not None: + + _query_params.append(('offset', offset)) + + if limit is not None: + + _query_params.append(('limit', limit)) + + if sort_type is not None: + + _query_params.append(('sortType', sort_type)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', 'BearerAuth' ] return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/metrics/{metricId}/dimensions', + resource_path='/v1/data/model/analytic-objects/{objectId}/dimensions/{dimensionId}/members', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -7061,10 +7100,9 @@ def _metric_dimensions_serialize( @validate_call - def metric_selection_concepts( + def metric( self, - metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the selection concepts to retrieve. Default is all selection concepts.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], 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, _request_timeout: Union[ None, @@ -7078,15 +7116,13 @@ def metric_selection_concepts( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> SelectionConceptsDTO: - """Retrieve a metric's selection concepts + ) -> MetricDTO: + """Retrieve a metric by ID - Retrieve a list of selection concepts for a specific metric. + If you know the ID of a metric, use this API to retrieve that metric specifically. - :param metric_id: The ID of the metric to retrieve. (required) - :type metric_id: str - :param id: The IDs of the selection concepts to retrieve. Default is all selection concepts. - :type id: List[str] + :param id: The ID of the metric to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7111,8 +7147,7 @@ def metric_selection_concepts( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_selection_concepts_serialize( - metric_id=metric_id, + _param = self._metric_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -7122,7 +7157,7 @@ def metric_selection_concepts( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SelectionConceptsDTO", + '200': "MetricDTO", } response_data = self.api_client.call_api( *_param, @@ -7136,10 +7171,9 @@ def metric_selection_concepts( @validate_call - def metric_selection_concepts_with_http_info( + def metric_with_http_info( self, - metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the selection concepts to retrieve. Default is all selection concepts.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], 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, _request_timeout: Union[ None, @@ -7153,15 +7187,13 @@ def metric_selection_concepts_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[SelectionConceptsDTO]: - """Retrieve a metric's selection concepts + ) -> ApiResponse[MetricDTO]: + """Retrieve a metric by ID - Retrieve a list of selection concepts for a specific metric. + If you know the ID of a metric, use this API to retrieve that metric specifically. - :param metric_id: The ID of the metric to retrieve. (required) - :type metric_id: str - :param id: The IDs of the selection concepts to retrieve. Default is all selection concepts. - :type id: List[str] + :param id: The ID of the metric to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7186,8 +7218,7 @@ def metric_selection_concepts_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_selection_concepts_serialize( - metric_id=metric_id, + _param = self._metric_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -7197,7 +7228,7 @@ def metric_selection_concepts_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SelectionConceptsDTO", + '200': "MetricDTO", } response_data = self.api_client.call_api( *_param, @@ -7211,10 +7242,9 @@ def metric_selection_concepts_with_http_info( @validate_call - def metric_selection_concepts_without_preload_content( + def metric_without_preload_content( self, - metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the selection concepts to retrieve. Default is all selection concepts.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], 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, _request_timeout: Union[ None, @@ -7229,14 +7259,12 @@ def metric_selection_concepts_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a metric's selection concepts + """Retrieve a metric by ID - Retrieve a list of selection concepts for a specific metric. + If you know the ID of a metric, use this API to retrieve that metric specifically. - :param metric_id: The ID of the metric to retrieve. (required) - :type metric_id: str - :param id: The IDs of the selection concepts to retrieve. Default is all selection concepts. - :type id: List[str] + :param id: The ID of the metric to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7261,8 +7289,7 @@ def metric_selection_concepts_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._metric_selection_concepts_serialize( - metric_id=metric_id, + _param = self._metric_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -7272,7 +7299,7 @@ def metric_selection_concepts_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "SelectionConceptsDTO", + '200': "MetricDTO", } response_data = self.api_client.call_api( *_param, @@ -7281,9 +7308,8 @@ def metric_selection_concepts_without_preload_content( return response_data.response - def _metric_selection_concepts_serialize( + def _metric_serialize( self, - metric_id, id, target_tenant_id, _request_auth, @@ -7295,7 +7321,6 @@ def _metric_selection_concepts_serialize( _host = None _collection_formats: Dict[str, str] = { - 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -7308,13 +7333,9 @@ def _metric_selection_concepts_serialize( _body_params: Optional[bytes] = None # process the path parameters - if metric_id is not None: - _path_params['metricId'] = metric_id - # process the query parameters if id is not None: - - _query_params.append(('id', id)) - + _path_params['id'] = id + # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -7342,7 +7363,7 @@ def _metric_selection_concepts_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/metrics/{metricId}/selection-concepts', + resource_path='/v1/data/model/metrics/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -7359,10 +7380,10 @@ def _metric_selection_concepts_serialize( @validate_call - def metrics( + def metric_dimensions( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the metrics to retrieve. Default is all metrics.")] = None, - category: Annotated[Optional[StrictStr], Field(description="The category to filter the returned metrics by.")] = None, + metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, 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, _request_timeout: Union[ None, @@ -7376,15 +7397,15 @@ def metrics( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> MetricsDTO: - """Retrieve a list of metrics + ) -> DimensionsDTO: + """Retrieve a metric's dimensions - Retrieve all the metrics in your Visier solution. + Retrieve a list of dimensions for a specific metric. - :param id: The IDs of the metrics to retrieve. Default is all metrics. + :param metric_id: The ID of the metric to retrieve. (required) + :type metric_id: str + :param id: The IDs of the dimensions to retrieve. Default is all dimensions. :type id: List[str] - :param category: The category to filter the returned metrics by. - :type category: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7409,9 +7430,9 @@ def metrics( :return: Returns the result object. """ # noqa: E501 - _param = self._metrics_serialize( + _param = self._metric_dimensions_serialize( + metric_id=metric_id, id=id, - category=category, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7420,7 +7441,7 @@ def metrics( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -7434,10 +7455,10 @@ def metrics( @validate_call - def metrics_with_http_info( + def metric_dimensions_with_http_info( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the metrics to retrieve. Default is all metrics.")] = None, - category: Annotated[Optional[StrictStr], Field(description="The category to filter the returned metrics by.")] = None, + metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, 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, _request_timeout: Union[ None, @@ -7451,15 +7472,15 @@ def metrics_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[MetricsDTO]: - """Retrieve a list of metrics + ) -> ApiResponse[DimensionsDTO]: + """Retrieve a metric's dimensions - Retrieve all the metrics in your Visier solution. + Retrieve a list of dimensions for a specific metric. - :param id: The IDs of the metrics to retrieve. Default is all metrics. + :param metric_id: The ID of the metric to retrieve. (required) + :type metric_id: str + :param id: The IDs of the dimensions to retrieve. Default is all dimensions. :type id: List[str] - :param category: The category to filter the returned metrics by. - :type category: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7484,9 +7505,9 @@ def metrics_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._metrics_serialize( + _param = self._metric_dimensions_serialize( + metric_id=metric_id, id=id, - category=category, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7495,7 +7516,7 @@ def metrics_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -7509,10 +7530,10 @@ def metrics_with_http_info( @validate_call - def metrics_without_preload_content( + def metric_dimensions_without_preload_content( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the metrics to retrieve. Default is all metrics.")] = None, - category: Annotated[Optional[StrictStr], Field(description="The category to filter the returned metrics by.")] = None, + metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the dimensions to retrieve. Default is all dimensions.")] = None, 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, _request_timeout: Union[ None, @@ -7527,14 +7548,14 @@ def metrics_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of metrics + """Retrieve a metric's dimensions - Retrieve all the metrics in your Visier solution. + Retrieve a list of dimensions for a specific metric. - :param id: The IDs of the metrics to retrieve. Default is all metrics. + :param metric_id: The ID of the metric to retrieve. (required) + :type metric_id: str + :param id: The IDs of the dimensions to retrieve. Default is all dimensions. :type id: List[str] - :param category: The category to filter the returned metrics by. - :type category: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7559,9 +7580,9 @@ def metrics_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._metrics_serialize( + _param = self._metric_dimensions_serialize( + metric_id=metric_id, id=id, - category=category, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7570,7 +7591,7 @@ def metrics_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricsDTO", + '200': "DimensionsDTO", } response_data = self.api_client.call_api( *_param, @@ -7579,10 +7600,10 @@ def metrics_without_preload_content( return response_data.response - def _metrics_serialize( + def _metric_dimensions_serialize( self, + metric_id, id, - category, target_tenant_id, _request_auth, _content_type, @@ -7606,15 +7627,13 @@ def _metrics_serialize( _body_params: Optional[bytes] = None # process the path parameters + if metric_id is not None: + _path_params['metricId'] = metric_id # process the query parameters if id is not None: _query_params.append(('id', id)) - if category is not None: - - _query_params.append(('category', category)) - # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -7642,7 +7661,7 @@ def _metrics_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/metrics', + resource_path='/v1/data/model/metrics/{metricId}/dimensions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -7659,20 +7678,10 @@ def _metrics_serialize( @validate_call - def plan_data_loadl_list( + def metric_selection_concepts( self, - display_name: Annotated[Optional[StrictStr], Field(description="Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\".")] = None, - model: Annotated[Optional[StrictStr], Field(description="Returns plans that belong to the specified planning model ID.")] = None, - plan_status: Annotated[Optional[StrictStr], Field(description="Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan.")] = None, - created_start: Annotated[Optional[StrictStr], Field(description="Returns plans created on or after this date. The format is YYYY-MM-DD.")] = None, - created_end: Annotated[Optional[StrictStr], Field(description="Return plans created on or before this date. The format is YYYY-MM-DD.")] = None, - edited_start: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or after this date. The format is YYYY-MM-DD.")] = None, - edited_end: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or before this date. The format is YYYY-MM-DD.")] = None, - order_by: Annotated[Optional[StrictStr], Field(description="Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model.")] = None, - sort_order: Annotated[Optional[StrictStr], Field(description="Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`.")] = None, - exclude_subplans: Annotated[Optional[StrictBool], Field(description="If `true`, the response doesn't return subplans. Default is `true`.")] = None, - max_results: Annotated[Optional[StrictStr], Field(description="Sets the maximum number of results to return per page. Default is 50.")] = None, - page: Annotated[Optional[StrictStr], Field(description="Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`.")] = None, + metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the selection concepts to retrieve. Default is all selection concepts.")] = None, 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, _request_timeout: Union[ None, @@ -7686,34 +7695,872 @@ def plan_data_loadl_list( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> GetPlanListResponseDTO: - """Retrieve a list of plans + ) -> SelectionConceptsDTO: + """Retrieve a metric's selection concepts - Retrieve all the plans you have access to. The response returns plan information you can use to call the Plan Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve a list of selection concepts for a specific metric. - :param display_name: Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\". - :type display_name: str - :param model: Returns plans that belong to the specified planning model ID. - :type model: str - :param plan_status: Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan. - :type plan_status: str - :param created_start: Returns plans created on or after this date. The format is YYYY-MM-DD. - :type created_start: str - :param created_end: Return plans created on or before this date. The format is YYYY-MM-DD. - :type created_end: str - :param edited_start: Returns plans edited on or after this date. The format is YYYY-MM-DD. - :type edited_start: str - :param edited_end: Returns plans edited on or before this date. The format is YYYY-MM-DD. - :type edited_end: str - :param order_by: Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model. - :type order_by: str - :param sort_order: Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`. - :type sort_order: str - :param exclude_subplans: If `true`, the response doesn't return subplans. Default is `true`. - :type exclude_subplans: bool - :param max_results: Sets the maximum number of results to return per page. Default is 50. - :type max_results: str - :param page: Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`. + :param metric_id: The ID of the metric to retrieve. (required) + :type metric_id: str + :param id: The IDs of the selection concepts to retrieve. Default is all selection concepts. + :type id: List[str] + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._metric_selection_concepts_serialize( + metric_id=metric_id, + id=id, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SelectionConceptsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def metric_selection_concepts_with_http_info( + self, + metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the selection concepts to retrieve. Default is all selection concepts.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[SelectionConceptsDTO]: + """Retrieve a metric's selection concepts + + Retrieve a list of selection concepts for a specific metric. + + :param metric_id: The ID of the metric to retrieve. (required) + :type metric_id: str + :param id: The IDs of the selection concepts to retrieve. Default is all selection concepts. + :type id: List[str] + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._metric_selection_concepts_serialize( + metric_id=metric_id, + id=id, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SelectionConceptsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def metric_selection_concepts_without_preload_content( + self, + metric_id: Annotated[StrictStr, Field(description="The ID of the metric to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the selection concepts to retrieve. Default is all selection concepts.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a metric's selection concepts + + Retrieve a list of selection concepts for a specific metric. + + :param metric_id: The ID of the metric to retrieve. (required) + :type metric_id: str + :param id: The IDs of the selection concepts to retrieve. Default is all selection concepts. + :type id: List[str] + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._metric_selection_concepts_serialize( + metric_id=metric_id, + id=id, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "SelectionConceptsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _metric_selection_concepts_serialize( + self, + metric_id, + id, + target_tenant_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'id': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if metric_id is not None: + _path_params['metricId'] = metric_id + # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/data/model/metrics/{metricId}/selection-concepts', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def metrics( + self, + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the metrics to retrieve. Default is all metrics.")] = None, + category: Annotated[Optional[StrictStr], Field(description="The category to filter the returned metrics by.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> MetricsDTO: + """Retrieve a list of metrics + + Retrieve all the metrics in your Visier solution. + + :param id: The IDs of the metrics to retrieve. Default is all metrics. + :type id: List[str] + :param category: The category to filter the returned metrics by. + :type category: str + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._metrics_serialize( + id=id, + category=category, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def metrics_with_http_info( + self, + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the metrics to retrieve. Default is all metrics.")] = None, + category: Annotated[Optional[StrictStr], Field(description="The category to filter the returned metrics by.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[MetricsDTO]: + """Retrieve a list of metrics + + Retrieve all the metrics in your Visier solution. + + :param id: The IDs of the metrics to retrieve. Default is all metrics. + :type id: List[str] + :param category: The category to filter the returned metrics by. + :type category: str + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._metrics_serialize( + id=id, + category=category, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def metrics_without_preload_content( + self, + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the metrics to retrieve. Default is all metrics.")] = None, + category: Annotated[Optional[StrictStr], Field(description="The category to filter the returned metrics by.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a list of metrics + + Retrieve all the metrics in your Visier solution. + + :param id: The IDs of the metrics to retrieve. Default is all metrics. + :type id: List[str] + :param category: The category to filter the returned metrics by. + :type category: str + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._metrics_serialize( + id=id, + category=category, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _metrics_serialize( + self, + id, + category, + target_tenant_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'id': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + + if category is not None: + + _query_params.append(('category', category)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1/data/model/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def plan_data_loadl_list( + self, + display_name: Annotated[Optional[StrictStr], Field(description="Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\".")] = None, + model: Annotated[Optional[StrictStr], Field(description="Returns plans that belong to the specified planning model ID.")] = None, + plan_status: Annotated[Optional[StrictStr], Field(description="Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan.")] = None, + created_start: Annotated[Optional[StrictStr], Field(description="Returns plans created on or after this date. The format is YYYY-MM-DD.")] = None, + created_end: Annotated[Optional[StrictStr], Field(description="Return plans created on or before this date. The format is YYYY-MM-DD.")] = None, + edited_start: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or after this date. The format is YYYY-MM-DD.")] = None, + edited_end: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or before this date. The format is YYYY-MM-DD.")] = None, + order_by: Annotated[Optional[StrictStr], Field(description="Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model.")] = None, + sort_order: Annotated[Optional[StrictStr], Field(description="Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`.")] = None, + exclude_subplans: Annotated[Optional[StrictBool], Field(description="If `true`, the response doesn't return subplans. Default is `true`.")] = None, + max_results: Annotated[Optional[StrictStr], Field(description="Sets the maximum number of results to return per page. Default is 50.")] = None, + page: Annotated[Optional[StrictStr], Field(description="Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetPlanListResponseDTO: + """Retrieve a list of plans + + Retrieve all the plans you have access to. The response returns plan information you can use to call the Plan Data Load API and Plan Administration API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param display_name: Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\". + :type display_name: str + :param model: Returns plans that belong to the specified planning model ID. + :type model: str + :param plan_status: Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan. + :type plan_status: str + :param created_start: Returns plans created on or after this date. The format is YYYY-MM-DD. + :type created_start: str + :param created_end: Return plans created on or before this date. The format is YYYY-MM-DD. + :type created_end: str + :param edited_start: Returns plans edited on or after this date. The format is YYYY-MM-DD. + :type edited_start: str + :param edited_end: Returns plans edited on or before this date. The format is YYYY-MM-DD. + :type edited_end: str + :param order_by: Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model. + :type order_by: str + :param sort_order: Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`. + :type sort_order: str + :param exclude_subplans: If `true`, the response doesn't return subplans. Default is `true`. + :type exclude_subplans: bool + :param max_results: Sets the maximum number of results to return per page. Default is 50. + :type max_results: str + :param page: Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`. + :type page: str + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._plan_data_loadl_list_serialize( + display_name=display_name, + model=model, + plan_status=plan_status, + created_start=created_start, + created_end=created_end, + edited_start=edited_start, + edited_end=edited_end, + order_by=order_by, + sort_order=sort_order, + exclude_subplans=exclude_subplans, + max_results=max_results, + page=page, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetPlanListResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def plan_data_loadl_list_with_http_info( + self, + display_name: Annotated[Optional[StrictStr], Field(description="Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\".")] = None, + model: Annotated[Optional[StrictStr], Field(description="Returns plans that belong to the specified planning model ID.")] = None, + plan_status: Annotated[Optional[StrictStr], Field(description="Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan.")] = None, + created_start: Annotated[Optional[StrictStr], Field(description="Returns plans created on or after this date. The format is YYYY-MM-DD.")] = None, + created_end: Annotated[Optional[StrictStr], Field(description="Return plans created on or before this date. The format is YYYY-MM-DD.")] = None, + edited_start: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or after this date. The format is YYYY-MM-DD.")] = None, + edited_end: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or before this date. The format is YYYY-MM-DD.")] = None, + order_by: Annotated[Optional[StrictStr], Field(description="Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model.")] = None, + sort_order: Annotated[Optional[StrictStr], Field(description="Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`.")] = None, + exclude_subplans: Annotated[Optional[StrictBool], Field(description="If `true`, the response doesn't return subplans. Default is `true`.")] = None, + max_results: Annotated[Optional[StrictStr], Field(description="Sets the maximum number of results to return per page. Default is 50.")] = None, + page: Annotated[Optional[StrictStr], Field(description="Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetPlanListResponseDTO]: + """Retrieve a list of plans + + Retrieve all the plans you have access to. The response returns plan information you can use to call the Plan Data Load API and Plan Administration API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param display_name: Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\". + :type display_name: str + :param model: Returns plans that belong to the specified planning model ID. + :type model: str + :param plan_status: Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan. + :type plan_status: str + :param created_start: Returns plans created on or after this date. The format is YYYY-MM-DD. + :type created_start: str + :param created_end: Return plans created on or before this date. The format is YYYY-MM-DD. + :type created_end: str + :param edited_start: Returns plans edited on or after this date. The format is YYYY-MM-DD. + :type edited_start: str + :param edited_end: Returns plans edited on or before this date. The format is YYYY-MM-DD. + :type edited_end: str + :param order_by: Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model. + :type order_by: str + :param sort_order: Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`. + :type sort_order: str + :param exclude_subplans: If `true`, the response doesn't return subplans. Default is `true`. + :type exclude_subplans: bool + :param max_results: Sets the maximum number of results to return per page. Default is 50. + :type max_results: str + :param page: Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`. + :type page: str + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._plan_data_loadl_list_serialize( + display_name=display_name, + model=model, + plan_status=plan_status, + created_start=created_start, + created_end=created_end, + edited_start=edited_start, + edited_end=edited_end, + order_by=order_by, + sort_order=sort_order, + exclude_subplans=exclude_subplans, + max_results=max_results, + page=page, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetPlanListResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def plan_data_loadl_list_without_preload_content( + self, + display_name: Annotated[Optional[StrictStr], Field(description="Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\".")] = None, + model: Annotated[Optional[StrictStr], Field(description="Returns plans that belong to the specified planning model ID.")] = None, + plan_status: Annotated[Optional[StrictStr], Field(description="Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan.")] = None, + created_start: Annotated[Optional[StrictStr], Field(description="Returns plans created on or after this date. The format is YYYY-MM-DD.")] = None, + created_end: Annotated[Optional[StrictStr], Field(description="Return plans created on or before this date. The format is YYYY-MM-DD.")] = None, + edited_start: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or after this date. The format is YYYY-MM-DD.")] = None, + edited_end: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or before this date. The format is YYYY-MM-DD.")] = None, + order_by: Annotated[Optional[StrictStr], Field(description="Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model.")] = None, + sort_order: Annotated[Optional[StrictStr], Field(description="Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`.")] = None, + exclude_subplans: Annotated[Optional[StrictBool], Field(description="If `true`, the response doesn't return subplans. Default is `true`.")] = None, + max_results: Annotated[Optional[StrictStr], Field(description="Sets the maximum number of results to return per page. Default is 50.")] = None, + page: Annotated[Optional[StrictStr], Field(description="Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a list of plans + + Retrieve all the plans you have access to. The response returns plan information you can use to call the Plan Data Load API and Plan Administration API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param display_name: Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\". + :type display_name: str + :param model: Returns plans that belong to the specified planning model ID. + :type model: str + :param plan_status: Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan. + :type plan_status: str + :param created_start: Returns plans created on or after this date. The format is YYYY-MM-DD. + :type created_start: str + :param created_end: Return plans created on or before this date. The format is YYYY-MM-DD. + :type created_end: str + :param edited_start: Returns plans edited on or after this date. The format is YYYY-MM-DD. + :type edited_start: str + :param edited_end: Returns plans edited on or before this date. The format is YYYY-MM-DD. + :type edited_end: str + :param order_by: Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model. + :type order_by: str + :param sort_order: Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`. + :type sort_order: str + :param exclude_subplans: If `true`, the response doesn't return subplans. Default is `true`. + :type exclude_subplans: bool + :param max_results: Sets the maximum number of results to return per page. Default is 50. + :type max_results: str + :param page: Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`. :type page: str :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. :type target_tenant_id: str @@ -7766,6 +8613,209 @@ def plan_data_loadl_list( *_param, _request_timeout=_request_timeout ) + return response_data.response + + + def _plan_data_loadl_list_serialize( + self, + display_name, + model, + plan_status, + created_start, + created_end, + edited_start, + edited_end, + order_by, + sort_order, + exclude_subplans, + max_results, + page, + target_tenant_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if display_name is not None: + + _query_params.append(('displayName', display_name)) + + if model is not None: + + _query_params.append(('model', model)) + + if plan_status is not None: + + _query_params.append(('planStatus', plan_status)) + + if created_start is not None: + + _query_params.append(('createdStart', created_start)) + + if created_end is not None: + + _query_params.append(('createdEnd', created_end)) + + if edited_start is not None: + + _query_params.append(('editedStart', edited_start)) + + if edited_end is not None: + + _query_params.append(('editedEnd', edited_end)) + + if order_by is not None: + + _query_params.append(('orderBy', order_by)) + + if sort_order is not None: + + _query_params.append(('sortOrder', sort_order)) + + if exclude_subplans is not None: + + _query_params.append(('excludeSubplans', exclude_subplans)) + + if max_results is not None: + + _query_params.append(('maxResults', max_results)) + + if page is not None: + + _query_params.append(('page', page)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1alpha/planning/model/plans', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def plan_info_with_schema( + self, + id: Annotated[StrictStr, Field(description="The unique identifier of the plan.")], + with_schema: Annotated[Optional[StrictBool], Field(description="If `true`, the response returns the plan's schema. Default is `false`.")] = None, + segment_id_filter: Annotated[Optional[StrictStr], Field(description="If defined, returns segment levels and members for the specified segment.")] = None, + 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, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> PlanWithSchemaDTO: + """Retrieve a plan's details + + Retrieve the details of a specific plan. The response returns plan information you can use to call the Plan Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param id: The unique identifier of the plan. (required) + :type id: str + :param with_schema: If `true`, the response returns the plan's schema. Default is `false`. + :type with_schema: bool + :param segment_id_filter: If defined, returns segment levels and members for the specified segment. + :type segment_id_filter: str + :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. + :type target_tenant_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._plan_info_with_schema_serialize( + id=id, + with_schema=with_schema, + segment_id_filter=segment_id_filter, + target_tenant_id=target_tenant_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "PlanWithSchemaDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) response_data.read() return self.api_client.response_deserialize( response_data=response_data, @@ -7774,20 +8824,11 @@ def plan_data_loadl_list( @validate_call - def plan_data_loadl_list_with_http_info( + def plan_info_with_schema_with_http_info( self, - display_name: Annotated[Optional[StrictStr], Field(description="Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\".")] = None, - model: Annotated[Optional[StrictStr], Field(description="Returns plans that belong to the specified planning model ID.")] = None, - plan_status: Annotated[Optional[StrictStr], Field(description="Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan.")] = None, - created_start: Annotated[Optional[StrictStr], Field(description="Returns plans created on or after this date. The format is YYYY-MM-DD.")] = None, - created_end: Annotated[Optional[StrictStr], Field(description="Return plans created on or before this date. The format is YYYY-MM-DD.")] = None, - edited_start: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or after this date. The format is YYYY-MM-DD.")] = None, - edited_end: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or before this date. The format is YYYY-MM-DD.")] = None, - order_by: Annotated[Optional[StrictStr], Field(description="Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model.")] = None, - sort_order: Annotated[Optional[StrictStr], Field(description="Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`.")] = None, - exclude_subplans: Annotated[Optional[StrictBool], Field(description="If `true`, the response doesn't return subplans. Default is `true`.")] = None, - max_results: Annotated[Optional[StrictStr], Field(description="Sets the maximum number of results to return per page. Default is 50.")] = None, - page: Annotated[Optional[StrictStr], Field(description="Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`.")] = None, + id: Annotated[StrictStr, Field(description="The unique identifier of the plan.")], + with_schema: Annotated[Optional[StrictBool], Field(description="If `true`, the response returns the plan's schema. Default is `false`.")] = None, + segment_id_filter: Annotated[Optional[StrictStr], Field(description="If defined, returns segment levels and members for the specified segment.")] = None, 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, _request_timeout: Union[ None, @@ -7801,35 +8842,17 @@ def plan_data_loadl_list_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[GetPlanListResponseDTO]: - """Retrieve a list of plans + ) -> ApiResponse[PlanWithSchemaDTO]: + """Retrieve a plan's details - Retrieve all the plans you have access to. The response returns plan information you can use to call the Plan Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the details of a specific plan. The response returns plan information you can use to call the Plan Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param display_name: Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\". - :type display_name: str - :param model: Returns plans that belong to the specified planning model ID. - :type model: str - :param plan_status: Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan. - :type plan_status: str - :param created_start: Returns plans created on or after this date. The format is YYYY-MM-DD. - :type created_start: str - :param created_end: Return plans created on or before this date. The format is YYYY-MM-DD. - :type created_end: str - :param edited_start: Returns plans edited on or after this date. The format is YYYY-MM-DD. - :type edited_start: str - :param edited_end: Returns plans edited on or before this date. The format is YYYY-MM-DD. - :type edited_end: str - :param order_by: Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model. - :type order_by: str - :param sort_order: Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`. - :type sort_order: str - :param exclude_subplans: If `true`, the response doesn't return subplans. Default is `true`. - :type exclude_subplans: bool - :param max_results: Sets the maximum number of results to return per page. Default is 50. - :type max_results: str - :param page: Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`. - :type page: str + :param id: The unique identifier of the plan. (required) + :type id: str + :param with_schema: If `true`, the response returns the plan's schema. Default is `false`. + :type with_schema: bool + :param segment_id_filter: If defined, returns segment levels and members for the specified segment. + :type segment_id_filter: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7854,19 +8877,10 @@ def plan_data_loadl_list_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._plan_data_loadl_list_serialize( - display_name=display_name, - model=model, - plan_status=plan_status, - created_start=created_start, - created_end=created_end, - edited_start=edited_start, - edited_end=edited_end, - order_by=order_by, - sort_order=sort_order, - exclude_subplans=exclude_subplans, - max_results=max_results, - page=page, + _param = self._plan_info_with_schema_serialize( + id=id, + with_schema=with_schema, + segment_id_filter=segment_id_filter, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7875,7 +8889,7 @@ def plan_data_loadl_list_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GetPlanListResponseDTO", + '200': "PlanWithSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -7889,20 +8903,11 @@ def plan_data_loadl_list_with_http_info( @validate_call - def plan_data_loadl_list_without_preload_content( + def plan_info_with_schema_without_preload_content( self, - display_name: Annotated[Optional[StrictStr], Field(description="Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\".")] = None, - model: Annotated[Optional[StrictStr], Field(description="Returns plans that belong to the specified planning model ID.")] = None, - plan_status: Annotated[Optional[StrictStr], Field(description="Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan.")] = None, - created_start: Annotated[Optional[StrictStr], Field(description="Returns plans created on or after this date. The format is YYYY-MM-DD.")] = None, - created_end: Annotated[Optional[StrictStr], Field(description="Return plans created on or before this date. The format is YYYY-MM-DD.")] = None, - edited_start: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or after this date. The format is YYYY-MM-DD.")] = None, - edited_end: Annotated[Optional[StrictStr], Field(description="Returns plans edited on or before this date. The format is YYYY-MM-DD.")] = None, - order_by: Annotated[Optional[StrictStr], Field(description="Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model.")] = None, - sort_order: Annotated[Optional[StrictStr], Field(description="Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`.")] = None, - exclude_subplans: Annotated[Optional[StrictBool], Field(description="If `true`, the response doesn't return subplans. Default is `true`.")] = None, - max_results: Annotated[Optional[StrictStr], Field(description="Sets the maximum number of results to return per page. Default is 50.")] = None, - page: Annotated[Optional[StrictStr], Field(description="Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`.")] = None, + id: Annotated[StrictStr, Field(description="The unique identifier of the plan.")], + with_schema: Annotated[Optional[StrictBool], Field(description="If `true`, the response returns the plan's schema. Default is `false`.")] = None, + segment_id_filter: Annotated[Optional[StrictStr], Field(description="If defined, returns segment levels and members for the specified segment.")] = None, 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, _request_timeout: Union[ None, @@ -7917,34 +8922,16 @@ def plan_data_loadl_list_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of plans + """Retrieve a plan's details - Retrieve all the plans you have access to. The response returns plan information you can use to call the Plan Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the details of a specific plan. The response returns plan information you can use to call the Plan Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param display_name: Returns plans that match the specified display name. Ignores text case and includes partial matches. For example, `displayName=WFP Plan` returns plans named \"WFP Plan 2024\", \"WFP plan v1\", and \"WFP plan - Product\". - :type display_name: str - :param model: Returns plans that belong to the specified planning model ID. - :type model: str - :param plan_status: Returns plans with the specified plan status. Valid values: - **ASSIGNED**: The subplan has been assigned to a subplanner. - **IN_PROGRESS**: The subplanner has opened the subplan. - **OVERDUE**: The subplan was not completed on time. - **SUBMITTED**: The subplan has been submitted for review. - **SENT_BACK**: The subplan was rejected and returned to the subplanner for editing. - **CONSOLIDATED**: The subplan has been accepted and combined into the primary plan. - :type plan_status: str - :param created_start: Returns plans created on or after this date. The format is YYYY-MM-DD. - :type created_start: str - :param created_end: Return plans created on or before this date. The format is YYYY-MM-DD. - :type created_end: str - :param edited_start: Returns plans edited on or after this date. The format is YYYY-MM-DD. - :type edited_start: str - :param edited_end: Returns plans edited on or before this date. The format is YYYY-MM-DD. - :type edited_end: str - :param order_by: Orders plan results by the specified value. Valid values: - **LAST_EDITED_DATE**: Orders plans by the last edited date. This is the default. - **CREATED_DATE**: Orders plans by the creation date. - **PLAN_MODEL**: Orders plans alphabetically by planning model. - :type order_by: str - :param sort_order: Sorts plan results by the specified value. Valid values are `ASCENDING` or `DESCENDING`. Default is `DESCENDING`. - :type sort_order: str - :param exclude_subplans: If `true`, the response doesn't return subplans. Default is `true`. - :type exclude_subplans: bool - :param max_results: Sets the maximum number of results to return per page. Default is 50. - :type max_results: str - :param page: Sets the results page to return. If undefined, returns the first 50 results. To get the next 50 results, specify `page=2`. - :type page: str + :param id: The unique identifier of the plan. (required) + :type id: str + :param with_schema: If `true`, the response returns the plan's schema. Default is `false`. + :type with_schema: bool + :param segment_id_filter: If defined, returns segment levels and members for the specified segment. + :type segment_id_filter: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -7969,19 +8956,10 @@ def plan_data_loadl_list_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._plan_data_loadl_list_serialize( - display_name=display_name, - model=model, - plan_status=plan_status, - created_start=created_start, - created_end=created_end, - edited_start=edited_start, - edited_end=edited_end, - order_by=order_by, - sort_order=sort_order, - exclude_subplans=exclude_subplans, - max_results=max_results, - page=page, + _param = self._plan_info_with_schema_serialize( + id=id, + with_schema=with_schema, + segment_id_filter=segment_id_filter, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -7990,7 +8968,7 @@ def plan_data_loadl_list_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "GetPlanListResponseDTO", + '200': "PlanWithSchemaDTO", } response_data = self.api_client.call_api( *_param, @@ -7999,20 +8977,11 @@ def plan_data_loadl_list_without_preload_content( return response_data.response - def _plan_data_loadl_list_serialize( + def _plan_info_with_schema_serialize( self, - display_name, - model, - plan_status, - created_start, - created_end, - edited_start, - edited_end, - order_by, - sort_order, - exclude_subplans, - max_results, - page, + id, + with_schema, + segment_id_filter, target_tenant_id, _request_auth, _content_type, @@ -8035,54 +9004,16 @@ def _plan_data_loadl_list_serialize( _body_params: Optional[bytes] = None # process the path parameters + if id is not None: + _path_params['id'] = id # process the query parameters - if display_name is not None: - - _query_params.append(('displayName', display_name)) - - if model is not None: - - _query_params.append(('model', model)) - - if plan_status is not None: - - _query_params.append(('planStatus', plan_status)) - - if created_start is not None: - - _query_params.append(('createdStart', created_start)) - - if created_end is not None: - - _query_params.append(('createdEnd', created_end)) - - if edited_start is not None: - - _query_params.append(('editedStart', edited_start)) - - if edited_end is not None: - - _query_params.append(('editedEnd', edited_end)) - - if order_by is not None: - - _query_params.append(('orderBy', order_by)) - - if sort_order is not None: - - _query_params.append(('sortOrder', sort_order)) - - if exclude_subplans is not None: - - _query_params.append(('excludeSubplans', exclude_subplans)) - - if max_results is not None: + if with_schema is not None: - _query_params.append(('maxResults', max_results)) + _query_params.append(('withSchema', with_schema)) - if page is not None: + if segment_id_filter is not None: - _query_params.append(('page', page)) + _query_params.append(('segmentIdFilter', segment_id_filter)) # process the header parameters if target_tenant_id is not None: @@ -8111,7 +9042,7 @@ def _plan_data_loadl_list_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1alpha/planning/model/plans', + resource_path='/v1alpha/planning/model/plans/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -8128,11 +9059,9 @@ def _plan_data_loadl_list_serialize( @validate_call - def plan_info_with_schema( + def planning_metrics( self, - id: Annotated[StrictStr, Field(description="The unique identifier of the plan.")], - with_schema: Annotated[Optional[StrictBool], Field(description="If `true`, the response returns the plan's schema. Default is `false`.")] = None, - segment_id_filter: Annotated[Optional[StrictStr], Field(description="If defined, returns segment levels and members for the specified segment.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], 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, _request_timeout: Union[ None, @@ -8146,17 +9075,13 @@ def plan_info_with_schema( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanWithSchemaDTO: - """Retrieve a plan's details + ) -> MetricsDTO: + """Retrieve metrics by planning model ID - Retrieve the details of a specific plan. The response returns plan information you can use to call the Planning Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve all the metrics you have access to for a planning model. - :param id: The unique identifier of the plan. (required) + :param id: The ID of the planning model to retrieve. (required) :type id: str - :param with_schema: If `true`, the response returns the plan's schema. Default is `false`. - :type with_schema: bool - :param segment_id_filter: If defined, returns segment levels and members for the specified segment. - :type segment_id_filter: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8181,10 +9106,8 @@ def plan_info_with_schema( :return: Returns the result object. """ # noqa: E501 - _param = self._plan_info_with_schema_serialize( + _param = self._planning_metrics_serialize( id=id, - with_schema=with_schema, - segment_id_filter=segment_id_filter, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -8193,7 +9116,7 @@ def plan_info_with_schema( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanWithSchemaDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -8207,11 +9130,9 @@ def plan_info_with_schema( @validate_call - def plan_info_with_schema_with_http_info( + def planning_metrics_with_http_info( self, - id: Annotated[StrictStr, Field(description="The unique identifier of the plan.")], - with_schema: Annotated[Optional[StrictBool], Field(description="If `true`, the response returns the plan's schema. Default is `false`.")] = None, - segment_id_filter: Annotated[Optional[StrictStr], Field(description="If defined, returns segment levels and members for the specified segment.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], 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, _request_timeout: Union[ None, @@ -8225,17 +9146,13 @@ def plan_info_with_schema_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanWithSchemaDTO]: - """Retrieve a plan's details + ) -> ApiResponse[MetricsDTO]: + """Retrieve metrics by planning model ID - Retrieve the details of a specific plan. The response returns plan information you can use to call the Planning Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve all the metrics you have access to for a planning model. - :param id: The unique identifier of the plan. (required) + :param id: The ID of the planning model to retrieve. (required) :type id: str - :param with_schema: If `true`, the response returns the plan's schema. Default is `false`. - :type with_schema: bool - :param segment_id_filter: If defined, returns segment levels and members for the specified segment. - :type segment_id_filter: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8260,10 +9177,8 @@ def plan_info_with_schema_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._plan_info_with_schema_serialize( + _param = self._planning_metrics_serialize( id=id, - with_schema=with_schema, - segment_id_filter=segment_id_filter, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -8272,7 +9187,7 @@ def plan_info_with_schema_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanWithSchemaDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -8286,11 +9201,9 @@ def plan_info_with_schema_with_http_info( @validate_call - def plan_info_with_schema_without_preload_content( + def planning_metrics_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The unique identifier of the plan.")], - with_schema: Annotated[Optional[StrictBool], Field(description="If `true`, the response returns the plan's schema. Default is `false`.")] = None, - segment_id_filter: Annotated[Optional[StrictStr], Field(description="If defined, returns segment levels and members for the specified segment.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], 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, _request_timeout: Union[ None, @@ -8305,16 +9218,12 @@ def plan_info_with_schema_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a plan's details + """Retrieve metrics by planning model ID - Retrieve the details of a specific plan. The response returns plan information you can use to call the Planning Data Load API.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve all the metrics you have access to for a planning model. - :param id: The unique identifier of the plan. (required) + :param id: The ID of the planning model to retrieve. (required) :type id: str - :param with_schema: If `true`, the response returns the plan's schema. Default is `false`. - :type with_schema: bool - :param segment_id_filter: If defined, returns segment levels and members for the specified segment. - :type segment_id_filter: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8339,10 +9248,8 @@ def plan_info_with_schema_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._plan_info_with_schema_serialize( + _param = self._planning_metrics_serialize( id=id, - with_schema=with_schema, - segment_id_filter=segment_id_filter, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -8351,7 +9258,7 @@ def plan_info_with_schema_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanWithSchemaDTO", + '200': "MetricsDTO", } response_data = self.api_client.call_api( *_param, @@ -8360,11 +9267,9 @@ def plan_info_with_schema_without_preload_content( return response_data.response - def _plan_info_with_schema_serialize( + def _planning_metrics_serialize( self, id, - with_schema, - segment_id_filter, target_tenant_id, _request_auth, _content_type, @@ -8390,14 +9295,6 @@ def _plan_info_with_schema_serialize( if id is not None: _path_params['id'] = id # process the query parameters - if with_schema is not None: - - _query_params.append(('withSchema', with_schema)) - - if segment_id_filter is not None: - - _query_params.append(('segmentIdFilter', segment_id_filter)) - # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -8425,7 +9322,7 @@ def _plan_info_with_schema_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1alpha/planning/model/plans/{id}', + resource_path='/v1/data/model/plan-models/{id}/metrics', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -8442,7 +9339,7 @@ def _plan_info_with_schema_serialize( @validate_call - def planning_metrics( + def planning_model( self, id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], 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, @@ -8458,10 +9355,10 @@ def planning_metrics( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> MetricsDTO: - """Retrieve metrics by planning model ID + ) -> PlanningModelDTO: + """Retrieve a planning model by ID - Retrieve all the metrics you have access to for a planning model. + Retrieve a specific planning model you have access to. :param id: The ID of the planning model to retrieve. (required) :type id: str @@ -8489,7 +9386,7 @@ def planning_metrics( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_metrics_serialize( + _param = self._planning_model_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -8499,7 +9396,7 @@ def planning_metrics( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricsDTO", + '200': "PlanningModelDTO", } response_data = self.api_client.call_api( *_param, @@ -8513,7 +9410,7 @@ def planning_metrics( @validate_call - def planning_metrics_with_http_info( + def planning_model_with_http_info( self, id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], 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, @@ -8529,10 +9426,10 @@ def planning_metrics_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[MetricsDTO]: - """Retrieve metrics by planning model ID + ) -> ApiResponse[PlanningModelDTO]: + """Retrieve a planning model by ID - Retrieve all the metrics you have access to for a planning model. + Retrieve a specific planning model you have access to. :param id: The ID of the planning model to retrieve. (required) :type id: str @@ -8560,7 +9457,7 @@ def planning_metrics_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_metrics_serialize( + _param = self._planning_model_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -8570,7 +9467,7 @@ def planning_metrics_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricsDTO", + '200': "PlanningModelDTO", } response_data = self.api_client.call_api( *_param, @@ -8584,7 +9481,7 @@ def planning_metrics_with_http_info( @validate_call - def planning_metrics_without_preload_content( + def planning_model_without_preload_content( self, id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], 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, @@ -8601,9 +9498,9 @@ def planning_metrics_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve metrics by planning model ID + """Retrieve a planning model by ID - Retrieve all the metrics you have access to for a planning model. + Retrieve a specific planning model you have access to. :param id: The ID of the planning model to retrieve. (required) :type id: str @@ -8631,7 +9528,7 @@ def planning_metrics_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_metrics_serialize( + _param = self._planning_model_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -8641,7 +9538,7 @@ def planning_metrics_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "MetricsDTO", + '200': "PlanningModelDTO", } response_data = self.api_client.call_api( *_param, @@ -8650,7 +9547,7 @@ def planning_metrics_without_preload_content( return response_data.response - def _planning_metrics_serialize( + def _planning_model_serialize( self, id, target_tenant_id, @@ -8705,7 +9602,7 @@ def _planning_metrics_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/plan-models/{id}/metrics', + resource_path='/v1/data/model/plan-models/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -8722,9 +9619,9 @@ def _planning_metrics_serialize( @validate_call - def planning_model( + def planning_models( self, - id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the planning models to retrieve. Default is all models.")] = None, 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, _request_timeout: Union[ None, @@ -8738,13 +9635,13 @@ def planning_model( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanningModelDTO: - """Retrieve a planning model by ID + ) -> PlanningModelsDTO: + """Retrieve a list of planning models - Retrieve a specific planning model you have access to. + Retrieve all the planning models you have access to. - :param id: The ID of the planning model to retrieve. (required) - :type id: str + :param id: The IDs of the planning models to retrieve. Default is all models. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8769,7 +9666,7 @@ def planning_model( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_model_serialize( + _param = self._planning_models_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -8779,7 +9676,7 @@ def planning_model( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningModelDTO", + '200': "PlanningModelsDTO", } response_data = self.api_client.call_api( *_param, @@ -8793,9 +9690,9 @@ def planning_model( @validate_call - def planning_model_with_http_info( + def planning_models_with_http_info( self, - id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the planning models to retrieve. Default is all models.")] = None, 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, _request_timeout: Union[ None, @@ -8809,13 +9706,13 @@ def planning_model_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanningModelDTO]: - """Retrieve a planning model by ID + ) -> ApiResponse[PlanningModelsDTO]: + """Retrieve a list of planning models - Retrieve a specific planning model you have access to. + Retrieve all the planning models you have access to. - :param id: The ID of the planning model to retrieve. (required) - :type id: str + :param id: The IDs of the planning models to retrieve. Default is all models. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8840,7 +9737,7 @@ def planning_model_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_model_serialize( + _param = self._planning_models_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -8850,7 +9747,7 @@ def planning_model_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningModelDTO", + '200': "PlanningModelsDTO", } response_data = self.api_client.call_api( *_param, @@ -8864,9 +9761,9 @@ def planning_model_with_http_info( @validate_call - def planning_model_without_preload_content( + def planning_models_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the planning models to retrieve. Default is all models.")] = None, 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, _request_timeout: Union[ None, @@ -8881,12 +9778,12 @@ def planning_model_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a planning model by ID + """Retrieve a list of planning models - Retrieve a specific planning model you have access to. + Retrieve all the planning models you have access to. - :param id: The ID of the planning model to retrieve. (required) - :type id: str + :param id: The IDs of the planning models to retrieve. Default is all models. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -8911,7 +9808,7 @@ def planning_model_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_model_serialize( + _param = self._planning_models_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -8921,7 +9818,7 @@ def planning_model_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningModelDTO", + '200': "PlanningModelsDTO", } response_data = self.api_client.call_api( *_param, @@ -8930,7 +9827,7 @@ def planning_model_without_preload_content( return response_data.response - def _planning_model_serialize( + def _planning_models_serialize( self, id, target_tenant_id, @@ -8943,6 +9840,7 @@ def _planning_model_serialize( _host = None _collection_formats: Dict[str, str] = { + 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -8955,9 +9853,11 @@ def _planning_model_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -8985,7 +9885,7 @@ def _planning_model_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/plan-models/{id}', + resource_path='/v1/data/model/plan-models', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -9002,9 +9902,10 @@ def _planning_model_serialize( @validate_call - def planning_models( + def planning_plan( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the planning models to retrieve. Default is all models.")] = None, + model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], + id: Annotated[StrictStr, Field(description="The ID of the plan to retrieve.")], 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, _request_timeout: Union[ None, @@ -9018,13 +9919,15 @@ def planning_models( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanningModelsDTO: - """Retrieve a list of planning models + ) -> PlanningPlanDTO: + """Retrieve a plan by planning model ID and plan ID - Retrieve all the planning models you have access to. + Retrieve a specific plan that you have access to in a planning model. - :param id: The IDs of the planning models to retrieve. Default is all models. - :type id: List[str] + :param model_id: The ID of the planning model to retrieve. (required) + :type model_id: str + :param id: The ID of the plan to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9049,7 +9952,8 @@ def planning_models( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_models_serialize( + _param = self._planning_plan_serialize( + model_id=model_id, id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9059,7 +9963,7 @@ def planning_models( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningModelsDTO", + '200': "PlanningPlanDTO", } response_data = self.api_client.call_api( *_param, @@ -9073,9 +9977,10 @@ def planning_models( @validate_call - def planning_models_with_http_info( + def planning_plan_with_http_info( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the planning models to retrieve. Default is all models.")] = None, + model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], + id: Annotated[StrictStr, Field(description="The ID of the plan to retrieve.")], 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, _request_timeout: Union[ None, @@ -9089,13 +9994,15 @@ def planning_models_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanningModelsDTO]: - """Retrieve a list of planning models + ) -> ApiResponse[PlanningPlanDTO]: + """Retrieve a plan by planning model ID and plan ID - Retrieve all the planning models you have access to. + Retrieve a specific plan that you have access to in a planning model. - :param id: The IDs of the planning models to retrieve. Default is all models. - :type id: List[str] + :param model_id: The ID of the planning model to retrieve. (required) + :type model_id: str + :param id: The ID of the plan to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9120,7 +10027,8 @@ def planning_models_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_models_serialize( + _param = self._planning_plan_serialize( + model_id=model_id, id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9130,7 +10038,7 @@ def planning_models_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningModelsDTO", + '200': "PlanningPlanDTO", } response_data = self.api_client.call_api( *_param, @@ -9144,9 +10052,10 @@ def planning_models_with_http_info( @validate_call - def planning_models_without_preload_content( + def planning_plan_without_preload_content( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the planning models to retrieve. Default is all models.")] = None, + model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], + id: Annotated[StrictStr, Field(description="The ID of the plan to retrieve.")], 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, _request_timeout: Union[ None, @@ -9161,12 +10070,14 @@ def planning_models_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of planning models + """Retrieve a plan by planning model ID and plan ID - Retrieve all the planning models you have access to. + Retrieve a specific plan that you have access to in a planning model. - :param id: The IDs of the planning models to retrieve. Default is all models. - :type id: List[str] + :param model_id: The ID of the planning model to retrieve. (required) + :type model_id: str + :param id: The ID of the plan to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9191,7 +10102,8 @@ def planning_models_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_models_serialize( + _param = self._planning_plan_serialize( + model_id=model_id, id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9201,7 +10113,7 @@ def planning_models_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningModelsDTO", + '200': "PlanningPlanDTO", } response_data = self.api_client.call_api( *_param, @@ -9210,8 +10122,9 @@ def planning_models_without_preload_content( return response_data.response - def _planning_models_serialize( + def _planning_plan_serialize( self, + model_id, id, target_tenant_id, _request_auth, @@ -9223,7 +10136,6 @@ def _planning_models_serialize( _host = None _collection_formats: Dict[str, str] = { - 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -9236,11 +10148,11 @@ def _planning_models_serialize( _body_params: Optional[bytes] = None # process the path parameters - # process the query parameters + if model_id is not None: + _path_params['modelId'] = model_id if id is not None: - - _query_params.append(('id', id)) - + _path_params['id'] = id + # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -9268,7 +10180,7 @@ def _planning_models_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/plan-models', + resource_path='/v1/data/model/plan-models/{modelId}/plans/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -9285,10 +10197,10 @@ def _planning_models_serialize( @validate_call - def planning_plan( + def planning_plans( self, model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], - id: Annotated[StrictStr, Field(description="The ID of the plan to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the plans to retrieve. Default is all plans.")] = None, 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, _request_timeout: Union[ None, @@ -9302,15 +10214,15 @@ def planning_plan( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanningPlanDTO: - """Retrieve a plan by planning model ID and plan ID + ) -> PlanningPlansDTO: + """Retrieve a list of plans by planning model ID - Retrieve a specific plan that you have access to in a planning model. + Retrieve all the plans you have access to for a planning model. :param model_id: The ID of the planning model to retrieve. (required) :type model_id: str - :param id: The ID of the plan to retrieve. (required) - :type id: str + :param id: The IDs of the plans to retrieve. Default is all plans. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9335,7 +10247,7 @@ def planning_plan( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_plan_serialize( + _param = self._planning_plans_serialize( model_id=model_id, id=id, target_tenant_id=target_tenant_id, @@ -9346,7 +10258,7 @@ def planning_plan( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlanDTO", + '200': "PlanningPlansDTO", } response_data = self.api_client.call_api( *_param, @@ -9360,10 +10272,10 @@ def planning_plan( @validate_call - def planning_plan_with_http_info( + def planning_plans_with_http_info( self, model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], - id: Annotated[StrictStr, Field(description="The ID of the plan to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the plans to retrieve. Default is all plans.")] = None, 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, _request_timeout: Union[ None, @@ -9377,15 +10289,15 @@ def planning_plan_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanningPlanDTO]: - """Retrieve a plan by planning model ID and plan ID + ) -> ApiResponse[PlanningPlansDTO]: + """Retrieve a list of plans by planning model ID - Retrieve a specific plan that you have access to in a planning model. + Retrieve all the plans you have access to for a planning model. :param model_id: The ID of the planning model to retrieve. (required) :type model_id: str - :param id: The ID of the plan to retrieve. (required) - :type id: str + :param id: The IDs of the plans to retrieve. Default is all plans. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9410,7 +10322,7 @@ def planning_plan_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_plan_serialize( + _param = self._planning_plans_serialize( model_id=model_id, id=id, target_tenant_id=target_tenant_id, @@ -9421,7 +10333,7 @@ def planning_plan_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlanDTO", + '200': "PlanningPlansDTO", } response_data = self.api_client.call_api( *_param, @@ -9435,10 +10347,10 @@ def planning_plan_with_http_info( @validate_call - def planning_plan_without_preload_content( + def planning_plans_without_preload_content( self, model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], - id: Annotated[StrictStr, Field(description="The ID of the plan to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the plans to retrieve. Default is all plans.")] = None, 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, _request_timeout: Union[ None, @@ -9453,14 +10365,14 @@ def planning_plan_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a plan by planning model ID and plan ID + """Retrieve a list of plans by planning model ID - Retrieve a specific plan that you have access to in a planning model. + Retrieve all the plans you have access to for a planning model. :param model_id: The ID of the planning model to retrieve. (required) :type model_id: str - :param id: The ID of the plan to retrieve. (required) - :type id: str + :param id: The IDs of the plans to retrieve. Default is all plans. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9485,7 +10397,7 @@ def planning_plan_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_plan_serialize( + _param = self._planning_plans_serialize( model_id=model_id, id=id, target_tenant_id=target_tenant_id, @@ -9496,7 +10408,7 @@ def planning_plan_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlanDTO", + '200': "PlanningPlansDTO", } response_data = self.api_client.call_api( *_param, @@ -9505,7 +10417,7 @@ def planning_plan_without_preload_content( return response_data.response - def _planning_plan_serialize( + def _planning_plans_serialize( self, model_id, id, @@ -9519,6 +10431,7 @@ def _planning_plan_serialize( _host = None _collection_formats: Dict[str, str] = { + 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -9533,9 +10446,11 @@ def _planning_plan_serialize( # process the path parameters if model_id is not None: _path_params['modelId'] = model_id - if id is not None: - _path_params['id'] = id # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -9563,7 +10478,7 @@ def _planning_plan_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/plan-models/{modelId}/plans/{id}', + resource_path='/v1/data/model/plan-models/{modelId}/plans', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -9580,10 +10495,9 @@ def _planning_plan_serialize( @validate_call - def planning_plans( + def prediction( self, - model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the plans to retrieve. Default is all plans.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the prediction to retrieve.")], 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, _request_timeout: Union[ None, @@ -9597,15 +10511,13 @@ def planning_plans( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanningPlansDTO: - """Retrieve a list of plans by planning model ID + ) -> PredictionDTO: + """Retrieve a prediction by ID - Retrieve all the plans you have access to for a planning model. + If you know the ID of a prediction, use this API to retrieve that prediction specifically. - :param model_id: The ID of the planning model to retrieve. (required) - :type model_id: str - :param id: The IDs of the plans to retrieve. Default is all plans. - :type id: List[str] + :param id: The ID of the prediction to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9630,8 +10542,7 @@ def planning_plans( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_plans_serialize( - model_id=model_id, + _param = self._prediction_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9641,7 +10552,7 @@ def planning_plans( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlansDTO", + '200': "PredictionDTO", } response_data = self.api_client.call_api( *_param, @@ -9655,10 +10566,9 @@ def planning_plans( @validate_call - def planning_plans_with_http_info( + def prediction_with_http_info( self, - model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the plans to retrieve. Default is all plans.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the prediction to retrieve.")], 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, _request_timeout: Union[ None, @@ -9672,15 +10582,13 @@ def planning_plans_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanningPlansDTO]: - """Retrieve a list of plans by planning model ID + ) -> ApiResponse[PredictionDTO]: + """Retrieve a prediction by ID - Retrieve all the plans you have access to for a planning model. + If you know the ID of a prediction, use this API to retrieve that prediction specifically. - :param model_id: The ID of the planning model to retrieve. (required) - :type model_id: str - :param id: The IDs of the plans to retrieve. Default is all plans. - :type id: List[str] + :param id: The ID of the prediction to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9705,8 +10613,7 @@ def planning_plans_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_plans_serialize( - model_id=model_id, + _param = self._prediction_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9716,7 +10623,7 @@ def planning_plans_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlansDTO", + '200': "PredictionDTO", } response_data = self.api_client.call_api( *_param, @@ -9730,10 +10637,9 @@ def planning_plans_with_http_info( @validate_call - def planning_plans_without_preload_content( + def prediction_without_preload_content( self, - model_id: Annotated[StrictStr, Field(description="The ID of the planning model to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the plans to retrieve. Default is all plans.")] = None, + id: Annotated[StrictStr, Field(description="The ID of the prediction to retrieve.")], 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, _request_timeout: Union[ None, @@ -9748,14 +10654,12 @@ def planning_plans_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of plans by planning model ID + """Retrieve a prediction by ID - Retrieve all the plans you have access to for a planning model. + If you know the ID of a prediction, use this API to retrieve that prediction specifically. - :param model_id: The ID of the planning model to retrieve. (required) - :type model_id: str - :param id: The IDs of the plans to retrieve. Default is all plans. - :type id: List[str] + :param id: The ID of the prediction to retrieve. (required) + :type id: str :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9780,8 +10684,7 @@ def planning_plans_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._planning_plans_serialize( - model_id=model_id, + _param = self._prediction_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9791,7 +10694,7 @@ def planning_plans_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanningPlansDTO", + '200': "PredictionDTO", } response_data = self.api_client.call_api( *_param, @@ -9800,9 +10703,8 @@ def planning_plans_without_preload_content( return response_data.response - def _planning_plans_serialize( + def _prediction_serialize( self, - model_id, id, target_tenant_id, _request_auth, @@ -9814,7 +10716,6 @@ def _planning_plans_serialize( _host = None _collection_formats: Dict[str, str] = { - 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -9827,13 +10728,9 @@ def _planning_plans_serialize( _body_params: Optional[bytes] = None # process the path parameters - if model_id is not None: - _path_params['modelId'] = model_id - # process the query parameters if id is not None: - - _query_params.append(('id', id)) - + _path_params['id'] = id + # process the query parameters # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -9861,7 +10758,7 @@ def _planning_plans_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/plan-models/{modelId}/plans', + resource_path='/v1/data/model/predictions/{id}', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -9878,9 +10775,9 @@ def _planning_plans_serialize( @validate_call - def prediction( + def predictions( self, - id: Annotated[StrictStr, Field(description="The ID of the prediction to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the predictions to retrieve. Default is all predictions.")] = None, 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, _request_timeout: Union[ None, @@ -9894,13 +10791,13 @@ def prediction( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PredictionDTO: - """Retrieve a prediction by ID + ) -> PredictionsDTO: + """Retrieve a list of predictions - If you know the ID of a prediction, use this API to retrieve that prediction specifically. + Retrieve all the predictions in your Visier solution. - :param id: The ID of the prediction to retrieve. (required) - :type id: str + :param id: The IDs of the predictions to retrieve. Default is all predictions. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9925,7 +10822,7 @@ def prediction( :return: Returns the result object. """ # noqa: E501 - _param = self._prediction_serialize( + _param = self._predictions_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -9935,7 +10832,7 @@ def prediction( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PredictionDTO", + '200': "PredictionsDTO", } response_data = self.api_client.call_api( *_param, @@ -9949,9 +10846,9 @@ def prediction( @validate_call - def prediction_with_http_info( + def predictions_with_http_info( self, - id: Annotated[StrictStr, Field(description="The ID of the prediction to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the predictions to retrieve. Default is all predictions.")] = None, 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, _request_timeout: Union[ None, @@ -9965,13 +10862,13 @@ def prediction_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PredictionDTO]: - """Retrieve a prediction by ID + ) -> ApiResponse[PredictionsDTO]: + """Retrieve a list of predictions - If you know the ID of a prediction, use this API to retrieve that prediction specifically. + Retrieve all the predictions in your Visier solution. - :param id: The ID of the prediction to retrieve. (required) - :type id: str + :param id: The IDs of the predictions to retrieve. Default is all predictions. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -9996,7 +10893,7 @@ def prediction_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._prediction_serialize( + _param = self._predictions_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -10006,7 +10903,7 @@ def prediction_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PredictionDTO", + '200': "PredictionsDTO", } response_data = self.api_client.call_api( *_param, @@ -10020,9 +10917,9 @@ def prediction_with_http_info( @validate_call - def prediction_without_preload_content( + def predictions_without_preload_content( self, - id: Annotated[StrictStr, Field(description="The ID of the prediction to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the predictions to retrieve. Default is all predictions.")] = None, 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, _request_timeout: Union[ None, @@ -10037,12 +10934,12 @@ def prediction_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a prediction by ID + """Retrieve a list of predictions - If you know the ID of a prediction, use this API to retrieve that prediction specifically. + Retrieve all the predictions in your Visier solution. - :param id: The ID of the prediction to retrieve. (required) - :type id: str + :param id: The IDs of the predictions to retrieve. Default is all predictions. + :type id: List[str] :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -10067,7 +10964,7 @@ def prediction_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._prediction_serialize( + _param = self._predictions_serialize( id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -10077,7 +10974,7 @@ def prediction_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PredictionDTO", + '200': "PredictionsDTO", } response_data = self.api_client.call_api( *_param, @@ -10086,7 +10983,7 @@ def prediction_without_preload_content( return response_data.response - def _prediction_serialize( + def _predictions_serialize( self, id, target_tenant_id, @@ -10099,6 +10996,7 @@ def _prediction_serialize( _host = None _collection_formats: Dict[str, str] = { + 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -10111,9 +11009,11 @@ def _prediction_serialize( _body_params: Optional[bytes] = None # process the path parameters - if id is not None: - _path_params['id'] = id # process the query parameters + if id is not None: + + _query_params.append(('id', id)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id @@ -10141,7 +11041,7 @@ def _prediction_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/predictions/{id}', + resource_path='/v1/data/model/predictions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -10158,9 +11058,10 @@ def _prediction_serialize( @validate_call - def predictions( + def properties( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the predictions to retrieve. Default is all predictions.")] = None, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the properties to retrieve. Default is all properties.")] = None, 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, _request_timeout: Union[ None, @@ -10174,12 +11075,14 @@ def predictions( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PredictionsDTO: - """Retrieve a list of predictions + ) -> PropertiesDTO: + """Retrieve a list of properties - Retrieve all the predictions in your Visier solution. + Retrieve a list of properties for a specific analytic object. - :param id: The IDs of the predictions to retrieve. Default is all predictions. + :param object_id: The ID of the analytic object to retrieve. (required) + :type object_id: str + :param id: The IDs of the properties to retrieve. Default is all properties. :type id: List[str] :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. :type target_tenant_id: str @@ -10205,7 +11108,8 @@ def predictions( :return: Returns the result object. """ # noqa: E501 - _param = self._predictions_serialize( + _param = self._properties_serialize( + object_id=object_id, id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -10215,7 +11119,7 @@ def predictions( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PredictionsDTO", + '200': "PropertiesDTO", } response_data = self.api_client.call_api( *_param, @@ -10229,9 +11133,10 @@ def predictions( @validate_call - def predictions_with_http_info( + def properties_with_http_info( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the predictions to retrieve. Default is all predictions.")] = None, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the properties to retrieve. Default is all properties.")] = None, 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, _request_timeout: Union[ None, @@ -10245,12 +11150,14 @@ def predictions_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PredictionsDTO]: - """Retrieve a list of predictions + ) -> ApiResponse[PropertiesDTO]: + """Retrieve a list of properties - Retrieve all the predictions in your Visier solution. + Retrieve a list of properties for a specific analytic object. - :param id: The IDs of the predictions to retrieve. Default is all predictions. + :param object_id: The ID of the analytic object to retrieve. (required) + :type object_id: str + :param id: The IDs of the properties to retrieve. Default is all properties. :type id: List[str] :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. :type target_tenant_id: str @@ -10276,7 +11183,8 @@ def predictions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._predictions_serialize( + _param = self._properties_serialize( + object_id=object_id, id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -10286,7 +11194,7 @@ def predictions_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PredictionsDTO", + '200': "PropertiesDTO", } response_data = self.api_client.call_api( *_param, @@ -10300,9 +11208,10 @@ def predictions_with_http_info( @validate_call - def predictions_without_preload_content( + def properties_without_preload_content( self, - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the predictions to retrieve. Default is all predictions.")] = None, + object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], + id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the properties to retrieve. Default is all properties.")] = None, 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, _request_timeout: Union[ None, @@ -10317,11 +11226,13 @@ def predictions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of predictions + """Retrieve a list of properties - Retrieve all the predictions in your Visier solution. + Retrieve a list of properties for a specific analytic object. - :param id: The IDs of the predictions to retrieve. Default is all predictions. + :param object_id: The ID of the analytic object to retrieve. (required) + :type object_id: str + :param id: The IDs of the properties to retrieve. Default is all properties. :type id: List[str] :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. :type target_tenant_id: str @@ -10347,7 +11258,8 @@ def predictions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._predictions_serialize( + _param = self._properties_serialize( + object_id=object_id, id=id, target_tenant_id=target_tenant_id, _request_auth=_request_auth, @@ -10357,7 +11269,7 @@ def predictions_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PredictionsDTO", + '200': "PropertiesDTO", } response_data = self.api_client.call_api( *_param, @@ -10366,8 +11278,9 @@ def predictions_without_preload_content( return response_data.response - def _predictions_serialize( + def _properties_serialize( self, + object_id, id, target_tenant_id, _request_auth, @@ -10392,6 +11305,8 @@ def _predictions_serialize( _body_params: Optional[bytes] = None # process the path parameters + if object_id is not None: + _path_params['objectId'] = object_id # process the query parameters if id is not None: @@ -10424,7 +11339,7 @@ def _predictions_serialize( return self.api_client.param_serialize( method='GET', - resource_path='/v1/data/model/predictions', + resource_path='/v1/data/model/analytic-objects/{objectId}/properties', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -10441,11 +11356,11 @@ def _predictions_serialize( @validate_call - def properties( + def put_properties( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the properties to retrieve. Default is all properties.")] = None, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -10458,17 +11373,17 @@ def properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PropertiesDTO: - """Retrieve a list of properties + ) -> ObjectsBulkChangeResponseDTO: + """Replace properties - Retrieve a list of properties for a specific analytic object. + Update existing properties by replacing their entire definition. The definition in your API call replaces the property's prior definition. You must provide the entire definition in the PUT call. If you omit values from the update request, those values are removed from the property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. - :param object_id: The ID of the analytic object to retrieve. (required) - :type object_id: str - :param id: The IDs of the properties to retrieve. Default is all properties. - :type id: List[str] + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -10491,10 +11406,10 @@ def properties( :return: Returns the result object. """ # noqa: E501 - _param = self._properties_serialize( - object_id=object_id, - id=id, + _param = self._put_properties_serialize( + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -10502,7 +11417,7 @@ def properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PropertiesDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10516,11 +11431,11 @@ def properties( @validate_call - def properties_with_http_info( + def put_properties_with_http_info( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the properties to retrieve. Default is all properties.")] = None, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -10533,17 +11448,17 @@ def properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PropertiesDTO]: - """Retrieve a list of properties + ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: + """Replace properties - Retrieve a list of properties for a specific analytic object. + Update existing properties by replacing their entire definition. The definition in your API call replaces the property's prior definition. You must provide the entire definition in the PUT call. If you omit values from the update request, those values are removed from the property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. - :param object_id: The ID of the analytic object to retrieve. (required) - :type object_id: str - :param id: The IDs of the properties to retrieve. Default is all properties. - :type id: List[str] + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -10566,10 +11481,10 @@ def properties_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._properties_serialize( - object_id=object_id, - id=id, + _param = self._put_properties_serialize( + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -10577,7 +11492,7 @@ def properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PropertiesDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10591,11 +11506,11 @@ def properties_with_http_info( @validate_call - def properties_without_preload_content( + def put_properties_without_preload_content( self, - object_id: Annotated[StrictStr, Field(description="The ID of the analytic object to retrieve.")], - id: Annotated[Optional[List[StrictStr]], Field(description="The IDs of the properties to retrieve. Default is all properties.")] = None, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -10609,16 +11524,16 @@ def properties_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Retrieve a list of properties + """Replace properties - Retrieve a list of properties for a specific analytic object. + Update existing properties by replacing their entire definition. The definition in your API call replaces the property's prior definition. You must provide the entire definition in the PUT call. If you omit values from the update request, those values are removed from the property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. - :param object_id: The ID of the analytic object to retrieve. (required) - :type object_id: str - :param id: The IDs of the properties to retrieve. Default is all properties. - :type id: List[str] + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -10641,10 +11556,10 @@ def properties_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._properties_serialize( - object_id=object_id, - id=id, + _param = self._put_properties_serialize( + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -10652,7 +11567,7 @@ def properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PropertiesDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10661,11 +11576,11 @@ def properties_without_preload_content( return response_data.response - def _properties_serialize( + def _put_properties_serialize( self, - object_id, - id, + properties_change_definitions_dto, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -10675,7 +11590,6 @@ def _properties_serialize( _host = None _collection_formats: Dict[str, str] = { - 'id': 'multi', } _path_params: Dict[str, str] = {} @@ -10688,18 +11602,16 @@ def _properties_serialize( _body_params: Optional[bytes] = None # process the path parameters - if object_id is not None: - _path_params['objectId'] = object_id # process the query parameters - if id is not None: - - _query_params.append(('id', id)) - # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter + if properties_change_definitions_dto is not None: + _body_params = properties_change_definitions_dto # set the HTTP header `Accept` @@ -10710,6 +11622,19 @@ def _properties_serialize( ] ) + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type # authentication setting _auth_settings: List[str] = [ @@ -10721,8 +11646,8 @@ def _properties_serialize( ] return self.api_client.param_serialize( - method='GET', - resource_path='/v1/data/model/analytic-objects/{objectId}/properties', + method='PUT', + resource_path='/v1/data/model/properties', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -10739,9 +11664,9 @@ def _properties_serialize( @validate_call - def put_properties( + def put_vee_sample_question_categories( self, - properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -10756,13 +11681,13 @@ def put_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ObjectsBulkChangeResponseDTO: - """Replace properties + ) -> VeeQuestionCategoriesBulkChangeResponseDTO: + """Update Vee question categories - Update existing properties by replacing their entire definition. The definition in your API call replaces the property's prior definition. You must provide the entire definition in the PUT call. If you omit values from the update request, those values are removed from the property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. + Update existing Vee sample question categories, such as its display name or icon. Administrating tenants can specify the tenant in which to update categories using the `TargetTenantID` header. When updating categories, the category definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values for optional fields from the update request, the values reset to their respective default value. We recommend that you retrieve a category's details before you update the category with new values.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param properties_change_definitions_dto: (required) - :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -10789,8 +11714,8 @@ def put_properties( :return: Returns the result object. """ # noqa: E501 - _param = self._put_properties_serialize( - properties_change_definitions_dto=properties_change_definitions_dto, + _param = self._put_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -10800,7 +11725,7 @@ def put_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ObjectsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10814,9 +11739,9 @@ def put_properties( @validate_call - def put_properties_with_http_info( + def put_vee_sample_question_categories_with_http_info( self, - properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -10831,13 +11756,13 @@ def put_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: - """Replace properties + ) -> ApiResponse[VeeQuestionCategoriesBulkChangeResponseDTO]: + """Update Vee question categories - Update existing properties by replacing their entire definition. The definition in your API call replaces the property's prior definition. You must provide the entire definition in the PUT call. If you omit values from the update request, those values are removed from the property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. + Update existing Vee sample question categories, such as its display name or icon. Administrating tenants can specify the tenant in which to update categories using the `TargetTenantID` header. When updating categories, the category definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values for optional fields from the update request, the values reset to their respective default value. We recommend that you retrieve a category's details before you update the category with new values.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param properties_change_definitions_dto: (required) - :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -10864,8 +11789,8 @@ def put_properties_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._put_properties_serialize( - properties_change_definitions_dto=properties_change_definitions_dto, + _param = self._put_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -10875,7 +11800,7 @@ def put_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ObjectsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10889,9 +11814,9 @@ def put_properties_with_http_info( @validate_call - def put_properties_without_preload_content( + def put_vee_sample_question_categories_without_preload_content( self, - properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -10907,12 +11832,12 @@ def put_properties_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Replace properties + """Update Vee question categories - Update existing properties by replacing their entire definition. The definition in your API call replaces the property's prior definition. You must provide the entire definition in the PUT call. If you omit values from the update request, those values are removed from the property. We recommend that you retrieve a property's details before you update the property with new values. This operation does not create new properties if they do not exist. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. To specify the tenant in which to update a property, administrating tenants can provide an analytic tenant code in the `TargetTenantID` request header or `tenantCode` for each property in the request body. To specify the project in which to update properties, provide a project UUID in the `ProjectID` request header or `projectId` for each property in the request body. + Update existing Vee sample question categories, such as its display name or icon. Administrating tenants can specify the tenant in which to update categories using the `TargetTenantID` header. When updating categories, the category definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values for optional fields from the update request, the values reset to their respective default value. We recommend that you retrieve a category's details before you update the category with new values.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param properties_change_definitions_dto: (required) - :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -10939,8 +11864,8 @@ def put_properties_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._put_properties_serialize( - properties_change_definitions_dto=properties_change_definitions_dto, + _param = self._put_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -10950,7 +11875,7 @@ def put_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ObjectsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -10959,9 +11884,9 @@ def put_properties_without_preload_content( return response_data.response - def _put_properties_serialize( + def _put_vee_sample_question_categories_serialize( self, - properties_change_definitions_dto, + vee_question_categories_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -10993,8 +11918,8 @@ def _put_properties_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if properties_change_definitions_dto is not None: - _body_params = properties_change_definitions_dto + if vee_question_categories_change_definitions_dto is not None: + _body_params = vee_question_categories_change_definitions_dto # set the HTTP header `Accept` @@ -11030,7 +11955,7 @@ def _put_properties_serialize( return self.api_client.param_serialize( method='PUT', - resource_path='/v1/data/model/properties', + resource_path='/v1alpha/data/model/vee/sample-question-categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -11948,10 +12873,11 @@ def _selection_concepts_serialize( @validate_call - def update_analytic_objects( + def update_dimensions( self, - analytic_object_request_dto: AnalyticObjectRequestDTO, + dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -11964,15 +12890,17 @@ def update_analytic_objects( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> BulkChangeResponseDTO: - """Update analytic objects + ) -> ObjectsBulkChangeResponseDTO: + """Update dimensions - Update the details of an analytic object. Supports reverting subjects, events, and internal comparisons to Blueprint. You can revert tenant override objects to Blueprint. If you execute the `revertToBP` operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. - :param analytic_object_request_dto: (required) - :type analytic_object_request_dto: AnalyticObjectRequestDTO + :param dimensions_change_definitions_dto: (required) + :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -11995,9 +12923,10 @@ def update_analytic_objects( :return: Returns the result object. """ # noqa: E501 - _param = self._update_analytic_objects_serialize( - analytic_object_request_dto=analytic_object_request_dto, + _param = self._update_dimensions_serialize( + dimensions_change_definitions_dto=dimensions_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -12005,7 +12934,7 @@ def update_analytic_objects( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12019,10 +12948,11 @@ def update_analytic_objects( @validate_call - def update_analytic_objects_with_http_info( + def update_dimensions_with_http_info( self, - analytic_object_request_dto: AnalyticObjectRequestDTO, + dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -12035,15 +12965,17 @@ def update_analytic_objects_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[BulkChangeResponseDTO]: - """Update analytic objects + ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: + """Update dimensions - Update the details of an analytic object. Supports reverting subjects, events, and internal comparisons to Blueprint. You can revert tenant override objects to Blueprint. If you execute the `revertToBP` operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. - :param analytic_object_request_dto: (required) - :type analytic_object_request_dto: AnalyticObjectRequestDTO + :param dimensions_change_definitions_dto: (required) + :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -12066,9 +12998,10 @@ def update_analytic_objects_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_analytic_objects_serialize( - analytic_object_request_dto=analytic_object_request_dto, + _param = self._update_dimensions_serialize( + dimensions_change_definitions_dto=dimensions_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -12076,7 +13009,7 @@ def update_analytic_objects_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12090,10 +13023,11 @@ def update_analytic_objects_with_http_info( @validate_call - def update_analytic_objects_without_preload_content( + def update_dimensions_without_preload_content( self, - analytic_object_request_dto: AnalyticObjectRequestDTO, + dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -12107,14 +13041,16 @@ def update_analytic_objects_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Update analytic objects + """Update dimensions - Update the details of an analytic object. Supports reverting subjects, events, and internal comparisons to Blueprint. You can revert tenant override objects to Blueprint. If you execute the `revertToBP` operation on a: - Blueprint object: Nothing happens. The object is already the Blueprint version! - Tenant override object: The object reverts to the Blueprint version or, for administrating tenants who revert an analytic tenant's object, the administrating tenant's object version. - Tenant object: The API request fails. The object is unique to your tenant and no Blueprint version exists.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. - :param analytic_object_request_dto: (required) - :type analytic_object_request_dto: AnalyticObjectRequestDTO + :param dimensions_change_definitions_dto: (required) + :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO :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. :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -12137,9 +13073,10 @@ def update_analytic_objects_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_analytic_objects_serialize( - analytic_object_request_dto=analytic_object_request_dto, + _param = self._update_dimensions_serialize( + dimensions_change_definitions_dto=dimensions_change_definitions_dto, target_tenant_id=target_tenant_id, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -12147,7 +13084,7 @@ def update_analytic_objects_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "BulkChangeResponseDTO", + '200': "ObjectsBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12156,10 +13093,11 @@ def update_analytic_objects_without_preload_content( return response_data.response - def _update_analytic_objects_serialize( + def _update_dimensions_serialize( self, - analytic_object_request_dto, + dimensions_change_definitions_dto, target_tenant_id, + project_id, _request_auth, _content_type, _headers, @@ -12185,10 +13123,12 @@ def _update_analytic_objects_serialize( # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if analytic_object_request_dto is not None: - _body_params = analytic_object_request_dto + if dimensions_change_definitions_dto is not None: + _body_params = dimensions_change_definitions_dto # set the HTTP header `Accept` @@ -12223,8 +13163,8 @@ def _update_analytic_objects_serialize( ] return self.api_client.param_serialize( - method='PUT', - resource_path='/v2alpha/data/model/analytic-objects', + method='PATCH', + resource_path='/v1/data/model/dimensions', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -12241,11 +13181,11 @@ def _update_analytic_objects_serialize( @validate_call - def update_dimensions( + def update_properties( self, - dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -12259,15 +13199,15 @@ def update_dimensions( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ObjectsBulkChangeResponseDTO: - """Update dimensions + """Update properties - Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. + Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. - :param dimensions_change_definitions_dto: (required) - :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :param project_id: Optionally, specify a project in which to make the request. :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -12291,8 +13231,8 @@ def update_dimensions( :return: Returns the result object. """ # noqa: E501 - _param = self._update_dimensions_serialize( - dimensions_change_definitions_dto=dimensions_change_definitions_dto, + _param = self._update_properties_serialize( + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12316,11 +13256,11 @@ def update_dimensions( @validate_call - def update_dimensions_with_http_info( + def update_properties_with_http_info( self, - dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -12334,15 +13274,15 @@ def update_dimensions_with_http_info( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: - """Update dimensions + """Update properties - Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. + Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. - :param dimensions_change_definitions_dto: (required) - :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :param project_id: Optionally, specify a project in which to make the request. :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -12366,8 +13306,8 @@ def update_dimensions_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_dimensions_serialize( - dimensions_change_definitions_dto=dimensions_change_definitions_dto, + _param = self._update_properties_serialize( + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12391,11 +13331,11 @@ def update_dimensions_with_http_info( @validate_call - def update_dimensions_without_preload_content( + def update_properties_without_preload_content( self, - dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO, + properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, 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, - project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -12409,15 +13349,15 @@ def update_dimensions_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Update dimensions + """Update properties - Change the display name, short display name, and description of one or more dimensions. This API supports updating leveled dimensions. In each API request, update up to 10 dimensions per tenant with a maximum of 500 tenants. + Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. - :param dimensions_change_definitions_dto: (required) - :type dimensions_change_definitions_dto: DimensionsChangeDefinitionsDTO + :param properties_change_definitions_dto: (required) + :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO :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. :type target_tenant_id: str - :param project_id: Optionally, specify a project in which to make the request. If omitted, the request uses the production version. + :param project_id: Optionally, specify a project in which to make the request. :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request @@ -12441,8 +13381,8 @@ def update_dimensions_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_dimensions_serialize( - dimensions_change_definitions_dto=dimensions_change_definitions_dto, + _param = self._update_properties_serialize( + properties_change_definitions_dto=properties_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12461,9 +13401,9 @@ def update_dimensions_without_preload_content( return response_data.response - def _update_dimensions_serialize( + def _update_properties_serialize( self, - dimensions_change_definitions_dto, + properties_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -12495,8 +13435,8 @@ def _update_dimensions_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if dimensions_change_definitions_dto is not None: - _body_params = dimensions_change_definitions_dto + if properties_change_definitions_dto is not None: + _body_params = properties_change_definitions_dto # set the HTTP header `Accept` @@ -12532,7 +13472,7 @@ def _update_dimensions_serialize( return self.api_client.param_serialize( method='PATCH', - resource_path='/v1/data/model/dimensions', + resource_path='/v1/data/model/properties', path_params=_path_params, query_params=_query_params, header_params=_header_params, @@ -12549,9 +13489,9 @@ def _update_dimensions_serialize( @validate_call - def update_properties( + def update_vee_sample_question_categories( self, - properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12566,13 +13506,13 @@ def update_properties( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ObjectsBulkChangeResponseDTO: - """Update properties + ) -> VeeQuestionCategoriesBulkChangeResponseDTO: + """Partially update Vee question categories - Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. + Make partial changes to Vee sample question categories. Administrating tenants can specify the tenant in which to patch categories using the `TargetTenantID` header. Unlike a `PUT` call, which completely replaces the sample question category definition, use `PATCH` to change specific fields in the category without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param properties_change_definitions_dto: (required) - :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12599,8 +13539,8 @@ def update_properties( :return: Returns the result object. """ # noqa: E501 - _param = self._update_properties_serialize( - properties_change_definitions_dto=properties_change_definitions_dto, + _param = self._update_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12610,7 +13550,7 @@ def update_properties( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ObjectsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12624,9 +13564,9 @@ def update_properties( @validate_call - def update_properties_with_http_info( + def update_vee_sample_question_categories_with_http_info( self, - properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12641,13 +13581,13 @@ def update_properties_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[ObjectsBulkChangeResponseDTO]: - """Update properties + ) -> ApiResponse[VeeQuestionCategoriesBulkChangeResponseDTO]: + """Partially update Vee question categories - Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. + Make partial changes to Vee sample question categories. Administrating tenants can specify the tenant in which to patch categories using the `TargetTenantID` header. Unlike a `PUT` call, which completely replaces the sample question category definition, use `PATCH` to change specific fields in the category without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param properties_change_definitions_dto: (required) - :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12674,8 +13614,8 @@ def update_properties_with_http_info( :return: Returns the result object. """ # noqa: E501 - _param = self._update_properties_serialize( - properties_change_definitions_dto=properties_change_definitions_dto, + _param = self._update_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12685,7 +13625,7 @@ def update_properties_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ObjectsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12699,9 +13639,9 @@ def update_properties_with_http_info( @validate_call - def update_properties_without_preload_content( + def update_vee_sample_question_categories_without_preload_content( self, - properties_change_definitions_dto: PropertiesChangeDefinitionsDTO, + vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ @@ -12717,12 +13657,12 @@ def update_properties_without_preload_content( _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, ) -> RESTResponseType: - """Update properties + """Partially update Vee question categories - Change the display name, short display name, and description of one or more properties. In each API request, update up to 10 properties per tenant with a maximum of 500 tenants. + Make partial changes to Vee sample question categories. Administrating tenants can specify the tenant in which to patch categories using the `TargetTenantID` header. Unlike a `PUT` call, which completely replaces the sample question category definition, use `PATCH` to change specific fields in the category without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param properties_change_definitions_dto: (required) - :type properties_change_definitions_dto: PropertiesChangeDefinitionsDTO + :param vee_question_categories_change_definitions_dto: (required) + :type vee_question_categories_change_definitions_dto: VeeQuestionCategoriesChangeDefinitionsDTO :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -12749,8 +13689,8 @@ def update_properties_without_preload_content( :return: Returns the result object. """ # noqa: E501 - _param = self._update_properties_serialize( - properties_change_definitions_dto=properties_change_definitions_dto, + _param = self._update_vee_sample_question_categories_serialize( + vee_question_categories_change_definitions_dto=vee_question_categories_change_definitions_dto, target_tenant_id=target_tenant_id, project_id=project_id, _request_auth=_request_auth, @@ -12760,7 +13700,7 @@ def update_properties_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "ObjectsBulkChangeResponseDTO", + '200': "VeeQuestionCategoriesBulkChangeResponseDTO", } response_data = self.api_client.call_api( *_param, @@ -12769,9 +13709,9 @@ def update_properties_without_preload_content( return response_data.response - def _update_properties_serialize( + def _update_vee_sample_question_categories_serialize( self, - properties_change_definitions_dto, + vee_question_categories_change_definitions_dto, target_tenant_id, project_id, _request_auth, @@ -12803,8 +13743,8 @@ def _update_properties_serialize( _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter - if properties_change_definitions_dto is not None: - _body_params = properties_change_definitions_dto + if vee_question_categories_change_definitions_dto is not None: + _body_params = vee_question_categories_change_definitions_dto # set the HTTP header `Accept` @@ -12840,7 +13780,7 @@ def _update_properties_serialize( return self.api_client.param_serialize( method='PATCH', - resource_path='/v1/data/model/properties', + resource_path='/v1alpha/data/model/vee/sample-question-categories', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py index 05713e887f..1345d86e1a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_query_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_upload_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_upload_api.py index 716a543c5b..e0594b47c6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_upload_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_upload_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py index 51f43a10e7..81adffd0c6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/data_version_export_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_api.py index ba670b89aa..ce107392a9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,8 @@ from pydantic import Field, StrictBool, StrictInt, StrictStr from typing import List, Optional from typing_extensions import Annotated +from visier_platform_sdk.models.career_level_search_input import CareerLevelSearchInput +from visier_platform_sdk.models.career_level_search_output import CareerLevelSearchOutput from visier_platform_sdk.models.dimension_member import DimensionMember from visier_platform_sdk.models.hierarchy import Hierarchy from visier_platform_sdk.models.job_feedback_input import JobFeedbackInput @@ -53,6 +55,7 @@ def get_career_levels( self, job: Annotated[Optional[StrictStr], Field(description="The job member ID. If provided, the response returns the members for the job. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -74,6 +77,8 @@ def get_career_levels( :type job: str :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -99,6 +104,7 @@ def get_career_levels( _param = self._get_career_levels_serialize( job=job, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127,6 +133,7 @@ def get_career_levels_with_http_info( self, job: Annotated[Optional[StrictStr], Field(description="The job member ID. If provided, the response returns the members for the job. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -148,6 +155,8 @@ def get_career_levels_with_http_info( :type job: str :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -173,6 +182,7 @@ def get_career_levels_with_http_info( _param = self._get_career_levels_serialize( job=job, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -201,6 +211,7 @@ def get_career_levels_without_preload_content( self, job: Annotated[Optional[StrictStr], Field(description="The job member ID. If provided, the response returns the members for the job. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -222,6 +233,8 @@ def get_career_levels_without_preload_content( :type job: str :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -247,6 +260,7 @@ def get_career_levels_without_preload_content( _param = self._get_career_levels_serialize( job=job, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -270,6 +284,7 @@ def _get_career_levels_serialize( self, job, has_benchmark_value, + include_archived, _request_auth, _content_type, _headers, @@ -300,6 +315,10 @@ def _get_career_levels_serialize( _query_params.append(('hasBenchmarkValue', has_benchmark_value)) + if include_archived is not None: + + _query_params.append(('includeArchived', include_archived)) + # process the header parameters # process the form parameters # process the body parameter @@ -342,6 +361,7 @@ def get_company_sizes( self, headcount: Annotated[Optional[StrictInt], Field(description="The number of employees. If provided, the response returns the members with the same headcount. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -363,6 +383,8 @@ def get_company_sizes( :type headcount: int :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -388,6 +410,7 @@ def get_company_sizes( _param = self._get_company_sizes_serialize( headcount=headcount, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -416,6 +439,7 @@ def get_company_sizes_with_http_info( self, headcount: Annotated[Optional[StrictInt], Field(description="The number of employees. If provided, the response returns the members with the same headcount. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -437,6 +461,8 @@ def get_company_sizes_with_http_info( :type headcount: int :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -462,6 +488,7 @@ def get_company_sizes_with_http_info( _param = self._get_company_sizes_serialize( headcount=headcount, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -490,6 +517,7 @@ def get_company_sizes_without_preload_content( self, headcount: Annotated[Optional[StrictInt], Field(description="The number of employees. If provided, the response returns the members with the same headcount. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -511,6 +539,8 @@ def get_company_sizes_without_preload_content( :type headcount: int :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -536,6 +566,7 @@ def get_company_sizes_without_preload_content( _param = self._get_company_sizes_serialize( headcount=headcount, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -559,6 +590,7 @@ def _get_company_sizes_serialize( self, headcount, has_benchmark_value, + include_archived, _request_auth, _content_type, _headers, @@ -589,6 +621,10 @@ def _get_company_sizes_serialize( _query_params.append(('hasBenchmarkValue', has_benchmark_value)) + if include_archived is not None: + + _query_params.append(('includeArchived', include_archived)) + # process the header parameters # process the form parameters # process the body parameter @@ -633,6 +669,7 @@ def get_industries( naics_code: Annotated[Optional[StrictStr], Field(description="The North American Industry Classification System (NAICS) code. If provided, the response returns the best matching member associated with the code. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the industry hierarchy. Default is `false`. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -658,6 +695,8 @@ def get_industries( :type show_hierarchy: bool :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -685,6 +724,7 @@ def get_industries( naics_code=naics_code, show_hierarchy=show_hierarchy, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -715,6 +755,7 @@ def get_industries_with_http_info( naics_code: Annotated[Optional[StrictStr], Field(description="The North American Industry Classification System (NAICS) code. If provided, the response returns the best matching member associated with the code. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the industry hierarchy. Default is `false`. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -740,6 +781,8 @@ def get_industries_with_http_info( :type show_hierarchy: bool :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -767,6 +810,7 @@ def get_industries_with_http_info( naics_code=naics_code, show_hierarchy=show_hierarchy, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -797,6 +841,7 @@ def get_industries_without_preload_content( naics_code: Annotated[Optional[StrictStr], Field(description="The North American Industry Classification System (NAICS) code. If provided, the response returns the best matching member associated with the code. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the industry hierarchy. Default is `false`. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -822,6 +867,8 @@ def get_industries_without_preload_content( :type show_hierarchy: bool :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -849,6 +896,7 @@ def get_industries_without_preload_content( naics_code=naics_code, show_hierarchy=show_hierarchy, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -874,6 +922,7 @@ def _get_industries_serialize( naics_code, show_hierarchy, has_benchmark_value, + include_archived, _request_auth, _content_type, _headers, @@ -912,6 +961,10 @@ def _get_industries_serialize( _query_params.append(('hasBenchmarkValue', has_benchmark_value)) + if include_archived is not None: + + _query_params.append(('includeArchived', include_archived)) + # process the header parameters # process the form parameters # process the body parameter @@ -1233,6 +1286,7 @@ def get_jobs( lexical_only: Annotated[Optional[StrictBool], Field(description="If `true`, only lexical search will be used to find matches. Ensure the parameter `semanticOnly` is set to `false`. Default is `false`. By default, both semantic and lexical search are used to find matches. ")] = None, typical_titles_search: Annotated[Optional[StrictBool], Field(description="If `true`, similar job titles for a job member are included in the lexical search for matches. Default is `false`. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the occupation hierarchy. Default is `false`. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1268,6 +1322,8 @@ def get_jobs( :type typical_titles_search: bool :param show_hierarchy: If `true`, returns members in a tree structure based on the occupation hierarchy. Default is `false`. :type show_hierarchy: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1300,6 +1356,7 @@ def get_jobs( lexical_only=lexical_only, typical_titles_search=typical_titles_search, show_hierarchy=show_hierarchy, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1335,6 +1392,7 @@ def get_jobs_with_http_info( lexical_only: Annotated[Optional[StrictBool], Field(description="If `true`, only lexical search will be used to find matches. Ensure the parameter `semanticOnly` is set to `false`. Default is `false`. By default, both semantic and lexical search are used to find matches. ")] = None, typical_titles_search: Annotated[Optional[StrictBool], Field(description="If `true`, similar job titles for a job member are included in the lexical search for matches. Default is `false`. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the occupation hierarchy. Default is `false`. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1370,6 +1428,8 @@ def get_jobs_with_http_info( :type typical_titles_search: bool :param show_hierarchy: If `true`, returns members in a tree structure based on the occupation hierarchy. Default is `false`. :type show_hierarchy: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1402,6 +1462,7 @@ def get_jobs_with_http_info( lexical_only=lexical_only, typical_titles_search=typical_titles_search, show_hierarchy=show_hierarchy, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1437,6 +1498,7 @@ def get_jobs_without_preload_content( lexical_only: Annotated[Optional[StrictBool], Field(description="If `true`, only lexical search will be used to find matches. Ensure the parameter `semanticOnly` is set to `false`. Default is `false`. By default, both semantic and lexical search are used to find matches. ")] = None, typical_titles_search: Annotated[Optional[StrictBool], Field(description="If `true`, similar job titles for a job member are included in the lexical search for matches. Default is `false`. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the occupation hierarchy. Default is `false`. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1472,6 +1534,8 @@ def get_jobs_without_preload_content( :type typical_titles_search: bool :param show_hierarchy: If `true`, returns members in a tree structure based on the occupation hierarchy. Default is `false`. :type show_hierarchy: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1504,6 +1568,7 @@ def get_jobs_without_preload_content( lexical_only=lexical_only, typical_titles_search=typical_titles_search, show_hierarchy=show_hierarchy, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1534,6 +1599,7 @@ def _get_jobs_serialize( lexical_only, typical_titles_search, show_hierarchy, + include_archived, _request_auth, _content_type, _headers, @@ -1592,6 +1658,10 @@ def _get_jobs_serialize( _query_params.append(('showHierarchy', show_hierarchy)) + if include_archived is not None: + + _query_params.append(('includeArchived', include_archived)) + # process the header parameters # process the form parameters # process the body parameter @@ -1637,6 +1707,7 @@ def get_locations( postal_code: Annotated[Optional[StrictStr], Field(description="Postal code to look up. If `postalCode` is provided, `countryCode` is required. Returns location members that match both the country code and postal code. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the location hierarchy. Default is `false`. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1664,6 +1735,8 @@ def get_locations( :type show_hierarchy: bool :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1692,6 +1765,7 @@ def get_locations( postal_code=postal_code, show_hierarchy=show_hierarchy, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1723,6 +1797,7 @@ def get_locations_with_http_info( postal_code: Annotated[Optional[StrictStr], Field(description="Postal code to look up. If `postalCode` is provided, `countryCode` is required. Returns location members that match both the country code and postal code. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the location hierarchy. Default is `false`. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1750,6 +1825,8 @@ def get_locations_with_http_info( :type show_hierarchy: bool :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1778,6 +1855,7 @@ def get_locations_with_http_info( postal_code=postal_code, show_hierarchy=show_hierarchy, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1809,6 +1887,7 @@ def get_locations_without_preload_content( postal_code: Annotated[Optional[StrictStr], Field(description="Postal code to look up. If `postalCode` is provided, `countryCode` is required. Returns location members that match both the country code and postal code. ")] = None, show_hierarchy: Annotated[Optional[StrictBool], Field(description="If `true`, returns members in a tree structure based on the location hierarchy. Default is `false`. ")] = None, has_benchmark_value: Annotated[Optional[StrictBool], Field(description="Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. ")] = None, + include_archived: Annotated[Optional[StrictBool], Field(description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -1836,6 +1915,8 @@ def get_locations_without_preload_content( :type show_hierarchy: bool :param has_benchmark_value: Filter members based on the availability of benchmark values. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. If no value is specified, all members are returned. :type has_benchmark_value: bool + :param include_archived: If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. + :type include_archived: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -1864,6 +1945,7 @@ def get_locations_without_preload_content( postal_code=postal_code, show_hierarchy=show_hierarchy, has_benchmark_value=has_benchmark_value, + include_archived=include_archived, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -1890,6 +1972,7 @@ def _get_locations_serialize( postal_code, show_hierarchy, has_benchmark_value, + include_archived, _request_auth, _content_type, _headers, @@ -1932,6 +2015,10 @@ def _get_locations_serialize( _query_params.append(('hasBenchmarkValue', has_benchmark_value)) + if include_archived is not None: + + _query_params.append(('includeArchived', include_archived)) + # process the header parameters # process the form parameters # process the body parameter @@ -1969,6 +2056,289 @@ def _get_locations_serialize( + @validate_call + def search_career_levels_in_bulk( + self, + career_level_search_input: Annotated[CareerLevelSearchInput, Field(description="A list of requests that contain job IDs to look up. Returns career levels that match. Include the mandatory `jobIDs` field. ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> CareerLevelSearchOutput: + """Get career level members in bulk + + Retrieve career level members in bulk by job IDs. + + :param career_level_search_input: A list of requests that contain job IDs to look up. Returns career levels that match. Include the mandatory `jobIDs` field. (required) + :type career_level_search_input: CareerLevelSearchInput + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._search_career_levels_in_bulk_serialize( + career_level_search_input=career_level_search_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CareerLevelSearchOutput", + '400': "ApiError", + '500': "ApiError", + '504': "ApiError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def search_career_levels_in_bulk_with_http_info( + self, + career_level_search_input: Annotated[CareerLevelSearchInput, Field(description="A list of requests that contain job IDs to look up. Returns career levels that match. Include the mandatory `jobIDs` field. ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[CareerLevelSearchOutput]: + """Get career level members in bulk + + Retrieve career level members in bulk by job IDs. + + :param career_level_search_input: A list of requests that contain job IDs to look up. Returns career levels that match. Include the mandatory `jobIDs` field. (required) + :type career_level_search_input: CareerLevelSearchInput + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._search_career_levels_in_bulk_serialize( + career_level_search_input=career_level_search_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CareerLevelSearchOutput", + '400': "ApiError", + '500': "ApiError", + '504': "ApiError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def search_career_levels_in_bulk_without_preload_content( + self, + career_level_search_input: Annotated[CareerLevelSearchInput, Field(description="A list of requests that contain job IDs to look up. Returns career levels that match. Include the mandatory `jobIDs` field. ")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Get career level members in bulk + + Retrieve career level members in bulk by job IDs. + + :param career_level_search_input: A list of requests that contain job IDs to look up. Returns career levels that match. Include the mandatory `jobIDs` field. (required) + :type career_level_search_input: CareerLevelSearchInput + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._search_career_levels_in_bulk_serialize( + career_level_search_input=career_level_search_input, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "CareerLevelSearchOutput", + '400': "ApiError", + '500': "ApiError", + '504': "ApiError", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _search_career_levels_in_bulk_serialize( + self, + career_level_search_input, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if career_level_search_input is not None: + _body_params = career_level_search_input + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'api_key' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1/compensation-benchmarks/career-levels/search', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + @validate_call def search_jobs( self, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_v2_api.py index 20f9120d1c..b47ee249f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/dimensions_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py index 531db7c1da..13a304a13a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/direct_data_intake_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py index e00b55af47..19e9a32907 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/email_domains_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,6 +17,7 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated +from visier_platform_sdk.models.delete_email_domains_dto import DeleteEmailDomainsDTO from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO from visier_platform_sdk.api_client import ApiClient, RequestSerialized @@ -318,7 +319,7 @@ def _add_allowed_email_domains_serialize( @validate_call def delete_allowed_email_domains( self, - email_domains_dto: EmailDomainsDTO, + delete_email_domains_dto: DeleteEmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -331,13 +332,13 @@ def delete_allowed_email_domains( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> EmailDomainsDTO: + ) -> DeleteEmailDomainsDTO: """Remove domains from the list of allowed domains Delete email address domains from the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param email_domains_dto: (required) - :type email_domains_dto: EmailDomainsDTO + :param delete_email_domains_dto: (required) + :type delete_email_domains_dto: DeleteEmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -361,7 +362,7 @@ def delete_allowed_email_domains( """ # noqa: E501 _param = self._delete_allowed_email_domains_serialize( - email_domains_dto=email_domains_dto, + delete_email_domains_dto=delete_email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -369,7 +370,7 @@ def delete_allowed_email_domains( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmailDomainsDTO", + '200': "DeleteEmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -385,7 +386,7 @@ def delete_allowed_email_domains( @validate_call def delete_allowed_email_domains_with_http_info( self, - email_domains_dto: EmailDomainsDTO, + delete_email_domains_dto: DeleteEmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -398,13 +399,13 @@ def delete_allowed_email_domains_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[EmailDomainsDTO]: + ) -> ApiResponse[DeleteEmailDomainsDTO]: """Remove domains from the list of allowed domains Delete email address domains from the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param email_domains_dto: (required) - :type email_domains_dto: EmailDomainsDTO + :param delete_email_domains_dto: (required) + :type delete_email_domains_dto: DeleteEmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -428,7 +429,7 @@ def delete_allowed_email_domains_with_http_info( """ # noqa: E501 _param = self._delete_allowed_email_domains_serialize( - email_domains_dto=email_domains_dto, + delete_email_domains_dto=delete_email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -436,7 +437,7 @@ def delete_allowed_email_domains_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmailDomainsDTO", + '200': "DeleteEmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -452,7 +453,7 @@ def delete_allowed_email_domains_with_http_info( @validate_call def delete_allowed_email_domains_without_preload_content( self, - email_domains_dto: EmailDomainsDTO, + delete_email_domains_dto: DeleteEmailDomainsDTO, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -470,8 +471,8 @@ def delete_allowed_email_domains_without_preload_content( Delete email address domains from the allowed domains list. The response returns an updated list of allowed email domains.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param email_domains_dto: (required) - :type email_domains_dto: EmailDomainsDTO + :param delete_email_domains_dto: (required) + :type delete_email_domains_dto: DeleteEmailDomainsDTO :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -495,7 +496,7 @@ def delete_allowed_email_domains_without_preload_content( """ # noqa: E501 _param = self._delete_allowed_email_domains_serialize( - email_domains_dto=email_domains_dto, + delete_email_domains_dto=delete_email_domains_dto, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -503,7 +504,7 @@ def delete_allowed_email_domains_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "EmailDomainsDTO", + '200': "DeleteEmailDomainsDTO", } response_data = self.api_client.call_api( *_param, @@ -514,7 +515,7 @@ def delete_allowed_email_domains_without_preload_content( def _delete_allowed_email_domains_serialize( self, - email_domains_dto, + delete_email_domains_dto, _request_auth, _content_type, _headers, @@ -540,8 +541,8 @@ def _delete_allowed_email_domains_serialize( # process the header parameters # process the form parameters # process the body parameter - if email_domains_dto is not None: - _body_params = email_domains_dto + if delete_email_domains_dto is not None: + _body_params = delete_email_domains_dto # set the HTTP header `Accept` diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py index c9863e19be..c0ac673890 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/encryption_keys_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/jobs_library_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/jobs_library_api.py index 63ebe47bd7..c386af8205 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/jobs_library_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/jobs_library_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/metrics_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/metrics_v2_api.py new file mode 100644 index 0000000000..695eb100da --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/api/metrics_v2_api.py @@ -0,0 +1,2307 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr, field_validator +from typing import List, Optional +from typing_extensions import Annotated +from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO +from visier_platform_sdk.models.metric_delete_request_dto import MetricDeleteRequestDTO +from visier_platform_sdk.models.metric_request_dto import MetricRequestDTO +from visier_platform_sdk.models.metric_response_dto import MetricResponseDTO + +from visier_platform_sdk.api_client import ApiClient, RequestSerialized +from visier_platform_sdk.api_response import ApiResponse +from visier_platform_sdk.rest import RESTResponseType + + +class MetricsV2Api: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def create_metrics( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Create metrics + + Create new simple or derived metrics. The response returns whether each metric was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_metrics_with_http_info( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Create metrics + + Create new simple or derived metrics. The response returns whether each metric was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_metrics_without_preload_content( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create metrics + + Create new simple or derived metrics. The response returns whether each metric was successfully created or not. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_metrics_serialize( + self, + metric_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if metric_request_dto is not None: + _body_params = metric_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v2alpha/data/model/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_metrics( + self, + metric_delete_request_dto: MetricDeleteRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Delete metrics + + Delete existing simple or derived metrics. The response returns whether each metric was successfully deleted or not. **Note:** Deleting a base metric will also delete any derived metrics that depend on it. Derived metrics cannot exist without their base metric.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_delete_request_dto: (required) + :type metric_delete_request_dto: MetricDeleteRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_metrics_serialize( + metric_delete_request_dto=metric_delete_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_metrics_with_http_info( + self, + metric_delete_request_dto: MetricDeleteRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Delete metrics + + Delete existing simple or derived metrics. The response returns whether each metric was successfully deleted or not. **Note:** Deleting a base metric will also delete any derived metrics that depend on it. Derived metrics cannot exist without their base metric.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_delete_request_dto: (required) + :type metric_delete_request_dto: MetricDeleteRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_metrics_serialize( + metric_delete_request_dto=metric_delete_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_metrics_without_preload_content( + self, + metric_delete_request_dto: MetricDeleteRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete metrics + + Delete existing simple or derived metrics. The response returns whether each metric was successfully deleted or not. **Note:** Deleting a base metric will also delete any derived metrics that depend on it. Derived metrics cannot exist without their base metric.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_delete_request_dto: (required) + :type metric_delete_request_dto: MetricDeleteRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_metrics_serialize( + metric_delete_request_dto=metric_delete_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_metrics_serialize( + self, + metric_delete_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if metric_delete_request_dto is not None: + _body_params = metric_delete_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v2alpha/data/model/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_all_metrics( + self, + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> MetricResponseDTO: + """Retrieve a list of metrics + + Retrieve a list of all simple or derived metrics in your Visier tenant. By default, the response will return the `basic` representation of the metric definitions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param type: The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics. + :type type: List[str] + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_metrics_serialize( + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_all_metrics_with_http_info( + self, + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[MetricResponseDTO]: + """Retrieve a list of metrics + + Retrieve a list of all simple or derived metrics in your Visier tenant. By default, the response will return the `basic` representation of the metric definitions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param type: The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics. + :type type: List[str] + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_metrics_serialize( + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_all_metrics_without_preload_content( + self, + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a list of metrics + + Retrieve a list of all simple or derived metrics in your Visier tenant. By default, the response will return the `basic` representation of the metric definitions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param type: The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics. + :type type: List[str] + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_all_metrics_serialize( + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_all_metrics_serialize( + self, + type, + var_with, + object_name, + uuid, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'type': 'multi', + 'with': 'multi', + 'objectName': 'multi', + 'uuid': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + if type is not None: + + _query_params.append(('type', type)) + + if var_with is not None: + + _query_params.append(('with', var_with)) + + if object_name is not None: + + _query_params.append(('objectName', object_name)) + + if uuid is not None: + + _query_params.append(('uuid', uuid)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2alpha/data/model/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_analytic_object_metrics( + self, + analytic_object_name: Annotated[StrictStr, Field(description="The object name of the analytic object from which to retrieve metrics.")], + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> MetricResponseDTO: + """Retrieve a list of metrics by analytic object + + Retrieve all the simple or derived metrics for a specific analytic object. By default, the response will return the `basic` representation of the metric definitions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_name: The object name of the analytic object from which to retrieve metrics. (required) + :type analytic_object_name: str + :param type: The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics. + :type type: List[str] + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_analytic_object_metrics_serialize( + analytic_object_name=analytic_object_name, + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_analytic_object_metrics_with_http_info( + self, + analytic_object_name: Annotated[StrictStr, Field(description="The object name of the analytic object from which to retrieve metrics.")], + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[MetricResponseDTO]: + """Retrieve a list of metrics by analytic object + + Retrieve all the simple or derived metrics for a specific analytic object. By default, the response will return the `basic` representation of the metric definitions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_name: The object name of the analytic object from which to retrieve metrics. (required) + :type analytic_object_name: str + :param type: The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics. + :type type: List[str] + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_analytic_object_metrics_serialize( + analytic_object_name=analytic_object_name, + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_analytic_object_metrics_without_preload_content( + self, + analytic_object_name: Annotated[StrictStr, Field(description="The object name of the analytic object from which to retrieve metrics.")], + type: Annotated[Optional[List[StrictStr]], Field(description="The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics.")] = None, + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + object_name: Annotated[Optional[List[StrictStr]], Field(description="The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`.")] = None, + uuid: Annotated[Optional[List[StrictStr]], Field(description="The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a list of metrics by analytic object + + Retrieve all the simple or derived metrics for a specific analytic object. By default, the response will return the `basic` representation of the metric definitions.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param analytic_object_name: The object name of the analytic object from which to retrieve metrics. (required) + :type analytic_object_name: str + :param type: The type of the metric to retrieve. Omit to retrieve all supported metric types. Valid values: - `simple`: Retrieves all simple metrics. - `derived`: Retrieves all derived metrics. + :type type: List[str] + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. This is the default. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :param object_name: The metric object names to return in the response. When combined with `uuid`, the results return objects that match either the `objectName` or `uuid`. + :type object_name: List[str] + :param uuid: The metric UUIDs to return in the response. When combined with `objectName`, the results return objects that match either the `objectName` or `uuid`. + :type uuid: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_analytic_object_metrics_serialize( + analytic_object_name=analytic_object_name, + type=type, + var_with=var_with, + object_name=object_name, + uuid=uuid, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_analytic_object_metrics_serialize( + self, + analytic_object_name, + type, + var_with, + object_name, + uuid, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'type': 'multi', + 'with': 'multi', + 'objectName': 'multi', + 'uuid': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if analytic_object_name is not None: + _path_params['analyticObjectName'] = analytic_object_name + # process the query parameters + if type is not None: + + _query_params.append(('type', type)) + + if var_with is not None: + + _query_params.append(('with', var_with)) + + if object_name is not None: + + _query_params.append(('objectName', object_name)) + + if uuid is not None: + + _query_params.append(('uuid', uuid)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2alpha/data/model/analytic-objects/{analyticObjectName}/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_one_metric( + self, + metric_id: Annotated[StrictStr, Field(description="The object name or UUID of the metric to retrieve.")], + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> MetricResponseDTO: + """Retrieve a metric's details + + Retrieve the details of a specific simple or derived metric, such as its metric type and description. By default, the response will return the detailed representation of the metric definition.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_id: The object name or UUID of the metric to retrieve. (required) + :type metric_id: str + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_one_metric_serialize( + metric_id=metric_id, + var_with=var_with, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_one_metric_with_http_info( + self, + metric_id: Annotated[StrictStr, Field(description="The object name or UUID of the metric to retrieve.")], + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[MetricResponseDTO]: + """Retrieve a metric's details + + Retrieve the details of a specific simple or derived metric, such as its metric type and description. By default, the response will return the detailed representation of the metric definition.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_id: The object name or UUID of the metric to retrieve. (required) + :type metric_id: str + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_one_metric_serialize( + metric_id=metric_id, + var_with=var_with, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_one_metric_without_preload_content( + self, + metric_id: Annotated[StrictStr, Field(description="The object name or UUID of the metric to retrieve.")], + var_with: Annotated[Optional[List[StrictStr]], Field(description="The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details.")] = None, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a metric's details + + Retrieve the details of a specific simple or derived metric, such as its metric type and description. By default, the response will return the detailed representation of the metric definition.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_id: The object name or UUID of the metric to retrieve. (required) + :type metric_id: str + :param var_with: The level of information to retrieve for the metric. Valid values: - `basic`: Retrieves the metric's UUID, object name, and basic information. - `details`: Retrieves the `basic` details and additional configurations, such as `visibleInAnalytics`. This is the default. - `version`: Retrieves the object's version information, such as version type and last edited details. + :type var_with: List[str] + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_one_metric_serialize( + metric_id=metric_id, + var_with=var_with, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "MetricResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_one_metric_serialize( + self, + metric_id, + var_with, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + 'with': 'multi', + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if metric_id is not None: + _path_params['metricId'] = metric_id + # process the query parameters + if var_with is not None: + + _query_params.append(('with', var_with)) + + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v2alpha/data/model/metrics/{metricId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def patch_metrics( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Partially update metrics + + Make partial changes to existing simple or derived metrics. The response returns whether each metric was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the metric definition, use `PATCH` to change specific fields in the metric without affecting omitted fields. To replace a metric's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._patch_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def patch_metrics_with_http_info( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Partially update metrics + + Make partial changes to existing simple or derived metrics. The response returns whether each metric was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the metric definition, use `PATCH` to change specific fields in the metric without affecting omitted fields. To replace a metric's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._patch_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def patch_metrics_without_preload_content( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Partially update metrics + + Make partial changes to existing simple or derived metrics. The response returns whether each metric was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. Unlike `PUT`, which completely replaces the metric definition, use `PATCH` to change specific fields in the metric without affecting omitted fields. To replace a metric's entire definition, see the `PUT` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._patch_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _patch_metrics_serialize( + self, + metric_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if metric_request_dto is not None: + _body_params = metric_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='PATCH', + resource_path='/v2alpha/data/model/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def put_metrics( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> BulkChangeResponseDTO: + """Update metrics + + Update existing simple or derived metrics. The response returns whether each metric was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the metric. To partially update a metric, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._put_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def put_metrics_with_http_info( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[BulkChangeResponseDTO]: + """Update metrics + + Update existing simple or derived metrics. The response returns whether each metric was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the metric. To partially update a metric, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._put_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def put_metrics_without_preload_content( + self, + metric_request_dto: MetricRequestDTO, + 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, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update metrics + + Update existing simple or derived metrics. The response returns whether each metric was successfully updated or not. When updating objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PUT` request definition. In `PUT` calls, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the metric. To partially update a metric, see the `PATCH` method.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param metric_request_dto: (required) + :type metric_request_dto: MetricRequestDTO + :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. + :type target_tenant_id: str + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._put_metrics_serialize( + metric_request_dto=metric_request_dto, + target_tenant_id=target_tenant_id, + project_id=project_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "BulkChangeResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _put_metrics_serialize( + self, + metric_request_dto, + target_tenant_id, + project_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + if target_tenant_id is not None: + _header_params['TargetTenantID'] = target_tenant_id + if project_id is not None: + _header_params['ProjectID'] = project_id + # process the form parameters + # process the body parameter + if metric_request_dto is not None: + _body_params = metric_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/v2alpha/data/model/metrics', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py index ee75c68fc0..8297dd5f0d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/network_subnets_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py index 92f70feba9..2451d89fd8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/o_auth2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py index ece6172535..ebc1a6607f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/object_configuration_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py index 6403d8e050..25d7ba4487 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/permissions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -723,6 +723,7 @@ def delete_permissions( tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete permissions from.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -748,6 +749,8 @@ def delete_permissions( :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. :type project_id: str + :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). + :type non_versioned: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -775,6 +778,7 @@ def delete_permissions( tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, + non_versioned=non_versioned, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -802,6 +806,7 @@ def delete_permissions_with_http_info( tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete permissions from.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -827,6 +832,8 @@ def delete_permissions_with_http_info( :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. :type project_id: str + :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). + :type non_versioned: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -854,6 +861,7 @@ def delete_permissions_with_http_info( tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, + non_versioned=non_versioned, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -881,6 +889,7 @@ def delete_permissions_without_preload_content( tenant_code: Annotated[Optional[StrictStr], Field(description="Specify the tenant to delete permissions from.")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, + non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -906,6 +915,8 @@ def delete_permissions_without_preload_content( :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. :type project_id: str + :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). + :type non_versioned: bool :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -933,6 +944,7 @@ def delete_permissions_without_preload_content( tenant_code=tenant_code, target_tenant_id=target_tenant_id, project_id=project_id, + non_versioned=non_versioned, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -955,6 +967,7 @@ def _delete_permissions_serialize( tenant_code, target_tenant_id, project_id, + non_versioned, _request_auth, _content_type, _headers, @@ -986,6 +999,8 @@ def _delete_permissions_serialize( _header_params['TargetTenantID'] = target_tenant_id if project_id is not None: _header_params['ProjectID'] = project_id + if non_versioned is not None: + _header_params['NonVersioned'] = non_versioned # process the form parameters # process the body parameter if delete_permissions_request_dto is not None: diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/personalized_alerts_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/personalized_alerts_api.py new file mode 100644 index 0000000000..8008397782 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/api/personalized_alerts_api.py @@ -0,0 +1,1938 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + +import warnings +from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt +from typing import Any, Dict, List, Optional, Tuple, Union +from typing_extensions import Annotated + +from pydantic import Field, StrictStr +from typing_extensions import Annotated +from visier_platform_sdk.models.create_event_alert_request_dto import CreateEventAlertRequestDTO +from visier_platform_sdk.models.event_alert_dto import EventAlertDTO +from visier_platform_sdk.models.event_alert_delete_success_dto import EventAlertDeleteSuccessDTO +from visier_platform_sdk.models.event_alert_notification_results_dto import EventAlertNotificationResultsDTO +from visier_platform_sdk.models.get_event_alerts_response_dto import GetEventAlertsResponseDTO +from visier_platform_sdk.models.update_event_alert_recipient_status_dto import UpdateEventAlertRecipientStatusDTO + +from visier_platform_sdk.api_client import ApiClient, RequestSerialized +from visier_platform_sdk.api_response import ApiResponse +from visier_platform_sdk.rest import RESTResponseType + + +class PersonalizedAlertsApi: + """NOTE: This class is auto generated by OpenAPI Generator + Ref: https://openapi-generator.tech + + Do not edit the class manually. + """ + + def __init__(self, api_client=None) -> None: + if api_client is None: + api_client = ApiClient.get_default() + self.api_client = api_client + + + @validate_call + def create_alert( + self, + create_event_alert_request_dto: CreateEventAlertRequestDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EventAlertDTO: + """Create a personalized alert + + Create a new personalized alert. In the request body, define the alert’s display name and its trigger criteria, including the metric, filters, time periods, and threshold value.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param create_event_alert_request_dto: (required) + :type create_event_alert_request_dto: CreateEventAlertRequestDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_alert_serialize( + create_event_alert_request_dto=create_event_alert_request_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def create_alert_with_http_info( + self, + create_event_alert_request_dto: CreateEventAlertRequestDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EventAlertDTO]: + """Create a personalized alert + + Create a new personalized alert. In the request body, define the alert’s display name and its trigger criteria, including the metric, filters, time periods, and threshold value.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param create_event_alert_request_dto: (required) + :type create_event_alert_request_dto: CreateEventAlertRequestDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_alert_serialize( + create_event_alert_request_dto=create_event_alert_request_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def create_alert_without_preload_content( + self, + create_event_alert_request_dto: CreateEventAlertRequestDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Create a personalized alert + + Create a new personalized alert. In the request body, define the alert’s display name and its trigger criteria, including the metric, filters, time periods, and threshold value.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param create_event_alert_request_dto: (required) + :type create_event_alert_request_dto: CreateEventAlertRequestDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._create_alert_serialize( + create_event_alert_request_dto=create_event_alert_request_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _create_alert_serialize( + self, + create_event_alert_request_dto, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if create_event_alert_request_dto is not None: + _body_params = create_event_alert_request_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='POST', + resource_path='/v1alpha/alerts', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def delete_alert( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EventAlertDeleteSuccessDTO: + """Delete a personalized alert + + Delete a personalized alert. You can only delete alerts that you created. Alternatively, to disable an alert, see `PUT /v1alpha/alerts/{alertId}/recipient-status`. You must know the ID of the alert to delete it. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_alert_serialize( + alert_id=alert_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDeleteSuccessDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def delete_alert_with_http_info( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EventAlertDeleteSuccessDTO]: + """Delete a personalized alert + + Delete a personalized alert. You can only delete alerts that you created. Alternatively, to disable an alert, see `PUT /v1alpha/alerts/{alertId}/recipient-status`. You must know the ID of the alert to delete it. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_alert_serialize( + alert_id=alert_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDeleteSuccessDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def delete_alert_without_preload_content( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Delete a personalized alert + + Delete a personalized alert. You can only delete alerts that you created. Alternatively, to disable an alert, see `PUT /v1alpha/alerts/{alertId}/recipient-status`. You must know the ID of the alert to delete it. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._delete_alert_serialize( + alert_id=alert_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDeleteSuccessDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _delete_alert_serialize( + self, + alert_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if alert_id is not None: + _path_params['alertId'] = alert_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='DELETE', + resource_path='/v1alpha/alerts/{alertId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_alert( + self, + alert_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EventAlertDTO: + """Retrieve a personalized alert + + Get the details of a specific personalized alert. You must know the ID of the alert to retrieve its details. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: (required) + :type alert_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_alert_serialize( + alert_id=alert_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_alert_with_http_info( + self, + alert_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EventAlertDTO]: + """Retrieve a personalized alert + + Get the details of a specific personalized alert. You must know the ID of the alert to retrieve its details. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: (required) + :type alert_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_alert_serialize( + alert_id=alert_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_alert_without_preload_content( + self, + alert_id: StrictStr, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve a personalized alert + + Get the details of a specific personalized alert. You must know the ID of the alert to retrieve its details. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: (required) + :type alert_id: str + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_alert_serialize( + alert_id=alert_id, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_alert_serialize( + self, + alert_id, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if alert_id is not None: + _path_params['alertId'] = alert_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1alpha/alerts/{alertId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_alerts( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> GetEventAlertsResponseDTO: + """Retrieve personalized alerts + + Get all personalized alerts you have access to. The response returns each alert’s ID, creator, and whether the alert is enabled or disabled.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_alerts_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetEventAlertsResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_alerts_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[GetEventAlertsResponseDTO]: + """Retrieve personalized alerts + + Get all personalized alerts you have access to. The response returns each alert’s ID, creator, and whether the alert is enabled or disabled.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_alerts_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetEventAlertsResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_alerts_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve personalized alerts + + Get all personalized alerts you have access to. The response returns each alert’s ID, creator, and whether the alert is enabled or disabled.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_alerts_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "GetEventAlertsResponseDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_alerts_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1alpha/alerts', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def get_notifications( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EventAlertNotificationResultsDTO: + """Retrieve personalized alerts notifications + + Get all the notifications for your active personalized alerts from the last 30 days. For all active alerts, the response returns the date that the alert was triggered and the alert’s trigger criteria.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_notifications_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertNotificationResultsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def get_notifications_with_http_info( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EventAlertNotificationResultsDTO]: + """Retrieve personalized alerts notifications + + Get all the notifications for your active personalized alerts from the last 30 days. For all active alerts, the response returns the date that the alert was triggered and the alert’s trigger criteria.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_notifications_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertNotificationResultsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def get_notifications_without_preload_content( + self, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Retrieve personalized alerts notifications + + Get all the notifications for your active personalized alerts from the last 30 days. For all active alerts, the response returns the date that the alert was triggered and the alert’s trigger criteria.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._get_notifications_serialize( + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertNotificationResultsDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _get_notifications_serialize( + self, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='GET', + resource_path='/v1alpha/alerts/notifications', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def update_alert( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + event_alert_dto: EventAlertDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> EventAlertDTO: + """Update a personalized alert + + Make changes to an existing personalized alert. You can only update alerts that you created. You must know the ID of the alert to update it. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param event_alert_dto: (required) + :type event_alert_dto: EventAlertDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_alert_serialize( + alert_id=alert_id, + event_alert_dto=event_alert_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def update_alert_with_http_info( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + event_alert_dto: EventAlertDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[EventAlertDTO]: + """Update a personalized alert + + Make changes to an existing personalized alert. You can only update alerts that you created. You must know the ID of the alert to update it. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param event_alert_dto: (required) + :type event_alert_dto: EventAlertDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_alert_serialize( + alert_id=alert_id, + event_alert_dto=event_alert_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def update_alert_without_preload_content( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + event_alert_dto: EventAlertDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Update a personalized alert + + Make changes to an existing personalized alert. You can only update alerts that you created. You must know the ID of the alert to update it. To retrieve all alert IDs, see `GET /v1alpha/alerts`.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param event_alert_dto: (required) + :type event_alert_dto: EventAlertDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_alert_serialize( + alert_id=alert_id, + event_alert_dto=event_alert_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "EventAlertDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _update_alert_serialize( + self, + alert_id, + event_alert_dto, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if alert_id is not None: + _path_params['alertId'] = alert_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if event_alert_dto is not None: + _body_params = event_alert_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/v1alpha/alerts/{alertId}', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + + + + @validate_call + def update_recipient_status( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + update_event_alert_recipient_status_dto: UpdateEventAlertRecipientStatusDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> UpdateEventAlertRecipientStatusDTO: + """Enable or disable a personalized alert + + Enable or disable a personalized alert. Disabling an alert removes it from your Home room and future email digests. You can re-enable an alert at any time.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param update_event_alert_recipient_status_dto: (required) + :type update_event_alert_recipient_status_dto: UpdateEventAlertRecipientStatusDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_recipient_status_serialize( + alert_id=alert_id, + update_event_alert_recipient_status_dto=update_event_alert_recipient_status_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UpdateEventAlertRecipientStatusDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ).data + + + @validate_call + def update_recipient_status_with_http_info( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + update_event_alert_recipient_status_dto: UpdateEventAlertRecipientStatusDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> ApiResponse[UpdateEventAlertRecipientStatusDTO]: + """Enable or disable a personalized alert + + Enable or disable a personalized alert. Disabling an alert removes it from your Home room and future email digests. You can re-enable an alert at any time.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param update_event_alert_recipient_status_dto: (required) + :type update_event_alert_recipient_status_dto: UpdateEventAlertRecipientStatusDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_recipient_status_serialize( + alert_id=alert_id, + update_event_alert_recipient_status_dto=update_event_alert_recipient_status_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UpdateEventAlertRecipientStatusDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + response_data.read() + return self.api_client.response_deserialize( + response_data=response_data, + response_types_map=_response_types_map, + ) + + + @validate_call + def update_recipient_status_without_preload_content( + self, + alert_id: Annotated[StrictStr, Field(description="The unique identifier of the alert.")], + update_event_alert_recipient_status_dto: UpdateEventAlertRecipientStatusDTO, + _request_timeout: Union[ + None, + Annotated[StrictFloat, Field(gt=0)], + Tuple[ + Annotated[StrictFloat, Field(gt=0)], + Annotated[StrictFloat, Field(gt=0)] + ] + ] = None, + _request_auth: Optional[Dict[StrictStr, Any]] = None, + _content_type: Optional[StrictStr] = None, + _headers: Optional[Dict[StrictStr, Any]] = None, + _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, + ) -> RESTResponseType: + """Enable or disable a personalized alert + + Enable or disable a personalized alert. Disabling an alert removes it from your Home room and future email digests. You can re-enable an alert at any time.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + + :param alert_id: The unique identifier of the alert. (required) + :type alert_id: str + :param update_event_alert_recipient_status_dto: (required) + :type update_event_alert_recipient_status_dto: UpdateEventAlertRecipientStatusDTO + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :type _request_timeout: int, tuple(int, int), optional + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the + authentication in the spec for a single request. + :type _request_auth: dict, optional + :param _content_type: force content-type for the request. + :type _content_type: str, Optional + :param _headers: set to override the headers for a single + request; this effectively ignores the headers + in the spec for a single request. + :type _headers: dict, optional + :param _host_index: set to override the host_index for a single + request; this effectively ignores the host_index + in the spec for a single request. + :type _host_index: int, optional + :return: Returns the result object. + """ # noqa: E501 + + _param = self._update_recipient_status_serialize( + alert_id=alert_id, + update_event_alert_recipient_status_dto=update_event_alert_recipient_status_dto, + _request_auth=_request_auth, + _content_type=_content_type, + _headers=_headers, + _host_index=_host_index + ) + + _response_types_map: Dict[str, Optional[str]] = { + '200': "UpdateEventAlertRecipientStatusDTO", + } + response_data = self.api_client.call_api( + *_param, + _request_timeout=_request_timeout + ) + return response_data.response + + + def _update_recipient_status_serialize( + self, + alert_id, + update_event_alert_recipient_status_dto, + _request_auth, + _content_type, + _headers, + _host_index, + ) -> RequestSerialized: + + _host = None + + _collection_formats: Dict[str, str] = { + } + + _path_params: Dict[str, str] = {} + _query_params: List[Tuple[str, str]] = [] + _header_params: Dict[str, Optional[str]] = _headers or {} + _form_params: List[Tuple[str, str]] = [] + _files: Dict[ + str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] + ] = {} + _body_params: Optional[bytes] = None + + # process the path parameters + if alert_id is not None: + _path_params['alertId'] = alert_id + # process the query parameters + # process the header parameters + # process the form parameters + # process the body parameter + if update_event_alert_recipient_status_dto is not None: + _body_params = update_event_alert_recipient_status_dto + + + # set the HTTP header `Accept` + if 'Accept' not in _header_params: + _header_params['Accept'] = self.api_client.select_header_accept( + [ + 'application/json' + ] + ) + + # set the HTTP header `Content-Type` + if _content_type: + _header_params['Content-Type'] = _content_type + else: + _default_content_type = ( + self.api_client.select_header_content_type( + [ + 'application/json' + ] + ) + ) + if _default_content_type is not None: + _header_params['Content-Type'] = _default_content_type + + # authentication setting + _auth_settings: List[str] = [ + 'CookieAuth', + 'ApiKeyAuth', + 'OAuth2Auth', + 'OAuth2Auth', + 'BearerAuth' + ] + + return self.api_client.param_serialize( + method='PUT', + resource_path='/v1alpha/alerts/{alertId}/recipient-status', + path_params=_path_params, + query_params=_query_params, + header_params=_header_params, + body=_body_params, + post_params=_form_params, + files=_files, + auth_settings=_auth_settings, + collection_formats=_collection_formats, + _host=_host, + _request_auth=_request_auth + ) + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/pgp_keys_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/pgp_keys_api.py index 916262e64d..d3e8fd241c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/pgp_keys_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/pgp_keys_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/plan_administration_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/plan_administration_api.py index 047b09009a..fd37bbc1d9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/plan_administration_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/plan_administration_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,10 +19,8 @@ from pydantic import Field, StrictStr from typing_extensions import Annotated -from visier_platform_sdk.models.plan_patch_request import PlanPatchRequest -from visier_platform_sdk.models.plan_patch_response import PlanPatchResponse -from visier_platform_sdk.models.plans_patch_request import PlansPatchRequest -from visier_platform_sdk.models.plans_patch_response import PlansPatchResponse +from visier_platform_sdk.models.plan_scenario_patch_request import PlanScenarioPatchRequest +from visier_platform_sdk.models.plan_scenario_patch_response import PlanScenarioPatchResponse from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -45,8 +43,9 @@ def __init__(self, api_client=None) -> None: @validate_call def patch_plan( self, - plan_id: Annotated[StrictStr, Field(description="The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan.")], - plan_patch_request: PlanPatchRequest, + plan_id: Annotated[StrictStr, Field(description="The unique identifier of the main plan or subplan. Use the main plan ID for consolidating, starting collaboration, or ending collaboration. Otherwise, use the subplan ID.")], + scenario_id: Annotated[StrictStr, Field(description="The unique identifier of the plan scenario.")], + plan_scenario_patch_request: PlanScenarioPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -59,15 +58,17 @@ def patch_plan( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlanPatchResponse: + ) -> PlanScenarioPatchResponse: """Partially update a subplan - Make partial changes to an existing subplan, such as consolidating or reopening it. The response returns whether the subplan was successfully patched or not. You must know the ID of the subplan to update it. To retrieve subplan IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Make partial changes to existing subplans. The response returns whether each subplan was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. To retrieve main plan or subplan IDs and scenario IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param plan_id: The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan. (required) + :param plan_id: The unique identifier of the main plan or subplan. Use the main plan ID for consolidating, starting collaboration, or ending collaboration. Otherwise, use the subplan ID. (required) :type plan_id: str - :param plan_patch_request: (required) - :type plan_patch_request: PlanPatchRequest + :param scenario_id: The unique identifier of the plan scenario. (required) + :type scenario_id: str + :param plan_scenario_patch_request: (required) + :type plan_scenario_patch_request: PlanScenarioPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -92,7 +93,8 @@ def patch_plan( _param = self._patch_plan_serialize( plan_id=plan_id, - plan_patch_request=plan_patch_request, + scenario_id=scenario_id, + plan_scenario_patch_request=plan_scenario_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -100,7 +102,7 @@ def patch_plan( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanPatchResponse", + '200': "PlanScenarioPatchResponse", '500': "Status", '400': "ErrorSummary", '404': "ErrorSummary", @@ -119,8 +121,9 @@ def patch_plan( @validate_call def patch_plan_with_http_info( self, - plan_id: Annotated[StrictStr, Field(description="The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan.")], - plan_patch_request: PlanPatchRequest, + plan_id: Annotated[StrictStr, Field(description="The unique identifier of the main plan or subplan. Use the main plan ID for consolidating, starting collaboration, or ending collaboration. Otherwise, use the subplan ID.")], + scenario_id: Annotated[StrictStr, Field(description="The unique identifier of the plan scenario.")], + plan_scenario_patch_request: PlanScenarioPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -133,15 +136,17 @@ def patch_plan_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlanPatchResponse]: + ) -> ApiResponse[PlanScenarioPatchResponse]: """Partially update a subplan - Make partial changes to an existing subplan, such as consolidating or reopening it. The response returns whether the subplan was successfully patched or not. You must know the ID of the subplan to update it. To retrieve subplan IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Make partial changes to existing subplans. The response returns whether each subplan was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. To retrieve main plan or subplan IDs and scenario IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param plan_id: The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan. (required) + :param plan_id: The unique identifier of the main plan or subplan. Use the main plan ID for consolidating, starting collaboration, or ending collaboration. Otherwise, use the subplan ID. (required) :type plan_id: str - :param plan_patch_request: (required) - :type plan_patch_request: PlanPatchRequest + :param scenario_id: The unique identifier of the plan scenario. (required) + :type scenario_id: str + :param plan_scenario_patch_request: (required) + :type plan_scenario_patch_request: PlanScenarioPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -166,7 +171,8 @@ def patch_plan_with_http_info( _param = self._patch_plan_serialize( plan_id=plan_id, - plan_patch_request=plan_patch_request, + scenario_id=scenario_id, + plan_scenario_patch_request=plan_scenario_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -174,7 +180,7 @@ def patch_plan_with_http_info( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanPatchResponse", + '200': "PlanScenarioPatchResponse", '500': "Status", '400': "ErrorSummary", '404': "ErrorSummary", @@ -193,8 +199,9 @@ def patch_plan_with_http_info( @validate_call def patch_plan_without_preload_content( self, - plan_id: Annotated[StrictStr, Field(description="The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan.")], - plan_patch_request: PlanPatchRequest, + plan_id: Annotated[StrictStr, Field(description="The unique identifier of the main plan or subplan. Use the main plan ID for consolidating, starting collaboration, or ending collaboration. Otherwise, use the subplan ID.")], + scenario_id: Annotated[StrictStr, Field(description="The unique identifier of the plan scenario.")], + plan_scenario_patch_request: PlanScenarioPatchRequest, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -210,12 +217,14 @@ def patch_plan_without_preload_content( ) -> RESTResponseType: """Partially update a subplan - Make partial changes to an existing subplan, such as consolidating or reopening it. The response returns whether the subplan was successfully patched or not. You must know the ID of the subplan to update it. To retrieve subplan IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Make partial changes to existing subplans. The response returns whether each subplan was successfully patched or not. When patching objects, we recommend that you first retrieve the object definition using `GET`. You can use the `GET` response in your `PATCH` request definition. To retrieve main plan or subplan IDs and scenario IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - :param plan_id: The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan. (required) + :param plan_id: The unique identifier of the main plan or subplan. Use the main plan ID for consolidating, starting collaboration, or ending collaboration. Otherwise, use the subplan ID. (required) :type plan_id: str - :param plan_patch_request: (required) - :type plan_patch_request: PlanPatchRequest + :param scenario_id: The unique identifier of the plan scenario. (required) + :type scenario_id: str + :param plan_scenario_patch_request: (required) + :type plan_scenario_patch_request: PlanScenarioPatchRequest :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -240,7 +249,8 @@ def patch_plan_without_preload_content( _param = self._patch_plan_serialize( plan_id=plan_id, - plan_patch_request=plan_patch_request, + scenario_id=scenario_id, + plan_scenario_patch_request=plan_scenario_patch_request, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -248,7 +258,7 @@ def patch_plan_without_preload_content( ) _response_types_map: Dict[str, Optional[str]] = { - '200': "PlanPatchResponse", + '200': "PlanScenarioPatchResponse", '500': "Status", '400': "ErrorSummary", '404': "ErrorSummary", @@ -263,7 +273,8 @@ def patch_plan_without_preload_content( def _patch_plan_serialize( self, plan_id, - plan_patch_request, + scenario_id, + plan_scenario_patch_request, _request_auth, _content_type, _headers, @@ -287,12 +298,14 @@ def _patch_plan_serialize( # process the path parameters if plan_id is not None: _path_params['planId'] = plan_id + if scenario_id is not None: + _path_params['scenarioId'] = scenario_id # process the query parameters # process the header parameters # process the form parameters # process the body parameter - if plan_patch_request is not None: - _body_params = plan_patch_request + if plan_scenario_patch_request is not None: + _body_params = plan_scenario_patch_request # set the HTTP header `Accept` @@ -328,291 +341,7 @@ def _patch_plan_serialize( return self.api_client.param_serialize( method='PATCH', - resource_path='/v1alpha/planning/data/plans/{planId}', - path_params=_path_params, - query_params=_query_params, - header_params=_header_params, - body=_body_params, - post_params=_form_params, - files=_files, - auth_settings=_auth_settings, - collection_formats=_collection_formats, - _host=_host, - _request_auth=_request_auth - ) - - - - - @validate_call - def patch_plans( - self, - plans_patch_request: PlansPatchRequest, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> PlansPatchResponse: - """Partially update subplans - - Make partial changes to existing subplans, such as consolidating or reopening them. The response returns whether the subplans were successfully patched or not. You must know the ID of the subplans to update them. To retrieve subplan IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - - :param plans_patch_request: (required) - :type plans_patch_request: PlansPatchRequest - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._patch_plans_serialize( - plans_patch_request=plans_patch_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "PlansPatchResponse", - '500': "Status", - '400': "ErrorSummary", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ).data - - - @validate_call - def patch_plans_with_http_info( - self, - plans_patch_request: PlansPatchRequest, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[PlansPatchResponse]: - """Partially update subplans - - Make partial changes to existing subplans, such as consolidating or reopening them. The response returns whether the subplans were successfully patched or not. You must know the ID of the subplans to update them. To retrieve subplan IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - - :param plans_patch_request: (required) - :type plans_patch_request: PlansPatchRequest - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._patch_plans_serialize( - plans_patch_request=plans_patch_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "PlansPatchResponse", - '500': "Status", - '400': "ErrorSummary", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - response_data.read() - return self.api_client.response_deserialize( - response_data=response_data, - response_types_map=_response_types_map, - ) - - - @validate_call - def patch_plans_without_preload_content( - self, - plans_patch_request: PlansPatchRequest, - _request_timeout: Union[ - None, - Annotated[StrictFloat, Field(gt=0)], - Tuple[ - Annotated[StrictFloat, Field(gt=0)], - Annotated[StrictFloat, Field(gt=0)] - ] - ] = None, - _request_auth: Optional[Dict[StrictStr, Any]] = None, - _content_type: Optional[StrictStr] = None, - _headers: Optional[Dict[StrictStr, Any]] = None, - _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> RESTResponseType: - """Partially update subplans - - Make partial changes to existing subplans, such as consolidating or reopening them. The response returns whether the subplans were successfully patched or not. You must know the ID of the subplans to update them. To retrieve subplan IDs, see `GET /v1alpha/planning/model/plans`. If the response includes a `parentPlanUuid`, then the plan is a subplan. Use `PATCH` to change specific fields in the subplan without affecting omitted fields.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). - - :param plans_patch_request: (required) - :type plans_patch_request: PlansPatchRequest - :param _request_timeout: timeout setting for this request. If one - number provided, it will be total request - timeout. It can also be a pair (tuple) of - (connection, read) timeouts. - :type _request_timeout: int, tuple(int, int), optional - :param _request_auth: set to override the auth_settings for an a single - request; this effectively ignores the - authentication in the spec for a single request. - :type _request_auth: dict, optional - :param _content_type: force content-type for the request. - :type _content_type: str, Optional - :param _headers: set to override the headers for a single - request; this effectively ignores the headers - in the spec for a single request. - :type _headers: dict, optional - :param _host_index: set to override the host_index for a single - request; this effectively ignores the host_index - in the spec for a single request. - :type _host_index: int, optional - :return: Returns the result object. - """ # noqa: E501 - - _param = self._patch_plans_serialize( - plans_patch_request=plans_patch_request, - _request_auth=_request_auth, - _content_type=_content_type, - _headers=_headers, - _host_index=_host_index - ) - - _response_types_map: Dict[str, Optional[str]] = { - '200': "PlansPatchResponse", - '500': "Status", - '400': "ErrorSummary", - } - response_data = self.api_client.call_api( - *_param, - _request_timeout=_request_timeout - ) - return response_data.response - - - def _patch_plans_serialize( - self, - plans_patch_request, - _request_auth, - _content_type, - _headers, - _host_index, - ) -> RequestSerialized: - - _host = None - - _collection_formats: Dict[str, str] = { - } - - _path_params: Dict[str, str] = {} - _query_params: List[Tuple[str, str]] = [] - _header_params: Dict[str, Optional[str]] = _headers or {} - _form_params: List[Tuple[str, str]] = [] - _files: Dict[ - str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]] - ] = {} - _body_params: Optional[bytes] = None - - # process the path parameters - # process the query parameters - # process the header parameters - # process the form parameters - # process the body parameter - if plans_patch_request is not None: - _body_params = plans_patch_request - - - # set the HTTP header `Accept` - if 'Accept' not in _header_params: - _header_params['Accept'] = self.api_client.select_header_accept( - [ - 'application/json' - ] - ) - - # set the HTTP header `Content-Type` - if _content_type: - _header_params['Content-Type'] = _content_type - else: - _default_content_type = ( - self.api_client.select_header_content_type( - [ - 'application/json' - ] - ) - ) - if _default_content_type is not None: - _header_params['Content-Type'] = _default_content_type - - # authentication setting - _auth_settings: List[str] = [ - 'CookieAuth', - 'ApiKeyAuth', - 'OAuth2Auth', - 'OAuth2Auth', - 'BearerAuth' - ] - - return self.api_client.param_serialize( - method='PATCH', - resource_path='/v1alpha/planning/data/plans', + resource_path='/v1alpha/planning/data/plans/{planId}/scenarios/{scenarioId}', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/plan_data_load_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/plan_data_load_api.py index 33da44610f..8ae573dc7b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/plan_data_load_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/plan_data_load_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -399,7 +399,7 @@ def _plan_data_upload_serialize( return self.api_client.param_serialize( method='PATCH', - resource_path='/v1alpha/planning/data/plans/{planId}/scenarios/{scenarioId}', + resource_path='/v1alpha/planning/data/plans/{planId}/scenarios/{scenarioId}/cells', path_params=_path_params, query_params=_query_params, header_params=_header_params, diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py index 4ad268a70a..9a2d94d440 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/production_versions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py index 91a8f77cee..3c87ad8239 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/profiles_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py index 2ac7c5843d..0ca0b6463d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/projects_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -17,15 +17,14 @@ from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from pydantic import Field, StrictInt, StrictStr -from typing import List, Optional +from pydantic import Field, StrictBytes, StrictInt, StrictStr +from typing import List, Optional, Tuple, Union from typing_extensions import Annotated from visier_platform_sdk.models.get_projects_api_response_dto import GetProjectsAPIResponseDTO from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO from visier_platform_sdk.models.project_dto import ProjectDTO from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO from visier_platform_sdk.models.project_operation_response_dto import ProjectOperationResponseDTO -from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest from visier_platform_sdk.api_client import ApiClient, RequestSerialized from visier_platform_sdk.api_response import ApiResponse @@ -1516,7 +1515,7 @@ def _get_projects_serialize( def put_project_commits( self, project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")], - put_project_commits_request: PutProjectCommitsRequest, + body: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], 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, _request_timeout: Union[ None, @@ -1537,8 +1536,8 @@ def put_project_commits( :param project_id: The unique identifier of the draft project you want to import committed changes into. (required) :type project_id: str - :param put_project_commits_request: (required) - :type put_project_commits_request: PutProjectCommitsRequest + :param body: (required) + :type body: bytearray :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1565,7 +1564,7 @@ def put_project_commits( _param = self._put_project_commits_serialize( project_id=project_id, - put_project_commits_request=put_project_commits_request, + body=body, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1591,7 +1590,7 @@ def put_project_commits( def put_project_commits_with_http_info( self, project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")], - put_project_commits_request: PutProjectCommitsRequest, + body: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], 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, _request_timeout: Union[ None, @@ -1612,8 +1611,8 @@ def put_project_commits_with_http_info( :param project_id: The unique identifier of the draft project you want to import committed changes into. (required) :type project_id: str - :param put_project_commits_request: (required) - :type put_project_commits_request: PutProjectCommitsRequest + :param body: (required) + :type body: bytearray :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1640,7 +1639,7 @@ def put_project_commits_with_http_info( _param = self._put_project_commits_serialize( project_id=project_id, - put_project_commits_request=put_project_commits_request, + body=body, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1666,7 +1665,7 @@ def put_project_commits_with_http_info( def put_project_commits_without_preload_content( self, project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")], - put_project_commits_request: PutProjectCommitsRequest, + body: Union[StrictBytes, StrictStr, Tuple[StrictStr, StrictBytes]], 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, _request_timeout: Union[ None, @@ -1687,8 +1686,8 @@ def put_project_commits_without_preload_content( :param project_id: The unique identifier of the draft project you want to import committed changes into. (required) :type project_id: str - :param put_project_commits_request: (required) - :type put_project_commits_request: PutProjectCommitsRequest + :param body: (required) + :type body: bytearray :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. :type target_tenant_id: str :param _request_timeout: timeout setting for this request. If one @@ -1715,7 +1714,7 @@ def put_project_commits_without_preload_content( _param = self._put_project_commits_serialize( project_id=project_id, - put_project_commits_request=put_project_commits_request, + body=body, target_tenant_id=target_tenant_id, _request_auth=_request_auth, _content_type=_content_type, @@ -1736,7 +1735,7 @@ def put_project_commits_without_preload_content( def _put_project_commits_serialize( self, project_id, - put_project_commits_request, + body, target_tenant_id, _request_auth, _content_type, @@ -1767,8 +1766,16 @@ def _put_project_commits_serialize( _header_params['TargetTenantID'] = target_tenant_id # process the form parameters # process the body parameter - if put_project_commits_request is not None: - _body_params = put_project_commits_request + if body is not None: + # convert to byte array if the input is a file name (str) + if isinstance(body, str): + with open(body, "rb") as _fp: + _body_params = _fp.read() + elif isinstance(body, tuple): + # drop the filename from the tuple + _body_params = body[1] + else: + _body_params = body # set the HTTP header `Accept` @@ -1786,7 +1793,7 @@ def _put_project_commits_serialize( _default_content_type = ( self.api_client.select_header_content_type( [ - 'application/json' + 'application/zip' ] ) ) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py index 9a6caa8f30..11a9967b52 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/release_version_configuration_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py index 35b3c317fc..28e2dd6b5a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/reporting_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py index fd157c4ae5..8522bcedaf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/search_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/sidecar_solutions_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/sidecar_solutions_api.py index 31bd03a25c..e16e212e54 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/sidecar_solutions_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/sidecar_solutions_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -362,7 +362,7 @@ def get_sidecar_solution_settings( ) -> SidecarSolutionSettingsDTO: """Retrieve a sidecar solution's settings - Retrieve the settings for a specific sidecar solution. You must know the solution ID of your sidecar solution. To get the ID, contact Visier Technical Support.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the settings for a specific sidecar solution. You must know the solution ID of your sidecar solution. To get the ID, contact Visier Technical Support.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param application_id: The unique identifier of the solution to configure. (required) :type application_id: str @@ -433,7 +433,7 @@ def get_sidecar_solution_settings_with_http_info( ) -> ApiResponse[SidecarSolutionSettingsDTO]: """Retrieve a sidecar solution's settings - Retrieve the settings for a specific sidecar solution. You must know the solution ID of your sidecar solution. To get the ID, contact Visier Technical Support.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the settings for a specific sidecar solution. You must know the solution ID of your sidecar solution. To get the ID, contact Visier Technical Support.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param application_id: The unique identifier of the solution to configure. (required) :type application_id: str @@ -504,7 +504,7 @@ def get_sidecar_solution_settings_without_preload_content( ) -> RESTResponseType: """Retrieve a sidecar solution's settings - Retrieve the settings for a specific sidecar solution. You must know the solution ID of your sidecar solution. To get the ID, contact Visier Technical Support.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Retrieve the settings for a specific sidecar solution. You must know the solution ID of your sidecar solution. To get the ID, contact Visier Technical Support.
**Note:** This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param application_id: The unique identifier of the solution to configure. (required) :type application_id: str diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/skills_library_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/skills_library_api.py index 3053527a2a..75f660f094 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/skills_library_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/skills_library_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py index 129875ba52..53249ff846 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/source_files_download_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py index 0651955c61..a4337de847 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/sources_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -62,7 +62,7 @@ def put_sources( ) -> SourcesAPIPutResponseDTO: """Import a list of sources - Import a list of sources in ZIP format. The file must be an export from `POST /v1alpha/admin/sources`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Import a list of sources in ZIP format. The file must be an export from `POST /v1beta/admin/sources`. Use this API after making changes in a development environment to copy the changes to your production environment.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param body: (required) :type body: bytearray @@ -137,7 +137,7 @@ def put_sources_with_http_info( ) -> ApiResponse[SourcesAPIPutResponseDTO]: """Import a list of sources - Import a list of sources in ZIP format. The file must be an export from `POST /v1alpha/admin/sources`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Import a list of sources in ZIP format. The file must be an export from `POST /v1beta/admin/sources`. Use this API after making changes in a development environment to copy the changes to your production environment.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param body: (required) :type body: bytearray @@ -212,7 +212,7 @@ def put_sources_without_preload_content( ) -> RESTResponseType: """Import a list of sources - Import a list of sources in ZIP format. The file must be an export from `POST /v1alpha/admin/sources`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). + Import a list of sources in ZIP format. The file must be an export from `POST /v1beta/admin/sources`. Use this API after making changes in a development environment to copy the changes to your production environment.
**Note:** This API is in **beta**. While in beta, APIs are interface-stable and implementation may change without notice. Rarely, interface changes may occur that are not backwards-compatible and require advance communication. If you are interested in using this API, please contact your Customer Success Manager (CSM). :param body: (required) :type body: bytearray diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py index 4a875559dd..b4caf04b7f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/system_status_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py index 32c013b4fa..ae1e0acdb4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v1_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py index 7abba2a41e..58465fc7f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/tenants_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -621,7 +621,7 @@ def _delete_tenant_serialize( @validate_call def list_tenants( self, - limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. Default is 400.")] = None, + limit: Annotated[Optional[StrictInt], Field(description="The limit of analytic tenants to return. Default and maximum are 400.")] = None, start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None, mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, @@ -643,7 +643,7 @@ def list_tenants( Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. - :param limit: The maximum number of tenants to return. Default is 400. + :param limit: The limit of analytic tenants to return. Default and maximum are 400. :type limit: int :param start: The starting index of the first tenant to return. Default is 0. :type start: int @@ -704,7 +704,7 @@ def list_tenants( @validate_call def list_tenants_with_http_info( self, - limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. Default is 400.")] = None, + limit: Annotated[Optional[StrictInt], Field(description="The limit of analytic tenants to return. Default and maximum are 400.")] = None, start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None, mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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,7 +726,7 @@ def list_tenants_with_http_info( Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. - :param limit: The maximum number of tenants to return. Default is 400. + :param limit: The limit of analytic tenants to return. Default and maximum are 400. :type limit: int :param start: The starting index of the first tenant to return. Default is 0. :type start: int @@ -787,7 +787,7 @@ def list_tenants_with_http_info( @validate_call def list_tenants_without_preload_content( self, - limit: Annotated[Optional[StrictInt], Field(description="The maximum number of tenants to return. Default is 400.")] = None, + limit: Annotated[Optional[StrictInt], Field(description="The limit of analytic tenants to return. Default and maximum are 400.")] = None, start: Annotated[Optional[StrictInt], Field(description="The starting index of the first tenant to return. Default is 0.")] = None, mask: Annotated[Optional[StrictStr], Field(description="A list of fields to include in the response, separated by commas. E.g., \"displayName,purchasedModules\"")] = None, 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, @@ -809,7 +809,7 @@ def list_tenants_without_preload_content( Retrieve the full list of analytic tenants managed by you with their current states and the content modules assigned to them, and all other relevant details for the tenants if requested. - :param limit: The maximum number of tenants to return. Default is 400. + :param limit: The limit of analytic tenants to return. Default and maximum are 400. :type limit: int :param start: The starting index of the first tenant to return. Default is 0. :type start: int diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py index bb361e7bbe..c68feb6706 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/user_groups_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -1362,6 +1362,8 @@ def get_user_groups( self, var_with: Annotated[Optional[StrictStr], Field(description="Controls the amount of detail to return in the response. Omit to return basic information. * **permissions**: Include the user group's permissions. * **users**: Include the users in the user group. * **details**: Include all available information.")] = None, limit: Annotated[Optional[StrictInt], Field(description="The number of results to return. The maximum number of user groups to retrieve is 1000. The default is 100.")] = None, + start: Annotated[Optional[StrictInt], Field(description="The index to start retrieving results from, also known as offset. The index begins at 0.")] = None, + display_name_filter: Annotated[Optional[StrictStr], Field(description="The display name filter to narrow the set of user groups to return. This filter must be defined using glob syntax with the following wildcards and is case-sensitive. The value in parentheses is the equivalent hex code, which is used when URL-encoding the filter string: - `'*'` (`%2A`) matches any sequence of characters. - `'?'` (`%3F`) matches a single character. - `' '` (`%20`) matches a space character. Example: - `Sales*` matches any user group that starts with \"Sales\". - `* ?egional * Office` is expressed as `%2A%20%3Fegional%20%2A%20Office` and can have many matches, such as \"Western Regional Support Office\".")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -1386,6 +1388,10 @@ def get_user_groups( :type var_with: str :param limit: The number of results to return. The maximum number of user groups to retrieve is 1000. The default is 100. :type limit: int + :param start: The index to start retrieving results from, also known as offset. The index begins at 0. + :type start: int + :param display_name_filter: The display name filter to narrow the set of user groups to return. This filter must be defined using glob syntax with the following wildcards and is case-sensitive. The value in parentheses is the equivalent hex code, which is used when URL-encoding the filter string: - `'*'` (`%2A`) matches any sequence of characters. - `'?'` (`%3F`) matches a single character. - `' '` (`%20`) matches a space character. Example: - `Sales*` matches any user group that starts with \"Sales\". - `* ?egional * Office` is expressed as `%2A%20%3Fegional%20%2A%20Office` and can have many matches, such as \"Western Regional Support Office\". + :type display_name_filter: str :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1417,6 +1423,8 @@ def get_user_groups( _param = self._get_user_groups_serialize( var_with=var_with, limit=limit, + start=start, + display_name_filter=display_name_filter, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -1445,6 +1453,8 @@ def get_user_groups_with_http_info( self, var_with: Annotated[Optional[StrictStr], Field(description="Controls the amount of detail to return in the response. Omit to return basic information. * **permissions**: Include the user group's permissions. * **users**: Include the users in the user group. * **details**: Include all available information.")] = None, limit: Annotated[Optional[StrictInt], Field(description="The number of results to return. The maximum number of user groups to retrieve is 1000. The default is 100.")] = None, + start: Annotated[Optional[StrictInt], Field(description="The index to start retrieving results from, also known as offset. The index begins at 0.")] = None, + display_name_filter: Annotated[Optional[StrictStr], Field(description="The display name filter to narrow the set of user groups to return. This filter must be defined using glob syntax with the following wildcards and is case-sensitive. The value in parentheses is the equivalent hex code, which is used when URL-encoding the filter string: - `'*'` (`%2A`) matches any sequence of characters. - `'?'` (`%3F`) matches a single character. - `' '` (`%20`) matches a space character. Example: - `Sales*` matches any user group that starts with \"Sales\". - `* ?egional * Office` is expressed as `%2A%20%3Fegional%20%2A%20Office` and can have many matches, such as \"Western Regional Support Office\".")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -1469,6 +1479,10 @@ def get_user_groups_with_http_info( :type var_with: str :param limit: The number of results to return. The maximum number of user groups to retrieve is 1000. The default is 100. :type limit: int + :param start: The index to start retrieving results from, also known as offset. The index begins at 0. + :type start: int + :param display_name_filter: The display name filter to narrow the set of user groups to return. This filter must be defined using glob syntax with the following wildcards and is case-sensitive. The value in parentheses is the equivalent hex code, which is used when URL-encoding the filter string: - `'*'` (`%2A`) matches any sequence of characters. - `'?'` (`%3F`) matches a single character. - `' '` (`%20`) matches a space character. Example: - `Sales*` matches any user group that starts with \"Sales\". - `* ?egional * Office` is expressed as `%2A%20%3Fegional%20%2A%20Office` and can have many matches, such as \"Western Regional Support Office\". + :type display_name_filter: str :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1500,6 +1514,8 @@ def get_user_groups_with_http_info( _param = self._get_user_groups_serialize( var_with=var_with, limit=limit, + start=start, + display_name_filter=display_name_filter, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -1528,6 +1544,8 @@ def get_user_groups_without_preload_content( self, var_with: Annotated[Optional[StrictStr], Field(description="Controls the amount of detail to return in the response. Omit to return basic information. * **permissions**: Include the user group's permissions. * **users**: Include the users in the user group. * **details**: Include all available information.")] = None, limit: Annotated[Optional[StrictInt], Field(description="The number of results to return. The maximum number of user groups to retrieve is 1000. The default is 100.")] = None, + start: Annotated[Optional[StrictInt], Field(description="The index to start retrieving results from, also known as offset. The index begins at 0.")] = None, + display_name_filter: Annotated[Optional[StrictStr], Field(description="The display name filter to narrow the set of user groups to return. This filter must be defined using glob syntax with the following wildcards and is case-sensitive. The value in parentheses is the equivalent hex code, which is used when URL-encoding the filter string: - `'*'` (`%2A`) matches any sequence of characters. - `'?'` (`%3F`) matches a single character. - `' '` (`%20`) matches a space character. Example: - `Sales*` matches any user group that starts with \"Sales\". - `* ?egional * Office` is expressed as `%2A%20%3Fegional%20%2A%20Office` and can have many matches, such as \"Western Regional Support Office\".")] = None, 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, project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, @@ -1552,6 +1570,10 @@ def get_user_groups_without_preload_content( :type var_with: str :param limit: The number of results to return. The maximum number of user groups to retrieve is 1000. The default is 100. :type limit: int + :param start: The index to start retrieving results from, also known as offset. The index begins at 0. + :type start: int + :param display_name_filter: The display name filter to narrow the set of user groups to return. This filter must be defined using glob syntax with the following wildcards and is case-sensitive. The value in parentheses is the equivalent hex code, which is used when URL-encoding the filter string: - `'*'` (`%2A`) matches any sequence of characters. - `'?'` (`%3F`) matches a single character. - `' '` (`%20`) matches a space character. Example: - `Sales*` matches any user group that starts with \"Sales\". - `* ?egional * Office` is expressed as `%2A%20%3Fegional%20%2A%20Office` and can have many matches, such as \"Western Regional Support Office\". + :type display_name_filter: str :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. :type target_tenant_id: str :param project_id: Optionally, specify a project in which to make the request. @@ -1583,6 +1605,8 @@ def get_user_groups_without_preload_content( _param = self._get_user_groups_serialize( var_with=var_with, limit=limit, + start=start, + display_name_filter=display_name_filter, target_tenant_id=target_tenant_id, project_id=project_id, non_versioned=non_versioned, @@ -1606,6 +1630,8 @@ def _get_user_groups_serialize( self, var_with, limit, + start, + display_name_filter, target_tenant_id, project_id, non_versioned, @@ -1639,6 +1665,14 @@ def _get_user_groups_serialize( _query_params.append(('limit', limit)) + if start is not None: + + _query_params.append(('start', start)) + + if display_name_filter is not None: + + _query_params.append(('displayNameFilter', display_name_filter)) + # process the header parameters if target_tenant_id is not None: _header_params['TargetTenantID'] = target_tenant_id diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py index a0ac321041..af758c1029 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/users_v1_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -693,6 +693,8 @@ def assign_permissions( project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + session_based_permissions: Annotated[Optional[StrictBool], Field(description="If `true`, the API call assigns user permissions that are only valid for the specified `SessionRepoId` without creating a new production version. When a user signs in to your application with the `SessionRepoId`, their session-based permissions are valid until the user session ends. Cannot be `true` if `NonVersioned` is `true`. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + session_repo_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a session repository ID to overwrite the user's permissions that are associated with the `SessionRepoId`. Only valid with `SessionBasedPermissions`. If omitted and `SessionBasedPermissions` is `true`, the API creates a new `SessionRepoId`.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -718,6 +720,10 @@ def assign_permissions( :type target_tenant_id: str :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). :type non_versioned: bool + :param session_based_permissions: If `true`, the API call assigns user permissions that are only valid for the specified `SessionRepoId` without creating a new production version. When a user signs in to your application with the `SessionRepoId`, their session-based permissions are valid until the user session ends. Cannot be `true` if `NonVersioned` is `true`. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). + :type session_based_permissions: bool + :param session_repo_id: Optionally, specify a session repository ID to overwrite the user's permissions that are associated with the `SessionRepoId`. Only valid with `SessionBasedPermissions`. If omitted and `SessionBasedPermissions` is `true`, the API creates a new `SessionRepoId`. + :type session_repo_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -745,6 +751,8 @@ def assign_permissions( project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, + session_based_permissions=session_based_permissions, + session_repo_id=session_repo_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -772,6 +780,8 @@ def assign_permissions_with_http_info( project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + session_based_permissions: Annotated[Optional[StrictBool], Field(description="If `true`, the API call assigns user permissions that are only valid for the specified `SessionRepoId` without creating a new production version. When a user signs in to your application with the `SessionRepoId`, their session-based permissions are valid until the user session ends. Cannot be `true` if `NonVersioned` is `true`. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + session_repo_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a session repository ID to overwrite the user's permissions that are associated with the `SessionRepoId`. Only valid with `SessionBasedPermissions`. If omitted and `SessionBasedPermissions` is `true`, the API creates a new `SessionRepoId`.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -797,6 +807,10 @@ def assign_permissions_with_http_info( :type target_tenant_id: str :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). :type non_versioned: bool + :param session_based_permissions: If `true`, the API call assigns user permissions that are only valid for the specified `SessionRepoId` without creating a new production version. When a user signs in to your application with the `SessionRepoId`, their session-based permissions are valid until the user session ends. Cannot be `true` if `NonVersioned` is `true`. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). + :type session_based_permissions: bool + :param session_repo_id: Optionally, specify a session repository ID to overwrite the user's permissions that are associated with the `SessionRepoId`. Only valid with `SessionBasedPermissions`. If omitted and `SessionBasedPermissions` is `true`, the API creates a new `SessionRepoId`. + :type session_repo_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -824,6 +838,8 @@ def assign_permissions_with_http_info( project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, + session_based_permissions=session_based_permissions, + session_repo_id=session_repo_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -851,6 +867,8 @@ def assign_permissions_without_preload_content( project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request. If omitted, the request uses the production version.")] = None, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + session_based_permissions: Annotated[Optional[StrictBool], Field(description="If `true`, the API call assigns user permissions that are only valid for the specified `SessionRepoId` without creating a new production version. When a user signs in to your application with the `SessionRepoId`, their session-based permissions are valid until the user session ends. Cannot be `true` if `NonVersioned` is `true`. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + session_repo_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a session repository ID to overwrite the user's permissions that are associated with the `SessionRepoId`. Only valid with `SessionBasedPermissions`. If omitted and `SessionBasedPermissions` is `true`, the API creates a new `SessionRepoId`.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -876,6 +894,10 @@ def assign_permissions_without_preload_content( :type target_tenant_id: str :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). :type non_versioned: bool + :param session_based_permissions: If `true`, the API call assigns user permissions that are only valid for the specified `SessionRepoId` without creating a new production version. When a user signs in to your application with the `SessionRepoId`, their session-based permissions are valid until the user session ends. Cannot be `true` if `NonVersioned` is `true`. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). + :type session_based_permissions: bool + :param session_repo_id: Optionally, specify a session repository ID to overwrite the user's permissions that are associated with the `SessionRepoId`. Only valid with `SessionBasedPermissions`. If omitted and `SessionBasedPermissions` is `true`, the API creates a new `SessionRepoId`. + :type session_repo_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -903,6 +925,8 @@ def assign_permissions_without_preload_content( project_id=project_id, target_tenant_id=target_tenant_id, non_versioned=non_versioned, + session_based_permissions=session_based_permissions, + session_repo_id=session_repo_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -925,6 +949,8 @@ def _assign_permissions_serialize( project_id, target_tenant_id, non_versioned, + session_based_permissions, + session_repo_id, _request_auth, _content_type, _headers, @@ -954,6 +980,10 @@ def _assign_permissions_serialize( _header_params['TargetTenantID'] = target_tenant_id if non_versioned is not None: _header_params['NonVersioned'] = non_versioned + if session_based_permissions is not None: + _header_params['SessionBasedPermissions'] = session_based_permissions + if session_repo_id is not None: + _header_params['SessionRepoId'] = session_repo_id # process the form parameters # process the body parameter if assign_revoke_permissions_request_dto is not None: diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py index e6fc7e12cc..0283a6dbc3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/users_v2_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/users_v3_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/users_v3_api.py index 5bd1009767..b0e9158dbf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/users_v3_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/users_v3_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -48,6 +48,7 @@ def update_users( user_v3_api_request_dto: UserV3ApiRequestDTO, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -73,6 +74,8 @@ def update_users( :type target_tenant_id: str :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). :type non_versioned: bool + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -100,6 +103,7 @@ def update_users( user_v3_api_request_dto=user_v3_api_request_dto, target_tenant_id=target_tenant_id, non_versioned=non_versioned, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -127,6 +131,7 @@ def update_users_with_http_info( user_v3_api_request_dto: UserV3ApiRequestDTO, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -152,6 +157,8 @@ def update_users_with_http_info( :type target_tenant_id: str :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). :type non_versioned: bool + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -179,6 +186,7 @@ def update_users_with_http_info( user_v3_api_request_dto=user_v3_api_request_dto, target_tenant_id=target_tenant_id, non_versioned=non_versioned, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -206,6 +214,7 @@ def update_users_without_preload_content( user_v3_api_request_dto: UserV3ApiRequestDTO, 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, non_versioned: Annotated[Optional[StrictBool], Field(description="If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM).")] = None, + project_id: Annotated[Optional[StrictStr], Field(description="Optionally, specify a project in which to make the request.")] = None, _request_timeout: Union[ None, Annotated[StrictFloat, Field(gt=0)], @@ -231,6 +240,8 @@ def update_users_without_preload_content( :type target_tenant_id: str :param non_versioned: If `true`, the API call executes on non-versioned artifacts and create/update actions take effect without a new production version. If `false`, the API call executes on versioned artifacts and create/update actions release a new production version. Default is `false`.
**Note:** This header is in **limited availability**. If you are interested in using it, please contact your Customer Success Manager (CSM). :type non_versioned: bool + :param project_id: Optionally, specify a project in which to make the request. + :type project_id: str :param _request_timeout: timeout setting for this request. If one number provided, it will be total request timeout. It can also be a pair (tuple) of @@ -258,6 +269,7 @@ def update_users_without_preload_content( user_v3_api_request_dto=user_v3_api_request_dto, target_tenant_id=target_tenant_id, non_versioned=non_versioned, + project_id=project_id, _request_auth=_request_auth, _content_type=_content_type, _headers=_headers, @@ -280,6 +292,7 @@ def _update_users_serialize( user_v3_api_request_dto, target_tenant_id, non_versioned, + project_id, _request_auth, _content_type, _headers, @@ -309,6 +322,8 @@ def _update_users_serialize( _header_params['TargetTenantID'] = target_tenant_id if non_versioned is not None: _header_params['NonVersioned'] = non_versioned + if project_id is not None: + _header_params['ProjectID'] = project_id # process the form parameters # process the body parameter if user_v3_api_request_dto is not None: diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py index b639af1bf8..bfc3f8331c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/vee_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py b/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py index f264653ec4..cf5ba38a50 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api/webhooks_api.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/api_client.py b/src/visier_platform_sdk/visier_platform_sdk/api_client.py index 77fa9fb756..bc48c7097a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/api_client.py +++ b/src/visier_platform_sdk/visier_platform_sdk/api_client.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -89,7 +89,7 @@ def __init__( self.default_headers[header_name] = header_value self.cookie = cookie # Set default User-Agent. - self.user_agent = 'Visier-SDK/22222222.99201.2050/python' + self.user_agent = 'Visier-SDK/22222222.99200.22144/python' self.client_side_validation = configuration.client_side_validation self.auth_retries = auth_retries diff --git a/src/visier_platform_sdk/visier_platform_sdk/configuration.py b/src/visier_platform_sdk/visier_platform_sdk/configuration.py index 2e455a3bdf..0c97f0468a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/configuration.py +++ b/src/visier_platform_sdk/visier_platform_sdk/configuration.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -479,8 +479,8 @@ def to_debug_report(self): return "Python SDK Debug Report:\n"\ "OS: {env}\n"\ "Python Version: {pyversion}\n"\ - "Version of the API: 22222222.99201.2050\n"\ - "SDK Package Version: 22222222.99201.2050".\ + "Version of the API: 22222222.99200.22144\n"\ + "SDK Package Version: 22222222.99200.22144".\ format(env=sys.platform, pyversion=sys.version) def get_host_settings(self): diff --git a/src/visier_platform_sdk/visier_platform_sdk/exceptions.py b/src/visier_platform_sdk/visier_platform_sdk/exceptions.py index ad6712e994..25b2bb16f4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/exceptions.py +++ b/src/visier_platform_sdk/visier_platform_sdk/exceptions.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py b/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py index a6865cae9f..d9b6304a20 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/__init__.py @@ -6,7 +6,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -39,6 +39,8 @@ from visier_platform_sdk.models.all_users_get_api_response_dto import AllUsersGetAPIResponseDTO from visier_platform_sdk.models.analytic_object_dto import AnalyticObjectDTO from visier_platform_sdk.models.analytic_object_definition_dto import AnalyticObjectDefinitionDTO +from visier_platform_sdk.models.analytic_object_delete_request_dto import AnalyticObjectDeleteRequestDTO +from visier_platform_sdk.models.analytic_object_delete_with_context_dto import AnalyticObjectDeleteWithContextDTO from visier_platform_sdk.models.analytic_object_details_dto import AnalyticObjectDetailsDTO from visier_platform_sdk.models.analytic_object_filter_dto import AnalyticObjectFilterDTO from visier_platform_sdk.models.analytic_object_filter_list_dto import AnalyticObjectFilterListDTO @@ -46,6 +48,9 @@ from visier_platform_sdk.models.analytic_object_reference_dto import AnalyticObjectReferenceDTO from visier_platform_sdk.models.analytic_object_reference_list_dto import AnalyticObjectReferenceListDTO from visier_platform_sdk.models.analytic_object_request_dto import AnalyticObjectRequestDTO +from visier_platform_sdk.models.analytic_object_response_dto import AnalyticObjectResponseDTO +from visier_platform_sdk.models.analytic_object_revert_request_dto import AnalyticObjectRevertRequestDTO +from visier_platform_sdk.models.analytic_object_revert_with_context_dto import AnalyticObjectRevertWithContextDTO from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO from visier_platform_sdk.models.analytic_objects_dto import AnalyticObjectsDTO from visier_platform_sdk.models.any import Any @@ -67,6 +72,7 @@ from visier_platform_sdk.models.batch_tenant_provision_apidto import BatchTenantProvisionAPIDTO from visier_platform_sdk.models.benchmark_info import BenchmarkInfo from visier_platform_sdk.models.benchmark_value import BenchmarkValue +from visier_platform_sdk.models.between_rule_dto import BetweenRuleDTO from visier_platform_sdk.models.big_query_auth_params_dto import BigQueryAuthParamsDTO from visier_platform_sdk.models.big_query_service_account_params_dto import BigQueryServiceAccountParamsDTO from visier_platform_sdk.models.bulk_change_response_dto import BulkChangeResponseDTO @@ -85,6 +91,11 @@ from visier_platform_sdk.models.capability_group_dto import CapabilityGroupDTO from visier_platform_sdk.models.caption_dto import CaptionDTO from visier_platform_sdk.models.caption_list_dto import CaptionListDTO +from visier_platform_sdk.models.career_level_search_failure_output import CareerLevelSearchFailureOutput +from visier_platform_sdk.models.career_level_search_input import CareerLevelSearchInput +from visier_platform_sdk.models.career_level_search_output import CareerLevelSearchOutput +from visier_platform_sdk.models.career_level_search_successful_output import CareerLevelSearchSuccessfulOutput +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO from visier_platform_sdk.models.cell_dto import CellDTO from visier_platform_sdk.models.cell_distribution_bin_dto import CellDistributionBinDTO from visier_platform_sdk.models.cell_distribution_options_dto import CellDistributionOptionsDTO @@ -94,14 +105,15 @@ from visier_platform_sdk.models.cell_set_or_error_dto import CellSetOrErrorDTO from visier_platform_sdk.models.clone_files_into_source_parameters_dto import CloneFilesIntoSourceParametersDTO from visier_platform_sdk.models.cohort_filter_dto import CohortFilterDTO +from visier_platform_sdk.models.collaboration_info import CollaborationInfo from visier_platform_sdk.models.commit_and_publish_operation_response_dto import CommitAndPublishOperationResponseDTO from visier_platform_sdk.models.commit_dto import CommitDTO +from visier_platform_sdk.models.compared_metric_dto import ComparedMetricDTO from visier_platform_sdk.models.concept_configuration_result_dto import ConceptConfigurationResultDTO from visier_platform_sdk.models.concept_definition_dto import ConceptDefinitionDTO from visier_platform_sdk.models.concept_delete_request_dto import ConceptDeleteRequestDTO from visier_platform_sdk.models.concept_delete_with_context_dto import ConceptDeleteWithContextDTO -from visier_platform_sdk.models.concept_reference_dto import ConceptReferenceDTO -from visier_platform_sdk.models.concept_reference_list_dto import ConceptReferenceListDTO +from visier_platform_sdk.models.concept_reference_filter_dto import ConceptReferenceFilterDTO from visier_platform_sdk.models.concept_request_dto import ConceptRequestDTO from visier_platform_sdk.models.concept_response_dto import ConceptResponseDTO from visier_platform_sdk.models.concept_type_details_dto import ConceptTypeDetailsDTO @@ -121,6 +133,7 @@ from visier_platform_sdk.models.consolidated_analytics_job_request_dto import ConsolidatedAnalyticsJobRequestDTO from visier_platform_sdk.models.content_package_dto import ContentPackageDTO from visier_platform_sdk.models.copy_s3_auth_params_dto import CopyS3AuthParamsDTO +from visier_platform_sdk.models.create_event_alert_request_dto import CreateEventAlertRequestDTO from visier_platform_sdk.models.credential_creation_api_response_dto import CredentialCreationAPIResponseDTO from visier_platform_sdk.models.currencies_dto import CurrenciesDTO from visier_platform_sdk.models.currency_dto import CurrencyDTO @@ -160,9 +173,11 @@ from visier_platform_sdk.models.databricks_auth_params_dto import DatabricksAuthParamsDTO from visier_platform_sdk.models.date_range_dto import DateRangeDTO from visier_platform_sdk.models.dayforce_v2_auth_params_dto import DayforceV2AuthParamsDTO +from visier_platform_sdk.models.delete_email_domains_dto import DeleteEmailDomainsDTO from visier_platform_sdk.models.delete_permissions_request_dto import DeletePermissionsRequestDTO from visier_platform_sdk.models.delete_user_group_v2_request import DeleteUserGroupV2Request from visier_platform_sdk.models.dependent_dto import DependentDTO +from visier_platform_sdk.models.derived_metric_details_dto import DerivedMetricDetailsDTO from visier_platform_sdk.models.description_entry import DescriptionEntry from visier_platform_sdk.models.designer_dimension_filter_dto import DesignerDimensionFilterDTO from visier_platform_sdk.models.designer_selection_concept_dto import DesignerSelectionConceptDTO @@ -206,8 +221,15 @@ from visier_platform_sdk.models.dynamic_property_mapping_dto import DynamicPropertyMappingDTO from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO from visier_platform_sdk.models.email_domains_dto import EmailDomainsDTO +from visier_platform_sdk.models.end_collaboration_action_payload import EndCollaborationActionPayload from visier_platform_sdk.models.error_dto import ErrorDTO from visier_platform_sdk.models.error_summary import ErrorSummary +from visier_platform_sdk.models.event_alert_dto import EventAlertDTO +from visier_platform_sdk.models.event_alert_delete_success_dto import EventAlertDeleteSuccessDTO +from visier_platform_sdk.models.event_alert_notification_result_alert_details_dto import EventAlertNotificationResultAlertDetailsDTO +from visier_platform_sdk.models.event_alert_notification_result_dto import EventAlertNotificationResultDTO +from visier_platform_sdk.models.event_alert_notification_results_dto import EventAlertNotificationResultsDTO +from visier_platform_sdk.models.event_alert_trigger_criteria_dto import EventAlertTriggerCriteriaDTO from visier_platform_sdk.models.event_details_dto import EventDetailsDTO from visier_platform_sdk.models.exclude_data_uploads_request import ExcludeDataUploadsRequest from visier_platform_sdk.models.excluded_sources_body import ExcludedSourcesBody @@ -226,7 +248,8 @@ from visier_platform_sdk.models.failed_change_dto import FailedChangeDTO from visier_platform_sdk.models.failed_local_tenant_profile_assignment_dto import FailedLocalTenantProfileAssignmentDTO from visier_platform_sdk.models.failed_local_tenant_profile_revoke_dto import FailedLocalTenantProfileRevokeDTO -from visier_platform_sdk.models.features_for_user_group_dto import FeaturesForUserGroupDTO +from visier_platform_sdk.models.filter_dto import FilterDTO +from visier_platform_sdk.models.fixed_time_type_dto import FixedTimeTypeDTO from visier_platform_sdk.models.fusion_auth_params_dto import FusionAuthParamsDTO from visier_platform_sdk.models.generate_impersonation_token_request import GenerateImpersonationTokenRequest from visier_platform_sdk.models.generate_key_request_dto import GenerateKeyRequestDTO @@ -234,6 +257,7 @@ from visier_platform_sdk.models.get_content_packages_api_response_dto import GetContentPackagesAPIResponseDTO from visier_platform_sdk.models.get_data_access_sets_api_response_dto import GetDataAccessSetsAPIResponseDTO from visier_platform_sdk.models.get_data_security_objects_api_response_dto import GetDataSecurityObjectsAPIResponseDTO +from visier_platform_sdk.models.get_event_alerts_response_dto import GetEventAlertsResponseDTO from visier_platform_sdk.models.get_permissions_api_response_dto import GetPermissionsAPIResponseDTO from visier_platform_sdk.models.get_plan_list_response_dto import GetPlanListResponseDTO from visier_platform_sdk.models.get_production_versions_api_response_dto import GetProductionVersionsAPIResponseDTO @@ -242,6 +266,7 @@ from visier_platform_sdk.models.google_sheets_auth_params_dto import GoogleSheetsAuthParamsDTO from visier_platform_sdk.models.google_workspace_auth_params_dto import GoogleWorkspaceAuthParamsDTO from visier_platform_sdk.models.greenhouse_auth_params_dto import GreenhouseAuthParamsDTO +from visier_platform_sdk.models.grouped_metric_value_threshold_criteria_dto import GroupedMetricValueThresholdCriteriaDTO from visier_platform_sdk.models.hierarchy import Hierarchy from visier_platform_sdk.models.hierarchy_property_dto import HierarchyPropertyDTO from visier_platform_sdk.models.home_analysis_by_user_group_dto import HomeAnalysisByUserGroupDTO @@ -308,8 +333,14 @@ from visier_platform_sdk.models.members_dto import MembersDTO from visier_platform_sdk.models.metric_dto import MetricDTO from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from visier_platform_sdk.models.metric_delete_request_dto import MetricDeleteRequestDTO +from visier_platform_sdk.models.metric_delete_with_context_dto import MetricDeleteWithContextDTO +from visier_platform_sdk.models.metric_filter_parameter_value_dto import MetricFilterParameterValueDTO +from visier_platform_sdk.models.metric_request_dto import MetricRequestDTO +from visier_platform_sdk.models.metric_response_dto import MetricResponseDTO from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO from visier_platform_sdk.models.metric_validation_summary_dto import MetricValidationSummaryDTO +from visier_platform_sdk.models.metric_with_context_dto import MetricWithContextDTO from visier_platform_sdk.models.metrics_dto import MetricsDTO from visier_platform_sdk.models.microsoft365_auth_params_dto import Microsoft365AuthParamsDTO from visier_platform_sdk.models.module_settings_dto import ModuleSettingsDTO @@ -323,6 +354,8 @@ from visier_platform_sdk.models.network_subnets_message_response import NetworkSubnetsMessageResponse from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO +from visier_platform_sdk.models.numeric_range_dto import NumericRangeDTO +from visier_platform_sdk.models.numeric_range_filter_dto import NumericRangeFilterDTO from visier_platform_sdk.models.o_auth2_user_info_dto import OAuth2UserInfoDTO from visier_platform_sdk.models.o_auth2_user_subnet_info_dto import OAuth2UserSubnetInfoDTO from visier_platform_sdk.models.o_auth2_user_tenant_detail_dto import OAuth2UserTenantDetailDTO @@ -334,12 +367,14 @@ from visier_platform_sdk.models.object_reference_dto import ObjectReferenceDTO from visier_platform_sdk.models.objects_bulk_change_response_dto import ObjectsBulkChangeResponseDTO from visier_platform_sdk.models.oracle_db_auth_params_dto import OracleDbAuthParamsDTO +from visier_platform_sdk.models.other_metric_dto import OtherMetricDTO from visier_platform_sdk.models.output_entry import OutputEntry from visier_platform_sdk.models.output_entry1 import OutputEntry1 from visier_platform_sdk.models.output_entry1_matches_inner import OutputEntry1MatchesInner from visier_platform_sdk.models.pair_dto import PairDTO from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO from visier_platform_sdk.models.parent_child_details_dto import ParentChildDetailsDTO +from visier_platform_sdk.models.periods_back_dto import PeriodsBackDTO from visier_platform_sdk.models.permission_assigned_by_tenant_dto import PermissionAssignedByTenantDTO from visier_platform_sdk.models.permission_assigned_for_local_tenant_dto import PermissionAssignedForLocalTenantDTO from visier_platform_sdk.models.permission_assigned_user_dto import PermissionAssignedUserDTO @@ -354,6 +389,7 @@ from visier_platform_sdk.models.permissions_to_user_group_for_tenant_dto import PermissionsToUserGroupForTenantDTO from visier_platform_sdk.models.permissions_to_user_group_request_dto import PermissionsToUserGroupRequestDTO from visier_platform_sdk.models.permissions_to_user_groups_request_dto import PermissionsToUserGroupsRequestDTO +from visier_platform_sdk.models.persisted_cohort_filter_dto import PersistedCohortFilterDTO from visier_platform_sdk.models.perspective_configuration_dto import PerspectiveConfigurationDTO from visier_platform_sdk.models.perspective_node_dto import PerspectiveNodeDTO from visier_platform_sdk.models.plan_data_load_change_dto import PlanDataLoadChangeDTO @@ -364,14 +400,15 @@ from visier_platform_sdk.models.plan_item_dto import PlanItemDTO from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO -from visier_platform_sdk.models.plan_patch_action_result import PlanPatchActionResult from visier_platform_sdk.models.plan_patch_consolidate_action_request import PlanPatchConsolidateActionRequest -from visier_platform_sdk.models.plan_patch_consolidate_action_request_with_plan_id import PlanPatchConsolidateActionRequestWithPlanId +from visier_platform_sdk.models.plan_patch_end_collaboration_action_request import PlanPatchEndCollaborationActionRequest from visier_platform_sdk.models.plan_patch_reopen_action_request import PlanPatchReopenActionRequest -from visier_platform_sdk.models.plan_patch_reopen_action_request_with_plan_id import PlanPatchReopenActionRequestWithPlanId -from visier_platform_sdk.models.plan_patch_request import PlanPatchRequest -from visier_platform_sdk.models.plan_patch_response import PlanPatchResponse +from visier_platform_sdk.models.plan_patch_start_collaboration_action_request import PlanPatchStartCollaborationActionRequest +from visier_platform_sdk.models.plan_patch_submit_action_request import PlanPatchSubmitActionRequest from visier_platform_sdk.models.plan_row_data_load_response_dto import PlanRowDataLoadResponseDTO +from visier_platform_sdk.models.plan_scenario_patch_action_result import PlanScenarioPatchActionResult +from visier_platform_sdk.models.plan_scenario_patch_request import PlanScenarioPatchRequest +from visier_platform_sdk.models.plan_scenario_patch_response import PlanScenarioPatchResponse from visier_platform_sdk.models.plan_schema_dto import PlanSchemaDTO from visier_platform_sdk.models.plan_segment_level_dto import PlanSegmentLevelDTO from visier_platform_sdk.models.plan_segment_level_member_dto import PlanSegmentLevelMemberDTO @@ -385,10 +422,6 @@ from visier_platform_sdk.models.planning_plan_context_dto import PlanningPlanContextDTO from visier_platform_sdk.models.planning_plan_dto import PlanningPlanDTO from visier_platform_sdk.models.planning_plans_dto import PlanningPlansDTO -from visier_platform_sdk.models.plans_patch_request import PlansPatchRequest -from visier_platform_sdk.models.plans_patch_request_plan_item import PlansPatchRequestPlanItem -from visier_platform_sdk.models.plans_patch_response import PlansPatchResponse -from visier_platform_sdk.models.plans_patch_response_action_result import PlansPatchResponseActionResult from visier_platform_sdk.models.population_configuration_dto import PopulationConfigurationDTO from visier_platform_sdk.models.prediction_dto import PredictionDTO from visier_platform_sdk.models.predictions_dto import PredictionsDTO @@ -396,9 +429,13 @@ from visier_platform_sdk.models.process_concept_member_dto import ProcessConceptMemberDTO from visier_platform_sdk.models.process_concept_member_list_dto import ProcessConceptMemberListDTO from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO +from visier_platform_sdk.models.process_concept_metric_details_dto import ProcessConceptMetricDetailsDTO from visier_platform_sdk.models.process_concept_metric_list_dto import ProcessConceptMetricListDTO +from visier_platform_sdk.models.process_concept_metric_type_details_dto import ProcessConceptMetricTypeDetailsDTO from visier_platform_sdk.models.process_concept_outcome_dto import ProcessConceptOutcomeDTO from visier_platform_sdk.models.process_concept_outcome_list_dto import ProcessConceptOutcomeListDTO +from visier_platform_sdk.models.process_concept_property_dto import ProcessConceptPropertyDTO +from visier_platform_sdk.models.process_concept_property_details_dto import ProcessConceptPropertyDetailsDTO from visier_platform_sdk.models.process_concept_property_list_dto import ProcessConceptPropertyListDTO from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO from visier_platform_sdk.models.process_concept_stage_dto import ProcessConceptStageDTO @@ -423,6 +460,7 @@ from visier_platform_sdk.models.profile_assignment_dto import ProfileAssignmentDTO from visier_platform_sdk.models.profile_get_api_response_dto import ProfileGetAPIResponseDTO from visier_platform_sdk.models.profiles_get_api_response_dto import ProfilesGetAPIResponseDTO +from visier_platform_sdk.models.project_commit_dto import ProjectCommitDTO from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO from visier_platform_sdk.models.project_dto import ProjectDTO from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO @@ -456,7 +494,6 @@ from visier_platform_sdk.models.push_data_response import PushDataResponse from visier_platform_sdk.models.push_data_source_definition_dto import PushDataSourceDefinitionDTO from visier_platform_sdk.models.push_data_source_definitions_dto import PushDataSourceDefinitionsDTO -from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest from visier_platform_sdk.models.qualtrics_auth_params_dto import QualtricsAuthParamsDTO from visier_platform_sdk.models.query_axis_dto import QueryAxisDTO from visier_platform_sdk.models.query_axis_options_dto import QueryAxisOptionsDTO @@ -495,6 +532,11 @@ from visier_platform_sdk.models.reduced_tenant_code_error_dto import ReducedTenantCodeErrorDTO from visier_platform_sdk.models.reduced_user_id_error_dto import ReducedUserIdErrorDTO from visier_platform_sdk.models.related_analytic_object_dto import RelatedAnalyticObjectDTO +from visier_platform_sdk.models.relative_time_expression_dto import RelativeTimeExpressionDTO +from visier_platform_sdk.models.relative_time_period_dto import RelativeTimePeriodDTO +from visier_platform_sdk.models.relative_time_selection_dto import RelativeTimeSelectionDTO +from visier_platform_sdk.models.relative_time_shift_dto import RelativeTimeShiftDTO +from visier_platform_sdk.models.relative_to_rule_dto import RelativeToRuleDTO from visier_platform_sdk.models.reopen_action_payload import ReopenActionPayload from visier_platform_sdk.models.report_create_request_dto import ReportCreateRequestDTO from visier_platform_sdk.models.report_dto import ReportDTO @@ -502,12 +544,17 @@ from visier_platform_sdk.models.report_list_response_dto import ReportListResponseDTO from visier_platform_sdk.models.result import Result from visier_platform_sdk.models.role_modules_config_dto import RoleModulesConfigDTO +from visier_platform_sdk.models.rule_dto import RuleDTO +from visier_platform_sdk.models.rule_set_dto import RuleSetDTO +from visier_platform_sdk.models.salary_benchmark_feedback_input import SalaryBenchmarkFeedbackInput from visier_platform_sdk.models.salary_benchmark_input import SalaryBenchmarkInput from visier_platform_sdk.models.salary_benchmarks_batch_processing_failure_output import SalaryBenchmarksBatchProcessingFailureOutput from visier_platform_sdk.models.salary_benchmarks_batch_processing_outputs import SalaryBenchmarksBatchProcessingOutputs from visier_platform_sdk.models.salary_benchmarks_batch_processing_successful_output import SalaryBenchmarksBatchProcessingSuccessfulOutput from visier_platform_sdk.models.salesforce_auth_params_dto import SalesforceAuthParamsDTO from visier_platform_sdk.models.salesforce_v2_auth_params_dto import SalesforceV2AuthParamsDTO +from visier_platform_sdk.models.same_metric_other_context_dto import SameMetricOtherContextDTO +from visier_platform_sdk.models.same_metric_other_time_dto import SameMetricOtherTimeDTO from visier_platform_sdk.models.sample_question_api_response_dto import SampleQuestionAPIResponseDTO from visier_platform_sdk.models.sample_questions_api_response_dto import SampleQuestionsAPIResponseDTO from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO @@ -535,6 +582,7 @@ from visier_platform_sdk.models.sidecar_solution_settings_dto import SidecarSolutionSettingsDTO from visier_platform_sdk.models.simple_document_header_search_response_dto import SimpleDocumentHeaderSearchResponseDTO from visier_platform_sdk.models.simple_document_header_search_result_dto import SimpleDocumentHeaderSearchResultDTO +from visier_platform_sdk.models.simple_metric_details_dto import SimpleMetricDetailsDTO from visier_platform_sdk.models.simple_property_type_dto import SimplePropertyTypeDTO from visier_platform_sdk.models.simple_user_dto import SimpleUserDTO from visier_platform_sdk.models.single_value_setting_dto import SingleValueSettingDTO @@ -559,14 +607,19 @@ from visier_platform_sdk.models.sql_like200_response import SqlLike200Response from visier_platform_sdk.models.sql_like_query_execution_dto import SqlLikeQueryExecutionDTO from visier_platform_sdk.models.sql_server_auth_params_dto import SqlServerAuthParamsDTO +from visier_platform_sdk.models.start_collaboration_action_payload import StartCollaborationActionPayload from visier_platform_sdk.models.start_extraction_response import StartExtractionResponse from visier_platform_sdk.models.start_transfer_response import StartTransferResponse from visier_platform_sdk.models.static_dimension_filter_dto import StaticDimensionFilterDTO from visier_platform_sdk.models.status import Status from visier_platform_sdk.models.subject_details_dto import SubjectDetailsDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto import SubjectMemberSetParameterValueDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_list_of_name_path_dto import SubjectMemberSetParameterValueDTOListOfNamePathDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto import SubjectMemberSetParameterValueDTONamePathDTO from visier_platform_sdk.models.subject_missing_access_dto import SubjectMissingAccessDTO from visier_platform_sdk.models.subject_reference_dto import SubjectReferenceDTO from visier_platform_sdk.models.subject_reference_list_dto import SubjectReferenceListDTO +from visier_platform_sdk.models.submit_action_payload import SubmitActionPayload from visier_platform_sdk.models.success_factors_auth_params_dto import SuccessFactorsAuthParamsDTO from visier_platform_sdk.models.success_factors_o_auth_params_dto import SuccessFactorsOAuthParamsDTO from visier_platform_sdk.models.successful_accessible_tenant_profile_assignment_dto import SuccessfulAccessibleTenantProfileAssignmentDTO @@ -607,9 +660,17 @@ from visier_platform_sdk.models.tenant_provision_apidto import TenantProvisionAPIDTO from visier_platform_sdk.models.tenant_source_files_list_response_dto import TenantSourceFilesListResponseDTO from visier_platform_sdk.models.tenant_status_apidto import TenantStatusAPIDTO +from visier_platform_sdk.models.time_handling_dto import TimeHandlingDTO +from visier_platform_sdk.models.time_period_dto import TimePeriodDTO +from visier_platform_sdk.models.time_period_filter_dto import TimePeriodFilterDTO +from visier_platform_sdk.models.time_period_metadata_dto import TimePeriodMetadataDTO from visier_platform_sdk.models.time_shift_dto import TimeShiftDTO from visier_platform_sdk.models.token_response import TokenResponse +from visier_platform_sdk.models.trigger_criteria_member_result_info_dto import TriggerCriteriaMemberResultInfoDTO +from visier_platform_sdk.models.trigger_criteria_overall_result_info_dto import TriggerCriteriaOverallResultInfoDTO +from visier_platform_sdk.models.trigger_criteria_result_info_dto import TriggerCriteriaResultInfoDTO from visier_platform_sdk.models.ultimate_auth_params_dto import UltimateAuthParamsDTO +from visier_platform_sdk.models.update_event_alert_recipient_status_dto import UpdateEventAlertRecipientStatusDTO from visier_platform_sdk.models.update_tenant_model import UpdateTenantModel from visier_platform_sdk.models.upload_to_exclude import UploadToExclude from visier_platform_sdk.models.upload_to_include import UploadToInclude @@ -664,8 +725,17 @@ from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from visier_platform_sdk.models.vee_detail_data_dto import VeeDetailDataDTO from visier_platform_sdk.models.vee_feedback_dto import VeeFeedbackDTO from visier_platform_sdk.models.vee_options_dto import VeeOptionsDTO +from visier_platform_sdk.models.vee_question_categories_bulk_change_response_dto import VeeQuestionCategoriesBulkChangeResponseDTO +from visier_platform_sdk.models.vee_question_categories_change_definitions_dto import VeeQuestionCategoriesChangeDefinitionsDTO +from visier_platform_sdk.models.vee_question_categories_delete_definitions_dto import VeeQuestionCategoriesDeleteDefinitionsDTO +from visier_platform_sdk.models.vee_question_category_change_definition_dto import VeeQuestionCategoryChangeDefinitionDTO +from visier_platform_sdk.models.vee_question_category_change_definitions_by_tenant_dto import VeeQuestionCategoryChangeDefinitionsByTenantDTO +from visier_platform_sdk.models.vee_question_category_change_failure_dto import VeeQuestionCategoryChangeFailureDTO +from visier_platform_sdk.models.vee_question_category_change_success_dto import VeeQuestionCategoryChangeSuccessDTO +from visier_platform_sdk.models.vee_question_category_delete_definitions_by_tenant_dto import VeeQuestionCategoryDeleteDefinitionsByTenantDTO from visier_platform_sdk.models.vee_question_change_definition_dto import VeeQuestionChangeDefinitionDTO from visier_platform_sdk.models.vee_question_change_definitions_by_tenant_dto import VeeQuestionChangeDefinitionsByTenantDTO from visier_platform_sdk.models.vee_question_change_failure_dto import VeeQuestionChangeFailureDTO @@ -685,6 +755,7 @@ from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO from visier_platform_sdk.models.vee_visual_options_dto import VeeVisualOptionsDTO from visier_platform_sdk.models.version_information_dto import VersionInformationDTO +from visier_platform_sdk.models.visible_for_selection_dto import VisibleForSelectionDTO from visier_platform_sdk.models.webhook_basic_auth_credential_dto import WebhookBasicAuthCredentialDTO from visier_platform_sdk.models.webhook_credentials_dto import WebhookCredentialsDTO from visier_platform_sdk.models.webhook_dto import WebhookDTO diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py index e29bf50a8c..90c8799bc7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py index 0bf3469649..e3ca38431c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py index 9081b8cf21..fc36ac1adc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py index 1929d49f17..a56af66b92 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py index f9047b0131..bd1dabe77e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/additional_capabilities_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py index 3f57a114a9..65437fbee3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/admin_capability_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py index 189ad3ad86..a2c8796892 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/adp_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregate_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregate_query_execution_options_dto.py index 3b568ec578..66690317de 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregate_query_execution_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregate_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py index 712b91fca4..d40fb0c7a2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py index 1be3a07f54..08240e4a84 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py index 21b4e34051..e9a74a5056 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py index 4d4c8259a5..1cfb32b4dd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metric_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py index bc7f478a89..c3054d3a63 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_query_source_metrics_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py index 6a5846ceb1..4e0a98916f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_option_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py index 1492d37da6..dedd2bde66 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py index 6230ce638c..d85d5be0c6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/aggregation_type_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,8 +27,8 @@ class AggregationTypeParameterValueDTO(BaseModel): """ The value for an aggregation parameter. """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the aggregation parameter.", alias="parameterId") - aggregation_option_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the aggregation option.", alias="aggregationOptionId") + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the aggregation parameter.", alias="parameterId") + aggregation_option_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the aggregation option.", alias="aggregationOptionId") __properties: ClassVar[List[str]] = ["parameterId", "aggregationOptionId"] model_config = ConfigDict( diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py index d3168a2554..bd76b4bc67 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py index c8728d6ecc..3b5af60a67 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py index fa850f44ef..6faf8e842c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py index 7e58788845..443b8260b8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_tenants_status_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py index 3534865b83..391385e958 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py index 967ad381a3..fb37071bec 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/all_users_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py index 08662b5b49..69f61afd53 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.analytic_object_details_dto import AnalyticObjectDetailsDTO from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO @@ -33,22 +33,11 @@ class AnalyticObjectDefinitionDTO(BaseModel): """ # noqa: E501 uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the analytic object.") object_name: Optional[StrictStr] = Field(default=None, description="The object name of the analytic object.", alias="objectName") - update_operation: Optional[StrictStr] = Field(default=None, description="Update the analytic object. Required for `PUT` requests. Valid values: - `unspecified`: Do not update the object. - `revertToBP`: Undo any tenant overrides and revert the object back to its Blueprint state.", alias="updateOperation") basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the analytic object, such as its display name, description, and explanation.", alias="basicInformation") details: Optional[AnalyticObjectDetailsDTO] = Field(default=None, description="The analytic object type and its details.") tag_list: Optional[TagReferenceListDTO] = Field(default=None, description="A list of tags assigned to the object.", alias="tagList") version_information: Optional[VersionInformationDTO] = Field(default=None, description="The object's version information. Version information is read-only. It indicates where the object originates from and whether the object has been modified in your tenant.", alias="versionInformation") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "updateOperation", "basicInformation", "details", "tagList", "versionInformation"] - - @field_validator('update_operation') - def update_operation_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['unspecified', 'revertToBP']): - raise ValueError("must be one of enum values ('unspecified', 'revertToBP')") - return value + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "tagList", "versionInformation"] model_config = ConfigDict( populate_by_name=True, @@ -115,7 +104,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "uuid": obj.get("uuid"), "objectName": obj.get("objectName"), - "updateOperation": obj.get("updateOperation"), "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, "details": AnalyticObjectDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, "tagList": TagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_request_dto.py new file mode 100644 index 0000000000..eeee5892ba --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_delete_with_context_dto import AnalyticObjectDeleteWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectDeleteRequestDTO(BaseModel): + """ + The request to delete analytic objects. + """ # noqa: E501 + analytic_objects: Optional[List[AnalyticObjectDeleteWithContextDTO]] = Field(default=None, description="The analytic objects to delete.", alias="analyticObjects") + __properties: ClassVar[List[str]] = ["analyticObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectDeleteRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) + _items = [] + if self.analytic_objects: + for _item_analytic_objects in self.analytic_objects: + if _item_analytic_objects: + _items.append(_item_analytic_objects.to_dict()) + _dict['analyticObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectDeleteRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjects": [AnalyticObjectDeleteWithContextDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_with_context_dto.py new file mode 100644 index 0000000000..5e2f7f4616 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_delete_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectDeleteWithContextDTO(BaseModel): + """ + Information about the analytic object to delete and the context of the API request. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + analytic_object: Optional[ObjectIdDTO] = Field(default=None, description="Information identifying the analytic object to delete.", alias="analyticObject") + __properties: ClassVar[List[str]] = ["executionContext", "analyticObject"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectDeleteWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of analytic_object + if self.analytic_object: + _dict['analyticObject'] = self.analytic_object.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectDeleteWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "analyticObject": ObjectIdDTO.from_dict(obj["analyticObject"]) if obj.get("analyticObject") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_details_dto.py index e87f089425..b00abb229e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py index 08cee1c4a2..a0220316f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py index f111d1ef8c..0622eb69cf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_list_dto.py index fbe0784331..b4fbf157b3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_filter_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_names_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_names_dto.py index 32b89d53f1..d8e0a92e30 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_names_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_names_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_dto.py index 8b2ad4d83b..da6ce0564c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_list_dto.py index 78e33e82f1..2f9af5461a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_reference_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py index 7853d5037c..91d7f0d37e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_response_dto.py new file mode 100644 index 0000000000..2907a7c1e3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_response_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_with_context_dto import AnalyticObjectWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectResponseDTO(BaseModel): + """ + The analytic objects in the response. + """ # noqa: E501 + analytic_objects: Optional[List[AnalyticObjectWithContextDTO]] = Field(default=None, description="The returned analytic objects.", alias="analyticObjects") + __properties: ClassVar[List[str]] = ["analyticObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) + _items = [] + if self.analytic_objects: + for _item_analytic_objects in self.analytic_objects: + if _item_analytic_objects: + _items.append(_item_analytic_objects.to_dict()) + _dict['analyticObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjects": [AnalyticObjectWithContextDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_request_dto.py new file mode 100644 index 0000000000..1620084206 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.analytic_object_revert_with_context_dto import AnalyticObjectRevertWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectRevertRequestDTO(BaseModel): + """ + The request to revert analytic objects. + """ # noqa: E501 + analytic_objects: Optional[List[AnalyticObjectRevertWithContextDTO]] = Field(default=None, description="The analytic objects to revert.", alias="analyticObjects") + __properties: ClassVar[List[str]] = ["analyticObjects"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectRevertRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in analytic_objects (list) + _items = [] + if self.analytic_objects: + for _item_analytic_objects in self.analytic_objects: + if _item_analytic_objects: + _items.append(_item_analytic_objects.to_dict()) + _dict['analyticObjects'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectRevertRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "analyticObjects": [AnalyticObjectRevertWithContextDTO.from_dict(_item) for _item in obj["analyticObjects"]] if obj.get("analyticObjects") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_with_context_dto.py new file mode 100644 index 0000000000..b4831df7a5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_revert_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO +from typing import Optional, Set +from typing_extensions import Self + +class AnalyticObjectRevertWithContextDTO(BaseModel): + """ + Information about the analytic object to revert and the context of the API request. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + analytic_object: Optional[ObjectIdDTO] = Field(default=None, description="Information identifying the analytic object to revert.", alias="analyticObject") + __properties: ClassVar[List[str]] = ["executionContext", "analyticObject"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of AnalyticObjectRevertWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of analytic_object + if self.analytic_object: + _dict['analyticObject'] = self.analytic_object.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of AnalyticObjectRevertWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "analyticObject": ObjectIdDTO.from_dict(obj["analyticObject"]) if obj.get("analyticObject") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py index 7875f51f9a..694c8fbed4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_object_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py index de147dcd94..ea01f677cc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/analytic_objects_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/any.py b/src/visier_platform_sdk/visier_platform_sdk/models/any.py index 96dd3b74be..3435c65f45 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/any.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/any.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/api_error.py b/src/visier_platform_sdk/visier_platform_sdk/models/api_error.py index ff713c75dc..aaac8f01cb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/api_error.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/api_error.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py index db2a163ea9..539423cd31 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credential_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py index 35591e58cd..7304662c46 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py index 21865f21a0..472fbe25ec 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_credentials_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py index 1444de76b2..4ab14e5b41 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py index 1963146a50..1689201721 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py index 9e1df6a83b..e43189c8a8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py index 63969dc26a..bc53ce63f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py index cb25d9686d..de5bcd7373 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permission_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py index e2f9e8b271..fc076a03c7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py index b8dbe3213c..508fde8cfd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assign_revoke_permissions_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.assign_revoke_permission_by_tenant_dto import AssignRevokePermissionByTenantDTO from typing import Optional, Set @@ -29,7 +29,8 @@ class AssignRevokePermissionsResponseDTO(BaseModel): The results of the permission assignment or removal. """ # noqa: E501 tenants: Optional[List[AssignRevokePermissionByTenantDTO]] = Field(default=None, description="A list of objects representing the users that were assigned permissions, organized by the tenants the users belong to.") - __properties: ClassVar[List[str]] = ["tenants"] + session_repo_id: Optional[StrictStr] = Field(default=None, alias="sessionRepoId") + __properties: ClassVar[List[str]] = ["tenants", "sessionRepoId"] model_config = ConfigDict( populate_by_name=True, @@ -89,7 +90,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "tenants": [AssignRevokePermissionByTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None + "tenants": [AssignRevokePermissionByTenantDTO.from_dict(_item) for _item in obj["tenants"]] if obj.get("tenants") is not None else None, + "sessionRepoId": obj.get("sessionRepoId") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py index 81dbe42146..9ff6f2ee18 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/assigned_credential_info_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py index 2b7449ddbe..06d72ec93a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bamboo_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py index 5db81ce3b1..d22f055f8f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/basic_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py index e22652784c..23f2bd0501 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/basic_s3_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py index be12587d7d..0091342f91 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/batch_tenant_provision_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_info.py b/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_info.py index 797c728fcc..7223df9094 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_info.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_info.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_value.py b/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_value.py index fbafae10b2..ca2d05106b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_value.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/benchmark_value.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/between_rule_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/between_rule_dto.py new file mode 100644 index 0000000000..b00ac3f77c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/between_rule_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class BetweenRuleDTO(BaseModel): + """ + The alert triggers if the metric value is between two defined values. + """ # noqa: E501 + lower: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The lower bound of the range.") + upper: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The upper bound of the range.") + __properties: ClassVar[List[str]] = ["lower", "upper"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of BetweenRuleDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of BetweenRuleDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "lower": obj.get("lower"), + "upper": obj.get("upper") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py index 413acae157..6b1abf8ccd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py index bd623523c6..c905b3f197 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/big_query_service_account_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py index a14502bf6d..1cadcebb01 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_request_dto.py index 757d72318c..efb684c256 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py index 038cdf855b..84ed6cd56b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/bulk_data_access_set_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py index d3fba4c429..4c97b30c7d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/business_location_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py index 891e6054e9..c04e6fb641 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculated_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculated_selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculated_selection_concept_dto.py index f42c375b42..9c27f120e6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/calculated_selection_concept_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculated_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py index 386ff7efac..e6eeedca97 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py index 33d429571a..a62ee135a3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_configuration_map_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py index 9a2014e90f..26581285e6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py index 3d698f92c0..9d8cbae650 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/calculation_concept_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py index 271685445c..ce0841cbbf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py index e13fce3b7e..2fb1cc7f1a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/capabilities_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py index 0ca294743e..62b43a8d52 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/capability_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py index dad8a688f5..a87c13abd8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/capability_group_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -40,8 +40,8 @@ def group_validate_enum(cls, value): if value is None: return value - if value not in set(['unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement']): - raise ValueError("must be one of enum values ('unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement')") + if value not in set(['unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement', 'Sandbox']): + raise ValueError("must be one of enum values ('unknown', 'Any', 'NotRequired', 'Data', 'Application', 'ApplicationManagement', 'Security', 'UserManagement', 'Model', 'TenantManagement', 'Settings', 'DataUpload', 'FileSharing', 'Approve', 'TwoStepPublish', 'DirectPublish', 'TenantPreview', 'OpenAPI', 'OpenPlatform', 'ManageJobs', 'SupportPowerUser', 'LMSPowerUser', 'SupportProjectManager', 'SupportStandardUser', 'Translation', 'ModuleManagement', 'AnalyticObjectCreation', 'ClassicAdminConfig', 'ClassicReadOnlyAdminConfig', 'ClassicManageTenant', 'ClassicAnalysis', 'ClassicDraft', 'ClassicInternalDebugging', 'ClassicAPIRestricted', 'InfrastructureOperations', 'SolutionDesigner', 'AccessToAllData', 'FeatureToggle', 'SystemDiagnostics', 'SystemDiagnosticsSensitive', 'ConsumptionPricingAdmin', 'ReadImpersonator', 'WriteImpersonator', 'ReadImpersonated', 'WriteImpersonated', 'MasterImpersonator', 'Impersonator', 'WillowUser', 'WillowAdmin', 'GeminiManager', 'GeminiSupport', 'GeminiAdmin', 'GeminiSysAdmin', 'ConsolidatedAnalytics', 'RequestSecureTicket', 'RequestAuthToken', 'OAuth2ClientRegistration', 'AccessToAllProperties', 'AccessToKeyProperties', 'PlanningManagement', 'WillowVantageCrawler', 'DataValidation', 'ContentReassignment', 'ReportDownloading', 'PlutoUser', 'ReportingManagement', 'QuotaManagement', 'WebhookManagement', 'ProfileManagement', 'UserGroupManagement', 'ProactiveAlertManagement', 'PermissionManagement', 'Sandbox')") return value @field_validator('access_level') diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/caption_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/caption_dto.py index d92762d3f6..42a7a5207a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/caption_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/caption_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/caption_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/caption_list_dto.py index 297c099a65..352b2b9a93 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/caption_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/caption_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_failure_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_failure_output.py new file mode 100644 index 0000000000..9f4d43ea95 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_failure_output.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from typing import Optional, Set +from typing_extensions import Self + +class CareerLevelSearchFailureOutput(BaseModel): + """ + CareerLevelSearchFailureOutput + """ # noqa: E501 + job_id: StrictStr = Field(description="The jobID input. ", alias="jobID") + http_status: StrictStr = Field(description="A three-digit code that indicates the outcome of a request. ", alias="httpStatus") + message: StrictStr = Field(description="The details of the error. ") + rci: StrictStr = Field(description="A root cause identifier that allows Visier to determine the source of the problem. ") + error_code: StrictStr = Field(description="A brief identifier of the type of error. ", alias="errorCode") + __properties: ClassVar[List[str]] = ["jobID", "httpStatus", "message", "rci", "errorCode"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CareerLevelSearchFailureOutput from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CareerLevelSearchFailureOutput from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobID": obj.get("jobID"), + "httpStatus": obj.get("httpStatus"), + "message": obj.get("message"), + "rci": obj.get("rci"), + "errorCode": obj.get("errorCode") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_input.py new file mode 100644 index 0000000000..de3c8be273 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_input.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CareerLevelSearchInput(BaseModel): + """ + CareerLevelSearchInput + """ # noqa: E501 + job_ids: List[StrictStr] = Field(description="A list of job IDs to retrieve career levels for. The maximum number of job IDs is 500. ", alias="jobIDs") + has_benchmark_value: Optional[StrictBool] = Field(default=None, description="Filter members based on the availability of benchmark values. If no value is specified, all members are returned. If `true`, members with benchmark values are returned. If `false`, members without benchmark values are returned. ", alias="hasBenchmarkValue") + __properties: ClassVar[List[str]] = ["jobIDs", "hasBenchmarkValue"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CareerLevelSearchInput from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CareerLevelSearchInput from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobIDs": obj.get("jobIDs"), + "hasBenchmarkValue": obj.get("hasBenchmarkValue") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_output.py new file mode 100644 index 0000000000..c71023afd9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_output.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from visier_platform_sdk.models.career_level_search_failure_output import CareerLevelSearchFailureOutput +from visier_platform_sdk.models.career_level_search_successful_output import CareerLevelSearchSuccessfulOutput +from typing import Optional, Set +from typing_extensions import Self + +class CareerLevelSearchOutput(BaseModel): + """ + CareerLevelSearchOutput + """ # noqa: E501 + successes: List[CareerLevelSearchSuccessfulOutput] = Field(description="The career levels retrieved for successful inputs. ") + failures: List[CareerLevelSearchFailureOutput] = Field(description="Error description for failed inputs. ") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CareerLevelSearchOutput from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CareerLevelSearchOutput from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [CareerLevelSearchSuccessfulOutput.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [CareerLevelSearchFailureOutput.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_successful_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_successful_output.py new file mode 100644 index 0000000000..4037361afa --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/career_level_search_successful_output.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List +from visier_platform_sdk.models.dimension_member import DimensionMember +from typing import Optional, Set +from typing_extensions import Self + +class CareerLevelSearchSuccessfulOutput(BaseModel): + """ + CareerLevelSearchSuccessfulOutput + """ # noqa: E501 + job_id: StrictStr = Field(description="The jobID input. ", alias="jobID") + results: List[DimensionMember] = Field(description="A list of matching career level members. ") + __properties: ClassVar[List[str]] = ["jobID", "results"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CareerLevelSearchSuccessfulOutput from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in results (list) + _items = [] + if self.results: + for _item_results in self.results: + if _item_results: + _items.append(_item_results.to_dict()) + _dict['results'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CareerLevelSearchSuccessfulOutput from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "jobID": obj.get("jobID"), + "results": [DimensionMember.from_dict(_item) for _item in obj["results"]] if obj.get("results") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/category_icon_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/category_icon_dto.py new file mode 100644 index 0000000000..7e3f852084 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/category_icon_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CategoryIconDTO(BaseModel): + """ + An icon associated with the question category. + """ # noqa: E501 + base64_image: Optional[StrictStr] = Field(default=None, description="The Base64 value for the category icon image.", alias="base64Image") + background_color: Optional[StrictStr] = Field(default=None, description="The HEX color code of the background color for the category icon. This is useful if the icon is transparent.", alias="backgroundColor") + __properties: ClassVar[List[str]] = ["base64Image", "backgroundColor"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CategoryIconDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CategoryIconDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "base64Image": obj.get("base64Image"), + "backgroundColor": obj.get("backgroundColor") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py index 6ac7a9a636..981cfa19a9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_bin_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py index 6b186cfcd3..1d0d3d1b96 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_distribution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py index 4f945e9fa6..5ba911f836 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py index e0f491174b..c8298101d6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py index 98c984d986..62a1e2f34c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_axis_position_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py index ff5b814f4e..94b945621f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py index 7de6b4d185..6af741c1f5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cell_set_or_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py index d228d4d342..6e687271d3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/clone_files_into_source_parameters_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py index 19eda563df..3a23090e60 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/cohort_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/collaboration_info.py b/src/visier_platform_sdk/visier_platform_sdk/models/collaboration_info.py new file mode 100644 index 0000000000..df8fd52720 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/collaboration_info.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class CollaborationInfo(BaseModel): + """ + Information about the plan's collaborations. + """ # noqa: E501 + scenario_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the scenario used in the collaboration.", alias="scenarioId") + start_date: Optional[StrictStr] = Field(default=None, description="The start date of the collaboration. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="startDate") + due_date: Optional[StrictStr] = Field(default=None, description="The due date of the collaboration. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="dueDate") + updated_date: Optional[StrictStr] = Field(default=None, description="The date the collaboration was last updated.", alias="updatedDate") + status: Optional[StrictStr] = Field(default=None, description="The status of the collaboration. Valid values: - `Closed`: The collaboration is closed. - `Open`: The collaboration is open.") + __properties: ClassVar[List[str]] = ["scenarioId", "startDate", "dueDate", "updatedDate", "status"] + + @field_validator('status') + def status_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Closed', 'Open']): + raise ValueError("must be one of enum values ('Closed', 'Open')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CollaborationInfo from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CollaborationInfo from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "scenarioId": obj.get("scenarioId"), + "startDate": obj.get("startDate"), + "dueDate": obj.get("dueDate"), + "updatedDate": obj.get("updatedDate"), + "status": obj.get("status") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py index d1920cebac..ec17ec3b79 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/commit_and_publish_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py index 1ac4e0e15d..ecde4c10f5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/commit_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/compared_metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/compared_metric_dto.py new file mode 100644 index 0000000000..1de8345b68 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/compared_metric_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.other_metric_dto import OtherMetricDTO +from visier_platform_sdk.models.same_metric_other_context_dto import SameMetricOtherContextDTO +from visier_platform_sdk.models.same_metric_other_time_dto import SameMetricOtherTimeDTO +from typing import Optional, Set +from typing_extensions import Self + +class ComparedMetricDTO(BaseModel): + """ + Whether to trigger the alert when the metric value is compared to a time period, another metric, or a group. + """ # noqa: E501 + no_comparison: Optional[Dict[str, Any]] = Field(default=None, description="Do not compare the metric value to anything but its own value.", alias="noComparison") + same_metric_other_context: Optional[SameMetricOtherContextDTO] = Field(default=None, description="Compare the metric against a group; for example, High Performers.", alias="sameMetricOtherContext") + same_metric_other_time: Optional[SameMetricOtherTimeDTO] = Field(default=None, description="Compare the metric against a time period; for example, the previous period or the same period of the previous year.", alias="sameMetricOtherTime") + other_metric: Optional[OtherMetricDTO] = Field(default=None, description="Compare the metric against a different metric; for example, a Visier Benchmarks metric.", alias="otherMetric") + __properties: ClassVar[List[str]] = ["noComparison", "sameMetricOtherContext", "sameMetricOtherTime", "otherMetric"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ComparedMetricDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of same_metric_other_context + if self.same_metric_other_context: + _dict['sameMetricOtherContext'] = self.same_metric_other_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of same_metric_other_time + if self.same_metric_other_time: + _dict['sameMetricOtherTime'] = self.same_metric_other_time.to_dict() + # override the default output from pydantic by calling `to_dict()` of other_metric + if self.other_metric: + _dict['otherMetric'] = self.other_metric.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ComparedMetricDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "noComparison": obj.get("noComparison"), + "sameMetricOtherContext": SameMetricOtherContextDTO.from_dict(obj["sameMetricOtherContext"]) if obj.get("sameMetricOtherContext") is not None else None, + "sameMetricOtherTime": SameMetricOtherTimeDTO.from_dict(obj["sameMetricOtherTime"]) if obj.get("sameMetricOtherTime") is not None else None, + "otherMetric": OtherMetricDTO.from_dict(obj["otherMetric"]) if obj.get("otherMetric") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py index 7f51b20f70..d645655c6f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_configuration_result_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py index 2b5d804c69..5b7e50f361 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py index 8dc5e00047..00469103e4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py index a698fecb97..61aca296a8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_delete_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_filter_dto.py new file mode 100644 index 0000000000..ac4a64a62c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_filter_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ConceptReferenceFilterDTO(BaseModel): + """ + A filter that uses a reference to a concept in Visier. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the concept reference.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the concept reference in Visier, such as the analytic object or event the selection concept is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["id", "qualifyingPath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ConceptReferenceFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ConceptReferenceFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "qualifyingPath": obj.get("qualifyingPath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py index 3aacdd3a8e..ab7fff0e13 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py index b40a924e7a..f90722db13 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py index 3e2f980fe3..e479b52e9a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_type_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py index 4e1866436e..7eedc287a4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/concept_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector.py index 893bf7a5eb..54d77f408c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/connector.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py index bdff554c40..7d2d980bef 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_info_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py index 98e7534b0c..e9dae0fb85 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py index 427d530f64..5271e7e82d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_setting_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py index 119f2c4c8b..d699dac3f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/connector_settings_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidate_action_payload.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidate_action_payload.py index 33275c8076..4fcbd4d61e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidate_action_payload.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidate_action_payload.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -25,7 +25,7 @@ class ConsolidateActionPayload(BaseModel): """ - The details of the subplan consolidation. + The details of consolidating a subplan. """ # noqa: E501 auto_rollup: Optional[StrictBool] = Field(default=None, description="If `true`, consolidated subplan values are rolled up to the parent segment. Default is `true`.", alias="autoRollup") included_sub_plans: Optional[List[StrictStr]] = Field(default=None, description="The UUIDs of the subplans to include. If not defined, all submitted subplans will be consolidated.", alias="includedSubPlans") diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py index 9dd1e8f9c9..02303e8d24 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py index d347941fbd..24c92a1407 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py index 502bf765c0..f6e7a49c0b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py index a5c3cfe35b..06159d593a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py index da557f4a31..5686bc9709 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py index 6321d61875..7c0a63f02d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py index a9b8863634..9be7fac818 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/consolidated_analytics_job_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py index 08cc1e7d44..981a1eee89 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/content_package_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py index a3106063f2..ff7036b833 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/copy_s3_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/create_event_alert_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/create_event_alert_request_dto.py new file mode 100644 index 0000000000..907c448b6c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/create_event_alert_request_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.event_alert_trigger_criteria_dto import EventAlertTriggerCriteriaDTO +from typing import Optional, Set +from typing_extensions import Self + +class CreateEventAlertRequestDTO(BaseModel): + """ + The details of the personalized alert to create. + """ # noqa: E501 + trigger_criteria: Optional[EventAlertTriggerCriteriaDTO] = Field(default=None, description="The conditions on which to trigger the personalized alert.", alias="triggerCriteria") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the alert.", alias="displayName") + __properties: ClassVar[List[str]] = ["triggerCriteria", "displayName"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of CreateEventAlertRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of trigger_criteria + if self.trigger_criteria: + _dict['triggerCriteria'] = self.trigger_criteria.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of CreateEventAlertRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "triggerCriteria": EventAlertTriggerCriteriaDTO.from_dict(obj["triggerCriteria"]) if obj.get("triggerCriteria") is not None else None, + "displayName": obj.get("displayName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py index 881501b249..cea8364bb3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/credential_creation_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py index 3e34bfab28..1d2ae2782a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currencies_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py index 781279a7f5..647974220a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currency_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py index 18b15b0d2c..6fb93f1a37 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rate_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py index a96df2866a..ed8a0e5e86 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/currency_rates_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py index fe8ecc058e..3b8c9d8aae 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/custom_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py index 060e1387b5..58ed99d836 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/custom_tenant_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py index f8fccfa1a0..ab01ee669c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py index 41b05ae37e..d1182a7fcb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py index dacccd94e3..1c74940562 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py index 04b45df454..ea949c5f1e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_access_set_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py index b9c98032ea..bbef59b901 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_categories_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py index cc621b0929..c9bde459e2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_category_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py index f4c00bbb5e..8ce1708310 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py index 6c569dfcd3..6fd641a8b6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_request_model.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py index 22a575ab7d..00660e5f90 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_load_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py index afe7a0bc82..bdadbd9247 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_model_analytic_object_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py index 1a2671536c..912d7eb339 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py index f9e1fd61d9..d8c61c9277 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py index bd66e3d2d2..0efbdb28be 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py index d09b3cb989..9352d84cbf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_provider_basic_metadata_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py index dba23005e3..9cea14ed44 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_security_profile_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py index df7427b502..ae586e4eeb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_transfer_result_detail.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py index 4c4ce01b4c..ff6f653896 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_and_date_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py index ac2aae114a..df92133beb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_column_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py index 74836a1b3f..035c02f8f4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_version_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py index 4ebe90f045..2ba22095b6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_data_versions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py index 5c378add0e..2fbc998cd0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py index 990c9bfeb5..6f349b9e8c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_file_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py index 480e12b0f9..75e731e513 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_job_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py index 7cc827e6f4..2f08d89c62 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_part_file_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py index a5ee47e0e6..e8e955cd5f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py index bace48981e..ccf76d223a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py index 6f4085787a..d45b816b51 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_export_table_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py index 8bdc9832db..10480946f6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_exports_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py index bb3d3c4617..e177b5f03c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/data_version_object.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py index e1a4bb09a0..31ff1e117e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/databricks_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py index 2ccce93597..0f0c8634d4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/date_range_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py index f8a78feec3..5f3b7fc2ec 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dayforce_v2_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/delete_email_domains_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/delete_email_domains_dto.py new file mode 100644 index 0000000000..88c6d4d212 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/delete_email_domains_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DeleteEmailDomainsDTO(BaseModel): + """ + DeleteEmailDomainsDTO + """ # noqa: E501 + domains: Optional[List[StrictStr]] = Field(default=None, description="The list of allowed email address domains.") + confirm_not_allowed_domain: Optional[StrictBool] = Field(default=None, description="If `true`, allows deletion of the requester's own domain when using credential-based sign in. If `false`, prevents deletion of the requester's own domain when using credential-based sign in. This setting only applies to credential-based sign in, not to single sign-on (SSO) unless used in API calls.", alias="confirmNotAllowedDomain") + __properties: ClassVar[List[str]] = ["domains", "confirmNotAllowedDomain"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DeleteEmailDomainsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DeleteEmailDomainsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "domains": obj.get("domains"), + "confirmNotAllowedDomain": obj.get("confirmNotAllowedDomain") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py index 33d8f9c925..eab4d532c0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/delete_permissions_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py index 1c38b92265..f8ba12a36f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/delete_user_group_v2_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py index b8aaf9aa8a..af1db07e23 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dependent_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/derived_metric_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/derived_metric_details_dto.py new file mode 100644 index 0000000000..22168d66c6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/derived_metric_details_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class DerivedMetricDetailsDTO(BaseModel): + """ + Information about the metric, such as its formula and data type. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="The metric's formula written in Visier Formula Language (VFL).") + data_type: Optional[StrictStr] = Field(default=None, description="The metric's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + base_metric_id: Optional[StrictStr] = Field(default=None, description="The UUID of the metric from which this metric is derived.", alias="baseMetricId") + derived_metric_type: Optional[StrictStr] = Field(default=None, description="The method through which to derive an existing metric. Valid values: - `Annualized`: Calculate the metric as a yearly value. - `AnnualizedRate`: Calculate the metric as a rate for the year. This type requires you to set another metric as the denominator for the calculation. - `Arbitrary`: Calculate the metric in a custom way. This is the only derived metric in which you can modify the formula. - `AverageCount`: Calculate the metric as an average over all members, like employees. This type requires you to set another metric as the denominator for the calculation. - `AverageFTE`: Calculate the metric as a weighted average over all members, with full-time equivalent (FTE) values as weights. This type requires you to set another metric as the denominator for the calculation. - `Proportion`: Calculate the metric as a percentage of the total. - `Rate`: Calculate the metric as a rate. This type requires you to set another metric as the denominator for the calculation.", alias="derivedMetricType") + denominator_metric_name: Optional[StrictStr] = Field(default=None, description="An optional metric to use as the denominator for the calculation. If defined, the derived metric is calculated as a fraction.", alias="denominatorMetricName") + __properties: ClassVar[List[str]] = ["formula", "dataType", "baseMetricId", "derivedMetricType", "denominatorMetricName"] + + @field_validator('derived_metric_type') + def derived_metric_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Rate', 'Annualized', 'AverageCount', 'AnnualizedRate', 'AverageFTE', 'Proportion', 'Arbitrary']): + raise ValueError("must be one of enum values ('Rate', 'Annualized', 'AverageCount', 'AnnualizedRate', 'AverageFTE', 'Proportion', 'Arbitrary')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of DerivedMetricDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of DerivedMetricDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "dataType": obj.get("dataType"), + "baseMetricId": obj.get("baseMetricId"), + "derivedMetricType": obj.get("derivedMetricType"), + "denominatorMetricName": obj.get("denominatorMetricName") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/description_entry.py b/src/visier_platform_sdk/visier_platform_sdk/models/description_entry.py index 9b66a7c52e..ae5cf96d1f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/description_entry.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/description_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py index b7fd8a19cc..e4cedea315 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/designer_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py index 0ccf67004a..ea2ea126d5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/designer_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py index de5e233313..2ee529cbc2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py index 3451142dfa..21a35560f0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_request_dto.py index f66f310d32..816db4c05d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_with_context_dto.py index 9182bafd30..324854058c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_with_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_delete_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_details_dto.py index e64704f9ae..1d9c10b0d4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py index bec733adb6..d4b3cf5cd0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py index a2ec5880dd..119d4dced1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py index 235a0f1714..894099121f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py index f5c62a5941..bb3afd0862 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member.py index 329c0248d7..6d1abd9330 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py index 7969f26ea4..f5f1663a69 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py index 42faeb86b0..6290c20161 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_member_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py index 0ea770fb42..ad7d238955 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_request_dto.py index 0c48a1a541..1c883c30c0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_response_dto.py index ad39432e05..73c756512b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_with_context_dto.py index 9fcf1305d9..c751bfab62 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimension_with_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimension_with_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py index 9e1e748e29..6359d7f01e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py index b21293926e..877602d3e7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_change_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py index d70cce7c50..0ce35a9f93 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dimensions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py index 88bf6b94ca..c02acd6c8a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py index 075cde48e6..5b76fa4653 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_job_status_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py index 1ab3d6decd..ba2c314323 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_list_transactions_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py index c849431707..23c9040de7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_load_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py index 36699de3af..2683e881ff 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py index 2ac0b0a060..10008ca8df 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_schema_field_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py index e719dd77f6..8abedcb3f5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py index a543a695c5..8110e14433 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_transaction_start_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_upload_file_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_upload_file_response_dto.py index ea234663e1..f81f1d13f4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_upload_file_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/direct_data_upload_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py index 00c5a23c0b..e09a0191f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_model.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py index b56e44df1e..c881a68e2e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py index f3412dc7e7..b490cc5f48 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/disable_dv_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py index 8bfe0bf5a7..8f6b5e2e08 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dispatching_job_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py index dd505906ed..b9bdad0e7a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/document_search_link_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py index 2a205ef39e..175ec1b4ec 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py index e8ed1e283d..12fead2791 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/download_source_files_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dv_export_status.py b/src/visier_platform_sdk/visier_platform_sdk/models/dv_export_status.py index 334facc670..a044c5a8e7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dv_export_status.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dv_export_status.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py index b7cbc265bc..fea70ec976 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py index a4aefd62fc..8eb234b55e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/dynamic_property_mapping_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py index dbee4b2653..05455735f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/element_ids_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py index 6b871d0034..9125225a43 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/email_domains_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from typing import Optional, Set from typing_extensions import Self @@ -28,8 +28,7 @@ class EmailDomainsDTO(BaseModel): EmailDomainsDTO """ # noqa: E501 domains: Optional[List[StrictStr]] = Field(default=None, description="The list of allowed email address domains.") - confirm_not_allowed_domain: Optional[StrictBool] = Field(default=None, description="If `true`, you cannot sign in using credentials, such as username and password. You can only log in with single sign-on (SSO). To avoid this, add your current email address's domain to allowed domains list.", alias="confirmNotAllowedDomain") - __properties: ClassVar[List[str]] = ["domains", "confirmNotAllowedDomain"] + __properties: ClassVar[List[str]] = ["domains"] model_config = ConfigDict( populate_by_name=True, @@ -82,8 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "domains": obj.get("domains"), - "confirmNotAllowedDomain": obj.get("confirmNotAllowedDomain") + "domains": obj.get("domains") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/end_collaboration_action_payload.py b/src/visier_platform_sdk/visier_platform_sdk/models/end_collaboration_action_payload.py new file mode 100644 index 0000000000..dbfd6440d9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/end_collaboration_action_payload.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class EndCollaborationActionPayload(BaseModel): + """ + The details of ending a collaboration project. + """ # noqa: E501 + action_when_unconsolidated_plans_exists: Optional[StrictStr] = Field(default=None, description="The action to take when there are unconsolidated subplans for the main plan. Valid values: - `Ignore`: Ignore unconsolidated subplans. - `Revert`: Ignore all subplans and revert plan values to the state prior to the start of collaboration.", alias="actionWhenUnconsolidatedPlansExists") + __properties: ClassVar[List[str]] = ["actionWhenUnconsolidatedPlansExists"] + + @field_validator('action_when_unconsolidated_plans_exists') + def action_when_unconsolidated_plans_exists_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Ignore', 'Revert']): + raise ValueError("must be one of enum values ('Ignore', 'Revert')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EndCollaborationActionPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EndCollaborationActionPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "actionWhenUnconsolidatedPlansExists": obj.get("actionWhenUnconsolidatedPlansExists") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py index c8005a823a..4880603a6c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/error_summary.py b/src/visier_platform_sdk/visier_platform_sdk/models/error_summary.py index 98c5c246e4..e48a926098 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/error_summary.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/error_summary.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_delete_success_dto.py similarity index 80% rename from src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py rename to src/visier_platform_sdk/visier_platform_sdk/models/event_alert_delete_success_dto.py index 10dbabbc13..01e3cb3d8c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/put_project_commits_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -23,12 +23,12 @@ from typing import Optional, Set from typing_extensions import Self -class PutProjectCommitsRequest(BaseModel): +class EventAlertDeleteSuccessDTO(BaseModel): """ - PutProjectCommitsRequest + The alert that was successfully deleted. """ # noqa: E501 - project_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the draft project you want to import committed changes into.", alias="projectId") - __properties: ClassVar[List[str]] = ["projectId"] + alert_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the deleted alert.", alias="alertId") + __properties: ClassVar[List[str]] = ["alertId"] model_config = ConfigDict( populate_by_name=True, @@ -48,7 +48,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PutProjectCommitsRequest from a JSON string""" + """Create an instance of EventAlertDeleteSuccessDTO from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -73,7 +73,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PutProjectCommitsRequest from a dict""" + """Create an instance of EventAlertDeleteSuccessDTO from a dict""" if obj is None: return None @@ -81,7 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "projectId": obj.get("projectId") + "alertId": obj.get("alertId") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_dto.py new file mode 100644 index 0000000000..2f960a8472 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.event_alert_trigger_criteria_dto import EventAlertTriggerCriteriaDTO +from typing import Optional, Set +from typing_extensions import Self + +class EventAlertDTO(BaseModel): + """ + A personalized alert's details, such as its ID and trigger criteria. + """ # noqa: E501 + alert_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the alert.", alias="alertId") + trigger_criteria: Optional[EventAlertTriggerCriteriaDTO] = Field(default=None, description="The conditions on which to trigger the personalized alert.", alias="triggerCriteria") + display_name: Optional[StrictStr] = Field(default=None, description="The display name of the alert.", alias="displayName") + is_enabled_for_user: Optional[StrictBool] = Field(default=None, description="If `true`, the personalized alert is enabled for the user.", alias="isEnabledForUser") + __properties: ClassVar[List[str]] = ["alertId", "triggerCriteria", "displayName", "isEnabledForUser"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EventAlertDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of trigger_criteria + if self.trigger_criteria: + _dict['triggerCriteria'] = self.trigger_criteria.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EventAlertDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "alertId": obj.get("alertId"), + "triggerCriteria": EventAlertTriggerCriteriaDTO.from_dict(obj["triggerCriteria"]) if obj.get("triggerCriteria") is not None else None, + "displayName": obj.get("displayName"), + "isEnabledForUser": obj.get("isEnabledForUser") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_alert_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_alert_details_dto.py new file mode 100644 index 0000000000..74aad80333 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_alert_details_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.event_alert_trigger_criteria_dto import EventAlertTriggerCriteriaDTO +from typing import Optional, Set +from typing_extensions import Self + +class EventAlertNotificationResultAlertDetailsDTO(BaseModel): + """ + Information about the alert notification that triggered. + """ # noqa: E501 + trigger_type: Optional[StrictStr] = Field(default=None, description="The event type that triggered the alert. * `UNSPECIFIED`: An unspecified event triggers the alert. Throws an exception if used. * `DV_UPDATE`: A data version update triggers the alert.", alias="triggerType") + trigger_criteria: Optional[EventAlertTriggerCriteriaDTO] = Field(default=None, description="The conditions on which to trigger the personalized alert.", alias="triggerCriteria") + __properties: ClassVar[List[str]] = ["triggerType", "triggerCriteria"] + + @field_validator('trigger_type') + def trigger_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['UNSPECIFIED', 'DV_UPDATE']): + raise ValueError("must be one of enum values ('UNSPECIFIED', 'DV_UPDATE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EventAlertNotificationResultAlertDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of trigger_criteria + if self.trigger_criteria: + _dict['triggerCriteria'] = self.trigger_criteria.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EventAlertNotificationResultAlertDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "triggerType": obj.get("triggerType"), + "triggerCriteria": EventAlertTriggerCriteriaDTO.from_dict(obj["triggerCriteria"]) if obj.get("triggerCriteria") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_dto.py new file mode 100644 index 0000000000..46f514cd24 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_result_dto.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.event_alert_notification_result_alert_details_dto import EventAlertNotificationResultAlertDetailsDTO +from visier_platform_sdk.models.trigger_criteria_result_info_dto import TriggerCriteriaResultInfoDTO +from typing import Optional, Set +from typing_extensions import Self + +class EventAlertNotificationResultDTO(BaseModel): + """ + A notification that has triggered for the user. + """ # noqa: E501 + alert_notification_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the alert notification.", alias="alertNotificationId") + alert_id: Optional[StrictStr] = Field(default=None, description="The unique identifier the alert that triggered the notification", alias="alertId") + created_date: Optional[StrictStr] = Field(default=None, description="The date that the notification generated.", alias="createdDate") + alert_details: Optional[EventAlertNotificationResultAlertDetailsDTO] = Field(default=None, description="Information about the triggered alert.", alias="alertDetails") + result_info: Optional[List[TriggerCriteriaResultInfoDTO]] = Field(default=None, description="Information about the evaluated metric value.", alias="resultInfo") + result_type: Optional[StrictStr] = Field(default=None, description="Whether the metric value was nominal (did not trigger the alert) or triggered the alert. Valid values: * `TRIGGERED`: The alert was triggered. * `NOMINAL`: The alert was nominal (not triggered).", alias="resultType") + __properties: ClassVar[List[str]] = ["alertNotificationId", "alertId", "createdDate", "alertDetails", "resultInfo", "resultType"] + + @field_validator('result_type') + def result_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['NOMINAL', 'TRIGGERED']): + raise ValueError("must be one of enum values ('NOMINAL', 'TRIGGERED')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EventAlertNotificationResultDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of alert_details + if self.alert_details: + _dict['alertDetails'] = self.alert_details.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in result_info (list) + _items = [] + if self.result_info: + for _item_result_info in self.result_info: + if _item_result_info: + _items.append(_item_result_info.to_dict()) + _dict['resultInfo'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EventAlertNotificationResultDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "alertNotificationId": obj.get("alertNotificationId"), + "alertId": obj.get("alertId"), + "createdDate": obj.get("createdDate"), + "alertDetails": EventAlertNotificationResultAlertDetailsDTO.from_dict(obj["alertDetails"]) if obj.get("alertDetails") is not None else None, + "resultInfo": [TriggerCriteriaResultInfoDTO.from_dict(_item) for _item in obj["resultInfo"]] if obj.get("resultInfo") is not None else None, + "resultType": obj.get("resultType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_results_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_results_dto.py new file mode 100644 index 0000000000..c3b408be06 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_notification_results_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.event_alert_notification_result_dto import EventAlertNotificationResultDTO +from typing import Optional, Set +from typing_extensions import Self + +class EventAlertNotificationResultsDTO(BaseModel): + """ + The notifications that have triggered for the user. + """ # noqa: E501 + notifications: Optional[List[EventAlertNotificationResultDTO]] = Field(default=None, description="The alert notifications that have triggered for the user.") + __properties: ClassVar[List[str]] = ["notifications"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of EventAlertNotificationResultsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in notifications (list) + _items = [] + if self.notifications: + for _item_notifications in self.notifications: + if _item_notifications: + _items.append(_item_notifications.to_dict()) + _dict['notifications'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of EventAlertNotificationResultsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "notifications": [EventAlertNotificationResultDTO.from_dict(_item) for _item in obj["notifications"]] if obj.get("notifications") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_trigger_criteria_dto.py similarity index 68% rename from src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_response.py rename to src/visier_platform_sdk/visier_platform_sdk/models/event_alert_trigger_criteria_dto.py index bede02397a..cf5d4cdcc1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_alert_trigger_criteria_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,16 +20,16 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.plans_patch_response_action_result import PlansPatchResponseActionResult +from visier_platform_sdk.models.grouped_metric_value_threshold_criteria_dto import GroupedMetricValueThresholdCriteriaDTO from typing import Optional, Set from typing_extensions import Self -class PlansPatchResponse(BaseModel): +class EventAlertTriggerCriteriaDTO(BaseModel): """ - The result of the actions taken on the subplans if reopening, or the main plans if consolidating. + The conditions on which to trigger the personalized alert. """ # noqa: E501 - actions_results: Optional[List[PlansPatchResponseActionResult]] = Field(default=None, description="The result of the actions taken on the subplans.", alias="actionsResults") - __properties: ClassVar[List[str]] = ["actionsResults"] + grouped_metric_value_threshold: Optional[GroupedMetricValueThresholdCriteriaDTO] = Field(default=None, description="The metric value threshold and additional conditions that trigger the alert.", alias="groupedMetricValueThreshold") + __properties: ClassVar[List[str]] = ["groupedMetricValueThreshold"] model_config = ConfigDict( populate_by_name=True, @@ -49,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlansPatchResponse from a JSON string""" + """Create an instance of EventAlertTriggerCriteriaDTO from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -70,18 +70,14 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in actions_results (list) - _items = [] - if self.actions_results: - for _item_actions_results in self.actions_results: - if _item_actions_results: - _items.append(_item_actions_results.to_dict()) - _dict['actionsResults'] = _items + # override the default output from pydantic by calling `to_dict()` of grouped_metric_value_threshold + if self.grouped_metric_value_threshold: + _dict['groupedMetricValueThreshold'] = self.grouped_metric_value_threshold.to_dict() return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlansPatchResponse from a dict""" + """Create an instance of EventAlertTriggerCriteriaDTO from a dict""" if obj is None: return None @@ -89,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "actionsResults": [PlansPatchResponseActionResult.from_dict(_item) for _item in obj["actionsResults"]] if obj.get("actionsResults") is not None else None + "groupedMetricValueThreshold": GroupedMetricValueThresholdCriteriaDTO.from_dict(obj["groupedMetricValueThreshold"]) if obj.get("groupedMetricValueThreshold") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/event_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/event_details_dto.py index 8df942f95b..dd0d3d97ed 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/event_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/event_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,6 @@ from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.caption_dto import CaptionDTO from visier_platform_sdk.models.caption_list_dto import CaptionListDTO -from visier_platform_sdk.models.concept_reference_list_dto import ConceptReferenceListDTO from visier_platform_sdk.models.local_or_shared_dimension_list_dto import LocalOrSharedDimensionListDTO from visier_platform_sdk.models.property_definition_list_dto import PropertyDefinitionListDTO from visier_platform_sdk.models.subject_reference_list_dto import SubjectReferenceListDTO @@ -43,9 +42,8 @@ class EventDetailsDTO(BaseModel): include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") property_list: Optional[PropertyDefinitionListDTO] = Field(default=None, description="The event's properties, such as event ID, name, and date.", alias="propertyList") dimension_list: Optional[LocalOrSharedDimensionListDTO] = Field(default=None, description="The event's dimensions, such as event type, location, and time.", alias="dimensionList") - concept_list: Optional[ConceptReferenceListDTO] = Field(default=None, description="The event's concepts, such as process stages and their stages or outcomes.", alias="conceptList") subject_reference_list: Optional[SubjectReferenceListDTO] = Field(default=None, description="The analytic object's references.", alias="subjectReferenceList") - __properties: ClassVar[List[str]] = ["occurrenceCaption", "secondaryCaptionList", "subject", "enableEndingEvent", "defaultMetric", "dataCategory", "enableEndData", "includeWithVee", "propertyList", "dimensionList", "conceptList", "subjectReferenceList"] + __properties: ClassVar[List[str]] = ["occurrenceCaption", "secondaryCaptionList", "subject", "enableEndingEvent", "defaultMetric", "dataCategory", "enableEndData", "includeWithVee", "propertyList", "dimensionList", "subjectReferenceList"] model_config = ConfigDict( populate_by_name=True, @@ -98,9 +96,6 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of dimension_list if self.dimension_list: _dict['dimensionList'] = self.dimension_list.to_dict() - # override the default output from pydantic by calling `to_dict()` of concept_list - if self.concept_list: - _dict['conceptList'] = self.concept_list.to_dict() # override the default output from pydantic by calling `to_dict()` of subject_reference_list if self.subject_reference_list: _dict['subjectReferenceList'] = self.subject_reference_list.to_dict() @@ -126,7 +121,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "includeWithVee": obj.get("includeWithVee"), "propertyList": PropertyDefinitionListDTO.from_dict(obj["propertyList"]) if obj.get("propertyList") is not None else None, "dimensionList": LocalOrSharedDimensionListDTO.from_dict(obj["dimensionList"]) if obj.get("dimensionList") is not None else None, - "conceptList": ConceptReferenceListDTO.from_dict(obj["conceptList"]) if obj.get("conceptList") is not None else None, "subjectReferenceList": SubjectReferenceListDTO.from_dict(obj["subjectReferenceList"]) if obj.get("subjectReferenceList") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py index a09bc81034..47537f69a2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/exclude_data_uploads_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py b/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py index 7deacb86c9..4b983131f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/excluded_sources_body.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py index d58bea7d52..90690ba382 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/execution_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py index a24efaf0f6..5d01483937 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py index a7bf8374cf..ebffe6ccd6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extract_data_and_load_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extracted_skill.py b/src/visier_platform_sdk/visier_platform_sdk/models/extracted_skill.py index eb913f77cd..8a392fe490 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extracted_skill.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extracted_skill.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py index 97b5086f09..f8a6329714 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py index 99c178504f..b77c62ee94 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extraction_job_and_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py index 24a9f0b01c..14f5ebcaa7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credential_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py index 9f125b0f3f..2734821a04 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_credentials_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py index 92f0e47d8d..1843b6fca8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py index c46953c9f1..57c7b7370e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_setting_key_value_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py index b25c43c42c..bf37237e83 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/extractor_settings_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py index 0a029a013b..693c286ba2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py index 765c2fa66b..031196d396 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py index a47f0ec184..4b87bfc803 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py index 98d00385f5..3377452b01 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/filter_dto.py new file mode 100644 index 0000000000..1c11daccdb --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/filter_dto.py @@ -0,0 +1,128 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.concept_reference_filter_dto import ConceptReferenceFilterDTO +from visier_platform_sdk.models.key_group_filter_dto import KeyGroupFilterDTO +from visier_platform_sdk.models.member_filter_dto import MemberFilterDTO +from visier_platform_sdk.models.numeric_range_filter_dto import NumericRangeFilterDTO +from visier_platform_sdk.models.persisted_cohort_filter_dto import PersistedCohortFilterDTO +from visier_platform_sdk.models.selection_concept_reference_dto import SelectionConceptReferenceDTO +from visier_platform_sdk.models.time_period_filter_dto import TimePeriodFilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class FilterDTO(BaseModel): + """ + A filter selects specific data points within a population. + """ # noqa: E501 + selection_concept: Optional[SelectionConceptReferenceDTO] = Field(default=None, description="A filter that uses an existing selection concept in Visier.", alias="selectionConcept") + member_set: Optional[MemberFilterDTO] = Field(default=None, description="A filter that includes or excludes dimension members.", alias="memberSet") + concept_reference: Optional[ConceptReferenceFilterDTO] = Field(default=None, description="A filter that uses a reference to a concept in Visier.", alias="conceptReference") + key_group: Optional[KeyGroupFilterDTO] = Field(default=None, description="A filter that uses a key group in Visier.", alias="keyGroup") + persisted_cohort: Optional[PersistedCohortFilterDTO] = Field(default=None, description="A filter that uses a persisted cohort in Visier.", alias="persistedCohort") + time_period: Optional[TimePeriodFilterDTO] = Field(default=None, description="A filter that uses a time period.", alias="timePeriod") + numeric_range: Optional[NumericRangeFilterDTO] = Field(default=None, description="A filter that uses a numeric range.", alias="numericRange") + __properties: ClassVar[List[str]] = ["selectionConcept", "memberSet", "conceptReference", "keyGroup", "persistedCohort", "timePeriod", "numericRange"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of selection_concept + if self.selection_concept: + _dict['selectionConcept'] = self.selection_concept.to_dict() + # override the default output from pydantic by calling `to_dict()` of member_set + if self.member_set: + _dict['memberSet'] = self.member_set.to_dict() + # override the default output from pydantic by calling `to_dict()` of concept_reference + if self.concept_reference: + _dict['conceptReference'] = self.concept_reference.to_dict() + # override the default output from pydantic by calling `to_dict()` of key_group + if self.key_group: + _dict['keyGroup'] = self.key_group.to_dict() + # override the default output from pydantic by calling `to_dict()` of persisted_cohort + if self.persisted_cohort: + _dict['persistedCohort'] = self.persisted_cohort.to_dict() + # override the default output from pydantic by calling `to_dict()` of time_period + if self.time_period: + _dict['timePeriod'] = self.time_period.to_dict() + # override the default output from pydantic by calling `to_dict()` of numeric_range + if self.numeric_range: + _dict['numericRange'] = self.numeric_range.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "selectionConcept": SelectionConceptReferenceDTO.from_dict(obj["selectionConcept"]) if obj.get("selectionConcept") is not None else None, + "memberSet": MemberFilterDTO.from_dict(obj["memberSet"]) if obj.get("memberSet") is not None else None, + "conceptReference": ConceptReferenceFilterDTO.from_dict(obj["conceptReference"]) if obj.get("conceptReference") is not None else None, + "keyGroup": KeyGroupFilterDTO.from_dict(obj["keyGroup"]) if obj.get("keyGroup") is not None else None, + "persistedCohort": PersistedCohortFilterDTO.from_dict(obj["persistedCohort"]) if obj.get("persistedCohort") is not None else None, + "timePeriod": TimePeriodFilterDTO.from_dict(obj["timePeriod"]) if obj.get("timePeriod") is not None else None, + "numericRange": NumericRangeFilterDTO.from_dict(obj["numericRange"]) if obj.get("numericRange") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/fixed_time_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/fixed_time_type_dto.py new file mode 100644 index 0000000000..46adc8e98d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/fixed_time_type_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class FixedTimeTypeDTO(BaseModel): + """ + Compare against a fixed time period. + """ # noqa: E501 + period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each interval. Default is `MONTH`.", alias="periodType") + end: Optional[StrictStr] = Field(default=None, description="The end time of the fixed time period.") + period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per interval.", alias="periodCount") + __properties: ClassVar[List[str]] = ["periodType", "end", "periodCount"] + + @field_validator('period_type') + def period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of FixedTimeTypeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of FixedTimeTypeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "periodType": obj.get("periodType"), + "end": obj.get("end"), + "periodCount": obj.get("periodCount") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py index e8391ef286..a974fd3cfd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/fusion_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/generate_impersonation_token_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/generate_impersonation_token_request.py index c20436636b..10b70d4426 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/generate_impersonation_token_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/generate_impersonation_token_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py index 607a273d99..0af3393fcf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/generate_key_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py index 004a994c00..824f3af6ce 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_capabilities_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py index f5babbd322..a8ebdf13a4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_content_packages_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py index 11cdb288b9..e1e83eeb98 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_access_sets_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py index 48fc440b2a..c3fb78a91d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_data_security_objects_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_event_alerts_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_event_alerts_response_dto.py new file mode 100644 index 0000000000..1fca6042f2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_event_alerts_response_dto.py @@ -0,0 +1,105 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.event_alert_dto import EventAlertDTO +from typing import Optional, Set +from typing_extensions import Self + +class GetEventAlertsResponseDTO(BaseModel): + """ + The personalized alerts the user has access to. + """ # noqa: E501 + owned_alerts: Optional[List[EventAlertDTO]] = Field(default=None, description="The personalized alerts created by the user.", alias="ownedAlerts") + shared_alerts: Optional[List[EventAlertDTO]] = Field(default=None, description="The personalized alerts shared with the user by someone else.", alias="sharedAlerts") + __properties: ClassVar[List[str]] = ["ownedAlerts", "sharedAlerts"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GetEventAlertsResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in owned_alerts (list) + _items = [] + if self.owned_alerts: + for _item_owned_alerts in self.owned_alerts: + if _item_owned_alerts: + _items.append(_item_owned_alerts.to_dict()) + _dict['ownedAlerts'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in shared_alerts (list) + _items = [] + if self.shared_alerts: + for _item_shared_alerts in self.shared_alerts: + if _item_shared_alerts: + _items.append(_item_shared_alerts.to_dict()) + _dict['sharedAlerts'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GetEventAlertsResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "ownedAlerts": [EventAlertDTO.from_dict(_item) for _item in obj["ownedAlerts"]] if obj.get("ownedAlerts") is not None else None, + "sharedAlerts": [EventAlertDTO.from_dict(_item) for _item in obj["sharedAlerts"]] if obj.get("sharedAlerts") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py index 4367e3a159..5ce465f02c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_permissions_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py index 135cedab32..41da408205 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_plan_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py index e8e8794f2c..d210efc453 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_production_versions_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py index f1cdf2543b..263f210eef 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/get_projects_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py index a42751c56f..284824fa64 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/gong_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py index 636f84d003..9c78451d66 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/google_sheets_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py index c517aafe0c..3d624b819e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/google_workspace_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py index 5044ac7a3d..8295352036 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/greenhouse_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/grouped_metric_value_threshold_criteria_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/grouped_metric_value_threshold_criteria_dto.py new file mode 100644 index 0000000000..157bc2aae5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/grouped_metric_value_threshold_criteria_dto.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.filter_dto import FilterDTO +from visier_platform_sdk.models.metric_dto import MetricDTO +from visier_platform_sdk.models.relative_time_period_dto import RelativeTimePeriodDTO +from visier_platform_sdk.models.rule_set_dto import RuleSetDTO +from typing import Optional, Set +from typing_extensions import Self + +class GroupedMetricValueThresholdCriteriaDTO(BaseModel): + """ + The metric threshold criteria on which to trigger the alert. + """ # noqa: E501 + metric: Optional[MetricDTO] = Field(default=None, description="The metric to evaluate in the personalized alert.") + filters: Optional[List[FilterDTO]] = Field(default=None, description="An optional filter to apply to the alert metric; for example, filter by New Hire.") + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="An optional group by to apply to the alert metric; for example, group by Organization Hierarchy. If defined, the alert triggers if any of the dimension members hit the threshold, such as Marketing. Otherwise, the alert triggers for the overall metric value.") + relative_time_period: Optional[RelativeTimePeriodDTO] = Field(default=None, description="The time period in which to evaluate the alert. If undefined, the default is the latest partial month.", alias="relativeTimePeriod") + rule_set: Optional[RuleSetDTO] = Field(default=None, description="The rules to evaluate the metric, such as the operator (for example, greater than or less than) or another metric to compare against.", alias="ruleSet") + __properties: ClassVar[List[str]] = ["metric", "filters", "dimension", "relativeTimePeriod", "ruleSet"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of GroupedMetricValueThresholdCriteriaDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of metric + if self.metric: + _dict['metric'] = self.metric.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of relative_time_period + if self.relative_time_period: + _dict['relativeTimePeriod'] = self.relative_time_period.to_dict() + # override the default output from pydantic by calling `to_dict()` of rule_set + if self.rule_set: + _dict['ruleSet'] = self.rule_set.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of GroupedMetricValueThresholdCriteriaDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "metric": MetricDTO.from_dict(obj["metric"]) if obj.get("metric") is not None else None, + "filters": [FilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None, + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "relativeTimePeriod": RelativeTimePeriodDTO.from_dict(obj["relativeTimePeriod"]) if obj.get("relativeTimePeriod") is not None else None, + "ruleSet": RuleSetDTO.from_dict(obj["ruleSet"]) if obj.get("ruleSet") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy.py b/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy.py index 29d4058bf7..b4ceb8208a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py index 46384ae6e9..7c159b1359 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/hierarchy_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py index d62cf4ab12..c2229ce86d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/home_analysis_by_user_group_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py index 65e363a5bd..21c456a6bf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/icims_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py index 5dd94e205c..5e21cfc578 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/import_definition_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py index 53bee8ca8d..778bc20c6b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/import_definitions_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py index 47f270bdfe..23e11e185e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/include_data_uploads_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py index b4d1197003..9fe842b83d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_access_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py index 99eda3efca..8fd34011b0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py index c6f1f96183..73b10d5d75 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/internal_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py index 19a5b31e71..800773c8f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/internal_s3_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py index 6bfae0fff2..542a8440f3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/jdbc_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py index 1f14527023..3f7c0b5b61 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/jira_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py index 103f7aaaa2..c961c6c297 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/jira_connect_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job.py b/src/visier_platform_sdk/visier_platform_sdk/models/job.py index e7e86fa7e8..e16972f6fa 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py index 172e1d8524..2fcc5a67e5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_result_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py index 2fac2c4ed9..dcc0c84da3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_cancellation_results_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_entry.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_entry.py index 87afb1d5fa..c258ed0333 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_entry.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_feedback_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_feedback_input.py index 1b48ecf058..f8ebec08eb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_feedback_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_feedback_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,7 +28,7 @@ class JobFeedbackInput(BaseModel): The data structure used to submit negative feedback for the job match results returned by the Get jobs endpoint. """ # noqa: E501 term: StrictStr = Field(description="The search term (job title) you entered when using the Get jobs endpoint. You're providing feedback on the quality of the search results for this term. This field is required. The minimum is 2 characters and the maximum is 100 characters. ") - naics_code: Optional[StrictStr] = Field(default=None, description="If provided, the naicsCode entered when using the Get jobs endpoint. You're providing feedback on the quality of the results for the search term and code.", alias="naicsCode") + naics_code: Optional[StrictStr] = Field(default=None, description="If provided, the naicsCode entered when using the Get jobs endpoint. You're providing feedback on the quality of the results for the search term and code. ", alias="naicsCode") additional_comments: Optional[StrictStr] = Field(default=None, description="Additional written feedback about the job match results returned by the Get jobs endpoint. The maximum is 150 characters. ", alias="additionalComments") __properties: ClassVar[List[str]] = ["term", "naicsCode", "additionalComments"] diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py index d27f2bb011..e0d8597d40 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_id_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_search_failure_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_search_failure_output.py index 995fbe6174..7daf46968d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_search_failure_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_search_failure_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_search_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_search_input.py index eecf210e8b..088a389b3a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_search_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_search_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_search_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_search_output.py index 3d7d7d41d3..0d381a98e0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_search_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_search_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input.py index 1694f28fb9..c5633e44ba 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,8 @@ class JobStandardizationInput(BaseModel): semantic_only: Optional[StrictBool] = Field(default=False, description="If `true`, only semantic search will be used to find matches. Ensure the parameter `lexicalOnly` is set to `false`. Default is `false`. By default, both semantic and lexical search are used to find matches. ", alias="semanticOnly") lexical_only: Optional[StrictBool] = Field(default=False, description="If `true`, only lexical search will be used to find matches. Ensure the parameter `semanticOnly` is set to `false`. Default is `false`. By default, both semantic and lexical search are used to find matches. ", alias="lexicalOnly") typical_titles_search: Optional[StrictBool] = Field(default=False, description="If `true`, similar job titles for a job member are included in the lexical search for matches. Default is `false`. ", alias="typicalTitlesSearch") - __properties: ClassVar[List[str]] = ["terms", "naicsCode", "numMatches", "semanticOnly", "lexicalOnly", "typicalTitlesSearch"] + include_archived: Optional[StrictBool] = Field(default=False, description="If `true`, both `active` and `archived` members are returned. Default is `false`. Members are archived when taxonomy changes are made. ", alias="includeArchived") + __properties: ClassVar[List[str]] = ["terms", "naicsCode", "numMatches", "semanticOnly", "lexicalOnly", "typicalTitlesSearch", "includeArchived"] model_config = ConfigDict( populate_by_name=True, @@ -91,7 +92,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "numMatches": obj.get("numMatches") if obj.get("numMatches") is not None else 5, "semanticOnly": obj.get("semanticOnly") if obj.get("semanticOnly") is not None else False, "lexicalOnly": obj.get("lexicalOnly") if obj.get("lexicalOnly") is not None else False, - "typicalTitlesSearch": obj.get("typicalTitlesSearch") if obj.get("typicalTitlesSearch") is not None else False + "typicalTitlesSearch": obj.get("typicalTitlesSearch") if obj.get("typicalTitlesSearch") is not None else False, + "includeArchived": obj.get("includeArchived") if obj.get("includeArchived") is not None else False }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input_skills.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input_skills.py index 4239773166..4e7c315543 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input_skills.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_standardization_input_skills.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py index f40e004421..92059aaf5e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_list_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py index 3aa0397c86..a033d7b875 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/job_status_with_start_time.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py index fcd2bbe896..b627632321 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,18 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.key_group_filter_item_dto import KeyGroupFilterItemDTO from typing import Optional, Set from typing_extensions import Self class KeyGroupFilterDTO(BaseModel): """ - A collection of related filters that define a key group. + A filter that uses a key group in Visier. """ # noqa: E501 - filters: Optional[List[KeyGroupFilterItemDTO]] = None - __properties: ClassVar[List[str]] = ["filters"] + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the key group.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the key group in Visier, such as the analytic object or event the selection concept is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["id", "qualifyingPath"] model_config = ConfigDict( populate_by_name=True, @@ -70,13 +70,6 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in filters (list) - _items = [] - if self.filters: - for _item_filters in self.filters: - if _item_filters: - _items.append(_item_filters.to_dict()) - _dict['filters'] = _items return _dict @classmethod @@ -89,7 +82,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "filters": [KeyGroupFilterItemDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None + "id": obj.get("id"), + "qualifyingPath": obj.get("qualifyingPath") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py index e024568773..a223412713 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_group_filter_item_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py index 6e4a0cd83a..f1917d3753 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_name.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py index c6e0881f77..ee6e96c41c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py index f218483afe..490e318a3a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/key_pair_generate_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py index 1131368356..998f2978f6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/last_login_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py index b582ec6e2f..7b30944492 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/level_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/level_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/level_list_dto.py index 07c20eca8c..a673737d38 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/level_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/level_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/leveled_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/leveled_details_dto.py index f0bc7d146e..a3b2dfa12c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/leveled_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/leveled_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py index 89ed110812..b0d5365fb4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/lever_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py index 491fd86a36..1bab68ec78 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/lineage_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py index ccc9208531..0dd7c09d50 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py index 597a668c84..ce96ec36d5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py index 71107fefa9..e50ef5039d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_query_source_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py index 282232c6c9..1d72378001 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/list_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_dto.py index d25954ed76..21be75df80 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_list_dto.py index 7ba2eaeacf..05a276b053 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_or_shared_dimension_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py index 4eae2525db..7a4f15dba6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py index e897a1849e..47f677cb27 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py index f984f64f6c..cf794266bb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py index 5307d5677f..bd6948c32e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_failure_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_failure_output.py index 8e66f0e55f..fdf3133d40 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_failure_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_failure_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input.py index 67bee3d8be..4bff3654b4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input1.py b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input1.py index eb452b93ff..abc7d4842d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input1.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_input1.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_output.py index 8d58815e98..ab600a9e1c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_successful_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_successful_output.py index 00f54f3c4f..ec98334ef3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/location_search_successful_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/location_search_successful_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py b/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py index 6ee87a07e5..0942573cc0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/mask_message.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py index 5c05422bb6..c5ae3b7072 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/medallia_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py index c016c8467a..7d46a5f6ea 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py index aa90a7284a..3acbf74b30 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py index a261362596..fba28e5a45 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py index b64dcd2eb0..832ba88a63 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py index 000d74eabb..983d92d090 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_concept_dto.py index 583035b264..4b78d012f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_concept_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py index 5b87895619..8da8db7b5c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py index 593460ac7e..ac931ed65e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/member_values_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py index eca7a70a1c..e4dcb66994 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/members_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py index e78fb0d937..c7d802e04b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,10 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO from visier_platform_sdk.models.metric_type_details_dto import MetricTypeDetailsDTO +from visier_platform_sdk.models.tag_reference_list_dto import TagReferenceListDTO +from visier_platform_sdk.models.version_information_dto import VersionInformationDTO from typing import Optional, Set from typing_extensions import Self @@ -34,7 +36,12 @@ class MetricDefinitionDTO(BaseModel): basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the metric, such as its display name, description, and explanation.", alias="basicInformation") details: Optional[MetricTypeDetailsDTO] = Field(default=None, description="The metric type and its details.") additive_type: Optional[StrictStr] = Field(default=None, description="How to sum the metric's values. Valid values: - `fullyAdditive`: Sums the metric over any dimension, concept, or time period. - `balance`: Sums the metric over any dimension or concept, but not time period. - `nonAdditive`: Metric values are not additive.", alias="additiveType") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "additiveType"] + visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution. Default is `true`.", alias="visibleInAnalytics") + include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") + analytic_object_name: Optional[StrictStr] = Field(default=None, description="The metric's analytic object name.", alias="analyticObjectName") + tag_list: Optional[TagReferenceListDTO] = Field(default=None, description="The tags assigned to the object.", alias="tagList") + version_information: Optional[VersionInformationDTO] = Field(default=None, description="The object's version information. Version information is read-only. It indicates where the object originates from and whether the object has been modified in your tenant.", alias="versionInformation") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "additiveType", "visibleInAnalytics", "includeWithVee", "analyticObjectName", "tagList", "versionInformation"] @field_validator('additive_type') def additive_type_validate_enum(cls, value): @@ -91,6 +98,12 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of details if self.details: _dict['details'] = self.details.to_dict() + # override the default output from pydantic by calling `to_dict()` of tag_list + if self.tag_list: + _dict['tagList'] = self.tag_list.to_dict() + # override the default output from pydantic by calling `to_dict()` of version_information + if self.version_information: + _dict['versionInformation'] = self.version_information.to_dict() return _dict @classmethod @@ -107,7 +120,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "objectName": obj.get("objectName"), "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, "details": MetricTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, - "additiveType": obj.get("additiveType") + "additiveType": obj.get("additiveType"), + "visibleInAnalytics": obj.get("visibleInAnalytics"), + "includeWithVee": obj.get("includeWithVee"), + "analyticObjectName": obj.get("analyticObjectName"), + "tagList": TagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, + "versionInformation": VersionInformationDTO.from_dict(obj["versionInformation"]) if obj.get("versionInformation") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_request_dto.py similarity index 71% rename from src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_list_dto.py rename to src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_request_dto.py index 3b47ad31e8..fa3faede6e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,16 +20,16 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.concept_reference_dto import ConceptReferenceDTO +from visier_platform_sdk.models.metric_delete_with_context_dto import MetricDeleteWithContextDTO from typing import Optional, Set from typing_extensions import Self -class ConceptReferenceListDTO(BaseModel): +class MetricDeleteRequestDTO(BaseModel): """ - The concepts referenced by the object. + The metrics to delete. """ # noqa: E501 - concepts: Optional[List[ConceptReferenceDTO]] = Field(default=None, description="The list of concept references.") - __properties: ClassVar[List[str]] = ["concepts"] + metrics: Optional[List[MetricDeleteWithContextDTO]] = Field(default=None, description="The metrics in the request.") + __properties: ClassVar[List[str]] = ["metrics"] model_config = ConfigDict( populate_by_name=True, @@ -49,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ConceptReferenceListDTO from a JSON string""" + """Create an instance of MetricDeleteRequestDTO from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -70,18 +70,18 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in concepts (list) + # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) _items = [] - if self.concepts: - for _item_concepts in self.concepts: - if _item_concepts: - _items.append(_item_concepts.to_dict()) - _dict['concepts'] = _items + if self.metrics: + for _item_metrics in self.metrics: + if _item_metrics: + _items.append(_item_metrics.to_dict()) + _dict['metrics'] = _items return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ConceptReferenceListDTO from a dict""" + """Create an instance of MetricDeleteRequestDTO from a dict""" if obj is None: return None @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "concepts": [ConceptReferenceDTO.from_dict(_item) for _item in obj["concepts"]] if obj.get("concepts") is not None else None + "metrics": [MetricDeleteWithContextDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_with_context_dto.py new file mode 100644 index 0000000000..f372697fc5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_delete_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.object_id_dto import ObjectIdDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricDeleteWithContextDTO(BaseModel): + """ + Information about the metric to delete and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + metric: Optional[ObjectIdDTO] = Field(default=None, description="Information identifying the metric to delete.") + __properties: ClassVar[List[str]] = ["executionContext", "metric"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricDeleteWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of metric + if self.metric: + _dict['metric'] = self.metric.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricDeleteWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "metric": ObjectIdDTO.from_dict(obj["metric"]) if obj.get("metric") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py index 420bf36f82..10c14360c6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,36 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.parameter_definition_dto import ParameterDefinitionDTO +from visier_platform_sdk.models.time_handling_dto import TimeHandlingDTO from typing import Optional, Set from typing_extensions import Self class MetricDTO(BaseModel): """ - A metric is a calculation based on one or more attribute values of analytic objects. + The information of a metric. """ # noqa: E501 - id: Optional[StrictStr] = Field(default=None, description="The unique ID of the metric.") - display_name: Optional[StrictStr] = Field(default=None, description="The localized display name of the metric.", alias="displayName") - description: Optional[StrictStr] = Field(default=None, description="The localized description of the metric.") - data_start_date: Optional[StrictStr] = Field(default=None, description="The date from which data becomes available for this metric. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataStartDate") - data_end_date: Optional[StrictStr] = Field(default=None, description="The date from which data is no longer available for this metric. Note: Format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. Epochs are expressed as 64-bit integers and represented as stringified longs in JSON due to JSON's inherent limitation in representing large numbers.", alias="dataEndDate") - analytic_object_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the analytic object.", alias="analyticObjectId") - parameters: Optional[List[ParameterDefinitionDTO]] = Field(default=None, description="The collection of parameters defined for the metric.") - category: Optional[StrictStr] = Field(default=None, description="The category of the metric. Will be one of: `REGULAR`, `DERIVED` or `PLANNING`.") - visible_in_app: Optional[StrictBool] = Field(default=None, description="// If `true`, the metric is visible to end users in the solution.", alias="visibleInApp") - __properties: ClassVar[List[str]] = ["id", "displayName", "description", "dataStartDate", "dataEndDate", "analyticObjectId", "parameters", "category", "visibleInApp"] - - @field_validator('category') - def category_validate_enum(cls, value): - """Validates the enum""" - if value is None: - return value - - if value not in set(['REGULAR', 'DERIVED', 'PLANNING']): - raise ValueError("must be one of enum values ('REGULAR', 'DERIVED', 'PLANNING')") - return value + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the metric.") + parameter_values: Optional[List[ParameterDefinitionDTO]] = Field(default=None, description="The values associated with the metric's parameters, if defined.", alias="parameterValues") + time_handling: Optional[TimeHandlingDTO] = Field(default=None, description="The time handling settings for the metric.", alias="timeHandling") + __properties: ClassVar[List[str]] = ["id", "parameterValues", "timeHandling"] model_config = ConfigDict( populate_by_name=True, @@ -88,13 +73,16 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in parameters (list) + # override the default output from pydantic by calling `to_dict()` of each item in parameter_values (list) _items = [] - if self.parameters: - for _item_parameters in self.parameters: - if _item_parameters: - _items.append(_item_parameters.to_dict()) - _dict['parameters'] = _items + if self.parameter_values: + for _item_parameter_values in self.parameter_values: + if _item_parameter_values: + _items.append(_item_parameter_values.to_dict()) + _dict['parameterValues'] = _items + # override the default output from pydantic by calling `to_dict()` of time_handling + if self.time_handling: + _dict['timeHandling'] = self.time_handling.to_dict() return _dict @classmethod @@ -108,14 +96,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "id": obj.get("id"), - "displayName": obj.get("displayName"), - "description": obj.get("description"), - "dataStartDate": obj.get("dataStartDate"), - "dataEndDate": obj.get("dataEndDate"), - "analyticObjectId": obj.get("analyticObjectId"), - "parameters": [ParameterDefinitionDTO.from_dict(_item) for _item in obj["parameters"]] if obj.get("parameters") is not None else None, - "category": obj.get("category"), - "visibleInApp": obj.get("visibleInApp") + "parameterValues": [ParameterDefinitionDTO.from_dict(_item) for _item in obj["parameterValues"]] if obj.get("parameterValues") is not None else None, + "timeHandling": TimeHandlingDTO.from_dict(obj["timeHandling"]) if obj.get("timeHandling") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_response_action_result.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_filter_parameter_value_dto.py similarity index 66% rename from src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_response_action_result.py rename to src/visier_platform_sdk/visier_platform_sdk/models/metric_filter_parameter_value_dto.py index 45cd6e91b3..3c23bdaea2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_response_action_result.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_filter_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,17 +20,17 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.plan_patch_action_result import PlanPatchActionResult +from visier_platform_sdk.models.filter_dto import FilterDTO from typing import Optional, Set from typing_extensions import Self -class PlansPatchResponseActionResult(BaseModel): +class MetricFilterParameterValueDTO(BaseModel): """ - The result of the actions taken on the subplans, or the main plans if consolidating. + The filter values of a metric parameter, including the parameter ID and the filters on the parameter """ # noqa: E501 - plan_id: Optional[StrictStr] = Field(default=None, description="The UUID of the subplan, or the main plans if consolidating.", alias="planId") - plans: Optional[List[PlanPatchActionResult]] = Field(default=None, description="The result of the actions taken on the subplans.") - __properties: ClassVar[List[str]] = ["planId", "plans"] + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the member parameter qualified by the object.", alias="parameterId") + filters: Optional[List[FilterDTO]] = Field(default=None, description="The filters on the primary metric input parameter.") + __properties: ClassVar[List[str]] = ["parameterId", "filters"] model_config = ConfigDict( populate_by_name=True, @@ -50,7 +50,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlansPatchResponseActionResult from a JSON string""" + """Create an instance of MetricFilterParameterValueDTO from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -71,18 +71,18 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in plans (list) + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) _items = [] - if self.plans: - for _item_plans in self.plans: - if _item_plans: - _items.append(_item_plans.to_dict()) - _dict['plans'] = _items + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlansPatchResponseActionResult from a dict""" + """Create an instance of MetricFilterParameterValueDTO from a dict""" if obj is None: return None @@ -90,8 +90,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "planId": obj.get("planId"), - "plans": [PlanPatchActionResult.from_dict(_item) for _item in obj["plans"]] if obj.get("plans") is not None else None + "parameterId": obj.get("parameterId"), + "filters": [FilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_request_dto.py new file mode 100644 index 0000000000..5da89d23da --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_request_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.metric_with_context_dto import MetricWithContextDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricRequestDTO(BaseModel): + """ + The metrics to create or update. + """ # noqa: E501 + metrics: Optional[List[MetricWithContextDTO]] = Field(default=None, description="The metrics in the request.") + __properties: ClassVar[List[str]] = ["metrics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricRequestDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) + _items = [] + if self.metrics: + for _item_metrics in self.metrics: + if _item_metrics: + _items.append(_item_metrics.to_dict()) + _dict['metrics'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricRequestDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "metrics": [MetricWithContextDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_response_dto.py similarity index 68% rename from src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request.py rename to src/visier_platform_sdk/visier_platform_sdk/models/metric_response_dto.py index ecb7966418..896181ebee 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,16 +20,16 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.plans_patch_request_plan_item import PlansPatchRequestPlanItem +from visier_platform_sdk.models.metric_with_context_dto import MetricWithContextDTO from typing import Optional, Set from typing_extensions import Self -class PlansPatchRequest(BaseModel): +class MetricResponseDTO(BaseModel): """ - If reopening subplans, these are the subplans to update. If consolidating subplans, these are the main plans to update. + The response for retrieving metrics. """ # noqa: E501 - plans: Optional[List[PlansPatchRequestPlanItem]] = Field(default=None, description="If reopening subplans, these are the subplans to update. If consolidating subplans, these are the main plans to update.") - __properties: ClassVar[List[str]] = ["plans"] + metrics: Optional[List[MetricWithContextDTO]] = Field(default=None, description="The metrics in the response.") + __properties: ClassVar[List[str]] = ["metrics"] model_config = ConfigDict( populate_by_name=True, @@ -49,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlansPatchRequest from a JSON string""" + """Create an instance of MetricResponseDTO from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -70,18 +70,18 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in plans (list) + # override the default output from pydantic by calling `to_dict()` of each item in metrics (list) _items = [] - if self.plans: - for _item_plans in self.plans: - if _item_plans: - _items.append(_item_plans.to_dict()) - _dict['plans'] = _items + if self.metrics: + for _item_metrics in self.metrics: + if _item_metrics: + _items.append(_item_metrics.to_dict()) + _dict['metrics'] = _items return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlansPatchRequest from a dict""" + """Create an instance of MetricResponseDTO from a dict""" if obj is None: return None @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "plans": [PlansPatchRequestPlanItem.from_dict(_item) for _item in obj["plans"]] if obj.get("plans") is not None else None + "metrics": [MetricWithContextDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py index 25ce743edd..2174578ef0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_type_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,7 +20,8 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO +from visier_platform_sdk.models.derived_metric_details_dto import DerivedMetricDetailsDTO +from visier_platform_sdk.models.simple_metric_details_dto import SimpleMetricDetailsDTO from typing import Optional, Set from typing_extensions import Self @@ -28,8 +29,9 @@ class MetricTypeDetailsDTO(BaseModel): """ MetricTypeDetailsDTO """ # noqa: E501 - process_concept: Optional[ProcessConceptMetricDefinitionDTO] = Field(default=None, description="Information about the metric, such as its formula and data type.", alias="processConcept") - __properties: ClassVar[List[str]] = ["processConcept"] + simple: Optional[SimpleMetricDetailsDTO] = Field(default=None, description="Information about the metric, such as its formula and data type.") + derived: Optional[DerivedMetricDetailsDTO] = Field(default=None, description="Information about the derived metric, such as its formula and data type.") + __properties: ClassVar[List[str]] = ["simple", "derived"] model_config = ConfigDict( populate_by_name=True, @@ -70,9 +72,12 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of process_concept - if self.process_concept: - _dict['processConcept'] = self.process_concept.to_dict() + # override the default output from pydantic by calling `to_dict()` of simple + if self.simple: + _dict['simple'] = self.simple.to_dict() + # override the default output from pydantic by calling `to_dict()` of derived + if self.derived: + _dict['derived'] = self.derived.to_dict() return _dict @classmethod @@ -85,7 +90,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "processConcept": ProcessConceptMetricDefinitionDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None + "simple": SimpleMetricDetailsDTO.from_dict(obj["simple"]) if obj.get("simple") is not None else None, + "derived": DerivedMetricDetailsDTO.from_dict(obj["derived"]) if obj.get("derived") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py index bcf1fe1e53..32dba64fbb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_validation_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metric_with_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metric_with_context_dto.py new file mode 100644 index 0000000000..4b946720b1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metric_with_context_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.execution_context_dto import ExecutionContextDTO +from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class MetricWithContextDTO(BaseModel): + """ + Information about the metric and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + execution_context: Optional[ExecutionContextDTO] = Field(default=None, description="The context of the API request, such as the tenant code and project ID.", alias="executionContext") + metric: Optional[MetricDefinitionDTO] = Field(default=None, description="Information about the metric, such as its UUID and metric type.") + __properties: ClassVar[List[str]] = ["executionContext", "metric"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of MetricWithContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of execution_context + if self.execution_context: + _dict['executionContext'] = self.execution_context.to_dict() + # override the default output from pydantic by calling `to_dict()` of metric + if self.metric: + _dict['metric'] = self.metric.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of MetricWithContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "executionContext": ExecutionContextDTO.from_dict(obj["executionContext"]) if obj.get("executionContext") is not None else None, + "metric": MetricDefinitionDTO.from_dict(obj["metric"]) if obj.get("metric") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py index 775ca28df0..dd16c68e66 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/metrics_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py index fb041c578c..2771e10edd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/microsoft365_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py index 48f14142a9..fa5acb6548 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/module_settings_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_property_type_dto.py index bcce261dd0..c66fab0d15 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_setting_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_setting_dto.py index 909659356c..242e5f121d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_setting_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/multi_value_setting_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py index 178a830426..409f2ce7a6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py index 397f89acc0..f1ab63c681 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py index 7fa18b5844..f1164f980f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/my_sql_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py index eb73f69eb1..5672d824a7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/namely_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py index 74bcb3434e..9d130faa94 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py index d324204f8b..a8cdb573e6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/network_subnets_message_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py index 5e79e093b7..9b6381c34d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py index c3d2e1db8c..07f6ac287e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,7 +27,7 @@ class NumericParameterValueDTO(BaseModel): """ The value of a numeric parameter, including the parameter ID and the numeric value passed into the parameter. """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the numeric parameter qualified by the object.", alias="parameterId") + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the numeric parameter qualified by the object.", alias="parameterId") value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The numeric value of the parameter.") __properties: ClassVar[List[str]] = ["parameterId", "value"] diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_dto.py new file mode 100644 index 0000000000..734ce0d66a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class NumericRangeDTO(BaseModel): + """ + A numeric range. + """ # noqa: E501 + range_start: Optional[StrictStr] = Field(default=None, description="The start of the numeric range.", alias="rangeStart") + range_end: Optional[StrictStr] = Field(default=None, description="The end of the numeric range.", alias="rangeEnd") + range_type: Optional[StrictStr] = Field(default=None, description="The type of numeric range, determining whether start and end of the range are inclusive or exclusive.", alias="rangeType") + __properties: ClassVar[List[str]] = ["rangeStart", "rangeEnd", "rangeType"] + + @field_validator('range_type') + def range_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['EXCLUSIVE_INCLUSIVE', 'INCLUSIVE_EXCLUSIVE', 'BOTH_EXCLUSIVE', 'BOTH_INCLUSIVE']): + raise ValueError("must be one of enum values ('EXCLUSIVE_INCLUSIVE', 'INCLUSIVE_EXCLUSIVE', 'BOTH_EXCLUSIVE', 'BOTH_INCLUSIVE')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NumericRangeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NumericRangeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "rangeStart": obj.get("rangeStart"), + "rangeEnd": obj.get("rangeEnd"), + "rangeType": obj.get("rangeType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_filter_dto.py new file mode 100644 index 0000000000..0af5dd2c89 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/numeric_range_filter_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.numeric_range_dto import NumericRangeDTO +from typing import Optional, Set +from typing_extensions import Self + +class NumericRangeFilterDTO(BaseModel): + """ + A filter that uses a numeric range. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="The unique identifier of the dimension.") + numeric_range: Optional[NumericRangeDTO] = Field(default=None, description="The numeric range to filter by", alias="numericRange") + is_excluded: Optional[StrictBool] = Field(default=None, description="If `true`, filter by values outside this numeric range.", alias="isExcluded") + __properties: ClassVar[List[str]] = ["dimension", "numericRange", "isExcluded"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of NumericRangeFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of numeric_range + if self.numeric_range: + _dict['numericRange'] = self.numeric_range.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of NumericRangeFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "numericRange": NumericRangeDTO.from_dict(obj["numericRange"]) if obj.get("numericRange") is not None else None, + "isExcluded": obj.get("isExcluded") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py index 487fe1c18e..6775cd976a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py index 50067e1fef..9a4751453f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py index 7166ceeceb..3acb8f697b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py index 0d05d0aea1..74ea3210f6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py index 27e5a5b8f0..2d037404dc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py index a26cdf8b82..a3995d5838 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py index 401d1fb8a1..5718330614 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_change_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py index 4ec3dffb54..ef4d700207 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_id_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py index 441a507641..528378d38e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/object_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py index 4714f862c3..7d78daa161 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/objects_bulk_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py index a441686897..2bef0bbbd0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/oracle_db_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/other_metric_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/other_metric_dto.py new file mode 100644 index 0000000000..20652e92d0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/other_metric_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.metric_dto import MetricDTO +from typing import Optional, Set +from typing_extensions import Self + +class OtherMetricDTO(BaseModel): + """ + Compare the metric against a different metric; for example, a Visier Benchmarks metric. + """ # noqa: E501 + metric: Optional[MetricDTO] = Field(default=None, description="The metric to compare the alert metric against.") + __properties: ClassVar[List[str]] = ["metric"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of OtherMetricDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of metric + if self.metric: + _dict['metric'] = self.metric.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of OtherMetricDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "metric": MetricDTO.from_dict(obj["metric"]) if obj.get("metric") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/output_entry.py b/src/visier_platform_sdk/visier_platform_sdk/models/output_entry.py index 40e1b963a1..d722a3d46c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/output_entry.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/output_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1.py b/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1.py index 1da7abea4e..fe2427b069 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1_matches_inner.py b/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1_matches_inner.py index 43cbebda53..ceb8d497e0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1_matches_inner.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/output_entry1_matches_inner.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py index 3f86accabb..ad149e11cf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/pair_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py index a588ef232e..846fd8052c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,22 +20,22 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.aggregation_type_parameter_dto import AggregationTypeParameterDTO -from visier_platform_sdk.models.member_parameter_definition_dto import MemberParameterDefinitionDTO -from visier_platform_sdk.models.numeric_parameter_definition_dto import NumericParameterDefinitionDTO -from visier_platform_sdk.models.plan_parameter_definition_dto import PlanParameterDefinitionDTO +from visier_platform_sdk.models.aggregation_type_parameter_value_dto import AggregationTypeParameterValueDTO +from visier_platform_sdk.models.metric_filter_parameter_value_dto import MetricFilterParameterValueDTO +from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO +from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO from typing import Optional, Set from typing_extensions import Self class ParameterDefinitionDTO(BaseModel): """ - Parameters generalize object definitions so that end users can provide values at query run time. + The information of a metric parameter value. """ # noqa: E501 - member_parameter: Optional[MemberParameterDefinitionDTO] = Field(default=None, description="A filter parameter that can be set with dimension members for the end user to select.", alias="memberParameter") - numeric_parameter: Optional[NumericParameterDefinitionDTO] = Field(default=None, description="A parameter with a numeric data type. A numeric parameter can be set with an optional default value and value range.", alias="numericParameter") - plan_parameter: Optional[PlanParameterDefinitionDTO] = Field(default=None, description="A parameter on a planning metric. Plan parameters resolve planning model metrics to a specific plan and scenario or snapshot.", alias="planParameter") - aggregation_type_parameter: Optional[AggregationTypeParameterDTO] = Field(default=None, description="An aggregation parameter. Such parameters enable control over how applicable metrics aggregate their results.", alias="aggregationTypeParameter") - __properties: ClassVar[List[str]] = ["memberParameter", "numericParameter", "planParameter", "aggregationTypeParameter"] + metric_filter_value: Optional[MetricFilterParameterValueDTO] = Field(default=None, description="A value for a metric filter.", alias="metricFilterValue") + numeric_value: Optional[NumericParameterValueDTO] = Field(default=None, description="A value for a numeric parameter.", alias="numericValue") + plan_value: Optional[PlanParameterValueDTO] = Field(default=None, description="A value for a plan parameter.", alias="planValue") + aggregation_type_value: Optional[AggregationTypeParameterValueDTO] = Field(default=None, description="A value for an aggregation parameter.", alias="aggregationTypeValue") + __properties: ClassVar[List[str]] = ["metricFilterValue", "numericValue", "planValue", "aggregationTypeValue"] model_config = ConfigDict( populate_by_name=True, @@ -76,18 +76,18 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of member_parameter - if self.member_parameter: - _dict['memberParameter'] = self.member_parameter.to_dict() - # override the default output from pydantic by calling `to_dict()` of numeric_parameter - if self.numeric_parameter: - _dict['numericParameter'] = self.numeric_parameter.to_dict() - # override the default output from pydantic by calling `to_dict()` of plan_parameter - if self.plan_parameter: - _dict['planParameter'] = self.plan_parameter.to_dict() - # override the default output from pydantic by calling `to_dict()` of aggregation_type_parameter - if self.aggregation_type_parameter: - _dict['aggregationTypeParameter'] = self.aggregation_type_parameter.to_dict() + # override the default output from pydantic by calling `to_dict()` of metric_filter_value + if self.metric_filter_value: + _dict['metricFilterValue'] = self.metric_filter_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of numeric_value + if self.numeric_value: + _dict['numericValue'] = self.numeric_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of plan_value + if self.plan_value: + _dict['planValue'] = self.plan_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of aggregation_type_value + if self.aggregation_type_value: + _dict['aggregationTypeValue'] = self.aggregation_type_value.to_dict() return _dict @classmethod @@ -100,10 +100,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "memberParameter": MemberParameterDefinitionDTO.from_dict(obj["memberParameter"]) if obj.get("memberParameter") is not None else None, - "numericParameter": NumericParameterDefinitionDTO.from_dict(obj["numericParameter"]) if obj.get("numericParameter") is not None else None, - "planParameter": PlanParameterDefinitionDTO.from_dict(obj["planParameter"]) if obj.get("planParameter") is not None else None, - "aggregationTypeParameter": AggregationTypeParameterDTO.from_dict(obj["aggregationTypeParameter"]) if obj.get("aggregationTypeParameter") is not None else None + "metricFilterValue": MetricFilterParameterValueDTO.from_dict(obj["metricFilterValue"]) if obj.get("metricFilterValue") is not None else None, + "numericValue": NumericParameterValueDTO.from_dict(obj["numericValue"]) if obj.get("numericValue") is not None else None, + "planValue": PlanParameterValueDTO.from_dict(obj["planValue"]) if obj.get("planValue") is not None else None, + "aggregationTypeValue": AggregationTypeParameterValueDTO.from_dict(obj["aggregationTypeValue"]) if obj.get("aggregationTypeValue") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/parent_child_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/parent_child_details_dto.py index 0db0f5ca01..41392f1b94 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/parent_child_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/parent_child_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/periods_back_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/periods_back_dto.py new file mode 100644 index 0000000000..24889ccde7 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/periods_back_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PeriodsBackDTO(BaseModel): + """ + The information of the periods back for a metric, including the period type and the number of periods back. + """ # noqa: E501 + period_type: Optional[StrictStr] = Field(default=None, description="The type of the period, such as `MONTH`, `QUARTER`, or `YEAR`.", alias="periodType") + periods_back: Optional[StrictInt] = Field(default=None, description="The number of periods back to evaluate the metric value.", alias="periodsBack") + __properties: ClassVar[List[str]] = ["periodType", "periodsBack"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PeriodsBackDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PeriodsBackDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "periodType": obj.get("periodType"), + "periodsBack": obj.get("periodsBack") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py index 5101a14b89..c005c1f4c7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py index 9fdb5f61fe..731f0bf3b3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py index 49dcf028e5..c6cfffa3c7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py index f095a82aa1..09be4a0657 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_assigned_users_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py index d3ad8477d4..0ef60f4388 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_bulk_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py index 2f9ff98c11..dd303dd3ef 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py index 544affe897..47c250ae77 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py index 91fe60871a..feeb62c4cf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py index c6b770f50b..9de815b8a8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py index 9e7c3311cb..c112ce30ce 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permission_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py index b5da39cebd..fd4f8eeea7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py index 1d309b0888..38a7cab199 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py index e779c64f77..636c73ae18 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_group_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py index aa76585ed0..6a29f0f9b7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/permissions_to_user_groups_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/persisted_cohort_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/persisted_cohort_filter_dto.py new file mode 100644 index 0000000000..5f3df86fff --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/persisted_cohort_filter_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class PersistedCohortFilterDTO(BaseModel): + """ + A filter that uses a persisted cohort in Visier. + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the concept reference.") + qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the persisted cohort in Visier, such as the analytic object or event the selection concept is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") + __properties: ClassVar[List[str]] = ["id", "qualifyingPath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PersistedCohortFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PersistedCohortFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "qualifyingPath": obj.get("qualifyingPath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py index 6181148286..ee7cf6040b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py index 64f0c7aca7..07bb0f2101 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/perspective_node_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_dto.py index 49e9b7f278..ad64073c92 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_list_dto.py index f7a678d2b7..df86ab9234 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_change_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py index e5360ab509..96b71d11e0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_load_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py index 2140366d32..c10223fd39 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_data_upload_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py index ae4136660e..8340307e1f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.collaboration_info import CollaborationInfo from visier_platform_sdk.models.scenario_info_dto import ScenarioInfoDTO from typing import Optional, Set from typing_extensions import Self @@ -32,9 +33,10 @@ class PlanInfoDTO(BaseModel): display_name: Optional[StrictStr] = Field(default=None, description="The display name of the plan.", alias="displayName") model_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the planning model that the plan is using.", alias="modelId") scenarios: Optional[List[ScenarioInfoDTO]] = Field(default=None, description="Information about the plan's scenarios.") + collaborations: Optional[List[CollaborationInfo]] = Field(default=None, description="Information about the plan's collaborations.") parent_plan_uuid: Optional[StrictStr] = Field(default=None, description="If the plan is a subplan, the response returns its parent plan's UUID. Not returned for main plans.", alias="parentPlanUuid") currency_code: Optional[StrictStr] = Field(default=None, description="The 3-digit ISO 4217 currency code of the plan's data.", alias="currencyCode") - __properties: ClassVar[List[str]] = ["uuid", "displayName", "modelId", "scenarios", "parentPlanUuid", "currencyCode"] + __properties: ClassVar[List[str]] = ["uuid", "displayName", "modelId", "scenarios", "collaborations", "parentPlanUuid", "currencyCode"] model_config = ConfigDict( populate_by_name=True, @@ -82,6 +84,13 @@ def to_dict(self) -> Dict[str, Any]: if _item_scenarios: _items.append(_item_scenarios.to_dict()) _dict['scenarios'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in collaborations (list) + _items = [] + if self.collaborations: + for _item_collaborations in self.collaborations: + if _item_collaborations: + _items.append(_item_collaborations.to_dict()) + _dict['collaborations'] = _items return _dict @classmethod @@ -98,6 +107,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "displayName": obj.get("displayName"), "modelId": obj.get("modelId"), "scenarios": [ScenarioInfoDTO.from_dict(_item) for _item in obj["scenarios"]] if obj.get("scenarios") is not None else None, + "collaborations": [CollaborationInfo.from_dict(_item) for _item in obj["collaborations"]] if obj.get("collaborations") is not None else None, "parentPlanUuid": obj.get("parentPlanUuid"), "currencyCode": obj.get("currencyCode") }) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py index 3d5d2760d2..ef86f9b0a5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_item_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py index 894e8d0e33..cf87e98963 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py index d575fe8d4a..53d7ec7f6a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,11 +27,12 @@ class PlanParameterValueDTO(BaseModel): """ The value for a parameter on a planning metric, including the parameter ID and the plan the parameter is based on. """ # noqa: E501 - parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the plan parameter qualified by the object.", alias="parameterId") - plan_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the plan the parameter is based on.", alias="planId") - scenario_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the scenario the parameter is based on.", alias="scenarioId") - snapshot_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the snapshot the parameter is based on.", alias="snapshotId") - __properties: ClassVar[List[str]] = ["parameterId", "planId", "scenarioId", "snapshotId"] + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the plan parameter qualified by the object.", alias="parameterId") + plan_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the plan the parameter is based on.", alias="planId") + scenario_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the scenario the parameter is based on.", alias="scenarioId") + snapshot_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the snapshot the parameter is based on.", alias="snapshotId") + exploration_snapshot_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the exploration snapshot the parameter is based on.", alias="explorationSnapshotId") + __properties: ClassVar[List[str]] = ["parameterId", "planId", "scenarioId", "snapshotId", "explorationSnapshotId"] model_config = ConfigDict( populate_by_name=True, @@ -87,7 +88,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "parameterId": obj.get("parameterId"), "planId": obj.get("planId"), "scenarioId": obj.get("scenarioId"), - "snapshotId": obj.get("snapshotId") + "snapshotId": obj.get("snapshotId"), + "explorationSnapshotId": obj.get("explorationSnapshotId") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request.py index 7b7206b179..4edee13517 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,7 +28,7 @@ class PlanPatchConsolidateActionRequest(BaseModel): """ PlanPatchConsolidateActionRequest """ # noqa: E501 - action_type: StrictStr = Field(description="The action to perform on the subplan. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. ", alias="actionType") + action_type: StrictStr = Field(description="The action to perform on the main plan or the subplan, in a specific scenario. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Submit`: Send your completed subplan to the plan coordinator for review. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. - `StartCollaboration`: Enter collaboration mode, so you can assign subplans to subplanners. - `EndCollaboration`: Regain control of the plan, so you can finalize it and put it into operation. ", alias="actionType") consolidate_action_payload: ConsolidateActionPayload = Field(alias="consolidateActionPayload") __properties: ClassVar[List[str]] = ["actionType", "consolidateActionPayload"] diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request_with_plan_id.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_end_collaboration_action_request.py similarity index 61% rename from src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request_with_plan_id.py rename to src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_end_collaboration_action_request.py index 09a4b2f070..b1de358240 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_consolidate_action_request_with_plan_id.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_end_collaboration_action_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,24 +20,23 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from visier_platform_sdk.models.consolidate_action_payload import ConsolidateActionPayload +from visier_platform_sdk.models.end_collaboration_action_payload import EndCollaborationActionPayload from typing import Optional, Set from typing_extensions import Self -class PlanPatchConsolidateActionRequestWithPlanId(BaseModel): +class PlanPatchEndCollaborationActionRequest(BaseModel): """ - PlanPatchConsolidateActionRequestWithPlanId + PlanPatchEndCollaborationActionRequest """ # noqa: E501 - action_type: StrictStr = Field(description="The action to perform on the subplan. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. ", alias="actionType") - consolidate_action_payload: ConsolidateActionPayload = Field(alias="consolidateActionPayload") - plan_id: StrictStr = Field(description="The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan.", alias="planId") - __properties: ClassVar[List[str]] = ["actionType", "consolidateActionPayload", "planId"] + action_type: StrictStr = Field(description="The action to perform on the main plan or the subplan, in a specific scenario. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Submit`: Send your completed subplan to the plan coordinator for review. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. - `StartCollaboration`: Enter collaboration mode, so you can assign subplans to subplanners. - `EndCollaboration`: Regain control of the plan, so you can finalize it and put it into operation. ", alias="actionType") + end_collaboration_action_payload: EndCollaborationActionPayload = Field(alias="endCollaborationActionPayload") + __properties: ClassVar[List[str]] = ["actionType", "endCollaborationActionPayload"] @field_validator('action_type') def action_type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['Consolidate']): - raise ValueError("must be one of enum values ('Consolidate')") + if value not in set(['EndCollaboration']): + raise ValueError("must be one of enum values ('EndCollaboration')") return value model_config = ConfigDict( @@ -58,7 +57,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanPatchConsolidateActionRequestWithPlanId from a JSON string""" + """Create an instance of PlanPatchEndCollaborationActionRequest from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,14 +78,14 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of consolidate_action_payload - if self.consolidate_action_payload: - _dict['consolidateActionPayload'] = self.consolidate_action_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of end_collaboration_action_payload + if self.end_collaboration_action_payload: + _dict['endCollaborationActionPayload'] = self.end_collaboration_action_payload.to_dict() return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanPatchConsolidateActionRequestWithPlanId from a dict""" + """Create an instance of PlanPatchEndCollaborationActionRequest from a dict""" if obj is None: return None @@ -95,8 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "actionType": obj.get("actionType"), - "consolidateActionPayload": ConsolidateActionPayload.from_dict(obj["consolidateActionPayload"]) if obj.get("consolidateActionPayload") is not None else None, - "planId": obj.get("planId") + "endCollaborationActionPayload": EndCollaborationActionPayload.from_dict(obj["endCollaborationActionPayload"]) if obj.get("endCollaborationActionPayload") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request.py index f0f3944085..f716298a2c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,7 +28,7 @@ class PlanPatchReopenActionRequest(BaseModel): """ PlanPatchReopenActionRequest """ # noqa: E501 - action_type: StrictStr = Field(description="The action to perform on the subplan. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. ", alias="actionType") + action_type: StrictStr = Field(description="The action to perform on the main plan or the subplan, in a specific scenario. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Submit`: Send your completed subplan to the plan coordinator for review. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. - `StartCollaboration`: Enter collaboration mode, so you can assign subplans to subplanners. - `EndCollaboration`: Regain control of the plan, so you can finalize it and put it into operation. ", alias="actionType") reopen_action_payload: ReopenActionPayload = Field(alias="reopenActionPayload") __properties: ClassVar[List[str]] = ["actionType", "reopenActionPayload"] diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_start_collaboration_action_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_start_collaboration_action_request.py new file mode 100644 index 0000000000..83949c639c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_start_collaboration_action_request.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List +from visier_platform_sdk.models.start_collaboration_action_payload import StartCollaborationActionPayload +from typing import Optional, Set +from typing_extensions import Self + +class PlanPatchStartCollaborationActionRequest(BaseModel): + """ + PlanPatchStartCollaborationActionRequest + """ # noqa: E501 + action_type: StrictStr = Field(description="The action to perform on the main plan or the subplan, in a specific scenario. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Submit`: Send your completed subplan to the plan coordinator for review. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. - `StartCollaboration`: Enter collaboration mode, so you can assign subplans to subplanners. - `EndCollaboration`: Regain control of the plan, so you can finalize it and put it into operation. ", alias="actionType") + start_collaboration_action_payload: StartCollaborationActionPayload = Field(alias="startCollaborationActionPayload") + __properties: ClassVar[List[str]] = ["actionType", "startCollaborationActionPayload"] + + @field_validator('action_type') + def action_type_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['StartCollaboration']): + raise ValueError("must be one of enum values ('StartCollaboration')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of PlanPatchStartCollaborationActionRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of start_collaboration_action_payload + if self.start_collaboration_action_payload: + _dict['startCollaborationActionPayload'] = self.start_collaboration_action_payload.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of PlanPatchStartCollaborationActionRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "actionType": obj.get("actionType"), + "startCollaborationActionPayload": StartCollaborationActionPayload.from_dict(obj["startCollaborationActionPayload"]) if obj.get("startCollaborationActionPayload") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request_with_plan_id.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_submit_action_request.py similarity index 64% rename from src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request_with_plan_id.py rename to src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_submit_action_request.py index 5a5b80ee7c..6167bc8228 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_reopen_action_request_with_plan_id.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_submit_action_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,24 +20,23 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from visier_platform_sdk.models.reopen_action_payload import ReopenActionPayload +from visier_platform_sdk.models.submit_action_payload import SubmitActionPayload from typing import Optional, Set from typing_extensions import Self -class PlanPatchReopenActionRequestWithPlanId(BaseModel): +class PlanPatchSubmitActionRequest(BaseModel): """ - PlanPatchReopenActionRequestWithPlanId + PlanPatchSubmitActionRequest """ # noqa: E501 - action_type: StrictStr = Field(description="The action to perform on the subplan. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. ", alias="actionType") - reopen_action_payload: ReopenActionPayload = Field(alias="reopenActionPayload") - plan_id: StrictStr = Field(description="The `uuid` of the subplan. Required for `PATCH /v1alpha/planning/data/plans`. If you are consolidating subplans, this is the `uuid` of the main plan.", alias="planId") - __properties: ClassVar[List[str]] = ["actionType", "reopenActionPayload", "planId"] + action_type: StrictStr = Field(description="The action to perform on the main plan or the subplan, in a specific scenario. Valid values: - `Consolidate`: Combine the submitted subplan values into the main plan. - `Submit`: Send your completed subplan to the plan coordinator for review. - `Reopen`: Reopen consolidated subplans so subplanners can change the values. - `StartCollaboration`: Enter collaboration mode, so you can assign subplans to subplanners. - `EndCollaboration`: Regain control of the plan, so you can finalize it and put it into operation. ", alias="actionType") + submit_action_payload: SubmitActionPayload = Field(alias="submitActionPayload") + __properties: ClassVar[List[str]] = ["actionType", "submitActionPayload"] @field_validator('action_type') def action_type_validate_enum(cls, value): """Validates the enum""" - if value not in set(['Reopen']): - raise ValueError("must be one of enum values ('Reopen')") + if value not in set(['Submit']): + raise ValueError("must be one of enum values ('Submit')") return value model_config = ConfigDict( @@ -58,7 +57,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanPatchReopenActionRequestWithPlanId from a JSON string""" + """Create an instance of PlanPatchSubmitActionRequest from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,14 +78,14 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of reopen_action_payload - if self.reopen_action_payload: - _dict['reopenActionPayload'] = self.reopen_action_payload.to_dict() + # override the default output from pydantic by calling `to_dict()` of submit_action_payload + if self.submit_action_payload: + _dict['submitActionPayload'] = self.submit_action_payload.to_dict() return _dict @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanPatchReopenActionRequestWithPlanId from a dict""" + """Create an instance of PlanPatchSubmitActionRequest from a dict""" if obj is None: return None @@ -95,8 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "actionType": obj.get("actionType"), - "reopenActionPayload": ReopenActionPayload.from_dict(obj["reopenActionPayload"]) if obj.get("reopenActionPayload") is not None else None, - "planId": obj.get("planId") + "submitActionPayload": SubmitActionPayload.from_dict(obj["submitActionPayload"]) if obj.get("submitActionPayload") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py index bed6a97b5f..73eb4bcb20 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_row_data_load_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_action_result.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_action_result.py similarity index 88% rename from src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_action_result.py rename to src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_action_result.py index c3a862eb67..0b9c67816a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_action_result.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_action_result.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -24,11 +24,11 @@ from typing import Optional, Set from typing_extensions import Self -class PlanPatchActionResult(BaseModel): +class PlanScenarioPatchActionResult(BaseModel): """ - The result of the action taken on the subplan. + The result of the action taken on the main plan or subplan. """ # noqa: E501 - plan_id: Optional[StrictStr] = Field(default=None, description="The UUID of the subplan.", alias="planId") + plan_id: Optional[StrictStr] = Field(default=None, description="The UUID of the main plan or subplan.", alias="planId") success: Optional[StrictBool] = Field(default=None, description="If `true`, the action was successful.") error: Optional[ErrorSummary] = Field(default=None, description="The error details of the unsuccessful action.") __properties: ClassVar[List[str]] = ["planId", "success", "error"] @@ -51,7 +51,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanPatchActionResult from a JSON string""" + """Create an instance of PlanScenarioPatchActionResult from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -79,7 +79,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanPatchActionResult from a dict""" + """Create an instance of PlanScenarioPatchActionResult from a dict""" if obj is None: return None diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_request.py similarity index 51% rename from src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_request.py rename to src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_request.py index f02c80c10a..26b105e049 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -19,23 +19,32 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator from typing import Any, List, Optional from visier_platform_sdk.models.plan_patch_consolidate_action_request import PlanPatchConsolidateActionRequest +from visier_platform_sdk.models.plan_patch_end_collaboration_action_request import PlanPatchEndCollaborationActionRequest from visier_platform_sdk.models.plan_patch_reopen_action_request import PlanPatchReopenActionRequest +from visier_platform_sdk.models.plan_patch_start_collaboration_action_request import PlanPatchStartCollaborationActionRequest +from visier_platform_sdk.models.plan_patch_submit_action_request import PlanPatchSubmitActionRequest from pydantic import StrictStr, Field from typing import Union, List, Set, Optional, Dict from typing_extensions import Literal, Self -PLANPATCHREQUEST_ONE_OF_SCHEMAS = ["PlanPatchConsolidateActionRequest", "PlanPatchReopenActionRequest"] +PLANSCENARIOPATCHREQUEST_ONE_OF_SCHEMAS = ["PlanPatchConsolidateActionRequest", "PlanPatchEndCollaborationActionRequest", "PlanPatchReopenActionRequest", "PlanPatchStartCollaborationActionRequest", "PlanPatchSubmitActionRequest"] -class PlanPatchRequest(BaseModel): +class PlanScenarioPatchRequest(BaseModel): """ - If reopening a subplan, this is the subplan to update. If consolidating subplans, this is the main plan to update. + If consolidating subplans, starting collaboration, or ending collaboration, this is the main plan to update. Otherwise, this is the subplan to update. """ # data type: PlanPatchConsolidateActionRequest oneof_schema_1_validator: Optional[PlanPatchConsolidateActionRequest] = None + # data type: PlanPatchSubmitActionRequest + oneof_schema_2_validator: Optional[PlanPatchSubmitActionRequest] = None # data type: PlanPatchReopenActionRequest - oneof_schema_2_validator: Optional[PlanPatchReopenActionRequest] = None - actual_instance: Optional[Union[PlanPatchConsolidateActionRequest, PlanPatchReopenActionRequest]] = None - one_of_schemas: Set[str] = { "PlanPatchConsolidateActionRequest", "PlanPatchReopenActionRequest" } + oneof_schema_3_validator: Optional[PlanPatchReopenActionRequest] = None + # data type: PlanPatchStartCollaborationActionRequest + oneof_schema_4_validator: Optional[PlanPatchStartCollaborationActionRequest] = None + # data type: PlanPatchEndCollaborationActionRequest + oneof_schema_5_validator: Optional[PlanPatchEndCollaborationActionRequest] = None + actual_instance: Optional[Union[PlanPatchConsolidateActionRequest, PlanPatchEndCollaborationActionRequest, PlanPatchReopenActionRequest, PlanPatchStartCollaborationActionRequest, PlanPatchSubmitActionRequest]] = None + one_of_schemas: Set[str] = { "PlanPatchConsolidateActionRequest", "PlanPatchEndCollaborationActionRequest", "PlanPatchReopenActionRequest", "PlanPatchStartCollaborationActionRequest", "PlanPatchSubmitActionRequest" } model_config = ConfigDict( validate_assignment=True, @@ -58,7 +67,7 @@ def __init__(self, *args, **kwargs) -> None: @field_validator('actual_instance') def actual_instance_must_validate_oneof(cls, v): - instance = PlanPatchRequest.model_construct() + instance = PlanScenarioPatchRequest.model_construct() error_messages = [] match = 0 # validate data type: PlanPatchConsolidateActionRequest @@ -66,17 +75,32 @@ def actual_instance_must_validate_oneof(cls, v): error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchConsolidateActionRequest`") else: match += 1 + # validate data type: PlanPatchSubmitActionRequest + if not isinstance(v, PlanPatchSubmitActionRequest): + error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchSubmitActionRequest`") + else: + match += 1 # validate data type: PlanPatchReopenActionRequest if not isinstance(v, PlanPatchReopenActionRequest): error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchReopenActionRequest`") else: match += 1 + # validate data type: PlanPatchStartCollaborationActionRequest + if not isinstance(v, PlanPatchStartCollaborationActionRequest): + error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchStartCollaborationActionRequest`") + else: + match += 1 + # validate data type: PlanPatchEndCollaborationActionRequest + if not isinstance(v, PlanPatchEndCollaborationActionRequest): + error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchEndCollaborationActionRequest`") + else: + match += 1 if match > 1: # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in PlanPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchReopenActionRequest. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when setting `actual_instance` in PlanScenarioPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchEndCollaborationActionRequest, PlanPatchReopenActionRequest, PlanPatchStartCollaborationActionRequest, PlanPatchSubmitActionRequest. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when setting `actual_instance` in PlanPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchReopenActionRequest. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when setting `actual_instance` in PlanScenarioPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchEndCollaborationActionRequest, PlanPatchReopenActionRequest, PlanPatchStartCollaborationActionRequest, PlanPatchSubmitActionRequest. Details: " + ", ".join(error_messages)) else: return v @@ -97,19 +121,37 @@ def from_json(cls, json_str: str) -> Self: match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) + # deserialize data into PlanPatchSubmitActionRequest + try: + instance.actual_instance = PlanPatchSubmitActionRequest.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) # deserialize data into PlanPatchReopenActionRequest try: instance.actual_instance = PlanPatchReopenActionRequest.from_json(json_str) match += 1 except (ValidationError, ValueError) as e: error_messages.append(str(e)) + # deserialize data into PlanPatchStartCollaborationActionRequest + try: + instance.actual_instance = PlanPatchStartCollaborationActionRequest.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) + # deserialize data into PlanPatchEndCollaborationActionRequest + try: + instance.actual_instance = PlanPatchEndCollaborationActionRequest.from_json(json_str) + match += 1 + except (ValidationError, ValueError) as e: + error_messages.append(str(e)) if match > 1: # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into PlanPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchReopenActionRequest. Details: " + ", ".join(error_messages)) + raise ValueError("Multiple matches found when deserializing the JSON string into PlanScenarioPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchEndCollaborationActionRequest, PlanPatchReopenActionRequest, PlanPatchStartCollaborationActionRequest, PlanPatchSubmitActionRequest. Details: " + ", ".join(error_messages)) elif match == 0: # no match - raise ValueError("No match found when deserializing the JSON string into PlanPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchReopenActionRequest. Details: " + ", ".join(error_messages)) + raise ValueError("No match found when deserializing the JSON string into PlanScenarioPatchRequest with oneOf schemas: PlanPatchConsolidateActionRequest, PlanPatchEndCollaborationActionRequest, PlanPatchReopenActionRequest, PlanPatchStartCollaborationActionRequest, PlanPatchSubmitActionRequest. Details: " + ", ".join(error_messages)) else: return instance @@ -123,7 +165,7 @@ def to_json(self) -> str: else: return json.dumps(self.actual_instance) - def to_dict(self) -> Optional[Union[Dict[str, Any], PlanPatchConsolidateActionRequest, PlanPatchReopenActionRequest]]: + def to_dict(self) -> Optional[Union[Dict[str, Any], PlanPatchConsolidateActionRequest, PlanPatchEndCollaborationActionRequest, PlanPatchReopenActionRequest, PlanPatchStartCollaborationActionRequest, PlanPatchSubmitActionRequest]]: """Returns the dict representation of the actual instance""" if self.actual_instance is None: return None diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_response.py similarity index 79% rename from src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_response.py rename to src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_response.py index 4463a4941c..d005a58055 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_patch_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_scenario_patch_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,15 +20,15 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.plan_patch_action_result import PlanPatchActionResult +from visier_platform_sdk.models.plan_scenario_patch_action_result import PlanScenarioPatchActionResult from typing import Optional, Set from typing_extensions import Self -class PlanPatchResponse(BaseModel): +class PlanScenarioPatchResponse(BaseModel): """ The result of the action taken on the subplan if reopening, or the main plan if consolidating. """ # noqa: E501 - action_results: Optional[List[PlanPatchActionResult]] = Field(default=None, description="The result of the action taken on the subplan.", alias="actionResults") + action_results: Optional[List[PlanScenarioPatchActionResult]] = Field(default=None, description="The result of the action taken on the main plan or subplan.", alias="actionResults") __properties: ClassVar[List[str]] = ["actionResults"] model_config = ConfigDict( @@ -49,7 +49,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of PlanPatchResponse from a JSON string""" + """Create an instance of PlanScenarioPatchResponse from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -81,7 +81,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of PlanPatchResponse from a dict""" + """Create an instance of PlanScenarioPatchResponse from a dict""" if obj is None: return None @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "actionResults": [PlanPatchActionResult.from_dict(_item) for _item in obj["actionResults"]] if obj.get("actionResults") is not None else None + "actionResults": [PlanScenarioPatchActionResult.from_dict(_item) for _item in obj["actionResults"]] if obj.get("actionResults") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py index 99d4638754..dbfa17a97c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py index d6c26d50cd..06a7cc67d8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py index 55d88fa469..82afcaa213 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py index 1884397b2f..cb01d84c0d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_segment_level_member_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py index f4f19b5ad9..b0d941d71d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_time_period_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py index e772ce829d..7252e6d5aa 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/plan_with_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py index 57969e3183..c9aa6a5ef4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_concept_filter_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py index d715c44db4..2fe8a254b5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py index 909860d23b..44d0280b17 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_model_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py index 189df9b85b..54d1829f35 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_models_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py index ca3f1a8979..f70987e5e6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_context_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py index 78c3b54c78..6077150c7a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plan_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py index 2b679edcbb..05ff9c0227 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/planning_plans_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request_plan_item.py b/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request_plan_item.py deleted file mode 100644 index 7ac192bbcc..0000000000 --- a/src/visier_platform_sdk/visier_platform_sdk/models/plans_patch_request_plan_item.py +++ /dev/null @@ -1,141 +0,0 @@ -# coding: utf-8 - -""" - API Reference - - 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. - - The version of the OpenAPI document: 22222222.99201.2050 - Contact: alpine@visier.com - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import json -import pprint -from pydantic import BaseModel, ConfigDict, Field, StrictStr, ValidationError, field_validator -from typing import Any, List, Optional -from visier_platform_sdk.models.plan_patch_consolidate_action_request_with_plan_id import PlanPatchConsolidateActionRequestWithPlanId -from visier_platform_sdk.models.plan_patch_reopen_action_request_with_plan_id import PlanPatchReopenActionRequestWithPlanId -from pydantic import StrictStr, Field -from typing import Union, List, Set, Optional, Dict -from typing_extensions import Literal, Self - -PLANSPATCHREQUESTPLANITEM_ONE_OF_SCHEMAS = ["PlanPatchConsolidateActionRequestWithPlanId", "PlanPatchReopenActionRequestWithPlanId"] - -class PlansPatchRequestPlanItem(BaseModel): - """ - PlansPatchRequestPlanItem - """ - # data type: PlanPatchConsolidateActionRequestWithPlanId - oneof_schema_1_validator: Optional[PlanPatchConsolidateActionRequestWithPlanId] = None - # data type: PlanPatchReopenActionRequestWithPlanId - oneof_schema_2_validator: Optional[PlanPatchReopenActionRequestWithPlanId] = None - actual_instance: Optional[Union[PlanPatchConsolidateActionRequestWithPlanId, PlanPatchReopenActionRequestWithPlanId]] = None - one_of_schemas: Set[str] = { "PlanPatchConsolidateActionRequestWithPlanId", "PlanPatchReopenActionRequestWithPlanId" } - - model_config = ConfigDict( - validate_assignment=True, - protected_namespaces=(), - ) - - - discriminator_value_class_map: Dict[str, str] = { - } - - def __init__(self, *args, **kwargs) -> None: - if args: - if len(args) > 1: - raise ValueError("If a position argument is used, only 1 is allowed to set `actual_instance`") - if kwargs: - raise ValueError("If a position argument is used, keyword arguments cannot be used.") - super().__init__(actual_instance=args[0]) - else: - super().__init__(**kwargs) - - @field_validator('actual_instance') - def actual_instance_must_validate_oneof(cls, v): - instance = PlansPatchRequestPlanItem.model_construct() - error_messages = [] - match = 0 - # validate data type: PlanPatchConsolidateActionRequestWithPlanId - if not isinstance(v, PlanPatchConsolidateActionRequestWithPlanId): - error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchConsolidateActionRequestWithPlanId`") - else: - match += 1 - # validate data type: PlanPatchReopenActionRequestWithPlanId - if not isinstance(v, PlanPatchReopenActionRequestWithPlanId): - error_messages.append(f"Error! Input type `{type(v)}` is not `PlanPatchReopenActionRequestWithPlanId`") - else: - match += 1 - if match > 1: - # more than 1 match - raise ValueError("Multiple matches found when setting `actual_instance` in PlansPatchRequestPlanItem with oneOf schemas: PlanPatchConsolidateActionRequestWithPlanId, PlanPatchReopenActionRequestWithPlanId. Details: " + ", ".join(error_messages)) - elif match == 0: - # no match - raise ValueError("No match found when setting `actual_instance` in PlansPatchRequestPlanItem with oneOf schemas: PlanPatchConsolidateActionRequestWithPlanId, PlanPatchReopenActionRequestWithPlanId. Details: " + ", ".join(error_messages)) - else: - return v - - @classmethod - def from_dict(cls, obj: Union[str, Dict[str, Any]]) -> Self: - return cls.from_json(json.dumps(obj)) - - @classmethod - def from_json(cls, json_str: str) -> Self: - """Returns the object represented by the json string""" - instance = cls.model_construct() - error_messages = [] - match = 0 - - # deserialize data into PlanPatchConsolidateActionRequestWithPlanId - try: - instance.actual_instance = PlanPatchConsolidateActionRequestWithPlanId.from_json(json_str) - match += 1 - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - # deserialize data into PlanPatchReopenActionRequestWithPlanId - try: - instance.actual_instance = PlanPatchReopenActionRequestWithPlanId.from_json(json_str) - match += 1 - except (ValidationError, ValueError) as e: - error_messages.append(str(e)) - - if match > 1: - # more than 1 match - raise ValueError("Multiple matches found when deserializing the JSON string into PlansPatchRequestPlanItem with oneOf schemas: PlanPatchConsolidateActionRequestWithPlanId, PlanPatchReopenActionRequestWithPlanId. Details: " + ", ".join(error_messages)) - elif match == 0: - # no match - raise ValueError("No match found when deserializing the JSON string into PlansPatchRequestPlanItem with oneOf schemas: PlanPatchConsolidateActionRequestWithPlanId, PlanPatchReopenActionRequestWithPlanId. Details: " + ", ".join(error_messages)) - else: - return instance - - def to_json(self) -> str: - """Returns the JSON representation of the actual instance""" - if self.actual_instance is None: - return "null" - - if hasattr(self.actual_instance, "to_json") and callable(self.actual_instance.to_json): - return self.actual_instance.to_json() - else: - return json.dumps(self.actual_instance) - - def to_dict(self) -> Optional[Union[Dict[str, Any], PlanPatchConsolidateActionRequestWithPlanId, PlanPatchReopenActionRequestWithPlanId]]: - """Returns the dict representation of the actual instance""" - if self.actual_instance is None: - return None - - if hasattr(self.actual_instance, "to_dict") and callable(self.actual_instance.to_dict): - return self.actual_instance.to_dict() - else: - # primitive type - return self.actual_instance - - def to_str(self) -> str: - """Returns the string representation of the actual instance""" - return pprint.pformat(self.model_dump()) - - diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py index a642fbbe1a..d5ba7078cd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/population_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py index aba091bcc0..2b95cff2ca 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/prediction_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py index 9ddfc4b21e..216b4e216b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/predictions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py index 259b16d9f4..107934ed94 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py index ac9b08fcf1..59f3a86c26 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py index fe7d94d2a3..142844b7e6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_member_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py index 61e332023d..c15955220b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,19 +18,35 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.process_concept_metric_type_details_dto import ProcessConceptMetricTypeDetailsDTO +from visier_platform_sdk.models.version_information_dto import VersionInformationDTO from typing import Optional, Set from typing_extensions import Self class ProcessConceptMetricDefinitionDTO(BaseModel): """ - Information about the metric, such as its formula and data type. + Information about the metric, such as its object name, basic information, and additive type. """ # noqa: E501 - formula: Optional[StrictStr] = Field(default=None, description="The metric's formula written in Visier Formula Language (VFL).") - data_type: Optional[StrictStr] = Field(default=None, description="The metric's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") - visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution. Default is `true`.", alias="visibleInAnalytics") - __properties: ClassVar[List[str]] = ["formula", "dataType", "visibleInAnalytics"] + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the metric.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the metric.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the metric, such as its display name, description, and explanation.", alias="basicInformation") + details: Optional[ProcessConceptMetricTypeDetailsDTO] = Field(default=None, description="The metric type and its details.") + additive_type: Optional[StrictStr] = Field(default=None, description="How to sum the metric's values. Valid values: - `fullyAdditive`: Sums the metric over any dimension, concept, or time period. - `balance`: Sums the metric over any dimension or concept, but not time period. - `nonAdditive`: Metric values are not additive.", alias="additiveType") + version_information: Optional[VersionInformationDTO] = Field(default=None, description="The object's version information. Version information is read-only. It indicates where the object originates from and whether the object has been modified in your tenant.", alias="versionInformation") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "additiveType", "versionInformation"] + + @field_validator('additive_type') + def additive_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['fullyAdditive', 'balance', 'nonAdditive', 'unknown']): + raise ValueError("must be one of enum values ('fullyAdditive', 'balance', 'nonAdditive', 'unknown')") + return value model_config = ConfigDict( populate_by_name=True, @@ -71,6 +87,15 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + # override the default output from pydantic by calling `to_dict()` of version_information + if self.version_information: + _dict['versionInformation'] = self.version_information.to_dict() return _dict @classmethod @@ -83,9 +108,12 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "formula": obj.get("formula"), - "dataType": obj.get("dataType"), - "visibleInAnalytics": obj.get("visibleInAnalytics") + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "details": ProcessConceptMetricTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, + "additiveType": obj.get("additiveType"), + "versionInformation": VersionInformationDTO.from_dict(obj["versionInformation"]) if obj.get("versionInformation") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_details_dto.py new file mode 100644 index 0000000000..e91837a0e2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_details_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptMetricDetailsDTO(BaseModel): + """ + Information about the metric, such as its formula and data type. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="The metric's formula written in Visier Formula Language (VFL).") + data_type: Optional[StrictStr] = Field(default=None, description="The metric's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution. Default is `true`.", alias="visibleInAnalytics") + __properties: ClassVar[List[str]] = ["formula", "dataType", "visibleInAnalytics"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptMetricDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptMetricDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "dataType": obj.get("dataType"), + "visibleInAnalytics": obj.get("visibleInAnalytics") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py index 8b39641e6a..bd17bf3806 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.metric_definition_dto import MetricDefinitionDTO +from visier_platform_sdk.models.process_concept_metric_definition_dto import ProcessConceptMetricDefinitionDTO from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class ProcessConceptMetricListDTO(BaseModel): """ The process concept's associated metrics. """ # noqa: E501 - metrics: Optional[List[MetricDefinitionDTO]] = Field(default=None, description="Each metric in the process concept.") + metrics: Optional[List[ProcessConceptMetricDefinitionDTO]] = Field(default=None, description="Each metric in the process concept.") __properties: ClassVar[List[str]] = ["metrics"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "metrics": [MetricDefinitionDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None + "metrics": [ProcessConceptMetricDefinitionDTO.from_dict(_item) for _item in obj["metrics"]] if obj.get("metrics") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_type_details_dto.py new file mode 100644 index 0000000000..59075cf262 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_metric_type_details_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_metric_details_dto import ProcessConceptMetricDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptMetricTypeDetailsDTO(BaseModel): + """ + ProcessConceptMetricTypeDetailsDTO + """ # noqa: E501 + process_concept: Optional[ProcessConceptMetricDetailsDTO] = Field(default=None, description="Information about the process concept metric, such as its formula and data type.", alias="processConcept") + __properties: ClassVar[List[str]] = ["processConcept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptMetricTypeDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of process_concept + if self.process_concept: + _dict['processConcept'] = self.process_concept.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptMetricTypeDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "processConcept": ProcessConceptMetricDetailsDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py index a6dd8b3ce3..d1c886cded 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py index f5046d9b5b..21e1f0e753 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_outcome_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_details_dto.py new file mode 100644 index 0000000000..5ee831cfd4 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_details_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptPropertyDetailsDTO(BaseModel): + """ + Information about the process concept's property type details. + """ # noqa: E501 + process_concept: Optional[ProcessConceptPropertyTypeDTO] = Field(default=None, description="The process concept's property type details.", alias="processConcept") + __properties: ClassVar[List[str]] = ["processConcept"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of process_concept + if self.process_concept: + _dict['processConcept'] = self.process_concept.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "processConcept": ProcessConceptPropertyTypeDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_dto.py new file mode 100644 index 0000000000..2d8ea95b32 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO +from visier_platform_sdk.models.process_concept_property_details_dto import ProcessConceptPropertyDetailsDTO +from typing import Optional, Set +from typing_extensions import Self + +class ProcessConceptPropertyDTO(BaseModel): + """ + ProcessConceptPropertyDTO + """ # noqa: E501 + uuid: Optional[StrictStr] = Field(default=None, description="The UUID identifying the property.") + object_name: Optional[StrictStr] = Field(default=None, description="The object name of the property.", alias="objectName") + basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the property, such as its display name, description, and explanation.", alias="basicInformation") + details: Optional[ProcessConceptPropertyDetailsDTO] = Field(default=None, description="The property type and its details.") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of basic_information + if self.basic_information: + _dict['basicInformation'] = self.basic_information.to_dict() + # override the default output from pydantic by calling `to_dict()` of details + if self.details: + _dict['details'] = self.details.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProcessConceptPropertyDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "uuid": obj.get("uuid"), + "objectName": obj.get("objectName"), + "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, + "details": ProcessConceptPropertyDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py index 17ae835878..8d4577b17b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from visier_platform_sdk.models.property_definition_dto import PropertyDefinitionDTO +from visier_platform_sdk.models.process_concept_property_dto import ProcessConceptPropertyDTO from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class ProcessConceptPropertyListDTO(BaseModel): """ The process concept's associated properties. """ # noqa: E501 - properties: Optional[List[PropertyDefinitionDTO]] = Field(default=None, description="Each property in the process concept.") + properties: Optional[List[ProcessConceptPropertyDTO]] = Field(default=None, description="Each property in the process concept.") __properties: ClassVar[List[str]] = ["properties"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "properties": [PropertyDefinitionDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None + "properties": [ProcessConceptPropertyDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py index b31143cd49..2949bfd87a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py index b94c58958d..c3815416a1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py index a802804ee5..a2a05522d2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/process_concept_stage_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py index 9e1cf404eb..e5b1b70e02 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py index 9e82be61d4..5aa7b7559a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_and_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py index d529687d55..d1f0691e5e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py index 6298dd295e..c7c8955768 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/processing_job_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py index 8b165d4270..18d5d54d22 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_release_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py index 29bfd4c585..a4e73eadf5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_releases_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py index 99320ca864..faa04d09e8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_version_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py index d2e412d774..b1a2bbcb76 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py index 08ebb13f26..717ff95d20 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py index 386088ed9c..61a3b2ae12 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py index 106501a881..7e18400ce0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py index 7bd02b264f..6b437b670c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py index 32fd020b9e..a62ffd5d6c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_version_api_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py index a293eec9a6..d12adc0bf6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py index 00d43f40b2..e0b0518d97 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/production_versions_api_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py index 4d38fa31e2..9a988a7dc8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py index b42d83be3b..d7ed55ac00 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assignment_dto.py index 80cc4f310a..b36155f0e5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/profile_assignment_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,8 +28,8 @@ class ProfileAssignmentDTO(BaseModel): The profiles associated with the user. """ # noqa: E501 profile_id: Optional[StrictStr] = Field(default=None, description="The unique identifier associated with the profile.", alias="profileId") - validity_start_time: Optional[StrictStr] = Field(default=None, description="An inclusive date-time when this profile is active.", alias="validityStartTime") - validity_end_time: Optional[StrictStr] = Field(default=None, description="An exclusive date-time when this profile is no longer active.", alias="validityEndTime") + validity_start_time: Optional[StrictStr] = Field(default=None, description="The inclusive start date and time when this profile is active. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="validityStartTime") + validity_end_time: Optional[StrictStr] = Field(default=None, description="The exclusive end date and time when this profile is no longer active. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="validityEndTime") __properties: ClassVar[List[str]] = ["profileId", "validityStartTime", "validityEndTime"] model_config = ConfigDict( diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py index 8750cbe4a1..dfaad32dc4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profile_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py index 24e05cfee4..e01704074f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/profiles_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_commit_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_commit_dto.py new file mode 100644 index 0000000000..490899e5a0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_commit_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class ProjectCommitDTO(BaseModel): + """ + ProjectCommitDTO + """ # noqa: E501 + id: Optional[StrictStr] = Field(default=None, description="The unique ID of the committed change.") + name: Optional[StrictStr] = Field(default=None, description="An identifiable name of the committed change to display in Visier.") + description: Optional[StrictStr] = Field(default=None, description="A description of the committed change.") + __properties: ClassVar[List[str]] = ["id", "name", "description"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of ProjectCommitDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of ProjectCommitDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "id": obj.get("id"), + "name": obj.get("name"), + "description": obj.get("description") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py index 8571cc196f..cc56fb8a7c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_commits_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py index eee58c5ee7..c9131e16b6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py index 9f586e07ac..64cc553bc0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py index 13518a02df..2dcc5f26d2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/project_operation_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py index f1eac1ed5b..0897781f12 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/properties_change_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py index 35fb53da81..a2f0fd1196 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/properties_delete_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py index d767f5fdfe..47fc6b7150 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/properties_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py index 56e9f49aea..bbb36b9dc7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_access_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py index 55d9fd330b..80af07e43a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_bulk_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py index 4feaa4eeb0..f37cd04e47 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py index cd18783ea5..3302c02a75 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py index 555b310a81..70f1537d0a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_column_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py index cfadd1b7c4..47a378e7da 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,10 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.basic_information_dto import BasicInformationDTO from visier_platform_sdk.models.property_type_details_dto import PropertyTypeDetailsDTO +from visier_platform_sdk.models.tag_reference_list_dto import TagReferenceListDTO +from visier_platform_sdk.models.version_information_dto import VersionInformationDTO from typing import Optional, Set from typing_extensions import Self @@ -33,7 +35,10 @@ class PropertyDefinitionDTO(BaseModel): object_name: Optional[StrictStr] = Field(default=None, description="The object name of the property.", alias="objectName") basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the property, such as its display name, description, and explanation.", alias="basicInformation") details: Optional[PropertyTypeDetailsDTO] = Field(default=None, description="The property type and its details.") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details"] + tag_list: Optional[TagReferenceListDTO] = Field(default=None, description="A list of tags assigned to the object.", alias="tagList") + include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") + version_information: Optional[VersionInformationDTO] = Field(default=None, description="The object's version information. Version information is read-only. It indicates where the object originates from and whether the object has been modified in your tenant.", alias="versionInformation") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "tagList", "includeWithVee", "versionInformation"] model_config = ConfigDict( populate_by_name=True, @@ -80,6 +85,12 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of details if self.details: _dict['details'] = self.details.to_dict() + # override the default output from pydantic by calling `to_dict()` of tag_list + if self.tag_list: + _dict['tagList'] = self.tag_list.to_dict() + # override the default output from pydantic by calling `to_dict()` of version_information + if self.version_information: + _dict['versionInformation'] = self.version_information.to_dict() return _dict @classmethod @@ -95,7 +106,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "uuid": obj.get("uuid"), "objectName": obj.get("objectName"), "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, - "details": PropertyTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None + "details": PropertyTypeDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, + "tagList": TagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, + "includeWithVee": obj.get("includeWithVee"), + "versionInformation": VersionInformationDTO.from_dict(obj["versionInformation"]) if obj.get("versionInformation") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_list_dto.py index 6031f75d3e..957a6daeaf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_definition_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -28,8 +28,8 @@ class PropertyDefinitionListDTO(BaseModel): """ The list of properties. """ # noqa: E501 - property_list: Optional[List[PropertyDefinitionDTO]] = Field(default=None, description="The list of properties.", alias="propertyList") - __properties: ClassVar[List[str]] = ["propertyList"] + properties: Optional[List[PropertyDefinitionDTO]] = Field(default=None, description="The list of properties.") + __properties: ClassVar[List[str]] = ["properties"] model_config = ConfigDict( populate_by_name=True, @@ -70,13 +70,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) - # override the default output from pydantic by calling `to_dict()` of each item in property_list (list) + # override the default output from pydantic by calling `to_dict()` of each item in properties (list) _items = [] - if self.property_list: - for _item_property_list in self.property_list: - if _item_property_list: - _items.append(_item_property_list.to_dict()) - _dict['propertyList'] = _items + if self.properties: + for _item_properties in self.properties: + if _item_properties: + _items.append(_item_properties.to_dict()) + _dict['properties'] = _items return _dict @classmethod @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "propertyList": [PropertyDefinitionDTO.from_dict(_item) for _item in obj["propertyList"]] if obj.get("propertyList") is not None else None + "properties": [PropertyDefinitionDTO.from_dict(_item) for _item in obj["properties"]] if obj.get("properties") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py index 810ab16925..9fb3dc29ad 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py index da06a3c025..3f0c9e14f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py index 9921798d3a..9ca7be8a9d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_dto.py index 589e05d797..e2f654533b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_list_dto.py index 1916ca30eb..61632cef6e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_dependency_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py index 40c05819e6..eadff48137 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py index 3ff5fc3a8e..3622784cd8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py index 4a6fdab183..e52984ab1c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_set_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py index c700bd2128..600c8682a4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -21,7 +21,6 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.multi_value_property_type_dto import MultiValuePropertyTypeDTO -from visier_platform_sdk.models.process_concept_property_type_dto import ProcessConceptPropertyTypeDTO from visier_platform_sdk.models.v2_calculated_property_type_dto import V2CalculatedPropertyTypeDTO from visier_platform_sdk.models.v2_simple_property_type_dto import V2SimplePropertyTypeDTO from typing import Optional, Set @@ -33,9 +32,8 @@ class PropertyTypeDetailsDTO(BaseModel): """ # noqa: E501 simple: Optional[V2SimplePropertyTypeDTO] = Field(default=None, description="The simple property type, which provides a single value directly from the data.") calculated: Optional[V2CalculatedPropertyTypeDTO] = Field(default=None, description="The calculated property type, which derives its value using a formula.") - process_concept: Optional[ProcessConceptPropertyTypeDTO] = Field(default=None, description="The process concept property type, which describes the relationship between subject member properties and a subject member in the process pipeline.", alias="processConcept") multi_value: Optional[MultiValuePropertyTypeDTO] = Field(default=None, description="A property type for a single attribute that can have several valid values at the same time. For example, Employee Education may have values for year, school, and certification.", alias="multiValue") - __properties: ClassVar[List[str]] = ["simple", "calculated", "processConcept", "multiValue"] + __properties: ClassVar[List[str]] = ["simple", "calculated", "multiValue"] model_config = ConfigDict( populate_by_name=True, @@ -82,9 +80,6 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of calculated if self.calculated: _dict['calculated'] = self.calculated.to_dict() - # override the default output from pydantic by calling `to_dict()` of process_concept - if self.process_concept: - _dict['processConcept'] = self.process_concept.to_dict() # override the default output from pydantic by calling `to_dict()` of multi_value if self.multi_value: _dict['multiValue'] = self.multi_value.to_dict() @@ -102,7 +97,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "simple": V2SimplePropertyTypeDTO.from_dict(obj["simple"]) if obj.get("simple") is not None else None, "calculated": V2CalculatedPropertyTypeDTO.from_dict(obj["calculated"]) if obj.get("calculated") is not None else None, - "processConcept": ProcessConceptPropertyTypeDTO.from_dict(obj["processConcept"]) if obj.get("processConcept") is not None else None, "multiValue": MultiValuePropertyTypeDTO.from_dict(obj["multiValue"]) if obj.get("multiValue") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py index ac1c227e99..60f6ddffdd 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py index f316e79670..eb260cbf97 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/public_key_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py index bb4a9c8212..752aae1d09 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/public_keys_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py index 3c0bc8956b..2e49de38ee 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_cancel_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py index 3838490bb5..3181c64252 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_column_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py index f608b78a4e..2d748551cc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_request.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py index d48b616c4e..dcce2bf02b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_complete_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py index 9224fbdbd1..f9031014d6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py index 12044f0678..598adf107b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py index 7cd2d63bd9..64491668bf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/push_data_source_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py index 903bf5ebc2..880b2ab54e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/qualtrics_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py index a51414e03c..145d68779e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py index 6132965e2d..1fabbc8167 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_axis_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py index c2965b8873..c48ebeb3c0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_data_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py index 4f94ced913..4ef26f17d7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_leaf_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py index 8439bfc86b..d0706d8fa7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py index 41bdd8a67e..9bca3d3be6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_level_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py index 2c4471a8e1..aeab6f179d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_dimension_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py index 9335aa9a23..65919bdd4e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py index 70049535fc..5e5fd748f2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py index 772b40dd0e..09812644a5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_execution_errors_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py index 3cbbeaaea8..0149b771b8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py index 18cc0cefde..15f50165ad 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py index 2624fcbe04..f7cbd87cbc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_member_map_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py index 149b75afdf..9c02d4f297 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_numeric_ranges_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py index 836261b4d7..9cdf02a245 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_parameter_value_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -24,6 +24,7 @@ from visier_platform_sdk.models.member_parameter_value_dto import MemberParameterValueDTO from visier_platform_sdk.models.numeric_parameter_value_dto import NumericParameterValueDTO from visier_platform_sdk.models.plan_parameter_value_dto import PlanParameterValueDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto import SubjectMemberSetParameterValueDTO from typing import Optional, Set from typing_extensions import Self @@ -35,7 +36,8 @@ class QueryParameterValueDTO(BaseModel): numeric_value: Optional[NumericParameterValueDTO] = Field(default=None, description="A value for a numeric parameter.", alias="numericValue") plan_value: Optional[PlanParameterValueDTO] = Field(default=None, description="A value for a plan parameter.", alias="planValue") aggregation_type_value: Optional[AggregationTypeParameterValueDTO] = Field(default=None, description="A value for an aggregation parameter.", alias="aggregationTypeValue") - __properties: ClassVar[List[str]] = ["memberValue", "numericValue", "planValue", "aggregationTypeValue"] + subject_member_set_value: Optional[SubjectMemberSetParameterValueDTO] = Field(default=None, description="A value for a subject member set parameter.", alias="subjectMemberSetValue") + __properties: ClassVar[List[str]] = ["memberValue", "numericValue", "planValue", "aggregationTypeValue", "subjectMemberSetValue"] model_config = ConfigDict( populate_by_name=True, @@ -88,6 +90,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of aggregation_type_value if self.aggregation_type_value: _dict['aggregationTypeValue'] = self.aggregation_type_value.to_dict() + # override the default output from pydantic by calling `to_dict()` of subject_member_set_value + if self.subject_member_set_value: + _dict['subjectMemberSetValue'] = self.subject_member_set_value.to_dict() return _dict @classmethod @@ -103,7 +108,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "memberValue": MemberParameterValueDTO.from_dict(obj["memberValue"]) if obj.get("memberValue") is not None else None, "numericValue": NumericParameterValueDTO.from_dict(obj["numericValue"]) if obj.get("numericValue") is not None else None, "planValue": PlanParameterValueDTO.from_dict(obj["planValue"]) if obj.get("planValue") is not None else None, - "aggregationTypeValue": AggregationTypeParameterValueDTO.from_dict(obj["aggregationTypeValue"]) if obj.get("aggregationTypeValue") is not None else None + "aggregationTypeValue": AggregationTypeParameterValueDTO.from_dict(obj["aggregationTypeValue"]) if obj.get("aggregationTypeValue") is not None else None, + "subjectMemberSetValue": SubjectMemberSetParameterValueDTO.from_dict(obj["subjectMemberSetValue"]) if obj.get("subjectMemberSetValue") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py index c016306abb..03c7ec81ff 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py index a2543324aa..ddee9d865d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_dynamic_date_from.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_dynamic_date_from.py index 5fa51459b6..0f5ffc92fc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_dynamic_date_from.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_dynamic_date_from.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_datetime.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_datetime.py index 5113dda9e0..974ad787c8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_datetime.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_datetime.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_instant.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_instant.py index a85490f20d..dcd6ac5db8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_instant.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_interval_dto_with_from_instant.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py index fde8bdfd32..b75da69ae6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_dynamic_date_from.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_dynamic_date_from.py index f6284d87d6..03d5aa00f4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_dynamic_date_from.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_dynamic_date_from.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_datetime.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_datetime.py index 5af9abc2ec..bd6b7e5048 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_datetime.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_datetime.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_instant.py b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_instant.py index 6a92137d0c..389848f8a4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_instant.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/query_time_intervals_dto_with_from_instant.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py index aecceed826..9f1a8ea550 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/question_categories_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py index 7adfad7dca..194d3e75ee 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/question_category_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO from typing import Optional, Set from typing_extensions import Self @@ -29,7 +30,8 @@ class QuestionCategoryAPIResponseDTO(BaseModel): """ # noqa: E501 category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category.", alias="categoryId") display_name: Optional[StrictStr] = Field(default=None, description="An identifiable name to display within Visier. For example, \"About individuals\".", alias="displayName") - __properties: ClassVar[List[str]] = ["categoryId", "displayName"] + category_icon: Optional[CategoryIconDTO] = Field(default=None, description="The icon for the question category.", alias="categoryIcon") + __properties: ClassVar[List[str]] = ["categoryId", "displayName", "categoryIcon"] model_config = ConfigDict( populate_by_name=True, @@ -70,6 +72,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of category_icon + if self.category_icon: + _dict['categoryIcon'] = self.category_icon.to_dict() return _dict @classmethod @@ -83,7 +88,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "categoryId": obj.get("categoryId"), - "displayName": obj.get("displayName") + "displayName": obj.get("displayName"), + "categoryIcon": CategoryIconDTO.from_dict(obj["categoryIcon"]) if obj.get("categoryIcon") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py index 06d0bbc3e7..c079abb1a6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py index 1aa4c2e245..6db7ea462c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_and_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_file_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_file_response_dto.py index 4f964c0559..12f6a61d61 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_file_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_for_tenant_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_for_tenant_response_dto.py index a855de8499..93640951f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_for_tenant_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_for_tenant_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_list_response_dto.py index 7c2a6affe6..cd691b8ca3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_extracted_files_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py index 5672e5af76..ea8d9748dc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/receiving_job_status_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py index 3aa73609f3..b5d5396cfc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/redshift_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py index 0ca54aef95..cebae98e41 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py index c94a878446..a3884df1b1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_tenant_code_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py index 3f6fe19bf5..28e0485ad7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reduced_user_id_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py index 751c3a8b5e..cea8fdcc00 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/related_analytic_object_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_expression_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_expression_dto.py new file mode 100644 index 0000000000..d3aa86e0cc --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_expression_dto.py @@ -0,0 +1,110 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.relative_time_selection_dto import RelativeTimeSelectionDTO +from visier_platform_sdk.models.relative_time_shift_dto import RelativeTimeShiftDTO +from typing import Optional, Set +from typing_extensions import Self + +class RelativeTimeExpressionDTO(BaseModel): + """ + RelativeTimeExpressionDTO + """ # noqa: E501 + anchor: Optional[StrictStr] = None + time_selection: Optional[RelativeTimeSelectionDTO] = Field(default=None, alias="timeSelection") + time_shift: Optional[RelativeTimeShiftDTO] = Field(default=None, alias="timeShift") + __properties: ClassVar[List[str]] = ["anchor", "timeSelection", "timeShift"] + + @field_validator('anchor') + def anchor_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['INTERVAL_START', 'INTERVAL_END']): + raise ValueError("must be one of enum values ('INTERVAL_START', 'INTERVAL_END')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RelativeTimeExpressionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of time_selection + if self.time_selection: + _dict['timeSelection'] = self.time_selection.to_dict() + # override the default output from pydantic by calling `to_dict()` of time_shift + if self.time_shift: + _dict['timeShift'] = self.time_shift.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RelativeTimeExpressionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "anchor": obj.get("anchor"), + "timeSelection": RelativeTimeSelectionDTO.from_dict(obj["timeSelection"]) if obj.get("timeSelection") is not None else None, + "timeShift": RelativeTimeShiftDTO.from_dict(obj["timeShift"]) if obj.get("timeShift") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_period_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_period_dto.py new file mode 100644 index 0000000000..e1885f78fe --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_period_dto.py @@ -0,0 +1,114 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RelativeTimePeriodDTO(BaseModel): + """ + A relative time period defines a series of time intervals to query, including the period type, period count, and time direction. + """ # noqa: E501 + allow_partial_period: Optional[StrictBool] = Field(default=None, description="If `true`, allows the time period to include partial periods. Default is `false`.", alias="allowPartialPeriod") + period_type: Optional[StrictStr] = Field(default=None, description="The time period type for each interval. Default is `MONTH`.", alias="periodType") + period_count: Optional[StrictInt] = Field(default=None, description="The number of time periods per interval.", alias="periodCount") + direction: Optional[StrictStr] = Field(default=None, description="The direction to extend. Default is `BACKWARD`.") + __properties: ClassVar[List[str]] = ["allowPartialPeriod", "periodType", "periodCount", "direction"] + + @field_validator('period_type') + def period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + @field_validator('direction') + def direction_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['BACKWARD', 'FORWARD']): + raise ValueError("must be one of enum values ('BACKWARD', 'FORWARD')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RelativeTimePeriodDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RelativeTimePeriodDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "allowPartialPeriod": obj.get("allowPartialPeriod"), + "periodType": obj.get("periodType"), + "periodCount": obj.get("periodCount"), + "direction": obj.get("direction") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_selection_dto.py new file mode 100644 index 0000000000..bcce6b7068 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_selection_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RelativeTimeSelectionDTO(BaseModel): + """ + RelativeTimeSelectionDTO + """ # noqa: E501 + period_type: Optional[StrictStr] = Field(default=None, alias="periodType") + forward: Optional[StrictInt] = None + back: Optional[StrictInt] = None + __properties: ClassVar[List[str]] = ["periodType", "forward", "back"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RelativeTimeSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RelativeTimeSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "periodType": obj.get("periodType"), + "forward": obj.get("forward"), + "back": obj.get("back") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_shift_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_shift_dto.py new file mode 100644 index 0000000000..7bccb0400e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/relative_time_shift_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class RelativeTimeShiftDTO(BaseModel): + """ + RelativeTimeShiftDTO + """ # noqa: E501 + period_type: Optional[StrictStr] = Field(default=None, alias="periodType") + time_shift: Optional[StrictInt] = Field(default=None, alias="timeShift") + __properties: ClassVar[List[str]] = ["periodType", "timeShift"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RelativeTimeShiftDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RelativeTimeShiftDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "periodType": obj.get("periodType"), + "timeShift": obj.get("timeShift") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/relative_to_rule_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/relative_to_rule_dto.py new file mode 100644 index 0000000000..98542f4f1a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/relative_to_rule_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class RelativeToRuleDTO(BaseModel): + """ + The alert triggers if the metric value meets the defined value threshold. + """ # noqa: E501 + rule_predicate: Optional[StrictStr] = Field(default=None, description="The alert operator, such as greater than, equal to, or less than. Default is `GREATER_THAN`.", alias="rulePredicate") + comparand: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The value that triggers the alert.") + __properties: ClassVar[List[str]] = ["rulePredicate", "comparand"] + + @field_validator('rule_predicate') + def rule_predicate_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['LESS_THAN', 'LESS_THAN_OR_EQUAL', 'EQUAL', 'GREATER_THAN_OR_EQUAL', 'GREATER_THAN']): + raise ValueError("must be one of enum values ('LESS_THAN', 'LESS_THAN_OR_EQUAL', 'EQUAL', 'GREATER_THAN_OR_EQUAL', 'GREATER_THAN')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RelativeToRuleDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RelativeToRuleDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "rulePredicate": obj.get("rulePredicate"), + "comparand": obj.get("comparand") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/reopen_action_payload.py b/src/visier_platform_sdk/visier_platform_sdk/models/reopen_action_payload.py index 66ba0ee451..21161d35b1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/reopen_action_payload.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/reopen_action_payload.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -25,10 +25,10 @@ class ReopenActionPayload(BaseModel): """ - The details of reopening the subplan. + The details of reopening a subplan. """ # noqa: E501 assignee: Optional[StrictStr] = Field(default=None, description="The user that the subplan will be assigned to once reopened. If not defined, it will keep the user that was previously assigned.") - due_date: Optional[StrictStr] = Field(default=None, description="The due date of the subplan in UTC format. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. If not defined, the due date will be the subplan’s existing due date. The due date cannot be earlier than today.", alias="dueDate") + due_date: Optional[StrictStr] = Field(default=None, description="The due date of the subplan in UTC format. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string. The due date cannot be earlier than today. If not defined, the default is based on the length of the collaboration window: - Collaboration window between 2 and 14 days: The due date is set to one day before the collaboration window ends. - Collaboration window longer than 14 days: The due date is automatically set to 14 days from the start of the collaboration. - Collaboration window shorter than 2 days: The due date is automatically set to today.", alias="dueDate") __properties: ClassVar[List[str]] = ["assignee", "dueDate"] model_config = ConfigDict( diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py index fb3456e3ff..57f7ed3bca 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_create_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py index 032c172181..40dc73477b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py index 3cf6ed2bab..5102c20c7c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py index 2e38368b2c..460bd4e6a3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/report_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/result.py b/src/visier_platform_sdk/visier_platform_sdk/models/result.py index 16ba946329..caa2bdc293 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/result.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/result.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py index 6517e20ce2..ff6c16fcdb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/role_modules_config_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/rule_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/rule_dto.py new file mode 100644 index 0000000000..bc2aace6a3 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/rule_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.between_rule_dto import BetweenRuleDTO +from visier_platform_sdk.models.relative_to_rule_dto import RelativeToRuleDTO +from typing import Optional, Set +from typing_extensions import Self + +class RuleDTO(BaseModel): + """ + The value to evaluate the metric value against. + """ # noqa: E501 + relative_to_value_rule: Optional[RelativeToRuleDTO] = Field(default=None, description="The alert triggers if the metric value meets the defined value threshold.", alias="relativeToValueRule") + between_values_rule: Optional[BetweenRuleDTO] = Field(default=None, description="The alert triggers if the metric value is between two defined values.", alias="betweenValuesRule") + __properties: ClassVar[List[str]] = ["relativeToValueRule", "betweenValuesRule"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RuleDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of relative_to_value_rule + if self.relative_to_value_rule: + _dict['relativeToValueRule'] = self.relative_to_value_rule.to_dict() + # override the default output from pydantic by calling `to_dict()` of between_values_rule + if self.between_values_rule: + _dict['betweenValuesRule'] = self.between_values_rule.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RuleDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "relativeToValueRule": RelativeToRuleDTO.from_dict(obj["relativeToValueRule"]) if obj.get("relativeToValueRule") is not None else None, + "betweenValuesRule": BetweenRuleDTO.from_dict(obj["betweenValuesRule"]) if obj.get("betweenValuesRule") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/rule_set_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/rule_set_dto.py new file mode 100644 index 0000000000..f08ca3a4ec --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/rule_set_dto.py @@ -0,0 +1,102 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.compared_metric_dto import ComparedMetricDTO +from visier_platform_sdk.models.rule_dto import RuleDTO +from typing import Optional, Set +from typing_extensions import Self + +class RuleSetDTO(BaseModel): + """ + RuleSetDTO + """ # noqa: E501 + compare_to: Optional[ComparedMetricDTO] = Field(default=None, description="Whether to trigger the alert when the metric value is compared to a time period, another metric, or a group.", alias="compareTo") + rules: Optional[List[RuleDTO]] = Field(default=None, description="The rules used to evaluate the values. Currently only a single rule is supported to trigger an alert.") + __properties: ClassVar[List[str]] = ["compareTo", "rules"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of RuleSetDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of compare_to + if self.compare_to: + _dict['compareTo'] = self.compare_to.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in rules (list) + _items = [] + if self.rules: + for _item_rules in self.rules: + if _item_rules: + _items.append(_item_rules.to_dict()) + _dict['rules'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of RuleSetDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "compareTo": ComparedMetricDTO.from_dict(obj["compareTo"]) if obj.get("compareTo") is not None else None, + "rules": [RuleDTO.from_dict(_item) for _item in obj["rules"]] if obj.get("rules") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_feedback_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_feedback_input.py new file mode 100644 index 0000000000..b300282eb9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_feedback_input.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SalaryBenchmarkFeedbackInput(BaseModel): + """ + The salary benchmark value for which to submit feedback. + """ # noqa: E501 + job: StrictStr = Field(description="The job member ID for the salary benchmark. ") + location: StrictStr = Field(description="The location member ID for the salary benchmark. ") + career_level: StrictStr = Field(description="The career level member ID for the salary benchmark. ", alias="careerLevel") + industry: StrictStr = Field(description="The industry member ID for the salary benchmark. ") + company_size: StrictStr = Field(description="The company size member ID for the salary benchmark. ", alias="companySize") + reference_date: StrictStr = Field(description="The date that benchmark values are calculated for. ", alias="referenceDate") + release_date: StrictStr = Field(description="The date that benchmark values are released. ", alias="releaseDate") + naics_code: Optional[StrictStr] = Field(default=None, description="If provided, the `naicsCode` in `GET /v1/compensation-benchmarks/base-salary` or `/base-salaries`. ", alias="naicsCode") + additional_comments: Optional[StrictStr] = Field(default=None, description="Optional written feedback about the salary benchmark values. The maximum is 150 characters. ", alias="additionalComments") + __properties: ClassVar[List[str]] = ["job", "location", "careerLevel", "industry", "companySize", "referenceDate", "releaseDate", "naicsCode", "additionalComments"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SalaryBenchmarkFeedbackInput from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SalaryBenchmarkFeedbackInput from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "job": obj.get("job"), + "location": obj.get("location"), + "careerLevel": obj.get("careerLevel"), + "industry": obj.get("industry"), + "companySize": obj.get("companySize"), + "referenceDate": obj.get("referenceDate"), + "releaseDate": obj.get("releaseDate"), + "naicsCode": obj.get("naicsCode"), + "additionalComments": obj.get("additionalComments") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_input.py index e7977a60a8..5b20bc0a5f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmark_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -34,7 +34,8 @@ class SalaryBenchmarkInput(BaseModel): location: Optional[StrictStr] = Field(default=None, description="The location member ID. If the ID is not provided, the response returns the benchmark value across all locations. ") company_size: Optional[StrictStr] = Field(default=None, description="The company size member ID. If the ID is not provided, the response returns the benchmark value across all company sizes. ", alias="companySize") career_level: Optional[StrictStr] = Field(default=None, description="The career level member ID. If the ID is not provided, the response returns the benchmark value across all career levels. ", alias="careerLevel") - __properties: ClassVar[List[str]] = ["uuid", "job", "industry", "naicsCode", "location", "companySize", "careerLevel"] + match_date: Optional[StrictStr] = Field(default=None, description="The date on which the career level was matched in `yyyy-MM-dd` format. A `matchDate` allows precise migration of career levels according to job architecture changes released since the match was made. If `matchDate` is not available, the migration assumes the most recent possible match date for the provided career level. ", alias="matchDate") + __properties: ClassVar[List[str]] = ["uuid", "job", "industry", "naicsCode", "location", "companySize", "careerLevel", "matchDate"] model_config = ConfigDict( populate_by_name=True, @@ -93,7 +94,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "naicsCode": obj.get("naicsCode"), "location": obj.get("location"), "companySize": obj.get("companySize"), - "careerLevel": obj.get("careerLevel") + "careerLevel": obj.get("careerLevel"), + "matchDate": obj.get("matchDate") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py index 918e42a3c4..60751abeb4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py index 0d6da0159b..0c06b05970 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py index 410cac802d..9e888c013b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py index c96532cab5..89468522ee 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py index 7ef2e21571..5a8c1f0fa5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/salesforce_v2_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_context_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_context_dto.py new file mode 100644 index 0000000000..31e69b7103 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_context_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.filter_dto import FilterDTO +from typing import Optional, Set +from typing_extensions import Self + +class SameMetricOtherContextDTO(BaseModel): + """ + Compare the metric against a group; for example, High Performers. + """ # noqa: E501 + filters: Optional[List[FilterDTO]] = Field(default=None, description="The filters on the comparison metric.") + __properties: ClassVar[List[str]] = ["filters"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SameMetricOtherContextDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in filters (list) + _items = [] + if self.filters: + for _item_filters in self.filters: + if _item_filters: + _items.append(_item_filters.to_dict()) + _dict['filters'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SameMetricOtherContextDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "filters": [FilterDTO.from_dict(_item) for _item in obj["filters"]] if obj.get("filters") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_time_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_time_dto.py new file mode 100644 index 0000000000..909055f785 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/same_metric_other_time_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.time_period_metadata_dto import TimePeriodMetadataDTO +from typing import Optional, Set +from typing_extensions import Self + +class SameMetricOtherTimeDTO(BaseModel): + """ + Compare the metric against a time period; for example, the previous period or the same period of the previous year. + """ # noqa: E501 + time_period: Optional[TimePeriodMetadataDTO] = Field(default=None, alias="timePeriod") + __properties: ClassVar[List[str]] = ["timePeriod"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SameMetricOtherTimeDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of time_period + if self.time_period: + _dict['timePeriod'] = self.time_period.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SameMetricOtherTimeDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "timePeriod": TimePeriodMetadataDTO.from_dict(obj["timePeriod"]) if obj.get("timePeriod") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py index b7f0bf1010..5ad7ea800e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sample_question_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py index b400b306c0..842bc2dc60 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sample_questions_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py index 5c5dff8761..ca2114871f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_info_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py index 5d3b62fe90..b148c453c1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/scenario_or_snapshot_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py index 18fde41f4d..c2e60a4d4c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/securable_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py index c49f93d5dc..5d40f87b63 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/securable_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py index 371cb427a3..a5b027b6de 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/security_assignment_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py index 2ba5f6527d..21c76d01ce 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py index 8d60f4e3f1..a84ee69acb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_configuration_map_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py index 16a4490f06..8bc292dcc8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py index eb764d6aa0..ac5bac2655 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py index 9ac0003744..8dd2884a83 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concept_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,9 +27,9 @@ class SelectionConceptReferenceDTO(BaseModel): """ The name and qualifying path of a selection concept to query. """ # noqa: E501 - name: Optional[StrictStr] = Field(default=None, description="The ID of the selection concept.") + id: Optional[StrictStr] = Field(default=None, description="The ID of the selection concept.") qualifying_path: Optional[StrictStr] = Field(default=None, description="The qualifying path to the selection concept in Visier, such as the analytic object or event the selection concept is associated with. If the path has multiple objects, each object is separated by a period.", alias="qualifyingPath") - __properties: ClassVar[List[str]] = ["name", "qualifyingPath"] + __properties: ClassVar[List[str]] = ["id", "qualifyingPath"] model_config = ConfigDict( populate_by_name=True, @@ -82,7 +82,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "name": obj.get("name"), + "id": obj.get("id"), "qualifyingPath": obj.get("qualifyingPath") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py index 89e876d66c..26227796f4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/selection_concepts_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py index 6f3959c6ad..3d9a8c7a01 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py index 695025a79c..94e0fdcac9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/service_now_v2_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py index 6a8f308732..ebe7e891ea 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py index bfbbd89fd6..6a0f607cf9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py index 2d5971bac5..6cb3138766 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py index 0876360f6b..902d89a488 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_setting_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py index c61774e83e..fadf8e3bdf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py index c698f8e856..0d06c0ee0a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/set_connector_settings_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/settings_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/settings_dto.py index 0208198ab0..f14120ad24 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/settings_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/settings_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py b/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py index 3d11e46969..6d86a1b91c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/shareable_data_access_set.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_request_dto.py index 66db1caa46..2b1568ac33 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_settings_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_settings_dto.py index 4cc455d328..d870dd170a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_settings_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sidecar_solution_settings_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py index 0e2afc8b87..06a3a03407 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py index 217ce7dd66..be1774123b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_document_header_search_result_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_metric_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_metric_details_dto.py new file mode 100644 index 0000000000..d9673ebf3d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_metric_details_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SimpleMetricDetailsDTO(BaseModel): + """ + Information about the metric, such as its formula and data type. + """ # noqa: E501 + formula: Optional[StrictStr] = Field(default=None, description="The metric's formula written in Visier Formula Language (VFL).") + data_type: Optional[StrictStr] = Field(default=None, description="The metric's data type. Valid values: `Number`, `Integer`, `Ordinal`, `Categorical`, `Currency`, `Boolean`, `Percent`, `IntegerPercent`, `PercentNoScaling`, `PercentagePoint`, `String`, `Text`, `LargeText`, `Date`, `HourDuration`, `DayDuration`, `MonthDuration`, `YearDuration`.", alias="dataType") + __properties: ClassVar[List[str]] = ["formula", "dataType"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SimpleMetricDetailsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SimpleMetricDetailsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "formula": obj.get("formula"), + "dataType": obj.get("dataType") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py index 88c02ec401..4e76a9d41c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py index 0d5db83043..6bca7e9cd9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/simple_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/single_value_setting_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/single_value_setting_dto.py index 475af33cb3..d33fc26198 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/single_value_setting_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/single_value_setting_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill.py index 8762d38229..b01a7f04b9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_category.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_category.py index c841447d09..d0fdff52a1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_category.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_category.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_category_entry.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_category_entry.py index c92c6ac177..39c919246a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_category_entry.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_category_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_entry.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_entry.py index 54ba736b53..4bbf57368a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_entry.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_extraction_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_extraction_input.py index 8b631f9d5f..2aa15040b3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_extraction_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_extraction_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_group.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_group.py index c2b5e60750..154fd10e64 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_group.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_group.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_group_entry.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_group_entry.py index 1de0d52cfc..d88eb99207 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_group_entry.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_group_entry.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/skill_match_input.py b/src/visier_platform_sdk/visier_platform_sdk/models/skill_match_input.py index bf145fa6a4..430f884399 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/skill_match_input.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/skill_match_input.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py index d88e564add..0e1fee0ec1 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/slack_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py index 0d24d70623..8be6cd6afe 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py index 8012d5e190..2434a65da0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/snapshot_query_execution_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py index c52d56029b..0b41f89113 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/snowflake_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py index 94cf5d1069..bf873c06ad 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sort_option_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/source.py b/src/visier_platform_sdk/visier_platform_sdk/models/source.py index d97569d0cb..c16d853a55 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/source.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/source.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/source_file_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/source_file_response_dto.py index d670f844d6..82fc2d857c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/source_file_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/source_file_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/source_import_result_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/source_import_result_summary_dto.py index d54f43e285..85bbb31733 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/source_import_result_summary_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/source_import_result_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py index 9dfd5e113d..6130c21299 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_operation_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_put_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_put_response_dto.py index f477bf7510..d991022369 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_put_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sources_api_put_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py index 67b4ec5f05..b8163a2416 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like200_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py index 5f0cb18a71..74d9984e34 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sql_like_query_execution_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py index 17e8df04d3..3239c48c95 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/sql_server_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/start_collaboration_action_payload.py b/src/visier_platform_sdk/visier_platform_sdk/models/start_collaboration_action_payload.py new file mode 100644 index 0000000000..bb9f082557 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/start_collaboration_action_payload.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class StartCollaborationActionPayload(BaseModel): + """ + The details of starting a collaboration project. + """ # noqa: E501 + start_date: Optional[StrictStr] = Field(default=None, description="The start date of the collaboration. The default is today. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="startDate") + due_date: Optional[StrictStr] = Field(default=None, description="The due date of the collaboration. The default is 14 days since the start date. The format is the number of milliseconds since midnight 01 January, 1970 UTC as a string.", alias="dueDate") + __properties: ClassVar[List[str]] = ["startDate", "dueDate"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of StartCollaborationActionPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of StartCollaborationActionPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "startDate": obj.get("startDate"), + "dueDate": obj.get("dueDate") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py index 6a8f974678..81ad0e5b1d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/start_extraction_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py index 2833e8ac70..08ef6aa178 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/start_transfer_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py index f30de4da54..aff822506c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/static_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/status.py b/src/visier_platform_sdk/visier_platform_sdk/models/status.py index dfbbe53eed..91e83cb89b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/status.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/status.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_details_dto.py index ff918be44a..15337571d6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/subject_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -22,7 +22,6 @@ from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.caption_dto import CaptionDTO from visier_platform_sdk.models.caption_list_dto import CaptionListDTO -from visier_platform_sdk.models.concept_reference_list_dto import ConceptReferenceListDTO from visier_platform_sdk.models.local_or_shared_dimension_list_dto import LocalOrSharedDimensionListDTO from visier_platform_sdk.models.property_definition_list_dto import PropertyDefinitionListDTO from visier_platform_sdk.models.subject_reference_list_dto import SubjectReferenceListDTO @@ -44,9 +43,8 @@ class SubjectDetailsDTO(BaseModel): include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") property_list: Optional[PropertyDefinitionListDTO] = Field(default=None, description="The subject's properties, such as employee ID, name, and location.", alias="propertyList") dimension_list: Optional[LocalOrSharedDimensionListDTO] = Field(default=None, description="The subject's dimensions, such as department, job title, and location.", alias="dimensionList") - concept_list: Optional[ConceptReferenceListDTO] = Field(default=None, description="The subject's concepts, such as process concepts and their stages or outcomes.", alias="conceptList") subject_reference_list: Optional[SubjectReferenceListDTO] = Field(default=None, description="The analytic object's references.", alias="subjectReferenceList") - __properties: ClassVar[List[str]] = ["conceptionEvent", "terminationEvent", "instanceCaption", "secondaryCaptionList", "enablePrimaryKeyDimension", "enableLargeDimensionSearch", "defaultMetric", "dataCategory", "includeWithVee", "propertyList", "dimensionList", "conceptList", "subjectReferenceList"] + __properties: ClassVar[List[str]] = ["conceptionEvent", "terminationEvent", "instanceCaption", "secondaryCaptionList", "enablePrimaryKeyDimension", "enableLargeDimensionSearch", "defaultMetric", "dataCategory", "includeWithVee", "propertyList", "dimensionList", "subjectReferenceList"] model_config = ConfigDict( populate_by_name=True, @@ -99,9 +97,6 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of dimension_list if self.dimension_list: _dict['dimensionList'] = self.dimension_list.to_dict() - # override the default output from pydantic by calling `to_dict()` of concept_list - if self.concept_list: - _dict['conceptList'] = self.concept_list.to_dict() # override the default output from pydantic by calling `to_dict()` of subject_reference_list if self.subject_reference_list: _dict['subjectReferenceList'] = self.subject_reference_list.to_dict() @@ -128,7 +123,6 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "includeWithVee": obj.get("includeWithVee"), "propertyList": PropertyDefinitionListDTO.from_dict(obj["propertyList"]) if obj.get("propertyList") is not None else None, "dimensionList": LocalOrSharedDimensionListDTO.from_dict(obj["dimensionList"]) if obj.get("dimensionList") is not None else None, - "conceptList": ConceptReferenceListDTO.from_dict(obj["conceptList"]) if obj.get("conceptList") is not None else None, "subjectReferenceList": SubjectReferenceListDTO.from_dict(obj["subjectReferenceList"]) if obj.get("subjectReferenceList") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto.py new file mode 100644 index 0000000000..2ac73fe9a2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto.py @@ -0,0 +1,108 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_list_of_name_path_dto import SubjectMemberSetParameterValueDTOListOfNamePathDTO +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto import SubjectMemberSetParameterValueDTONamePathDTO +from typing import Optional, Set +from typing_extensions import Self + +class SubjectMemberSetParameterValueDTO(BaseModel): + """ + The value for a subject member set parameter. + """ # noqa: E501 + parameter_id: Optional[StrictStr] = Field(default=None, description="The unique ID of the subject member set parameter.", alias="parameterId") + key_name_paths: Optional[List[SubjectMemberSetParameterValueDTONamePathDTO]] = Field(default=None, description="The name path keys for the subject member set parameter; for example, `[\"Java\"]`.", alias="keyNamePaths") + value_name_paths: Optional[List[SubjectMemberSetParameterValueDTOListOfNamePathDTO]] = Field(default=None, description="The name path values for each subject member set parameter key; for example, `[\"5.0\"]`.", alias="valueNamePaths") + __properties: ClassVar[List[str]] = ["parameterId", "keyNamePaths", "valueNamePaths"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SubjectMemberSetParameterValueDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in key_name_paths (list) + _items = [] + if self.key_name_paths: + for _item_key_name_paths in self.key_name_paths: + if _item_key_name_paths: + _items.append(_item_key_name_paths.to_dict()) + _dict['keyNamePaths'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in value_name_paths (list) + _items = [] + if self.value_name_paths: + for _item_value_name_paths in self.value_name_paths: + if _item_value_name_paths: + _items.append(_item_value_name_paths.to_dict()) + _dict['valueNamePaths'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SubjectMemberSetParameterValueDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "parameterId": obj.get("parameterId"), + "keyNamePaths": [SubjectMemberSetParameterValueDTONamePathDTO.from_dict(_item) for _item in obj["keyNamePaths"]] if obj.get("keyNamePaths") is not None else None, + "valueNamePaths": [SubjectMemberSetParameterValueDTOListOfNamePathDTO.from_dict(_item) for _item in obj["valueNamePaths"]] if obj.get("valueNamePaths") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_list_of_name_path_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_list_of_name_path_dto.py new file mode 100644 index 0000000000..9cd500c77e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_list_of_name_path_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.subject_member_set_parameter_value_dto_name_path_dto import SubjectMemberSetParameterValueDTONamePathDTO +from typing import Optional, Set +from typing_extensions import Self + +class SubjectMemberSetParameterValueDTOListOfNamePathDTO(BaseModel): + """ + A list of name paths. + """ # noqa: E501 + name_paths: Optional[List[SubjectMemberSetParameterValueDTONamePathDTO]] = Field(default=None, description="The name paths for subject member parameter key values.", alias="namePaths") + __properties: ClassVar[List[str]] = ["namePaths"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SubjectMemberSetParameterValueDTOListOfNamePathDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in name_paths (list) + _items = [] + if self.name_paths: + for _item_name_paths in self.name_paths: + if _item_name_paths: + _items.append(_item_name_paths.to_dict()) + _dict['namePaths'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SubjectMemberSetParameterValueDTOListOfNamePathDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "namePaths": [SubjectMemberSetParameterValueDTONamePathDTO.from_dict(_item) for _item in obj["namePaths"]] if obj.get("namePaths") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_name_path_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_name_path_dto.py new file mode 100644 index 0000000000..acf1038f74 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_member_set_parameter_value_dto_name_path_dto.py @@ -0,0 +1,88 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class SubjectMemberSetParameterValueDTONamePathDTO(BaseModel): + """ + The name path for dimension members. + """ # noqa: E501 + name_path: Optional[List[StrictStr]] = Field(default=None, description="The name path for dimension members.", alias="namePath") + __properties: ClassVar[List[str]] = ["namePath"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of SubjectMemberSetParameterValueDTONamePathDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of SubjectMemberSetParameterValueDTONamePathDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "namePath": obj.get("namePath") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py index 1938a26435..05df60445f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_missing_access_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_dto.py index 32a2d18258..8e1577bbd8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,7 +36,8 @@ class SubjectReferenceDTO(BaseModel): direction: Optional[StrictStr] = Field(default=None, description="The direction of the reference between analytic objects. - `reverse`: The reference direction is `reverse`. For example, the object reference comes from Employee. - `forward`: The reference direction is `forward`. For example, the object references to Employee.") subject: Optional[StrictStr] = Field(default=None, description="The subject that the reference is associated with.") binding: Optional[StrictBool] = Field(default=None, description="If `true`, the reference is binding. A binding reference requires a value in the reference subject; for example, the reference between Applicant and Requisition is binding, meaning that applicants must always have an associated Requisition ID. If `false`, the reference is non-binding. A non-binding reference doesn't require a value in the reference subject; for example, the reference between Employee and Applicant is non-binding, meaning that an employee does not require an associated Applicant ID. This is the default and expected behavior for most references.") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "tagList", "direction", "subject", "binding"] + visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution.", alias="visibleInAnalytics") + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "tagList", "direction", "subject", "binding", "visibleInAnalytics"] @field_validator('direction') def direction_validate_enum(cls, value): @@ -111,7 +112,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "tagList": TagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, "direction": obj.get("direction"), "subject": obj.get("subject"), - "binding": obj.get("binding") + "binding": obj.get("binding"), + "visibleInAnalytics": obj.get("visibleInAnalytics") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_list_dto.py index 28007651ba..ba1faf475a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/subject_reference_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/submit_action_payload.py similarity index 82% rename from src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_dto.py rename to src/visier_platform_sdk/visier_platform_sdk/models/submit_action_payload.py index 574169593e..675c463ef6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/concept_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/submit_action_payload.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -23,12 +23,12 @@ from typing import Optional, Set from typing_extensions import Self -class ConceptReferenceDTO(BaseModel): +class SubmitActionPayload(BaseModel): """ - A reference to a concept. + The details of submitting a subplan. """ # noqa: E501 - object_name: Optional[StrictStr] = Field(default=None, description="The object name of the concept.", alias="objectName") - __properties: ClassVar[List[str]] = ["objectName"] + comment: Optional[StrictStr] = Field(default=None, description="A note or instructions to include when submitting a subplan.") + __properties: ClassVar[List[str]] = ["comment"] model_config = ConfigDict( populate_by_name=True, @@ -48,7 +48,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of ConceptReferenceDTO from a JSON string""" + """Create an instance of SubmitActionPayload from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -73,7 +73,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of ConceptReferenceDTO from a dict""" + """Create an instance of SubmitActionPayload from a dict""" if obj is None: return None @@ -81,7 +81,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objectName": obj.get("objectName") + "comment": obj.get("comment") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py index 3b1f51aad3..9d9e7461fc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py index 07b189cea4..7c815200f2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/success_factors_o_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py index 31b3fe8961..0480458257 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py index 1584649e64..bf59ed31be 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/successful_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py index c9b8bef725..5556aac950 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py index 4cf9482bc1..2d0ee1ab51 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/synonym_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py index 1e032485b5..e9a8ffdef5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/system_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/table_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/table_response_dto.py index 87cdb44ba2..93eb005101 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/table_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/table_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py index 8fe553aa8d..3f10460b2e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tag_map_element_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py index ef1aa2d153..f02f375779 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py index 6dd0e41f8e..d8697b3da0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tag_reference_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py index cd05e86666..29898ef0f7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tags_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py index 5d2f7850d9..77bca2127e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py index 845a0cc8db..a25a2048d3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/target_project_for_tenants_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py index 40fad05eb5..4e652a6c5f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/target_tenant_code_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py index 155141f211..d888059d66 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py index fd23a52d5f..d9181a5cdf 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_and_credential.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py index e370cf9ee3..31359fe2ad 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_assignments_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py index 2ddebbb996..e58ec00683 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_body.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py index ddbfd38de3..fd21dab818 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_code_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py index 18b008bcd4..18ef60eec6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_connector_settings_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py index 47e10a31f1..a2e3936c82 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_status_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py index 6dda5ba33b..b957c5e20d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py index eca86cee1c..73a8e2f8ec 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py index d244964eab..5bfcc5139d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py index f7a616555a..de0374412b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py index 80244023cc..bf638d2d6e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_detail_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py index 24a19fb551..85103b4803 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_details_traits_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -25,7 +25,7 @@ class TenantDetailsTraitsDTO(BaseModel): """ - The tenant's traits, including aggregation rights, tenant type, and data profile type. + The tenant's traits, including aggregation rights, tenant type, and data profile type. As workaround Due to sbt setup limitations this has been duplicated to components/data_services/modules/data_services-dto/src/main/protobuf/visier/dataservices/tenants/transfers/TenantDetailsTraits.proto Please make sure any change to this DTO (and enums) is also reflected in the above file. """ # noqa: E501 aggregation_rights: Optional[StrictBool] = Field(default=None, description="If `true`, the tenant is opted in to Visier's data aggregation program, such as Visier Benchmarks. Default is `false`. If `false`, `aggregationRights` isn't returned in the response.", alias="aggregationRights") tenant_type: Optional[StrictStr] = Field(default=None, description="The tenant's type. Valid values: * `ENTERPRISE`: An analytic tenant managed by Visier that represents an enterprise customer's instance of Visier. * `PARTNER`: An administrating tenant that manages one or more analytic tenants. Partner tenants are managed by non-Visier administrators, such as an embedded partner or system integration partner. * `PARTNER_CUSTOMER`: An analytic tenant managed by a partner that represents the partner's customer's instance of Visier.", alias="tenantType") diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py index 1444ded63c..56073783c4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py index b0186733be..ac9941ef8d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_encryption_key_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py index 17673b4434..ee4ed567f2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_get_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py index 134da6a4a0..5f8cab4f24 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -29,8 +29,8 @@ class TenantManagementAPIListResponseDTO(BaseModel): TenantManagementAPIListResponseDTO """ # noqa: E501 tenants: Optional[List[TenantManagementAPIGetResponseDTO]] = Field(default=None, description="A list of objects representing all the analytic tenants.") - limit: Optional[StrictInt] = Field(default=None, description="The limit of analytic tenants to return. The maximum value is 1000. The default is 150.") - start: Optional[StrictInt] = Field(default=None, description="The index to start retrieving values from, also known as offset. The index begins at 0.") + limit: Optional[StrictInt] = Field(default=None, description="The limit of analytic tenants to return.") + start: Optional[StrictInt] = Field(default=None, description="The starting index to retrieve values from, also known as offset.") __properties: ClassVar[List[str]] = ["tenants", "limit", "start"] model_config = ConfigDict( diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py index b1d8e66b5a..f0e5308d01 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -35,7 +35,7 @@ class TenantManagementAPIUpdateRequestDTO(BaseModel): tenant_display_name: Optional[StrictStr] = Field(default=None, description="A new display name to assign to the analytic tenant. Required if creating new tenants.", alias="tenantDisplayName") tenant_short_name: Optional[StrictStr] = Field(default=None, description="This will no longer be available as of Spring 2028. A new short name to assign to the tenant.", alias="tenantShortName") vanity_url_name: Optional[StrictStr] = Field(default=None, description="A new vanity name to assign to the tenant. Omit for new Embedded analytic tenants.", alias="vanityUrlName") - industry_code: Optional[StrictInt] = Field(default=None, description="The North American Industry Classification System (NAICS) code for the industry in which the business unit operates. Type 0 to use the business unit's industry code or if the industry code is unknown. We highly recommend that you provide an industry code to take advantage of all of Visier's features. Required if creating new tenants.", alias="industryCode") + industry_code: Optional[StrictInt] = Field(default=None, description="The North American Industry Classification System (NAICS) code for the industry in which the business operates. Provide a value of 0 to use the business unit industry codes in the data or if the industry code is unknown. We highly recommend that you provide an industry code here or with the business units in the data to take advantage of all of Visier’s features. Required if creating new tenants.", alias="industryCode") primary_business_location: Optional[BusinessLocationDTO] = Field(default=None, description="The primary location of operations or where business is performed. This field is optional.", alias="primaryBusinessLocation") purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated collection of strings that represent the Visier modules assigned to the new analytic tenant. Required if creating new tenants. To get the module name: 1. In Visier, open a project and navigate to **Model > Modules**. 2. Select a module. 3. In **Basic Information**, copy the **Object name**. This is the module name.", alias="purchasedModules") embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant. This is optional.", alias="embeddableDomains") @@ -49,7 +49,8 @@ class TenantManagementAPIUpdateRequestDTO(BaseModel): default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter. This is optional.", alias="allowedOAuthIdpUrlDomains") traits: Optional[TenantDetailsTraitsDTO] = Field(default=None, description="The tenant's traits, including aggregation rights, tenant type, and data profile type. To set an analytic tenant's traits, contact Visier Technical Support.") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "tenantShortName", "vanityUrlName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "updateAction", "enabled", "clickThroughLink", "defaultCurrency", "allowedOAuthIdpUrlDomains", "traits"] + force_logins_with_session_based_permissions: Optional[StrictBool] = Field(default=None, description="If `true`, user sign in must also provide a `SessionRepoId`. Only valid if `SessionBasedPermissions` feature is enabled. Default is `false`.", alias="forceLoginsWithSessionBasedPermissions") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "tenantShortName", "vanityUrlName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "updateAction", "enabled", "clickThroughLink", "defaultCurrency", "allowedOAuthIdpUrlDomains", "traits", "forceLoginsWithSessionBasedPermissions"] @field_validator('update_action') def update_action_validate_enum(cls, value): @@ -149,7 +150,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "clickThroughLink": obj.get("clickThroughLink"), "defaultCurrency": obj.get("defaultCurrency"), "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains"), - "traits": TenantDetailsTraitsDTO.from_dict(obj["traits"]) if obj.get("traits") is not None else None + "traits": TenantDetailsTraitsDTO.from_dict(obj["traits"]) if obj.get("traits") is not None else None, + "forceLoginsWithSessionBasedPermissions": obj.get("forceLoginsWithSessionBasedPermissions") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py index 38cb6190e4..b45f36206c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_management_api_update_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.business_location_dto import BusinessLocationDTO from visier_platform_sdk.models.custom_property_dto import CustomPropertyDTO @@ -45,7 +45,8 @@ class TenantManagementAPIUpdateResponseDTO(BaseModel): vanity_url_name: Optional[StrictStr] = Field(default=None, description="The name of the administrating tenant used in Visier URLs.", alias="vanityUrlName") default_currency: Optional[StrictStr] = Field(default=None, description="The default currency to show in the application for the tenant.", alias="defaultCurrency") allowed_o_auth_idp_url_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, that are allowed in the idp_url OAuth parameter. This is optional.", alias="allowedOAuthIdpUrlDomains") - __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "status", "clickThroughLink", "vanityUrlName", "defaultCurrency", "allowedOAuthIdpUrlDomains"] + force_logins_with_session_based_permissions: Optional[StrictBool] = Field(default=None, description="If `true`, user sign in must also provide a `SessionRepoId`. Only set if `SessionBasedPermissions` feature is enabled. Default is `false`.", alias="forceLoginsWithSessionBasedPermissions") + __properties: ClassVar[List[str]] = ["tenantCode", "tenantDisplayName", "industryCode", "primaryBusinessLocation", "purchasedModules", "embeddableDomains", "customProperties", "ssoInstanceIssuers", "homeAnalysisId", "homeAnalysisByUserGroup", "status", "clickThroughLink", "vanityUrlName", "defaultCurrency", "allowedOAuthIdpUrlDomains", "forceLoginsWithSessionBasedPermissions"] model_config = ConfigDict( populate_by_name=True, @@ -129,7 +130,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "clickThroughLink": obj.get("clickThroughLink"), "vanityUrlName": obj.get("vanityUrlName"), "defaultCurrency": obj.get("defaultCurrency"), - "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains") + "allowedOAuthIdpUrlDomains": obj.get("allowedOAuthIdpUrlDomains"), + "forceLoginsWithSessionBasedPermissions": obj.get("forceLoginsWithSessionBasedPermissions") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py index 890f374fca..03b0864151 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_module_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py index 9d25a4ee07..9ee1519802 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py index 8f9c9b86db..cea40f8e57 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py index ea5feecbe5..ed930835a8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_provision_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -31,7 +31,7 @@ class TenantProvisionAPIDTO(BaseModel): tenant_code: StrictStr = Field(description="The unique identifier of the analytic tenant.", alias="tenantCode") tenant_display_name: StrictStr = Field(description="The display name that is assigned to the analytic tenant.", alias="tenantDisplayName") purchased_modules: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the Visier modules assigned to the analytic tenant.", alias="purchasedModules") - industry_code: Optional[StrictInt] = Field(default=None, description="The North American Industry Classification System (NAICS) code for the industry in which the business unit operates. Type 0 to use the business unit's industry code or if the industry code is unknown. We highly recommend that you provide an industry code to take advantage of all of Visier's features.", alias="industryCode") + industry_code: Optional[StrictInt] = Field(default=None, description="The North American Industry Classification System (NAICS) code for the industry in which the business operates. Provide a value of 0 to use the business unit industry codes in the data or if the industry code is unknown. We highly recommend that you provide an industry code here or with the business units in the data to take advantage of all of Visier’s features.", alias="industryCode") embeddable_domains: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the URLs, or domains, in which Visier can be embedded. If domains at the administrating tenant level match the domains at the analytic tenant level, you do not need to include a domain for each analytic tenant.", alias="embeddableDomains") custom_properties: Optional[List[CustomTenantPropertyDTO]] = Field(default=None, description="A set of key-value pairs that represent different customizable properties for the analytic tenant.", alias="customProperties") sso_instance_issuers: Optional[List[StrictStr]] = Field(default=None, description="A comma-separated list of strings that represent the issuers for the SSO providers that can authenticate this tenant.", alias="ssoInstanceIssuers") diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_source_files_list_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_source_files_list_response_dto.py index 44949b490b..0a453b1043 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_source_files_list_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_source_files_list_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py index 68cd77f6d2..f9127de1b3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/tenant_status_apidto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/time_handling_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/time_handling_dto.py new file mode 100644 index 0000000000..6fdf745d1a --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/time_handling_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.periods_back_dto import PeriodsBackDTO +from typing import Optional, Set +from typing_extensions import Self + +class TimeHandlingDTO(BaseModel): + """ + The time handling settings for a metric, which can be either per period or trailing periods. + """ # noqa: E501 + per_period: Optional[StrictBool] = Field(default=None, description="The metric is evaluated per period, such as per month or per quarter.", alias="perPeriod") + trailing_periods: Optional[PeriodsBackDTO] = Field(default=None, description="The metric is evaluated over a trailing period, such as the last 12 months.", alias="trailingPeriods") + __properties: ClassVar[List[str]] = ["perPeriod", "trailingPeriods"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TimeHandlingDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of trailing_periods + if self.trailing_periods: + _dict['trailingPeriods'] = self.trailing_periods.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TimeHandlingDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "perPeriod": obj.get("perPeriod"), + "trailingPeriods": PeriodsBackDTO.from_dict(obj["trailingPeriods"]) if obj.get("trailingPeriods") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/time_period_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/time_period_dto.py new file mode 100644 index 0000000000..070d75c7a1 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/time_period_dto.py @@ -0,0 +1,120 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.relative_time_expression_dto import RelativeTimeExpressionDTO +from typing import Optional, Set +from typing_extensions import Self + +class TimePeriodDTO(BaseModel): + """ + A time period can define a specific interval of time or relative time period. + """ # noqa: E501 + end: Optional[StrictStr] = Field(default=None, description="The end of the time period.") + period_type: Optional[StrictStr] = Field(default=None, description="The period type for this interval. Default is `MONTH`.", alias="periodType") + period_count: Optional[StrictInt] = Field(default=None, description="The number of periods per interval. Default is 1.", alias="periodCount") + time_type: Optional[StrictStr] = Field(default=None, description="The type of time period.", alias="timeType") + expression: Optional[RelativeTimeExpressionDTO] = Field(default=None, description="The expression that defines the relative time period.") + __properties: ClassVar[List[str]] = ["end", "periodType", "periodCount", "timeType", "expression"] + + @field_validator('period_type') + def period_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR']): + raise ValueError("must be one of enum values ('MONTH', 'DAY', 'WEEK', 'QUARTER', 'YEAR')") + return value + + @field_validator('time_type') + def time_type_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['FIXED', 'PREVIOUS_PERIOD', 'PREVIOUS_YEAR', 'LAST_PERIOD_PREVIOUS_YEAR', 'CUSTOM', 'DYNAMIC_TIME', 'LAST_PERIODS']): + raise ValueError("must be one of enum values ('FIXED', 'PREVIOUS_PERIOD', 'PREVIOUS_YEAR', 'LAST_PERIOD_PREVIOUS_YEAR', 'CUSTOM', 'DYNAMIC_TIME', 'LAST_PERIODS')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TimePeriodDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of expression + if self.expression: + _dict['expression'] = self.expression.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TimePeriodDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "end": obj.get("end"), + "periodType": obj.get("periodType"), + "periodCount": obj.get("periodCount"), + "timeType": obj.get("timeType"), + "expression": RelativeTimeExpressionDTO.from_dict(obj["expression"]) if obj.get("expression") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/time_period_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/time_period_filter_dto.py new file mode 100644 index 0000000000..8d4d43e72e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/time_period_filter_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.dimension_reference_dto import DimensionReferenceDTO +from visier_platform_sdk.models.time_period_dto import TimePeriodDTO +from typing import Optional, Set +from typing_extensions import Self + +class TimePeriodFilterDTO(BaseModel): + """ + A filter that uses a time period. + """ # noqa: E501 + dimension: Optional[DimensionReferenceDTO] = Field(default=None, description="The dimension to filter by.") + time_period: Optional[TimePeriodDTO] = Field(default=None, description="The time period to filter by.", alias="timePeriod") + __properties: ClassVar[List[str]] = ["dimension", "timePeriod"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TimePeriodFilterDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of dimension + if self.dimension: + _dict['dimension'] = self.dimension.to_dict() + # override the default output from pydantic by calling `to_dict()` of time_period + if self.time_period: + _dict['timePeriod'] = self.time_period.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TimePeriodFilterDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "dimension": DimensionReferenceDTO.from_dict(obj["dimension"]) if obj.get("dimension") is not None else None, + "timePeriod": TimePeriodDTO.from_dict(obj["timePeriod"]) if obj.get("timePeriod") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/time_period_metadata_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/time_period_metadata_dto.py new file mode 100644 index 0000000000..5327983e1d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/time_period_metadata_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.fixed_time_type_dto import FixedTimeTypeDTO +from typing import Optional, Set +from typing_extensions import Self + +class TimePeriodMetadataDTO(BaseModel): + """ + The information of a time period. + """ # noqa: E501 + fixed: Optional[FixedTimeTypeDTO] = Field(default=None, description="A fixed time period.") + previous_period: Optional[Dict[str, Any]] = Field(default=None, description="The previous period.", alias="previousPeriod") + same_period_previous_year: Optional[Dict[str, Any]] = Field(default=None, description="The same period in the previous year.", alias="samePeriodPreviousYear") + __properties: ClassVar[List[str]] = ["fixed", "previousPeriod", "samePeriodPreviousYear"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TimePeriodMetadataDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of fixed + if self.fixed: + _dict['fixed'] = self.fixed.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TimePeriodMetadataDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fixed": FixedTimeTypeDTO.from_dict(obj["fixed"]) if obj.get("fixed") is not None else None, + "previousPeriod": obj.get("previousPeriod"), + "samePeriodPreviousYear": obj.get("samePeriodPreviousYear") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py index 9c930e9c65..48a2348dba 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/time_shift_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/token_response.py b/src/visier_platform_sdk/visier_platform_sdk/models/token_response.py index 48315363e4..bba7a9aaa2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/token_response.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/token_response.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_member_result_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_member_result_info_dto.py new file mode 100644 index 0000000000..4643697f29 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_member_result_info_dto.py @@ -0,0 +1,94 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class TriggerCriteriaMemberResultInfoDTO(BaseModel): + """ + The metric value by member ID, display name, and value. + """ # noqa: E501 + member_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the member.", alias="memberId") + display_name: Optional[StrictStr] = Field(default=None, description="The user-friendly display name of the member.", alias="displayName") + value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The value as a number.") + formatted_value: Optional[StrictStr] = Field(default=None, description="The value as a string.", alias="formattedValue") + __properties: ClassVar[List[str]] = ["memberId", "displayName", "value", "formattedValue"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TriggerCriteriaMemberResultInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TriggerCriteriaMemberResultInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "memberId": obj.get("memberId"), + "displayName": obj.get("displayName"), + "value": obj.get("value"), + "formattedValue": obj.get("formattedValue") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_overall_result_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_overall_result_info_dto.py new file mode 100644 index 0000000000..27b9a1ea8c --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_overall_result_info_dto.py @@ -0,0 +1,90 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictFloat, StrictInt, StrictStr +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing import Optional, Set +from typing_extensions import Self + +class TriggerCriteriaOverallResultInfoDTO(BaseModel): + """ + The metric value. + """ # noqa: E501 + value: Optional[Union[StrictFloat, StrictInt]] = Field(default=None, description="The value as a number.") + formatted_value: Optional[StrictStr] = Field(default=None, description="The value as a string.", alias="formattedValue") + __properties: ClassVar[List[str]] = ["value", "formattedValue"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TriggerCriteriaOverallResultInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TriggerCriteriaOverallResultInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "value": obj.get("value"), + "formattedValue": obj.get("formattedValue") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_result_info_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_result_info_dto.py new file mode 100644 index 0000000000..88a7d2f3b9 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/trigger_criteria_result_info_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.trigger_criteria_member_result_info_dto import TriggerCriteriaMemberResultInfoDTO +from visier_platform_sdk.models.trigger_criteria_overall_result_info_dto import TriggerCriteriaOverallResultInfoDTO +from typing import Optional, Set +from typing_extensions import Self + +class TriggerCriteriaResultInfoDTO(BaseModel): + """ + Information about the evaluated metric value. + """ # noqa: E501 + overall_result: Optional[TriggerCriteriaOverallResultInfoDTO] = Field(default=None, description="The metric value.", alias="overallResult") + member_result: Optional[TriggerCriteriaMemberResultInfoDTO] = Field(default=None, description="The metric value by member ID, display name, and value.", alias="memberResult") + __properties: ClassVar[List[str]] = ["overallResult", "memberResult"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of TriggerCriteriaResultInfoDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of overall_result + if self.overall_result: + _dict['overallResult'] = self.overall_result.to_dict() + # override the default output from pydantic by calling `to_dict()` of member_result + if self.member_result: + _dict['memberResult'] = self.member_result.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of TriggerCriteriaResultInfoDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "overallResult": TriggerCriteriaOverallResultInfoDTO.from_dict(obj["overallResult"]) if obj.get("overallResult") is not None else None, + "memberResult": TriggerCriteriaMemberResultInfoDTO.from_dict(obj["memberResult"]) if obj.get("memberResult") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py index fcfb625877..09c8ab4764 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/ultimate_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/features_for_user_group_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/update_event_alert_recipient_status_dto.py similarity index 68% rename from src/visier_platform_sdk/visier_platform_sdk/models/features_for_user_group_dto.py rename to src/visier_platform_sdk/visier_platform_sdk/models/update_event_alert_recipient_status_dto.py index b282919e1e..059215adf6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/features_for_user_group_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/update_event_alert_recipient_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -23,22 +23,21 @@ from typing import Optional, Set from typing_extensions import Self -class FeaturesForUserGroupDTO(BaseModel): +class UpdateEventAlertRecipientStatusDTO(BaseModel): """ - FeaturesForUserGroupDTO + UpdateEventAlertRecipientStatusDTO """ # noqa: E501 - features: Optional[List[StrictStr]] = Field(default=None, description="The features that the user group is visible in. Valid values: - `SolutionFeatures`: The user group is visible in Solution features, such as sharing an analysis with user groups. - `StudioFeatures`: The user group is visible in Studio features, such as assigning user groups to a Vee sample question. **Note**: User group visibility is not available until Summer 2025.") - __properties: ClassVar[List[str]] = ["features"] + status: Optional[StrictStr] = Field(default=None, description="Whether the alert is enabled for the user. Valid values: * `SUBSCRIBED`: The alert is enabled and the user will receive notifications for the alert. * `PAUSED`: The alert is disabled and the user will not receive notifications for the alert.") + __properties: ClassVar[List[str]] = ["status"] - @field_validator('features') - def features_validate_enum(cls, value): + @field_validator('status') + def status_validate_enum(cls, value): """Validates the enum""" if value is None: return value - for i in value: - if i not in set(['SolutionFeatures', 'StudioFeatures']): - raise ValueError("each list item must be one of ('SolutionFeatures', 'StudioFeatures')") + if value not in set(['UNSUPPORTED_EVENT_ALERT_STATUS', 'SUBSCRIBED', 'PAUSED']): + raise ValueError("must be one of enum values ('UNSUPPORTED_EVENT_ALERT_STATUS', 'SUBSCRIBED', 'PAUSED')") return value model_config = ConfigDict( @@ -59,7 +58,7 @@ def to_json(self) -> str: @classmethod def from_json(cls, json_str: str) -> Optional[Self]: - """Create an instance of FeaturesForUserGroupDTO from a JSON string""" + """Create an instance of UpdateEventAlertRecipientStatusDTO from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self) -> Dict[str, Any]: @@ -84,7 +83,7 @@ def to_dict(self) -> Dict[str, Any]: @classmethod def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: - """Create an instance of FeaturesForUserGroupDTO from a dict""" + """Create an instance of UpdateEventAlertRecipientStatusDTO from a dict""" if obj is None: return None @@ -92,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "features": obj.get("features") + "status": obj.get("status") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py b/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py index 4c7a39b1ed..561ce47d48 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/update_tenant_model.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py index bc84fe8ba6..51da211421 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_exclude.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py index c47f1cdc76..5c7397d65f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/upload_to_include.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py index 0473d5ca9a..7ecab03a8c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_response_dto.py index c4ad128047..60bb5ca8f8 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_creation_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py index a27591b1a7..f220f64552 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py index 6e2d7168ed..188ea4e17e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py index 0615a3326f..31ba3f7769 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_assignment_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py index 25225ed738..153b0d60e2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional from visier_platform_sdk.models.element_ids_dto import ElementIDsDTO -from visier_platform_sdk.models.features_for_user_group_dto import FeaturesForUserGroupDTO from visier_platform_sdk.models.user_group_change_users_dto import UserGroupChangeUsersDTO +from visier_platform_sdk.models.visible_for_selection_dto import VisibleForSelectionDTO from typing import Optional, Set from typing_extensions import Self @@ -37,9 +37,8 @@ class UserGroupChangeDefinitionDTO(BaseModel): users: Optional[UserGroupChangeUsersDTO] = Field(default=None, description="The users assigned to the user group. You can define user group members dynamically with `dynamicFilterDefinition` or manually with `includeAllUsers` or `manuallyIncludedIds`.") tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to which the user group belongs or should be created in. Omit if creating or updating user groups in the current tenant.", alias="tenantCode") project_id: Optional[StrictStr] = Field(default=None, description="The project ID in which to update or create the user group. If omitted and the ProjectID request header is not defined, the change is published to production immediately.", alias="projectId") - is_visible_in_features: Optional[StrictBool] = Field(default=None, description="If `true`, the user group is visible in features such as sharing an analysis with user groups or assigning user groups a Vee sample question. If `false`, the user group is not visible to select in features. Default is `true`. **Note**: User group visibility is not available until Summer 2025.", alias="isVisibleInFeatures") - visible_features: Optional[FeaturesForUserGroupDTO] = Field(default=None, description="The features in which the user group is visible. If not defined, the user group is visible in all features. If `isVisibleInFeatures` is `false`, this field is ignored. **Note**: User group visibility is not available until Summer 2025.", alias="visibleFeatures") - __properties: ClassVar[List[str]] = ["userGroupId", "displayName", "description", "permissionIds", "users", "tenantCode", "projectId", "isVisibleInFeatures", "visibleFeatures"] + visible_for_selection: Optional[VisibleForSelectionDTO] = Field(default=None, description="The features in which your users can see and select this user group. If omitted, the user group is visible in all features. **Note**: User group visibility is not available until Summer 2025.", alias="visibleForSelection") + __properties: ClassVar[List[str]] = ["userGroupId", "displayName", "description", "permissionIds", "users", "tenantCode", "projectId", "visibleForSelection"] model_config = ConfigDict( populate_by_name=True, @@ -86,9 +85,9 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of users if self.users: _dict['users'] = self.users.to_dict() - # override the default output from pydantic by calling `to_dict()` of visible_features - if self.visible_features: - _dict['visibleFeatures'] = self.visible_features.to_dict() + # override the default output from pydantic by calling `to_dict()` of visible_for_selection + if self.visible_for_selection: + _dict['visibleForSelection'] = self.visible_for_selection.to_dict() return _dict @classmethod @@ -108,8 +107,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "users": UserGroupChangeUsersDTO.from_dict(obj["users"]) if obj.get("users") is not None else None, "tenantCode": obj.get("tenantCode"), "projectId": obj.get("projectId"), - "isVisibleInFeatures": obj.get("isVisibleInFeatures"), - "visibleFeatures": FeaturesForUserGroupDTO.from_dict(obj["visibleFeatures"]) if obj.get("visibleFeatures") is not None else None + "visibleForSelection": VisibleForSelectionDTO.from_dict(obj["visibleForSelection"]) if obj.get("visibleForSelection") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py index b57a5c58a2..bafbd74e61 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_dimension_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py index 0c219010a7..36520bd791 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py index d77613c247..8c4b1c6596 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_filter_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py index 7ea924a101..5abe341855 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_member_selection_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py index 41b6acbe99..efaf500f62 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py index f90b91756b..2d35adc081 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py index cbde9e802a..44e1100b38 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_change_users_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py index 7708742657..8ab362a33b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py index 460d987d45..05db0a6866 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py index 736b36a6b2..58afee9307 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py index 9cbeb6255c..c8cbeb1b7a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_delete_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py index 77260e0b30..187a7e8ad9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_filters_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py index aab4d08584..b5c59f204e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py index 52dcdbd4ea..f09cacb55e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_group_single_delete_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py index cd9c84545e..e18770687f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_change_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py index c1e8d0cb49..68d1cb2eaa 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_delete_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py index ce07a472bd..24083fff52 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_get_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py index 2637ccaee8..2da75fd208 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py index fcd01af144..c846d36ad9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_groups_users_for_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py index 9fe7e6440e..b7867cc339 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_id_error_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py index 2c03c2714c..e97686efc4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_property_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py index 2896917ac3..c0934d3950 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_security_assignments_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py index 7c88bfc59c..d0959e2473 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_update_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_request_dto.py index 31ceec22a0..e8fe4c578d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_response_dto.py index 8f1a0eaaaa..73bd342c17 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/user_v3_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py index 6a916e0cce..d7de038647 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_error_message_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py index df93741ba9..5bc22a6c37 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py index 5417cbbd8f..8d56dd0404 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py index d0aab72910..d170984f5a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_api_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py index e70d7b3f6a..63aa24ae78 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_creation_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py index 6862624dcc..068baa06de 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_delete_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py index 430aa92d6e..e026019972 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_group_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py index 171004abe9..faa767a193 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_to_user_groups_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py index 68af4769a8..1777733be7 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py index 93c0ac064c..43256fcb6d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/users_update_api_user_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py index 9f1d825c94..453d62fecc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/v2_calculated_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/v2_dimension_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/v2_dimension_dto.py index 9afccc35bf..7f54ba99d2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/v2_dimension_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/v2_dimension_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -36,10 +36,10 @@ class V2DimensionDTO(BaseModel): basic_information: Optional[BasicInformationDTO] = Field(default=None, description="Fields that identify and describe the dimension, such as its display name, description, and explanation.", alias="basicInformation") details: Optional[DimensionDetailsDTO] = Field(default=None, description="The dimension type and its details.") tag_list: Optional[TagReferenceListDTO] = Field(default=None, description="A list of tags assigned to the object.", alias="tagList") - visible_in_app: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution.", alias="visibleInApp") + visible_in_analytics: Optional[StrictBool] = Field(default=None, description="If `true`, the object is visible to end users in the solution.", alias="visibleInAnalytics") include_with_vee: Optional[StrictBool] = Field(default=None, description="If `true`, the object is available in Vee's responses.", alias="includeWithVee") version_information: Optional[VersionInformationDTO] = Field(default=None, description="The object's version information. Version information is read-only. It indicates where the object originates from and whether the object has been modified in your tenant.", alias="versionInformation") - __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "tagList", "visibleInApp", "includeWithVee", "versionInformation"] + __properties: ClassVar[List[str]] = ["uuid", "objectName", "basicInformation", "details", "tagList", "visibleInAnalytics", "includeWithVee", "versionInformation"] model_config = ConfigDict( populate_by_name=True, @@ -109,7 +109,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "basicInformation": BasicInformationDTO.from_dict(obj["basicInformation"]) if obj.get("basicInformation") is not None else None, "details": DimensionDetailsDTO.from_dict(obj["details"]) if obj.get("details") is not None else None, "tagList": TagReferenceListDTO.from_dict(obj["tagList"]) if obj.get("tagList") is not None else None, - "visibleInApp": obj.get("visibleInApp"), + "visibleInAnalytics": obj.get("visibleInAnalytics"), "includeWithVee": obj.get("includeWithVee"), "versionInformation": VersionInformationDTO.from_dict(obj["versionInformation"]) if obj.get("versionInformation") is not None else None }) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/v2_level_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/v2_level_dto.py index aaa28db9e8..78bb541385 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/v2_level_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/v2_level_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py index 95c3bc417a..4f158120e3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/v2_simple_property_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py index 30edc3898b..62b6d6ac93 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/validity_range_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py index 5b7273b320..98bdd3fb5a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_clarification_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py index c41739e44c..b73577e007 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py index a7e4f723ab..0ca8aa2513 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_conversation_state_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py index a31f37c44e..cd9aabbd0d 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_corrections_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py index bac80c35c9..f88f3436e9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_data_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_detail_data_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_detail_data_dto.py new file mode 100644 index 0000000000..f0e2f7b9ab --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_detail_data_dto.py @@ -0,0 +1,98 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeDetailDataDTO(BaseModel): + """ + VeeDetailDataDTO + """ # noqa: E501 + chart_url: Optional[StrictStr] = Field(default=None, alias="chartUrl") + query_function: Optional[StrictStr] = Field(default=None, alias="queryFunction") + reworded_question: Optional[StrictStr] = Field(default=None, alias="rewordedQuestion") + data: Optional[VeeDataDTO] = None + __properties: ClassVar[List[str]] = ["chartUrl", "queryFunction", "rewordedQuestion", "data"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeDetailDataDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of data + if self.data: + _dict['data'] = self.data.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeDetailDataDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "chartUrl": obj.get("chartUrl"), + "queryFunction": obj.get("queryFunction"), + "rewordedQuestion": obj.get("rewordedQuestion"), + "data": VeeDataDTO.from_dict(obj["data"]) if obj.get("data") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py index c2b15630de..ae38bc0640 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_feedback_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py index ef8b08fbd1..86f8528cdb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -33,7 +33,8 @@ class VeeOptionsDTO(BaseModel): include_data: Optional[StrictBool] = Field(default=None, description="If `true`, returns additional data relevant to the question, including `dataJson` (visualization data) and `context` (filters applied to the visualization). Default is `false`.", alias="includeData") data_format: Optional[StrictStr] = Field(default=None, description="The format to return visualization data in. Valid values: `json`.", alias="dataFormat") include_reworded_question: Optional[StrictBool] = Field(default=None, description="If `true`, returns Vee's plain language interpretation of the original question. For example, if you asked \"what is the headcount by gender in each org?\", Vee might reword the question as \"What is the gender breakdown of our workforce by organization this month?\". Default is `false`.", alias="includeRewordedQuestion") - __properties: ClassVar[List[str]] = ["includeVisual", "visualOptions", "includeData", "dataFormat", "includeRewordedQuestion"] + include_detail_data: Optional[StrictBool] = Field(default=None, description="If `true`, returns detail data relevant to the question. Default is `false`.", alias="includeDetailData") + __properties: ClassVar[List[str]] = ["includeVisual", "visualOptions", "includeData", "dataFormat", "includeRewordedQuestion", "includeDetailData"] @field_validator('data_format') def data_format_validate_enum(cls, value): @@ -103,7 +104,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "visualOptions": VeeVisualOptionsDTO.from_dict(obj["visualOptions"]) if obj.get("visualOptions") is not None else None, "includeData": obj.get("includeData"), "dataFormat": obj.get("dataFormat"), - "includeRewordedQuestion": obj.get("includeRewordedQuestion") + "includeRewordedQuestion": obj.get("includeRewordedQuestion"), + "includeDetailData": obj.get("includeDetailData") }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_bulk_change_response_dto.py new file mode 100644 index 0000000000..3a706ba3b5 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_bulk_change_response_dto.py @@ -0,0 +1,106 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_category_change_failure_dto import VeeQuestionCategoryChangeFailureDTO +from visier_platform_sdk.models.vee_question_category_change_success_dto import VeeQuestionCategoryChangeSuccessDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoriesBulkChangeResponseDTO(BaseModel): + """ + The results of the bulk change operation. + """ # noqa: E501 + successes: Optional[List[VeeQuestionCategoryChangeSuccessDTO]] = Field(default=None, description="The question categories that were successfully changed.") + failures: Optional[List[VeeQuestionCategoryChangeFailureDTO]] = Field(default=None, description="The question categories that were not successfully changed.") + __properties: ClassVar[List[str]] = ["successes", "failures"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoriesBulkChangeResponseDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in successes (list) + _items = [] + if self.successes: + for _item_successes in self.successes: + if _item_successes: + _items.append(_item_successes.to_dict()) + _dict['successes'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in failures (list) + _items = [] + if self.failures: + for _item_failures in self.failures: + if _item_failures: + _items.append(_item_failures.to_dict()) + _dict['failures'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoriesBulkChangeResponseDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "successes": [VeeQuestionCategoryChangeSuccessDTO.from_dict(_item) for _item in obj["successes"]] if obj.get("successes") is not None else None, + "failures": [VeeQuestionCategoryChangeFailureDTO.from_dict(_item) for _item in obj["failures"]] if obj.get("failures") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_change_definitions_dto.py new file mode 100644 index 0000000000..da429a5e62 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_change_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_category_change_definitions_by_tenant_dto import VeeQuestionCategoryChangeDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoriesChangeDefinitionsDTO(BaseModel): + """ + The changes to Vee question categories. + """ # noqa: E501 + categories_by_tenant: Optional[List[VeeQuestionCategoryChangeDefinitionsByTenantDTO]] = Field(default=None, description="The Vee question category updates to make in each tenant.", alias="categoriesByTenant") + __properties: ClassVar[List[str]] = ["categoriesByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoriesChangeDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in categories_by_tenant (list) + _items = [] + if self.categories_by_tenant: + for _item_categories_by_tenant in self.categories_by_tenant: + if _item_categories_by_tenant: + _items.append(_item_categories_by_tenant.to_dict()) + _dict['categoriesByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoriesChangeDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "categoriesByTenant": [VeeQuestionCategoryChangeDefinitionsByTenantDTO.from_dict(_item) for _item in obj["categoriesByTenant"]] if obj.get("categoriesByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_delete_definitions_dto.py new file mode 100644 index 0000000000..51a17df34d --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_categories_delete_definitions_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_category_delete_definitions_by_tenant_dto import VeeQuestionCategoryDeleteDefinitionsByTenantDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoriesDeleteDefinitionsDTO(BaseModel): + """ + The Vee question categories to delete. + """ # noqa: E501 + categories_by_tenant: Optional[List[VeeQuestionCategoryDeleteDefinitionsByTenantDTO]] = Field(default=None, description="The question categories to delete for each tenant.", alias="categoriesByTenant") + __properties: ClassVar[List[str]] = ["categoriesByTenant"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoriesDeleteDefinitionsDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in categories_by_tenant (list) + _items = [] + if self.categories_by_tenant: + for _item_categories_by_tenant in self.categories_by_tenant: + if _item_categories_by_tenant: + _items.append(_item_categories_by_tenant.to_dict()) + _dict['categoriesByTenant'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoriesDeleteDefinitionsDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "categoriesByTenant": [VeeQuestionCategoryDeleteDefinitionsByTenantDTO.from_dict(_item) for _item in obj["categoriesByTenant"]] if obj.get("categoriesByTenant") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definition_dto.py new file mode 100644 index 0000000000..c3528408e2 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definition_dto.py @@ -0,0 +1,96 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoryChangeDefinitionDTO(BaseModel): + """ + The Vee question category details. + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="A name in plain language to display in Vee.", alias="displayName") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category. Omit if creating a new question category.", alias="categoryId") + category_icon: Optional[CategoryIconDTO] = Field(default=None, description="The icon for the question category.", alias="categoryIcon") + __properties: ClassVar[List[str]] = ["displayName", "categoryId", "categoryIcon"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeDefinitionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of category_icon + if self.category_icon: + _dict['categoryIcon'] = self.category_icon.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeDefinitionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "categoryId": obj.get("categoryId"), + "categoryIcon": CategoryIconDTO.from_dict(obj["categoryIcon"]) if obj.get("categoryIcon") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..963ae68f0e --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_definitions_by_tenant_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.vee_question_category_change_definition_dto import VeeQuestionCategoryChangeDefinitionDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoryChangeDefinitionsByTenantDTO(BaseModel): + """ + Information about the question category and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant code of the tenant in which to update question categories.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="To make changes in a project, specify a project ID.", alias="projectId") + categories: Optional[List[VeeQuestionCategoryChangeDefinitionDTO]] = Field(default=None, description="The Vee question categories to update.") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "categories"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of each item in categories (list) + _items = [] + if self.categories: + for _item_categories in self.categories: + if _item_categories: + _items.append(_item_categories.to_dict()) + _dict['categories'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "categories": [VeeQuestionCategoryChangeDefinitionDTO.from_dict(_item) for _item in obj["categories"]] if obj.get("categories") is not None else None + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_failure_dto.py new file mode 100644 index 0000000000..a8fe1a5195 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_failure_dto.py @@ -0,0 +1,104 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoryChangeFailureDTO(BaseModel): + """ + The list of failed changes. + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The name in plain language that was successfully changed.", alias="displayName") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category that was successfully changed.", alias="categoryId") + category_icon: Optional[CategoryIconDTO] = Field(default=None, description="The question category icons that were successfully changed.", alias="categoryIcon") + message: Optional[StrictStr] = Field(default=None, description="An error message describing the cause of the failure.") + rci: Optional[StrictStr] = Field(default=None, description="The root cause identifier to provide to Visier Technical Support if you require further troubleshooting.") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the object was not successfully changed in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project that the object was not successfully changed in.", alias="projectId") + __properties: ClassVar[List[str]] = ["displayName", "categoryId", "categoryIcon", "message", "rci", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeFailureDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of category_icon + if self.category_icon: + _dict['categoryIcon'] = self.category_icon.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeFailureDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "categoryId": obj.get("categoryId"), + "categoryIcon": CategoryIconDTO.from_dict(obj["categoryIcon"]) if obj.get("categoryIcon") is not None else None, + "message": obj.get("message"), + "rci": obj.get("rci"), + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_success_dto.py new file mode 100644 index 0000000000..9ab39ef5f6 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_change_success_dto.py @@ -0,0 +1,100 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from visier_platform_sdk.models.category_icon_dto import CategoryIconDTO +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoryChangeSuccessDTO(BaseModel): + """ + The list of successful changes. + """ # noqa: E501 + display_name: Optional[StrictStr] = Field(default=None, description="The name in plain language that was successfully changed.", alias="displayName") + category_id: Optional[StrictStr] = Field(default=None, description="The unique identifier of the question category that was successfully changed.", alias="categoryId") + category_icon: Optional[CategoryIconDTO] = Field(default=None, description="The question category icons that were successfully changed.", alias="categoryIcon") + tenant_code: Optional[StrictStr] = Field(default=None, description="The tenant that the question category was changed in.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project that the question category was changed in.", alias="projectId") + __properties: ClassVar[List[str]] = ["displayName", "categoryId", "categoryIcon", "tenantCode", "projectId"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeSuccessDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + # override the default output from pydantic by calling `to_dict()` of category_icon + if self.category_icon: + _dict['categoryIcon'] = self.category_icon.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryChangeSuccessDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "displayName": obj.get("displayName"), + "categoryId": obj.get("categoryId"), + "categoryIcon": CategoryIconDTO.from_dict(obj["categoryIcon"]) if obj.get("categoryIcon") is not None else None, + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_delete_definitions_by_tenant_dto.py new file mode 100644 index 0000000000..58ee345537 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_category_delete_definitions_by_tenant_dto.py @@ -0,0 +1,92 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VeeQuestionCategoryDeleteDefinitionsByTenantDTO(BaseModel): + """ + Information about the question category and the context of the API request, such as the tenant code and project ID. + """ # noqa: E501 + tenant_code: Optional[StrictStr] = Field(default=None, description="The code of the tenant to delete question categories from. Default is the current tenant.", alias="tenantCode") + project_id: Optional[StrictStr] = Field(default=None, description="The project in which to delete question categories. If omitted and the `ProjectID` request header is not defined, the change is published to production immediately.", alias="projectId") + category_ids: Optional[List[StrictStr]] = Field(default=None, description="The IDs of the question categories to delete for a specific tenant.", alias="categoryIds") + __properties: ClassVar[List[str]] = ["tenantCode", "projectId", "categoryIds"] + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryDeleteDefinitionsByTenantDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VeeQuestionCategoryDeleteDefinitionsByTenantDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "tenantCode": obj.get("tenantCode"), + "projectId": obj.get("projectId"), + "categoryIds": obj.get("categoryIds") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py index f9239542cf..cb339951a9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definition_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py index 4bd1b8772a..97b0060520 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py index 0633521950..693e55d86c 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_failure_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py index 595579117e..053040823e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_change_success_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py index ae3e64ed84..23bd254959 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py index 2bbad14d12..84f68e2414 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_question_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py index 4a4d06871f..f155dceb57 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py index a5b58d66ba..8498b04651 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_change_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py index 391e9d7f5f..c4e81f97a2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_questions_delete_definitions_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py index e6ce65fbb1..4aacf73c92 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -23,6 +23,7 @@ from visier_platform_sdk.models.vee_conversation_state_dto import VeeConversationStateDTO from visier_platform_sdk.models.vee_corrections_dto import VeeCorrectionsDTO from visier_platform_sdk.models.vee_data_dto import VeeDataDTO +from visier_platform_sdk.models.vee_detail_data_dto import VeeDetailDataDTO from visier_platform_sdk.models.vee_response_schema_dto import VeeResponseSchemaDTO from visier_platform_sdk.models.vee_status_code_dto import VeeStatusCodeDTO from visier_platform_sdk.models.vee_visual_dto import VeeVisualDTO @@ -42,7 +43,8 @@ class VeeResponseDTO(BaseModel): data: Optional[VeeDataDTO] = Field(default=None, description="Returned if `includeData` is `true`. Provides additional data relevant to the question, such as the visualization data and any filters applied to the visualization.") visual: Optional[VeeVisualDTO] = Field(default=None, description="A base64 string-encoded PNG of a visualization generated by Vee to answer a question. For example, Vee can return a Breakdown visualization if asked about the headcount in each organization.") reworded_question: Optional[StrictStr] = Field(default=None, description="Vee's plain language interpretation of the original question. For example, if you asked \"what is the headcount by gender in each org?\", Vee might reword the question as \"What is the gender breakdown of our workforce by organization this month?\".", alias="rewordedQuestion") - __properties: ClassVar[List[str]] = ["conversationState", "statusCode", "narrative", "chartUrl", "schema", "corrections", "data", "visual", "rewordedQuestion"] + detail_data: Optional[List[VeeDetailDataDTO]] = Field(default=None, description="Returns if `includeDetailData` is `true`. Provides additional detail data relevant to the questions.", alias="detailData") + __properties: ClassVar[List[str]] = ["conversationState", "statusCode", "narrative", "chartUrl", "schema", "corrections", "data", "visual", "rewordedQuestion", "detailData"] model_config = ConfigDict( populate_by_name=True, @@ -105,6 +107,13 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of visual if self.visual: _dict['visual'] = self.visual.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in detail_data (list) + _items = [] + if self.detail_data: + for _item_detail_data in self.detail_data: + if _item_detail_data: + _items.append(_item_detail_data.to_dict()) + _dict['detailData'] = _items return _dict @classmethod @@ -125,7 +134,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "corrections": [VeeCorrectionsDTO.from_dict(_item) for _item in obj["corrections"]] if obj.get("corrections") is not None else None, "data": VeeDataDTO.from_dict(obj["data"]) if obj.get("data") is not None else None, "visual": VeeVisualDTO.from_dict(obj["visual"]) if obj.get("visual") is not None else None, - "rewordedQuestion": obj.get("rewordedQuestion") + "rewordedQuestion": obj.get("rewordedQuestion"), + "detailData": [VeeDetailDataDTO.from_dict(_item) for _item in obj["detailData"]] if obj.get("detailData") is not None else None }) return _obj diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py index 9a6a4ce521..1f9e516914 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py index e06b09c1ed..76b2a5c8c9 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_response_schema_reference_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py index 4ad0205ff8..419ca3f6ea 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py index 5d4dec00b0..bf08907e76 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_sample_question_library_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py index 7d928e8392..f2d823b4cb 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_code_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py index 86f02cc5ce..5cfd88e68b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_status_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py index 8cf89551ba..81f68d6406 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py index b5c0d5bcda..ff77c9daf3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/vee_visual_options_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/version_information_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/version_information_dto.py index e8fb3ae4c1..a992ef7a51 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/version_information_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/version_information_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/visible_for_selection_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/visible_for_selection_dto.py new file mode 100644 index 0000000000..d459d7d6d0 --- /dev/null +++ b/src/visier_platform_sdk/visier_platform_sdk/models/visible_for_selection_dto.py @@ -0,0 +1,101 @@ +# coding: utf-8 + +""" + API Reference + + 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. + + The version of the OpenAPI document: 22222222.99200.22144 + Contact: alpine@visier.com + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing import Optional, Set +from typing_extensions import Self + +class VisibleForSelectionDTO(BaseModel): + """ + VisibleForSelectionDTO + """ # noqa: E501 + enabled: Optional[StrictBool] = Field(default=None, description="If `true`, the user group is visible in features such as sharing an analysis with user groups or assigning user groups a Vee sample question. Cannot update to `true` if `features` is empty. If `false`, the user group is not visible to select in any features. Default is `true`. **Note**: User group visibility is not available until Summer 2025.") + features: Optional[List[StrictStr]] = Field(default=None, description="The features in which the user group is visible. Default is empty. If `enabled` is `true`, the user group is visible in features listed. If `enabled` is `false`, this field is ignored. **Note**: User group visibility is not available until Summer 2025.") + __properties: ClassVar[List[str]] = ["enabled", "features"] + + @field_validator('features') + def features_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + for i in value: + if i not in set(['AnalyticsFeatures', 'StudioFeatures']): + raise ValueError("each list item must be one of ('AnalyticsFeatures', 'StudioFeatures')") + return value + + model_config = ConfigDict( + populate_by_name=True, + validate_assignment=True, + protected_namespaces=(), + ) + + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.model_dump(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + # TODO: pydantic v2: use .model_dump_json(by_alias=True, exclude_unset=True) instead + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> Optional[Self]: + """Create an instance of VisibleForSelectionDTO from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self) -> Dict[str, Any]: + """Return the dictionary representation of the model using alias. + + This has the following differences from calling pydantic's + `self.model_dump(by_alias=True)`: + + * `None` is only added to the output dict for nullable fields that + were set at model initialization. Other fields with value `None` + are ignored. + """ + excluded_fields: Set[str] = set([ + ]) + + _dict = self.model_dump( + by_alias=True, + exclude=excluded_fields, + exclude_none=True, + ) + return _dict + + @classmethod + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + """Create an instance of VisibleForSelectionDTO from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "enabled": obj.get("enabled"), + "features": obj.get("features") + }) + return _obj + + diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py index 7acc6b4f2a..5523b0c2f5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_basic_auth_credential_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py index 4b39162608..80498c99e5 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_credentials_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py index e4758fbbe3..2458d2094f 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_details_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -30,7 +30,7 @@ class WebhookDetailsDTO(BaseModel): """ # noqa: E501 target_url: Optional[StrictStr] = Field(default=None, description="The target URL to call when an event occurs.", alias="targetUrl") is_active: Optional[StrictBool] = Field(default=None, description="If `true`, the webhook is active. Must be `false` when creating webhooks. Default is `false`.", alias="isActive") - events: Optional[List[WebhookEventTypeDTO]] = Field(default=None, description="The events that the webhook is listening for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production.") + events: Optional[List[WebhookEventTypeDTO]] = Field(default=None, description="The events that the webhook is listening for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production. - `alertNotification`: A personalized alert notification was triggered.") key_name: Optional[StrictStr] = Field(default=None, description="The display name of the encryption key for the webhook. Encryption key must use `HmacSHA256` algorithm.", alias="keyName") display_name: Optional[StrictStr] = Field(default=None, description="The display name of the webhook.", alias="displayName") __properties: ClassVar[List[str]] = ["targetUrl", "isActive", "events", "keyName", "displayName"] diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py index ad378b579b..0caa2c33e0 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py index b6ed3b784c..153eb6094a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_event_type_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) @@ -27,7 +27,7 @@ class WebhookEventTypeDTO(BaseModel): """ The possible event types for Visier webhooks. """ # noqa: E501 - event_type: Optional[StrictStr] = Field(default=None, description="The possible event types to listen for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production.", alias="eventType") + event_type: Optional[StrictStr] = Field(default=None, description="The possible event types to listen for. Valid values: - `jobResultSuccess`: A job completed successfully. - `jobResultFailure`: A job failed to complete. - `jobReschedule`: A job was rescheduled. - `dvPublish`: A data version published to production. - `alertNotification`: A personalized alert notification was triggered.", alias="eventType") __properties: ClassVar[List[str]] = ["eventType"] model_config = ConfigDict( diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py index 592bb71f5e..56e325906b 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_message_response_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py index 1a5e30833f..79ccb7da0e 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhook_request_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py index f1ed23030b..db21baa7e4 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/webhooks_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py index 260656cef4..cf968e1bf6 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/willow_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py index 7e00497925..4b102237bc 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py index ff669e5753..c64a6c9ed2 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_o_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py index f1d7f291fd..ace26d936a 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_raas_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py index b96f6bde89..e75eae4937 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/workday_refresh_token_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py b/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py index 35ab0ae618..3fea076cd3 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py +++ b/src/visier_platform_sdk/visier_platform_sdk/models/zoom_auth_params_dto.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech) diff --git a/src/visier_platform_sdk/visier_platform_sdk/rest.py b/src/visier_platform_sdk/visier_platform_sdk/rest.py index a25ddae5fc..ae4d9c7f77 100644 --- a/src/visier_platform_sdk/visier_platform_sdk/rest.py +++ b/src/visier_platform_sdk/visier_platform_sdk/rest.py @@ -5,7 +5,7 @@ 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. - The version of the OpenAPI document: 22222222.99201.2050 + The version of the OpenAPI document: 22222222.99200.22144 Contact: alpine@visier.com Generated by OpenAPI Generator (https://openapi-generator.tech)