visier-platform-sdk 22222222.99201.1892b3__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of visier-platform-sdk might be problematic. Click here for more details.

Files changed (664) hide show
  1. visier_platform_sdk/__init__.py +684 -0
  2. visier_platform_sdk/api/__init__.py +42 -0
  3. visier_platform_sdk/api/basic_authentication_api.py +625 -0
  4. visier_platform_sdk/api/benchmarks_api.py +936 -0
  5. visier_platform_sdk/api/concepts_v2_api.py +2307 -0
  6. visier_platform_sdk/api/consolidated_analytics_api.py +3265 -0
  7. visier_platform_sdk/api/data_and_job_handling_api.py +8346 -0
  8. visier_platform_sdk/api/data_intake_api.py +1866 -0
  9. visier_platform_sdk/api/data_model_api.py +13164 -0
  10. visier_platform_sdk/api/data_query_api.py +1226 -0
  11. visier_platform_sdk/api/data_upload_api.py +343 -0
  12. visier_platform_sdk/api/data_version_export_api.py +1724 -0
  13. visier_platform_sdk/api/dimensions_api.py +3050 -0
  14. visier_platform_sdk/api/direct_data_intake_api.py +3039 -0
  15. visier_platform_sdk/api/email_domains_api.py +880 -0
  16. visier_platform_sdk/api/encryption_keys_api.py +835 -0
  17. visier_platform_sdk/api/jobs_library_api.py +1168 -0
  18. visier_platform_sdk/api/network_subnets_api.py +1170 -0
  19. visier_platform_sdk/api/o_auth2_api.py +1021 -0
  20. visier_platform_sdk/api/object_configuration_api.py +1752 -0
  21. visier_platform_sdk/api/permissions_api.py +4295 -0
  22. visier_platform_sdk/api/pgp_key_api.py +1161 -0
  23. visier_platform_sdk/api/planning_data_load_api.py +740 -0
  24. visier_platform_sdk/api/production_versions_api.py +944 -0
  25. visier_platform_sdk/api/profiles_api.py +2873 -0
  26. visier_platform_sdk/api/projects_api.py +2128 -0
  27. visier_platform_sdk/api/release_version_configuration_api.py +835 -0
  28. visier_platform_sdk/api/reporting_api.py +1757 -0
  29. visier_platform_sdk/api/search_api.py +356 -0
  30. visier_platform_sdk/api/skills_library_api.py +2632 -0
  31. visier_platform_sdk/api/source_files_download_api.py +335 -0
  32. visier_platform_sdk/api/sources_api.py +652 -0
  33. visier_platform_sdk/api/system_status_api.py +570 -0
  34. visier_platform_sdk/api/tenants_v1_api.py +2836 -0
  35. visier_platform_sdk/api/tenants_v2_api.py +1595 -0
  36. visier_platform_sdk/api/user_groups_v2_api.py +2332 -0
  37. visier_platform_sdk/api/users_v1_api.py +6157 -0
  38. visier_platform_sdk/api/users_v2_api.py +973 -0
  39. visier_platform_sdk/api/vee_api.py +1161 -0
  40. visier_platform_sdk/api/webhooks_api.py +2281 -0
  41. visier_platform_sdk/api_client.py +811 -0
  42. visier_platform_sdk/api_response.py +21 -0
  43. visier_platform_sdk/configuration.py +808 -0
  44. visier_platform_sdk/exceptions.py +217 -0
  45. visier_platform_sdk/models/__init__.py +630 -0
  46. visier_platform_sdk/models/admin_all_tenants_status_apidto.py +100 -0
  47. visier_platform_sdk/models/admin_assign_connector_credentials_by_tenant_response_dto.py +112 -0
  48. visier_platform_sdk/models/admin_assign_connector_credentials_response_dto.py +96 -0
  49. visier_platform_sdk/models/admin_assign_connector_with_credentials_response_dto.py +98 -0
  50. visier_platform_sdk/models/admin_assigned_credential_info_response_dto.py +92 -0
  51. visier_platform_sdk/models/admin_batch_tenant_provision_apidto.py +96 -0
  52. visier_platform_sdk/models/admin_business_location_dto.py +90 -0
  53. visier_platform_sdk/models/admin_connector_info_response_dto.py +92 -0
  54. visier_platform_sdk/models/admin_connector_setting_request_dto.py +90 -0
  55. visier_platform_sdk/models/admin_connector_setting_response_dto.py +92 -0
  56. visier_platform_sdk/models/admin_connector_settings_response_dto.py +102 -0
  57. visier_platform_sdk/models/admin_consolidated_analytics_api_excluded_source_list_dto.py +88 -0
  58. visier_platform_sdk/models/admin_consolidated_analytics_api_source_tenant_list_dto.py +88 -0
  59. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_create_request_dto.py +88 -0
  60. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_list_response_dto.py +88 -0
  61. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details.py +92 -0
  62. visier_platform_sdk/models/admin_consolidated_analytics_api_tenant_with_details_list_response_dto.py +96 -0
  63. visier_platform_sdk/models/admin_custom_property_dto.py +90 -0
  64. visier_platform_sdk/models/admin_custom_tenant_property_dto.py +90 -0
  65. visier_platform_sdk/models/admin_data_import_definition_apidto.py +92 -0
  66. visier_platform_sdk/models/admin_data_import_definitions_apidto.py +100 -0
  67. visier_platform_sdk/models/admin_data_version_and_date_dto.py +90 -0
  68. visier_platform_sdk/models/admin_delete_user_group_v2_request.py +88 -0
  69. visier_platform_sdk/models/admin_element_ids_dto.py +88 -0
  70. visier_platform_sdk/models/admin_email_domains_dto.py +90 -0
  71. visier_platform_sdk/models/admin_excluded_sources_body.py +88 -0
  72. visier_platform_sdk/models/admin_extractor_setting_apidto.py +100 -0
  73. visier_platform_sdk/models/admin_extractor_setting_key_value_apidto.py +90 -0
  74. visier_platform_sdk/models/admin_extractor_settings_apidto.py +96 -0
  75. visier_platform_sdk/models/admin_home_analysis_by_user_group_dto.py +90 -0
  76. visier_platform_sdk/models/admin_jobs_consolidated_analytics_job_request_dto.py +88 -0
  77. visier_platform_sdk/models/admin_jobs_extract_data_and_load_dto.py +150 -0
  78. visier_platform_sdk/models/admin_jobs_processing_job_request_dto.py +96 -0
  79. visier_platform_sdk/models/admin_key_name.py +88 -0
  80. visier_platform_sdk/models/admin_mask_message.py +88 -0
  81. visier_platform_sdk/models/admin_multiple_tenant_data_versions_details_dto.py +98 -0
  82. visier_platform_sdk/models/admin_multiple_tenant_data_versions_list_dto.py +100 -0
  83. visier_platform_sdk/models/admin_network_subnets_message_request.py +90 -0
  84. visier_platform_sdk/models/admin_network_subnets_message_response.py +88 -0
  85. visier_platform_sdk/models/admin_permission_response_dto.py +90 -0
  86. visier_platform_sdk/models/admin_permissions_list_dto.py +96 -0
  87. visier_platform_sdk/models/admin_permissions_to_user_group_for_tenant_dto.py +102 -0
  88. visier_platform_sdk/models/admin_permissions_to_user_group_request_dto.py +90 -0
  89. visier_platform_sdk/models/admin_permissions_to_user_groups_request_dto.py +96 -0
  90. visier_platform_sdk/models/admin_product_release_dto.py +94 -0
  91. visier_platform_sdk/models/admin_product_releases_dto.py +96 -0
  92. visier_platform_sdk/models/admin_product_version_dto.py +92 -0
  93. visier_platform_sdk/models/admin_product_versions_dto.py +96 -0
  94. visier_platform_sdk/models/admin_product_versions_update_failure_tenant_response_dto.py +94 -0
  95. visier_platform_sdk/models/admin_product_versions_update_response_dto.py +106 -0
  96. visier_platform_sdk/models/admin_product_versions_update_successful_tenant_response_dto.py +92 -0
  97. visier_platform_sdk/models/admin_put_project_commits_request.py +88 -0
  98. visier_platform_sdk/models/admin_security_assignment_response_dto.py +96 -0
  99. visier_platform_sdk/models/admin_set_connector_setting_request_dto.py +98 -0
  100. visier_platform_sdk/models/admin_set_connector_setting_response_dto.py +112 -0
  101. visier_platform_sdk/models/admin_set_connector_settings_request_dto.py +96 -0
  102. visier_platform_sdk/models/admin_set_connector_settings_response_dto.py +96 -0
  103. visier_platform_sdk/models/admin_simple_user_dto.py +90 -0
  104. visier_platform_sdk/models/admin_target_project_for_tenant_dto.py +90 -0
  105. visier_platform_sdk/models/admin_target_project_for_tenants_list_dto.py +96 -0
  106. visier_platform_sdk/models/admin_tenant_assignments_dto.py +114 -0
  107. visier_platform_sdk/models/admin_tenant_code_body.py +88 -0
  108. visier_platform_sdk/models/admin_tenant_connector_settings_request_dto.py +98 -0
  109. visier_platform_sdk/models/admin_tenant_detail_apidto.py +130 -0
  110. visier_platform_sdk/models/admin_tenant_details_traits_dto.py +112 -0
  111. visier_platform_sdk/models/admin_tenant_management_api_get_response_dto.py +156 -0
  112. visier_platform_sdk/models/admin_tenant_management_api_list_response_dto.py +100 -0
  113. visier_platform_sdk/models/admin_tenant_management_api_update_request_dto.py +156 -0
  114. visier_platform_sdk/models/admin_tenant_management_api_update_response_dto.py +136 -0
  115. visier_platform_sdk/models/admin_tenant_provision_apidto.py +110 -0
  116. visier_platform_sdk/models/admin_tenant_status_apidto.py +94 -0
  117. visier_platform_sdk/models/admin_update_tenant_model.py +98 -0
  118. visier_platform_sdk/models/admin_user_group_change_definition_dto.py +108 -0
  119. visier_platform_sdk/models/admin_user_group_change_dimension_filter_dto.py +104 -0
  120. visier_platform_sdk/models/admin_user_group_change_failure_dto.py +96 -0
  121. visier_platform_sdk/models/admin_user_group_change_filter_dto.py +100 -0
  122. visier_platform_sdk/models/admin_user_group_change_member_selection_dto.py +90 -0
  123. visier_platform_sdk/models/admin_user_group_change_response_dto.py +106 -0
  124. visier_platform_sdk/models/admin_user_group_change_success_dto.py +94 -0
  125. visier_platform_sdk/models/admin_user_group_change_users_dto.py +105 -0
  126. visier_platform_sdk/models/admin_user_group_delete_dto.py +92 -0
  127. visier_platform_sdk/models/admin_user_group_delete_failure_dto.py +96 -0
  128. visier_platform_sdk/models/admin_user_group_delete_response_dto.py +106 -0
  129. visier_platform_sdk/models/admin_user_group_delete_success_dto.py +92 -0
  130. visier_platform_sdk/models/admin_user_group_filters_dto.py +96 -0
  131. visier_platform_sdk/models/admin_user_group_get_api_response_dto.py +100 -0
  132. visier_platform_sdk/models/admin_user_group_single_delete_response_dto.py +98 -0
  133. visier_platform_sdk/models/admin_user_groups_change_dto.py +96 -0
  134. visier_platform_sdk/models/admin_user_groups_delete_request_dto.py +96 -0
  135. visier_platform_sdk/models/admin_user_groups_get_api_response_dto.py +100 -0
  136. visier_platform_sdk/models/admin_user_groups_users_dto.py +100 -0
  137. visier_platform_sdk/models/admin_user_groups_users_for_tenant_dto.py +98 -0
  138. visier_platform_sdk/models/admin_user_security_assignments_dto.py +100 -0
  139. visier_platform_sdk/models/admin_users_to_user_group_request_dto.py +90 -0
  140. visier_platform_sdk/models/admin_users_to_user_groups_request_dto.py +102 -0
  141. visier_platform_sdk/models/analysis_common_report_create_request_dto.py +90 -0
  142. visier_platform_sdk/models/analysis_common_report_delete_success_dto.py +88 -0
  143. visier_platform_sdk/models/analysis_common_report_dto.py +115 -0
  144. visier_platform_sdk/models/analysis_common_report_list_response_dto.py +96 -0
  145. visier_platform_sdk/models/analysis_common_vee_clarification_dto.py +98 -0
  146. visier_platform_sdk/models/analysis_common_vee_conversation_state_dto.py +88 -0
  147. visier_platform_sdk/models/analysis_common_vee_corrections_dto.py +109 -0
  148. visier_platform_sdk/models/analysis_common_vee_data_dto.py +90 -0
  149. visier_platform_sdk/models/analysis_common_vee_feedback_dto.py +96 -0
  150. visier_platform_sdk/models/analysis_common_vee_options_dto.py +110 -0
  151. visier_platform_sdk/models/analysis_common_vee_question_dto.py +102 -0
  152. visier_platform_sdk/models/analysis_common_vee_response_dto.py +132 -0
  153. visier_platform_sdk/models/analysis_common_vee_response_schema_dto.py +107 -0
  154. visier_platform_sdk/models/analysis_common_vee_response_schema_reference_dto.py +90 -0
  155. visier_platform_sdk/models/analysis_common_vee_sample_question_dto.py +94 -0
  156. visier_platform_sdk/models/analysis_common_vee_sample_question_library_dto.py +96 -0
  157. visier_platform_sdk/models/analysis_common_vee_status_code_dto.py +100 -0
  158. visier_platform_sdk/models/analysis_common_vee_visual_dto.py +92 -0
  159. visier_platform_sdk/models/analysis_common_vee_visual_options_dto.py +90 -0
  160. visier_platform_sdk/models/api_error.py +92 -0
  161. visier_platform_sdk/models/authentication_o_auth2_user_info_dto.py +117 -0
  162. visier_platform_sdk/models/authentication_o_auth2_user_subnet_info_dto.py +100 -0
  163. visier_platform_sdk/models/authentication_o_auth2_user_tenant_detail_dto.py +96 -0
  164. visier_platform_sdk/models/authentication_o_auth2_user_tenant_details_dto.py +96 -0
  165. visier_platform_sdk/models/authentication_o_auth2_user_tenant_properties_dto.py +88 -0
  166. visier_platform_sdk/models/benchmark_info.py +92 -0
  167. visier_platform_sdk/models/benchmark_value.py +108 -0
  168. visier_platform_sdk/models/data_in_assign_connector_credential_request.py +96 -0
  169. visier_platform_sdk/models/data_in_connector.py +98 -0
  170. visier_platform_sdk/models/data_in_data_load_request.py +92 -0
  171. visier_platform_sdk/models/data_in_data_load_request_model.py +90 -0
  172. visier_platform_sdk/models/data_in_data_load_response.py +88 -0
  173. visier_platform_sdk/models/data_in_data_transfer_result_detail.py +94 -0
  174. visier_platform_sdk/models/data_in_data_version_object.py +90 -0
  175. visier_platform_sdk/models/data_in_disable_dv_model.py +96 -0
  176. visier_platform_sdk/models/data_in_disable_dv_request.py +92 -0
  177. visier_platform_sdk/models/data_in_disable_dv_response.py +100 -0
  178. visier_platform_sdk/models/data_in_dispatching_job_status_response.py +94 -0
  179. visier_platform_sdk/models/data_in_exclude_data_uploads_request.py +96 -0
  180. visier_platform_sdk/models/data_in_extraction_job.py +94 -0
  181. visier_platform_sdk/models/data_in_extraction_job_and_status_response.py +104 -0
  182. visier_platform_sdk/models/data_in_include_data_uploads_request.py +96 -0
  183. visier_platform_sdk/models/data_in_job_status_list_response.py +100 -0
  184. visier_platform_sdk/models/data_in_job_status_with_start_time.py +96 -0
  185. visier_platform_sdk/models/data_in_processing_job.py +96 -0
  186. visier_platform_sdk/models/data_in_processing_job_and_status_response.py +104 -0
  187. visier_platform_sdk/models/data_in_processing_job_status_response.py +104 -0
  188. visier_platform_sdk/models/data_in_push_data_cancel_response.py +102 -0
  189. visier_platform_sdk/models/data_in_push_data_complete_request.py +90 -0
  190. visier_platform_sdk/models/data_in_push_data_complete_response.py +104 -0
  191. visier_platform_sdk/models/data_in_push_data_response.py +104 -0
  192. visier_platform_sdk/models/data_in_receiving_job.py +92 -0
  193. visier_platform_sdk/models/data_in_receiving_job_and_status_response.py +104 -0
  194. visier_platform_sdk/models/data_in_receiving_job_status_response.py +104 -0
  195. visier_platform_sdk/models/data_in_result.py +96 -0
  196. visier_platform_sdk/models/data_in_source.py +98 -0
  197. visier_platform_sdk/models/data_in_start_extraction_response.py +88 -0
  198. visier_platform_sdk/models/data_in_start_transfer_response.py +88 -0
  199. visier_platform_sdk/models/data_in_tenant.py +100 -0
  200. visier_platform_sdk/models/data_in_tenant_and_credential.py +90 -0
  201. visier_platform_sdk/models/data_in_upload_to_exclude.py +98 -0
  202. visier_platform_sdk/models/data_in_upload_to_include.py +98 -0
  203. visier_platform_sdk/models/data_out_list_response.py +101 -0
  204. visier_platform_sdk/models/dataservices_common_dimension_member_reference_dto.py +90 -0
  205. visier_platform_sdk/models/dataservices_common_member_values_dto.py +105 -0
  206. visier_platform_sdk/models/dataservices_datamodel_aggregation_type_option_dto.py +96 -0
  207. visier_platform_sdk/models/dataservices_datamodel_aggregation_type_parameter_dto.py +102 -0
  208. visier_platform_sdk/models/dataservices_datamodel_analytic_object_dto.py +130 -0
  209. visier_platform_sdk/models/dataservices_datamodel_analytic_objects_dto.py +96 -0
  210. visier_platform_sdk/models/dataservices_datamodel_currencies_dto.py +96 -0
  211. visier_platform_sdk/models/dataservices_datamodel_currency_dto.py +94 -0
  212. visier_platform_sdk/models/dataservices_datamodel_currency_rate_dto.py +96 -0
  213. visier_platform_sdk/models/dataservices_datamodel_currency_rates_dto.py +96 -0
  214. visier_platform_sdk/models/dataservices_datamodel_dimension_dto.py +120 -0
  215. visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_dto.py +102 -0
  216. visier_platform_sdk/models/dataservices_datamodel_dimension_mapping_validation_execution_dto.py +90 -0
  217. visier_platform_sdk/models/dataservices_datamodel_dimension_reference_dto.py +90 -0
  218. visier_platform_sdk/models/dataservices_datamodel_dimensions_dto.py +96 -0
  219. visier_platform_sdk/models/dataservices_datamodel_level_dto.py +92 -0
  220. visier_platform_sdk/models/dataservices_datamodel_member_dto.py +106 -0
  221. visier_platform_sdk/models/dataservices_datamodel_member_parameter_definition_dto.py +102 -0
  222. visier_platform_sdk/models/dataservices_datamodel_members_dto.py +96 -0
  223. visier_platform_sdk/models/dataservices_datamodel_metric_dto.py +122 -0
  224. visier_platform_sdk/models/dataservices_datamodel_metrics_dto.py +96 -0
  225. visier_platform_sdk/models/dataservices_datamodel_numeric_parameter_definition_dto.py +98 -0
  226. visier_platform_sdk/models/dataservices_datamodel_object_reference_dto.py +110 -0
  227. visier_platform_sdk/models/dataservices_datamodel_parameter_definition_dto.py +110 -0
  228. visier_platform_sdk/models/dataservices_datamodel_plan_parameter_definition_dto.py +94 -0
  229. visier_platform_sdk/models/dataservices_datamodel_planning_concept_filter_context_dto.py +88 -0
  230. visier_platform_sdk/models/dataservices_datamodel_planning_hierarchy_filter_context_dto.py +92 -0
  231. visier_platform_sdk/models/dataservices_datamodel_planning_model_dto.py +92 -0
  232. visier_platform_sdk/models/dataservices_datamodel_planning_models_dto.py +96 -0
  233. visier_platform_sdk/models/dataservices_datamodel_planning_plan_context_dto.py +98 -0
  234. visier_platform_sdk/models/dataservices_datamodel_planning_plan_dto.py +123 -0
  235. visier_platform_sdk/models/dataservices_datamodel_planning_plans_dto.py +96 -0
  236. visier_platform_sdk/models/dataservices_datamodel_population_configuration_dto.py +115 -0
  237. visier_platform_sdk/models/dataservices_datamodel_prediction_dto.py +124 -0
  238. visier_platform_sdk/models/dataservices_datamodel_predictions_dto.py +96 -0
  239. visier_platform_sdk/models/dataservices_datamodel_properties_dto.py +96 -0
  240. visier_platform_sdk/models/dataservices_datamodel_property_dto.py +118 -0
  241. visier_platform_sdk/models/dataservices_datamodel_property_reference_dto.py +90 -0
  242. visier_platform_sdk/models/dataservices_datamodel_scenario_or_snapshot_dto.py +90 -0
  243. visier_platform_sdk/models/dataservices_datamodel_selection_concept_dto.py +106 -0
  244. visier_platform_sdk/models/dataservices_datamodel_selection_concept_reference_dto.py +90 -0
  245. visier_platform_sdk/models/dataservices_datamodel_selection_concepts_dto.py +96 -0
  246. visier_platform_sdk/models/dataservices_datamodel_tag_map_element_dto.py +90 -0
  247. visier_platform_sdk/models/dataservices_datamodel_validity_range_dto.py +90 -0
  248. visier_platform_sdk/models/dataservices_query_aggregation_query_dto.py +128 -0
  249. visier_platform_sdk/models/dataservices_query_aggregation_query_execution_dto.py +98 -0
  250. visier_platform_sdk/models/dataservices_query_aggregation_query_source_dto.py +96 -0
  251. visier_platform_sdk/models/dataservices_query_aggregation_query_source_metric_dto.py +94 -0
  252. visier_platform_sdk/models/dataservices_query_aggregation_query_source_metrics_dto.py +96 -0
  253. visier_platform_sdk/models/dataservices_query_aggregation_type_parameter_value_dto.py +90 -0
  254. visier_platform_sdk/models/dataservices_query_cell_distribution_bin_dto.py +90 -0
  255. visier_platform_sdk/models/dataservices_query_cell_distribution_options_dto.py +88 -0
  256. visier_platform_sdk/models/dataservices_query_cell_dto.py +102 -0
  257. visier_platform_sdk/models/dataservices_query_cell_set_axis_dto.py +102 -0
  258. visier_platform_sdk/models/dataservices_query_cell_set_axis_position_dto.py +92 -0
  259. visier_platform_sdk/models/dataservices_query_cell_set_dto.py +114 -0
  260. visier_platform_sdk/models/dataservices_query_cell_set_or_error_dto.py +98 -0
  261. visier_platform_sdk/models/dataservices_query_cohort_filter_dto.py +100 -0
  262. visier_platform_sdk/models/dataservices_query_internal_query_execution_options_dto.py +100 -0
  263. visier_platform_sdk/models/dataservices_query_key_group_filter_dto.py +96 -0
  264. visier_platform_sdk/models/dataservices_query_key_group_filter_item_dto.py +100 -0
  265. visier_platform_sdk/models/dataservices_query_lineage_dto.py +100 -0
  266. visier_platform_sdk/models/dataservices_query_list_query_execution_dto.py +144 -0
  267. visier_platform_sdk/models/dataservices_query_list_query_execution_options_dto.py +158 -0
  268. visier_platform_sdk/models/dataservices_query_list_query_source_dto.py +94 -0
  269. visier_platform_sdk/models/dataservices_query_member_filter_dto.py +98 -0
  270. visier_platform_sdk/models/dataservices_query_member_parameter_value_dto.py +98 -0
  271. visier_platform_sdk/models/dataservices_query_numeric_parameter_value_dto.py +90 -0
  272. visier_platform_sdk/models/dataservices_query_plan_parameter_value_dto.py +94 -0
  273. visier_platform_sdk/models/dataservices_query_property_column_dto.py +94 -0
  274. visier_platform_sdk/models/dataservices_query_query_axis_dto.py +141 -0
  275. visier_platform_sdk/models/dataservices_query_query_axis_options_dto.py +100 -0
  276. visier_platform_sdk/models/dataservices_query_query_dimension_data_member_selection_dto.py +92 -0
  277. visier_platform_sdk/models/dataservices_query_query_dimension_leaf_selection_dto.py +92 -0
  278. visier_platform_sdk/models/dataservices_query_query_dimension_level_property_dto.py +108 -0
  279. visier_platform_sdk/models/dataservices_query_query_dimension_level_selection_dto.py +96 -0
  280. visier_platform_sdk/models/dataservices_query_query_dimension_member_selection_dto.py +102 -0
  281. visier_platform_sdk/models/dataservices_query_query_execution_error_details_dto.py +94 -0
  282. visier_platform_sdk/models/dataservices_query_query_execution_error_dto.py +100 -0
  283. visier_platform_sdk/models/dataservices_query_query_execution_errors_dto.py +100 -0
  284. visier_platform_sdk/models/dataservices_query_query_execution_options_dto.py +192 -0
  285. visier_platform_sdk/models/dataservices_query_query_filter_dto.py +106 -0
  286. visier_platform_sdk/models/dataservices_query_query_member_map_property_dto.py +94 -0
  287. visier_platform_sdk/models/dataservices_query_query_member_map_selection_dto.py +104 -0
  288. visier_platform_sdk/models/dataservices_query_query_numeric_ranges_dto.py +100 -0
  289. visier_platform_sdk/models/dataservices_query_query_parameter_value_dto.py +110 -0
  290. visier_platform_sdk/models/dataservices_query_query_property_dto.py +120 -0
  291. visier_platform_sdk/models/dataservices_query_query_time_interval_dto.py +134 -0
  292. visier_platform_sdk/models/dataservices_query_query_time_intervals_dto.py +150 -0
  293. visier_platform_sdk/models/dataservices_query_snapshot_query_execution_dto.py +144 -0
  294. visier_platform_sdk/models/dataservices_query_snapshot_query_execution_options_dto.py +134 -0
  295. visier_platform_sdk/models/dataservices_query_sort_option_dto.py +100 -0
  296. visier_platform_sdk/models/dataservices_query_sql_like_query_execution_dto.py +94 -0
  297. visier_platform_sdk/models/dataservices_query_time_shift_dto.py +112 -0
  298. visier_platform_sdk/models/description_entry.py +90 -0
  299. visier_platform_sdk/models/designer_adp_auth_params_dto.py +88 -0
  300. visier_platform_sdk/models/designer_api_analytic_object_filter_dto.py +100 -0
  301. visier_platform_sdk/models/designer_api_calculation_concept_configuration_dto.py +96 -0
  302. visier_platform_sdk/models/designer_api_calculation_concept_configuration_map_dto.py +96 -0
  303. visier_platform_sdk/models/designer_api_calculation_concept_dto.py +96 -0
  304. visier_platform_sdk/models/designer_api_calculation_concept_list_dto.py +96 -0
  305. visier_platform_sdk/models/designer_api_concept_configuration_result_dto.py +92 -0
  306. visier_platform_sdk/models/designer_api_dimension_filter_dto.py +100 -0
  307. visier_platform_sdk/models/designer_api_dimension_member_dto.py +88 -0
  308. visier_platform_sdk/models/designer_api_perspective_configuration_dto.py +100 -0
  309. visier_platform_sdk/models/designer_api_perspective_node_dto.py +100 -0
  310. visier_platform_sdk/models/designer_api_selection_concept_configuration_dto.py +96 -0
  311. visier_platform_sdk/models/designer_api_selection_concept_configuration_map_dto.py +96 -0
  312. visier_platform_sdk/models/designer_api_selection_concept_dto.py +96 -0
  313. visier_platform_sdk/models/designer_api_selection_concept_list_dto.py +96 -0
  314. visier_platform_sdk/models/designer_bamboo_auth_params_dto.py +90 -0
  315. visier_platform_sdk/models/designer_basic_s3_auth_params_dto.py +96 -0
  316. visier_platform_sdk/models/designer_big_query_auth_params_dto.py +104 -0
  317. visier_platform_sdk/models/designer_big_query_service_account_params_dto.py +90 -0
  318. visier_platform_sdk/models/designer_copy_s3_auth_params_dto.py +88 -0
  319. visier_platform_sdk/models/designer_credential_creation_api_response_dto.py +102 -0
  320. visier_platform_sdk/models/designer_crypto_generate_key_request_dto.py +92 -0
  321. visier_platform_sdk/models/designer_crypto_key_pair_delete_response_dto.py +88 -0
  322. visier_platform_sdk/models/designer_crypto_key_pair_generate_request_dto.py +88 -0
  323. visier_platform_sdk/models/designer_crypto_public_key_dto.py +96 -0
  324. visier_platform_sdk/models/designer_crypto_public_keys_dto.py +96 -0
  325. visier_platform_sdk/models/designer_crypto_tenant_encryption_key_details_dto.py +96 -0
  326. visier_platform_sdk/models/designer_crypto_tenant_encryption_key_dto.py +94 -0
  327. visier_platform_sdk/models/designer_data_provider_auth_information_dto.py +104 -0
  328. visier_platform_sdk/models/designer_data_provider_auth_params_dto.py +344 -0
  329. visier_platform_sdk/models/designer_data_provider_basic_information_dto.py +90 -0
  330. visier_platform_sdk/models/designer_data_provider_basic_metadata_dto.py +88 -0
  331. visier_platform_sdk/models/designer_data_version_export_column_dto.py +94 -0
  332. visier_platform_sdk/models/designer_data_version_export_data_version_summary_dto.py +92 -0
  333. visier_platform_sdk/models/designer_data_version_export_data_versions_dto.py +96 -0
  334. visier_platform_sdk/models/designer_data_version_export_dto.py +108 -0
  335. visier_platform_sdk/models/designer_data_version_export_file_dto.py +106 -0
  336. visier_platform_sdk/models/designer_data_version_export_job_status_dto.py +94 -0
  337. visier_platform_sdk/models/designer_data_version_export_part_file_dto.py +90 -0
  338. visier_platform_sdk/models/designer_data_version_export_schedule_job_request_dto.py +90 -0
  339. visier_platform_sdk/models/designer_data_version_export_schedule_job_response_dto.py +88 -0
  340. visier_platform_sdk/models/designer_data_version_export_table_dto.py +101 -0
  341. visier_platform_sdk/models/designer_data_version_exports_dto.py +96 -0
  342. visier_platform_sdk/models/designer_databricks_auth_params_dto.py +94 -0
  343. visier_platform_sdk/models/designer_dayforce_v2_auth_params_dto.py +96 -0
  344. visier_platform_sdk/models/designer_dimensions_auth_params_dto.py +98 -0
  345. visier_platform_sdk/models/designer_download_source_files_dto.py +102 -0
  346. visier_platform_sdk/models/designer_download_source_files_response_dto.py +90 -0
  347. visier_platform_sdk/models/designer_extractor_credential_apidto.py +96 -0
  348. visier_platform_sdk/models/designer_extractor_credentials_apidto.py +100 -0
  349. visier_platform_sdk/models/designer_fusion_auth_params_dto.py +92 -0
  350. visier_platform_sdk/models/designer_gong_auth_params_dto.py +90 -0
  351. visier_platform_sdk/models/designer_google_sheets_auth_params_dto.py +94 -0
  352. visier_platform_sdk/models/designer_google_workspace_auth_params_dto.py +96 -0
  353. visier_platform_sdk/models/designer_greenhouse_auth_params_dto.py +88 -0
  354. visier_platform_sdk/models/designer_icims_auth_params_dto.py +108 -0
  355. visier_platform_sdk/models/designer_internal_s3_auth_params_dto.py +90 -0
  356. visier_platform_sdk/models/designer_jdbc_auth_params_dto.py +92 -0
  357. visier_platform_sdk/models/designer_jira_auth_params_dto.py +96 -0
  358. visier_platform_sdk/models/designer_jira_connect_params_dto.py +92 -0
  359. visier_platform_sdk/models/designer_lever_auth_params_dto.py +88 -0
  360. visier_platform_sdk/models/designer_medallia_auth_params_dto.py +94 -0
  361. visier_platform_sdk/models/designer_microsoft365_auth_params_dto.py +94 -0
  362. visier_platform_sdk/models/designer_module_settings_dto.py +92 -0
  363. visier_platform_sdk/models/designer_my_sql_auth_params_dto.py +98 -0
  364. visier_platform_sdk/models/designer_namely_auth_params_dto.py +88 -0
  365. visier_platform_sdk/models/designer_oracle_db_auth_params_dto.py +96 -0
  366. visier_platform_sdk/models/designer_push_data_column_definition_dto.py +98 -0
  367. visier_platform_sdk/models/designer_push_data_source_definition_dto.py +102 -0
  368. visier_platform_sdk/models/designer_push_data_source_definitions_dto.py +96 -0
  369. visier_platform_sdk/models/designer_qualtrics_auth_params_dto.py +90 -0
  370. visier_platform_sdk/models/designer_redshift_auth_params_dto.py +100 -0
  371. visier_platform_sdk/models/designer_salesforce_auth_params_dto.py +90 -0
  372. visier_platform_sdk/models/designer_salesforce_v2_auth_params_dto.py +94 -0
  373. visier_platform_sdk/models/designer_service_now_auth_params_dto.py +92 -0
  374. visier_platform_sdk/models/designer_service_now_v2_auth_params_dto.py +96 -0
  375. visier_platform_sdk/models/designer_slack_auth_params_dto.py +92 -0
  376. visier_platform_sdk/models/designer_snowflake_auth_params_dto.py +100 -0
  377. visier_platform_sdk/models/designer_sql_server_auth_params_dto.py +96 -0
  378. visier_platform_sdk/models/designer_subject_missing_access_dto.py +102 -0
  379. visier_platform_sdk/models/designer_success_factors_auth_params_dto.py +100 -0
  380. visier_platform_sdk/models/designer_success_factors_o_auth_params_dto.py +92 -0
  381. visier_platform_sdk/models/designer_tenant_module_dto.py +96 -0
  382. visier_platform_sdk/models/designer_ultimate_auth_params_dto.py +96 -0
  383. visier_platform_sdk/models/designer_webhook_webhook_basic_auth_credential_dto.py +90 -0
  384. visier_platform_sdk/models/designer_webhook_webhook_credentials_dto.py +94 -0
  385. visier_platform_sdk/models/designer_webhook_webhook_details_dto.py +104 -0
  386. visier_platform_sdk/models/designer_webhook_webhook_dto.py +96 -0
  387. visier_platform_sdk/models/designer_webhook_webhook_event_type_dto.py +88 -0
  388. visier_platform_sdk/models/designer_webhook_webhook_message_response_dto.py +94 -0
  389. visier_platform_sdk/models/designer_webhook_webhook_request_dto.py +98 -0
  390. visier_platform_sdk/models/designer_webhook_webhooks_dto.py +96 -0
  391. visier_platform_sdk/models/designer_willow_auth_params_dto.py +90 -0
  392. visier_platform_sdk/models/designer_workday_auth_params_dto.py +110 -0
  393. visier_platform_sdk/models/designer_workday_o_auth_params_dto.py +92 -0
  394. visier_platform_sdk/models/designer_workday_raas_auth_params_dto.py +96 -0
  395. visier_platform_sdk/models/designer_workday_refresh_token_params_dto.py +92 -0
  396. visier_platform_sdk/models/designer_zoom_auth_params_dto.py +92 -0
  397. visier_platform_sdk/models/dimension_member.py +139 -0
  398. visier_platform_sdk/models/direct_data_upload_file_response_dto.py +92 -0
  399. visier_platform_sdk/models/dp_automation_metric_validation_summary_dto.py +92 -0
  400. visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_dto.py +102 -0
  401. visier_platform_sdk/models/dp_automation_tenant_preview_entries_summary_list_dto.py +100 -0
  402. visier_platform_sdk/models/dp_cancel_job_batch_from_job_id_dto.py +88 -0
  403. visier_platform_sdk/models/dp_job_cancellation_result_dto.py +110 -0
  404. visier_platform_sdk/models/dp_job_cancellation_results_dto.py +96 -0
  405. visier_platform_sdk/models/dv_export_status.py +96 -0
  406. visier_platform_sdk/models/extracted_skill.py +94 -0
  407. visier_platform_sdk/models/generate_impersonation_token_request.py +88 -0
  408. visier_platform_sdk/models/google_protobuf_any.py +101 -0
  409. visier_platform_sdk/models/hierarchy.py +92 -0
  410. visier_platform_sdk/models/job.py +121 -0
  411. visier_platform_sdk/models/job_entry.py +92 -0
  412. visier_platform_sdk/models/job_feedback_input.py +92 -0
  413. visier_platform_sdk/models/job_search_failure_output.py +94 -0
  414. visier_platform_sdk/models/job_search_input.py +88 -0
  415. visier_platform_sdk/models/job_search_output.py +106 -0
  416. visier_platform_sdk/models/job_standardization_input.py +98 -0
  417. visier_platform_sdk/models/job_standardization_input_skills.py +90 -0
  418. visier_platform_sdk/models/location_search_failure_output.py +96 -0
  419. visier_platform_sdk/models/location_search_input.py +98 -0
  420. visier_platform_sdk/models/location_search_input1.py +92 -0
  421. visier_platform_sdk/models/location_search_output.py +106 -0
  422. visier_platform_sdk/models/location_search_successful_output.py +98 -0
  423. visier_platform_sdk/models/output_entry.py +98 -0
  424. visier_platform_sdk/models/output_entry1.py +98 -0
  425. visier_platform_sdk/models/output_entry1_matches_inner.py +94 -0
  426. visier_platform_sdk/models/plan_data_load_change_dto.py +94 -0
  427. visier_platform_sdk/models/plan_data_load_change_list_dto.py +98 -0
  428. visier_platform_sdk/models/plan_data_upload_response_dto.py +110 -0
  429. visier_platform_sdk/models/plan_row_data_load_response_dto.py +114 -0
  430. visier_platform_sdk/models/planning_get_plan_list_response_dto.py +98 -0
  431. visier_platform_sdk/models/planning_plan_data_load_error_dto.py +92 -0
  432. visier_platform_sdk/models/planning_plan_info_dto.py +106 -0
  433. visier_platform_sdk/models/planning_plan_item_dto.py +102 -0
  434. visier_platform_sdk/models/planning_plan_schema_dto.py +126 -0
  435. visier_platform_sdk/models/planning_plan_segment_level_dto.py +96 -0
  436. visier_platform_sdk/models/planning_plan_segment_level_member_dto.py +94 -0
  437. visier_platform_sdk/models/planning_plan_segment_level_member_list_dto.py +100 -0
  438. visier_platform_sdk/models/planning_plan_time_period_dto.py +90 -0
  439. visier_platform_sdk/models/planning_plan_with_schema_dto.py +108 -0
  440. visier_platform_sdk/models/planning_scenario_info_dto.py +92 -0
  441. visier_platform_sdk/models/salary_benchmark_input.py +100 -0
  442. visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +96 -0
  443. visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +106 -0
  444. visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +110 -0
  445. visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_request_dto.py +102 -0
  446. visier_platform_sdk/models/servicing_accessible_tenant_profile_assignment_response_dto.py +128 -0
  447. visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_request_dto.py +98 -0
  448. visier_platform_sdk/models/servicing_accessible_tenant_profile_revoke_response_dto.py +125 -0
  449. visier_platform_sdk/models/servicing_additional_capabilities_dto.py +88 -0
  450. visier_platform_sdk/models/servicing_admin_capability_config_dto.py +90 -0
  451. visier_platform_sdk/models/servicing_all_permissions_assigned_for_local_tenant_dto.py +96 -0
  452. visier_platform_sdk/models/servicing_all_profile_assigned_for_accessible_tenant_dto.py +96 -0
  453. visier_platform_sdk/models/servicing_all_profile_assigned_for_local_tenant_dto.py +96 -0
  454. visier_platform_sdk/models/servicing_all_user_groups_assigned_for_local_tenant_dto.py +96 -0
  455. visier_platform_sdk/models/servicing_all_users_get_api_response_dto.py +100 -0
  456. visier_platform_sdk/models/servicing_analytic_object_dto.py +132 -0
  457. visier_platform_sdk/models/servicing_assign_revoke_permission_by_permission_dto.py +102 -0
  458. visier_platform_sdk/models/servicing_assign_revoke_permission_by_tenant_dto.py +114 -0
  459. visier_platform_sdk/models/servicing_assign_revoke_permission_by_user_dto.py +92 -0
  460. visier_platform_sdk/models/servicing_assign_revoke_permission_request_dto.py +90 -0
  461. visier_platform_sdk/models/servicing_assign_revoke_permissions_request_dto.py +102 -0
  462. visier_platform_sdk/models/servicing_assign_revoke_permissions_response_dto.py +96 -0
  463. visier_platform_sdk/models/servicing_bulk_data_access_set_response_dto.py +106 -0
  464. visier_platform_sdk/models/servicing_capabilities_dto.py +92 -0
  465. visier_platform_sdk/models/servicing_capability_dto.py +92 -0
  466. visier_platform_sdk/models/servicing_capability_group_dto.py +146 -0
  467. visier_platform_sdk/models/servicing_commit_and_publish_operation_response_dto.py +92 -0
  468. visier_platform_sdk/models/servicing_commit_dto.py +92 -0
  469. visier_platform_sdk/models/servicing_content_package_dto.py +92 -0
  470. visier_platform_sdk/models/servicing_create_data_access_set_request_dto.py +96 -0
  471. visier_platform_sdk/models/servicing_data_access_set_dto.py +104 -0
  472. visier_platform_sdk/models/servicing_data_access_set_error_dto.py +90 -0
  473. visier_platform_sdk/models/servicing_data_access_set_failure_dto.py +96 -0
  474. visier_platform_sdk/models/servicing_data_access_set_success_dto.py +90 -0
  475. visier_platform_sdk/models/servicing_data_categories_response_dto.py +96 -0
  476. visier_platform_sdk/models/servicing_data_category_response_dto.py +90 -0
  477. visier_platform_sdk/models/servicing_data_security_profile_dto.py +134 -0
  478. visier_platform_sdk/models/servicing_delete_permissions_request_dto.py +88 -0
  479. visier_platform_sdk/models/servicing_dimension_filter_dto.py +98 -0
  480. visier_platform_sdk/models/servicing_direct_data_job_config_dto.py +100 -0
  481. visier_platform_sdk/models/servicing_direct_data_job_status_response_dto.py +96 -0
  482. visier_platform_sdk/models/servicing_direct_data_list_transactions_response_dto.py +96 -0
  483. visier_platform_sdk/models/servicing_direct_data_load_config_dto.py +92 -0
  484. visier_platform_sdk/models/servicing_direct_data_schema_dto.py +96 -0
  485. visier_platform_sdk/models/servicing_direct_data_schema_field_dto.py +96 -0
  486. visier_platform_sdk/models/servicing_direct_data_transaction_dto.py +96 -0
  487. visier_platform_sdk/models/servicing_direct_data_transaction_start_response_dto.py +88 -0
  488. visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +92 -0
  489. visier_platform_sdk/models/servicing_document_search_link_dto.py +90 -0
  490. visier_platform_sdk/models/servicing_dynamic_dimension_filter_dto.py +112 -0
  491. visier_platform_sdk/models/servicing_dynamic_property_mapping_dto.py +106 -0
  492. visier_platform_sdk/models/servicing_error_dto.py +92 -0
  493. visier_platform_sdk/models/servicing_export_production_versions_api_operation_parameters_dto.py +92 -0
  494. visier_platform_sdk/models/servicing_failed_accessible_tenant_profile_assignment_dto.py +98 -0
  495. visier_platform_sdk/models/servicing_failed_local_tenant_profile_assignment_dto.py +94 -0
  496. visier_platform_sdk/models/servicing_failed_local_tenant_profile_revoke_dto.py +90 -0
  497. visier_platform_sdk/models/servicing_get_capabilities_api_response_dto.py +96 -0
  498. visier_platform_sdk/models/servicing_get_content_packages_api_response_dto.py +96 -0
  499. visier_platform_sdk/models/servicing_get_data_access_sets_api_response_dto.py +96 -0
  500. visier_platform_sdk/models/servicing_get_data_security_objects_api_response_dto.py +96 -0
  501. visier_platform_sdk/models/servicing_get_permissions_api_response_dto.py +96 -0
  502. visier_platform_sdk/models/servicing_get_production_versions_api_response_dto.py +96 -0
  503. visier_platform_sdk/models/servicing_get_projects_api_response_dto.py +123 -0
  504. visier_platform_sdk/models/servicing_hierarchy_property_dto.py +90 -0
  505. visier_platform_sdk/models/servicing_inherited_access_config_dto.py +100 -0
  506. visier_platform_sdk/models/servicing_inherited_reference_member_filter_config_dto.py +90 -0
  507. visier_platform_sdk/models/servicing_job_id_response.py +88 -0
  508. visier_platform_sdk/models/servicing_last_login_dto.py +88 -0
  509. visier_platform_sdk/models/servicing_local_tenant_profile_assignment_request_dto.py +92 -0
  510. visier_platform_sdk/models/servicing_local_tenant_profile_assignment_response_dto.py +118 -0
  511. visier_platform_sdk/models/servicing_local_tenant_profile_revoke_request_dto.py +88 -0
  512. visier_platform_sdk/models/servicing_local_tenant_profile_revoke_response_dto.py +106 -0
  513. visier_platform_sdk/models/servicing_member_filter_config_dto.py +96 -0
  514. visier_platform_sdk/models/servicing_member_selection_dto.py +102 -0
  515. visier_platform_sdk/models/servicing_objectconfiguration_calculated_property_type_dto.py +90 -0
  516. visier_platform_sdk/models/servicing_objectconfiguration_dependent_dto.py +92 -0
  517. visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definition_dto.py +94 -0
  518. visier_platform_sdk/models/servicing_objectconfiguration_dimension_change_definitions_by_tenant_dto.py +100 -0
  519. visier_platform_sdk/models/servicing_objectconfiguration_dimensions_change_definitions_dto.py +96 -0
  520. visier_platform_sdk/models/servicing_objectconfiguration_object_change_failure_dto.py +98 -0
  521. visier_platform_sdk/models/servicing_objectconfiguration_object_change_success_dto.py +94 -0
  522. visier_platform_sdk/models/servicing_objectconfiguration_objects_bulk_change_response_dto.py +106 -0
  523. visier_platform_sdk/models/servicing_objectconfiguration_properties_change_definitions_dto.py +96 -0
  524. visier_platform_sdk/models/servicing_objectconfiguration_properties_delete_definitions_dto.py +100 -0
  525. visier_platform_sdk/models/servicing_objectconfiguration_property_bulk_delete_response_dto.py +106 -0
  526. visier_platform_sdk/models/servicing_objectconfiguration_property_change_definition_dto.py +112 -0
  527. visier_platform_sdk/models/servicing_objectconfiguration_property_change_definitions_by_tenant_dto.py +100 -0
  528. visier_platform_sdk/models/servicing_objectconfiguration_property_delete_definitions_by_tenant_dto.py +92 -0
  529. visier_platform_sdk/models/servicing_objectconfiguration_property_delete_failure_dto.py +117 -0
  530. visier_platform_sdk/models/servicing_objectconfiguration_property_delete_success_dto.py +113 -0
  531. visier_platform_sdk/models/servicing_objectconfiguration_property_type_dto.py +98 -0
  532. visier_platform_sdk/models/servicing_objectconfiguration_simple_property_type_dto.py +88 -0
  533. visier_platform_sdk/models/servicing_objectconfiguration_tags_dto.py +88 -0
  534. visier_platform_sdk/models/servicing_permission_assigned_by_tenant_dto.py +98 -0
  535. visier_platform_sdk/models/servicing_permission_assigned_for_local_tenant_dto.py +92 -0
  536. visier_platform_sdk/models/servicing_permission_assigned_user_dto.py +92 -0
  537. visier_platform_sdk/models/servicing_permission_assigned_users_dto.py +100 -0
  538. visier_platform_sdk/models/servicing_permission_bulk_operation_response_dto.py +106 -0
  539. visier_platform_sdk/models/servicing_permission_dto.py +114 -0
  540. visier_platform_sdk/models/servicing_permission_error_dto.py +90 -0
  541. visier_platform_sdk/models/servicing_permission_failure_dto.py +96 -0
  542. visier_platform_sdk/models/servicing_permission_success_dto.py +90 -0
  543. visier_platform_sdk/models/servicing_production_version_api_operation_request_dto.py +98 -0
  544. visier_platform_sdk/models/servicing_production_version_api_operation_response_dto.py +92 -0
  545. visier_platform_sdk/models/servicing_production_versions_api_operation_request_dto.py +104 -0
  546. visier_platform_sdk/models/servicing_production_versions_api_operation_response_dto.py +88 -0
  547. visier_platform_sdk/models/servicing_profile_assigned_for_accessible_tenant_dto.py +98 -0
  548. visier_platform_sdk/models/servicing_profile_assigned_for_local_tenant_dto.py +110 -0
  549. visier_platform_sdk/models/servicing_profile_get_api_response_dto.py +102 -0
  550. visier_platform_sdk/models/servicing_profiles_get_api_response_dto.py +96 -0
  551. visier_platform_sdk/models/servicing_project_commits_api_response_dto.py +96 -0
  552. visier_platform_sdk/models/servicing_project_dto.py +111 -0
  553. visier_platform_sdk/models/servicing_project_operation_request_dto.py +98 -0
  554. visier_platform_sdk/models/servicing_project_operation_response_dto.py +92 -0
  555. visier_platform_sdk/models/servicing_property_access_config_dto.py +116 -0
  556. visier_platform_sdk/models/servicing_property_set_config_dto.py +102 -0
  557. visier_platform_sdk/models/servicing_question_categories_api_response_dto.py +96 -0
  558. visier_platform_sdk/models/servicing_question_category_api_response_dto.py +90 -0
  559. visier_platform_sdk/models/servicing_reduced_error_dto.py +88 -0
  560. visier_platform_sdk/models/servicing_reduced_tenant_code_error_dto.py +96 -0
  561. visier_platform_sdk/models/servicing_reduced_user_id_error_dto.py +94 -0
  562. visier_platform_sdk/models/servicing_related_analytic_object_dto.py +90 -0
  563. visier_platform_sdk/models/servicing_role_modules_config_dto.py +88 -0
  564. visier_platform_sdk/models/servicing_sample_question_api_response_dto.py +100 -0
  565. visier_platform_sdk/models/servicing_sample_questions_api_response_dto.py +96 -0
  566. visier_platform_sdk/models/servicing_securable_dimension_dto.py +102 -0
  567. visier_platform_sdk/models/servicing_securable_property_dto.py +96 -0
  568. visier_platform_sdk/models/servicing_servicing_capability_proto_enum_access_lookup_dto.py +96 -0
  569. visier_platform_sdk/models/servicing_shareable_data_access_set.py +88 -0
  570. visier_platform_sdk/models/servicing_simple_document_header_search_response_dto.py +96 -0
  571. visier_platform_sdk/models/servicing_simple_document_header_search_result_dto.py +98 -0
  572. visier_platform_sdk/models/servicing_sources_api_operation_request_dto.py +98 -0
  573. visier_platform_sdk/models/servicing_static_dimension_filter_dto.py +112 -0
  574. visier_platform_sdk/models/servicing_successful_accessible_tenant_profile_assignment_dto.py +92 -0
  575. visier_platform_sdk/models/servicing_successful_local_tenant_profile_assignment_dto.py +88 -0
  576. visier_platform_sdk/models/servicing_target_tenant_code_dto.py +90 -0
  577. visier_platform_sdk/models/servicing_tenant_code_error_dto.py +96 -0
  578. visier_platform_sdk/models/servicing_tenant_data_upload_status_response_dto.py +90 -0
  579. visier_platform_sdk/models/servicing_tenant_data_upload_update_status_response_dto.py +94 -0
  580. visier_platform_sdk/models/servicing_tenant_data_uploads_list_response_dto.py +100 -0
  581. visier_platform_sdk/models/servicing_tenant_data_uploads_response_dto.py +98 -0
  582. visier_platform_sdk/models/servicing_tenant_data_uploads_update_response_dto.py +100 -0
  583. visier_platform_sdk/models/servicing_user_creation_api_request_dto.py +96 -0
  584. visier_platform_sdk/models/servicing_user_get_api_response_dto.py +122 -0
  585. visier_platform_sdk/models/servicing_user_group_assigned_for_local_tenant_dto.py +90 -0
  586. visier_platform_sdk/models/servicing_user_group_assignment_dto.py +88 -0
  587. visier_platform_sdk/models/servicing_user_id_error_dto.py +94 -0
  588. visier_platform_sdk/models/servicing_user_property_dto.py +88 -0
  589. visier_platform_sdk/models/servicing_user_update_api_request_dto.py +96 -0
  590. visier_platform_sdk/models/servicing_users_api_error_message_dto.py +90 -0
  591. visier_platform_sdk/models/servicing_users_api_failure_dto.py +98 -0
  592. visier_platform_sdk/models/servicing_users_api_response_dto.py +106 -0
  593. visier_platform_sdk/models/servicing_users_api_success_dto.py +98 -0
  594. visier_platform_sdk/models/servicing_users_creation_api_request_dto.py +96 -0
  595. visier_platform_sdk/models/servicing_users_delete_api_request_dto.py +88 -0
  596. visier_platform_sdk/models/servicing_users_update_api_request_dto.py +96 -0
  597. visier_platform_sdk/models/servicing_users_update_api_user_dto.py +98 -0
  598. visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_definition_dto.py +102 -0
  599. visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_request_dto.py +96 -0
  600. visier_platform_sdk/models/servicing_v2_objectconfiguration_analytic_object_with_context_dto.py +98 -0
  601. visier_platform_sdk/models/servicing_v2_objectconfiguration_basic_information_dto.py +102 -0
  602. visier_platform_sdk/models/servicing_v2_objectconfiguration_bulk_change_response_dto.py +106 -0
  603. visier_platform_sdk/models/servicing_v2_objectconfiguration_calculated_property_type_dto.py +92 -0
  604. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_definition_dto.py +102 -0
  605. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_request_dto.py +96 -0
  606. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_delete_with_context_dto.py +98 -0
  607. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_request_dto.py +96 -0
  608. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_response_dto.py +96 -0
  609. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_type_details_dto.py +92 -0
  610. visier_platform_sdk/models/servicing_v2_objectconfiguration_concept_with_context_dto.py +98 -0
  611. visier_platform_sdk/models/servicing_v2_objectconfiguration_execution_context_dto.py +90 -0
  612. visier_platform_sdk/models/servicing_v2_objectconfiguration_failed_change_dto.py +100 -0
  613. visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_definition_dto.py +114 -0
  614. visier_platform_sdk/models/servicing_v2_objectconfiguration_metric_type_details_dto.py +92 -0
  615. visier_platform_sdk/models/servicing_v2_objectconfiguration_object_id_dto.py +90 -0
  616. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_definition_dto.py +128 -0
  617. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_dto.py +90 -0
  618. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_member_list_dto.py +96 -0
  619. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_definition_dto.py +92 -0
  620. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_metric_list_dto.py +96 -0
  621. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_dto.py +114 -0
  622. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_outcome_list_dto.py +96 -0
  623. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_list_dto.py +96 -0
  624. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_property_type_dto.py +92 -0
  625. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_dto.py +102 -0
  626. visier_platform_sdk/models/servicing_v2_objectconfiguration_process_concept_stage_list_dto.py +96 -0
  627. visier_platform_sdk/models/servicing_v2_objectconfiguration_property_definition_dto.py +102 -0
  628. visier_platform_sdk/models/servicing_v2_objectconfiguration_property_type_details_dto.py +104 -0
  629. visier_platform_sdk/models/servicing_v2_objectconfiguration_simple_property_type_dto.py +90 -0
  630. visier_platform_sdk/models/servicing_v2_objectconfiguration_successful_change_dto.py +98 -0
  631. visier_platform_sdk/models/servicing_v2_objectconfiguration_synonym_list_dto.py +88 -0
  632. visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_dto.py +88 -0
  633. visier_platform_sdk/models/servicing_v2_objectconfiguration_tag_reference_list_dto.py +96 -0
  634. visier_platform_sdk/models/servicing_vee_question_change_definition_dto.py +100 -0
  635. visier_platform_sdk/models/servicing_vee_question_change_definitions_by_tenant_dto.py +100 -0
  636. visier_platform_sdk/models/servicing_vee_question_change_failure_dto.py +106 -0
  637. visier_platform_sdk/models/servicing_vee_question_change_success_dto.py +104 -0
  638. visier_platform_sdk/models/servicing_vee_question_delete_definitions_by_tenant_dto.py +92 -0
  639. visier_platform_sdk/models/servicing_vee_questions_bulk_change_response_dto.py +106 -0
  640. visier_platform_sdk/models/servicing_vee_questions_change_definitions_dto.py +96 -0
  641. visier_platform_sdk/models/servicing_vee_questions_delete_definitions_dto.py +96 -0
  642. visier_platform_sdk/models/skill.py +106 -0
  643. visier_platform_sdk/models/skill_category.py +102 -0
  644. visier_platform_sdk/models/skill_category_entry.py +92 -0
  645. visier_platform_sdk/models/skill_entry.py +92 -0
  646. visier_platform_sdk/models/skill_extraction_input.py +93 -0
  647. visier_platform_sdk/models/skill_group.py +104 -0
  648. visier_platform_sdk/models/skill_group_entry.py +92 -0
  649. visier_platform_sdk/models/skill_match_input.py +91 -0
  650. visier_platform_sdk/models/source_import_result_summary_dto.py +94 -0
  651. visier_platform_sdk/models/sources_api_put_response_dto.py +92 -0
  652. visier_platform_sdk/models/sql_like200_response.py +138 -0
  653. visier_platform_sdk/models/status.py +96 -0
  654. visier_platform_sdk/models/systemstatus_system_status_dto.py +88 -0
  655. visier_platform_sdk/models/systemstatus_vee_status_dto.py +88 -0
  656. visier_platform_sdk/models/table_response_dto.py +90 -0
  657. visier_platform_sdk/models/token_response.py +96 -0
  658. visier_platform_sdk/models/user_creation_api_response_dto.py +98 -0
  659. visier_platform_sdk/py.typed +0 -0
  660. visier_platform_sdk/rest.py +259 -0
  661. visier_platform_sdk-22222222.99201.1892b3.dist-info/METADATA +25 -0
  662. visier_platform_sdk-22222222.99201.1892b3.dist-info/RECORD +664 -0
  663. visier_platform_sdk-22222222.99201.1892b3.dist-info/WHEEL +5 -0
  664. visier_platform_sdk-22222222.99201.1892b3.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.99201.1892
9
+ Contact: alpine@visier.com
10
+ Generated by OpenAPI Generator (https://openapi-generator.tech)
11
+
12
+ Do not edit the class manually.
13
+ """ # noqa: E501
14
+
15
+ import warnings
16
+ from pydantic import validate_call, Field, StrictFloat, StrictStr, StrictInt
17
+ from typing import Any, Dict, List, Optional, Tuple, Union
18
+ from typing_extensions import Annotated
19
+
20
+ from pydantic import Field, StrictInt, StrictStr
21
+ from typing import List, Optional
22
+ from typing_extensions import Annotated
23
+ from visier_platform_sdk.models.admin_put_project_commits_request import AdminPutProjectCommitsRequest
24
+ from visier_platform_sdk.models.servicing_get_projects_api_response_dto import ServicingGetProjectsAPIResponseDTO
25
+ from visier_platform_sdk.models.servicing_project_commits_api_response_dto import ServicingProjectCommitsAPIResponseDTO
26
+ from visier_platform_sdk.models.servicing_project_dto import ServicingProjectDTO
27
+ from visier_platform_sdk.models.servicing_project_operation_request_dto import ServicingProjectOperationRequestDTO
28
+ from visier_platform_sdk.models.servicing_project_operation_response_dto import ServicingProjectOperationResponseDTO
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
+ servicing_project_dto: ServicingProjectDTO,
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
+ ) -> ServicingProjectDTO:
66
+ """Create a new draft project
67
+
68
+ Create a new draft project in the tenant.
69
+
70
+ :param servicing_project_dto: (required)
71
+ :type servicing_project_dto: ServicingProjectDTO
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
+ servicing_project_dto=servicing_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': "ServicingProjectDTO",
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
+ servicing_project_dto: ServicingProjectDTO,
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[ServicingProjectDTO]:
137
+ """Create a new draft project
138
+
139
+ Create a new draft project in the tenant.
140
+
141
+ :param servicing_project_dto: (required)
142
+ :type servicing_project_dto: ServicingProjectDTO
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
+ servicing_project_dto=servicing_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': "ServicingProjectDTO",
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
+ servicing_project_dto: ServicingProjectDTO,
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 servicing_project_dto: (required)
213
+ :type servicing_project_dto: ServicingProjectDTO
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
+ servicing_project_dto=servicing_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': "ServicingProjectDTO",
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
+ servicing_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 servicing_project_dto is not None:
289
+ _body_params = servicing_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
+ ) -> ServicingProjectDTO:
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': "ServicingProjectDTO",
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[ServicingProjectDTO]:
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': "ServicingProjectDTO",
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': "ServicingProjectDTO",
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
+ ) -> ServicingProjectDTO:
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': "ServicingProjectDTO",
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[ServicingProjectDTO]:
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': "ServicingProjectDTO",
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': "ServicingProjectDTO",
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
+ ) -> ServicingProjectCommitsAPIResponseDTO:
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': "ServicingProjectCommitsAPIResponseDTO",
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[ServicingProjectCommitsAPIResponseDTO]:
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': "ServicingProjectCommitsAPIResponseDTO",
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': "ServicingProjectCommitsAPIResponseDTO",
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
+ ) -> ServicingGetProjectsAPIResponseDTO:
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': "ServicingGetProjectsAPIResponseDTO",
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[ServicingGetProjectsAPIResponseDTO]:
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': "ServicingGetProjectsAPIResponseDTO",
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': "ServicingGetProjectsAPIResponseDTO",
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
+ admin_put_project_commits_request: AdminPutProjectCommitsRequest,
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
+ ) -> ServicingProjectCommitsAPIResponseDTO:
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 admin_put_project_commits_request: (required)
1541
+ :type admin_put_project_commits_request: AdminPutProjectCommitsRequest
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
+ admin_put_project_commits_request=admin_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': "ServicingProjectCommitsAPIResponseDTO",
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
+ admin_put_project_commits_request: AdminPutProjectCommitsRequest,
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[ServicingProjectCommitsAPIResponseDTO]:
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 admin_put_project_commits_request: (required)
1616
+ :type admin_put_project_commits_request: AdminPutProjectCommitsRequest
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
+ admin_put_project_commits_request=admin_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': "ServicingProjectCommitsAPIResponseDTO",
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
+ admin_put_project_commits_request: AdminPutProjectCommitsRequest,
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 admin_put_project_commits_request: (required)
1691
+ :type admin_put_project_commits_request: AdminPutProjectCommitsRequest
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
+ admin_put_project_commits_request=admin_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': "ServicingProjectCommitsAPIResponseDTO",
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
+ admin_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 admin_put_project_commits_request is not None:
1771
+ _body_params = admin_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
+ servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO,
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
+ ) -> ServicingProjectOperationResponseDTO:
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 servicing_project_operation_request_dto: (required)
1849
+ :type servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO
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
+ servicing_project_operation_request_dto=servicing_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': "ServicingProjectOperationResponseDTO",
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
+ servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO,
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[ServicingProjectOperationResponseDTO]:
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 servicing_project_operation_request_dto: (required)
1924
+ :type servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO
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
+ servicing_project_operation_request_dto=servicing_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': "ServicingProjectOperationResponseDTO",
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
+ servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO,
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 servicing_project_operation_request_dto: (required)
1999
+ :type servicing_project_operation_request_dto: ServicingProjectOperationRequestDTO
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
+ servicing_project_operation_request_dto=servicing_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': "ServicingProjectOperationResponseDTO",
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
+ servicing_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 servicing_project_operation_request_dto is not None:
2079
+ _body_params = servicing_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
+