visier-platform-sdk 22222222.99201.2243__py3-none-any.whl → 22222222.99201.2263__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 (839) hide show
  1. visier_platform_sdk/__init__.py +40 -2
  2. visier_platform_sdk/api/__init__.py +1 -0
  3. visier_platform_sdk/api/analytic_objects_v2_api.py +1 -1
  4. visier_platform_sdk/api/basic_authentication_api.py +1 -1
  5. visier_platform_sdk/api/benchmarks_api.py +1 -1
  6. visier_platform_sdk/api/concepts_v2_api.py +1 -1
  7. visier_platform_sdk/api/consolidated_analytics_api.py +1 -1
  8. visier_platform_sdk/api/data_and_job_handling_api.py +1 -1
  9. visier_platform_sdk/api/data_intake_api.py +1 -1
  10. visier_platform_sdk/api/data_model_api.py +1 -1
  11. visier_platform_sdk/api/data_query_api.py +1 -1
  12. visier_platform_sdk/api/data_upload_api.py +1 -1
  13. visier_platform_sdk/api/data_version_export_api.py +1 -1
  14. visier_platform_sdk/api/dimensions_api.py +1 -1
  15. visier_platform_sdk/api/dimensions_v2_api.py +1 -1
  16. visier_platform_sdk/api/direct_data_intake_api.py +1 -1
  17. visier_platform_sdk/api/email_domains_api.py +1 -1
  18. visier_platform_sdk/api/encryption_keys_api.py +1 -1
  19. visier_platform_sdk/api/jobs_library_api.py +1 -1
  20. visier_platform_sdk/api/metrics_v2_api.py +1 -1
  21. visier_platform_sdk/api/network_subnets_api.py +1 -1
  22. visier_platform_sdk/api/o_auth2_api.py +1 -1
  23. visier_platform_sdk/api/object_configuration_api.py +1 -1
  24. visier_platform_sdk/api/permissions_api.py +1 -1
  25. visier_platform_sdk/api/personalized_alerts_api.py +1 -1
  26. visier_platform_sdk/api/pgp_keys_api.py +1 -1
  27. visier_platform_sdk/api/plan_administration_api.py +1 -1
  28. visier_platform_sdk/api/plan_data_load_api.py +1 -1
  29. visier_platform_sdk/api/production_versions_api.py +1 -1
  30. visier_platform_sdk/api/profiles_api.py +1 -1
  31. visier_platform_sdk/api/projects_api.py +1 -1
  32. visier_platform_sdk/api/release_version_configuration_api.py +1 -1
  33. visier_platform_sdk/api/reporting_api.py +1 -1
  34. visier_platform_sdk/api/search_api.py +1 -1
  35. visier_platform_sdk/api/sidecar_solutions_api.py +1 -1
  36. visier_platform_sdk/api/skills_library_api.py +1 -1
  37. visier_platform_sdk/api/source_files_download_api.py +1 -1
  38. visier_platform_sdk/api/sources_api.py +1 -1
  39. visier_platform_sdk/api/system_status_api.py +1 -1
  40. visier_platform_sdk/api/table_source_api.py +2976 -0
  41. visier_platform_sdk/api/tenants_v1_api.py +1 -1
  42. visier_platform_sdk/api/tenants_v2_api.py +1 -1
  43. visier_platform_sdk/api/user_groups_v2_api.py +1 -1
  44. visier_platform_sdk/api/users_v1_api.py +1 -1
  45. visier_platform_sdk/api/users_v2_api.py +1 -1
  46. visier_platform_sdk/api/users_v3_api.py +1 -1
  47. visier_platform_sdk/api/vee_api.py +1 -1
  48. visier_platform_sdk/api/webhooks_api.py +1 -1
  49. visier_platform_sdk/api_client.py +2 -2
  50. visier_platform_sdk/configuration.py +3 -3
  51. visier_platform_sdk/exceptions.py +1 -1
  52. visier_platform_sdk/models/__init__.py +19 -1
  53. visier_platform_sdk/models/accessible_tenant_profile_assignment_request_dto.py +1 -1
  54. visier_platform_sdk/models/accessible_tenant_profile_assignment_response_dto.py +1 -1
  55. visier_platform_sdk/models/accessible_tenant_profile_revoke_request_dto.py +1 -1
  56. visier_platform_sdk/models/accessible_tenant_profile_revoke_response_dto.py +1 -1
  57. visier_platform_sdk/models/additional_capabilities_dto.py +1 -1
  58. visier_platform_sdk/models/admin_capability_config_dto.py +1 -1
  59. visier_platform_sdk/models/adp_auth_params_dto.py +1 -1
  60. visier_platform_sdk/models/aggregate_query_execution_options_dto.py +1 -1
  61. visier_platform_sdk/models/aggregation_query_dto.py +1 -1
  62. visier_platform_sdk/models/aggregation_query_execution_dto.py +1 -1
  63. visier_platform_sdk/models/aggregation_query_source_dto.py +1 -1
  64. visier_platform_sdk/models/aggregation_query_source_metric_dto.py +1 -1
  65. visier_platform_sdk/models/aggregation_query_source_metrics_dto.py +1 -1
  66. visier_platform_sdk/models/aggregation_type_option_dto.py +1 -1
  67. visier_platform_sdk/models/aggregation_type_parameter_dto.py +1 -1
  68. visier_platform_sdk/models/aggregation_type_parameter_value_dto.py +1 -1
  69. visier_platform_sdk/models/all_permissions_assigned_for_local_tenant_dto.py +1 -1
  70. visier_platform_sdk/models/all_profile_assigned_for_accessible_tenant_dto.py +1 -1
  71. visier_platform_sdk/models/all_profile_assigned_for_local_tenant_dto.py +1 -1
  72. visier_platform_sdk/models/all_tenants_status_apidto.py +1 -1
  73. visier_platform_sdk/models/all_user_groups_assigned_for_local_tenant_dto.py +1 -1
  74. visier_platform_sdk/models/all_users_get_api_response_dto.py +1 -1
  75. visier_platform_sdk/models/analytic_object_definition_dto.py +1 -1
  76. visier_platform_sdk/models/analytic_object_delete_request_dto.py +1 -1
  77. visier_platform_sdk/models/analytic_object_delete_with_context_dto.py +1 -1
  78. visier_platform_sdk/models/analytic_object_details_dto.py +1 -1
  79. visier_platform_sdk/models/analytic_object_dto.py +1 -1
  80. visier_platform_sdk/models/analytic_object_filter_dto.py +1 -1
  81. visier_platform_sdk/models/analytic_object_filter_list_dto.py +1 -1
  82. visier_platform_sdk/models/analytic_object_names_dto.py +1 -1
  83. visier_platform_sdk/models/analytic_object_reference_dto.py +1 -1
  84. visier_platform_sdk/models/analytic_object_reference_list_dto.py +1 -1
  85. visier_platform_sdk/models/analytic_object_request_dto.py +1 -1
  86. visier_platform_sdk/models/analytic_object_response_dto.py +1 -1
  87. visier_platform_sdk/models/analytic_object_revert_request_dto.py +1 -1
  88. visier_platform_sdk/models/analytic_object_revert_with_context_dto.py +1 -1
  89. visier_platform_sdk/models/analytic_object_with_context_dto.py +1 -1
  90. visier_platform_sdk/models/analytic_objects_dto.py +1 -1
  91. visier_platform_sdk/models/any.py +1 -1
  92. visier_platform_sdk/models/api_error.py +1 -1
  93. visier_platform_sdk/models/assign_connector_credential_request.py +1 -1
  94. visier_platform_sdk/models/assign_connector_credentials_by_tenant_response_dto.py +1 -1
  95. visier_platform_sdk/models/assign_connector_credentials_response_dto.py +1 -1
  96. visier_platform_sdk/models/assign_connector_with_credentials_response_dto.py +1 -1
  97. visier_platform_sdk/models/assign_revoke_permission_by_permission_dto.py +1 -1
  98. visier_platform_sdk/models/assign_revoke_permission_by_tenant_dto.py +1 -1
  99. visier_platform_sdk/models/assign_revoke_permission_by_user_dto.py +1 -1
  100. visier_platform_sdk/models/assign_revoke_permission_request_dto.py +1 -1
  101. visier_platform_sdk/models/assign_revoke_permissions_request_dto.py +1 -1
  102. visier_platform_sdk/models/assign_revoke_permissions_response_dto.py +1 -1
  103. visier_platform_sdk/models/assigned_credential_info_response_dto.py +1 -1
  104. visier_platform_sdk/models/bamboo_auth_params_dto.py +1 -1
  105. visier_platform_sdk/models/basic_information_dto.py +1 -1
  106. visier_platform_sdk/models/basic_s3_auth_params_dto.py +1 -1
  107. visier_platform_sdk/models/batch_tenant_provision_apidto.py +1 -1
  108. visier_platform_sdk/models/benchmark_info.py +1 -1
  109. visier_platform_sdk/models/benchmark_value.py +1 -1
  110. visier_platform_sdk/models/between_rule_dto.py +1 -1
  111. visier_platform_sdk/models/big_query_auth_params_dto.py +1 -1
  112. visier_platform_sdk/models/big_query_service_account_params_dto.py +1 -1
  113. visier_platform_sdk/models/bulk_change_response_dto.py +1 -1
  114. visier_platform_sdk/models/bulk_data_access_set_request_dto.py +1 -1
  115. visier_platform_sdk/models/bulk_data_access_set_response_dto.py +1 -1
  116. visier_platform_sdk/models/business_location_dto.py +1 -1
  117. visier_platform_sdk/models/calculated_property_type_dto.py +1 -1
  118. visier_platform_sdk/models/calculated_selection_concept_dto.py +1 -1
  119. visier_platform_sdk/models/calculation_concept_configuration_dto.py +1 -1
  120. visier_platform_sdk/models/calculation_concept_configuration_map_dto.py +1 -1
  121. visier_platform_sdk/models/calculation_concept_dto.py +1 -1
  122. visier_platform_sdk/models/calculation_concept_list_dto.py +1 -1
  123. visier_platform_sdk/models/cancel_job_batch_from_job_id_dto.py +1 -1
  124. visier_platform_sdk/models/capabilities_dto.py +1 -1
  125. visier_platform_sdk/models/capability_dto.py +1 -1
  126. visier_platform_sdk/models/capability_group_dto.py +1 -1
  127. visier_platform_sdk/models/caption_dto.py +1 -1
  128. visier_platform_sdk/models/caption_list_dto.py +1 -1
  129. visier_platform_sdk/models/career_level_search_failure_output.py +1 -1
  130. visier_platform_sdk/models/career_level_search_input.py +1 -1
  131. visier_platform_sdk/models/career_level_search_output.py +1 -1
  132. visier_platform_sdk/models/career_level_search_successful_output.py +1 -1
  133. visier_platform_sdk/models/category_icon_dto.py +1 -1
  134. visier_platform_sdk/models/cell_distribution_bin_dto.py +1 -1
  135. visier_platform_sdk/models/cell_distribution_options_dto.py +1 -1
  136. visier_platform_sdk/models/cell_dto.py +1 -1
  137. visier_platform_sdk/models/cell_set_axis_dto.py +1 -1
  138. visier_platform_sdk/models/cell_set_axis_position_dto.py +1 -1
  139. visier_platform_sdk/models/cell_set_dto.py +1 -1
  140. visier_platform_sdk/models/cell_set_or_error_dto.py +1 -1
  141. visier_platform_sdk/models/clone_files_into_source_parameters_dto.py +1 -1
  142. visier_platform_sdk/models/cohort_filter_dto.py +1 -1
  143. visier_platform_sdk/models/collaboration_info.py +1 -1
  144. visier_platform_sdk/models/commit_and_publish_operation_response_dto.py +1 -1
  145. visier_platform_sdk/models/commit_dto.py +1 -1
  146. visier_platform_sdk/models/compared_metric_dto.py +1 -1
  147. visier_platform_sdk/models/concept_configuration_result_dto.py +1 -1
  148. visier_platform_sdk/models/concept_definition_dto.py +1 -1
  149. visier_platform_sdk/models/concept_delete_request_dto.py +1 -1
  150. visier_platform_sdk/models/concept_delete_with_context_dto.py +1 -1
  151. visier_platform_sdk/models/concept_reference_filter_dto.py +1 -1
  152. visier_platform_sdk/models/concept_request_dto.py +1 -1
  153. visier_platform_sdk/models/concept_response_dto.py +1 -1
  154. visier_platform_sdk/models/concept_type_details_dto.py +1 -1
  155. visier_platform_sdk/models/concept_with_context_dto.py +1 -1
  156. visier_platform_sdk/models/connector.py +1 -1
  157. visier_platform_sdk/models/connector_info_response_dto.py +1 -1
  158. visier_platform_sdk/models/connector_setting_request_dto.py +1 -1
  159. visier_platform_sdk/models/connector_setting_response_dto.py +1 -1
  160. visier_platform_sdk/models/connector_settings_response_dto.py +1 -1
  161. visier_platform_sdk/models/consolidate_action_payload.py +1 -1
  162. visier_platform_sdk/models/consolidated_analytics_api_excluded_source_list_dto.py +1 -1
  163. visier_platform_sdk/models/consolidated_analytics_api_source_tenant_list_dto.py +1 -1
  164. visier_platform_sdk/models/consolidated_analytics_api_tenant_create_request_dto.py +1 -1
  165. visier_platform_sdk/models/consolidated_analytics_api_tenant_list_response_dto.py +1 -1
  166. visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details.py +1 -1
  167. visier_platform_sdk/models/consolidated_analytics_api_tenant_with_details_list_response_dto.py +1 -1
  168. visier_platform_sdk/models/consolidated_analytics_job_request_dto.py +1 -1
  169. visier_platform_sdk/models/content_package_dto.py +1 -1
  170. visier_platform_sdk/models/copy_s3_auth_params_dto.py +1 -1
  171. visier_platform_sdk/models/create_event_alert_request_dto.py +1 -1
  172. visier_platform_sdk/models/credential_creation_api_response_dto.py +1 -1
  173. visier_platform_sdk/models/currencies_dto.py +1 -1
  174. visier_platform_sdk/models/currency_dto.py +1 -1
  175. visier_platform_sdk/models/currency_rate_dto.py +1 -1
  176. visier_platform_sdk/models/currency_rates_dto.py +1 -1
  177. visier_platform_sdk/models/custom_property_dto.py +1 -1
  178. visier_platform_sdk/models/custom_tenant_property_dto.py +1 -1
  179. visier_platform_sdk/models/data_access_set_dto.py +1 -1
  180. visier_platform_sdk/models/data_access_set_error_dto.py +1 -1
  181. visier_platform_sdk/models/data_access_set_failure_dto.py +1 -1
  182. visier_platform_sdk/models/data_access_set_success_dto.py +1 -1
  183. visier_platform_sdk/models/data_categories_response_dto.py +1 -1
  184. visier_platform_sdk/models/data_category_response_dto.py +1 -1
  185. visier_platform_sdk/models/data_load_request.py +1 -1
  186. visier_platform_sdk/models/data_load_request_model.py +1 -1
  187. visier_platform_sdk/models/data_load_response.py +1 -1
  188. visier_platform_sdk/models/data_model_analytic_object_dto.py +1 -1
  189. visier_platform_sdk/models/data_provider_auth_information_dto.py +1 -1
  190. visier_platform_sdk/models/data_provider_auth_params_dto.py +1 -1
  191. visier_platform_sdk/models/data_provider_basic_information_dto.py +1 -1
  192. visier_platform_sdk/models/data_provider_basic_metadata_dto.py +1 -1
  193. visier_platform_sdk/models/data_security_profile_dto.py +1 -1
  194. visier_platform_sdk/models/data_transfer_result_detail.py +1 -1
  195. visier_platform_sdk/models/data_version_and_date_dto.py +1 -1
  196. visier_platform_sdk/models/data_version_export_column_dto.py +1 -1
  197. visier_platform_sdk/models/data_version_export_data_version_summary_dto.py +1 -1
  198. visier_platform_sdk/models/data_version_export_data_versions_dto.py +1 -1
  199. visier_platform_sdk/models/data_version_export_dto.py +1 -1
  200. visier_platform_sdk/models/data_version_export_file_dto.py +1 -1
  201. visier_platform_sdk/models/data_version_export_job_status_dto.py +1 -1
  202. visier_platform_sdk/models/data_version_export_part_file_dto.py +1 -1
  203. visier_platform_sdk/models/data_version_export_schedule_job_request_dto.py +1 -1
  204. visier_platform_sdk/models/data_version_export_schedule_job_response_dto.py +1 -1
  205. visier_platform_sdk/models/data_version_export_table_dto.py +1 -1
  206. visier_platform_sdk/models/data_version_exports_dto.py +1 -1
  207. visier_platform_sdk/models/data_version_object.py +1 -1
  208. visier_platform_sdk/models/databricks_auth_params_dto.py +1 -1
  209. visier_platform_sdk/models/date_range_dto.py +1 -1
  210. visier_platform_sdk/models/dayforce_v2_auth_params_dto.py +1 -1
  211. visier_platform_sdk/models/delete_email_domains_dto.py +1 -1
  212. visier_platform_sdk/models/delete_permissions_request_dto.py +1 -1
  213. visier_platform_sdk/models/delete_user_group_v2_request.py +1 -1
  214. visier_platform_sdk/models/dependent_dto.py +1 -1
  215. visier_platform_sdk/models/derived_metric_details_dto.py +1 -1
  216. visier_platform_sdk/models/description_entry.py +1 -1
  217. visier_platform_sdk/models/designer_dimension_filter_dto.py +1 -1
  218. visier_platform_sdk/models/designer_selection_concept_dto.py +1 -1
  219. visier_platform_sdk/models/dimension_change_definition_dto.py +1 -1
  220. visier_platform_sdk/models/dimension_change_definitions_by_tenant_dto.py +1 -1
  221. visier_platform_sdk/models/dimension_delete_request_dto.py +1 -1
  222. visier_platform_sdk/models/dimension_delete_with_context_dto.py +1 -1
  223. visier_platform_sdk/models/dimension_details_dto.py +1 -1
  224. visier_platform_sdk/models/dimension_dto.py +1 -1
  225. visier_platform_sdk/models/dimension_filter_dto.py +1 -1
  226. visier_platform_sdk/models/dimension_mapping_validation_dto.py +1 -1
  227. visier_platform_sdk/models/dimension_mapping_validation_execution_dto.py +1 -1
  228. visier_platform_sdk/models/dimension_member.py +1 -1
  229. visier_platform_sdk/models/dimension_member_dto.py +1 -1
  230. visier_platform_sdk/models/dimension_member_reference_dto.py +1 -1
  231. visier_platform_sdk/models/dimension_reference_dto.py +1 -1
  232. visier_platform_sdk/models/dimension_request_dto.py +1 -1
  233. visier_platform_sdk/models/dimension_response_dto.py +1 -1
  234. visier_platform_sdk/models/dimension_with_context_dto.py +1 -1
  235. visier_platform_sdk/models/dimensions_auth_params_dto.py +1 -1
  236. visier_platform_sdk/models/dimensions_change_definitions_dto.py +1 -1
  237. visier_platform_sdk/models/dimensions_dto.py +1 -1
  238. visier_platform_sdk/models/direct_data_job_config_dto.py +1 -1
  239. visier_platform_sdk/models/direct_data_job_status_response_dto.py +1 -1
  240. visier_platform_sdk/models/direct_data_list_transactions_response_dto.py +1 -1
  241. visier_platform_sdk/models/direct_data_load_config_dto.py +1 -1
  242. visier_platform_sdk/models/direct_data_schema_dto.py +1 -1
  243. visier_platform_sdk/models/direct_data_schema_field_dto.py +1 -1
  244. visier_platform_sdk/models/direct_data_transaction_dto.py +1 -1
  245. visier_platform_sdk/models/direct_data_transaction_start_response_dto.py +1 -1
  246. visier_platform_sdk/models/direct_data_upload_file_response_dto.py +1 -1
  247. visier_platform_sdk/models/disable_dv_model.py +1 -1
  248. visier_platform_sdk/models/disable_dv_request.py +1 -1
  249. visier_platform_sdk/models/disable_dv_response.py +1 -1
  250. visier_platform_sdk/models/dispatching_job_status_response.py +1 -1
  251. visier_platform_sdk/models/document_search_link_dto.py +1 -1
  252. visier_platform_sdk/models/download_source_files_dto.py +1 -1
  253. visier_platform_sdk/models/download_source_files_response_dto.py +1 -1
  254. visier_platform_sdk/models/dv_export_status.py +1 -1
  255. visier_platform_sdk/models/dynamic_dimension_filter_dto.py +1 -1
  256. visier_platform_sdk/models/dynamic_property_mapping_dto.py +1 -1
  257. visier_platform_sdk/models/echo_auth_params_dto.py +1 -1
  258. visier_platform_sdk/models/echo_basic_auth_dto.py +1 -1
  259. visier_platform_sdk/models/element_ids_dto.py +1 -1
  260. visier_platform_sdk/models/email_domains_dto.py +1 -1
  261. visier_platform_sdk/models/end_collaboration_action_payload.py +1 -1
  262. visier_platform_sdk/models/error_dto.py +1 -1
  263. visier_platform_sdk/models/error_summary.py +1 -1
  264. visier_platform_sdk/models/event_alert_delete_success_dto.py +1 -1
  265. visier_platform_sdk/models/event_alert_dto.py +1 -1
  266. visier_platform_sdk/models/event_alert_notification_result_alert_details_dto.py +1 -1
  267. visier_platform_sdk/models/event_alert_notification_result_dto.py +1 -1
  268. visier_platform_sdk/models/event_alert_notification_results_dto.py +1 -1
  269. visier_platform_sdk/models/event_alert_trigger_criteria_dto.py +1 -1
  270. visier_platform_sdk/models/event_details_dto.py +1 -1
  271. visier_platform_sdk/models/exclude_data_uploads_request.py +1 -1
  272. visier_platform_sdk/models/excluded_sources_body.py +1 -1
  273. visier_platform_sdk/models/execution_context_dto.py +1 -1
  274. visier_platform_sdk/models/export_production_versions_api_operation_parameters_dto.py +1 -1
  275. visier_platform_sdk/models/extract_data_and_load_dto.py +1 -1
  276. visier_platform_sdk/models/extracted_skill.py +1 -1
  277. visier_platform_sdk/models/extraction_job.py +1 -1
  278. visier_platform_sdk/models/extraction_job_and_status_response.py +1 -1
  279. visier_platform_sdk/models/extractor_credential_apidto.py +1 -1
  280. visier_platform_sdk/models/extractor_credentials_apidto.py +1 -1
  281. visier_platform_sdk/models/extractor_setting_apidto.py +1 -1
  282. visier_platform_sdk/models/extractor_setting_key_value_apidto.py +1 -1
  283. visier_platform_sdk/models/extractor_settings_apidto.py +1 -1
  284. visier_platform_sdk/models/failed_accessible_tenant_profile_assignment_dto.py +1 -1
  285. visier_platform_sdk/models/failed_change_dto.py +1 -1
  286. visier_platform_sdk/models/failed_local_tenant_profile_assignment_dto.py +1 -1
  287. visier_platform_sdk/models/failed_local_tenant_profile_revoke_dto.py +1 -1
  288. visier_platform_sdk/models/filter_dto.py +1 -1
  289. visier_platform_sdk/models/fixed_time_type_dto.py +1 -1
  290. visier_platform_sdk/models/fusion_auth_params_dto.py +1 -1
  291. visier_platform_sdk/models/generate_impersonation_token_request.py +1 -1
  292. visier_platform_sdk/models/generate_key_request_dto.py +1 -1
  293. visier_platform_sdk/models/get_capabilities_api_response_dto.py +1 -1
  294. visier_platform_sdk/models/get_content_packages_api_response_dto.py +1 -1
  295. visier_platform_sdk/models/get_data_access_sets_api_response_dto.py +1 -1
  296. visier_platform_sdk/models/get_data_security_objects_api_response_dto.py +1 -1
  297. visier_platform_sdk/models/get_event_alerts_response_dto.py +1 -1
  298. visier_platform_sdk/models/get_permissions_api_response_dto.py +1 -1
  299. visier_platform_sdk/models/get_plan_list_response_dto.py +1 -1
  300. visier_platform_sdk/models/get_production_versions_api_response_dto.py +1 -1
  301. visier_platform_sdk/models/get_projects_api_response_dto.py +1 -1
  302. visier_platform_sdk/models/gong_auth_params_dto.py +1 -1
  303. visier_platform_sdk/models/google_sheets_auth_params_dto.py +1 -1
  304. visier_platform_sdk/models/google_workspace_auth_params_dto.py +1 -1
  305. visier_platform_sdk/models/greenhouse_auth_params_dto.py +1 -1
  306. visier_platform_sdk/models/grouped_metric_value_threshold_criteria_dto.py +1 -1
  307. visier_platform_sdk/models/hierarchy.py +1 -1
  308. visier_platform_sdk/models/hierarchy_property_dto.py +1 -1
  309. visier_platform_sdk/models/home_analysis_by_user_group_dto.py +1 -1
  310. visier_platform_sdk/models/icims_auth_params_dto.py +1 -1
  311. visier_platform_sdk/models/import_definition_apidto.py +1 -1
  312. visier_platform_sdk/models/import_definitions_apidto.py +1 -1
  313. visier_platform_sdk/models/include_data_uploads_request.py +1 -1
  314. visier_platform_sdk/models/inherited_access_config_dto.py +1 -1
  315. visier_platform_sdk/models/inherited_reference_member_filter_config_dto.py +1 -1
  316. visier_platform_sdk/models/internal_query_execution_options_dto.py +1 -1
  317. visier_platform_sdk/models/internal_s3_auth_params_dto.py +1 -1
  318. visier_platform_sdk/models/jdbc_auth_params_dto.py +1 -1
  319. visier_platform_sdk/models/jira_auth_params_dto.py +1 -1
  320. visier_platform_sdk/models/jira_connect_params_dto.py +1 -1
  321. visier_platform_sdk/models/job.py +1 -1
  322. visier_platform_sdk/models/job_cancellation_result_dto.py +1 -1
  323. visier_platform_sdk/models/job_cancellation_results_dto.py +1 -1
  324. visier_platform_sdk/models/job_entry.py +1 -1
  325. visier_platform_sdk/models/job_feedback_input.py +1 -1
  326. visier_platform_sdk/models/job_id_response.py +1 -1
  327. visier_platform_sdk/models/job_search_failure_output.py +1 -1
  328. visier_platform_sdk/models/job_search_input.py +1 -1
  329. visier_platform_sdk/models/job_search_output.py +1 -1
  330. visier_platform_sdk/models/job_standardization_input.py +1 -1
  331. visier_platform_sdk/models/job_standardization_input_skills.py +1 -1
  332. visier_platform_sdk/models/job_status_list_response.py +1 -1
  333. visier_platform_sdk/models/job_status_with_start_time.py +1 -1
  334. visier_platform_sdk/models/key_group_filter_dto.py +1 -1
  335. visier_platform_sdk/models/key_group_filter_item_dto.py +1 -1
  336. visier_platform_sdk/models/key_name.py +1 -1
  337. visier_platform_sdk/models/key_pair_delete_response_dto.py +1 -1
  338. visier_platform_sdk/models/key_pair_generate_request_dto.py +1 -1
  339. visier_platform_sdk/models/last_login_dto.py +1 -1
  340. visier_platform_sdk/models/level_dto.py +1 -1
  341. visier_platform_sdk/models/level_list_dto.py +1 -1
  342. visier_platform_sdk/models/leveled_details_dto.py +1 -1
  343. visier_platform_sdk/models/lever_auth_params_dto.py +1 -1
  344. visier_platform_sdk/models/lineage_dto.py +1 -1
  345. visier_platform_sdk/models/list_query_execution_dto.py +1 -1
  346. visier_platform_sdk/models/list_query_execution_options_dto.py +1 -1
  347. visier_platform_sdk/models/list_query_source_dto.py +1 -1
  348. visier_platform_sdk/models/list_response.py +1 -1
  349. visier_platform_sdk/models/local_or_shared_dimension_dto.py +1 -1
  350. visier_platform_sdk/models/local_or_shared_dimension_list_dto.py +1 -1
  351. visier_platform_sdk/models/local_tenant_profile_assignment_request_dto.py +1 -1
  352. visier_platform_sdk/models/local_tenant_profile_assignment_response_dto.py +1 -1
  353. visier_platform_sdk/models/local_tenant_profile_revoke_request_dto.py +1 -1
  354. visier_platform_sdk/models/local_tenant_profile_revoke_response_dto.py +1 -1
  355. visier_platform_sdk/models/location_search_failure_output.py +1 -1
  356. visier_platform_sdk/models/location_search_input.py +1 -1
  357. visier_platform_sdk/models/location_search_input1.py +1 -1
  358. visier_platform_sdk/models/location_search_output.py +1 -1
  359. visier_platform_sdk/models/location_search_successful_output.py +1 -1
  360. visier_platform_sdk/models/mask_message.py +1 -1
  361. visier_platform_sdk/models/medallia_auth_params_dto.py +1 -1
  362. visier_platform_sdk/models/member_dto.py +1 -1
  363. visier_platform_sdk/models/member_filter_config_dto.py +1 -1
  364. visier_platform_sdk/models/member_filter_dto.py +1 -1
  365. visier_platform_sdk/models/member_parameter_definition_dto.py +1 -1
  366. visier_platform_sdk/models/member_parameter_value_dto.py +1 -1
  367. visier_platform_sdk/models/member_selection_concept_dto.py +1 -1
  368. visier_platform_sdk/models/member_selection_dto.py +1 -1
  369. visier_platform_sdk/models/member_values_dto.py +1 -1
  370. visier_platform_sdk/models/members_dto.py +1 -1
  371. visier_platform_sdk/models/metric_definition_dto.py +1 -1
  372. visier_platform_sdk/models/metric_delete_request_dto.py +1 -1
  373. visier_platform_sdk/models/metric_delete_with_context_dto.py +1 -1
  374. visier_platform_sdk/models/metric_dto.py +1 -1
  375. visier_platform_sdk/models/metric_filter_parameter_value_dto.py +1 -1
  376. visier_platform_sdk/models/metric_request_dto.py +1 -1
  377. visier_platform_sdk/models/metric_response_dto.py +1 -1
  378. visier_platform_sdk/models/metric_type_details_dto.py +1 -1
  379. visier_platform_sdk/models/metric_validation_summary_dto.py +1 -1
  380. visier_platform_sdk/models/metric_with_context_dto.py +1 -1
  381. visier_platform_sdk/models/metrics_dto.py +1 -1
  382. visier_platform_sdk/models/microsoft365_auth_params_dto.py +1 -1
  383. visier_platform_sdk/models/module_settings_dto.py +1 -1
  384. visier_platform_sdk/models/multi_value_property_type_dto.py +1 -1
  385. visier_platform_sdk/models/multi_value_setting_dto.py +1 -1
  386. visier_platform_sdk/models/multiple_tenant_data_versions_details_dto.py +1 -1
  387. visier_platform_sdk/models/multiple_tenant_data_versions_list_dto.py +1 -1
  388. visier_platform_sdk/models/my_sql_auth_params_dto.py +1 -1
  389. visier_platform_sdk/models/namely_auth_params_dto.py +1 -1
  390. visier_platform_sdk/models/network_subnets_message_request.py +1 -1
  391. visier_platform_sdk/models/network_subnets_message_response.py +1 -1
  392. visier_platform_sdk/models/numeric_parameter_definition_dto.py +1 -1
  393. visier_platform_sdk/models/numeric_parameter_value_dto.py +1 -1
  394. visier_platform_sdk/models/numeric_range_dto.py +1 -1
  395. visier_platform_sdk/models/numeric_range_filter_dto.py +1 -1
  396. visier_platform_sdk/models/o_auth2_user_info_dto.py +2 -2
  397. visier_platform_sdk/models/o_auth2_user_subnet_info_dto.py +1 -1
  398. visier_platform_sdk/models/o_auth2_user_tenant_detail_dto.py +1 -1
  399. visier_platform_sdk/models/o_auth2_user_tenant_details_dto.py +1 -1
  400. visier_platform_sdk/models/o_auth2_user_tenant_properties_dto.py +1 -1
  401. visier_platform_sdk/models/object_change_failure_dto.py +1 -1
  402. visier_platform_sdk/models/object_change_success_dto.py +1 -1
  403. visier_platform_sdk/models/object_id_dto.py +1 -1
  404. visier_platform_sdk/models/object_reference_dto.py +1 -1
  405. visier_platform_sdk/models/objects_bulk_change_response_dto.py +1 -1
  406. visier_platform_sdk/models/oracle_db_auth_params_dto.py +1 -1
  407. visier_platform_sdk/models/other_metric_dto.py +1 -1
  408. visier_platform_sdk/models/output_entry.py +1 -1
  409. visier_platform_sdk/models/output_entry1.py +1 -1
  410. visier_platform_sdk/models/output_entry1_matches_inner.py +1 -1
  411. visier_platform_sdk/models/pair_dto.py +1 -1
  412. visier_platform_sdk/models/parameter_definition_dto.py +1 -1
  413. visier_platform_sdk/models/parent_child_details_dto.py +1 -1
  414. visier_platform_sdk/models/periods_back_dto.py +1 -1
  415. visier_platform_sdk/models/permission_assigned_by_tenant_dto.py +1 -1
  416. visier_platform_sdk/models/permission_assigned_for_local_tenant_dto.py +1 -1
  417. visier_platform_sdk/models/permission_assigned_user_dto.py +1 -1
  418. visier_platform_sdk/models/permission_assigned_users_dto.py +1 -1
  419. visier_platform_sdk/models/permission_bulk_operation_response_dto.py +1 -1
  420. visier_platform_sdk/models/permission_dto.py +1 -1
  421. visier_platform_sdk/models/permission_error_dto.py +1 -1
  422. visier_platform_sdk/models/permission_failure_dto.py +1 -1
  423. visier_platform_sdk/models/permission_response_dto.py +1 -1
  424. visier_platform_sdk/models/permission_success_dto.py +1 -1
  425. visier_platform_sdk/models/permissions_list_dto.py +1 -1
  426. visier_platform_sdk/models/permissions_to_user_group_for_tenant_dto.py +1 -1
  427. visier_platform_sdk/models/permissions_to_user_group_request_dto.py +1 -1
  428. visier_platform_sdk/models/permissions_to_user_groups_request_dto.py +1 -1
  429. visier_platform_sdk/models/persisted_cohort_filter_dto.py +1 -1
  430. visier_platform_sdk/models/perspective_configuration_dto.py +1 -1
  431. visier_platform_sdk/models/perspective_node_dto.py +1 -1
  432. visier_platform_sdk/models/plan_data_load_change_dto.py +1 -1
  433. visier_platform_sdk/models/plan_data_load_change_list_dto.py +1 -1
  434. visier_platform_sdk/models/plan_data_load_error_dto.py +1 -1
  435. visier_platform_sdk/models/plan_data_upload_response_dto.py +1 -1
  436. visier_platform_sdk/models/plan_info_dto.py +1 -1
  437. visier_platform_sdk/models/plan_item_dto.py +1 -1
  438. visier_platform_sdk/models/plan_parameter_definition_dto.py +1 -1
  439. visier_platform_sdk/models/plan_parameter_value_dto.py +1 -1
  440. visier_platform_sdk/models/plan_patch_consolidate_action_request.py +1 -1
  441. visier_platform_sdk/models/plan_patch_end_collaboration_action_request.py +1 -1
  442. visier_platform_sdk/models/plan_patch_reopen_action_request.py +1 -1
  443. visier_platform_sdk/models/plan_patch_start_collaboration_action_request.py +1 -1
  444. visier_platform_sdk/models/plan_patch_submit_action_request.py +1 -1
  445. visier_platform_sdk/models/plan_row_data_load_response_dto.py +1 -1
  446. visier_platform_sdk/models/plan_scenario_patch_action_result.py +1 -1
  447. visier_platform_sdk/models/plan_scenario_patch_request.py +1 -1
  448. visier_platform_sdk/models/plan_scenario_patch_response.py +1 -1
  449. visier_platform_sdk/models/plan_schema_dto.py +1 -1
  450. visier_platform_sdk/models/plan_segment_level_dto.py +1 -1
  451. visier_platform_sdk/models/plan_segment_level_member_dto.py +1 -1
  452. visier_platform_sdk/models/plan_segment_level_member_list_dto.py +1 -1
  453. visier_platform_sdk/models/plan_time_period_dto.py +1 -1
  454. visier_platform_sdk/models/plan_with_schema_dto.py +1 -1
  455. visier_platform_sdk/models/planning_concept_filter_context_dto.py +1 -1
  456. visier_platform_sdk/models/planning_hierarchy_filter_context_dto.py +1 -1
  457. visier_platform_sdk/models/planning_model_dto.py +1 -1
  458. visier_platform_sdk/models/planning_models_dto.py +1 -1
  459. visier_platform_sdk/models/planning_plan_context_dto.py +1 -1
  460. visier_platform_sdk/models/planning_plan_dto.py +1 -1
  461. visier_platform_sdk/models/planning_plans_dto.py +1 -1
  462. visier_platform_sdk/models/population_configuration_dto.py +1 -1
  463. visier_platform_sdk/models/prediction_dto.py +1 -1
  464. visier_platform_sdk/models/predictions_dto.py +1 -1
  465. visier_platform_sdk/models/process_concept_definition_dto.py +1 -1
  466. visier_platform_sdk/models/process_concept_member_dto.py +1 -1
  467. visier_platform_sdk/models/process_concept_member_list_dto.py +1 -1
  468. visier_platform_sdk/models/process_concept_metric_definition_dto.py +1 -1
  469. visier_platform_sdk/models/process_concept_metric_details_dto.py +1 -1
  470. visier_platform_sdk/models/process_concept_metric_list_dto.py +1 -1
  471. visier_platform_sdk/models/process_concept_metric_type_details_dto.py +1 -1
  472. visier_platform_sdk/models/process_concept_outcome_dto.py +1 -1
  473. visier_platform_sdk/models/process_concept_outcome_list_dto.py +1 -1
  474. visier_platform_sdk/models/process_concept_property_details_dto.py +1 -1
  475. visier_platform_sdk/models/process_concept_property_dto.py +1 -1
  476. visier_platform_sdk/models/process_concept_property_list_dto.py +1 -1
  477. visier_platform_sdk/models/process_concept_property_type_dto.py +1 -1
  478. visier_platform_sdk/models/process_concept_stage_dto.py +1 -1
  479. visier_platform_sdk/models/process_concept_stage_list_dto.py +1 -1
  480. visier_platform_sdk/models/processing_job.py +1 -1
  481. visier_platform_sdk/models/processing_job_and_status_response.py +1 -1
  482. visier_platform_sdk/models/processing_job_request_dto.py +1 -1
  483. visier_platform_sdk/models/processing_job_status_response.py +1 -1
  484. visier_platform_sdk/models/product_release_dto.py +1 -1
  485. visier_platform_sdk/models/product_releases_dto.py +1 -1
  486. visier_platform_sdk/models/product_version_dto.py +1 -1
  487. visier_platform_sdk/models/product_versions_dto.py +1 -1
  488. visier_platform_sdk/models/product_versions_update_failure_tenant_response_dto.py +1 -1
  489. visier_platform_sdk/models/product_versions_update_response_dto.py +1 -1
  490. visier_platform_sdk/models/product_versions_update_successful_tenant_response_dto.py +1 -1
  491. visier_platform_sdk/models/production_version_api_operation_request_dto.py +1 -1
  492. visier_platform_sdk/models/production_version_api_operation_response_dto.py +1 -1
  493. visier_platform_sdk/models/production_versions_api_operation_request_dto.py +1 -1
  494. visier_platform_sdk/models/production_versions_api_operation_response_dto.py +1 -1
  495. visier_platform_sdk/models/profile_assigned_for_accessible_tenant_dto.py +1 -1
  496. visier_platform_sdk/models/profile_assigned_for_local_tenant_dto.py +1 -1
  497. visier_platform_sdk/models/profile_assignment_dto.py +1 -1
  498. visier_platform_sdk/models/profile_get_api_response_dto.py +1 -1
  499. visier_platform_sdk/models/profiles_get_api_response_dto.py +1 -1
  500. visier_platform_sdk/models/project_commit_dto.py +1 -1
  501. visier_platform_sdk/models/project_commits_api_response_dto.py +1 -1
  502. visier_platform_sdk/models/project_dto.py +1 -1
  503. visier_platform_sdk/models/project_operation_request_dto.py +1 -1
  504. visier_platform_sdk/models/project_operation_response_dto.py +1 -1
  505. visier_platform_sdk/models/properties_change_definitions_dto.py +1 -1
  506. visier_platform_sdk/models/properties_delete_definitions_dto.py +1 -1
  507. visier_platform_sdk/models/properties_dto.py +1 -1
  508. visier_platform_sdk/models/property_access_config_dto.py +1 -1
  509. visier_platform_sdk/models/property_bulk_delete_response_dto.py +1 -1
  510. visier_platform_sdk/models/property_change_definition_dto.py +1 -1
  511. visier_platform_sdk/models/property_change_definitions_by_tenant_dto.py +1 -1
  512. visier_platform_sdk/models/property_column_dto.py +1 -1
  513. visier_platform_sdk/models/property_definition_dto.py +1 -1
  514. visier_platform_sdk/models/property_definition_list_dto.py +1 -1
  515. visier_platform_sdk/models/property_delete_definitions_by_tenant_dto.py +1 -1
  516. visier_platform_sdk/models/property_delete_failure_dto.py +1 -1
  517. visier_platform_sdk/models/property_delete_success_dto.py +1 -1
  518. visier_platform_sdk/models/property_dependency_dto.py +1 -1
  519. visier_platform_sdk/models/property_dependency_list_dto.py +1 -1
  520. visier_platform_sdk/models/property_dto.py +1 -1
  521. visier_platform_sdk/models/property_reference_dto.py +1 -1
  522. visier_platform_sdk/models/property_set_config_dto.py +1 -1
  523. visier_platform_sdk/models/property_type_details_dto.py +1 -1
  524. visier_platform_sdk/models/property_type_dto.py +1 -1
  525. visier_platform_sdk/models/public_key_dto.py +1 -1
  526. visier_platform_sdk/models/public_keys_dto.py +1 -1
  527. visier_platform_sdk/models/push_data_cancel_response.py +1 -1
  528. visier_platform_sdk/models/push_data_column_definition_dto.py +1 -1
  529. visier_platform_sdk/models/push_data_complete_request.py +1 -1
  530. visier_platform_sdk/models/push_data_complete_response.py +1 -1
  531. visier_platform_sdk/models/push_data_response.py +1 -1
  532. visier_platform_sdk/models/push_data_source_definition_dto.py +1 -1
  533. visier_platform_sdk/models/push_data_source_definitions_dto.py +1 -1
  534. visier_platform_sdk/models/qualtrics_auth_params_dto.py +1 -1
  535. visier_platform_sdk/models/query_axis_dto.py +1 -1
  536. visier_platform_sdk/models/query_axis_options_dto.py +1 -1
  537. visier_platform_sdk/models/query_dimension_data_member_selection_dto.py +1 -1
  538. visier_platform_sdk/models/query_dimension_leaf_selection_dto.py +1 -1
  539. visier_platform_sdk/models/query_dimension_level_property_dto.py +1 -1
  540. visier_platform_sdk/models/query_dimension_level_selection_dto.py +1 -1
  541. visier_platform_sdk/models/query_dimension_member_selection_dto.py +1 -1
  542. visier_platform_sdk/models/query_execution_error_details_dto.py +1 -1
  543. visier_platform_sdk/models/query_execution_error_dto.py +1 -1
  544. visier_platform_sdk/models/query_execution_errors_dto.py +1 -1
  545. visier_platform_sdk/models/query_filter_dto.py +1 -1
  546. visier_platform_sdk/models/query_member_map_property_dto.py +1 -1
  547. visier_platform_sdk/models/query_member_map_selection_dto.py +1 -1
  548. visier_platform_sdk/models/query_numeric_ranges_dto.py +1 -1
  549. visier_platform_sdk/models/query_parameter_value_dto.py +1 -1
  550. visier_platform_sdk/models/query_property_dto.py +1 -1
  551. visier_platform_sdk/models/query_time_interval_dto.py +1 -1
  552. visier_platform_sdk/models/query_time_interval_dto_with_dynamic_date_from.py +1 -1
  553. visier_platform_sdk/models/query_time_interval_dto_with_from_datetime.py +1 -1
  554. visier_platform_sdk/models/query_time_interval_dto_with_from_instant.py +1 -1
  555. visier_platform_sdk/models/query_time_intervals_dto.py +1 -1
  556. visier_platform_sdk/models/query_time_intervals_dto_with_dynamic_date_from.py +1 -1
  557. visier_platform_sdk/models/query_time_intervals_dto_with_from_datetime.py +1 -1
  558. visier_platform_sdk/models/query_time_intervals_dto_with_from_instant.py +1 -1
  559. visier_platform_sdk/models/question_categories_api_response_dto.py +1 -1
  560. visier_platform_sdk/models/question_category_api_response_dto.py +1 -1
  561. visier_platform_sdk/models/question_category_basic_information_dto.py +1 -1
  562. visier_platform_sdk/models/receiving_job.py +1 -1
  563. visier_platform_sdk/models/receiving_job_and_status_response.py +1 -1
  564. visier_platform_sdk/models/receiving_job_extracted_file_response_dto.py +1 -1
  565. visier_platform_sdk/models/receiving_job_extracted_files_for_tenant_response_dto.py +1 -1
  566. visier_platform_sdk/models/receiving_job_extracted_files_list_response_dto.py +1 -1
  567. visier_platform_sdk/models/receiving_job_status_response.py +1 -1
  568. visier_platform_sdk/models/redshift_auth_params_dto.py +1 -1
  569. visier_platform_sdk/models/reduced_error_dto.py +1 -1
  570. visier_platform_sdk/models/reduced_tenant_code_error_dto.py +1 -1
  571. visier_platform_sdk/models/reduced_user_id_error_dto.py +1 -1
  572. visier_platform_sdk/models/related_analytic_object_dto.py +1 -1
  573. visier_platform_sdk/models/relative_time_expression_dto.py +1 -1
  574. visier_platform_sdk/models/relative_time_period_dto.py +1 -1
  575. visier_platform_sdk/models/relative_time_selection_dto.py +1 -1
  576. visier_platform_sdk/models/relative_time_shift_dto.py +1 -1
  577. visier_platform_sdk/models/relative_to_rule_dto.py +1 -1
  578. visier_platform_sdk/models/reopen_action_payload.py +1 -1
  579. visier_platform_sdk/models/report_create_request_dto.py +1 -1
  580. visier_platform_sdk/models/report_delete_success_dto.py +1 -1
  581. visier_platform_sdk/models/report_dto.py +1 -1
  582. visier_platform_sdk/models/report_list_response_dto.py +1 -1
  583. visier_platform_sdk/models/result.py +1 -1
  584. visier_platform_sdk/models/role_modules_config_dto.py +1 -1
  585. visier_platform_sdk/models/rule_dto.py +1 -1
  586. visier_platform_sdk/models/rule_set_dto.py +1 -1
  587. visier_platform_sdk/models/salary_benchmark_feedback_input.py +1 -1
  588. visier_platform_sdk/models/salary_benchmark_input.py +1 -1
  589. visier_platform_sdk/models/salary_benchmarks_batch_processing_failure_output.py +1 -1
  590. visier_platform_sdk/models/salary_benchmarks_batch_processing_outputs.py +1 -1
  591. visier_platform_sdk/models/salary_benchmarks_batch_processing_successful_output.py +1 -1
  592. visier_platform_sdk/models/salesforce_auth_params_dto.py +1 -1
  593. visier_platform_sdk/models/salesforce_v2_auth_params_dto.py +1 -1
  594. visier_platform_sdk/models/same_metric_other_context_dto.py +1 -1
  595. visier_platform_sdk/models/same_metric_other_time_dto.py +1 -1
  596. visier_platform_sdk/models/sample_question_api_response_dto.py +1 -1
  597. visier_platform_sdk/models/sample_questions_api_response_dto.py +1 -1
  598. visier_platform_sdk/models/scenario_info_dto.py +1 -1
  599. visier_platform_sdk/models/scenario_or_snapshot_dto.py +1 -1
  600. visier_platform_sdk/models/securable_dimension_dto.py +1 -1
  601. visier_platform_sdk/models/securable_property_dto.py +1 -1
  602. visier_platform_sdk/models/security_assignment_response_dto.py +1 -1
  603. visier_platform_sdk/models/selection_concept_configuration_dto.py +1 -1
  604. visier_platform_sdk/models/selection_concept_configuration_map_dto.py +1 -1
  605. visier_platform_sdk/models/selection_concept_dto.py +1 -1
  606. visier_platform_sdk/models/selection_concept_list_dto.py +1 -1
  607. visier_platform_sdk/models/selection_concept_reference_dto.py +1 -1
  608. visier_platform_sdk/models/selection_concepts_dto.py +1 -1
  609. visier_platform_sdk/models/service_now_auth_params_dto.py +1 -1
  610. visier_platform_sdk/models/service_now_v2_auth_params_dto.py +1 -1
  611. visier_platform_sdk/models/servicing_capability_proto_enum_access_lookup_dto.py +1 -1
  612. visier_platform_sdk/models/servicing_direct_data_upload_file_response_dto.py +1 -1
  613. visier_platform_sdk/models/set_connector_setting_request_dto.py +1 -1
  614. visier_platform_sdk/models/set_connector_setting_response_dto.py +1 -1
  615. visier_platform_sdk/models/set_connector_settings_request_dto.py +1 -1
  616. visier_platform_sdk/models/set_connector_settings_response_dto.py +1 -1
  617. visier_platform_sdk/models/settings_dto.py +1 -1
  618. visier_platform_sdk/models/shareable_data_access_set.py +1 -1
  619. visier_platform_sdk/models/sidecar_solution_request_dto.py +1 -1
  620. visier_platform_sdk/models/sidecar_solution_settings_dto.py +1 -1
  621. visier_platform_sdk/models/simple_document_header_search_response_dto.py +1 -1
  622. visier_platform_sdk/models/simple_document_header_search_result_dto.py +1 -1
  623. visier_platform_sdk/models/simple_metric_details_dto.py +1 -1
  624. visier_platform_sdk/models/simple_property_type_dto.py +1 -1
  625. visier_platform_sdk/models/simple_user_dto.py +1 -1
  626. visier_platform_sdk/models/single_value_setting_dto.py +1 -1
  627. visier_platform_sdk/models/skill.py +1 -1
  628. visier_platform_sdk/models/skill_category.py +1 -1
  629. visier_platform_sdk/models/skill_category_entry.py +1 -1
  630. visier_platform_sdk/models/skill_entry.py +1 -1
  631. visier_platform_sdk/models/skill_extraction_input.py +1 -1
  632. visier_platform_sdk/models/skill_group.py +1 -1
  633. visier_platform_sdk/models/skill_group_entry.py +1 -1
  634. visier_platform_sdk/models/skill_match_input.py +1 -1
  635. visier_platform_sdk/models/slack_auth_params_dto.py +1 -1
  636. visier_platform_sdk/models/snapshot_query_execution_dto.py +1 -1
  637. visier_platform_sdk/models/snapshot_query_execution_options_dto.py +1 -1
  638. visier_platform_sdk/models/snowflake_auth_params_dto.py +1 -1
  639. visier_platform_sdk/models/sort_option_dto.py +1 -1
  640. visier_platform_sdk/models/source.py +1 -1
  641. visier_platform_sdk/models/source_file_response_dto.py +1 -1
  642. visier_platform_sdk/models/source_import_result_summary_dto.py +1 -1
  643. visier_platform_sdk/models/sources_api_operation_request_dto.py +1 -1
  644. visier_platform_sdk/models/sources_api_put_response_dto.py +1 -1
  645. visier_platform_sdk/models/sql_job_table_access_dto.py +90 -0
  646. visier_platform_sdk/models/sql_like200_response.py +1 -1
  647. visier_platform_sdk/models/sql_like_query_execution_dto.py +1 -1
  648. visier_platform_sdk/models/sql_server_auth_params_dto.py +1 -1
  649. visier_platform_sdk/models/sql_source_action_dto.py +120 -0
  650. visier_platform_sdk/models/sql_source_begin_transaction_request_dto.py +90 -0
  651. visier_platform_sdk/models/sql_source_capture_changes_action_dto.py +90 -0
  652. visier_platform_sdk/models/sql_source_column_dto.py +102 -0
  653. visier_platform_sdk/models/sql_source_execute_job_request_dto.py +110 -0
  654. visier_platform_sdk/models/sql_source_execute_job_response_dto.py +94 -0
  655. visier_platform_sdk/models/sql_source_input_dto.py +114 -0
  656. visier_platform_sdk/models/sql_source_io_format_dto.py +94 -0
  657. visier_platform_sdk/models/sql_source_io_format_dto_csv_format_dto.py +88 -0
  658. visier_platform_sdk/models/sql_source_process_action_dto.py +92 -0
  659. visier_platform_sdk/models/sql_source_query_action_dto.py +98 -0
  660. visier_platform_sdk/models/sql_source_query_output_dto.py +94 -0
  661. visier_platform_sdk/models/sql_source_replace_action_dto.py +90 -0
  662. visier_platform_sdk/models/sql_source_table_dto.py +110 -0
  663. visier_platform_sdk/models/sql_source_table_list_response_dto.py +96 -0
  664. visier_platform_sdk/models/sql_source_transaction_state_dto.py +112 -0
  665. visier_platform_sdk/models/sql_source_upsert_action_dto.py +92 -0
  666. visier_platform_sdk/models/start_collaboration_action_payload.py +1 -1
  667. visier_platform_sdk/models/start_extraction_response.py +1 -1
  668. visier_platform_sdk/models/start_transfer_response.py +1 -1
  669. visier_platform_sdk/models/static_dimension_filter_dto.py +1 -1
  670. visier_platform_sdk/models/status.py +1 -1
  671. visier_platform_sdk/models/subject_details_dto.py +1 -1
  672. visier_platform_sdk/models/subject_member_set_parameter_value_dto.py +1 -1
  673. visier_platform_sdk/models/subject_member_set_parameter_value_dto_list_of_name_path_dto.py +1 -1
  674. visier_platform_sdk/models/subject_member_set_parameter_value_dto_name_path_dto.py +1 -1
  675. visier_platform_sdk/models/subject_missing_access_dto.py +1 -1
  676. visier_platform_sdk/models/subject_reference_dto.py +1 -1
  677. visier_platform_sdk/models/subject_reference_list_dto.py +1 -1
  678. visier_platform_sdk/models/submit_action_payload.py +1 -1
  679. visier_platform_sdk/models/success_factors_auth_params_dto.py +1 -1
  680. visier_platform_sdk/models/success_factors_o_auth_params_dto.py +1 -1
  681. visier_platform_sdk/models/successful_accessible_tenant_profile_assignment_dto.py +1 -1
  682. visier_platform_sdk/models/successful_change_dto.py +1 -1
  683. visier_platform_sdk/models/successful_local_tenant_profile_assignment_dto.py +1 -1
  684. visier_platform_sdk/models/synonym_list_dto.py +1 -1
  685. visier_platform_sdk/models/system_status_dto.py +1 -1
  686. visier_platform_sdk/models/table_response_dto.py +1 -1
  687. visier_platform_sdk/models/tag_map_element_dto.py +1 -1
  688. visier_platform_sdk/models/tag_reference_dto.py +1 -1
  689. visier_platform_sdk/models/tag_reference_list_dto.py +1 -1
  690. visier_platform_sdk/models/tags_dto.py +1 -1
  691. visier_platform_sdk/models/target_project_for_tenant_dto.py +1 -1
  692. visier_platform_sdk/models/target_project_for_tenants_list_dto.py +1 -1
  693. visier_platform_sdk/models/target_tenant_code_dto.py +1 -1
  694. visier_platform_sdk/models/tenant.py +1 -1
  695. visier_platform_sdk/models/tenant_and_credential.py +1 -1
  696. visier_platform_sdk/models/tenant_assignments_dto.py +1 -1
  697. visier_platform_sdk/models/tenant_code_body.py +1 -1
  698. visier_platform_sdk/models/tenant_code_error_dto.py +1 -1
  699. visier_platform_sdk/models/tenant_connector_settings_request_dto.py +1 -1
  700. visier_platform_sdk/models/tenant_data_upload_status_response_dto.py +1 -1
  701. visier_platform_sdk/models/tenant_data_upload_update_status_response_dto.py +1 -1
  702. visier_platform_sdk/models/tenant_data_uploads_list_response_dto.py +1 -1
  703. visier_platform_sdk/models/tenant_data_uploads_response_dto.py +1 -1
  704. visier_platform_sdk/models/tenant_data_uploads_update_response_dto.py +1 -1
  705. visier_platform_sdk/models/tenant_detail_apidto.py +1 -1
  706. visier_platform_sdk/models/tenant_details_traits_dto.py +1 -1
  707. visier_platform_sdk/models/tenant_encryption_key_details_dto.py +1 -1
  708. visier_platform_sdk/models/tenant_encryption_key_dto.py +1 -1
  709. visier_platform_sdk/models/tenant_management_api_get_response_dto.py +1 -1
  710. visier_platform_sdk/models/tenant_management_api_list_response_dto.py +1 -1
  711. visier_platform_sdk/models/tenant_management_api_update_request_dto.py +1 -1
  712. visier_platform_sdk/models/tenant_management_api_update_response_dto.py +1 -1
  713. visier_platform_sdk/models/tenant_module_dto.py +1 -1
  714. visier_platform_sdk/models/tenant_preview_entries_summary_dto.py +1 -1
  715. visier_platform_sdk/models/tenant_preview_entries_summary_list_dto.py +1 -1
  716. visier_platform_sdk/models/tenant_provision_apidto.py +1 -1
  717. visier_platform_sdk/models/tenant_source_files_list_response_dto.py +1 -1
  718. visier_platform_sdk/models/tenant_status_apidto.py +1 -1
  719. visier_platform_sdk/models/time_handling_dto.py +1 -1
  720. visier_platform_sdk/models/time_period_dto.py +1 -1
  721. visier_platform_sdk/models/time_period_filter_dto.py +1 -1
  722. visier_platform_sdk/models/time_period_metadata_dto.py +1 -1
  723. visier_platform_sdk/models/time_shift_dto.py +1 -1
  724. visier_platform_sdk/models/token_response.py +1 -1
  725. visier_platform_sdk/models/trigger_criteria_member_result_info_dto.py +1 -1
  726. visier_platform_sdk/models/trigger_criteria_overall_result_info_dto.py +1 -1
  727. visier_platform_sdk/models/trigger_criteria_result_info_dto.py +1 -1
  728. visier_platform_sdk/models/ultimate_auth_params_dto.py +1 -1
  729. visier_platform_sdk/models/update_event_alert_recipient_status_dto.py +1 -1
  730. visier_platform_sdk/models/update_tenant_model.py +1 -1
  731. visier_platform_sdk/models/upload_to_exclude.py +1 -1
  732. visier_platform_sdk/models/upload_to_include.py +1 -1
  733. visier_platform_sdk/models/user_creation_api_request_dto.py +1 -1
  734. visier_platform_sdk/models/user_creation_api_response_dto.py +1 -1
  735. visier_platform_sdk/models/user_get_api_response_dto.py +1 -1
  736. visier_platform_sdk/models/user_group_assigned_for_local_tenant_dto.py +1 -1
  737. visier_platform_sdk/models/user_group_assignment_dto.py +1 -1
  738. visier_platform_sdk/models/user_group_change_definition_dto.py +1 -1
  739. visier_platform_sdk/models/user_group_change_dimension_filter_dto.py +1 -1
  740. visier_platform_sdk/models/user_group_change_failure_dto.py +1 -1
  741. visier_platform_sdk/models/user_group_change_filter_dto.py +1 -1
  742. visier_platform_sdk/models/user_group_change_member_selection_dto.py +1 -1
  743. visier_platform_sdk/models/user_group_change_response_dto.py +1 -1
  744. visier_platform_sdk/models/user_group_change_success_dto.py +1 -1
  745. visier_platform_sdk/models/user_group_change_users_dto.py +1 -1
  746. visier_platform_sdk/models/user_group_delete_dto.py +1 -1
  747. visier_platform_sdk/models/user_group_delete_failure_dto.py +1 -1
  748. visier_platform_sdk/models/user_group_delete_response_dto.py +1 -1
  749. visier_platform_sdk/models/user_group_delete_success_dto.py +1 -1
  750. visier_platform_sdk/models/user_group_filters_dto.py +1 -1
  751. visier_platform_sdk/models/user_group_get_api_response_dto.py +1 -1
  752. visier_platform_sdk/models/user_group_revert_dto.py +1 -1
  753. visier_platform_sdk/models/user_group_single_delete_response_dto.py +1 -1
  754. visier_platform_sdk/models/user_groups_change_dto.py +1 -1
  755. visier_platform_sdk/models/user_groups_delete_request_dto.py +1 -1
  756. visier_platform_sdk/models/user_groups_get_api_response_dto.py +1 -1
  757. visier_platform_sdk/models/user_groups_revert_request_dto.py +1 -1
  758. visier_platform_sdk/models/user_groups_users_dto.py +1 -1
  759. visier_platform_sdk/models/user_groups_users_for_tenant_dto.py +1 -1
  760. visier_platform_sdk/models/user_id_error_dto.py +1 -1
  761. visier_platform_sdk/models/user_property_dto.py +1 -1
  762. visier_platform_sdk/models/user_security_assignments_dto.py +1 -1
  763. visier_platform_sdk/models/user_update_api_request_dto.py +1 -1
  764. visier_platform_sdk/models/user_v3_api_request_dto.py +1 -1
  765. visier_platform_sdk/models/user_v3_api_response_dto.py +1 -1
  766. visier_platform_sdk/models/users_api_error_message_dto.py +1 -1
  767. visier_platform_sdk/models/users_api_failure_dto.py +1 -1
  768. visier_platform_sdk/models/users_api_response_dto.py +1 -1
  769. visier_platform_sdk/models/users_api_success_dto.py +1 -1
  770. visier_platform_sdk/models/users_creation_api_request_dto.py +1 -1
  771. visier_platform_sdk/models/users_delete_api_request_dto.py +1 -1
  772. visier_platform_sdk/models/users_to_user_group_request_dto.py +1 -1
  773. visier_platform_sdk/models/users_to_user_groups_request_dto.py +1 -1
  774. visier_platform_sdk/models/users_update_api_request_dto.py +1 -1
  775. visier_platform_sdk/models/users_update_api_user_dto.py +1 -1
  776. visier_platform_sdk/models/v2_calculated_property_type_dto.py +1 -1
  777. visier_platform_sdk/models/v2_dimension_dto.py +1 -1
  778. visier_platform_sdk/models/v2_level_dto.py +1 -1
  779. visier_platform_sdk/models/v2_simple_property_type_dto.py +1 -1
  780. visier_platform_sdk/models/validity_range_dto.py +1 -1
  781. visier_platform_sdk/models/vee_category_basic_information_dto.py +1 -1
  782. visier_platform_sdk/models/vee_clarification_dto.py +1 -1
  783. visier_platform_sdk/models/vee_conversation_dto.py +1 -1
  784. visier_platform_sdk/models/vee_conversation_state_dto.py +1 -1
  785. visier_platform_sdk/models/vee_corrections_dto.py +1 -1
  786. visier_platform_sdk/models/vee_data_dto.py +1 -1
  787. visier_platform_sdk/models/vee_feedback_dto.py +1 -1
  788. visier_platform_sdk/models/vee_options_dto.py +1 -1
  789. visier_platform_sdk/models/vee_question_categories_api_response_dto.py +1 -1
  790. visier_platform_sdk/models/vee_question_categories_bulk_change_response_dto.py +1 -1
  791. visier_platform_sdk/models/vee_question_categories_change_definitions_dto.py +1 -1
  792. visier_platform_sdk/models/vee_question_categories_delete_definitions_dto.py +1 -1
  793. visier_platform_sdk/models/vee_question_category_api_response_dto.py +1 -1
  794. visier_platform_sdk/models/vee_question_category_change_definition_dto.py +1 -1
  795. visier_platform_sdk/models/vee_question_category_change_definitions_by_tenant_dto.py +1 -1
  796. visier_platform_sdk/models/vee_question_category_change_failure_dto.py +1 -1
  797. visier_platform_sdk/models/vee_question_category_change_success_dto.py +1 -1
  798. visier_platform_sdk/models/vee_question_category_delete_definitions_by_tenant_dto.py +1 -1
  799. visier_platform_sdk/models/vee_question_category_icon_dto.py +1 -1
  800. visier_platform_sdk/models/vee_question_change_definition_dto.py +1 -1
  801. visier_platform_sdk/models/vee_question_change_definitions_by_tenant_dto.py +1 -1
  802. visier_platform_sdk/models/vee_question_change_failure_dto.py +1 -1
  803. visier_platform_sdk/models/vee_question_change_success_dto.py +1 -1
  804. visier_platform_sdk/models/vee_question_delete_definitions_by_tenant_dto.py +1 -1
  805. visier_platform_sdk/models/vee_question_dto.py +1 -1
  806. visier_platform_sdk/models/vee_questions_bulk_change_response_dto.py +1 -1
  807. visier_platform_sdk/models/vee_questions_change_definitions_dto.py +1 -1
  808. visier_platform_sdk/models/vee_questions_delete_definitions_dto.py +1 -1
  809. visier_platform_sdk/models/vee_response_dto.py +1 -1
  810. visier_platform_sdk/models/vee_response_schema_dto.py +1 -1
  811. visier_platform_sdk/models/vee_response_schema_reference_dto.py +1 -1
  812. visier_platform_sdk/models/vee_sample_question_dto.py +1 -1
  813. visier_platform_sdk/models/vee_sample_question_library_dto.py +1 -1
  814. visier_platform_sdk/models/vee_status_code_dto.py +1 -1
  815. visier_platform_sdk/models/vee_status_dto.py +1 -1
  816. visier_platform_sdk/models/vee_visual_dto.py +1 -1
  817. visier_platform_sdk/models/vee_visual_options_dto.py +1 -1
  818. visier_platform_sdk/models/version_information_dto.py +1 -1
  819. visier_platform_sdk/models/visible_for_selection_dto.py +1 -1
  820. visier_platform_sdk/models/webhook_basic_auth_credential_dto.py +1 -1
  821. visier_platform_sdk/models/webhook_credentials_dto.py +1 -1
  822. visier_platform_sdk/models/webhook_details_dto.py +1 -1
  823. visier_platform_sdk/models/webhook_dto.py +1 -1
  824. visier_platform_sdk/models/webhook_event_type_dto.py +1 -1
  825. visier_platform_sdk/models/webhook_message_response_dto.py +1 -1
  826. visier_platform_sdk/models/webhook_request_dto.py +1 -1
  827. visier_platform_sdk/models/webhooks_dto.py +1 -1
  828. visier_platform_sdk/models/willow_auth_params_dto.py +1 -1
  829. visier_platform_sdk/models/workday_auth_params_dto.py +1 -1
  830. visier_platform_sdk/models/workday_o_auth_params_dto.py +1 -1
  831. visier_platform_sdk/models/workday_raas_auth_params_dto.py +1 -1
  832. visier_platform_sdk/models/workday_refresh_token_params_dto.py +1 -1
  833. visier_platform_sdk/models/zoom_auth_params_dto.py +1 -1
  834. visier_platform_sdk/rest.py +1 -1
  835. {visier_platform_sdk-22222222.99201.2243.dist-info → visier_platform_sdk-22222222.99201.2263.dist-info}/METADATA +1 -1
  836. visier_platform_sdk-22222222.99201.2263.dist-info/RECORD +840 -0
  837. visier_platform_sdk-22222222.99201.2243.dist-info/RECORD +0 -821
  838. {visier_platform_sdk-22222222.99201.2243.dist-info → visier_platform_sdk-22222222.99201.2263.dist-info}/WHEEL +0 -0
  839. {visier_platform_sdk-22222222.99201.2243.dist-info → visier_platform_sdk-22222222.99201.2263.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,2976 @@
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.2263
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 Optional
22
+ from typing_extensions import Annotated
23
+ from visier_platform_sdk.models.sql_source_begin_transaction_request_dto import SqlSourceBeginTransactionRequestDTO
24
+ from visier_platform_sdk.models.sql_source_execute_job_request_dto import SqlSourceExecuteJobRequestDTO
25
+ from visier_platform_sdk.models.sql_source_execute_job_response_dto import SqlSourceExecuteJobResponseDTO
26
+ from visier_platform_sdk.models.sql_source_table_dto import SqlSourceTableDTO
27
+ from visier_platform_sdk.models.sql_source_table_list_response_dto import SqlSourceTableListResponseDTO
28
+ from visier_platform_sdk.models.sql_source_transaction_state_dto import SqlSourceTransactionStateDTO
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 TableSourceApi:
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 begin_transaction(
50
+ self,
51
+ sql_source_begin_transaction_request_dto: SqlSourceBeginTransactionRequestDTO,
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
+ ) -> SqlSourceTransactionStateDTO:
66
+ """Start a transaction
67
+
68
+ Start a transaction for SQL operations on table sources. Transactions provide isolation for multiple operations and allow for rollback if needed. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
69
+
70
+ :param sql_source_begin_transaction_request_dto: (required)
71
+ :type sql_source_begin_transaction_request_dto: SqlSourceBeginTransactionRequestDTO
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._begin_transaction_serialize(
97
+ sql_source_begin_transaction_request_dto=sql_source_begin_transaction_request_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': "SqlSourceTransactionStateDTO",
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 begin_transaction_with_http_info(
121
+ self,
122
+ sql_source_begin_transaction_request_dto: SqlSourceBeginTransactionRequestDTO,
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[SqlSourceTransactionStateDTO]:
137
+ """Start a transaction
138
+
139
+ Start a transaction for SQL operations on table sources. Transactions provide isolation for multiple operations and allow for rollback if needed. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
140
+
141
+ :param sql_source_begin_transaction_request_dto: (required)
142
+ :type sql_source_begin_transaction_request_dto: SqlSourceBeginTransactionRequestDTO
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._begin_transaction_serialize(
168
+ sql_source_begin_transaction_request_dto=sql_source_begin_transaction_request_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': "SqlSourceTransactionStateDTO",
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 begin_transaction_without_preload_content(
192
+ self,
193
+ sql_source_begin_transaction_request_dto: SqlSourceBeginTransactionRequestDTO,
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
+ """Start a transaction
209
+
210
+ Start a transaction for SQL operations on table sources. Transactions provide isolation for multiple operations and allow for rollback if needed. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
211
+
212
+ :param sql_source_begin_transaction_request_dto: (required)
213
+ :type sql_source_begin_transaction_request_dto: SqlSourceBeginTransactionRequestDTO
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._begin_transaction_serialize(
239
+ sql_source_begin_transaction_request_dto=sql_source_begin_transaction_request_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': "SqlSourceTransactionStateDTO",
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 _begin_transaction_serialize(
258
+ self,
259
+ sql_source_begin_transaction_request_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 sql_source_begin_transaction_request_dto is not None:
289
+ _body_params = sql_source_begin_transaction_request_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='/v1alpha/data/table-sources/transactions',
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 create_table_source(
343
+ self,
344
+ sql_source_table_dto: SqlSourceTableDTO,
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
+ ) -> SqlSourceTableDTO:
359
+ """Create a table source
360
+
361
+ Create a table source configuration. Table sources define the structure and metadata for SQL-accessible tables in Visier. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
362
+
363
+ :param sql_source_table_dto: (required)
364
+ :type sql_source_table_dto: SqlSourceTableDTO
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._create_table_source_serialize(
390
+ sql_source_table_dto=sql_source_table_dto,
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': "SqlSourceTableDTO",
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 create_table_source_with_http_info(
414
+ self,
415
+ sql_source_table_dto: SqlSourceTableDTO,
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[SqlSourceTableDTO]:
430
+ """Create a table source
431
+
432
+ Create a table source configuration. Table sources define the structure and metadata for SQL-accessible tables in Visier. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
433
+
434
+ :param sql_source_table_dto: (required)
435
+ :type sql_source_table_dto: SqlSourceTableDTO
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._create_table_source_serialize(
461
+ sql_source_table_dto=sql_source_table_dto,
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': "SqlSourceTableDTO",
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 create_table_source_without_preload_content(
485
+ self,
486
+ sql_source_table_dto: SqlSourceTableDTO,
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
+ """Create a table source
502
+
503
+ Create a table source configuration. Table sources define the structure and metadata for SQL-accessible tables in Visier. When creating objects, assign a unique object name but don't set a UUID. Visier generates UUIDs for new objects. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
504
+
505
+ :param sql_source_table_dto: (required)
506
+ :type sql_source_table_dto: SqlSourceTableDTO
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._create_table_source_serialize(
532
+ sql_source_table_dto=sql_source_table_dto,
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': "SqlSourceTableDTO",
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 _create_table_source_serialize(
551
+ self,
552
+ sql_source_table_dto,
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
+ # process the query parameters
576
+ # process the header parameters
577
+ if target_tenant_id is not None:
578
+ _header_params['TargetTenantID'] = target_tenant_id
579
+ # process the form parameters
580
+ # process the body parameter
581
+ if sql_source_table_dto is not None:
582
+ _body_params = sql_source_table_dto
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
+ # set the HTTP header `Content-Type`
594
+ if _content_type:
595
+ _header_params['Content-Type'] = _content_type
596
+ else:
597
+ _default_content_type = (
598
+ self.api_client.select_header_content_type(
599
+ [
600
+ 'application/json'
601
+ ]
602
+ )
603
+ )
604
+ if _default_content_type is not None:
605
+ _header_params['Content-Type'] = _default_content_type
606
+
607
+ # authentication setting
608
+ _auth_settings: List[str] = [
609
+ 'CookieAuth',
610
+ 'ApiKeyAuth',
611
+ 'OAuth2Auth',
612
+ 'OAuth2Auth',
613
+ 'BearerAuth'
614
+ ]
615
+
616
+ return self.api_client.param_serialize(
617
+ method='POST',
618
+ resource_path='/v1alpha/data/table-sources/tables',
619
+ path_params=_path_params,
620
+ query_params=_query_params,
621
+ header_params=_header_params,
622
+ body=_body_params,
623
+ post_params=_form_params,
624
+ files=_files,
625
+ auth_settings=_auth_settings,
626
+ collection_formats=_collection_formats,
627
+ _host=_host,
628
+ _request_auth=_request_auth
629
+ )
630
+
631
+
632
+
633
+
634
+ @validate_call
635
+ def delete_table_source(
636
+ self,
637
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source.")],
638
+ 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,
639
+ _request_timeout: Union[
640
+ None,
641
+ Annotated[StrictFloat, Field(gt=0)],
642
+ Tuple[
643
+ Annotated[StrictFloat, Field(gt=0)],
644
+ Annotated[StrictFloat, Field(gt=0)]
645
+ ]
646
+ ] = None,
647
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
648
+ _content_type: Optional[StrictStr] = None,
649
+ _headers: Optional[Dict[StrictStr, Any]] = None,
650
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
651
+ ) -> None:
652
+ """Delete a table source
653
+
654
+ Delete a table source configuration. This removes the table source definition but does not delete the associated data. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
655
+
656
+ :param table_id: The unique identifier of the table source. (required)
657
+ :type table_id: str
658
+ :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.
659
+ :type target_tenant_id: str
660
+ :param _request_timeout: timeout setting for this request. If one
661
+ number provided, it will be total request
662
+ timeout. It can also be a pair (tuple) of
663
+ (connection, read) timeouts.
664
+ :type _request_timeout: int, tuple(int, int), optional
665
+ :param _request_auth: set to override the auth_settings for an a single
666
+ request; this effectively ignores the
667
+ authentication in the spec for a single request.
668
+ :type _request_auth: dict, optional
669
+ :param _content_type: force content-type for the request.
670
+ :type _content_type: str, Optional
671
+ :param _headers: set to override the headers for a single
672
+ request; this effectively ignores the headers
673
+ in the spec for a single request.
674
+ :type _headers: dict, optional
675
+ :param _host_index: set to override the host_index for a single
676
+ request; this effectively ignores the host_index
677
+ in the spec for a single request.
678
+ :type _host_index: int, optional
679
+ :return: Returns the result object.
680
+ """ # noqa: E501
681
+
682
+ _param = self._delete_table_source_serialize(
683
+ table_id=table_id,
684
+ target_tenant_id=target_tenant_id,
685
+ _request_auth=_request_auth,
686
+ _content_type=_content_type,
687
+ _headers=_headers,
688
+ _host_index=_host_index
689
+ )
690
+
691
+ _response_types_map: Dict[str, Optional[str]] = {
692
+ '200': None,
693
+ }
694
+ response_data = self.api_client.call_api(
695
+ *_param,
696
+ _request_timeout=_request_timeout
697
+ )
698
+ response_data.read()
699
+ return self.api_client.response_deserialize(
700
+ response_data=response_data,
701
+ response_types_map=_response_types_map,
702
+ ).data
703
+
704
+
705
+ @validate_call
706
+ def delete_table_source_with_http_info(
707
+ self,
708
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source.")],
709
+ 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,
710
+ _request_timeout: Union[
711
+ None,
712
+ Annotated[StrictFloat, Field(gt=0)],
713
+ Tuple[
714
+ Annotated[StrictFloat, Field(gt=0)],
715
+ Annotated[StrictFloat, Field(gt=0)]
716
+ ]
717
+ ] = None,
718
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
719
+ _content_type: Optional[StrictStr] = None,
720
+ _headers: Optional[Dict[StrictStr, Any]] = None,
721
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
722
+ ) -> ApiResponse[None]:
723
+ """Delete a table source
724
+
725
+ Delete a table source configuration. This removes the table source definition but does not delete the associated data. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
726
+
727
+ :param table_id: The unique identifier of the table source. (required)
728
+ :type table_id: str
729
+ :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.
730
+ :type target_tenant_id: str
731
+ :param _request_timeout: timeout setting for this request. If one
732
+ number provided, it will be total request
733
+ timeout. It can also be a pair (tuple) of
734
+ (connection, read) timeouts.
735
+ :type _request_timeout: int, tuple(int, int), optional
736
+ :param _request_auth: set to override the auth_settings for an a single
737
+ request; this effectively ignores the
738
+ authentication in the spec for a single request.
739
+ :type _request_auth: dict, optional
740
+ :param _content_type: force content-type for the request.
741
+ :type _content_type: str, Optional
742
+ :param _headers: set to override the headers for a single
743
+ request; this effectively ignores the headers
744
+ in the spec for a single request.
745
+ :type _headers: dict, optional
746
+ :param _host_index: set to override the host_index for a single
747
+ request; this effectively ignores the host_index
748
+ in the spec for a single request.
749
+ :type _host_index: int, optional
750
+ :return: Returns the result object.
751
+ """ # noqa: E501
752
+
753
+ _param = self._delete_table_source_serialize(
754
+ table_id=table_id,
755
+ target_tenant_id=target_tenant_id,
756
+ _request_auth=_request_auth,
757
+ _content_type=_content_type,
758
+ _headers=_headers,
759
+ _host_index=_host_index
760
+ )
761
+
762
+ _response_types_map: Dict[str, Optional[str]] = {
763
+ '200': None,
764
+ }
765
+ response_data = self.api_client.call_api(
766
+ *_param,
767
+ _request_timeout=_request_timeout
768
+ )
769
+ response_data.read()
770
+ return self.api_client.response_deserialize(
771
+ response_data=response_data,
772
+ response_types_map=_response_types_map,
773
+ )
774
+
775
+
776
+ @validate_call
777
+ def delete_table_source_without_preload_content(
778
+ self,
779
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source.")],
780
+ 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,
781
+ _request_timeout: Union[
782
+ None,
783
+ Annotated[StrictFloat, Field(gt=0)],
784
+ Tuple[
785
+ Annotated[StrictFloat, Field(gt=0)],
786
+ Annotated[StrictFloat, Field(gt=0)]
787
+ ]
788
+ ] = None,
789
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
790
+ _content_type: Optional[StrictStr] = None,
791
+ _headers: Optional[Dict[StrictStr, Any]] = None,
792
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
793
+ ) -> RESTResponseType:
794
+ """Delete a table source
795
+
796
+ Delete a table source configuration. This removes the table source definition but does not delete the associated data. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
797
+
798
+ :param table_id: The unique identifier of the table source. (required)
799
+ :type table_id: str
800
+ :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.
801
+ :type target_tenant_id: str
802
+ :param _request_timeout: timeout setting for this request. If one
803
+ number provided, it will be total request
804
+ timeout. It can also be a pair (tuple) of
805
+ (connection, read) timeouts.
806
+ :type _request_timeout: int, tuple(int, int), optional
807
+ :param _request_auth: set to override the auth_settings for an a single
808
+ request; this effectively ignores the
809
+ authentication in the spec for a single request.
810
+ :type _request_auth: dict, optional
811
+ :param _content_type: force content-type for the request.
812
+ :type _content_type: str, Optional
813
+ :param _headers: set to override the headers for a single
814
+ request; this effectively ignores the headers
815
+ in the spec for a single request.
816
+ :type _headers: dict, optional
817
+ :param _host_index: set to override the host_index for a single
818
+ request; this effectively ignores the host_index
819
+ in the spec for a single request.
820
+ :type _host_index: int, optional
821
+ :return: Returns the result object.
822
+ """ # noqa: E501
823
+
824
+ _param = self._delete_table_source_serialize(
825
+ table_id=table_id,
826
+ target_tenant_id=target_tenant_id,
827
+ _request_auth=_request_auth,
828
+ _content_type=_content_type,
829
+ _headers=_headers,
830
+ _host_index=_host_index
831
+ )
832
+
833
+ _response_types_map: Dict[str, Optional[str]] = {
834
+ '200': None,
835
+ }
836
+ response_data = self.api_client.call_api(
837
+ *_param,
838
+ _request_timeout=_request_timeout
839
+ )
840
+ return response_data.response
841
+
842
+
843
+ def _delete_table_source_serialize(
844
+ self,
845
+ table_id,
846
+ target_tenant_id,
847
+ _request_auth,
848
+ _content_type,
849
+ _headers,
850
+ _host_index,
851
+ ) -> RequestSerialized:
852
+
853
+ _host = None
854
+
855
+ _collection_formats: Dict[str, str] = {
856
+ }
857
+
858
+ _path_params: Dict[str, str] = {}
859
+ _query_params: List[Tuple[str, str]] = []
860
+ _header_params: Dict[str, Optional[str]] = _headers or {}
861
+ _form_params: List[Tuple[str, str]] = []
862
+ _files: Dict[
863
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
864
+ ] = {}
865
+ _body_params: Optional[bytes] = None
866
+
867
+ # process the path parameters
868
+ if table_id is not None:
869
+ _path_params['tableId'] = table_id
870
+ # process the query parameters
871
+ # process the header parameters
872
+ if target_tenant_id is not None:
873
+ _header_params['TargetTenantID'] = target_tenant_id
874
+ # process the form parameters
875
+ # process the body parameter
876
+
877
+
878
+ # set the HTTP header `Accept`
879
+ if 'Accept' not in _header_params:
880
+ _header_params['Accept'] = self.api_client.select_header_accept(
881
+ [
882
+ 'application/json'
883
+ ]
884
+ )
885
+
886
+
887
+ # authentication setting
888
+ _auth_settings: List[str] = [
889
+ 'CookieAuth',
890
+ 'ApiKeyAuth',
891
+ 'OAuth2Auth',
892
+ 'OAuth2Auth',
893
+ 'BearerAuth'
894
+ ]
895
+
896
+ return self.api_client.param_serialize(
897
+ method='DELETE',
898
+ resource_path='/v1alpha/data/table-sources/tables/{tableId}',
899
+ path_params=_path_params,
900
+ query_params=_query_params,
901
+ header_params=_header_params,
902
+ body=_body_params,
903
+ post_params=_form_params,
904
+ files=_files,
905
+ auth_settings=_auth_settings,
906
+ collection_formats=_collection_formats,
907
+ _host=_host,
908
+ _request_auth=_request_auth
909
+ )
910
+
911
+
912
+
913
+
914
+ @validate_call
915
+ def download_output_file(
916
+ self,
917
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
918
+ filename: Annotated[StrictStr, Field(description="The name of the file to download. This should be the filename specified in an output of an action during job execution.")],
919
+ 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,
920
+ _request_timeout: Union[
921
+ None,
922
+ Annotated[StrictFloat, Field(gt=0)],
923
+ Tuple[
924
+ Annotated[StrictFloat, Field(gt=0)],
925
+ Annotated[StrictFloat, Field(gt=0)]
926
+ ]
927
+ ] = None,
928
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
929
+ _content_type: Optional[StrictStr] = None,
930
+ _headers: Optional[Dict[StrictStr, Any]] = None,
931
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
932
+ ) -> None:
933
+ """Download an output file from a transaction
934
+
935
+ Download an output file generated by a SQL operation within a transaction. To generate output files, use the `QUERY` action and `output` parameter in `POST /v1alpha/data/table-sources/transactions/{transactionId}/jobs`. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
936
+
937
+ :param transaction_id: The unique identifier of the transaction. (required)
938
+ :type transaction_id: str
939
+ :param filename: The name of the file to download. This should be the filename specified in an output of an action during job execution. (required)
940
+ :type filename: str
941
+ :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.
942
+ :type target_tenant_id: str
943
+ :param _request_timeout: timeout setting for this request. If one
944
+ number provided, it will be total request
945
+ timeout. It can also be a pair (tuple) of
946
+ (connection, read) timeouts.
947
+ :type _request_timeout: int, tuple(int, int), optional
948
+ :param _request_auth: set to override the auth_settings for an a single
949
+ request; this effectively ignores the
950
+ authentication in the spec for a single request.
951
+ :type _request_auth: dict, optional
952
+ :param _content_type: force content-type for the request.
953
+ :type _content_type: str, Optional
954
+ :param _headers: set to override the headers for a single
955
+ request; this effectively ignores the headers
956
+ in the spec for a single request.
957
+ :type _headers: dict, optional
958
+ :param _host_index: set to override the host_index for a single
959
+ request; this effectively ignores the host_index
960
+ in the spec for a single request.
961
+ :type _host_index: int, optional
962
+ :return: Returns the result object.
963
+ """ # noqa: E501
964
+
965
+ _param = self._download_output_file_serialize(
966
+ transaction_id=transaction_id,
967
+ filename=filename,
968
+ target_tenant_id=target_tenant_id,
969
+ _request_auth=_request_auth,
970
+ _content_type=_content_type,
971
+ _headers=_headers,
972
+ _host_index=_host_index
973
+ )
974
+
975
+ _response_types_map: Dict[str, Optional[str]] = {
976
+ '200': None,
977
+ }
978
+ response_data = self.api_client.call_api(
979
+ *_param,
980
+ _request_timeout=_request_timeout
981
+ )
982
+ response_data.read()
983
+ return self.api_client.response_deserialize(
984
+ response_data=response_data,
985
+ response_types_map=_response_types_map,
986
+ ).data
987
+
988
+
989
+ @validate_call
990
+ def download_output_file_with_http_info(
991
+ self,
992
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
993
+ filename: Annotated[StrictStr, Field(description="The name of the file to download. This should be the filename specified in an output of an action during job execution.")],
994
+ 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,
995
+ _request_timeout: Union[
996
+ None,
997
+ Annotated[StrictFloat, Field(gt=0)],
998
+ Tuple[
999
+ Annotated[StrictFloat, Field(gt=0)],
1000
+ Annotated[StrictFloat, Field(gt=0)]
1001
+ ]
1002
+ ] = None,
1003
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1004
+ _content_type: Optional[StrictStr] = None,
1005
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1006
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1007
+ ) -> ApiResponse[None]:
1008
+ """Download an output file from a transaction
1009
+
1010
+ Download an output file generated by a SQL operation within a transaction. To generate output files, use the `QUERY` action and `output` parameter in `POST /v1alpha/data/table-sources/transactions/{transactionId}/jobs`. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1011
+
1012
+ :param transaction_id: The unique identifier of the transaction. (required)
1013
+ :type transaction_id: str
1014
+ :param filename: The name of the file to download. This should be the filename specified in an output of an action during job execution. (required)
1015
+ :type filename: str
1016
+ :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.
1017
+ :type target_tenant_id: str
1018
+ :param _request_timeout: timeout setting for this request. If one
1019
+ number provided, it will be total request
1020
+ timeout. It can also be a pair (tuple) of
1021
+ (connection, read) timeouts.
1022
+ :type _request_timeout: int, tuple(int, int), optional
1023
+ :param _request_auth: set to override the auth_settings for an a single
1024
+ request; this effectively ignores the
1025
+ authentication in the spec for a single request.
1026
+ :type _request_auth: dict, optional
1027
+ :param _content_type: force content-type for the request.
1028
+ :type _content_type: str, Optional
1029
+ :param _headers: set to override the headers for a single
1030
+ request; this effectively ignores the headers
1031
+ in the spec for a single request.
1032
+ :type _headers: dict, optional
1033
+ :param _host_index: set to override the host_index for a single
1034
+ request; this effectively ignores the host_index
1035
+ in the spec for a single request.
1036
+ :type _host_index: int, optional
1037
+ :return: Returns the result object.
1038
+ """ # noqa: E501
1039
+
1040
+ _param = self._download_output_file_serialize(
1041
+ transaction_id=transaction_id,
1042
+ filename=filename,
1043
+ target_tenant_id=target_tenant_id,
1044
+ _request_auth=_request_auth,
1045
+ _content_type=_content_type,
1046
+ _headers=_headers,
1047
+ _host_index=_host_index
1048
+ )
1049
+
1050
+ _response_types_map: Dict[str, Optional[str]] = {
1051
+ '200': None,
1052
+ }
1053
+ response_data = self.api_client.call_api(
1054
+ *_param,
1055
+ _request_timeout=_request_timeout
1056
+ )
1057
+ response_data.read()
1058
+ return self.api_client.response_deserialize(
1059
+ response_data=response_data,
1060
+ response_types_map=_response_types_map,
1061
+ )
1062
+
1063
+
1064
+ @validate_call
1065
+ def download_output_file_without_preload_content(
1066
+ self,
1067
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
1068
+ filename: Annotated[StrictStr, Field(description="The name of the file to download. This should be the filename specified in an output of an action during job execution.")],
1069
+ 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,
1070
+ _request_timeout: Union[
1071
+ None,
1072
+ Annotated[StrictFloat, Field(gt=0)],
1073
+ Tuple[
1074
+ Annotated[StrictFloat, Field(gt=0)],
1075
+ Annotated[StrictFloat, Field(gt=0)]
1076
+ ]
1077
+ ] = None,
1078
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1079
+ _content_type: Optional[StrictStr] = None,
1080
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1081
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1082
+ ) -> RESTResponseType:
1083
+ """Download an output file from a transaction
1084
+
1085
+ Download an output file generated by a SQL operation within a transaction. To generate output files, use the `QUERY` action and `output` parameter in `POST /v1alpha/data/table-sources/transactions/{transactionId}/jobs`. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1086
+
1087
+ :param transaction_id: The unique identifier of the transaction. (required)
1088
+ :type transaction_id: str
1089
+ :param filename: The name of the file to download. This should be the filename specified in an output of an action during job execution. (required)
1090
+ :type filename: str
1091
+ :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.
1092
+ :type target_tenant_id: str
1093
+ :param _request_timeout: timeout setting for this request. If one
1094
+ number provided, it will be total request
1095
+ timeout. It can also be a pair (tuple) of
1096
+ (connection, read) timeouts.
1097
+ :type _request_timeout: int, tuple(int, int), optional
1098
+ :param _request_auth: set to override the auth_settings for an a single
1099
+ request; this effectively ignores the
1100
+ authentication in the spec for a single request.
1101
+ :type _request_auth: dict, optional
1102
+ :param _content_type: force content-type for the request.
1103
+ :type _content_type: str, Optional
1104
+ :param _headers: set to override the headers for a single
1105
+ request; this effectively ignores the headers
1106
+ in the spec for a single request.
1107
+ :type _headers: dict, optional
1108
+ :param _host_index: set to override the host_index for a single
1109
+ request; this effectively ignores the host_index
1110
+ in the spec for a single request.
1111
+ :type _host_index: int, optional
1112
+ :return: Returns the result object.
1113
+ """ # noqa: E501
1114
+
1115
+ _param = self._download_output_file_serialize(
1116
+ transaction_id=transaction_id,
1117
+ filename=filename,
1118
+ target_tenant_id=target_tenant_id,
1119
+ _request_auth=_request_auth,
1120
+ _content_type=_content_type,
1121
+ _headers=_headers,
1122
+ _host_index=_host_index
1123
+ )
1124
+
1125
+ _response_types_map: Dict[str, Optional[str]] = {
1126
+ '200': None,
1127
+ }
1128
+ response_data = self.api_client.call_api(
1129
+ *_param,
1130
+ _request_timeout=_request_timeout
1131
+ )
1132
+ return response_data.response
1133
+
1134
+
1135
+ def _download_output_file_serialize(
1136
+ self,
1137
+ transaction_id,
1138
+ filename,
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 transaction_id is not None:
1162
+ _path_params['transactionId'] = transaction_id
1163
+ if filename is not None:
1164
+ _path_params['filename'] = filename
1165
+ # process the query parameters
1166
+ # process the header parameters
1167
+ if target_tenant_id is not None:
1168
+ _header_params['TargetTenantID'] = target_tenant_id
1169
+ # process the form parameters
1170
+ # process the body parameter
1171
+
1172
+
1173
+ # set the HTTP header `Accept`
1174
+ if 'Accept' not in _header_params:
1175
+ _header_params['Accept'] = self.api_client.select_header_accept(
1176
+ [
1177
+ 'application/json'
1178
+ ]
1179
+ )
1180
+
1181
+
1182
+ # authentication setting
1183
+ _auth_settings: List[str] = [
1184
+ 'CookieAuth',
1185
+ 'ApiKeyAuth',
1186
+ 'OAuth2Auth',
1187
+ 'OAuth2Auth',
1188
+ 'BearerAuth'
1189
+ ]
1190
+
1191
+ return self.api_client.param_serialize(
1192
+ method='GET',
1193
+ resource_path='/v1alpha/data/table-sources/transactions/{transactionId}/outputs/{filename}',
1194
+ path_params=_path_params,
1195
+ query_params=_query_params,
1196
+ header_params=_header_params,
1197
+ body=_body_params,
1198
+ post_params=_form_params,
1199
+ files=_files,
1200
+ auth_settings=_auth_settings,
1201
+ collection_formats=_collection_formats,
1202
+ _host=_host,
1203
+ _request_auth=_request_auth
1204
+ )
1205
+
1206
+
1207
+
1208
+
1209
+ @validate_call
1210
+ def execute_job(
1211
+ self,
1212
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
1213
+ sql_source_execute_job_request_dto: SqlSourceExecuteJobRequestDTO,
1214
+ 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,
1215
+ _request_timeout: Union[
1216
+ None,
1217
+ Annotated[StrictFloat, Field(gt=0)],
1218
+ Tuple[
1219
+ Annotated[StrictFloat, Field(gt=0)],
1220
+ Annotated[StrictFloat, Field(gt=0)]
1221
+ ]
1222
+ ] = None,
1223
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1224
+ _content_type: Optional[StrictStr] = None,
1225
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1226
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1227
+ ) -> SqlSourceExecuteJobResponseDTO:
1228
+ """Run a SQL job within a transaction
1229
+
1230
+ Execute a SQL job within a transaction. Jobs can contain multiple SQL operations including queries, inserts, updates, deletes, and merge operations. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1231
+
1232
+ :param transaction_id: The unique identifier of the transaction. (required)
1233
+ :type transaction_id: str
1234
+ :param sql_source_execute_job_request_dto: (required)
1235
+ :type sql_source_execute_job_request_dto: SqlSourceExecuteJobRequestDTO
1236
+ :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.
1237
+ :type target_tenant_id: str
1238
+ :param _request_timeout: timeout setting for this request. If one
1239
+ number provided, it will be total request
1240
+ timeout. It can also be a pair (tuple) of
1241
+ (connection, read) timeouts.
1242
+ :type _request_timeout: int, tuple(int, int), optional
1243
+ :param _request_auth: set to override the auth_settings for an a single
1244
+ request; this effectively ignores the
1245
+ authentication in the spec for a single request.
1246
+ :type _request_auth: dict, optional
1247
+ :param _content_type: force content-type for the request.
1248
+ :type _content_type: str, Optional
1249
+ :param _headers: set to override the headers for a single
1250
+ request; this effectively ignores the headers
1251
+ in the spec for a single request.
1252
+ :type _headers: dict, optional
1253
+ :param _host_index: set to override the host_index for a single
1254
+ request; this effectively ignores the host_index
1255
+ in the spec for a single request.
1256
+ :type _host_index: int, optional
1257
+ :return: Returns the result object.
1258
+ """ # noqa: E501
1259
+
1260
+ _param = self._execute_job_serialize(
1261
+ transaction_id=transaction_id,
1262
+ sql_source_execute_job_request_dto=sql_source_execute_job_request_dto,
1263
+ target_tenant_id=target_tenant_id,
1264
+ _request_auth=_request_auth,
1265
+ _content_type=_content_type,
1266
+ _headers=_headers,
1267
+ _host_index=_host_index
1268
+ )
1269
+
1270
+ _response_types_map: Dict[str, Optional[str]] = {
1271
+ '200': "SqlSourceExecuteJobResponseDTO",
1272
+ }
1273
+ response_data = self.api_client.call_api(
1274
+ *_param,
1275
+ _request_timeout=_request_timeout
1276
+ )
1277
+ response_data.read()
1278
+ return self.api_client.response_deserialize(
1279
+ response_data=response_data,
1280
+ response_types_map=_response_types_map,
1281
+ ).data
1282
+
1283
+
1284
+ @validate_call
1285
+ def execute_job_with_http_info(
1286
+ self,
1287
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
1288
+ sql_source_execute_job_request_dto: SqlSourceExecuteJobRequestDTO,
1289
+ 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,
1290
+ _request_timeout: Union[
1291
+ None,
1292
+ Annotated[StrictFloat, Field(gt=0)],
1293
+ Tuple[
1294
+ Annotated[StrictFloat, Field(gt=0)],
1295
+ Annotated[StrictFloat, Field(gt=0)]
1296
+ ]
1297
+ ] = None,
1298
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1299
+ _content_type: Optional[StrictStr] = None,
1300
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1301
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1302
+ ) -> ApiResponse[SqlSourceExecuteJobResponseDTO]:
1303
+ """Run a SQL job within a transaction
1304
+
1305
+ Execute a SQL job within a transaction. Jobs can contain multiple SQL operations including queries, inserts, updates, deletes, and merge operations. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1306
+
1307
+ :param transaction_id: The unique identifier of the transaction. (required)
1308
+ :type transaction_id: str
1309
+ :param sql_source_execute_job_request_dto: (required)
1310
+ :type sql_source_execute_job_request_dto: SqlSourceExecuteJobRequestDTO
1311
+ :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.
1312
+ :type target_tenant_id: str
1313
+ :param _request_timeout: timeout setting for this request. If one
1314
+ number provided, it will be total request
1315
+ timeout. It can also be a pair (tuple) of
1316
+ (connection, read) timeouts.
1317
+ :type _request_timeout: int, tuple(int, int), optional
1318
+ :param _request_auth: set to override the auth_settings for an a single
1319
+ request; this effectively ignores the
1320
+ authentication in the spec for a single request.
1321
+ :type _request_auth: dict, optional
1322
+ :param _content_type: force content-type for the request.
1323
+ :type _content_type: str, Optional
1324
+ :param _headers: set to override the headers for a single
1325
+ request; this effectively ignores the headers
1326
+ in the spec for a single request.
1327
+ :type _headers: dict, optional
1328
+ :param _host_index: set to override the host_index for a single
1329
+ request; this effectively ignores the host_index
1330
+ in the spec for a single request.
1331
+ :type _host_index: int, optional
1332
+ :return: Returns the result object.
1333
+ """ # noqa: E501
1334
+
1335
+ _param = self._execute_job_serialize(
1336
+ transaction_id=transaction_id,
1337
+ sql_source_execute_job_request_dto=sql_source_execute_job_request_dto,
1338
+ target_tenant_id=target_tenant_id,
1339
+ _request_auth=_request_auth,
1340
+ _content_type=_content_type,
1341
+ _headers=_headers,
1342
+ _host_index=_host_index
1343
+ )
1344
+
1345
+ _response_types_map: Dict[str, Optional[str]] = {
1346
+ '200': "SqlSourceExecuteJobResponseDTO",
1347
+ }
1348
+ response_data = self.api_client.call_api(
1349
+ *_param,
1350
+ _request_timeout=_request_timeout
1351
+ )
1352
+ response_data.read()
1353
+ return self.api_client.response_deserialize(
1354
+ response_data=response_data,
1355
+ response_types_map=_response_types_map,
1356
+ )
1357
+
1358
+
1359
+ @validate_call
1360
+ def execute_job_without_preload_content(
1361
+ self,
1362
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
1363
+ sql_source_execute_job_request_dto: SqlSourceExecuteJobRequestDTO,
1364
+ 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,
1365
+ _request_timeout: Union[
1366
+ None,
1367
+ Annotated[StrictFloat, Field(gt=0)],
1368
+ Tuple[
1369
+ Annotated[StrictFloat, Field(gt=0)],
1370
+ Annotated[StrictFloat, Field(gt=0)]
1371
+ ]
1372
+ ] = None,
1373
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1374
+ _content_type: Optional[StrictStr] = None,
1375
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1376
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1377
+ ) -> RESTResponseType:
1378
+ """Run a SQL job within a transaction
1379
+
1380
+ Execute a SQL job within a transaction. Jobs can contain multiple SQL operations including queries, inserts, updates, deletes, and merge operations. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1381
+
1382
+ :param transaction_id: The unique identifier of the transaction. (required)
1383
+ :type transaction_id: str
1384
+ :param sql_source_execute_job_request_dto: (required)
1385
+ :type sql_source_execute_job_request_dto: SqlSourceExecuteJobRequestDTO
1386
+ :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.
1387
+ :type target_tenant_id: str
1388
+ :param _request_timeout: timeout setting for this request. If one
1389
+ number provided, it will be total request
1390
+ timeout. It can also be a pair (tuple) of
1391
+ (connection, read) timeouts.
1392
+ :type _request_timeout: int, tuple(int, int), optional
1393
+ :param _request_auth: set to override the auth_settings for an a single
1394
+ request; this effectively ignores the
1395
+ authentication in the spec for a single request.
1396
+ :type _request_auth: dict, optional
1397
+ :param _content_type: force content-type for the request.
1398
+ :type _content_type: str, Optional
1399
+ :param _headers: set to override the headers for a single
1400
+ request; this effectively ignores the headers
1401
+ in the spec for a single request.
1402
+ :type _headers: dict, optional
1403
+ :param _host_index: set to override the host_index for a single
1404
+ request; this effectively ignores the host_index
1405
+ in the spec for a single request.
1406
+ :type _host_index: int, optional
1407
+ :return: Returns the result object.
1408
+ """ # noqa: E501
1409
+
1410
+ _param = self._execute_job_serialize(
1411
+ transaction_id=transaction_id,
1412
+ sql_source_execute_job_request_dto=sql_source_execute_job_request_dto,
1413
+ target_tenant_id=target_tenant_id,
1414
+ _request_auth=_request_auth,
1415
+ _content_type=_content_type,
1416
+ _headers=_headers,
1417
+ _host_index=_host_index
1418
+ )
1419
+
1420
+ _response_types_map: Dict[str, Optional[str]] = {
1421
+ '200': "SqlSourceExecuteJobResponseDTO",
1422
+ }
1423
+ response_data = self.api_client.call_api(
1424
+ *_param,
1425
+ _request_timeout=_request_timeout
1426
+ )
1427
+ return response_data.response
1428
+
1429
+
1430
+ def _execute_job_serialize(
1431
+ self,
1432
+ transaction_id,
1433
+ sql_source_execute_job_request_dto,
1434
+ target_tenant_id,
1435
+ _request_auth,
1436
+ _content_type,
1437
+ _headers,
1438
+ _host_index,
1439
+ ) -> RequestSerialized:
1440
+
1441
+ _host = None
1442
+
1443
+ _collection_formats: Dict[str, str] = {
1444
+ }
1445
+
1446
+ _path_params: Dict[str, str] = {}
1447
+ _query_params: List[Tuple[str, str]] = []
1448
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1449
+ _form_params: List[Tuple[str, str]] = []
1450
+ _files: Dict[
1451
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1452
+ ] = {}
1453
+ _body_params: Optional[bytes] = None
1454
+
1455
+ # process the path parameters
1456
+ if transaction_id is not None:
1457
+ _path_params['transactionId'] = transaction_id
1458
+ # process the query parameters
1459
+ # process the header parameters
1460
+ if target_tenant_id is not None:
1461
+ _header_params['TargetTenantID'] = target_tenant_id
1462
+ # process the form parameters
1463
+ # process the body parameter
1464
+ if sql_source_execute_job_request_dto is not None:
1465
+ _body_params = sql_source_execute_job_request_dto
1466
+
1467
+
1468
+ # set the HTTP header `Accept`
1469
+ if 'Accept' not in _header_params:
1470
+ _header_params['Accept'] = self.api_client.select_header_accept(
1471
+ [
1472
+ 'application/json'
1473
+ ]
1474
+ )
1475
+
1476
+ # set the HTTP header `Content-Type`
1477
+ if _content_type:
1478
+ _header_params['Content-Type'] = _content_type
1479
+ else:
1480
+ _default_content_type = (
1481
+ self.api_client.select_header_content_type(
1482
+ [
1483
+ 'application/json'
1484
+ ]
1485
+ )
1486
+ )
1487
+ if _default_content_type is not None:
1488
+ _header_params['Content-Type'] = _default_content_type
1489
+
1490
+ # authentication setting
1491
+ _auth_settings: List[str] = [
1492
+ 'CookieAuth',
1493
+ 'ApiKeyAuth',
1494
+ 'OAuth2Auth',
1495
+ 'OAuth2Auth',
1496
+ 'BearerAuth'
1497
+ ]
1498
+
1499
+ return self.api_client.param_serialize(
1500
+ method='POST',
1501
+ resource_path='/v1alpha/data/table-sources/transactions/{transactionId}/jobs',
1502
+ path_params=_path_params,
1503
+ query_params=_query_params,
1504
+ header_params=_header_params,
1505
+ body=_body_params,
1506
+ post_params=_form_params,
1507
+ files=_files,
1508
+ auth_settings=_auth_settings,
1509
+ collection_formats=_collection_formats,
1510
+ _host=_host,
1511
+ _request_auth=_request_auth
1512
+ )
1513
+
1514
+
1515
+
1516
+
1517
+ @validate_call
1518
+ def get_table_source(
1519
+ self,
1520
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source.")],
1521
+ 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,
1522
+ _request_timeout: Union[
1523
+ None,
1524
+ Annotated[StrictFloat, Field(gt=0)],
1525
+ Tuple[
1526
+ Annotated[StrictFloat, Field(gt=0)],
1527
+ Annotated[StrictFloat, Field(gt=0)]
1528
+ ]
1529
+ ] = None,
1530
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1531
+ _content_type: Optional[StrictStr] = None,
1532
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1533
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1534
+ ) -> SqlSourceTableDTO:
1535
+ """Retrieve a table source
1536
+
1537
+ Retrieve a specific table source configuration by its unique identifier. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1538
+
1539
+ :param table_id: The unique identifier of the table source. (required)
1540
+ :type table_id: str
1541
+ :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.
1542
+ :type target_tenant_id: str
1543
+ :param _request_timeout: timeout setting for this request. If one
1544
+ number provided, it will be total request
1545
+ timeout. It can also be a pair (tuple) of
1546
+ (connection, read) timeouts.
1547
+ :type _request_timeout: int, tuple(int, int), optional
1548
+ :param _request_auth: set to override the auth_settings for an a single
1549
+ request; this effectively ignores the
1550
+ authentication in the spec for a single request.
1551
+ :type _request_auth: dict, optional
1552
+ :param _content_type: force content-type for the request.
1553
+ :type _content_type: str, Optional
1554
+ :param _headers: set to override the headers for a single
1555
+ request; this effectively ignores the headers
1556
+ in the spec for a single request.
1557
+ :type _headers: dict, optional
1558
+ :param _host_index: set to override the host_index for a single
1559
+ request; this effectively ignores the host_index
1560
+ in the spec for a single request.
1561
+ :type _host_index: int, optional
1562
+ :return: Returns the result object.
1563
+ """ # noqa: E501
1564
+
1565
+ _param = self._get_table_source_serialize(
1566
+ table_id=table_id,
1567
+ target_tenant_id=target_tenant_id,
1568
+ _request_auth=_request_auth,
1569
+ _content_type=_content_type,
1570
+ _headers=_headers,
1571
+ _host_index=_host_index
1572
+ )
1573
+
1574
+ _response_types_map: Dict[str, Optional[str]] = {
1575
+ '200': "SqlSourceTableDTO",
1576
+ }
1577
+ response_data = self.api_client.call_api(
1578
+ *_param,
1579
+ _request_timeout=_request_timeout
1580
+ )
1581
+ response_data.read()
1582
+ return self.api_client.response_deserialize(
1583
+ response_data=response_data,
1584
+ response_types_map=_response_types_map,
1585
+ ).data
1586
+
1587
+
1588
+ @validate_call
1589
+ def get_table_source_with_http_info(
1590
+ self,
1591
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source.")],
1592
+ 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,
1593
+ _request_timeout: Union[
1594
+ None,
1595
+ Annotated[StrictFloat, Field(gt=0)],
1596
+ Tuple[
1597
+ Annotated[StrictFloat, Field(gt=0)],
1598
+ Annotated[StrictFloat, Field(gt=0)]
1599
+ ]
1600
+ ] = None,
1601
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1602
+ _content_type: Optional[StrictStr] = None,
1603
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1604
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1605
+ ) -> ApiResponse[SqlSourceTableDTO]:
1606
+ """Retrieve a table source
1607
+
1608
+ Retrieve a specific table source configuration by its unique identifier. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1609
+
1610
+ :param table_id: The unique identifier of the table source. (required)
1611
+ :type table_id: str
1612
+ :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.
1613
+ :type target_tenant_id: str
1614
+ :param _request_timeout: timeout setting for this request. If one
1615
+ number provided, it will be total request
1616
+ timeout. It can also be a pair (tuple) of
1617
+ (connection, read) timeouts.
1618
+ :type _request_timeout: int, tuple(int, int), optional
1619
+ :param _request_auth: set to override the auth_settings for an a single
1620
+ request; this effectively ignores the
1621
+ authentication in the spec for a single request.
1622
+ :type _request_auth: dict, optional
1623
+ :param _content_type: force content-type for the request.
1624
+ :type _content_type: str, Optional
1625
+ :param _headers: set to override the headers for a single
1626
+ request; this effectively ignores the headers
1627
+ in the spec for a single request.
1628
+ :type _headers: dict, optional
1629
+ :param _host_index: set to override the host_index for a single
1630
+ request; this effectively ignores the host_index
1631
+ in the spec for a single request.
1632
+ :type _host_index: int, optional
1633
+ :return: Returns the result object.
1634
+ """ # noqa: E501
1635
+
1636
+ _param = self._get_table_source_serialize(
1637
+ table_id=table_id,
1638
+ target_tenant_id=target_tenant_id,
1639
+ _request_auth=_request_auth,
1640
+ _content_type=_content_type,
1641
+ _headers=_headers,
1642
+ _host_index=_host_index
1643
+ )
1644
+
1645
+ _response_types_map: Dict[str, Optional[str]] = {
1646
+ '200': "SqlSourceTableDTO",
1647
+ }
1648
+ response_data = self.api_client.call_api(
1649
+ *_param,
1650
+ _request_timeout=_request_timeout
1651
+ )
1652
+ response_data.read()
1653
+ return self.api_client.response_deserialize(
1654
+ response_data=response_data,
1655
+ response_types_map=_response_types_map,
1656
+ )
1657
+
1658
+
1659
+ @validate_call
1660
+ def get_table_source_without_preload_content(
1661
+ self,
1662
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source.")],
1663
+ 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,
1664
+ _request_timeout: Union[
1665
+ None,
1666
+ Annotated[StrictFloat, Field(gt=0)],
1667
+ Tuple[
1668
+ Annotated[StrictFloat, Field(gt=0)],
1669
+ Annotated[StrictFloat, Field(gt=0)]
1670
+ ]
1671
+ ] = None,
1672
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1673
+ _content_type: Optional[StrictStr] = None,
1674
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1675
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1676
+ ) -> RESTResponseType:
1677
+ """Retrieve a table source
1678
+
1679
+ Retrieve a specific table source configuration by its unique identifier. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1680
+
1681
+ :param table_id: The unique identifier of the table source. (required)
1682
+ :type table_id: str
1683
+ :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.
1684
+ :type target_tenant_id: str
1685
+ :param _request_timeout: timeout setting for this request. If one
1686
+ number provided, it will be total request
1687
+ timeout. It can also be a pair (tuple) of
1688
+ (connection, read) timeouts.
1689
+ :type _request_timeout: int, tuple(int, int), optional
1690
+ :param _request_auth: set to override the auth_settings for an a single
1691
+ request; this effectively ignores the
1692
+ authentication in the spec for a single request.
1693
+ :type _request_auth: dict, optional
1694
+ :param _content_type: force content-type for the request.
1695
+ :type _content_type: str, Optional
1696
+ :param _headers: set to override the headers for a single
1697
+ request; this effectively ignores the headers
1698
+ in the spec for a single request.
1699
+ :type _headers: dict, optional
1700
+ :param _host_index: set to override the host_index for a single
1701
+ request; this effectively ignores the host_index
1702
+ in the spec for a single request.
1703
+ :type _host_index: int, optional
1704
+ :return: Returns the result object.
1705
+ """ # noqa: E501
1706
+
1707
+ _param = self._get_table_source_serialize(
1708
+ table_id=table_id,
1709
+ target_tenant_id=target_tenant_id,
1710
+ _request_auth=_request_auth,
1711
+ _content_type=_content_type,
1712
+ _headers=_headers,
1713
+ _host_index=_host_index
1714
+ )
1715
+
1716
+ _response_types_map: Dict[str, Optional[str]] = {
1717
+ '200': "SqlSourceTableDTO",
1718
+ }
1719
+ response_data = self.api_client.call_api(
1720
+ *_param,
1721
+ _request_timeout=_request_timeout
1722
+ )
1723
+ return response_data.response
1724
+
1725
+
1726
+ def _get_table_source_serialize(
1727
+ self,
1728
+ table_id,
1729
+ target_tenant_id,
1730
+ _request_auth,
1731
+ _content_type,
1732
+ _headers,
1733
+ _host_index,
1734
+ ) -> RequestSerialized:
1735
+
1736
+ _host = None
1737
+
1738
+ _collection_formats: Dict[str, str] = {
1739
+ }
1740
+
1741
+ _path_params: Dict[str, str] = {}
1742
+ _query_params: List[Tuple[str, str]] = []
1743
+ _header_params: Dict[str, Optional[str]] = _headers or {}
1744
+ _form_params: List[Tuple[str, str]] = []
1745
+ _files: Dict[
1746
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
1747
+ ] = {}
1748
+ _body_params: Optional[bytes] = None
1749
+
1750
+ # process the path parameters
1751
+ if table_id is not None:
1752
+ _path_params['tableId'] = table_id
1753
+ # process the query parameters
1754
+ # process the header parameters
1755
+ if target_tenant_id is not None:
1756
+ _header_params['TargetTenantID'] = target_tenant_id
1757
+ # process the form parameters
1758
+ # process the body parameter
1759
+
1760
+
1761
+ # set the HTTP header `Accept`
1762
+ if 'Accept' not in _header_params:
1763
+ _header_params['Accept'] = self.api_client.select_header_accept(
1764
+ [
1765
+ 'application/json'
1766
+ ]
1767
+ )
1768
+
1769
+
1770
+ # authentication setting
1771
+ _auth_settings: List[str] = [
1772
+ 'CookieAuth',
1773
+ 'ApiKeyAuth',
1774
+ 'OAuth2Auth',
1775
+ 'OAuth2Auth',
1776
+ 'BearerAuth'
1777
+ ]
1778
+
1779
+ return self.api_client.param_serialize(
1780
+ method='GET',
1781
+ resource_path='/v1alpha/data/table-sources/tables/{tableId}',
1782
+ path_params=_path_params,
1783
+ query_params=_query_params,
1784
+ header_params=_header_params,
1785
+ body=_body_params,
1786
+ post_params=_form_params,
1787
+ files=_files,
1788
+ auth_settings=_auth_settings,
1789
+ collection_formats=_collection_formats,
1790
+ _host=_host,
1791
+ _request_auth=_request_auth
1792
+ )
1793
+
1794
+
1795
+
1796
+
1797
+ @validate_call
1798
+ def get_table_sources(
1799
+ self,
1800
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of table sources to return. Default is 100.")] = None,
1801
+ start: Annotated[Optional[StrictInt], Field(description="The index to start retrieving results from, also known as offset. The index begins at 0.")] = None,
1802
+ 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,
1803
+ _request_timeout: Union[
1804
+ None,
1805
+ Annotated[StrictFloat, Field(gt=0)],
1806
+ Tuple[
1807
+ Annotated[StrictFloat, Field(gt=0)],
1808
+ Annotated[StrictFloat, Field(gt=0)]
1809
+ ]
1810
+ ] = None,
1811
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1812
+ _content_type: Optional[StrictStr] = None,
1813
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1814
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1815
+ ) -> SqlSourceTableListResponseDTO:
1816
+ """Retrieve table sources
1817
+
1818
+ Retrieve a list of table source configurations. Table sources are SQL-accessible tables that can store and manage data directly within Visier. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1819
+
1820
+ :param limit: The maximum number of table sources to return. Default is 100.
1821
+ :type limit: int
1822
+ :param start: The index to start retrieving results from, also known as offset. The index begins at 0.
1823
+ :type start: int
1824
+ :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.
1825
+ :type target_tenant_id: str
1826
+ :param _request_timeout: timeout setting for this request. If one
1827
+ number provided, it will be total request
1828
+ timeout. It can also be a pair (tuple) of
1829
+ (connection, read) timeouts.
1830
+ :type _request_timeout: int, tuple(int, int), optional
1831
+ :param _request_auth: set to override the auth_settings for an a single
1832
+ request; this effectively ignores the
1833
+ authentication in the spec for a single request.
1834
+ :type _request_auth: dict, optional
1835
+ :param _content_type: force content-type for the request.
1836
+ :type _content_type: str, Optional
1837
+ :param _headers: set to override the headers for a single
1838
+ request; this effectively ignores the headers
1839
+ in the spec for a single request.
1840
+ :type _headers: dict, optional
1841
+ :param _host_index: set to override the host_index for a single
1842
+ request; this effectively ignores the host_index
1843
+ in the spec for a single request.
1844
+ :type _host_index: int, optional
1845
+ :return: Returns the result object.
1846
+ """ # noqa: E501
1847
+
1848
+ _param = self._get_table_sources_serialize(
1849
+ limit=limit,
1850
+ start=start,
1851
+ target_tenant_id=target_tenant_id,
1852
+ _request_auth=_request_auth,
1853
+ _content_type=_content_type,
1854
+ _headers=_headers,
1855
+ _host_index=_host_index
1856
+ )
1857
+
1858
+ _response_types_map: Dict[str, Optional[str]] = {
1859
+ '200': "SqlSourceTableListResponseDTO",
1860
+ }
1861
+ response_data = self.api_client.call_api(
1862
+ *_param,
1863
+ _request_timeout=_request_timeout
1864
+ )
1865
+ response_data.read()
1866
+ return self.api_client.response_deserialize(
1867
+ response_data=response_data,
1868
+ response_types_map=_response_types_map,
1869
+ ).data
1870
+
1871
+
1872
+ @validate_call
1873
+ def get_table_sources_with_http_info(
1874
+ self,
1875
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of table sources to return. Default is 100.")] = None,
1876
+ start: Annotated[Optional[StrictInt], Field(description="The index to start retrieving results from, also known as offset. The index begins at 0.")] = None,
1877
+ 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,
1878
+ _request_timeout: Union[
1879
+ None,
1880
+ Annotated[StrictFloat, Field(gt=0)],
1881
+ Tuple[
1882
+ Annotated[StrictFloat, Field(gt=0)],
1883
+ Annotated[StrictFloat, Field(gt=0)]
1884
+ ]
1885
+ ] = None,
1886
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1887
+ _content_type: Optional[StrictStr] = None,
1888
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1889
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1890
+ ) -> ApiResponse[SqlSourceTableListResponseDTO]:
1891
+ """Retrieve table sources
1892
+
1893
+ Retrieve a list of table source configurations. Table sources are SQL-accessible tables that can store and manage data directly within Visier. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1894
+
1895
+ :param limit: The maximum number of table sources to return. Default is 100.
1896
+ :type limit: int
1897
+ :param start: The index to start retrieving results from, also known as offset. The index begins at 0.
1898
+ :type start: int
1899
+ :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.
1900
+ :type target_tenant_id: str
1901
+ :param _request_timeout: timeout setting for this request. If one
1902
+ number provided, it will be total request
1903
+ timeout. It can also be a pair (tuple) of
1904
+ (connection, read) timeouts.
1905
+ :type _request_timeout: int, tuple(int, int), optional
1906
+ :param _request_auth: set to override the auth_settings for an a single
1907
+ request; this effectively ignores the
1908
+ authentication in the spec for a single request.
1909
+ :type _request_auth: dict, optional
1910
+ :param _content_type: force content-type for the request.
1911
+ :type _content_type: str, Optional
1912
+ :param _headers: set to override the headers for a single
1913
+ request; this effectively ignores the headers
1914
+ in the spec for a single request.
1915
+ :type _headers: dict, optional
1916
+ :param _host_index: set to override the host_index for a single
1917
+ request; this effectively ignores the host_index
1918
+ in the spec for a single request.
1919
+ :type _host_index: int, optional
1920
+ :return: Returns the result object.
1921
+ """ # noqa: E501
1922
+
1923
+ _param = self._get_table_sources_serialize(
1924
+ limit=limit,
1925
+ start=start,
1926
+ target_tenant_id=target_tenant_id,
1927
+ _request_auth=_request_auth,
1928
+ _content_type=_content_type,
1929
+ _headers=_headers,
1930
+ _host_index=_host_index
1931
+ )
1932
+
1933
+ _response_types_map: Dict[str, Optional[str]] = {
1934
+ '200': "SqlSourceTableListResponseDTO",
1935
+ }
1936
+ response_data = self.api_client.call_api(
1937
+ *_param,
1938
+ _request_timeout=_request_timeout
1939
+ )
1940
+ response_data.read()
1941
+ return self.api_client.response_deserialize(
1942
+ response_data=response_data,
1943
+ response_types_map=_response_types_map,
1944
+ )
1945
+
1946
+
1947
+ @validate_call
1948
+ def get_table_sources_without_preload_content(
1949
+ self,
1950
+ limit: Annotated[Optional[StrictInt], Field(description="The maximum number of table sources to return. Default is 100.")] = None,
1951
+ start: Annotated[Optional[StrictInt], Field(description="The index to start retrieving results from, also known as offset. The index begins at 0.")] = None,
1952
+ 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,
1953
+ _request_timeout: Union[
1954
+ None,
1955
+ Annotated[StrictFloat, Field(gt=0)],
1956
+ Tuple[
1957
+ Annotated[StrictFloat, Field(gt=0)],
1958
+ Annotated[StrictFloat, Field(gt=0)]
1959
+ ]
1960
+ ] = None,
1961
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
1962
+ _content_type: Optional[StrictStr] = None,
1963
+ _headers: Optional[Dict[StrictStr, Any]] = None,
1964
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
1965
+ ) -> RESTResponseType:
1966
+ """Retrieve table sources
1967
+
1968
+ Retrieve a list of table source configurations. Table sources are SQL-accessible tables that can store and manage data directly within Visier. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
1969
+
1970
+ :param limit: The maximum number of table sources to return. Default is 100.
1971
+ :type limit: int
1972
+ :param start: The index to start retrieving results from, also known as offset. The index begins at 0.
1973
+ :type start: int
1974
+ :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.
1975
+ :type target_tenant_id: str
1976
+ :param _request_timeout: timeout setting for this request. If one
1977
+ number provided, it will be total request
1978
+ timeout. It can also be a pair (tuple) of
1979
+ (connection, read) timeouts.
1980
+ :type _request_timeout: int, tuple(int, int), optional
1981
+ :param _request_auth: set to override the auth_settings for an a single
1982
+ request; this effectively ignores the
1983
+ authentication in the spec for a single request.
1984
+ :type _request_auth: dict, optional
1985
+ :param _content_type: force content-type for the request.
1986
+ :type _content_type: str, Optional
1987
+ :param _headers: set to override the headers for a single
1988
+ request; this effectively ignores the headers
1989
+ in the spec for a single request.
1990
+ :type _headers: dict, optional
1991
+ :param _host_index: set to override the host_index for a single
1992
+ request; this effectively ignores the host_index
1993
+ in the spec for a single request.
1994
+ :type _host_index: int, optional
1995
+ :return: Returns the result object.
1996
+ """ # noqa: E501
1997
+
1998
+ _param = self._get_table_sources_serialize(
1999
+ limit=limit,
2000
+ start=start,
2001
+ target_tenant_id=target_tenant_id,
2002
+ _request_auth=_request_auth,
2003
+ _content_type=_content_type,
2004
+ _headers=_headers,
2005
+ _host_index=_host_index
2006
+ )
2007
+
2008
+ _response_types_map: Dict[str, Optional[str]] = {
2009
+ '200': "SqlSourceTableListResponseDTO",
2010
+ }
2011
+ response_data = self.api_client.call_api(
2012
+ *_param,
2013
+ _request_timeout=_request_timeout
2014
+ )
2015
+ return response_data.response
2016
+
2017
+
2018
+ def _get_table_sources_serialize(
2019
+ self,
2020
+ limit,
2021
+ start,
2022
+ target_tenant_id,
2023
+ _request_auth,
2024
+ _content_type,
2025
+ _headers,
2026
+ _host_index,
2027
+ ) -> RequestSerialized:
2028
+
2029
+ _host = None
2030
+
2031
+ _collection_formats: Dict[str, str] = {
2032
+ }
2033
+
2034
+ _path_params: Dict[str, str] = {}
2035
+ _query_params: List[Tuple[str, str]] = []
2036
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2037
+ _form_params: List[Tuple[str, str]] = []
2038
+ _files: Dict[
2039
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2040
+ ] = {}
2041
+ _body_params: Optional[bytes] = None
2042
+
2043
+ # process the path parameters
2044
+ # process the query parameters
2045
+ if limit is not None:
2046
+
2047
+ _query_params.append(('limit', limit))
2048
+
2049
+ if start is not None:
2050
+
2051
+ _query_params.append(('start', start))
2052
+
2053
+ # process the header parameters
2054
+ if target_tenant_id is not None:
2055
+ _header_params['TargetTenantID'] = target_tenant_id
2056
+ # process the form parameters
2057
+ # process the body parameter
2058
+
2059
+
2060
+ # set the HTTP header `Accept`
2061
+ if 'Accept' not in _header_params:
2062
+ _header_params['Accept'] = self.api_client.select_header_accept(
2063
+ [
2064
+ 'application/json'
2065
+ ]
2066
+ )
2067
+
2068
+
2069
+ # authentication setting
2070
+ _auth_settings: List[str] = [
2071
+ 'CookieAuth',
2072
+ 'ApiKeyAuth',
2073
+ 'OAuth2Auth',
2074
+ 'OAuth2Auth',
2075
+ 'BearerAuth'
2076
+ ]
2077
+
2078
+ return self.api_client.param_serialize(
2079
+ method='GET',
2080
+ resource_path='/v1alpha/data/table-sources/tables',
2081
+ path_params=_path_params,
2082
+ query_params=_query_params,
2083
+ header_params=_header_params,
2084
+ body=_body_params,
2085
+ post_params=_form_params,
2086
+ files=_files,
2087
+ auth_settings=_auth_settings,
2088
+ collection_formats=_collection_formats,
2089
+ _host=_host,
2090
+ _request_auth=_request_auth
2091
+ )
2092
+
2093
+
2094
+
2095
+
2096
+ @validate_call
2097
+ def get_transaction(
2098
+ self,
2099
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
2100
+ 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,
2101
+ _request_timeout: Union[
2102
+ None,
2103
+ Annotated[StrictFloat, Field(gt=0)],
2104
+ Tuple[
2105
+ Annotated[StrictFloat, Field(gt=0)],
2106
+ Annotated[StrictFloat, Field(gt=0)]
2107
+ ]
2108
+ ] = None,
2109
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2110
+ _content_type: Optional[StrictStr] = None,
2111
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2112
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2113
+ ) -> SqlSourceTransactionStateDTO:
2114
+ """Retrieve a transaction's status
2115
+
2116
+ Retrieve the current status and details of a specific transaction. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2117
+
2118
+ :param transaction_id: The unique identifier of the transaction. (required)
2119
+ :type transaction_id: str
2120
+ :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.
2121
+ :type target_tenant_id: str
2122
+ :param _request_timeout: timeout setting for this request. If one
2123
+ number provided, it will be total request
2124
+ timeout. It can also be a pair (tuple) of
2125
+ (connection, read) timeouts.
2126
+ :type _request_timeout: int, tuple(int, int), optional
2127
+ :param _request_auth: set to override the auth_settings for an a single
2128
+ request; this effectively ignores the
2129
+ authentication in the spec for a single request.
2130
+ :type _request_auth: dict, optional
2131
+ :param _content_type: force content-type for the request.
2132
+ :type _content_type: str, Optional
2133
+ :param _headers: set to override the headers for a single
2134
+ request; this effectively ignores the headers
2135
+ in the spec for a single request.
2136
+ :type _headers: dict, optional
2137
+ :param _host_index: set to override the host_index for a single
2138
+ request; this effectively ignores the host_index
2139
+ in the spec for a single request.
2140
+ :type _host_index: int, optional
2141
+ :return: Returns the result object.
2142
+ """ # noqa: E501
2143
+
2144
+ _param = self._get_transaction_serialize(
2145
+ transaction_id=transaction_id,
2146
+ target_tenant_id=target_tenant_id,
2147
+ _request_auth=_request_auth,
2148
+ _content_type=_content_type,
2149
+ _headers=_headers,
2150
+ _host_index=_host_index
2151
+ )
2152
+
2153
+ _response_types_map: Dict[str, Optional[str]] = {
2154
+ '200': "SqlSourceTransactionStateDTO",
2155
+ }
2156
+ response_data = self.api_client.call_api(
2157
+ *_param,
2158
+ _request_timeout=_request_timeout
2159
+ )
2160
+ response_data.read()
2161
+ return self.api_client.response_deserialize(
2162
+ response_data=response_data,
2163
+ response_types_map=_response_types_map,
2164
+ ).data
2165
+
2166
+
2167
+ @validate_call
2168
+ def get_transaction_with_http_info(
2169
+ self,
2170
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
2171
+ 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,
2172
+ _request_timeout: Union[
2173
+ None,
2174
+ Annotated[StrictFloat, Field(gt=0)],
2175
+ Tuple[
2176
+ Annotated[StrictFloat, Field(gt=0)],
2177
+ Annotated[StrictFloat, Field(gt=0)]
2178
+ ]
2179
+ ] = None,
2180
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2181
+ _content_type: Optional[StrictStr] = None,
2182
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2183
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2184
+ ) -> ApiResponse[SqlSourceTransactionStateDTO]:
2185
+ """Retrieve a transaction's status
2186
+
2187
+ Retrieve the current status and details of a specific transaction. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2188
+
2189
+ :param transaction_id: The unique identifier of the transaction. (required)
2190
+ :type transaction_id: str
2191
+ :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.
2192
+ :type target_tenant_id: str
2193
+ :param _request_timeout: timeout setting for this request. If one
2194
+ number provided, it will be total request
2195
+ timeout. It can also be a pair (tuple) of
2196
+ (connection, read) timeouts.
2197
+ :type _request_timeout: int, tuple(int, int), optional
2198
+ :param _request_auth: set to override the auth_settings for an a single
2199
+ request; this effectively ignores the
2200
+ authentication in the spec for a single request.
2201
+ :type _request_auth: dict, optional
2202
+ :param _content_type: force content-type for the request.
2203
+ :type _content_type: str, Optional
2204
+ :param _headers: set to override the headers for a single
2205
+ request; this effectively ignores the headers
2206
+ in the spec for a single request.
2207
+ :type _headers: dict, optional
2208
+ :param _host_index: set to override the host_index for a single
2209
+ request; this effectively ignores the host_index
2210
+ in the spec for a single request.
2211
+ :type _host_index: int, optional
2212
+ :return: Returns the result object.
2213
+ """ # noqa: E501
2214
+
2215
+ _param = self._get_transaction_serialize(
2216
+ transaction_id=transaction_id,
2217
+ target_tenant_id=target_tenant_id,
2218
+ _request_auth=_request_auth,
2219
+ _content_type=_content_type,
2220
+ _headers=_headers,
2221
+ _host_index=_host_index
2222
+ )
2223
+
2224
+ _response_types_map: Dict[str, Optional[str]] = {
2225
+ '200': "SqlSourceTransactionStateDTO",
2226
+ }
2227
+ response_data = self.api_client.call_api(
2228
+ *_param,
2229
+ _request_timeout=_request_timeout
2230
+ )
2231
+ response_data.read()
2232
+ return self.api_client.response_deserialize(
2233
+ response_data=response_data,
2234
+ response_types_map=_response_types_map,
2235
+ )
2236
+
2237
+
2238
+ @validate_call
2239
+ def get_transaction_without_preload_content(
2240
+ self,
2241
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
2242
+ 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,
2243
+ _request_timeout: Union[
2244
+ None,
2245
+ Annotated[StrictFloat, Field(gt=0)],
2246
+ Tuple[
2247
+ Annotated[StrictFloat, Field(gt=0)],
2248
+ Annotated[StrictFloat, Field(gt=0)]
2249
+ ]
2250
+ ] = None,
2251
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2252
+ _content_type: Optional[StrictStr] = None,
2253
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2254
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2255
+ ) -> RESTResponseType:
2256
+ """Retrieve a transaction's status
2257
+
2258
+ Retrieve the current status and details of a specific transaction. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2259
+
2260
+ :param transaction_id: The unique identifier of the transaction. (required)
2261
+ :type transaction_id: str
2262
+ :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.
2263
+ :type target_tenant_id: str
2264
+ :param _request_timeout: timeout setting for this request. If one
2265
+ number provided, it will be total request
2266
+ timeout. It can also be a pair (tuple) of
2267
+ (connection, read) timeouts.
2268
+ :type _request_timeout: int, tuple(int, int), optional
2269
+ :param _request_auth: set to override the auth_settings for an a single
2270
+ request; this effectively ignores the
2271
+ authentication in the spec for a single request.
2272
+ :type _request_auth: dict, optional
2273
+ :param _content_type: force content-type for the request.
2274
+ :type _content_type: str, Optional
2275
+ :param _headers: set to override the headers for a single
2276
+ request; this effectively ignores the headers
2277
+ in the spec for a single request.
2278
+ :type _headers: dict, optional
2279
+ :param _host_index: set to override the host_index for a single
2280
+ request; this effectively ignores the host_index
2281
+ in the spec for a single request.
2282
+ :type _host_index: int, optional
2283
+ :return: Returns the result object.
2284
+ """ # noqa: E501
2285
+
2286
+ _param = self._get_transaction_serialize(
2287
+ transaction_id=transaction_id,
2288
+ target_tenant_id=target_tenant_id,
2289
+ _request_auth=_request_auth,
2290
+ _content_type=_content_type,
2291
+ _headers=_headers,
2292
+ _host_index=_host_index
2293
+ )
2294
+
2295
+ _response_types_map: Dict[str, Optional[str]] = {
2296
+ '200': "SqlSourceTransactionStateDTO",
2297
+ }
2298
+ response_data = self.api_client.call_api(
2299
+ *_param,
2300
+ _request_timeout=_request_timeout
2301
+ )
2302
+ return response_data.response
2303
+
2304
+
2305
+ def _get_transaction_serialize(
2306
+ self,
2307
+ transaction_id,
2308
+ target_tenant_id,
2309
+ _request_auth,
2310
+ _content_type,
2311
+ _headers,
2312
+ _host_index,
2313
+ ) -> RequestSerialized:
2314
+
2315
+ _host = None
2316
+
2317
+ _collection_formats: Dict[str, str] = {
2318
+ }
2319
+
2320
+ _path_params: Dict[str, str] = {}
2321
+ _query_params: List[Tuple[str, str]] = []
2322
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2323
+ _form_params: List[Tuple[str, str]] = []
2324
+ _files: Dict[
2325
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2326
+ ] = {}
2327
+ _body_params: Optional[bytes] = None
2328
+
2329
+ # process the path parameters
2330
+ if transaction_id is not None:
2331
+ _path_params['transactionId'] = transaction_id
2332
+ # process the query parameters
2333
+ # process the header parameters
2334
+ if target_tenant_id is not None:
2335
+ _header_params['TargetTenantID'] = target_tenant_id
2336
+ # process the form parameters
2337
+ # process the body parameter
2338
+
2339
+
2340
+ # set the HTTP header `Accept`
2341
+ if 'Accept' not in _header_params:
2342
+ _header_params['Accept'] = self.api_client.select_header_accept(
2343
+ [
2344
+ 'application/json'
2345
+ ]
2346
+ )
2347
+
2348
+
2349
+ # authentication setting
2350
+ _auth_settings: List[str] = [
2351
+ 'CookieAuth',
2352
+ 'ApiKeyAuth',
2353
+ 'OAuth2Auth',
2354
+ 'OAuth2Auth',
2355
+ 'BearerAuth'
2356
+ ]
2357
+
2358
+ return self.api_client.param_serialize(
2359
+ method='GET',
2360
+ resource_path='/v1alpha/data/table-sources/transactions/{transactionId}',
2361
+ path_params=_path_params,
2362
+ query_params=_query_params,
2363
+ header_params=_header_params,
2364
+ body=_body_params,
2365
+ post_params=_form_params,
2366
+ files=_files,
2367
+ auth_settings=_auth_settings,
2368
+ collection_formats=_collection_formats,
2369
+ _host=_host,
2370
+ _request_auth=_request_auth
2371
+ )
2372
+
2373
+
2374
+
2375
+
2376
+ @validate_call
2377
+ def update_table_source(
2378
+ self,
2379
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source to update.")],
2380
+ sql_source_table_dto: SqlSourceTableDTO,
2381
+ 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,
2382
+ _request_timeout: Union[
2383
+ None,
2384
+ Annotated[StrictFloat, Field(gt=0)],
2385
+ Tuple[
2386
+ Annotated[StrictFloat, Field(gt=0)],
2387
+ Annotated[StrictFloat, Field(gt=0)]
2388
+ ]
2389
+ ] = None,
2390
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2391
+ _content_type: Optional[StrictStr] = None,
2392
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2393
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2394
+ ) -> SqlSourceTableDTO:
2395
+ """Update a table source
2396
+
2397
+ Update an existing table source configuration. Use this to modify the structure, columns, or metadata of a table source. In `PUT` requests, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the table source. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2398
+
2399
+ :param table_id: The unique identifier of the table source to update. (required)
2400
+ :type table_id: str
2401
+ :param sql_source_table_dto: (required)
2402
+ :type sql_source_table_dto: SqlSourceTableDTO
2403
+ :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.
2404
+ :type target_tenant_id: str
2405
+ :param _request_timeout: timeout setting for this request. If one
2406
+ number provided, it will be total request
2407
+ timeout. It can also be a pair (tuple) of
2408
+ (connection, read) timeouts.
2409
+ :type _request_timeout: int, tuple(int, int), optional
2410
+ :param _request_auth: set to override the auth_settings for an a single
2411
+ request; this effectively ignores the
2412
+ authentication in the spec for a single request.
2413
+ :type _request_auth: dict, optional
2414
+ :param _content_type: force content-type for the request.
2415
+ :type _content_type: str, Optional
2416
+ :param _headers: set to override the headers for a single
2417
+ request; this effectively ignores the headers
2418
+ in the spec for a single request.
2419
+ :type _headers: dict, optional
2420
+ :param _host_index: set to override the host_index for a single
2421
+ request; this effectively ignores the host_index
2422
+ in the spec for a single request.
2423
+ :type _host_index: int, optional
2424
+ :return: Returns the result object.
2425
+ """ # noqa: E501
2426
+
2427
+ _param = self._update_table_source_serialize(
2428
+ table_id=table_id,
2429
+ sql_source_table_dto=sql_source_table_dto,
2430
+ target_tenant_id=target_tenant_id,
2431
+ _request_auth=_request_auth,
2432
+ _content_type=_content_type,
2433
+ _headers=_headers,
2434
+ _host_index=_host_index
2435
+ )
2436
+
2437
+ _response_types_map: Dict[str, Optional[str]] = {
2438
+ '200': "SqlSourceTableDTO",
2439
+ }
2440
+ response_data = self.api_client.call_api(
2441
+ *_param,
2442
+ _request_timeout=_request_timeout
2443
+ )
2444
+ response_data.read()
2445
+ return self.api_client.response_deserialize(
2446
+ response_data=response_data,
2447
+ response_types_map=_response_types_map,
2448
+ ).data
2449
+
2450
+
2451
+ @validate_call
2452
+ def update_table_source_with_http_info(
2453
+ self,
2454
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source to update.")],
2455
+ sql_source_table_dto: SqlSourceTableDTO,
2456
+ 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,
2457
+ _request_timeout: Union[
2458
+ None,
2459
+ Annotated[StrictFloat, Field(gt=0)],
2460
+ Tuple[
2461
+ Annotated[StrictFloat, Field(gt=0)],
2462
+ Annotated[StrictFloat, Field(gt=0)]
2463
+ ]
2464
+ ] = None,
2465
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2466
+ _content_type: Optional[StrictStr] = None,
2467
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2468
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2469
+ ) -> ApiResponse[SqlSourceTableDTO]:
2470
+ """Update a table source
2471
+
2472
+ Update an existing table source configuration. Use this to modify the structure, columns, or metadata of a table source. In `PUT` requests, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the table source. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2473
+
2474
+ :param table_id: The unique identifier of the table source to update. (required)
2475
+ :type table_id: str
2476
+ :param sql_source_table_dto: (required)
2477
+ :type sql_source_table_dto: SqlSourceTableDTO
2478
+ :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.
2479
+ :type target_tenant_id: str
2480
+ :param _request_timeout: timeout setting for this request. If one
2481
+ number provided, it will be total request
2482
+ timeout. It can also be a pair (tuple) of
2483
+ (connection, read) timeouts.
2484
+ :type _request_timeout: int, tuple(int, int), optional
2485
+ :param _request_auth: set to override the auth_settings for an a single
2486
+ request; this effectively ignores the
2487
+ authentication in the spec for a single request.
2488
+ :type _request_auth: dict, optional
2489
+ :param _content_type: force content-type for the request.
2490
+ :type _content_type: str, Optional
2491
+ :param _headers: set to override the headers for a single
2492
+ request; this effectively ignores the headers
2493
+ in the spec for a single request.
2494
+ :type _headers: dict, optional
2495
+ :param _host_index: set to override the host_index for a single
2496
+ request; this effectively ignores the host_index
2497
+ in the spec for a single request.
2498
+ :type _host_index: int, optional
2499
+ :return: Returns the result object.
2500
+ """ # noqa: E501
2501
+
2502
+ _param = self._update_table_source_serialize(
2503
+ table_id=table_id,
2504
+ sql_source_table_dto=sql_source_table_dto,
2505
+ target_tenant_id=target_tenant_id,
2506
+ _request_auth=_request_auth,
2507
+ _content_type=_content_type,
2508
+ _headers=_headers,
2509
+ _host_index=_host_index
2510
+ )
2511
+
2512
+ _response_types_map: Dict[str, Optional[str]] = {
2513
+ '200': "SqlSourceTableDTO",
2514
+ }
2515
+ response_data = self.api_client.call_api(
2516
+ *_param,
2517
+ _request_timeout=_request_timeout
2518
+ )
2519
+ response_data.read()
2520
+ return self.api_client.response_deserialize(
2521
+ response_data=response_data,
2522
+ response_types_map=_response_types_map,
2523
+ )
2524
+
2525
+
2526
+ @validate_call
2527
+ def update_table_source_without_preload_content(
2528
+ self,
2529
+ table_id: Annotated[StrictStr, Field(description="The unique identifier of the table source to update.")],
2530
+ sql_source_table_dto: SqlSourceTableDTO,
2531
+ 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,
2532
+ _request_timeout: Union[
2533
+ None,
2534
+ Annotated[StrictFloat, Field(gt=0)],
2535
+ Tuple[
2536
+ Annotated[StrictFloat, Field(gt=0)],
2537
+ Annotated[StrictFloat, Field(gt=0)]
2538
+ ]
2539
+ ] = None,
2540
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2541
+ _content_type: Optional[StrictStr] = None,
2542
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2543
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2544
+ ) -> RESTResponseType:
2545
+ """Update a table source
2546
+
2547
+ Update an existing table source configuration. Use this to modify the structure, columns, or metadata of a table source. In `PUT` requests, the definition in your API call replaces the prior definition. You must provide the entire definition in the `PUT` call. If you omit values from the update request, those values are removed from the table source. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2548
+
2549
+ :param table_id: The unique identifier of the table source to update. (required)
2550
+ :type table_id: str
2551
+ :param sql_source_table_dto: (required)
2552
+ :type sql_source_table_dto: SqlSourceTableDTO
2553
+ :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.
2554
+ :type target_tenant_id: str
2555
+ :param _request_timeout: timeout setting for this request. If one
2556
+ number provided, it will be total request
2557
+ timeout. It can also be a pair (tuple) of
2558
+ (connection, read) timeouts.
2559
+ :type _request_timeout: int, tuple(int, int), optional
2560
+ :param _request_auth: set to override the auth_settings for an a single
2561
+ request; this effectively ignores the
2562
+ authentication in the spec for a single request.
2563
+ :type _request_auth: dict, optional
2564
+ :param _content_type: force content-type for the request.
2565
+ :type _content_type: str, Optional
2566
+ :param _headers: set to override the headers for a single
2567
+ request; this effectively ignores the headers
2568
+ in the spec for a single request.
2569
+ :type _headers: dict, optional
2570
+ :param _host_index: set to override the host_index for a single
2571
+ request; this effectively ignores the host_index
2572
+ in the spec for a single request.
2573
+ :type _host_index: int, optional
2574
+ :return: Returns the result object.
2575
+ """ # noqa: E501
2576
+
2577
+ _param = self._update_table_source_serialize(
2578
+ table_id=table_id,
2579
+ sql_source_table_dto=sql_source_table_dto,
2580
+ target_tenant_id=target_tenant_id,
2581
+ _request_auth=_request_auth,
2582
+ _content_type=_content_type,
2583
+ _headers=_headers,
2584
+ _host_index=_host_index
2585
+ )
2586
+
2587
+ _response_types_map: Dict[str, Optional[str]] = {
2588
+ '200': "SqlSourceTableDTO",
2589
+ }
2590
+ response_data = self.api_client.call_api(
2591
+ *_param,
2592
+ _request_timeout=_request_timeout
2593
+ )
2594
+ return response_data.response
2595
+
2596
+
2597
+ def _update_table_source_serialize(
2598
+ self,
2599
+ table_id,
2600
+ sql_source_table_dto,
2601
+ target_tenant_id,
2602
+ _request_auth,
2603
+ _content_type,
2604
+ _headers,
2605
+ _host_index,
2606
+ ) -> RequestSerialized:
2607
+
2608
+ _host = None
2609
+
2610
+ _collection_formats: Dict[str, str] = {
2611
+ }
2612
+
2613
+ _path_params: Dict[str, str] = {}
2614
+ _query_params: List[Tuple[str, str]] = []
2615
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2616
+ _form_params: List[Tuple[str, str]] = []
2617
+ _files: Dict[
2618
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2619
+ ] = {}
2620
+ _body_params: Optional[bytes] = None
2621
+
2622
+ # process the path parameters
2623
+ if table_id is not None:
2624
+ _path_params['tableId'] = table_id
2625
+ # process the query parameters
2626
+ # process the header parameters
2627
+ if target_tenant_id is not None:
2628
+ _header_params['TargetTenantID'] = target_tenant_id
2629
+ # process the form parameters
2630
+ # process the body parameter
2631
+ if sql_source_table_dto is not None:
2632
+ _body_params = sql_source_table_dto
2633
+
2634
+
2635
+ # set the HTTP header `Accept`
2636
+ if 'Accept' not in _header_params:
2637
+ _header_params['Accept'] = self.api_client.select_header_accept(
2638
+ [
2639
+ 'application/json'
2640
+ ]
2641
+ )
2642
+
2643
+ # set the HTTP header `Content-Type`
2644
+ if _content_type:
2645
+ _header_params['Content-Type'] = _content_type
2646
+ else:
2647
+ _default_content_type = (
2648
+ self.api_client.select_header_content_type(
2649
+ [
2650
+ 'application/json'
2651
+ ]
2652
+ )
2653
+ )
2654
+ if _default_content_type is not None:
2655
+ _header_params['Content-Type'] = _default_content_type
2656
+
2657
+ # authentication setting
2658
+ _auth_settings: List[str] = [
2659
+ 'CookieAuth',
2660
+ 'ApiKeyAuth',
2661
+ 'OAuth2Auth',
2662
+ 'OAuth2Auth',
2663
+ 'BearerAuth'
2664
+ ]
2665
+
2666
+ return self.api_client.param_serialize(
2667
+ method='PUT',
2668
+ resource_path='/v1alpha/data/table-sources/tables/{tableId}',
2669
+ path_params=_path_params,
2670
+ query_params=_query_params,
2671
+ header_params=_header_params,
2672
+ body=_body_params,
2673
+ post_params=_form_params,
2674
+ files=_files,
2675
+ auth_settings=_auth_settings,
2676
+ collection_formats=_collection_formats,
2677
+ _host=_host,
2678
+ _request_auth=_request_auth
2679
+ )
2680
+
2681
+
2682
+
2683
+
2684
+ @validate_call
2685
+ def upload_input_file(
2686
+ self,
2687
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
2688
+ filename: Annotated[StrictStr, Field(description="The name of the file to upload. The input will be accessible with this filename during job execution.")],
2689
+ 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,
2690
+ _request_timeout: Union[
2691
+ None,
2692
+ Annotated[StrictFloat, Field(gt=0)],
2693
+ Tuple[
2694
+ Annotated[StrictFloat, Field(gt=0)],
2695
+ Annotated[StrictFloat, Field(gt=0)]
2696
+ ]
2697
+ ] = None,
2698
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2699
+ _content_type: Optional[StrictStr] = None,
2700
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2701
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2702
+ ) -> None:
2703
+ """Upload an input file to a transaction
2704
+
2705
+ Send input files to a transaction. SQL operations can reference an input file within a job as if it were a local, temporary view. For example, the input file can contain data to insert into your sources, IDs to match against to change or delete rows, or any other input for your SQL query. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2706
+
2707
+ :param transaction_id: The unique identifier of the transaction. (required)
2708
+ :type transaction_id: str
2709
+ :param filename: The name of the file to upload. The input will be accessible with this filename during job execution. (required)
2710
+ :type filename: str
2711
+ :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.
2712
+ :type target_tenant_id: str
2713
+ :param _request_timeout: timeout setting for this request. If one
2714
+ number provided, it will be total request
2715
+ timeout. It can also be a pair (tuple) of
2716
+ (connection, read) timeouts.
2717
+ :type _request_timeout: int, tuple(int, int), optional
2718
+ :param _request_auth: set to override the auth_settings for an a single
2719
+ request; this effectively ignores the
2720
+ authentication in the spec for a single request.
2721
+ :type _request_auth: dict, optional
2722
+ :param _content_type: force content-type for the request.
2723
+ :type _content_type: str, Optional
2724
+ :param _headers: set to override the headers for a single
2725
+ request; this effectively ignores the headers
2726
+ in the spec for a single request.
2727
+ :type _headers: dict, optional
2728
+ :param _host_index: set to override the host_index for a single
2729
+ request; this effectively ignores the host_index
2730
+ in the spec for a single request.
2731
+ :type _host_index: int, optional
2732
+ :return: Returns the result object.
2733
+ """ # noqa: E501
2734
+
2735
+ _param = self._upload_input_file_serialize(
2736
+ transaction_id=transaction_id,
2737
+ filename=filename,
2738
+ target_tenant_id=target_tenant_id,
2739
+ _request_auth=_request_auth,
2740
+ _content_type=_content_type,
2741
+ _headers=_headers,
2742
+ _host_index=_host_index
2743
+ )
2744
+
2745
+ _response_types_map: Dict[str, Optional[str]] = {
2746
+ '200': None,
2747
+ }
2748
+ response_data = self.api_client.call_api(
2749
+ *_param,
2750
+ _request_timeout=_request_timeout
2751
+ )
2752
+ response_data.read()
2753
+ return self.api_client.response_deserialize(
2754
+ response_data=response_data,
2755
+ response_types_map=_response_types_map,
2756
+ ).data
2757
+
2758
+
2759
+ @validate_call
2760
+ def upload_input_file_with_http_info(
2761
+ self,
2762
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
2763
+ filename: Annotated[StrictStr, Field(description="The name of the file to upload. The input will be accessible with this filename during job execution.")],
2764
+ 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,
2765
+ _request_timeout: Union[
2766
+ None,
2767
+ Annotated[StrictFloat, Field(gt=0)],
2768
+ Tuple[
2769
+ Annotated[StrictFloat, Field(gt=0)],
2770
+ Annotated[StrictFloat, Field(gt=0)]
2771
+ ]
2772
+ ] = None,
2773
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2774
+ _content_type: Optional[StrictStr] = None,
2775
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2776
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2777
+ ) -> ApiResponse[None]:
2778
+ """Upload an input file to a transaction
2779
+
2780
+ Send input files to a transaction. SQL operations can reference an input file within a job as if it were a local, temporary view. For example, the input file can contain data to insert into your sources, IDs to match against to change or delete rows, or any other input for your SQL query. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2781
+
2782
+ :param transaction_id: The unique identifier of the transaction. (required)
2783
+ :type transaction_id: str
2784
+ :param filename: The name of the file to upload. The input will be accessible with this filename during job execution. (required)
2785
+ :type filename: str
2786
+ :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.
2787
+ :type target_tenant_id: str
2788
+ :param _request_timeout: timeout setting for this request. If one
2789
+ number provided, it will be total request
2790
+ timeout. It can also be a pair (tuple) of
2791
+ (connection, read) timeouts.
2792
+ :type _request_timeout: int, tuple(int, int), optional
2793
+ :param _request_auth: set to override the auth_settings for an a single
2794
+ request; this effectively ignores the
2795
+ authentication in the spec for a single request.
2796
+ :type _request_auth: dict, optional
2797
+ :param _content_type: force content-type for the request.
2798
+ :type _content_type: str, Optional
2799
+ :param _headers: set to override the headers for a single
2800
+ request; this effectively ignores the headers
2801
+ in the spec for a single request.
2802
+ :type _headers: dict, optional
2803
+ :param _host_index: set to override the host_index for a single
2804
+ request; this effectively ignores the host_index
2805
+ in the spec for a single request.
2806
+ :type _host_index: int, optional
2807
+ :return: Returns the result object.
2808
+ """ # noqa: E501
2809
+
2810
+ _param = self._upload_input_file_serialize(
2811
+ transaction_id=transaction_id,
2812
+ filename=filename,
2813
+ target_tenant_id=target_tenant_id,
2814
+ _request_auth=_request_auth,
2815
+ _content_type=_content_type,
2816
+ _headers=_headers,
2817
+ _host_index=_host_index
2818
+ )
2819
+
2820
+ _response_types_map: Dict[str, Optional[str]] = {
2821
+ '200': None,
2822
+ }
2823
+ response_data = self.api_client.call_api(
2824
+ *_param,
2825
+ _request_timeout=_request_timeout
2826
+ )
2827
+ response_data.read()
2828
+ return self.api_client.response_deserialize(
2829
+ response_data=response_data,
2830
+ response_types_map=_response_types_map,
2831
+ )
2832
+
2833
+
2834
+ @validate_call
2835
+ def upload_input_file_without_preload_content(
2836
+ self,
2837
+ transaction_id: Annotated[StrictStr, Field(description="The unique identifier of the transaction.")],
2838
+ filename: Annotated[StrictStr, Field(description="The name of the file to upload. The input will be accessible with this filename during job execution.")],
2839
+ 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,
2840
+ _request_timeout: Union[
2841
+ None,
2842
+ Annotated[StrictFloat, Field(gt=0)],
2843
+ Tuple[
2844
+ Annotated[StrictFloat, Field(gt=0)],
2845
+ Annotated[StrictFloat, Field(gt=0)]
2846
+ ]
2847
+ ] = None,
2848
+ _request_auth: Optional[Dict[StrictStr, Any]] = None,
2849
+ _content_type: Optional[StrictStr] = None,
2850
+ _headers: Optional[Dict[StrictStr, Any]] = None,
2851
+ _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0,
2852
+ ) -> RESTResponseType:
2853
+ """Upload an input file to a transaction
2854
+
2855
+ Send input files to a transaction. SQL operations can reference an input file within a job as if it were a local, temporary view. For example, the input file can contain data to insert into your sources, IDs to match against to change or delete rows, or any other input for your SQL query. <br>**Note**: <em>This API is in **alpha**. While in alpha, APIs may change in a breaking way without notice; functionality may be removed, and no deprecation notices will be issued. If you are interested in using this API, please contact your Customer Success Manager (CSM).</em>
2856
+
2857
+ :param transaction_id: The unique identifier of the transaction. (required)
2858
+ :type transaction_id: str
2859
+ :param filename: The name of the file to upload. The input will be accessible with this filename during job execution. (required)
2860
+ :type filename: str
2861
+ :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.
2862
+ :type target_tenant_id: str
2863
+ :param _request_timeout: timeout setting for this request. If one
2864
+ number provided, it will be total request
2865
+ timeout. It can also be a pair (tuple) of
2866
+ (connection, read) timeouts.
2867
+ :type _request_timeout: int, tuple(int, int), optional
2868
+ :param _request_auth: set to override the auth_settings for an a single
2869
+ request; this effectively ignores the
2870
+ authentication in the spec for a single request.
2871
+ :type _request_auth: dict, optional
2872
+ :param _content_type: force content-type for the request.
2873
+ :type _content_type: str, Optional
2874
+ :param _headers: set to override the headers for a single
2875
+ request; this effectively ignores the headers
2876
+ in the spec for a single request.
2877
+ :type _headers: dict, optional
2878
+ :param _host_index: set to override the host_index for a single
2879
+ request; this effectively ignores the host_index
2880
+ in the spec for a single request.
2881
+ :type _host_index: int, optional
2882
+ :return: Returns the result object.
2883
+ """ # noqa: E501
2884
+
2885
+ _param = self._upload_input_file_serialize(
2886
+ transaction_id=transaction_id,
2887
+ filename=filename,
2888
+ target_tenant_id=target_tenant_id,
2889
+ _request_auth=_request_auth,
2890
+ _content_type=_content_type,
2891
+ _headers=_headers,
2892
+ _host_index=_host_index
2893
+ )
2894
+
2895
+ _response_types_map: Dict[str, Optional[str]] = {
2896
+ '200': None,
2897
+ }
2898
+ response_data = self.api_client.call_api(
2899
+ *_param,
2900
+ _request_timeout=_request_timeout
2901
+ )
2902
+ return response_data.response
2903
+
2904
+
2905
+ def _upload_input_file_serialize(
2906
+ self,
2907
+ transaction_id,
2908
+ filename,
2909
+ target_tenant_id,
2910
+ _request_auth,
2911
+ _content_type,
2912
+ _headers,
2913
+ _host_index,
2914
+ ) -> RequestSerialized:
2915
+
2916
+ _host = None
2917
+
2918
+ _collection_formats: Dict[str, str] = {
2919
+ }
2920
+
2921
+ _path_params: Dict[str, str] = {}
2922
+ _query_params: List[Tuple[str, str]] = []
2923
+ _header_params: Dict[str, Optional[str]] = _headers or {}
2924
+ _form_params: List[Tuple[str, str]] = []
2925
+ _files: Dict[
2926
+ str, Union[str, bytes, List[str], List[bytes], List[Tuple[str, bytes]]]
2927
+ ] = {}
2928
+ _body_params: Optional[bytes] = None
2929
+
2930
+ # process the path parameters
2931
+ if transaction_id is not None:
2932
+ _path_params['transactionId'] = transaction_id
2933
+ if filename is not None:
2934
+ _path_params['filename'] = filename
2935
+ # process the query parameters
2936
+ # process the header parameters
2937
+ if target_tenant_id is not None:
2938
+ _header_params['TargetTenantID'] = target_tenant_id
2939
+ # process the form parameters
2940
+ # process the body parameter
2941
+
2942
+
2943
+ # set the HTTP header `Accept`
2944
+ if 'Accept' not in _header_params:
2945
+ _header_params['Accept'] = self.api_client.select_header_accept(
2946
+ [
2947
+ 'application/json'
2948
+ ]
2949
+ )
2950
+
2951
+
2952
+ # authentication setting
2953
+ _auth_settings: List[str] = [
2954
+ 'CookieAuth',
2955
+ 'ApiKeyAuth',
2956
+ 'OAuth2Auth',
2957
+ 'OAuth2Auth',
2958
+ 'BearerAuth'
2959
+ ]
2960
+
2961
+ return self.api_client.param_serialize(
2962
+ method='PUT',
2963
+ resource_path='/v1alpha/data/table-sources/transactions/{transactionId}/inputs/{filename}',
2964
+ path_params=_path_params,
2965
+ query_params=_query_params,
2966
+ header_params=_header_params,
2967
+ body=_body_params,
2968
+ post_params=_form_params,
2969
+ files=_files,
2970
+ auth_settings=_auth_settings,
2971
+ collection_formats=_collection_formats,
2972
+ _host=_host,
2973
+ _request_auth=_request_auth
2974
+ )
2975
+
2976
+