visier-platform-sdk 22222222.99200.21494__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of visier-platform-sdk might be problematic. Click here for more details.
- visier_platform_sdk/__init__.py +1404 -0
- visier_platform_sdk/api/__init__.py +43 -0
- visier_platform_sdk/api/basic_authentication_api.py +625 -0
- visier_platform_sdk/api/benchmarks_api.py +936 -0
- visier_platform_sdk/api/concepts_v2_api.py +2307 -0
- visier_platform_sdk/api/consolidated_analytics_api.py +3265 -0
- visier_platform_sdk/api/data_and_job_handling_api.py +8380 -0
- visier_platform_sdk/api/data_intake_api.py +1866 -0
- visier_platform_sdk/api/data_model_api.py +13164 -0
- visier_platform_sdk/api/data_query_api.py +1226 -0
- visier_platform_sdk/api/data_upload_api.py +343 -0
- visier_platform_sdk/api/data_version_export_api.py +1724 -0
- visier_platform_sdk/api/dimensions_api.py +3050 -0
- visier_platform_sdk/api/dimensions_v2_api.py +2344 -0
- visier_platform_sdk/api/direct_data_intake_api.py +3039 -0
- visier_platform_sdk/api/email_domains_api.py +843 -0
- visier_platform_sdk/api/encryption_keys_api.py +835 -0
- visier_platform_sdk/api/jobs_library_api.py +1168 -0
- visier_platform_sdk/api/network_subnets_api.py +1170 -0
- visier_platform_sdk/api/o_auth2_api.py +1036 -0
- visier_platform_sdk/api/object_configuration_api.py +1752 -0
- visier_platform_sdk/api/permissions_api.py +4295 -0
- visier_platform_sdk/api/pgp_keys_api.py +1161 -0
- visier_platform_sdk/api/planning_data_load_api.py +740 -0
- visier_platform_sdk/api/production_versions_api.py +944 -0
- visier_platform_sdk/api/profiles_api.py +2873 -0
- visier_platform_sdk/api/projects_api.py +2128 -0
- visier_platform_sdk/api/release_version_configuration_api.py +835 -0
- visier_platform_sdk/api/reporting_api.py +1757 -0
- visier_platform_sdk/api/search_api.py +356 -0
- visier_platform_sdk/api/skills_library_api.py +2632 -0
- visier_platform_sdk/api/source_files_download_api.py +335 -0
- visier_platform_sdk/api/sources_api.py +652 -0
- visier_platform_sdk/api/system_status_api.py +570 -0
- visier_platform_sdk/api/tenants_v1_api.py +2836 -0
- visier_platform_sdk/api/tenants_v2_api.py +1595 -0
- visier_platform_sdk/api/user_groups_v2_api.py +2332 -0
- visier_platform_sdk/api/users_v1_api.py +6157 -0
- visier_platform_sdk/api/users_v2_api.py +973 -0
- visier_platform_sdk/api/vee_api.py +1161 -0
- visier_platform_sdk/api/webhooks_api.py +2281 -0
- visier_platform_sdk/api_client.py +811 -0
- visier_platform_sdk/api_response.py +21 -0
- visier_platform_sdk/configuration.py +808 -0
- visier_platform_sdk/exceptions.py +217 -0
- visier_platform_sdk/models/__init__.py +657 -0
- visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py +102 -0
- visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py +128 -0
- visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py +98 -0
- visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py +125 -0
- visier_platform_sdk/models/additional_capabilities_dto.py +88 -0
- visier_platform_sdk/models/admin_capability_config_dto.py +90 -0
- visier_platform_sdk/models/adp_auth_params_dto.py +88 -0
- visier_platform_sdk/models/aggregation_query_dto.py +128 -0
- visier_platform_sdk/models/aggregation_query_execution_dto.py +98 -0
- visier_platform_sdk/models/aggregation_query_source_dto.py +96 -0
- visier_platform_sdk/models/aggregation_query_source_metric_dto.py +94 -0
- visier_platform_sdk/models/aggregation_query_source_metrics_dto.py +96 -0
- visier_platform_sdk/models/aggregation_type_option_dto.py +96 -0
- visier_platform_sdk/models/aggregation_type_parameter_dto.py +102 -0
- visier_platform_sdk/models/aggregation_type_parameter_value_dto.py +90 -0
- visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py +96 -0
- visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py +96 -0
- visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py +96 -0
- visier_platform_sdk/models/all_tenants_status_apidto.py +100 -0
- visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py +96 -0
- visier_platform_sdk/models/all_users_get_api_response_dto.py +100 -0
- visier_platform_sdk/models/analytic_object_definition_dto.py +102 -0
- visier_platform_sdk/models/analytic_object_dto.py +132 -0
- visier_platform_sdk/models/analytic_object_filter_dto.py +94 -0
- visier_platform_sdk/models/analytic_object_filter_list_dto.py +96 -0
- visier_platform_sdk/models/analytic_object_names_dto.py +88 -0
- visier_platform_sdk/models/analytic_object_reference_dto.py +88 -0
- visier_platform_sdk/models/analytic_object_reference_list_dto.py +96 -0
- visier_platform_sdk/models/analytic_object_request_dto.py +96 -0
- visier_platform_sdk/models/analytic_object_with_context_dto.py +98 -0
- visier_platform_sdk/models/analytic_objects_dto.py +96 -0
- visier_platform_sdk/models/any.py +101 -0
- visier_platform_sdk/models/api_error.py +92 -0
- visier_platform_sdk/models/assign_connector_credential_request.py +96 -0
- visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py +112 -0
- visier_platform_sdk/models/assign_connector_credentials_response_dto.py +96 -0
- visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py +98 -0
- visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py +102 -0
- visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py +114 -0
- visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py +92 -0
- visier_platform_sdk/models/assign_revoke_permission_request_dto.py +90 -0
- visier_platform_sdk/models/assign_revoke_permissions_request_dto.py +102 -0
- visier_platform_sdk/models/assign_revoke_permissions_response_dto.py +96 -0
- visier_platform_sdk/models/assigned_credential_info_response_dto.py +92 -0
- visier_platform_sdk/models/bamboo_auth_params_dto.py +90 -0
- visier_platform_sdk/models/basic_information_dto.py +102 -0
- visier_platform_sdk/models/basic_s3_auth_params_dto.py +96 -0
- visier_platform_sdk/models/batch_tenant_provision_apidto.py +96 -0
- visier_platform_sdk/models/benchmark_info.py +92 -0
- visier_platform_sdk/models/benchmark_value.py +108 -0
- visier_platform_sdk/models/big_query_auth_params_dto.py +104 -0
- visier_platform_sdk/models/big_query_service_account_params_dto.py +90 -0
- visier_platform_sdk/models/bulk_change_response_dto.py +106 -0
- visier_platform_sdk/models/bulk_data_access_set_response_dto.py +106 -0
- visier_platform_sdk/models/business_location_dto.py +90 -0
- visier_platform_sdk/models/calculated_property_type_dto.py +90 -0
- visier_platform_sdk/models/calculated_selection_concept_dto.py +104 -0
- visier_platform_sdk/models/calculation_concept_configuration_dto.py +96 -0
- visier_platform_sdk/models/calculation_concept_configuration_map_dto.py +96 -0
- visier_platform_sdk/models/calculation_concept_dto.py +96 -0
- visier_platform_sdk/models/calculation_concept_list_dto.py +96 -0
- visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py +88 -0
- visier_platform_sdk/models/capabilities_dto.py +92 -0
- visier_platform_sdk/models/capability_dto.py +92 -0
- visier_platform_sdk/models/capability_group_dto.py +146 -0
- visier_platform_sdk/models/cell_distribution_bin_dto.py +90 -0
- visier_platform_sdk/models/cell_distribution_options_dto.py +88 -0
- visier_platform_sdk/models/cell_dto.py +102 -0
- visier_platform_sdk/models/cell_set_axis_dto.py +102 -0
- visier_platform_sdk/models/cell_set_axis_position_dto.py +92 -0
- visier_platform_sdk/models/cell_set_dto.py +114 -0
- visier_platform_sdk/models/cell_set_or_error_dto.py +98 -0
- visier_platform_sdk/models/clone_files_into_source_parameters_dto.py +96 -0
- visier_platform_sdk/models/cohort_filter_dto.py +100 -0
- visier_platform_sdk/models/commit_and_publish_operation_response_dto.py +92 -0
- visier_platform_sdk/models/commit_dto.py +92 -0
- visier_platform_sdk/models/concept_configuration_result_dto.py +92 -0
- visier_platform_sdk/models/concept_definition_dto.py +108 -0
- visier_platform_sdk/models/concept_delete_request_dto.py +96 -0
- visier_platform_sdk/models/concept_delete_with_context_dto.py +98 -0
- visier_platform_sdk/models/concept_request_dto.py +96 -0
- visier_platform_sdk/models/concept_response_dto.py +96 -0
- visier_platform_sdk/models/concept_type_details_dto.py +104 -0
- visier_platform_sdk/models/concept_with_context_dto.py +98 -0
- visier_platform_sdk/models/connector.py +98 -0
- visier_platform_sdk/models/connector_info_response_dto.py +92 -0
- visier_platform_sdk/models/connector_setting_request_dto.py +90 -0
- visier_platform_sdk/models/connector_setting_response_dto.py +92 -0
- visier_platform_sdk/models/connector_settings_response_dto.py +102 -0
- visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py +88 -0
- visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py +88 -0
- visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py +88 -0
- visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py +88 -0
- visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py +92 -0
- visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py +96 -0
- visier_platform_sdk/models/consolidated_analytics_job_request_dto.py +88 -0
- visier_platform_sdk/models/content_package_dto.py +92 -0
- visier_platform_sdk/models/copy_s3_auth_params_dto.py +88 -0
- visier_platform_sdk/models/create_data_access_set_request_dto.py +96 -0
- visier_platform_sdk/models/credential_creation_api_response_dto.py +102 -0
- visier_platform_sdk/models/currencies_dto.py +96 -0
- visier_platform_sdk/models/currency_dto.py +94 -0
- visier_platform_sdk/models/currency_rate_dto.py +96 -0
- visier_platform_sdk/models/currency_rates_dto.py +96 -0
- visier_platform_sdk/models/custom_property_dto.py +90 -0
- visier_platform_sdk/models/custom_tenant_property_dto.py +90 -0
- visier_platform_sdk/models/data_access_set_dto.py +104 -0
- visier_platform_sdk/models/data_access_set_error_dto.py +90 -0
- visier_platform_sdk/models/data_access_set_failure_dto.py +96 -0
- visier_platform_sdk/models/data_access_set_success_dto.py +90 -0
- visier_platform_sdk/models/data_categories_response_dto.py +96 -0
- visier_platform_sdk/models/data_category_response_dto.py +92 -0
- visier_platform_sdk/models/data_load_request.py +92 -0
- visier_platform_sdk/models/data_load_request_model.py +90 -0
- visier_platform_sdk/models/data_load_response.py +88 -0
- visier_platform_sdk/models/data_model_analytic_object_dto.py +130 -0
- visier_platform_sdk/models/data_provider_auth_information_dto.py +104 -0
- visier_platform_sdk/models/data_provider_auth_params_dto.py +344 -0
- visier_platform_sdk/models/data_provider_basic_information_dto.py +90 -0
- visier_platform_sdk/models/data_provider_basic_metadata_dto.py +88 -0
- visier_platform_sdk/models/data_security_profile_dto.py +134 -0
- visier_platform_sdk/models/data_transfer_result_detail.py +94 -0
- visier_platform_sdk/models/data_version_and_date_dto.py +90 -0
- visier_platform_sdk/models/data_version_export_column_dto.py +94 -0
- visier_platform_sdk/models/data_version_export_data_version_summary_dto.py +92 -0
- visier_platform_sdk/models/data_version_export_data_versions_dto.py +96 -0
- visier_platform_sdk/models/data_version_export_dto.py +108 -0
- visier_platform_sdk/models/data_version_export_file_dto.py +106 -0
- visier_platform_sdk/models/data_version_export_job_status_dto.py +94 -0
- visier_platform_sdk/models/data_version_export_part_file_dto.py +90 -0
- visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py +90 -0
- visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py +88 -0
- visier_platform_sdk/models/data_version_export_table_dto.py +101 -0
- visier_platform_sdk/models/data_version_exports_dto.py +96 -0
- visier_platform_sdk/models/data_version_object.py +92 -0
- visier_platform_sdk/models/databricks_auth_params_dto.py +94 -0
- visier_platform_sdk/models/date_range_dto.py +90 -0
- visier_platform_sdk/models/dayforce_v2_auth_params_dto.py +96 -0
- visier_platform_sdk/models/delete_permissions_request_dto.py +88 -0
- visier_platform_sdk/models/delete_user_group_v2_request.py +88 -0
- visier_platform_sdk/models/dependent_dto.py +92 -0
- visier_platform_sdk/models/description_entry.py +90 -0
- visier_platform_sdk/models/designer_dimension_filter_dto.py +100 -0
- visier_platform_sdk/models/designer_selection_concept_dto.py +96 -0
- visier_platform_sdk/models/dimension_change_definition_dto.py +94 -0
- visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py +100 -0
- visier_platform_sdk/models/dimension_delete_request_dto.py +96 -0
- visier_platform_sdk/models/dimension_delete_with_context_dto.py +98 -0
- visier_platform_sdk/models/dimension_details_dto.py +98 -0
- visier_platform_sdk/models/dimension_dto.py +120 -0
- visier_platform_sdk/models/dimension_filter_dto.py +100 -0
- visier_platform_sdk/models/dimension_filter_list_dto.py +96 -0
- visier_platform_sdk/models/dimension_mapping_validation_dto.py +102 -0
- visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py +90 -0
- visier_platform_sdk/models/dimension_member.py +139 -0
- visier_platform_sdk/models/dimension_member_dto.py +88 -0
- visier_platform_sdk/models/dimension_member_reference_dto.py +90 -0
- visier_platform_sdk/models/dimension_reference_dto.py +90 -0
- visier_platform_sdk/models/dimension_request_dto.py +96 -0
- visier_platform_sdk/models/dimension_response_dto.py +96 -0
- visier_platform_sdk/models/dimension_with_context_dto.py +98 -0
- visier_platform_sdk/models/dimensions_auth_params_dto.py +98 -0
- visier_platform_sdk/models/dimensions_change_definitions_dto.py +96 -0
- visier_platform_sdk/models/dimensions_dto.py +96 -0
- visier_platform_sdk/models/direct_data_job_config_dto.py +100 -0
- visier_platform_sdk/models/direct_data_job_status_response_dto.py +96 -0
- visier_platform_sdk/models/direct_data_list_transactions_response_dto.py +96 -0
- visier_platform_sdk/models/direct_data_load_config_dto.py +92 -0
- visier_platform_sdk/models/direct_data_schema_dto.py +96 -0
- visier_platform_sdk/models/direct_data_schema_field_dto.py +96 -0
- visier_platform_sdk/models/direct_data_transaction_dto.py +96 -0
- visier_platform_sdk/models/direct_data_transaction_start_response_dto.py +88 -0
- visier_platform_sdk/models/direct_data_upload_file_response_dto.py +92 -0
- visier_platform_sdk/models/disable_dv_model.py +96 -0
- visier_platform_sdk/models/disable_dv_request.py +92 -0
- visier_platform_sdk/models/disable_dv_response.py +100 -0
- visier_platform_sdk/models/dispatching_job_status_response.py +94 -0
- visier_platform_sdk/models/document_search_link_dto.py +90 -0
- visier_platform_sdk/models/download_source_files_dto.py +102 -0
- visier_platform_sdk/models/download_source_files_response_dto.py +90 -0
- visier_platform_sdk/models/dv_export_status.py +96 -0
- visier_platform_sdk/models/dynamic_dimension_filter_dto.py +112 -0
- visier_platform_sdk/models/dynamic_property_mapping_dto.py +106 -0
- visier_platform_sdk/models/element_ids_dto.py +88 -0
- visier_platform_sdk/models/email_domains_dto.py +90 -0
- visier_platform_sdk/models/error_dto.py +92 -0
- visier_platform_sdk/models/exclude_data_uploads_request.py +96 -0
- visier_platform_sdk/models/excluded_sources_body.py +88 -0
- visier_platform_sdk/models/execution_context_dto.py +90 -0
- visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py +92 -0
- visier_platform_sdk/models/extract_data_and_load_dto.py +150 -0
- visier_platform_sdk/models/extracted_skill.py +94 -0
- visier_platform_sdk/models/extraction_job.py +94 -0
- visier_platform_sdk/models/extraction_job_and_status_response.py +104 -0
- visier_platform_sdk/models/extractor_credential_apidto.py +96 -0
- visier_platform_sdk/models/extractor_credentials_apidto.py +100 -0
- visier_platform_sdk/models/extractor_setting_apidto.py +100 -0
- visier_platform_sdk/models/extractor_setting_key_value_apidto.py +90 -0
- visier_platform_sdk/models/extractor_settings_apidto.py +96 -0
- visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py +98 -0
- visier_platform_sdk/models/failed_change_dto.py +100 -0
- visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py +94 -0
- visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py +90 -0
- visier_platform_sdk/models/fusion_auth_params_dto.py +92 -0
- visier_platform_sdk/models/generate_impersonation_token_request.py +88 -0
- visier_platform_sdk/models/generate_key_request_dto.py +92 -0
- visier_platform_sdk/models/get_capabilities_api_response_dto.py +96 -0
- visier_platform_sdk/models/get_content_packages_api_response_dto.py +96 -0
- visier_platform_sdk/models/get_data_access_sets_api_response_dto.py +96 -0
- visier_platform_sdk/models/get_data_security_objects_api_response_dto.py +96 -0
- visier_platform_sdk/models/get_permissions_api_response_dto.py +96 -0
- visier_platform_sdk/models/get_plan_list_response_dto.py +98 -0
- visier_platform_sdk/models/get_production_versions_api_response_dto.py +96 -0
- visier_platform_sdk/models/get_projects_api_response_dto.py +123 -0
- visier_platform_sdk/models/gong_auth_params_dto.py +90 -0
- visier_platform_sdk/models/google_sheets_auth_params_dto.py +94 -0
- visier_platform_sdk/models/google_workspace_auth_params_dto.py +96 -0
- visier_platform_sdk/models/greenhouse_auth_params_dto.py +88 -0
- visier_platform_sdk/models/hierarchy.py +92 -0
- visier_platform_sdk/models/hierarchy_property_dto.py +90 -0
- visier_platform_sdk/models/home_analysis_by_user_group_dto.py +90 -0
- visier_platform_sdk/models/icims_auth_params_dto.py +108 -0
- visier_platform_sdk/models/import_definition_apidto.py +92 -0
- visier_platform_sdk/models/import_definitions_apidto.py +100 -0
- visier_platform_sdk/models/include_data_uploads_request.py +96 -0
- visier_platform_sdk/models/inherited_access_config_dto.py +100 -0
- visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py +90 -0
- visier_platform_sdk/models/internal_query_execution_options_dto.py +100 -0
- visier_platform_sdk/models/internal_s3_auth_params_dto.py +90 -0
- visier_platform_sdk/models/jdbc_auth_params_dto.py +92 -0
- visier_platform_sdk/models/jira_auth_params_dto.py +96 -0
- visier_platform_sdk/models/jira_connect_params_dto.py +92 -0
- visier_platform_sdk/models/job.py +121 -0
- visier_platform_sdk/models/job_cancellation_result_dto.py +110 -0
- visier_platform_sdk/models/job_cancellation_results_dto.py +96 -0
- visier_platform_sdk/models/job_entry.py +92 -0
- visier_platform_sdk/models/job_feedback_input.py +92 -0
- visier_platform_sdk/models/job_id_response.py +88 -0
- visier_platform_sdk/models/job_search_failure_output.py +94 -0
- visier_platform_sdk/models/job_search_input.py +88 -0
- visier_platform_sdk/models/job_search_output.py +106 -0
- visier_platform_sdk/models/job_standardization_input.py +98 -0
- visier_platform_sdk/models/job_standardization_input_skills.py +90 -0
- visier_platform_sdk/models/job_status_list_response.py +100 -0
- visier_platform_sdk/models/job_status_with_start_time.py +96 -0
- visier_platform_sdk/models/key_group_filter_dto.py +96 -0
- visier_platform_sdk/models/key_group_filter_item_dto.py +100 -0
- visier_platform_sdk/models/key_name.py +88 -0
- visier_platform_sdk/models/key_pair_delete_response_dto.py +88 -0
- visier_platform_sdk/models/key_pair_generate_request_dto.py +88 -0
- visier_platform_sdk/models/last_login_dto.py +88 -0
- visier_platform_sdk/models/level_dto.py +92 -0
- visier_platform_sdk/models/level_list_dto.py +96 -0
- visier_platform_sdk/models/leveled_details_dto.py +102 -0
- visier_platform_sdk/models/lever_auth_params_dto.py +88 -0
- visier_platform_sdk/models/lineage_dto.py +100 -0
- visier_platform_sdk/models/list_query_execution_dto.py +144 -0
- visier_platform_sdk/models/list_query_execution_options_dto.py +158 -0
- visier_platform_sdk/models/list_query_source_dto.py +94 -0
- visier_platform_sdk/models/list_response.py +101 -0
- visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py +92 -0
- visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py +118 -0
- visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py +88 -0
- visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py +106 -0
- visier_platform_sdk/models/location_search_failure_output.py +96 -0
- visier_platform_sdk/models/location_search_input.py +98 -0
- visier_platform_sdk/models/location_search_input1.py +92 -0
- visier_platform_sdk/models/location_search_output.py +106 -0
- visier_platform_sdk/models/location_search_successful_output.py +98 -0
- visier_platform_sdk/models/mask_message.py +88 -0
- visier_platform_sdk/models/medallia_auth_params_dto.py +94 -0
- visier_platform_sdk/models/member_dto.py +106 -0
- visier_platform_sdk/models/member_filter_config_dto.py +96 -0
- visier_platform_sdk/models/member_filter_dto.py +98 -0
- visier_platform_sdk/models/member_parameter_definition_dto.py +102 -0
- visier_platform_sdk/models/member_parameter_value_dto.py +98 -0
- visier_platform_sdk/models/member_selection_concept_dto.py +102 -0
- visier_platform_sdk/models/member_selection_dto.py +90 -0
- visier_platform_sdk/models/member_selection_list_dto.py +96 -0
- visier_platform_sdk/models/member_values_dto.py +105 -0
- visier_platform_sdk/models/members_dto.py +96 -0
- visier_platform_sdk/models/metric_definition_dto.py +114 -0
- visier_platform_sdk/models/metric_dto.py +122 -0
- visier_platform_sdk/models/metric_type_details_dto.py +92 -0
- visier_platform_sdk/models/metric_validation_summary_dto.py +92 -0
- visier_platform_sdk/models/metrics_dto.py +96 -0
- visier_platform_sdk/models/microsoft365_auth_params_dto.py +94 -0
- visier_platform_sdk/models/module_settings_dto.py +92 -0
- visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py +98 -0
- visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py +100 -0
- visier_platform_sdk/models/my_sql_auth_params_dto.py +98 -0
- visier_platform_sdk/models/namely_auth_params_dto.py +88 -0
- visier_platform_sdk/models/network_subnets_message_request.py +90 -0
- visier_platform_sdk/models/network_subnets_message_response.py +88 -0
- visier_platform_sdk/models/numeric_parameter_definition_dto.py +98 -0
- visier_platform_sdk/models/numeric_parameter_value_dto.py +90 -0
- visier_platform_sdk/models/o_auth2_user_info_dto.py +117 -0
- visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py +100 -0
- visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py +96 -0
- visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py +96 -0
- visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py +88 -0
- visier_platform_sdk/models/object_change_failure_dto.py +98 -0
- visier_platform_sdk/models/object_change_success_dto.py +94 -0
- visier_platform_sdk/models/object_id_dto.py +90 -0
- visier_platform_sdk/models/object_reference_dto.py +110 -0
- visier_platform_sdk/models/objects_bulk_change_response_dto.py +106 -0
- visier_platform_sdk/models/oracle_db_auth_params_dto.py +96 -0
- visier_platform_sdk/models/output_entry.py +98 -0
- visier_platform_sdk/models/output_entry1.py +98 -0
- visier_platform_sdk/models/output_entry1_matches_inner.py +94 -0
- visier_platform_sdk/models/pair_dto.py +90 -0
- visier_platform_sdk/models/parameter_definition_dto.py +110 -0
- visier_platform_sdk/models/parent_child_details_dto.py +108 -0
- visier_platform_sdk/models/permission_assigned_by_tenant_dto.py +98 -0
- visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py +92 -0
- visier_platform_sdk/models/permission_assigned_user_dto.py +92 -0
- visier_platform_sdk/models/permission_assigned_users_dto.py +100 -0
- visier_platform_sdk/models/permission_bulk_operation_response_dto.py +106 -0
- visier_platform_sdk/models/permission_dto.py +114 -0
- visier_platform_sdk/models/permission_error_dto.py +90 -0
- visier_platform_sdk/models/permission_failure_dto.py +96 -0
- visier_platform_sdk/models/permission_response_dto.py +90 -0
- visier_platform_sdk/models/permission_success_dto.py +90 -0
- visier_platform_sdk/models/permissions_list_dto.py +96 -0
- visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py +102 -0
- visier_platform_sdk/models/permissions_to_user_group_request_dto.py +90 -0
- visier_platform_sdk/models/permissions_to_user_groups_request_dto.py +96 -0
- visier_platform_sdk/models/perspective_configuration_dto.py +100 -0
- visier_platform_sdk/models/perspective_node_dto.py +100 -0
- visier_platform_sdk/models/plan_data_load_change_dto.py +94 -0
- visier_platform_sdk/models/plan_data_load_change_list_dto.py +98 -0
- visier_platform_sdk/models/plan_data_load_error_dto.py +92 -0
- visier_platform_sdk/models/plan_data_upload_response_dto.py +110 -0
- visier_platform_sdk/models/plan_info_dto.py +106 -0
- visier_platform_sdk/models/plan_item_dto.py +102 -0
- visier_platform_sdk/models/plan_parameter_definition_dto.py +94 -0
- visier_platform_sdk/models/plan_parameter_value_dto.py +94 -0
- visier_platform_sdk/models/plan_row_data_load_response_dto.py +114 -0
- visier_platform_sdk/models/plan_schema_dto.py +126 -0
- visier_platform_sdk/models/plan_segment_level_dto.py +96 -0
- visier_platform_sdk/models/plan_segment_level_member_dto.py +94 -0
- visier_platform_sdk/models/plan_segment_level_member_list_dto.py +100 -0
- visier_platform_sdk/models/plan_time_period_dto.py +90 -0
- visier_platform_sdk/models/plan_with_schema_dto.py +108 -0
- visier_platform_sdk/models/planning_concept_filter_context_dto.py +88 -0
- visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py +92 -0
- visier_platform_sdk/models/planning_model_dto.py +92 -0
- visier_platform_sdk/models/planning_models_dto.py +96 -0
- visier_platform_sdk/models/planning_plan_context_dto.py +98 -0
- visier_platform_sdk/models/planning_plan_dto.py +123 -0
- visier_platform_sdk/models/planning_plans_dto.py +96 -0
- visier_platform_sdk/models/population_configuration_dto.py +115 -0
- visier_platform_sdk/models/prediction_dto.py +124 -0
- visier_platform_sdk/models/predictions_dto.py +96 -0
- visier_platform_sdk/models/process_concept_definition_dto.py +128 -0
- visier_platform_sdk/models/process_concept_member_dto.py +90 -0
- visier_platform_sdk/models/process_concept_member_list_dto.py +96 -0
- visier_platform_sdk/models/process_concept_metric_definition_dto.py +92 -0
- visier_platform_sdk/models/process_concept_metric_list_dto.py +96 -0
- visier_platform_sdk/models/process_concept_outcome_dto.py +114 -0
- visier_platform_sdk/models/process_concept_outcome_list_dto.py +96 -0
- visier_platform_sdk/models/process_concept_property_list_dto.py +96 -0
- visier_platform_sdk/models/process_concept_property_type_dto.py +92 -0
- visier_platform_sdk/models/process_concept_stage_dto.py +102 -0
- visier_platform_sdk/models/process_concept_stage_list_dto.py +96 -0
- visier_platform_sdk/models/processing_job.py +96 -0
- visier_platform_sdk/models/processing_job_and_status_response.py +104 -0
- visier_platform_sdk/models/processing_job_request_dto.py +96 -0
- visier_platform_sdk/models/processing_job_status_response.py +104 -0
- visier_platform_sdk/models/product_release_dto.py +94 -0
- visier_platform_sdk/models/product_releases_dto.py +96 -0
- visier_platform_sdk/models/product_version_dto.py +92 -0
- visier_platform_sdk/models/product_versions_dto.py +96 -0
- visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py +94 -0
- visier_platform_sdk/models/product_versions_update_response_dto.py +106 -0
- visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py +92 -0
- visier_platform_sdk/models/production_version_api_operation_request_dto.py +98 -0
- visier_platform_sdk/models/production_version_api_operation_response_dto.py +92 -0
- visier_platform_sdk/models/production_versions_api_operation_request_dto.py +104 -0
- visier_platform_sdk/models/production_versions_api_operation_response_dto.py +88 -0
- visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py +98 -0
- visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py +110 -0
- visier_platform_sdk/models/profile_get_api_response_dto.py +102 -0
- visier_platform_sdk/models/profiles_get_api_response_dto.py +96 -0
- visier_platform_sdk/models/project_commits_api_response_dto.py +96 -0
- visier_platform_sdk/models/project_dto.py +111 -0
- visier_platform_sdk/models/project_operation_request_dto.py +98 -0
- visier_platform_sdk/models/project_operation_response_dto.py +92 -0
- visier_platform_sdk/models/properties_change_definitions_dto.py +96 -0
- visier_platform_sdk/models/properties_delete_definitions_dto.py +100 -0
- visier_platform_sdk/models/properties_dto.py +96 -0
- visier_platform_sdk/models/property_access_config_dto.py +116 -0
- visier_platform_sdk/models/property_bulk_delete_response_dto.py +106 -0
- visier_platform_sdk/models/property_change_definition_dto.py +112 -0
- visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py +100 -0
- visier_platform_sdk/models/property_column_dto.py +94 -0
- visier_platform_sdk/models/property_definition_dto.py +102 -0
- visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py +92 -0
- visier_platform_sdk/models/property_delete_failure_dto.py +117 -0
- visier_platform_sdk/models/property_delete_success_dto.py +113 -0
- visier_platform_sdk/models/property_dependency_dto.py +90 -0
- visier_platform_sdk/models/property_dependency_list_dto.py +96 -0
- visier_platform_sdk/models/property_dto.py +118 -0
- visier_platform_sdk/models/property_reference_dto.py +90 -0
- visier_platform_sdk/models/property_set_config_dto.py +102 -0
- visier_platform_sdk/models/property_type_details_dto.py +104 -0
- visier_platform_sdk/models/property_type_dto.py +98 -0
- visier_platform_sdk/models/public_key_dto.py +96 -0
- visier_platform_sdk/models/public_keys_dto.py +96 -0
- visier_platform_sdk/models/push_data_cancel_response.py +102 -0
- visier_platform_sdk/models/push_data_column_definition_dto.py +98 -0
- visier_platform_sdk/models/push_data_complete_request.py +90 -0
- visier_platform_sdk/models/push_data_complete_response.py +104 -0
- visier_platform_sdk/models/push_data_response.py +104 -0
- visier_platform_sdk/models/push_data_source_definition_dto.py +106 -0
- visier_platform_sdk/models/push_data_source_definitions_dto.py +96 -0
- visier_platform_sdk/models/put_project_commits_request.py +88 -0
- visier_platform_sdk/models/qualifying_path_dto.py +88 -0
- visier_platform_sdk/models/qualtrics_auth_params_dto.py +90 -0
- visier_platform_sdk/models/query_axis_dto.py +141 -0
- visier_platform_sdk/models/query_axis_options_dto.py +100 -0
- visier_platform_sdk/models/query_dimension_data_member_selection_dto.py +92 -0
- visier_platform_sdk/models/query_dimension_leaf_selection_dto.py +92 -0
- visier_platform_sdk/models/query_dimension_level_property_dto.py +108 -0
- visier_platform_sdk/models/query_dimension_level_selection_dto.py +96 -0
- visier_platform_sdk/models/query_dimension_member_selection_dto.py +102 -0
- visier_platform_sdk/models/query_execution_error_details_dto.py +94 -0
- visier_platform_sdk/models/query_execution_error_dto.py +100 -0
- visier_platform_sdk/models/query_execution_errors_dto.py +100 -0
- visier_platform_sdk/models/query_execution_options_dto.py +192 -0
- visier_platform_sdk/models/query_filter_dto.py +106 -0
- visier_platform_sdk/models/query_member_map_property_dto.py +94 -0
- visier_platform_sdk/models/query_member_map_selection_dto.py +104 -0
- visier_platform_sdk/models/query_numeric_ranges_dto.py +100 -0
- visier_platform_sdk/models/query_parameter_value_dto.py +110 -0
- visier_platform_sdk/models/query_property_dto.py +120 -0
- visier_platform_sdk/models/query_time_interval_dto.py +134 -0
- visier_platform_sdk/models/query_time_intervals_dto.py +150 -0
- visier_platform_sdk/models/question_categories_api_response_dto.py +96 -0
- visier_platform_sdk/models/question_category_api_response_dto.py +90 -0
- visier_platform_sdk/models/receiving_job.py +92 -0
- visier_platform_sdk/models/receiving_job_and_status_response.py +104 -0
- visier_platform_sdk/models/receiving_job_status_response.py +104 -0
- visier_platform_sdk/models/redshift_auth_params_dto.py +100 -0
- visier_platform_sdk/models/reduced_error_dto.py +88 -0
- visier_platform_sdk/models/reduced_tenant_code_error_dto.py +96 -0
- visier_platform_sdk/models/reduced_user_id_error_dto.py +94 -0
- visier_platform_sdk/models/related_analytic_object_dto.py +90 -0
- visier_platform_sdk/models/report_create_request_dto.py +90 -0
- visier_platform_sdk/models/report_delete_success_dto.py +88 -0
- visier_platform_sdk/models/report_dto.py +115 -0
- visier_platform_sdk/models/report_list_response_dto.py +96 -0
- visier_platform_sdk/models/result.py +96 -0
- visier_platform_sdk/models/role_modules_config_dto.py +88 -0
- visier_platform_sdk/models/salary_benchmark_input.py +100 -0
- visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +96 -0
- visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +106 -0
- visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +110 -0
- visier_platform_sdk/models/salesforce_auth_params_dto.py +90 -0
- visier_platform_sdk/models/salesforce_v2_auth_params_dto.py +94 -0
- visier_platform_sdk/models/sample_question_api_response_dto.py +100 -0
- visier_platform_sdk/models/sample_questions_api_response_dto.py +96 -0
- visier_platform_sdk/models/scenario_info_dto.py +92 -0
- visier_platform_sdk/models/scenario_or_snapshot_dto.py +90 -0
- visier_platform_sdk/models/securable_dimension_dto.py +102 -0
- visier_platform_sdk/models/securable_property_dto.py +96 -0
- visier_platform_sdk/models/security_assignment_response_dto.py +96 -0
- visier_platform_sdk/models/selection_concept_configuration_dto.py +96 -0
- visier_platform_sdk/models/selection_concept_configuration_map_dto.py +96 -0
- visier_platform_sdk/models/selection_concept_dto.py +106 -0
- visier_platform_sdk/models/selection_concept_list_dto.py +96 -0
- visier_platform_sdk/models/selection_concept_reference_dto.py +90 -0
- visier_platform_sdk/models/selection_concepts_dto.py +96 -0
- visier_platform_sdk/models/service_now_auth_params_dto.py +92 -0
- visier_platform_sdk/models/service_now_v2_auth_params_dto.py +96 -0
- visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py +96 -0
- visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +92 -0
- visier_platform_sdk/models/set_connector_setting_request_dto.py +98 -0
- visier_platform_sdk/models/set_connector_setting_response_dto.py +112 -0
- visier_platform_sdk/models/set_connector_settings_request_dto.py +96 -0
- visier_platform_sdk/models/set_connector_settings_response_dto.py +96 -0
- visier_platform_sdk/models/shareable_data_access_set.py +88 -0
- visier_platform_sdk/models/simple_document_header_search_response_dto.py +96 -0
- visier_platform_sdk/models/simple_document_header_search_result_dto.py +98 -0
- visier_platform_sdk/models/simple_property_type_dto.py +88 -0
- visier_platform_sdk/models/simple_user_dto.py +90 -0
- visier_platform_sdk/models/skill.py +106 -0
- visier_platform_sdk/models/skill_category.py +102 -0
- visier_platform_sdk/models/skill_category_entry.py +92 -0
- visier_platform_sdk/models/skill_entry.py +92 -0
- visier_platform_sdk/models/skill_extraction_input.py +93 -0
- visier_platform_sdk/models/skill_group.py +104 -0
- visier_platform_sdk/models/skill_group_entry.py +92 -0
- visier_platform_sdk/models/skill_match_input.py +91 -0
- visier_platform_sdk/models/slack_auth_params_dto.py +92 -0
- visier_platform_sdk/models/snapshot_query_execution_dto.py +144 -0
- visier_platform_sdk/models/snapshot_query_execution_options_dto.py +134 -0
- visier_platform_sdk/models/snowflake_auth_params_dto.py +100 -0
- visier_platform_sdk/models/sort_option_dto.py +100 -0
- visier_platform_sdk/models/source.py +98 -0
- visier_platform_sdk/models/source_import_result_summary_dto.py +94 -0
- visier_platform_sdk/models/sources_api_operation_request_dto.py +104 -0
- visier_platform_sdk/models/sources_api_put_response_dto.py +92 -0
- visier_platform_sdk/models/sql_like200_response.py +138 -0
- visier_platform_sdk/models/sql_like_query_execution_dto.py +94 -0
- visier_platform_sdk/models/sql_server_auth_params_dto.py +96 -0
- visier_platform_sdk/models/start_extraction_response.py +88 -0
- visier_platform_sdk/models/start_transfer_response.py +88 -0
- visier_platform_sdk/models/static_dimension_filter_dto.py +112 -0
- visier_platform_sdk/models/status.py +96 -0
- visier_platform_sdk/models/subject_missing_access_dto.py +102 -0
- visier_platform_sdk/models/success_factors_auth_params_dto.py +100 -0
- visier_platform_sdk/models/success_factors_o_auth_params_dto.py +92 -0
- visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py +92 -0
- visier_platform_sdk/models/successful_change_dto.py +98 -0
- visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py +88 -0
- visier_platform_sdk/models/synonym_list_dto.py +88 -0
- visier_platform_sdk/models/system_status_dto.py +88 -0
- visier_platform_sdk/models/table_response_dto.py +90 -0
- visier_platform_sdk/models/tag_map_element_dto.py +90 -0
- visier_platform_sdk/models/tag_reference_dto.py +88 -0
- visier_platform_sdk/models/tag_reference_list_dto.py +96 -0
- visier_platform_sdk/models/tags_dto.py +88 -0
- visier_platform_sdk/models/target_project_for_tenant_dto.py +90 -0
- visier_platform_sdk/models/target_project_for_tenants_list_dto.py +96 -0
- visier_platform_sdk/models/target_tenant_code_dto.py +90 -0
- visier_platform_sdk/models/tenant.py +100 -0
- visier_platform_sdk/models/tenant_and_credential.py +90 -0
- visier_platform_sdk/models/tenant_assignments_dto.py +114 -0
- visier_platform_sdk/models/tenant_code_body.py +88 -0
- visier_platform_sdk/models/tenant_code_error_dto.py +96 -0
- visier_platform_sdk/models/tenant_connector_settings_request_dto.py +98 -0
- visier_platform_sdk/models/tenant_data_upload_status_response_dto.py +98 -0
- visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py +94 -0
- visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py +100 -0
- visier_platform_sdk/models/tenant_data_uploads_response_dto.py +98 -0
- visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py +100 -0
- visier_platform_sdk/models/tenant_detail_apidto.py +130 -0
- visier_platform_sdk/models/tenant_details_traits_dto.py +112 -0
- visier_platform_sdk/models/tenant_encryption_key_details_dto.py +96 -0
- visier_platform_sdk/models/tenant_encryption_key_dto.py +94 -0
- visier_platform_sdk/models/tenant_management_api_get_response_dto.py +156 -0
- visier_platform_sdk/models/tenant_management_api_list_response_dto.py +100 -0
- visier_platform_sdk/models/tenant_management_api_update_request_dto.py +156 -0
- visier_platform_sdk/models/tenant_management_api_update_response_dto.py +136 -0
- visier_platform_sdk/models/tenant_module_dto.py +96 -0
- visier_platform_sdk/models/tenant_preview_entries_summary_dto.py +102 -0
- visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py +100 -0
- visier_platform_sdk/models/tenant_provision_apidto.py +110 -0
- visier_platform_sdk/models/tenant_status_apidto.py +94 -0
- visier_platform_sdk/models/time_shift_dto.py +112 -0
- visier_platform_sdk/models/token_response.py +96 -0
- visier_platform_sdk/models/ultimate_auth_params_dto.py +96 -0
- visier_platform_sdk/models/update_tenant_model.py +98 -0
- visier_platform_sdk/models/upload_to_exclude.py +102 -0
- visier_platform_sdk/models/upload_to_include.py +102 -0
- visier_platform_sdk/models/user_creation_api_request_dto.py +96 -0
- visier_platform_sdk/models/user_creation_api_response_dto.py +98 -0
- visier_platform_sdk/models/user_get_api_response_dto.py +122 -0
- visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py +90 -0
- visier_platform_sdk/models/user_group_assignment_dto.py +88 -0
- visier_platform_sdk/models/user_group_change_definition_dto.py +108 -0
- visier_platform_sdk/models/user_group_change_dimension_filter_dto.py +104 -0
- visier_platform_sdk/models/user_group_change_failure_dto.py +96 -0
- visier_platform_sdk/models/user_group_change_filter_dto.py +100 -0
- visier_platform_sdk/models/user_group_change_member_selection_dto.py +90 -0
- visier_platform_sdk/models/user_group_change_response_dto.py +106 -0
- visier_platform_sdk/models/user_group_change_success_dto.py +94 -0
- visier_platform_sdk/models/user_group_change_users_dto.py +105 -0
- visier_platform_sdk/models/user_group_delete_dto.py +92 -0
- visier_platform_sdk/models/user_group_delete_failure_dto.py +96 -0
- visier_platform_sdk/models/user_group_delete_response_dto.py +106 -0
- visier_platform_sdk/models/user_group_delete_success_dto.py +92 -0
- visier_platform_sdk/models/user_group_filters_dto.py +96 -0
- visier_platform_sdk/models/user_group_get_api_response_dto.py +100 -0
- visier_platform_sdk/models/user_group_single_delete_response_dto.py +98 -0
- visier_platform_sdk/models/user_groups_change_dto.py +96 -0
- visier_platform_sdk/models/user_groups_delete_request_dto.py +96 -0
- visier_platform_sdk/models/user_groups_get_api_response_dto.py +100 -0
- visier_platform_sdk/models/user_groups_users_dto.py +100 -0
- visier_platform_sdk/models/user_groups_users_for_tenant_dto.py +98 -0
- visier_platform_sdk/models/user_id_error_dto.py +94 -0
- visier_platform_sdk/models/user_property_dto.py +88 -0
- visier_platform_sdk/models/user_security_assignments_dto.py +100 -0
- visier_platform_sdk/models/user_update_api_request_dto.py +96 -0
- visier_platform_sdk/models/users_api_error_message_dto.py +90 -0
- visier_platform_sdk/models/users_api_failure_dto.py +98 -0
- visier_platform_sdk/models/users_api_response_dto.py +106 -0
- visier_platform_sdk/models/users_api_success_dto.py +98 -0
- visier_platform_sdk/models/users_creation_api_request_dto.py +96 -0
- visier_platform_sdk/models/users_delete_api_request_dto.py +88 -0
- visier_platform_sdk/models/users_to_user_group_request_dto.py +90 -0
- visier_platform_sdk/models/users_to_user_groups_request_dto.py +102 -0
- visier_platform_sdk/models/users_update_api_request_dto.py +96 -0
- visier_platform_sdk/models/users_update_api_user_dto.py +98 -0
- visier_platform_sdk/models/v2_calculated_property_type_dto.py +92 -0
- visier_platform_sdk/models/v2_dimension_dto.py +118 -0
- visier_platform_sdk/models/v2_level_dto.py +102 -0
- visier_platform_sdk/models/v2_simple_property_type_dto.py +90 -0
- visier_platform_sdk/models/validity_range_dto.py +90 -0
- visier_platform_sdk/models/vee_clarification_dto.py +98 -0
- visier_platform_sdk/models/vee_conversation_dto.py +92 -0
- visier_platform_sdk/models/vee_conversation_state_dto.py +88 -0
- visier_platform_sdk/models/vee_corrections_dto.py +109 -0
- visier_platform_sdk/models/vee_data_dto.py +90 -0
- visier_platform_sdk/models/vee_feedback_dto.py +96 -0
- visier_platform_sdk/models/vee_options_dto.py +110 -0
- visier_platform_sdk/models/vee_question_change_definition_dto.py +100 -0
- visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py +100 -0
- visier_platform_sdk/models/vee_question_change_failure_dto.py +106 -0
- visier_platform_sdk/models/vee_question_change_success_dto.py +104 -0
- visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py +92 -0
- visier_platform_sdk/models/vee_question_dto.py +102 -0
- visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py +106 -0
- visier_platform_sdk/models/vee_questions_change_definitions_dto.py +96 -0
- visier_platform_sdk/models/vee_questions_delete_definitions_dto.py +96 -0
- visier_platform_sdk/models/vee_response_dto.py +132 -0
- visier_platform_sdk/models/vee_response_schema_dto.py +107 -0
- visier_platform_sdk/models/vee_response_schema_reference_dto.py +90 -0
- visier_platform_sdk/models/vee_sample_question_dto.py +94 -0
- visier_platform_sdk/models/vee_sample_question_library_dto.py +96 -0
- visier_platform_sdk/models/vee_status_code_dto.py +100 -0
- visier_platform_sdk/models/vee_status_dto.py +88 -0
- visier_platform_sdk/models/vee_visual_dto.py +92 -0
- visier_platform_sdk/models/vee_visual_options_dto.py +90 -0
- visier_platform_sdk/models/version_information_dto.py +102 -0
- visier_platform_sdk/models/webhook_basic_auth_credential_dto.py +90 -0
- visier_platform_sdk/models/webhook_credentials_dto.py +94 -0
- visier_platform_sdk/models/webhook_details_dto.py +104 -0
- visier_platform_sdk/models/webhook_dto.py +96 -0
- visier_platform_sdk/models/webhook_event_type_dto.py +88 -0
- visier_platform_sdk/models/webhook_message_response_dto.py +94 -0
- visier_platform_sdk/models/webhook_request_dto.py +98 -0
- visier_platform_sdk/models/webhooks_dto.py +96 -0
- visier_platform_sdk/models/willow_auth_params_dto.py +90 -0
- visier_platform_sdk/models/workday_auth_params_dto.py +118 -0
- visier_platform_sdk/models/workday_o_auth_params_dto.py +92 -0
- visier_platform_sdk/models/workday_raas_auth_params_dto.py +96 -0
- visier_platform_sdk/models/workday_refresh_token_params_dto.py +92 -0
- visier_platform_sdk/models/zoom_auth_params_dto.py +92 -0
- visier_platform_sdk/py.typed +0 -0
- visier_platform_sdk/rest.py +259 -0
- visier_platform_sdk-22222222.99200.21494.dist-info/METADATA +28 -0
- visier_platform_sdk-22222222.99200.21494.dist-info/RECORD +692 -0
- visier_platform_sdk-22222222.99200.21494.dist-info/WHEEL +5 -0
- visier_platform_sdk-22222222.99200.21494.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,2128 @@
|
|
|
1
|
+
# coding: utf-8
|
|
2
|
+
|
|
3
|
+
"""
|
|
4
|
+
API Reference
|
|
5
|
+
|
|
6
|
+
Detailed API reference documentation for Visier APIs. Includes all endpoints, headers, path parameters, query parameters, request body schema, response schema, JSON request samples, and JSON response samples.
|
|
7
|
+
|
|
8
|
+
The version of the OpenAPI document: 22222222.99200.21494
|
|
9
|
+
Contact: alpine@visier.com
|
|
10
|
+
Generated by OpenAPI Generator (https://openapi-generator.tech)
|
|
11
|
+
|
|
12
|
+
Do not edit the class manually.
|
|
13
|
+
""" # noqa: E501
|
|
14
|
+
|
|
15
|
+
import warnings
|
|
16
|
+
from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
|
|
17
|
+
from typing import Any, Dict, List, Optional, Tuple, Union
|
|
18
|
+
from typing_extensions import Annotated
|
|
19
|
+
|
|
20
|
+
from pydantic import Field, StrictInt, StrictStr
|
|
21
|
+
from typing import List, Optional
|
|
22
|
+
from typing_extensions import Annotated
|
|
23
|
+
from visier_platform_sdk.models.get_projects_api_response_dto import GetProjectsAPIResponseDTO
|
|
24
|
+
from visier_platform_sdk.models.project_commits_api_response_dto import ProjectCommitsAPIResponseDTO
|
|
25
|
+
from visier_platform_sdk.models.project_dto import ProjectDTO
|
|
26
|
+
from visier_platform_sdk.models.project_operation_request_dto import ProjectOperationRequestDTO
|
|
27
|
+
from visier_platform_sdk.models.project_operation_response_dto import ProjectOperationResponseDTO
|
|
28
|
+
from visier_platform_sdk.models.put_project_commits_request import PutProjectCommitsRequest
|
|
29
|
+
|
|
30
|
+
from visier_platform_sdk.api_client import ApiClient, RequestSerialized
|
|
31
|
+
from visier_platform_sdk.api_response import ApiResponse
|
|
32
|
+
from visier_platform_sdk.rest import RESTResponseType
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class ProjectsApi:
|
|
36
|
+
"""NOTE: This class is auto generated by OpenAPI Generator
|
|
37
|
+
Ref: https://openapi-generator.tech
|
|
38
|
+
|
|
39
|
+
Do not edit the class manually.
|
|
40
|
+
"""
|
|
41
|
+
|
|
42
|
+
def __init__(self, api_client=None) -> None:
|
|
43
|
+
if api_client is None:
|
|
44
|
+
api_client = ApiClient.get_default()
|
|
45
|
+
self.api_client = api_client
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
@validate_call
|
|
49
|
+
def create_project(
|
|
50
|
+
self,
|
|
51
|
+
project_dto: ProjectDTO,
|
|
52
|
+
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,
|
|
53
|
+
_request_timeout: Union[
|
|
54
|
+
None,
|
|
55
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
56
|
+
Tuple[
|
|
57
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
58
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
59
|
+
]
|
|
60
|
+
] = None,
|
|
61
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
62
|
+
_content_type: Optional[StrictStr] = None,
|
|
63
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
64
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
65
|
+
) -> ProjectDTO:
|
|
66
|
+
"""Create a new draft project
|
|
67
|
+
|
|
68
|
+
Create a new draft project in the tenant.
|
|
69
|
+
|
|
70
|
+
:param project_dto: (required)
|
|
71
|
+
:type project_dto: ProjectDTO
|
|
72
|
+
: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.
|
|
73
|
+
:type target_tenant_id: str
|
|
74
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
75
|
+
number provided, it will be total request
|
|
76
|
+
timeout. It can also be a pair (tuple) of
|
|
77
|
+
(connection, read) timeouts.
|
|
78
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
79
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
80
|
+
request; this effectively ignores the
|
|
81
|
+
authentication in the spec for a single request.
|
|
82
|
+
:type _request_auth: dict, optional
|
|
83
|
+
:param _content_type: force content-type for the request.
|
|
84
|
+
:type _content_type: str, Optional
|
|
85
|
+
:param _headers: set to override the headers for a single
|
|
86
|
+
request; this effectively ignores the headers
|
|
87
|
+
in the spec for a single request.
|
|
88
|
+
:type _headers: dict, optional
|
|
89
|
+
:param _host_index: set to override the host_index for a single
|
|
90
|
+
request; this effectively ignores the host_index
|
|
91
|
+
in the spec for a single request.
|
|
92
|
+
:type _host_index: int, optional
|
|
93
|
+
:return: Returns the result object.
|
|
94
|
+
""" # noqa: E501
|
|
95
|
+
|
|
96
|
+
_param = self._create_project_serialize(
|
|
97
|
+
project_dto=project_dto,
|
|
98
|
+
target_tenant_id=target_tenant_id,
|
|
99
|
+
_request_auth=_request_auth,
|
|
100
|
+
_content_type=_content_type,
|
|
101
|
+
_headers=_headers,
|
|
102
|
+
_host_index=_host_index
|
|
103
|
+
)
|
|
104
|
+
|
|
105
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
106
|
+
'200': "ProjectDTO",
|
|
107
|
+
}
|
|
108
|
+
response_data = self.api_client.call_api(
|
|
109
|
+
*_param,
|
|
110
|
+
_request_timeout=_request_timeout
|
|
111
|
+
)
|
|
112
|
+
response_data.read()
|
|
113
|
+
return self.api_client.response_deserialize(
|
|
114
|
+
response_data=response_data,
|
|
115
|
+
response_types_map=_response_types_map,
|
|
116
|
+
).data
|
|
117
|
+
|
|
118
|
+
|
|
119
|
+
@validate_call
|
|
120
|
+
def create_project_with_http_info(
|
|
121
|
+
self,
|
|
122
|
+
project_dto: ProjectDTO,
|
|
123
|
+
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,
|
|
124
|
+
_request_timeout: Union[
|
|
125
|
+
None,
|
|
126
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
127
|
+
Tuple[
|
|
128
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
129
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
130
|
+
]
|
|
131
|
+
] = None,
|
|
132
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
133
|
+
_content_type: Optional[StrictStr] = None,
|
|
134
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
135
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
136
|
+
) -> ApiResponse[ProjectDTO]:
|
|
137
|
+
"""Create a new draft project
|
|
138
|
+
|
|
139
|
+
Create a new draft project in the tenant.
|
|
140
|
+
|
|
141
|
+
:param project_dto: (required)
|
|
142
|
+
:type project_dto: ProjectDTO
|
|
143
|
+
: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.
|
|
144
|
+
:type target_tenant_id: str
|
|
145
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
146
|
+
number provided, it will be total request
|
|
147
|
+
timeout. It can also be a pair (tuple) of
|
|
148
|
+
(connection, read) timeouts.
|
|
149
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
150
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
151
|
+
request; this effectively ignores the
|
|
152
|
+
authentication in the spec for a single request.
|
|
153
|
+
:type _request_auth: dict, optional
|
|
154
|
+
:param _content_type: force content-type for the request.
|
|
155
|
+
:type _content_type: str, Optional
|
|
156
|
+
:param _headers: set to override the headers for a single
|
|
157
|
+
request; this effectively ignores the headers
|
|
158
|
+
in the spec for a single request.
|
|
159
|
+
:type _headers: dict, optional
|
|
160
|
+
:param _host_index: set to override the host_index for a single
|
|
161
|
+
request; this effectively ignores the host_index
|
|
162
|
+
in the spec for a single request.
|
|
163
|
+
:type _host_index: int, optional
|
|
164
|
+
:return: Returns the result object.
|
|
165
|
+
""" # noqa: E501
|
|
166
|
+
|
|
167
|
+
_param = self._create_project_serialize(
|
|
168
|
+
project_dto=project_dto,
|
|
169
|
+
target_tenant_id=target_tenant_id,
|
|
170
|
+
_request_auth=_request_auth,
|
|
171
|
+
_content_type=_content_type,
|
|
172
|
+
_headers=_headers,
|
|
173
|
+
_host_index=_host_index
|
|
174
|
+
)
|
|
175
|
+
|
|
176
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
177
|
+
'200': "ProjectDTO",
|
|
178
|
+
}
|
|
179
|
+
response_data = self.api_client.call_api(
|
|
180
|
+
*_param,
|
|
181
|
+
_request_timeout=_request_timeout
|
|
182
|
+
)
|
|
183
|
+
response_data.read()
|
|
184
|
+
return self.api_client.response_deserialize(
|
|
185
|
+
response_data=response_data,
|
|
186
|
+
response_types_map=_response_types_map,
|
|
187
|
+
)
|
|
188
|
+
|
|
189
|
+
|
|
190
|
+
@validate_call
|
|
191
|
+
def create_project_without_preload_content(
|
|
192
|
+
self,
|
|
193
|
+
project_dto: ProjectDTO,
|
|
194
|
+
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,
|
|
195
|
+
_request_timeout: Union[
|
|
196
|
+
None,
|
|
197
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
198
|
+
Tuple[
|
|
199
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
200
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
201
|
+
]
|
|
202
|
+
] = None,
|
|
203
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
204
|
+
_content_type: Optional[StrictStr] = None,
|
|
205
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
206
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
207
|
+
) -> RESTResponseType:
|
|
208
|
+
"""Create a new draft project
|
|
209
|
+
|
|
210
|
+
Create a new draft project in the tenant.
|
|
211
|
+
|
|
212
|
+
:param project_dto: (required)
|
|
213
|
+
:type project_dto: ProjectDTO
|
|
214
|
+
: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.
|
|
215
|
+
:type target_tenant_id: str
|
|
216
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
217
|
+
number provided, it will be total request
|
|
218
|
+
timeout. It can also be a pair (tuple) of
|
|
219
|
+
(connection, read) timeouts.
|
|
220
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
221
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
222
|
+
request; this effectively ignores the
|
|
223
|
+
authentication in the spec for a single request.
|
|
224
|
+
:type _request_auth: dict, optional
|
|
225
|
+
:param _content_type: force content-type for the request.
|
|
226
|
+
:type _content_type: str, Optional
|
|
227
|
+
:param _headers: set to override the headers for a single
|
|
228
|
+
request; this effectively ignores the headers
|
|
229
|
+
in the spec for a single request.
|
|
230
|
+
:type _headers: dict, optional
|
|
231
|
+
:param _host_index: set to override the host_index for a single
|
|
232
|
+
request; this effectively ignores the host_index
|
|
233
|
+
in the spec for a single request.
|
|
234
|
+
:type _host_index: int, optional
|
|
235
|
+
:return: Returns the result object.
|
|
236
|
+
""" # noqa: E501
|
|
237
|
+
|
|
238
|
+
_param = self._create_project_serialize(
|
|
239
|
+
project_dto=project_dto,
|
|
240
|
+
target_tenant_id=target_tenant_id,
|
|
241
|
+
_request_auth=_request_auth,
|
|
242
|
+
_content_type=_content_type,
|
|
243
|
+
_headers=_headers,
|
|
244
|
+
_host_index=_host_index
|
|
245
|
+
)
|
|
246
|
+
|
|
247
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
248
|
+
'200': "ProjectDTO",
|
|
249
|
+
}
|
|
250
|
+
response_data = self.api_client.call_api(
|
|
251
|
+
*_param,
|
|
252
|
+
_request_timeout=_request_timeout
|
|
253
|
+
)
|
|
254
|
+
return response_data.response
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
def _create_project_serialize(
|
|
258
|
+
self,
|
|
259
|
+
project_dto,
|
|
260
|
+
target_tenant_id,
|
|
261
|
+
_request_auth,
|
|
262
|
+
_content_type,
|
|
263
|
+
_headers,
|
|
264
|
+
_host_index,
|
|
265
|
+
) -> RequestSerialized:
|
|
266
|
+
|
|
267
|
+
_host = None
|
|
268
|
+
|
|
269
|
+
_collection_formats: Dict[str, str] = {
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
_path_params: Dict[str, str] = {}
|
|
273
|
+
_query_params: List[Tuple[str, str]] = []
|
|
274
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
275
|
+
_form_params: List[Tuple[str, str]] = []
|
|
276
|
+
_files: Dict[
|
|
277
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
278
|
+
] = {}
|
|
279
|
+
_body_params: Optional[bytes] = None
|
|
280
|
+
|
|
281
|
+
# process the path parameters
|
|
282
|
+
# process the query parameters
|
|
283
|
+
# process the header parameters
|
|
284
|
+
if target_tenant_id is not None:
|
|
285
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
286
|
+
# process the form parameters
|
|
287
|
+
# process the body parameter
|
|
288
|
+
if project_dto is not None:
|
|
289
|
+
_body_params = project_dto
|
|
290
|
+
|
|
291
|
+
|
|
292
|
+
# set the HTTP header `Accept`
|
|
293
|
+
if 'Accept' not in _header_params:
|
|
294
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
295
|
+
[
|
|
296
|
+
'application/json'
|
|
297
|
+
]
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
# set the HTTP header `Content-Type`
|
|
301
|
+
if _content_type:
|
|
302
|
+
_header_params['Content-Type'] = _content_type
|
|
303
|
+
else:
|
|
304
|
+
_default_content_type = (
|
|
305
|
+
self.api_client.select_header_content_type(
|
|
306
|
+
[
|
|
307
|
+
'application/json'
|
|
308
|
+
]
|
|
309
|
+
)
|
|
310
|
+
)
|
|
311
|
+
if _default_content_type is not None:
|
|
312
|
+
_header_params['Content-Type'] = _default_content_type
|
|
313
|
+
|
|
314
|
+
# authentication setting
|
|
315
|
+
_auth_settings: List[str] = [
|
|
316
|
+
'CookieAuth',
|
|
317
|
+
'ApiKeyAuth',
|
|
318
|
+
'OAuth2Auth',
|
|
319
|
+
'OAuth2Auth',
|
|
320
|
+
'BearerAuth'
|
|
321
|
+
]
|
|
322
|
+
|
|
323
|
+
return self.api_client.param_serialize(
|
|
324
|
+
method='POST',
|
|
325
|
+
resource_path='/v1/admin/projects',
|
|
326
|
+
path_params=_path_params,
|
|
327
|
+
query_params=_query_params,
|
|
328
|
+
header_params=_header_params,
|
|
329
|
+
body=_body_params,
|
|
330
|
+
post_params=_form_params,
|
|
331
|
+
files=_files,
|
|
332
|
+
auth_settings=_auth_settings,
|
|
333
|
+
collection_formats=_collection_formats,
|
|
334
|
+
_host=_host,
|
|
335
|
+
_request_auth=_request_auth
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
@validate_call
|
|
342
|
+
def delete_project(
|
|
343
|
+
self,
|
|
344
|
+
project_id: Annotated[StrictStr, Field(description="The unique ID of the draft project to be deleted.")],
|
|
345
|
+
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,
|
|
346
|
+
_request_timeout: Union[
|
|
347
|
+
None,
|
|
348
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
349
|
+
Tuple[
|
|
350
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
351
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
352
|
+
]
|
|
353
|
+
] = None,
|
|
354
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
355
|
+
_content_type: Optional[StrictStr] = None,
|
|
356
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
357
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
358
|
+
) -> ProjectDTO:
|
|
359
|
+
"""Delete a draft project
|
|
360
|
+
|
|
361
|
+
Delete a draft project in the tenant. The project will first be archived if applicable.
|
|
362
|
+
|
|
363
|
+
:param project_id: The unique ID of the draft project to be deleted. (required)
|
|
364
|
+
:type project_id: str
|
|
365
|
+
: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.
|
|
366
|
+
:type target_tenant_id: str
|
|
367
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
368
|
+
number provided, it will be total request
|
|
369
|
+
timeout. It can also be a pair (tuple) of
|
|
370
|
+
(connection, read) timeouts.
|
|
371
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
372
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
373
|
+
request; this effectively ignores the
|
|
374
|
+
authentication in the spec for a single request.
|
|
375
|
+
:type _request_auth: dict, optional
|
|
376
|
+
:param _content_type: force content-type for the request.
|
|
377
|
+
:type _content_type: str, Optional
|
|
378
|
+
:param _headers: set to override the headers for a single
|
|
379
|
+
request; this effectively ignores the headers
|
|
380
|
+
in the spec for a single request.
|
|
381
|
+
:type _headers: dict, optional
|
|
382
|
+
:param _host_index: set to override the host_index for a single
|
|
383
|
+
request; this effectively ignores the host_index
|
|
384
|
+
in the spec for a single request.
|
|
385
|
+
:type _host_index: int, optional
|
|
386
|
+
:return: Returns the result object.
|
|
387
|
+
""" # noqa: E501
|
|
388
|
+
|
|
389
|
+
_param = self._delete_project_serialize(
|
|
390
|
+
project_id=project_id,
|
|
391
|
+
target_tenant_id=target_tenant_id,
|
|
392
|
+
_request_auth=_request_auth,
|
|
393
|
+
_content_type=_content_type,
|
|
394
|
+
_headers=_headers,
|
|
395
|
+
_host_index=_host_index
|
|
396
|
+
)
|
|
397
|
+
|
|
398
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
399
|
+
'200': "ProjectDTO",
|
|
400
|
+
}
|
|
401
|
+
response_data = self.api_client.call_api(
|
|
402
|
+
*_param,
|
|
403
|
+
_request_timeout=_request_timeout
|
|
404
|
+
)
|
|
405
|
+
response_data.read()
|
|
406
|
+
return self.api_client.response_deserialize(
|
|
407
|
+
response_data=response_data,
|
|
408
|
+
response_types_map=_response_types_map,
|
|
409
|
+
).data
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
@validate_call
|
|
413
|
+
def delete_project_with_http_info(
|
|
414
|
+
self,
|
|
415
|
+
project_id: Annotated[StrictStr, Field(description="The unique ID of the draft project to be deleted.")],
|
|
416
|
+
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,
|
|
417
|
+
_request_timeout: Union[
|
|
418
|
+
None,
|
|
419
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
420
|
+
Tuple[
|
|
421
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
422
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
423
|
+
]
|
|
424
|
+
] = None,
|
|
425
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
426
|
+
_content_type: Optional[StrictStr] = None,
|
|
427
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
428
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
429
|
+
) -> ApiResponse[ProjectDTO]:
|
|
430
|
+
"""Delete a draft project
|
|
431
|
+
|
|
432
|
+
Delete a draft project in the tenant. The project will first be archived if applicable.
|
|
433
|
+
|
|
434
|
+
:param project_id: The unique ID of the draft project to be deleted. (required)
|
|
435
|
+
:type project_id: str
|
|
436
|
+
: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.
|
|
437
|
+
:type target_tenant_id: str
|
|
438
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
439
|
+
number provided, it will be total request
|
|
440
|
+
timeout. It can also be a pair (tuple) of
|
|
441
|
+
(connection, read) timeouts.
|
|
442
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
443
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
444
|
+
request; this effectively ignores the
|
|
445
|
+
authentication in the spec for a single request.
|
|
446
|
+
:type _request_auth: dict, optional
|
|
447
|
+
:param _content_type: force content-type for the request.
|
|
448
|
+
:type _content_type: str, Optional
|
|
449
|
+
:param _headers: set to override the headers for a single
|
|
450
|
+
request; this effectively ignores the headers
|
|
451
|
+
in the spec for a single request.
|
|
452
|
+
:type _headers: dict, optional
|
|
453
|
+
:param _host_index: set to override the host_index for a single
|
|
454
|
+
request; this effectively ignores the host_index
|
|
455
|
+
in the spec for a single request.
|
|
456
|
+
:type _host_index: int, optional
|
|
457
|
+
:return: Returns the result object.
|
|
458
|
+
""" # noqa: E501
|
|
459
|
+
|
|
460
|
+
_param = self._delete_project_serialize(
|
|
461
|
+
project_id=project_id,
|
|
462
|
+
target_tenant_id=target_tenant_id,
|
|
463
|
+
_request_auth=_request_auth,
|
|
464
|
+
_content_type=_content_type,
|
|
465
|
+
_headers=_headers,
|
|
466
|
+
_host_index=_host_index
|
|
467
|
+
)
|
|
468
|
+
|
|
469
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
470
|
+
'200': "ProjectDTO",
|
|
471
|
+
}
|
|
472
|
+
response_data = self.api_client.call_api(
|
|
473
|
+
*_param,
|
|
474
|
+
_request_timeout=_request_timeout
|
|
475
|
+
)
|
|
476
|
+
response_data.read()
|
|
477
|
+
return self.api_client.response_deserialize(
|
|
478
|
+
response_data=response_data,
|
|
479
|
+
response_types_map=_response_types_map,
|
|
480
|
+
)
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
@validate_call
|
|
484
|
+
def delete_project_without_preload_content(
|
|
485
|
+
self,
|
|
486
|
+
project_id: Annotated[StrictStr, Field(description="The unique ID of the draft project to be deleted.")],
|
|
487
|
+
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,
|
|
488
|
+
_request_timeout: Union[
|
|
489
|
+
None,
|
|
490
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
491
|
+
Tuple[
|
|
492
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
493
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
494
|
+
]
|
|
495
|
+
] = None,
|
|
496
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
497
|
+
_content_type: Optional[StrictStr] = None,
|
|
498
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
499
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
500
|
+
) -> RESTResponseType:
|
|
501
|
+
"""Delete a draft project
|
|
502
|
+
|
|
503
|
+
Delete a draft project in the tenant. The project will first be archived if applicable.
|
|
504
|
+
|
|
505
|
+
:param project_id: The unique ID of the draft project to be deleted. (required)
|
|
506
|
+
:type project_id: str
|
|
507
|
+
: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.
|
|
508
|
+
:type target_tenant_id: str
|
|
509
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
510
|
+
number provided, it will be total request
|
|
511
|
+
timeout. It can also be a pair (tuple) of
|
|
512
|
+
(connection, read) timeouts.
|
|
513
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
514
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
515
|
+
request; this effectively ignores the
|
|
516
|
+
authentication in the spec for a single request.
|
|
517
|
+
:type _request_auth: dict, optional
|
|
518
|
+
:param _content_type: force content-type for the request.
|
|
519
|
+
:type _content_type: str, Optional
|
|
520
|
+
:param _headers: set to override the headers for a single
|
|
521
|
+
request; this effectively ignores the headers
|
|
522
|
+
in the spec for a single request.
|
|
523
|
+
:type _headers: dict, optional
|
|
524
|
+
:param _host_index: set to override the host_index for a single
|
|
525
|
+
request; this effectively ignores the host_index
|
|
526
|
+
in the spec for a single request.
|
|
527
|
+
:type _host_index: int, optional
|
|
528
|
+
:return: Returns the result object.
|
|
529
|
+
""" # noqa: E501
|
|
530
|
+
|
|
531
|
+
_param = self._delete_project_serialize(
|
|
532
|
+
project_id=project_id,
|
|
533
|
+
target_tenant_id=target_tenant_id,
|
|
534
|
+
_request_auth=_request_auth,
|
|
535
|
+
_content_type=_content_type,
|
|
536
|
+
_headers=_headers,
|
|
537
|
+
_host_index=_host_index
|
|
538
|
+
)
|
|
539
|
+
|
|
540
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
541
|
+
'200': "ProjectDTO",
|
|
542
|
+
}
|
|
543
|
+
response_data = self.api_client.call_api(
|
|
544
|
+
*_param,
|
|
545
|
+
_request_timeout=_request_timeout
|
|
546
|
+
)
|
|
547
|
+
return response_data.response
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
def _delete_project_serialize(
|
|
551
|
+
self,
|
|
552
|
+
project_id,
|
|
553
|
+
target_tenant_id,
|
|
554
|
+
_request_auth,
|
|
555
|
+
_content_type,
|
|
556
|
+
_headers,
|
|
557
|
+
_host_index,
|
|
558
|
+
) -> RequestSerialized:
|
|
559
|
+
|
|
560
|
+
_host = None
|
|
561
|
+
|
|
562
|
+
_collection_formats: Dict[str, str] = {
|
|
563
|
+
}
|
|
564
|
+
|
|
565
|
+
_path_params: Dict[str, str] = {}
|
|
566
|
+
_query_params: List[Tuple[str, str]] = []
|
|
567
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
568
|
+
_form_params: List[Tuple[str, str]] = []
|
|
569
|
+
_files: Dict[
|
|
570
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
571
|
+
] = {}
|
|
572
|
+
_body_params: Optional[bytes] = None
|
|
573
|
+
|
|
574
|
+
# process the path parameters
|
|
575
|
+
if project_id is not None:
|
|
576
|
+
_path_params['projectId'] = project_id
|
|
577
|
+
# process the query parameters
|
|
578
|
+
# process the header parameters
|
|
579
|
+
if target_tenant_id is not None:
|
|
580
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
581
|
+
# process the form parameters
|
|
582
|
+
# process the body parameter
|
|
583
|
+
|
|
584
|
+
|
|
585
|
+
# set the HTTP header `Accept`
|
|
586
|
+
if 'Accept' not in _header_params:
|
|
587
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
588
|
+
[
|
|
589
|
+
'application/json'
|
|
590
|
+
]
|
|
591
|
+
)
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
# authentication setting
|
|
595
|
+
_auth_settings: List[str] = [
|
|
596
|
+
'CookieAuth',
|
|
597
|
+
'ApiKeyAuth',
|
|
598
|
+
'OAuth2Auth',
|
|
599
|
+
'OAuth2Auth',
|
|
600
|
+
'BearerAuth'
|
|
601
|
+
]
|
|
602
|
+
|
|
603
|
+
return self.api_client.param_serialize(
|
|
604
|
+
method='DELETE',
|
|
605
|
+
resource_path='/v1/admin/projects/{projectId}',
|
|
606
|
+
path_params=_path_params,
|
|
607
|
+
query_params=_query_params,
|
|
608
|
+
header_params=_header_params,
|
|
609
|
+
body=_body_params,
|
|
610
|
+
post_params=_form_params,
|
|
611
|
+
files=_files,
|
|
612
|
+
auth_settings=_auth_settings,
|
|
613
|
+
collection_formats=_collection_formats,
|
|
614
|
+
_host=_host,
|
|
615
|
+
_request_auth=_request_auth
|
|
616
|
+
)
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
|
|
621
|
+
@validate_call
|
|
622
|
+
def get_project(
|
|
623
|
+
self,
|
|
624
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to retrieve.")],
|
|
625
|
+
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,
|
|
626
|
+
_request_timeout: Union[
|
|
627
|
+
None,
|
|
628
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
629
|
+
Tuple[
|
|
630
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
631
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
632
|
+
]
|
|
633
|
+
] = None,
|
|
634
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
635
|
+
_content_type: Optional[StrictStr] = None,
|
|
636
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
637
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
638
|
+
) -> ProjectDTO:
|
|
639
|
+
"""Retrieve a draft project's information
|
|
640
|
+
|
|
641
|
+
Retrieve the details of an accessible draft project. You must know the ID of the project to retrieve its details. To retrieve draft project IDs, see `GET /v1/admin/projects`. A project is accessible if it is owned by the user or shared to the user.
|
|
642
|
+
|
|
643
|
+
:param project_id: The unique identifier of the draft project you want to retrieve. (required)
|
|
644
|
+
:type project_id: str
|
|
645
|
+
: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.
|
|
646
|
+
:type target_tenant_id: str
|
|
647
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
648
|
+
number provided, it will be total request
|
|
649
|
+
timeout. It can also be a pair (tuple) of
|
|
650
|
+
(connection, read) timeouts.
|
|
651
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
652
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
653
|
+
request; this effectively ignores the
|
|
654
|
+
authentication in the spec for a single request.
|
|
655
|
+
:type _request_auth: dict, optional
|
|
656
|
+
:param _content_type: force content-type for the request.
|
|
657
|
+
:type _content_type: str, Optional
|
|
658
|
+
:param _headers: set to override the headers for a single
|
|
659
|
+
request; this effectively ignores the headers
|
|
660
|
+
in the spec for a single request.
|
|
661
|
+
:type _headers: dict, optional
|
|
662
|
+
:param _host_index: set to override the host_index for a single
|
|
663
|
+
request; this effectively ignores the host_index
|
|
664
|
+
in the spec for a single request.
|
|
665
|
+
:type _host_index: int, optional
|
|
666
|
+
:return: Returns the result object.
|
|
667
|
+
""" # noqa: E501
|
|
668
|
+
|
|
669
|
+
_param = self._get_project_serialize(
|
|
670
|
+
project_id=project_id,
|
|
671
|
+
target_tenant_id=target_tenant_id,
|
|
672
|
+
_request_auth=_request_auth,
|
|
673
|
+
_content_type=_content_type,
|
|
674
|
+
_headers=_headers,
|
|
675
|
+
_host_index=_host_index
|
|
676
|
+
)
|
|
677
|
+
|
|
678
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
679
|
+
'200': "ProjectDTO",
|
|
680
|
+
}
|
|
681
|
+
response_data = self.api_client.call_api(
|
|
682
|
+
*_param,
|
|
683
|
+
_request_timeout=_request_timeout
|
|
684
|
+
)
|
|
685
|
+
response_data.read()
|
|
686
|
+
return self.api_client.response_deserialize(
|
|
687
|
+
response_data=response_data,
|
|
688
|
+
response_types_map=_response_types_map,
|
|
689
|
+
).data
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
@validate_call
|
|
693
|
+
def get_project_with_http_info(
|
|
694
|
+
self,
|
|
695
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to retrieve.")],
|
|
696
|
+
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,
|
|
697
|
+
_request_timeout: Union[
|
|
698
|
+
None,
|
|
699
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
700
|
+
Tuple[
|
|
701
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
702
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
703
|
+
]
|
|
704
|
+
] = None,
|
|
705
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
706
|
+
_content_type: Optional[StrictStr] = None,
|
|
707
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
708
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
709
|
+
) -> ApiResponse[ProjectDTO]:
|
|
710
|
+
"""Retrieve a draft project's information
|
|
711
|
+
|
|
712
|
+
Retrieve the details of an accessible draft project. You must know the ID of the project to retrieve its details. To retrieve draft project IDs, see `GET /v1/admin/projects`. A project is accessible if it is owned by the user or shared to the user.
|
|
713
|
+
|
|
714
|
+
:param project_id: The unique identifier of the draft project you want to retrieve. (required)
|
|
715
|
+
:type project_id: str
|
|
716
|
+
: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.
|
|
717
|
+
:type target_tenant_id: str
|
|
718
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
719
|
+
number provided, it will be total request
|
|
720
|
+
timeout. It can also be a pair (tuple) of
|
|
721
|
+
(connection, read) timeouts.
|
|
722
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
723
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
724
|
+
request; this effectively ignores the
|
|
725
|
+
authentication in the spec for a single request.
|
|
726
|
+
:type _request_auth: dict, optional
|
|
727
|
+
:param _content_type: force content-type for the request.
|
|
728
|
+
:type _content_type: str, Optional
|
|
729
|
+
:param _headers: set to override the headers for a single
|
|
730
|
+
request; this effectively ignores the headers
|
|
731
|
+
in the spec for a single request.
|
|
732
|
+
:type _headers: dict, optional
|
|
733
|
+
:param _host_index: set to override the host_index for a single
|
|
734
|
+
request; this effectively ignores the host_index
|
|
735
|
+
in the spec for a single request.
|
|
736
|
+
:type _host_index: int, optional
|
|
737
|
+
:return: Returns the result object.
|
|
738
|
+
""" # noqa: E501
|
|
739
|
+
|
|
740
|
+
_param = self._get_project_serialize(
|
|
741
|
+
project_id=project_id,
|
|
742
|
+
target_tenant_id=target_tenant_id,
|
|
743
|
+
_request_auth=_request_auth,
|
|
744
|
+
_content_type=_content_type,
|
|
745
|
+
_headers=_headers,
|
|
746
|
+
_host_index=_host_index
|
|
747
|
+
)
|
|
748
|
+
|
|
749
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
750
|
+
'200': "ProjectDTO",
|
|
751
|
+
}
|
|
752
|
+
response_data = self.api_client.call_api(
|
|
753
|
+
*_param,
|
|
754
|
+
_request_timeout=_request_timeout
|
|
755
|
+
)
|
|
756
|
+
response_data.read()
|
|
757
|
+
return self.api_client.response_deserialize(
|
|
758
|
+
response_data=response_data,
|
|
759
|
+
response_types_map=_response_types_map,
|
|
760
|
+
)
|
|
761
|
+
|
|
762
|
+
|
|
763
|
+
@validate_call
|
|
764
|
+
def get_project_without_preload_content(
|
|
765
|
+
self,
|
|
766
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to retrieve.")],
|
|
767
|
+
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,
|
|
768
|
+
_request_timeout: Union[
|
|
769
|
+
None,
|
|
770
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
771
|
+
Tuple[
|
|
772
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
773
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
774
|
+
]
|
|
775
|
+
] = None,
|
|
776
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
777
|
+
_content_type: Optional[StrictStr] = None,
|
|
778
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
779
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
780
|
+
) -> RESTResponseType:
|
|
781
|
+
"""Retrieve a draft project's information
|
|
782
|
+
|
|
783
|
+
Retrieve the details of an accessible draft project. You must know the ID of the project to retrieve its details. To retrieve draft project IDs, see `GET /v1/admin/projects`. A project is accessible if it is owned by the user or shared to the user.
|
|
784
|
+
|
|
785
|
+
:param project_id: The unique identifier of the draft project you want to retrieve. (required)
|
|
786
|
+
:type project_id: str
|
|
787
|
+
: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.
|
|
788
|
+
:type target_tenant_id: str
|
|
789
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
790
|
+
number provided, it will be total request
|
|
791
|
+
timeout. It can also be a pair (tuple) of
|
|
792
|
+
(connection, read) timeouts.
|
|
793
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
794
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
795
|
+
request; this effectively ignores the
|
|
796
|
+
authentication in the spec for a single request.
|
|
797
|
+
:type _request_auth: dict, optional
|
|
798
|
+
:param _content_type: force content-type for the request.
|
|
799
|
+
:type _content_type: str, Optional
|
|
800
|
+
:param _headers: set to override the headers for a single
|
|
801
|
+
request; this effectively ignores the headers
|
|
802
|
+
in the spec for a single request.
|
|
803
|
+
:type _headers: dict, optional
|
|
804
|
+
:param _host_index: set to override the host_index for a single
|
|
805
|
+
request; this effectively ignores the host_index
|
|
806
|
+
in the spec for a single request.
|
|
807
|
+
:type _host_index: int, optional
|
|
808
|
+
:return: Returns the result object.
|
|
809
|
+
""" # noqa: E501
|
|
810
|
+
|
|
811
|
+
_param = self._get_project_serialize(
|
|
812
|
+
project_id=project_id,
|
|
813
|
+
target_tenant_id=target_tenant_id,
|
|
814
|
+
_request_auth=_request_auth,
|
|
815
|
+
_content_type=_content_type,
|
|
816
|
+
_headers=_headers,
|
|
817
|
+
_host_index=_host_index
|
|
818
|
+
)
|
|
819
|
+
|
|
820
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
821
|
+
'200': "ProjectDTO",
|
|
822
|
+
}
|
|
823
|
+
response_data = self.api_client.call_api(
|
|
824
|
+
*_param,
|
|
825
|
+
_request_timeout=_request_timeout
|
|
826
|
+
)
|
|
827
|
+
return response_data.response
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
def _get_project_serialize(
|
|
831
|
+
self,
|
|
832
|
+
project_id,
|
|
833
|
+
target_tenant_id,
|
|
834
|
+
_request_auth,
|
|
835
|
+
_content_type,
|
|
836
|
+
_headers,
|
|
837
|
+
_host_index,
|
|
838
|
+
) -> RequestSerialized:
|
|
839
|
+
|
|
840
|
+
_host = None
|
|
841
|
+
|
|
842
|
+
_collection_formats: Dict[str, str] = {
|
|
843
|
+
}
|
|
844
|
+
|
|
845
|
+
_path_params: Dict[str, str] = {}
|
|
846
|
+
_query_params: List[Tuple[str, str]] = []
|
|
847
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
848
|
+
_form_params: List[Tuple[str, str]] = []
|
|
849
|
+
_files: Dict[
|
|
850
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
851
|
+
] = {}
|
|
852
|
+
_body_params: Optional[bytes] = None
|
|
853
|
+
|
|
854
|
+
# process the path parameters
|
|
855
|
+
if project_id is not None:
|
|
856
|
+
_path_params['projectId'] = project_id
|
|
857
|
+
# process the query parameters
|
|
858
|
+
# process the header parameters
|
|
859
|
+
if target_tenant_id is not None:
|
|
860
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
861
|
+
# process the form parameters
|
|
862
|
+
# process the body parameter
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
# set the HTTP header `Accept`
|
|
866
|
+
if 'Accept' not in _header_params:
|
|
867
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
868
|
+
[
|
|
869
|
+
'application/json'
|
|
870
|
+
]
|
|
871
|
+
)
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
# authentication setting
|
|
875
|
+
_auth_settings: List[str] = [
|
|
876
|
+
'CookieAuth',
|
|
877
|
+
'ApiKeyAuth',
|
|
878
|
+
'OAuth2Auth',
|
|
879
|
+
'OAuth2Auth',
|
|
880
|
+
'BearerAuth'
|
|
881
|
+
]
|
|
882
|
+
|
|
883
|
+
return self.api_client.param_serialize(
|
|
884
|
+
method='GET',
|
|
885
|
+
resource_path='/v1/admin/projects/{projectId}',
|
|
886
|
+
path_params=_path_params,
|
|
887
|
+
query_params=_query_params,
|
|
888
|
+
header_params=_header_params,
|
|
889
|
+
body=_body_params,
|
|
890
|
+
post_params=_form_params,
|
|
891
|
+
files=_files,
|
|
892
|
+
auth_settings=_auth_settings,
|
|
893
|
+
collection_formats=_collection_formats,
|
|
894
|
+
_host=_host,
|
|
895
|
+
_request_auth=_request_auth
|
|
896
|
+
)
|
|
897
|
+
|
|
898
|
+
|
|
899
|
+
|
|
900
|
+
|
|
901
|
+
@validate_call
|
|
902
|
+
def get_project_commits(
|
|
903
|
+
self,
|
|
904
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to retrieve the committed changes for.")],
|
|
905
|
+
limit: Annotated[Optional[StrictInt], Field(description="The maximum number of committed changes to return. Default is 400.")] = None,
|
|
906
|
+
start: Annotated[Optional[StrictInt], Field(description="The starting index of the first committed change to return. Default is 0.")] = None,
|
|
907
|
+
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,
|
|
908
|
+
_request_timeout: Union[
|
|
909
|
+
None,
|
|
910
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
911
|
+
Tuple[
|
|
912
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
913
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
914
|
+
]
|
|
915
|
+
] = None,
|
|
916
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
917
|
+
_content_type: Optional[StrictStr] = None,
|
|
918
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
919
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
920
|
+
) -> ProjectCommitsAPIResponseDTO:
|
|
921
|
+
"""Retrieve a list of all committed changes in a project
|
|
922
|
+
|
|
923
|
+
Retrieve the full list of all committed changes in a project.
|
|
924
|
+
|
|
925
|
+
:param project_id: The unique identifier of the draft project you want to retrieve the committed changes for. (required)
|
|
926
|
+
:type project_id: str
|
|
927
|
+
:param limit: The maximum number of committed changes to return. Default is 400.
|
|
928
|
+
:type limit: int
|
|
929
|
+
:param start: The starting index of the first committed change to return. Default is 0.
|
|
930
|
+
:type start: int
|
|
931
|
+
: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.
|
|
932
|
+
:type target_tenant_id: str
|
|
933
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
934
|
+
number provided, it will be total request
|
|
935
|
+
timeout. It can also be a pair (tuple) of
|
|
936
|
+
(connection, read) timeouts.
|
|
937
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
938
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
939
|
+
request; this effectively ignores the
|
|
940
|
+
authentication in the spec for a single request.
|
|
941
|
+
:type _request_auth: dict, optional
|
|
942
|
+
:param _content_type: force content-type for the request.
|
|
943
|
+
:type _content_type: str, Optional
|
|
944
|
+
:param _headers: set to override the headers for a single
|
|
945
|
+
request; this effectively ignores the headers
|
|
946
|
+
in the spec for a single request.
|
|
947
|
+
:type _headers: dict, optional
|
|
948
|
+
:param _host_index: set to override the host_index for a single
|
|
949
|
+
request; this effectively ignores the host_index
|
|
950
|
+
in the spec for a single request.
|
|
951
|
+
:type _host_index: int, optional
|
|
952
|
+
:return: Returns the result object.
|
|
953
|
+
""" # noqa: E501
|
|
954
|
+
|
|
955
|
+
_param = self._get_project_commits_serialize(
|
|
956
|
+
project_id=project_id,
|
|
957
|
+
limit=limit,
|
|
958
|
+
start=start,
|
|
959
|
+
target_tenant_id=target_tenant_id,
|
|
960
|
+
_request_auth=_request_auth,
|
|
961
|
+
_content_type=_content_type,
|
|
962
|
+
_headers=_headers,
|
|
963
|
+
_host_index=_host_index
|
|
964
|
+
)
|
|
965
|
+
|
|
966
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
967
|
+
'200': "ProjectCommitsAPIResponseDTO",
|
|
968
|
+
}
|
|
969
|
+
response_data = self.api_client.call_api(
|
|
970
|
+
*_param,
|
|
971
|
+
_request_timeout=_request_timeout
|
|
972
|
+
)
|
|
973
|
+
response_data.read()
|
|
974
|
+
return self.api_client.response_deserialize(
|
|
975
|
+
response_data=response_data,
|
|
976
|
+
response_types_map=_response_types_map,
|
|
977
|
+
).data
|
|
978
|
+
|
|
979
|
+
|
|
980
|
+
@validate_call
|
|
981
|
+
def get_project_commits_with_http_info(
|
|
982
|
+
self,
|
|
983
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to retrieve the committed changes for.")],
|
|
984
|
+
limit: Annotated[Optional[StrictInt], Field(description="The maximum number of committed changes to return. Default is 400.")] = None,
|
|
985
|
+
start: Annotated[Optional[StrictInt], Field(description="The starting index of the first committed change to return. Default is 0.")] = None,
|
|
986
|
+
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,
|
|
987
|
+
_request_timeout: Union[
|
|
988
|
+
None,
|
|
989
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
990
|
+
Tuple[
|
|
991
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
992
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
993
|
+
]
|
|
994
|
+
] = None,
|
|
995
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
996
|
+
_content_type: Optional[StrictStr] = None,
|
|
997
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
998
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
999
|
+
) -> ApiResponse[ProjectCommitsAPIResponseDTO]:
|
|
1000
|
+
"""Retrieve a list of all committed changes in a project
|
|
1001
|
+
|
|
1002
|
+
Retrieve the full list of all committed changes in a project.
|
|
1003
|
+
|
|
1004
|
+
:param project_id: The unique identifier of the draft project you want to retrieve the committed changes for. (required)
|
|
1005
|
+
:type project_id: str
|
|
1006
|
+
:param limit: The maximum number of committed changes to return. Default is 400.
|
|
1007
|
+
:type limit: int
|
|
1008
|
+
:param start: The starting index of the first committed change to return. Default is 0.
|
|
1009
|
+
:type start: int
|
|
1010
|
+
: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.
|
|
1011
|
+
:type target_tenant_id: str
|
|
1012
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1013
|
+
number provided, it will be total request
|
|
1014
|
+
timeout. It can also be a pair (tuple) of
|
|
1015
|
+
(connection, read) timeouts.
|
|
1016
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1017
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1018
|
+
request; this effectively ignores the
|
|
1019
|
+
authentication in the spec for a single request.
|
|
1020
|
+
:type _request_auth: dict, optional
|
|
1021
|
+
:param _content_type: force content-type for the request.
|
|
1022
|
+
:type _content_type: str, Optional
|
|
1023
|
+
:param _headers: set to override the headers for a single
|
|
1024
|
+
request; this effectively ignores the headers
|
|
1025
|
+
in the spec for a single request.
|
|
1026
|
+
:type _headers: dict, optional
|
|
1027
|
+
:param _host_index: set to override the host_index for a single
|
|
1028
|
+
request; this effectively ignores the host_index
|
|
1029
|
+
in the spec for a single request.
|
|
1030
|
+
:type _host_index: int, optional
|
|
1031
|
+
:return: Returns the result object.
|
|
1032
|
+
""" # noqa: E501
|
|
1033
|
+
|
|
1034
|
+
_param = self._get_project_commits_serialize(
|
|
1035
|
+
project_id=project_id,
|
|
1036
|
+
limit=limit,
|
|
1037
|
+
start=start,
|
|
1038
|
+
target_tenant_id=target_tenant_id,
|
|
1039
|
+
_request_auth=_request_auth,
|
|
1040
|
+
_content_type=_content_type,
|
|
1041
|
+
_headers=_headers,
|
|
1042
|
+
_host_index=_host_index
|
|
1043
|
+
)
|
|
1044
|
+
|
|
1045
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1046
|
+
'200': "ProjectCommitsAPIResponseDTO",
|
|
1047
|
+
}
|
|
1048
|
+
response_data = self.api_client.call_api(
|
|
1049
|
+
*_param,
|
|
1050
|
+
_request_timeout=_request_timeout
|
|
1051
|
+
)
|
|
1052
|
+
response_data.read()
|
|
1053
|
+
return self.api_client.response_deserialize(
|
|
1054
|
+
response_data=response_data,
|
|
1055
|
+
response_types_map=_response_types_map,
|
|
1056
|
+
)
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
|
+
@validate_call
|
|
1060
|
+
def get_project_commits_without_preload_content(
|
|
1061
|
+
self,
|
|
1062
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to retrieve the committed changes for.")],
|
|
1063
|
+
limit: Annotated[Optional[StrictInt], Field(description="The maximum number of committed changes to return. Default is 400.")] = None,
|
|
1064
|
+
start: Annotated[Optional[StrictInt], Field(description="The starting index of the first committed change to return. Default is 0.")] = None,
|
|
1065
|
+
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,
|
|
1066
|
+
_request_timeout: Union[
|
|
1067
|
+
None,
|
|
1068
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1069
|
+
Tuple[
|
|
1070
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1071
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1072
|
+
]
|
|
1073
|
+
] = None,
|
|
1074
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1075
|
+
_content_type: Optional[StrictStr] = None,
|
|
1076
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1077
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1078
|
+
) -> RESTResponseType:
|
|
1079
|
+
"""Retrieve a list of all committed changes in a project
|
|
1080
|
+
|
|
1081
|
+
Retrieve the full list of all committed changes in a project.
|
|
1082
|
+
|
|
1083
|
+
:param project_id: The unique identifier of the draft project you want to retrieve the committed changes for. (required)
|
|
1084
|
+
:type project_id: str
|
|
1085
|
+
:param limit: The maximum number of committed changes to return. Default is 400.
|
|
1086
|
+
:type limit: int
|
|
1087
|
+
:param start: The starting index of the first committed change to return. Default is 0.
|
|
1088
|
+
:type start: int
|
|
1089
|
+
: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.
|
|
1090
|
+
:type target_tenant_id: str
|
|
1091
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1092
|
+
number provided, it will be total request
|
|
1093
|
+
timeout. It can also be a pair (tuple) of
|
|
1094
|
+
(connection, read) timeouts.
|
|
1095
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1096
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1097
|
+
request; this effectively ignores the
|
|
1098
|
+
authentication in the spec for a single request.
|
|
1099
|
+
:type _request_auth: dict, optional
|
|
1100
|
+
:param _content_type: force content-type for the request.
|
|
1101
|
+
:type _content_type: str, Optional
|
|
1102
|
+
:param _headers: set to override the headers for a single
|
|
1103
|
+
request; this effectively ignores the headers
|
|
1104
|
+
in the spec for a single request.
|
|
1105
|
+
:type _headers: dict, optional
|
|
1106
|
+
:param _host_index: set to override the host_index for a single
|
|
1107
|
+
request; this effectively ignores the host_index
|
|
1108
|
+
in the spec for a single request.
|
|
1109
|
+
:type _host_index: int, optional
|
|
1110
|
+
:return: Returns the result object.
|
|
1111
|
+
""" # noqa: E501
|
|
1112
|
+
|
|
1113
|
+
_param = self._get_project_commits_serialize(
|
|
1114
|
+
project_id=project_id,
|
|
1115
|
+
limit=limit,
|
|
1116
|
+
start=start,
|
|
1117
|
+
target_tenant_id=target_tenant_id,
|
|
1118
|
+
_request_auth=_request_auth,
|
|
1119
|
+
_content_type=_content_type,
|
|
1120
|
+
_headers=_headers,
|
|
1121
|
+
_host_index=_host_index
|
|
1122
|
+
)
|
|
1123
|
+
|
|
1124
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1125
|
+
'200': "ProjectCommitsAPIResponseDTO",
|
|
1126
|
+
}
|
|
1127
|
+
response_data = self.api_client.call_api(
|
|
1128
|
+
*_param,
|
|
1129
|
+
_request_timeout=_request_timeout
|
|
1130
|
+
)
|
|
1131
|
+
return response_data.response
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
def _get_project_commits_serialize(
|
|
1135
|
+
self,
|
|
1136
|
+
project_id,
|
|
1137
|
+
limit,
|
|
1138
|
+
start,
|
|
1139
|
+
target_tenant_id,
|
|
1140
|
+
_request_auth,
|
|
1141
|
+
_content_type,
|
|
1142
|
+
_headers,
|
|
1143
|
+
_host_index,
|
|
1144
|
+
) -> RequestSerialized:
|
|
1145
|
+
|
|
1146
|
+
_host = None
|
|
1147
|
+
|
|
1148
|
+
_collection_formats: Dict[str, str] = {
|
|
1149
|
+
}
|
|
1150
|
+
|
|
1151
|
+
_path_params: Dict[str, str] = {}
|
|
1152
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1153
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1154
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1155
|
+
_files: Dict[
|
|
1156
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1157
|
+
] = {}
|
|
1158
|
+
_body_params: Optional[bytes] = None
|
|
1159
|
+
|
|
1160
|
+
# process the path parameters
|
|
1161
|
+
if project_id is not None:
|
|
1162
|
+
_path_params['projectId'] = project_id
|
|
1163
|
+
# process the query parameters
|
|
1164
|
+
if limit is not None:
|
|
1165
|
+
|
|
1166
|
+
_query_params.append(('limit', limit))
|
|
1167
|
+
|
|
1168
|
+
if start is not None:
|
|
1169
|
+
|
|
1170
|
+
_query_params.append(('start', start))
|
|
1171
|
+
|
|
1172
|
+
# process the header parameters
|
|
1173
|
+
if target_tenant_id is not None:
|
|
1174
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1175
|
+
# process the form parameters
|
|
1176
|
+
# process the body parameter
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
# set the HTTP header `Accept`
|
|
1180
|
+
if 'Accept' not in _header_params:
|
|
1181
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1182
|
+
[
|
|
1183
|
+
'application/json'
|
|
1184
|
+
]
|
|
1185
|
+
)
|
|
1186
|
+
|
|
1187
|
+
|
|
1188
|
+
# authentication setting
|
|
1189
|
+
_auth_settings: List[str] = [
|
|
1190
|
+
'CookieAuth',
|
|
1191
|
+
'ApiKeyAuth',
|
|
1192
|
+
'OAuth2Auth',
|
|
1193
|
+
'OAuth2Auth',
|
|
1194
|
+
'BearerAuth'
|
|
1195
|
+
]
|
|
1196
|
+
|
|
1197
|
+
return self.api_client.param_serialize(
|
|
1198
|
+
method='GET',
|
|
1199
|
+
resource_path='/v1/admin/projects/{projectId}/commits',
|
|
1200
|
+
path_params=_path_params,
|
|
1201
|
+
query_params=_query_params,
|
|
1202
|
+
header_params=_header_params,
|
|
1203
|
+
body=_body_params,
|
|
1204
|
+
post_params=_form_params,
|
|
1205
|
+
files=_files,
|
|
1206
|
+
auth_settings=_auth_settings,
|
|
1207
|
+
collection_formats=_collection_formats,
|
|
1208
|
+
_host=_host,
|
|
1209
|
+
_request_auth=_request_auth
|
|
1210
|
+
)
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
@validate_call
|
|
1216
|
+
def get_projects(
|
|
1217
|
+
self,
|
|
1218
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The types of draft projects to include in the request response. * If empty, returns all the `Open` draft projects. * If `Open`, returns all Open draft projects. * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects. * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects. * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects.")] = None,
|
|
1219
|
+
limit: Annotated[Optional[StrictInt], Field(description="The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100.")] = None,
|
|
1220
|
+
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,
|
|
1221
|
+
_request_timeout: Union[
|
|
1222
|
+
None,
|
|
1223
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1224
|
+
Tuple[
|
|
1225
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1226
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1227
|
+
]
|
|
1228
|
+
] = None,
|
|
1229
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1230
|
+
_content_type: Optional[StrictStr] = None,
|
|
1231
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1232
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1233
|
+
) -> GetProjectsAPIResponseDTO:
|
|
1234
|
+
"""Retrieve a list of draft projects accessible to the user
|
|
1235
|
+
|
|
1236
|
+
Get a list of draft projects accessible to the requesting user in the tenant. A project is accessible if it is owned by the user or shared to the user.
|
|
1237
|
+
|
|
1238
|
+
:param var_with: The types of draft projects to include in the request response. * If empty, returns all the `Open` draft projects. * If `Open`, returns all Open draft projects. * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects. * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects. * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects.
|
|
1239
|
+
:type var_with: List[str]
|
|
1240
|
+
:param limit: The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100.
|
|
1241
|
+
:type limit: int
|
|
1242
|
+
: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.
|
|
1243
|
+
:type target_tenant_id: str
|
|
1244
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1245
|
+
number provided, it will be total request
|
|
1246
|
+
timeout. It can also be a pair (tuple) of
|
|
1247
|
+
(connection, read) timeouts.
|
|
1248
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1249
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1250
|
+
request; this effectively ignores the
|
|
1251
|
+
authentication in the spec for a single request.
|
|
1252
|
+
:type _request_auth: dict, optional
|
|
1253
|
+
:param _content_type: force content-type for the request.
|
|
1254
|
+
:type _content_type: str, Optional
|
|
1255
|
+
:param _headers: set to override the headers for a single
|
|
1256
|
+
request; this effectively ignores the headers
|
|
1257
|
+
in the spec for a single request.
|
|
1258
|
+
:type _headers: dict, optional
|
|
1259
|
+
:param _host_index: set to override the host_index for a single
|
|
1260
|
+
request; this effectively ignores the host_index
|
|
1261
|
+
in the spec for a single request.
|
|
1262
|
+
:type _host_index: int, optional
|
|
1263
|
+
:return: Returns the result object.
|
|
1264
|
+
""" # noqa: E501
|
|
1265
|
+
|
|
1266
|
+
_param = self._get_projects_serialize(
|
|
1267
|
+
var_with=var_with,
|
|
1268
|
+
limit=limit,
|
|
1269
|
+
target_tenant_id=target_tenant_id,
|
|
1270
|
+
_request_auth=_request_auth,
|
|
1271
|
+
_content_type=_content_type,
|
|
1272
|
+
_headers=_headers,
|
|
1273
|
+
_host_index=_host_index
|
|
1274
|
+
)
|
|
1275
|
+
|
|
1276
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1277
|
+
'200': "GetProjectsAPIResponseDTO",
|
|
1278
|
+
}
|
|
1279
|
+
response_data = self.api_client.call_api(
|
|
1280
|
+
*_param,
|
|
1281
|
+
_request_timeout=_request_timeout
|
|
1282
|
+
)
|
|
1283
|
+
response_data.read()
|
|
1284
|
+
return self.api_client.response_deserialize(
|
|
1285
|
+
response_data=response_data,
|
|
1286
|
+
response_types_map=_response_types_map,
|
|
1287
|
+
).data
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
@validate_call
|
|
1291
|
+
def get_projects_with_http_info(
|
|
1292
|
+
self,
|
|
1293
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The types of draft projects to include in the request response. * If empty, returns all the `Open` draft projects. * If `Open`, returns all Open draft projects. * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects. * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects. * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects.")] = None,
|
|
1294
|
+
limit: Annotated[Optional[StrictInt], Field(description="The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100.")] = None,
|
|
1295
|
+
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,
|
|
1296
|
+
_request_timeout: Union[
|
|
1297
|
+
None,
|
|
1298
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1299
|
+
Tuple[
|
|
1300
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1301
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1302
|
+
]
|
|
1303
|
+
] = None,
|
|
1304
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1305
|
+
_content_type: Optional[StrictStr] = None,
|
|
1306
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1307
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1308
|
+
) -> ApiResponse[GetProjectsAPIResponseDTO]:
|
|
1309
|
+
"""Retrieve a list of draft projects accessible to the user
|
|
1310
|
+
|
|
1311
|
+
Get a list of draft projects accessible to the requesting user in the tenant. A project is accessible if it is owned by the user or shared to the user.
|
|
1312
|
+
|
|
1313
|
+
:param var_with: The types of draft projects to include in the request response. * If empty, returns all the `Open` draft projects. * If `Open`, returns all Open draft projects. * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects. * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects. * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects.
|
|
1314
|
+
:type var_with: List[str]
|
|
1315
|
+
:param limit: The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100.
|
|
1316
|
+
:type limit: int
|
|
1317
|
+
: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.
|
|
1318
|
+
:type target_tenant_id: str
|
|
1319
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1320
|
+
number provided, it will be total request
|
|
1321
|
+
timeout. It can also be a pair (tuple) of
|
|
1322
|
+
(connection, read) timeouts.
|
|
1323
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1324
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1325
|
+
request; this effectively ignores the
|
|
1326
|
+
authentication in the spec for a single request.
|
|
1327
|
+
:type _request_auth: dict, optional
|
|
1328
|
+
:param _content_type: force content-type for the request.
|
|
1329
|
+
:type _content_type: str, Optional
|
|
1330
|
+
:param _headers: set to override the headers for a single
|
|
1331
|
+
request; this effectively ignores the headers
|
|
1332
|
+
in the spec for a single request.
|
|
1333
|
+
:type _headers: dict, optional
|
|
1334
|
+
:param _host_index: set to override the host_index for a single
|
|
1335
|
+
request; this effectively ignores the host_index
|
|
1336
|
+
in the spec for a single request.
|
|
1337
|
+
:type _host_index: int, optional
|
|
1338
|
+
:return: Returns the result object.
|
|
1339
|
+
""" # noqa: E501
|
|
1340
|
+
|
|
1341
|
+
_param = self._get_projects_serialize(
|
|
1342
|
+
var_with=var_with,
|
|
1343
|
+
limit=limit,
|
|
1344
|
+
target_tenant_id=target_tenant_id,
|
|
1345
|
+
_request_auth=_request_auth,
|
|
1346
|
+
_content_type=_content_type,
|
|
1347
|
+
_headers=_headers,
|
|
1348
|
+
_host_index=_host_index
|
|
1349
|
+
)
|
|
1350
|
+
|
|
1351
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1352
|
+
'200': "GetProjectsAPIResponseDTO",
|
|
1353
|
+
}
|
|
1354
|
+
response_data = self.api_client.call_api(
|
|
1355
|
+
*_param,
|
|
1356
|
+
_request_timeout=_request_timeout
|
|
1357
|
+
)
|
|
1358
|
+
response_data.read()
|
|
1359
|
+
return self.api_client.response_deserialize(
|
|
1360
|
+
response_data=response_data,
|
|
1361
|
+
response_types_map=_response_types_map,
|
|
1362
|
+
)
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
@validate_call
|
|
1366
|
+
def get_projects_without_preload_content(
|
|
1367
|
+
self,
|
|
1368
|
+
var_with: Annotated[Optional[List[StrictStr]], Field(description="The types of draft projects to include in the request response. * If empty, returns all the `Open` draft projects. * If `Open`, returns all Open draft projects. * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects. * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects. * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects.")] = None,
|
|
1369
|
+
limit: Annotated[Optional[StrictInt], Field(description="The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100.")] = None,
|
|
1370
|
+
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,
|
|
1371
|
+
_request_timeout: Union[
|
|
1372
|
+
None,
|
|
1373
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1374
|
+
Tuple[
|
|
1375
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1376
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1377
|
+
]
|
|
1378
|
+
] = None,
|
|
1379
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1380
|
+
_content_type: Optional[StrictStr] = None,
|
|
1381
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1382
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1383
|
+
) -> RESTResponseType:
|
|
1384
|
+
"""Retrieve a list of draft projects accessible to the user
|
|
1385
|
+
|
|
1386
|
+
Get a list of draft projects accessible to the requesting user in the tenant. A project is accessible if it is owned by the user or shared to the user.
|
|
1387
|
+
|
|
1388
|
+
:param var_with: The types of draft projects to include in the request response. * If empty, returns all the `Open` draft projects. * If `Open`, returns all Open draft projects. * If `Approval`, returns all draft projects in the approval stage. Changes cannot made in Approval projects. * If `Rejected`, returns all draft projects that have been rejected. Changes cannot be committed in Rejected projects. * If `Archived`, returns all draft projects that have been archived. Changes cannot be committed in Archived projects.
|
|
1389
|
+
:type var_with: List[str]
|
|
1390
|
+
:param limit: The number of projects to return per type. The maximum number of projects to retrieve per type is 1000. The default is 100.
|
|
1391
|
+
:type limit: int
|
|
1392
|
+
: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.
|
|
1393
|
+
:type target_tenant_id: str
|
|
1394
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1395
|
+
number provided, it will be total request
|
|
1396
|
+
timeout. It can also be a pair (tuple) of
|
|
1397
|
+
(connection, read) timeouts.
|
|
1398
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1399
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1400
|
+
request; this effectively ignores the
|
|
1401
|
+
authentication in the spec for a single request.
|
|
1402
|
+
:type _request_auth: dict, optional
|
|
1403
|
+
:param _content_type: force content-type for the request.
|
|
1404
|
+
:type _content_type: str, Optional
|
|
1405
|
+
:param _headers: set to override the headers for a single
|
|
1406
|
+
request; this effectively ignores the headers
|
|
1407
|
+
in the spec for a single request.
|
|
1408
|
+
:type _headers: dict, optional
|
|
1409
|
+
:param _host_index: set to override the host_index for a single
|
|
1410
|
+
request; this effectively ignores the host_index
|
|
1411
|
+
in the spec for a single request.
|
|
1412
|
+
:type _host_index: int, optional
|
|
1413
|
+
:return: Returns the result object.
|
|
1414
|
+
""" # noqa: E501
|
|
1415
|
+
|
|
1416
|
+
_param = self._get_projects_serialize(
|
|
1417
|
+
var_with=var_with,
|
|
1418
|
+
limit=limit,
|
|
1419
|
+
target_tenant_id=target_tenant_id,
|
|
1420
|
+
_request_auth=_request_auth,
|
|
1421
|
+
_content_type=_content_type,
|
|
1422
|
+
_headers=_headers,
|
|
1423
|
+
_host_index=_host_index
|
|
1424
|
+
)
|
|
1425
|
+
|
|
1426
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1427
|
+
'200': "GetProjectsAPIResponseDTO",
|
|
1428
|
+
}
|
|
1429
|
+
response_data = self.api_client.call_api(
|
|
1430
|
+
*_param,
|
|
1431
|
+
_request_timeout=_request_timeout
|
|
1432
|
+
)
|
|
1433
|
+
return response_data.response
|
|
1434
|
+
|
|
1435
|
+
|
|
1436
|
+
def _get_projects_serialize(
|
|
1437
|
+
self,
|
|
1438
|
+
var_with,
|
|
1439
|
+
limit,
|
|
1440
|
+
target_tenant_id,
|
|
1441
|
+
_request_auth,
|
|
1442
|
+
_content_type,
|
|
1443
|
+
_headers,
|
|
1444
|
+
_host_index,
|
|
1445
|
+
) -> RequestSerialized:
|
|
1446
|
+
|
|
1447
|
+
_host = None
|
|
1448
|
+
|
|
1449
|
+
_collection_formats: Dict[str, str] = {
|
|
1450
|
+
'with': 'multi',
|
|
1451
|
+
}
|
|
1452
|
+
|
|
1453
|
+
_path_params: Dict[str, str] = {}
|
|
1454
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1455
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1456
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1457
|
+
_files: Dict[
|
|
1458
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1459
|
+
] = {}
|
|
1460
|
+
_body_params: Optional[bytes] = None
|
|
1461
|
+
|
|
1462
|
+
# process the path parameters
|
|
1463
|
+
# process the query parameters
|
|
1464
|
+
if var_with is not None:
|
|
1465
|
+
|
|
1466
|
+
_query_params.append(('with', var_with))
|
|
1467
|
+
|
|
1468
|
+
if limit is not None:
|
|
1469
|
+
|
|
1470
|
+
_query_params.append(('limit', limit))
|
|
1471
|
+
|
|
1472
|
+
# process the header parameters
|
|
1473
|
+
if target_tenant_id is not None:
|
|
1474
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1475
|
+
# process the form parameters
|
|
1476
|
+
# process the body parameter
|
|
1477
|
+
|
|
1478
|
+
|
|
1479
|
+
# set the HTTP header `Accept`
|
|
1480
|
+
if 'Accept' not in _header_params:
|
|
1481
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1482
|
+
[
|
|
1483
|
+
'application/json'
|
|
1484
|
+
]
|
|
1485
|
+
)
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
# authentication setting
|
|
1489
|
+
_auth_settings: List[str] = [
|
|
1490
|
+
'CookieAuth',
|
|
1491
|
+
'ApiKeyAuth',
|
|
1492
|
+
'OAuth2Auth',
|
|
1493
|
+
'OAuth2Auth',
|
|
1494
|
+
'BearerAuth'
|
|
1495
|
+
]
|
|
1496
|
+
|
|
1497
|
+
return self.api_client.param_serialize(
|
|
1498
|
+
method='GET',
|
|
1499
|
+
resource_path='/v1/admin/projects',
|
|
1500
|
+
path_params=_path_params,
|
|
1501
|
+
query_params=_query_params,
|
|
1502
|
+
header_params=_header_params,
|
|
1503
|
+
body=_body_params,
|
|
1504
|
+
post_params=_form_params,
|
|
1505
|
+
files=_files,
|
|
1506
|
+
auth_settings=_auth_settings,
|
|
1507
|
+
collection_formats=_collection_formats,
|
|
1508
|
+
_host=_host,
|
|
1509
|
+
_request_auth=_request_auth
|
|
1510
|
+
)
|
|
1511
|
+
|
|
1512
|
+
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
@validate_call
|
|
1516
|
+
def put_project_commits(
|
|
1517
|
+
self,
|
|
1518
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")],
|
|
1519
|
+
put_project_commits_request: PutProjectCommitsRequest,
|
|
1520
|
+
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,
|
|
1521
|
+
_request_timeout: Union[
|
|
1522
|
+
None,
|
|
1523
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1524
|
+
Tuple[
|
|
1525
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1526
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1527
|
+
]
|
|
1528
|
+
] = None,
|
|
1529
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1530
|
+
_content_type: Optional[StrictStr] = None,
|
|
1531
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1532
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1533
|
+
) -> ProjectCommitsAPIResponseDTO:
|
|
1534
|
+
"""Import committed changes into a project
|
|
1535
|
+
|
|
1536
|
+
Import a ZIP file that contains a list of committed changes into a draft project. The file must be an export from `POST /v1/admin/production-versions`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment.
|
|
1537
|
+
|
|
1538
|
+
:param project_id: The unique identifier of the draft project you want to import committed changes into. (required)
|
|
1539
|
+
:type project_id: str
|
|
1540
|
+
:param put_project_commits_request: (required)
|
|
1541
|
+
:type put_project_commits_request: PutProjectCommitsRequest
|
|
1542
|
+
: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.
|
|
1543
|
+
:type target_tenant_id: str
|
|
1544
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1545
|
+
number provided, it will be total request
|
|
1546
|
+
timeout. It can also be a pair (tuple) of
|
|
1547
|
+
(connection, read) timeouts.
|
|
1548
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1549
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1550
|
+
request; this effectively ignores the
|
|
1551
|
+
authentication in the spec for a single request.
|
|
1552
|
+
:type _request_auth: dict, optional
|
|
1553
|
+
:param _content_type: force content-type for the request.
|
|
1554
|
+
:type _content_type: str, Optional
|
|
1555
|
+
:param _headers: set to override the headers for a single
|
|
1556
|
+
request; this effectively ignores the headers
|
|
1557
|
+
in the spec for a single request.
|
|
1558
|
+
:type _headers: dict, optional
|
|
1559
|
+
:param _host_index: set to override the host_index for a single
|
|
1560
|
+
request; this effectively ignores the host_index
|
|
1561
|
+
in the spec for a single request.
|
|
1562
|
+
:type _host_index: int, optional
|
|
1563
|
+
:return: Returns the result object.
|
|
1564
|
+
""" # noqa: E501
|
|
1565
|
+
|
|
1566
|
+
_param = self._put_project_commits_serialize(
|
|
1567
|
+
project_id=project_id,
|
|
1568
|
+
put_project_commits_request=put_project_commits_request,
|
|
1569
|
+
target_tenant_id=target_tenant_id,
|
|
1570
|
+
_request_auth=_request_auth,
|
|
1571
|
+
_content_type=_content_type,
|
|
1572
|
+
_headers=_headers,
|
|
1573
|
+
_host_index=_host_index
|
|
1574
|
+
)
|
|
1575
|
+
|
|
1576
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1577
|
+
'200': "ProjectCommitsAPIResponseDTO",
|
|
1578
|
+
}
|
|
1579
|
+
response_data = self.api_client.call_api(
|
|
1580
|
+
*_param,
|
|
1581
|
+
_request_timeout=_request_timeout
|
|
1582
|
+
)
|
|
1583
|
+
response_data.read()
|
|
1584
|
+
return self.api_client.response_deserialize(
|
|
1585
|
+
response_data=response_data,
|
|
1586
|
+
response_types_map=_response_types_map,
|
|
1587
|
+
).data
|
|
1588
|
+
|
|
1589
|
+
|
|
1590
|
+
@validate_call
|
|
1591
|
+
def put_project_commits_with_http_info(
|
|
1592
|
+
self,
|
|
1593
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")],
|
|
1594
|
+
put_project_commits_request: PutProjectCommitsRequest,
|
|
1595
|
+
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,
|
|
1596
|
+
_request_timeout: Union[
|
|
1597
|
+
None,
|
|
1598
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1599
|
+
Tuple[
|
|
1600
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1601
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1602
|
+
]
|
|
1603
|
+
] = None,
|
|
1604
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1605
|
+
_content_type: Optional[StrictStr] = None,
|
|
1606
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1607
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1608
|
+
) -> ApiResponse[ProjectCommitsAPIResponseDTO]:
|
|
1609
|
+
"""Import committed changes into a project
|
|
1610
|
+
|
|
1611
|
+
Import a ZIP file that contains a list of committed changes into a draft project. The file must be an export from `POST /v1/admin/production-versions`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment.
|
|
1612
|
+
|
|
1613
|
+
:param project_id: The unique identifier of the draft project you want to import committed changes into. (required)
|
|
1614
|
+
:type project_id: str
|
|
1615
|
+
:param put_project_commits_request: (required)
|
|
1616
|
+
:type put_project_commits_request: PutProjectCommitsRequest
|
|
1617
|
+
: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.
|
|
1618
|
+
:type target_tenant_id: str
|
|
1619
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1620
|
+
number provided, it will be total request
|
|
1621
|
+
timeout. It can also be a pair (tuple) of
|
|
1622
|
+
(connection, read) timeouts.
|
|
1623
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1624
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1625
|
+
request; this effectively ignores the
|
|
1626
|
+
authentication in the spec for a single request.
|
|
1627
|
+
:type _request_auth: dict, optional
|
|
1628
|
+
:param _content_type: force content-type for the request.
|
|
1629
|
+
:type _content_type: str, Optional
|
|
1630
|
+
:param _headers: set to override the headers for a single
|
|
1631
|
+
request; this effectively ignores the headers
|
|
1632
|
+
in the spec for a single request.
|
|
1633
|
+
:type _headers: dict, optional
|
|
1634
|
+
:param _host_index: set to override the host_index for a single
|
|
1635
|
+
request; this effectively ignores the host_index
|
|
1636
|
+
in the spec for a single request.
|
|
1637
|
+
:type _host_index: int, optional
|
|
1638
|
+
:return: Returns the result object.
|
|
1639
|
+
""" # noqa: E501
|
|
1640
|
+
|
|
1641
|
+
_param = self._put_project_commits_serialize(
|
|
1642
|
+
project_id=project_id,
|
|
1643
|
+
put_project_commits_request=put_project_commits_request,
|
|
1644
|
+
target_tenant_id=target_tenant_id,
|
|
1645
|
+
_request_auth=_request_auth,
|
|
1646
|
+
_content_type=_content_type,
|
|
1647
|
+
_headers=_headers,
|
|
1648
|
+
_host_index=_host_index
|
|
1649
|
+
)
|
|
1650
|
+
|
|
1651
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1652
|
+
'200': "ProjectCommitsAPIResponseDTO",
|
|
1653
|
+
}
|
|
1654
|
+
response_data = self.api_client.call_api(
|
|
1655
|
+
*_param,
|
|
1656
|
+
_request_timeout=_request_timeout
|
|
1657
|
+
)
|
|
1658
|
+
response_data.read()
|
|
1659
|
+
return self.api_client.response_deserialize(
|
|
1660
|
+
response_data=response_data,
|
|
1661
|
+
response_types_map=_response_types_map,
|
|
1662
|
+
)
|
|
1663
|
+
|
|
1664
|
+
|
|
1665
|
+
@validate_call
|
|
1666
|
+
def put_project_commits_without_preload_content(
|
|
1667
|
+
self,
|
|
1668
|
+
project_id: Annotated[StrictStr, Field(description="The unique identifier of the draft project you want to import committed changes into.")],
|
|
1669
|
+
put_project_commits_request: PutProjectCommitsRequest,
|
|
1670
|
+
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,
|
|
1671
|
+
_request_timeout: Union[
|
|
1672
|
+
None,
|
|
1673
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1674
|
+
Tuple[
|
|
1675
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1676
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1677
|
+
]
|
|
1678
|
+
] = None,
|
|
1679
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1680
|
+
_content_type: Optional[StrictStr] = None,
|
|
1681
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1682
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1683
|
+
) -> RESTResponseType:
|
|
1684
|
+
"""Import committed changes into a project
|
|
1685
|
+
|
|
1686
|
+
Import a ZIP file that contains a list of committed changes into a draft project. The file must be an export from `POST /v1/admin/production-versions`. Use this API after making changes in a development environment to copy the changes to a draft project in your production environment.
|
|
1687
|
+
|
|
1688
|
+
:param project_id: The unique identifier of the draft project you want to import committed changes into. (required)
|
|
1689
|
+
:type project_id: str
|
|
1690
|
+
:param put_project_commits_request: (required)
|
|
1691
|
+
:type put_project_commits_request: PutProjectCommitsRequest
|
|
1692
|
+
: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.
|
|
1693
|
+
:type target_tenant_id: str
|
|
1694
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1695
|
+
number provided, it will be total request
|
|
1696
|
+
timeout. It can also be a pair (tuple) of
|
|
1697
|
+
(connection, read) timeouts.
|
|
1698
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1699
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1700
|
+
request; this effectively ignores the
|
|
1701
|
+
authentication in the spec for a single request.
|
|
1702
|
+
:type _request_auth: dict, optional
|
|
1703
|
+
:param _content_type: force content-type for the request.
|
|
1704
|
+
:type _content_type: str, Optional
|
|
1705
|
+
:param _headers: set to override the headers for a single
|
|
1706
|
+
request; this effectively ignores the headers
|
|
1707
|
+
in the spec for a single request.
|
|
1708
|
+
:type _headers: dict, optional
|
|
1709
|
+
:param _host_index: set to override the host_index for a single
|
|
1710
|
+
request; this effectively ignores the host_index
|
|
1711
|
+
in the spec for a single request.
|
|
1712
|
+
:type _host_index: int, optional
|
|
1713
|
+
:return: Returns the result object.
|
|
1714
|
+
""" # noqa: E501
|
|
1715
|
+
|
|
1716
|
+
_param = self._put_project_commits_serialize(
|
|
1717
|
+
project_id=project_id,
|
|
1718
|
+
put_project_commits_request=put_project_commits_request,
|
|
1719
|
+
target_tenant_id=target_tenant_id,
|
|
1720
|
+
_request_auth=_request_auth,
|
|
1721
|
+
_content_type=_content_type,
|
|
1722
|
+
_headers=_headers,
|
|
1723
|
+
_host_index=_host_index
|
|
1724
|
+
)
|
|
1725
|
+
|
|
1726
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1727
|
+
'200': "ProjectCommitsAPIResponseDTO",
|
|
1728
|
+
}
|
|
1729
|
+
response_data = self.api_client.call_api(
|
|
1730
|
+
*_param,
|
|
1731
|
+
_request_timeout=_request_timeout
|
|
1732
|
+
)
|
|
1733
|
+
return response_data.response
|
|
1734
|
+
|
|
1735
|
+
|
|
1736
|
+
def _put_project_commits_serialize(
|
|
1737
|
+
self,
|
|
1738
|
+
project_id,
|
|
1739
|
+
put_project_commits_request,
|
|
1740
|
+
target_tenant_id,
|
|
1741
|
+
_request_auth,
|
|
1742
|
+
_content_type,
|
|
1743
|
+
_headers,
|
|
1744
|
+
_host_index,
|
|
1745
|
+
) -> RequestSerialized:
|
|
1746
|
+
|
|
1747
|
+
_host = None
|
|
1748
|
+
|
|
1749
|
+
_collection_formats: Dict[str, str] = {
|
|
1750
|
+
}
|
|
1751
|
+
|
|
1752
|
+
_path_params: Dict[str, str] = {}
|
|
1753
|
+
_query_params: List[Tuple[str, str]] = []
|
|
1754
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
1755
|
+
_form_params: List[Tuple[str, str]] = []
|
|
1756
|
+
_files: Dict[
|
|
1757
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
1758
|
+
] = {}
|
|
1759
|
+
_body_params: Optional[bytes] = None
|
|
1760
|
+
|
|
1761
|
+
# process the path parameters
|
|
1762
|
+
if project_id is not None:
|
|
1763
|
+
_path_params['projectId'] = project_id
|
|
1764
|
+
# process the query parameters
|
|
1765
|
+
# process the header parameters
|
|
1766
|
+
if target_tenant_id is not None:
|
|
1767
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
1768
|
+
# process the form parameters
|
|
1769
|
+
# process the body parameter
|
|
1770
|
+
if put_project_commits_request is not None:
|
|
1771
|
+
_body_params = put_project_commits_request
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
# set the HTTP header `Accept`
|
|
1775
|
+
if 'Accept' not in _header_params:
|
|
1776
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
1777
|
+
[
|
|
1778
|
+
'application/json'
|
|
1779
|
+
]
|
|
1780
|
+
)
|
|
1781
|
+
|
|
1782
|
+
# set the HTTP header `Content-Type`
|
|
1783
|
+
if _content_type:
|
|
1784
|
+
_header_params['Content-Type'] = _content_type
|
|
1785
|
+
else:
|
|
1786
|
+
_default_content_type = (
|
|
1787
|
+
self.api_client.select_header_content_type(
|
|
1788
|
+
[
|
|
1789
|
+
'application/json'
|
|
1790
|
+
]
|
|
1791
|
+
)
|
|
1792
|
+
)
|
|
1793
|
+
if _default_content_type is not None:
|
|
1794
|
+
_header_params['Content-Type'] = _default_content_type
|
|
1795
|
+
|
|
1796
|
+
# authentication setting
|
|
1797
|
+
_auth_settings: List[str] = [
|
|
1798
|
+
'CookieAuth',
|
|
1799
|
+
'ApiKeyAuth',
|
|
1800
|
+
'OAuth2Auth',
|
|
1801
|
+
'OAuth2Auth',
|
|
1802
|
+
'BearerAuth'
|
|
1803
|
+
]
|
|
1804
|
+
|
|
1805
|
+
return self.api_client.param_serialize(
|
|
1806
|
+
method='PUT',
|
|
1807
|
+
resource_path='/v1/admin/projects/{projectId}/commits',
|
|
1808
|
+
path_params=_path_params,
|
|
1809
|
+
query_params=_query_params,
|
|
1810
|
+
header_params=_header_params,
|
|
1811
|
+
body=_body_params,
|
|
1812
|
+
post_params=_form_params,
|
|
1813
|
+
files=_files,
|
|
1814
|
+
auth_settings=_auth_settings,
|
|
1815
|
+
collection_formats=_collection_formats,
|
|
1816
|
+
_host=_host,
|
|
1817
|
+
_request_auth=_request_auth
|
|
1818
|
+
)
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
@validate_call
|
|
1824
|
+
def run_project_operation(
|
|
1825
|
+
self,
|
|
1826
|
+
project_id: StrictStr,
|
|
1827
|
+
project_operation_request_dto: ProjectOperationRequestDTO,
|
|
1828
|
+
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,
|
|
1829
|
+
_request_timeout: Union[
|
|
1830
|
+
None,
|
|
1831
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1832
|
+
Tuple[
|
|
1833
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1834
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1835
|
+
]
|
|
1836
|
+
] = None,
|
|
1837
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1838
|
+
_content_type: Optional[StrictStr] = None,
|
|
1839
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1840
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1841
|
+
) -> ProjectOperationResponseDTO:
|
|
1842
|
+
"""Perform an operation on a draft project
|
|
1843
|
+
|
|
1844
|
+
Perform operations on a draft project. The following operations are supported: * `commitAndPublish`: Commits project changes and publishes the project to production.
|
|
1845
|
+
|
|
1846
|
+
:param project_id: (required)
|
|
1847
|
+
:type project_id: str
|
|
1848
|
+
:param project_operation_request_dto: (required)
|
|
1849
|
+
:type project_operation_request_dto: ProjectOperationRequestDTO
|
|
1850
|
+
: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.
|
|
1851
|
+
:type target_tenant_id: str
|
|
1852
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1853
|
+
number provided, it will be total request
|
|
1854
|
+
timeout. It can also be a pair (tuple) of
|
|
1855
|
+
(connection, read) timeouts.
|
|
1856
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1857
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1858
|
+
request; this effectively ignores the
|
|
1859
|
+
authentication in the spec for a single request.
|
|
1860
|
+
:type _request_auth: dict, optional
|
|
1861
|
+
:param _content_type: force content-type for the request.
|
|
1862
|
+
:type _content_type: str, Optional
|
|
1863
|
+
:param _headers: set to override the headers for a single
|
|
1864
|
+
request; this effectively ignores the headers
|
|
1865
|
+
in the spec for a single request.
|
|
1866
|
+
:type _headers: dict, optional
|
|
1867
|
+
:param _host_index: set to override the host_index for a single
|
|
1868
|
+
request; this effectively ignores the host_index
|
|
1869
|
+
in the spec for a single request.
|
|
1870
|
+
:type _host_index: int, optional
|
|
1871
|
+
:return: Returns the result object.
|
|
1872
|
+
""" # noqa: E501
|
|
1873
|
+
|
|
1874
|
+
_param = self._run_project_operation_serialize(
|
|
1875
|
+
project_id=project_id,
|
|
1876
|
+
project_operation_request_dto=project_operation_request_dto,
|
|
1877
|
+
target_tenant_id=target_tenant_id,
|
|
1878
|
+
_request_auth=_request_auth,
|
|
1879
|
+
_content_type=_content_type,
|
|
1880
|
+
_headers=_headers,
|
|
1881
|
+
_host_index=_host_index
|
|
1882
|
+
)
|
|
1883
|
+
|
|
1884
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1885
|
+
'200': "ProjectOperationResponseDTO",
|
|
1886
|
+
}
|
|
1887
|
+
response_data = self.api_client.call_api(
|
|
1888
|
+
*_param,
|
|
1889
|
+
_request_timeout=_request_timeout
|
|
1890
|
+
)
|
|
1891
|
+
response_data.read()
|
|
1892
|
+
return self.api_client.response_deserialize(
|
|
1893
|
+
response_data=response_data,
|
|
1894
|
+
response_types_map=_response_types_map,
|
|
1895
|
+
).data
|
|
1896
|
+
|
|
1897
|
+
|
|
1898
|
+
@validate_call
|
|
1899
|
+
def run_project_operation_with_http_info(
|
|
1900
|
+
self,
|
|
1901
|
+
project_id: StrictStr,
|
|
1902
|
+
project_operation_request_dto: ProjectOperationRequestDTO,
|
|
1903
|
+
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,
|
|
1904
|
+
_request_timeout: Union[
|
|
1905
|
+
None,
|
|
1906
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1907
|
+
Tuple[
|
|
1908
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1909
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1910
|
+
]
|
|
1911
|
+
] = None,
|
|
1912
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1913
|
+
_content_type: Optional[StrictStr] = None,
|
|
1914
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1915
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1916
|
+
) -> ApiResponse[ProjectOperationResponseDTO]:
|
|
1917
|
+
"""Perform an operation on a draft project
|
|
1918
|
+
|
|
1919
|
+
Perform operations on a draft project. The following operations are supported: * `commitAndPublish`: Commits project changes and publishes the project to production.
|
|
1920
|
+
|
|
1921
|
+
:param project_id: (required)
|
|
1922
|
+
:type project_id: str
|
|
1923
|
+
:param project_operation_request_dto: (required)
|
|
1924
|
+
:type project_operation_request_dto: ProjectOperationRequestDTO
|
|
1925
|
+
: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.
|
|
1926
|
+
:type target_tenant_id: str
|
|
1927
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
1928
|
+
number provided, it will be total request
|
|
1929
|
+
timeout. It can also be a pair (tuple) of
|
|
1930
|
+
(connection, read) timeouts.
|
|
1931
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
1932
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
1933
|
+
request; this effectively ignores the
|
|
1934
|
+
authentication in the spec for a single request.
|
|
1935
|
+
:type _request_auth: dict, optional
|
|
1936
|
+
:param _content_type: force content-type for the request.
|
|
1937
|
+
:type _content_type: str, Optional
|
|
1938
|
+
:param _headers: set to override the headers for a single
|
|
1939
|
+
request; this effectively ignores the headers
|
|
1940
|
+
in the spec for a single request.
|
|
1941
|
+
:type _headers: dict, optional
|
|
1942
|
+
:param _host_index: set to override the host_index for a single
|
|
1943
|
+
request; this effectively ignores the host_index
|
|
1944
|
+
in the spec for a single request.
|
|
1945
|
+
:type _host_index: int, optional
|
|
1946
|
+
:return: Returns the result object.
|
|
1947
|
+
""" # noqa: E501
|
|
1948
|
+
|
|
1949
|
+
_param = self._run_project_operation_serialize(
|
|
1950
|
+
project_id=project_id,
|
|
1951
|
+
project_operation_request_dto=project_operation_request_dto,
|
|
1952
|
+
target_tenant_id=target_tenant_id,
|
|
1953
|
+
_request_auth=_request_auth,
|
|
1954
|
+
_content_type=_content_type,
|
|
1955
|
+
_headers=_headers,
|
|
1956
|
+
_host_index=_host_index
|
|
1957
|
+
)
|
|
1958
|
+
|
|
1959
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
1960
|
+
'200': "ProjectOperationResponseDTO",
|
|
1961
|
+
}
|
|
1962
|
+
response_data = self.api_client.call_api(
|
|
1963
|
+
*_param,
|
|
1964
|
+
_request_timeout=_request_timeout
|
|
1965
|
+
)
|
|
1966
|
+
response_data.read()
|
|
1967
|
+
return self.api_client.response_deserialize(
|
|
1968
|
+
response_data=response_data,
|
|
1969
|
+
response_types_map=_response_types_map,
|
|
1970
|
+
)
|
|
1971
|
+
|
|
1972
|
+
|
|
1973
|
+
@validate_call
|
|
1974
|
+
def run_project_operation_without_preload_content(
|
|
1975
|
+
self,
|
|
1976
|
+
project_id: StrictStr,
|
|
1977
|
+
project_operation_request_dto: ProjectOperationRequestDTO,
|
|
1978
|
+
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,
|
|
1979
|
+
_request_timeout: Union[
|
|
1980
|
+
None,
|
|
1981
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1982
|
+
Tuple[
|
|
1983
|
+
Annotated[StrictFloat, Field(gt=0)],
|
|
1984
|
+
Annotated[StrictFloat, Field(gt=0)]
|
|
1985
|
+
]
|
|
1986
|
+
] = None,
|
|
1987
|
+
_request_auth: Optional[Dict[StrictStr, Any]] = None,
|
|
1988
|
+
_content_type: Optional[StrictStr] = None,
|
|
1989
|
+
_headers: Optional[Dict[StrictStr, Any]] = None,
|
|
1990
|
+
_host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
|
|
1991
|
+
) -> RESTResponseType:
|
|
1992
|
+
"""Perform an operation on a draft project
|
|
1993
|
+
|
|
1994
|
+
Perform operations on a draft project. The following operations are supported: * `commitAndPublish`: Commits project changes and publishes the project to production.
|
|
1995
|
+
|
|
1996
|
+
:param project_id: (required)
|
|
1997
|
+
:type project_id: str
|
|
1998
|
+
:param project_operation_request_dto: (required)
|
|
1999
|
+
:type project_operation_request_dto: ProjectOperationRequestDTO
|
|
2000
|
+
: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.
|
|
2001
|
+
:type target_tenant_id: str
|
|
2002
|
+
:param _request_timeout: timeout setting for this request. If one
|
|
2003
|
+
number provided, it will be total request
|
|
2004
|
+
timeout. It can also be a pair (tuple) of
|
|
2005
|
+
(connection, read) timeouts.
|
|
2006
|
+
:type _request_timeout: int, tuple(int, int), optional
|
|
2007
|
+
:param _request_auth: set to override the auth_settings for an a single
|
|
2008
|
+
request; this effectively ignores the
|
|
2009
|
+
authentication in the spec for a single request.
|
|
2010
|
+
:type _request_auth: dict, optional
|
|
2011
|
+
:param _content_type: force content-type for the request.
|
|
2012
|
+
:type _content_type: str, Optional
|
|
2013
|
+
:param _headers: set to override the headers for a single
|
|
2014
|
+
request; this effectively ignores the headers
|
|
2015
|
+
in the spec for a single request.
|
|
2016
|
+
:type _headers: dict, optional
|
|
2017
|
+
:param _host_index: set to override the host_index for a single
|
|
2018
|
+
request; this effectively ignores the host_index
|
|
2019
|
+
in the spec for a single request.
|
|
2020
|
+
:type _host_index: int, optional
|
|
2021
|
+
:return: Returns the result object.
|
|
2022
|
+
""" # noqa: E501
|
|
2023
|
+
|
|
2024
|
+
_param = self._run_project_operation_serialize(
|
|
2025
|
+
project_id=project_id,
|
|
2026
|
+
project_operation_request_dto=project_operation_request_dto,
|
|
2027
|
+
target_tenant_id=target_tenant_id,
|
|
2028
|
+
_request_auth=_request_auth,
|
|
2029
|
+
_content_type=_content_type,
|
|
2030
|
+
_headers=_headers,
|
|
2031
|
+
_host_index=_host_index
|
|
2032
|
+
)
|
|
2033
|
+
|
|
2034
|
+
_response_types_map: Dict[str, Optional[str]] = {
|
|
2035
|
+
'200': "ProjectOperationResponseDTO",
|
|
2036
|
+
}
|
|
2037
|
+
response_data = self.api_client.call_api(
|
|
2038
|
+
*_param,
|
|
2039
|
+
_request_timeout=_request_timeout
|
|
2040
|
+
)
|
|
2041
|
+
return response_data.response
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
def _run_project_operation_serialize(
|
|
2045
|
+
self,
|
|
2046
|
+
project_id,
|
|
2047
|
+
project_operation_request_dto,
|
|
2048
|
+
target_tenant_id,
|
|
2049
|
+
_request_auth,
|
|
2050
|
+
_content_type,
|
|
2051
|
+
_headers,
|
|
2052
|
+
_host_index,
|
|
2053
|
+
) -> RequestSerialized:
|
|
2054
|
+
|
|
2055
|
+
_host = None
|
|
2056
|
+
|
|
2057
|
+
_collection_formats: Dict[str, str] = {
|
|
2058
|
+
}
|
|
2059
|
+
|
|
2060
|
+
_path_params: Dict[str, str] = {}
|
|
2061
|
+
_query_params: List[Tuple[str, str]] = []
|
|
2062
|
+
_header_params: Dict[str, Optional[str]] = _headers or {}
|
|
2063
|
+
_form_params: List[Tuple[str, str]] = []
|
|
2064
|
+
_files: Dict[
|
|
2065
|
+
str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
|
|
2066
|
+
] = {}
|
|
2067
|
+
_body_params: Optional[bytes] = None
|
|
2068
|
+
|
|
2069
|
+
# process the path parameters
|
|
2070
|
+
if project_id is not None:
|
|
2071
|
+
_path_params['projectId'] = project_id
|
|
2072
|
+
# process the query parameters
|
|
2073
|
+
# process the header parameters
|
|
2074
|
+
if target_tenant_id is not None:
|
|
2075
|
+
_header_params['TargetTenantID'] = target_tenant_id
|
|
2076
|
+
# process the form parameters
|
|
2077
|
+
# process the body parameter
|
|
2078
|
+
if project_operation_request_dto is not None:
|
|
2079
|
+
_body_params = project_operation_request_dto
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
# set the HTTP header `Accept`
|
|
2083
|
+
if 'Accept' not in _header_params:
|
|
2084
|
+
_header_params['Accept'] = self.api_client.select_header_accept(
|
|
2085
|
+
[
|
|
2086
|
+
'application/json'
|
|
2087
|
+
]
|
|
2088
|
+
)
|
|
2089
|
+
|
|
2090
|
+
# set the HTTP header `Content-Type`
|
|
2091
|
+
if _content_type:
|
|
2092
|
+
_header_params['Content-Type'] = _content_type
|
|
2093
|
+
else:
|
|
2094
|
+
_default_content_type = (
|
|
2095
|
+
self.api_client.select_header_content_type(
|
|
2096
|
+
[
|
|
2097
|
+
'application/json'
|
|
2098
|
+
]
|
|
2099
|
+
)
|
|
2100
|
+
)
|
|
2101
|
+
if _default_content_type is not None:
|
|
2102
|
+
_header_params['Content-Type'] = _default_content_type
|
|
2103
|
+
|
|
2104
|
+
# authentication setting
|
|
2105
|
+
_auth_settings: List[str] = [
|
|
2106
|
+
'CookieAuth',
|
|
2107
|
+
'ApiKeyAuth',
|
|
2108
|
+
'OAuth2Auth',
|
|
2109
|
+
'OAuth2Auth',
|
|
2110
|
+
'BearerAuth'
|
|
2111
|
+
]
|
|
2112
|
+
|
|
2113
|
+
return self.api_client.param_serialize(
|
|
2114
|
+
method='POST',
|
|
2115
|
+
resource_path='/v1/admin/projects/{projectId}',
|
|
2116
|
+
path_params=_path_params,
|
|
2117
|
+
query_params=_query_params,
|
|
2118
|
+
header_params=_header_params,
|
|
2119
|
+
body=_body_params,
|
|
2120
|
+
post_params=_form_params,
|
|
2121
|
+
files=_files,
|
|
2122
|
+
auth_settings=_auth_settings,
|
|
2123
|
+
collection_formats=_collection_formats,
|
|
2124
|
+
_host=_host,
|
|
2125
|
+
_request_auth=_request_auth
|
|
2126
|
+
)
|
|
2127
|
+
|
|
2128
|
+
|