robosystems-client 0.2.15__py3-none-any.whl → 0.2.17__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 robosystems-client might be problematic. Click here for more details.

Files changed (375) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +23 -27
  2. robosystems_client/api/agent/batch_process_queries.py +13 -13
  3. robosystems_client/api/agent/execute_specific_agent.py +23 -27
  4. robosystems_client/api/agent/get_agent_metadata.py +13 -13
  5. robosystems_client/api/agent/list_agents.py +23 -23
  6. robosystems_client/api/agent/recommend_agent.py +13 -13
  7. robosystems_client/api/auth/check_password_strength.py +17 -17
  8. robosystems_client/api/auth/complete_sso_auth.py +17 -17
  9. robosystems_client/api/auth/forgot_password.py +17 -23
  10. robosystems_client/api/auth/generate_sso_token.py +26 -26
  11. robosystems_client/api/auth/get_captcha_config.py +6 -6
  12. robosystems_client/api/auth/get_current_auth_user.py +17 -17
  13. robosystems_client/api/auth/get_password_policy.py +10 -10
  14. robosystems_client/api/auth/login_user.py +17 -17
  15. robosystems_client/api/auth/logout_user.py +10 -10
  16. robosystems_client/api/auth/refresh_auth_session.py +17 -17
  17. robosystems_client/api/auth/register_user.py +17 -17
  18. robosystems_client/api/auth/resend_verification_email.py +17 -29
  19. robosystems_client/api/auth/reset_password.py +17 -17
  20. robosystems_client/api/auth/sso_token_exchange.py +17 -17
  21. robosystems_client/api/auth/validate_reset_token.py +17 -17
  22. robosystems_client/api/auth/verify_email.py +17 -17
  23. robosystems_client/api/backup/create_backup.py +13 -13
  24. robosystems_client/api/backup/get_backup_download_url.py +22 -22
  25. robosystems_client/api/backup/get_backup_stats.py +13 -13
  26. robosystems_client/api/backup/list_backups.py +31 -31
  27. robosystems_client/api/backup/restore_backup.py +13 -13
  28. robosystems_client/api/billing/cancel_org_subscription.py +13 -13
  29. robosystems_client/api/billing/create_checkout_session.py +13 -13
  30. robosystems_client/api/billing/create_portal_session.py +13 -13
  31. robosystems_client/api/billing/get_checkout_status.py +13 -13
  32. robosystems_client/api/billing/get_org_billing_customer.py +13 -13
  33. robosystems_client/api/billing/get_org_subscription.py +13 -13
  34. robosystems_client/api/billing/get_org_upcoming_invoice.py +16 -16
  35. robosystems_client/api/billing/list_org_invoices.py +22 -22
  36. robosystems_client/api/billing/list_org_subscriptions.py +13 -13
  37. robosystems_client/api/connections/create_connection.py +13 -13
  38. robosystems_client/api/connections/create_link_token.py +13 -13
  39. robosystems_client/api/connections/delete_connection.py +13 -13
  40. robosystems_client/api/connections/exchange_link_token.py +13 -13
  41. robosystems_client/api/connections/get_connection.py +13 -13
  42. robosystems_client/api/connections/get_connection_options.py +13 -13
  43. robosystems_client/api/connections/init_o_auth.py +13 -13
  44. robosystems_client/api/connections/list_connections.py +33 -33
  45. robosystems_client/api/connections/oauth_callback.py +13 -13
  46. robosystems_client/api/connections/sync_connection.py +13 -19
  47. robosystems_client/api/credits_/check_credit_balance.py +38 -45
  48. robosystems_client/api/credits_/check_storage_limits.py +13 -13
  49. robosystems_client/api/credits_/get_credit_summary.py +13 -13
  50. robosystems_client/api/credits_/get_storage_usage.py +28 -28
  51. robosystems_client/api/credits_/list_credit_transactions.py +71 -71
  52. robosystems_client/api/files/__init__.py +1 -0
  53. robosystems_client/api/files/create_file_upload.py +311 -0
  54. robosystems_client/api/files/delete_file.py +354 -0
  55. robosystems_client/api/files/get_file.py +329 -0
  56. robosystems_client/api/files/list_files.py +346 -0
  57. robosystems_client/api/files/update_file.py +320 -0
  58. robosystems_client/api/graph_health/get_database_health.py +13 -13
  59. robosystems_client/api/graph_info/get_database_info.py +13 -13
  60. robosystems_client/api/graph_limits/get_graph_limits.py +13 -13
  61. robosystems_client/api/graphs/create_graph.py +13 -13
  62. robosystems_client/api/graphs/get_available_extensions.py +13 -13
  63. robosystems_client/api/graphs/get_available_graph_tiers.py +22 -22
  64. robosystems_client/api/graphs/get_graphs.py +13 -13
  65. robosystems_client/api/graphs/select_graph.py +13 -13
  66. robosystems_client/api/materialization/__init__.py +1 -0
  67. robosystems_client/api/materialization/get_materialization_status.py +272 -0
  68. robosystems_client/api/materialization/materialize_graph.py +416 -0
  69. robosystems_client/api/mcp/call_mcp_tool.py +32 -32
  70. robosystems_client/api/mcp/list_mcp_tools.py +13 -13
  71. robosystems_client/api/operations/cancel_operation.py +13 -13
  72. robosystems_client/api/operations/get_operation_status.py +13 -25
  73. robosystems_client/api/operations/stream_operation_events.py +41 -41
  74. robosystems_client/api/org/create_org.py +13 -13
  75. robosystems_client/api/org/get_org.py +13 -13
  76. robosystems_client/api/org/list_org_graphs.py +13 -13
  77. robosystems_client/api/org/list_user_orgs.py +6 -6
  78. robosystems_client/api/org/update_org.py +13 -13
  79. robosystems_client/api/org_members/invite_org_member.py +13 -13
  80. robosystems_client/api/org_members/list_org_members.py +13 -13
  81. robosystems_client/api/org_members/remove_org_member.py +13 -13
  82. robosystems_client/api/org_members/update_org_member_role.py +13 -13
  83. robosystems_client/api/org_usage/get_org_limits.py +13 -13
  84. robosystems_client/api/org_usage/get_org_usage.py +22 -22
  85. robosystems_client/api/query/execute_cypher_query.py +74 -62
  86. robosystems_client/api/schema/export_graph_schema.py +35 -35
  87. robosystems_client/api/schema/get_graph_schema.py +13 -13
  88. robosystems_client/api/schema/validate_schema.py +13 -13
  89. robosystems_client/api/service_offerings/get_service_offerings.py +17 -17
  90. robosystems_client/api/status/get_service_status.py +10 -10
  91. robosystems_client/api/subgraphs/create_subgraph.py +64 -28
  92. robosystems_client/api/subgraphs/delete_subgraph.py +13 -13
  93. robosystems_client/api/subgraphs/get_subgraph_info.py +13 -13
  94. robosystems_client/api/subgraphs/get_subgraph_quota.py +13 -13
  95. robosystems_client/api/subgraphs/list_subgraphs.py +13 -13
  96. robosystems_client/api/subscriptions/create_repository_subscription.py +13 -13
  97. robosystems_client/api/subscriptions/get_graph_subscription.py +13 -13
  98. robosystems_client/api/subscriptions/upgrade_subscription.py +13 -13
  99. robosystems_client/api/tables/list_tables.py +13 -13
  100. robosystems_client/api/tables/query_tables.py +13 -13
  101. robosystems_client/api/usage/get_graph_metrics.py +13 -13
  102. robosystems_client/api/usage/get_graph_usage_analytics.py +66 -66
  103. robosystems_client/api/user/create_user_api_key.py +13 -13
  104. robosystems_client/api/user/get_current_user.py +6 -6
  105. robosystems_client/api/user/list_user_api_keys.py +6 -6
  106. robosystems_client/api/user/revoke_user_api_key.py +13 -13
  107. robosystems_client/api/user/update_user.py +13 -13
  108. robosystems_client/api/user/update_user_api_key.py +13 -13
  109. robosystems_client/api/user/update_user_password.py +13 -13
  110. robosystems_client/api/views/__init__.py +1 -0
  111. robosystems_client/api/views/create_view.py +245 -0
  112. robosystems_client/api/views/save_view.py +299 -0
  113. robosystems_client/client.py +13 -13
  114. robosystems_client/extensions/__init__.py +67 -10
  115. robosystems_client/extensions/element_mapping_client.py +585 -0
  116. robosystems_client/extensions/extensions.py +12 -3
  117. robosystems_client/extensions/file_client.py +380 -0
  118. robosystems_client/extensions/materialization_client.py +211 -0
  119. robosystems_client/extensions/subgraph_workspace_client.py +744 -0
  120. robosystems_client/extensions/table_client.py +161 -0
  121. robosystems_client/extensions/view_builder_client.py +617 -0
  122. robosystems_client/models/__init__.py +34 -10
  123. robosystems_client/models/account_info.py +2 -0
  124. robosystems_client/models/agent_list_response.py +3 -1
  125. robosystems_client/models/agent_list_response_agents.py +5 -3
  126. robosystems_client/models/agent_list_response_agents_additional_property.py +2 -0
  127. robosystems_client/models/agent_message.py +9 -7
  128. robosystems_client/models/agent_metadata_response.py +11 -9
  129. robosystems_client/models/agent_recommendation.py +8 -6
  130. robosystems_client/models/agent_recommendation_request.py +9 -7
  131. robosystems_client/models/agent_recommendation_request_context_type_0.py +2 -0
  132. robosystems_client/models/agent_recommendation_response.py +4 -2
  133. robosystems_client/models/agent_request.py +41 -40
  134. robosystems_client/models/agent_request_context_type_0.py +2 -0
  135. robosystems_client/models/agent_response.py +42 -44
  136. robosystems_client/models/agent_response_error_details_type_0.py +2 -0
  137. robosystems_client/models/agent_response_metadata_type_0.py +2 -0
  138. robosystems_client/models/agent_response_tokens_used_type_0.py +2 -0
  139. robosystems_client/models/api_key_info.py +18 -16
  140. robosystems_client/models/api_keys_response.py +4 -2
  141. robosystems_client/models/auth_response.py +26 -24
  142. robosystems_client/models/auth_response_org_type_0.py +2 -0
  143. robosystems_client/models/auth_response_user.py +2 -0
  144. robosystems_client/models/available_extension.py +5 -3
  145. robosystems_client/models/available_extensions_response.py +4 -2
  146. robosystems_client/models/available_graph_tiers_response.py +4 -2
  147. robosystems_client/models/backup_create_request.py +18 -16
  148. robosystems_client/models/backup_download_url_response.py +2 -0
  149. robosystems_client/models/backup_limits.py +2 -0
  150. robosystems_client/models/backup_list_response.py +4 -2
  151. robosystems_client/models/backup_response.py +13 -11
  152. robosystems_client/models/backup_restore_request.py +7 -6
  153. robosystems_client/models/backup_stats_response.py +9 -7
  154. robosystems_client/models/backup_stats_response_backup_formats.py +2 -0
  155. robosystems_client/models/batch_agent_request.py +7 -5
  156. robosystems_client/models/batch_agent_response.py +4 -2
  157. robosystems_client/models/billing_customer.py +10 -8
  158. robosystems_client/models/cancel_operation_response_canceloperation.py +2 -0
  159. robosystems_client/models/check_credit_balance_response_checkcreditbalance.py +2 -0
  160. robosystems_client/models/checkout_response.py +22 -20
  161. robosystems_client/models/checkout_status_response.py +19 -17
  162. robosystems_client/models/connection_options_response.py +4 -2
  163. robosystems_client/models/connection_provider_info.py +26 -24
  164. robosystems_client/models/connection_response.py +14 -12
  165. robosystems_client/models/connection_response_metadata.py +2 -0
  166. robosystems_client/models/copy_operation_limits.py +2 -0
  167. robosystems_client/models/create_api_key_request.py +13 -11
  168. robosystems_client/models/create_api_key_response.py +3 -1
  169. robosystems_client/models/create_checkout_request.py +3 -1
  170. robosystems_client/models/create_checkout_request_resource_config.py +2 -0
  171. robosystems_client/models/create_connection_request.py +21 -21
  172. robosystems_client/models/create_graph_request.py +25 -25
  173. robosystems_client/models/create_org_request.py +7 -5
  174. robosystems_client/models/create_repository_subscription_request.py +2 -0
  175. robosystems_client/models/create_subgraph_request.py +30 -19
  176. robosystems_client/models/create_subgraph_request_metadata_type_0.py +2 -0
  177. robosystems_client/models/create_view_request.py +141 -0
  178. robosystems_client/models/credit_limits.py +2 -0
  179. robosystems_client/models/credit_summary.py +3 -1
  180. robosystems_client/models/credit_summary_operation_breakdown.py +2 -0
  181. robosystems_client/models/credit_summary_response.py +8 -6
  182. robosystems_client/models/custom_schema_definition.py +39 -33
  183. robosystems_client/models/custom_schema_definition_metadata.py +2 -0
  184. robosystems_client/models/custom_schema_definition_nodes_item.py +2 -0
  185. robosystems_client/models/custom_schema_definition_relationships_item.py +2 -0
  186. robosystems_client/models/cypher_query_request.py +15 -13
  187. robosystems_client/models/cypher_query_request_parameters_type_0.py +2 -0
  188. robosystems_client/models/database_health_response.py +21 -19
  189. robosystems_client/models/database_info_response.py +13 -11
  190. robosystems_client/models/delete_file_response.py +54 -1
  191. robosystems_client/models/delete_subgraph_request.py +12 -10
  192. robosystems_client/models/delete_subgraph_response.py +13 -11
  193. robosystems_client/models/detailed_transactions_response.py +6 -4
  194. robosystems_client/models/detailed_transactions_response_date_range.py +2 -0
  195. robosystems_client/models/detailed_transactions_response_summary.py +5 -3
  196. robosystems_client/models/email_verification_request.py +2 -0
  197. robosystems_client/models/enhanced_credit_transaction_response.py +24 -22
  198. robosystems_client/models/enhanced_credit_transaction_response_metadata.py +2 -0
  199. robosystems_client/models/enhanced_file_status_layers.py +83 -0
  200. robosystems_client/models/error_response.py +19 -17
  201. robosystems_client/models/exchange_token_request.py +9 -7
  202. robosystems_client/models/exchange_token_request_metadata_type_0.py +2 -0
  203. robosystems_client/models/execute_cypher_query_response_200.py +25 -21
  204. robosystems_client/models/execute_cypher_query_response_200_data_item.py +2 -0
  205. robosystems_client/models/fact_detail.py +109 -0
  206. robosystems_client/models/file_info.py +18 -16
  207. robosystems_client/models/file_layer_status.py +123 -0
  208. robosystems_client/models/file_status_update.py +14 -0
  209. robosystems_client/models/file_upload_request.py +25 -3
  210. robosystems_client/models/file_upload_response.py +2 -0
  211. robosystems_client/models/forgot_password_request.py +2 -0
  212. robosystems_client/models/forgot_password_response_forgotpassword.py +2 -0
  213. robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py +2 -0
  214. robosystems_client/models/get_file_info_response.py +62 -21
  215. robosystems_client/models/get_operation_status_response_getoperationstatus.py +2 -0
  216. robosystems_client/models/get_storage_usage_response_getstorageusage.py +2 -0
  217. robosystems_client/models/graph_info.py +10 -8
  218. robosystems_client/models/graph_limits_response.py +14 -12
  219. robosystems_client/models/graph_metadata.py +14 -12
  220. robosystems_client/models/graph_metrics_response.py +17 -15
  221. robosystems_client/models/graph_metrics_response_estimated_size.py +2 -0
  222. robosystems_client/models/graph_metrics_response_health_status.py +2 -0
  223. robosystems_client/models/graph_metrics_response_node_counts.py +2 -0
  224. robosystems_client/models/graph_metrics_response_relationship_counts.py +2 -0
  225. robosystems_client/models/graph_subscription_response.py +28 -26
  226. robosystems_client/models/graph_subscription_tier.py +15 -13
  227. robosystems_client/models/graph_subscriptions.py +5 -3
  228. robosystems_client/models/graph_tier_backup.py +2 -0
  229. robosystems_client/models/graph_tier_copy_operations.py +2 -0
  230. robosystems_client/models/graph_tier_info.py +15 -13
  231. robosystems_client/models/graph_tier_instance.py +2 -0
  232. robosystems_client/models/graph_tier_limits.py +10 -8
  233. robosystems_client/models/graph_usage_response.py +32 -30
  234. robosystems_client/models/graph_usage_response_recent_events_item.py +2 -0
  235. robosystems_client/models/health_status.py +9 -7
  236. robosystems_client/models/health_status_details_type_0.py +2 -0
  237. robosystems_client/models/http_validation_error.py +12 -8
  238. robosystems_client/models/initial_entity_data.py +38 -36
  239. robosystems_client/models/invite_member_request.py +9 -7
  240. robosystems_client/models/invoice.py +35 -33
  241. robosystems_client/models/invoice_line_item.py +13 -11
  242. robosystems_client/models/invoices_response.py +4 -2
  243. robosystems_client/models/link_token_request.py +21 -23
  244. robosystems_client/models/link_token_request_options_type_0.py +2 -0
  245. robosystems_client/models/list_org_graphs_response_200_item.py +2 -0
  246. robosystems_client/models/list_subgraphs_response.py +15 -13
  247. robosystems_client/models/list_table_files_response.py +27 -11
  248. robosystems_client/models/login_request.py +2 -0
  249. robosystems_client/models/logout_user_response_logoutuser.py +2 -0
  250. robosystems_client/models/{bulk_ingest_request.py → materialize_request.py} +25 -15
  251. robosystems_client/models/materialize_response.py +131 -0
  252. robosystems_client/models/materialize_status_response.py +172 -0
  253. robosystems_client/models/mcp_tool_call.py +7 -5
  254. robosystems_client/models/mcp_tool_call_arguments.py +2 -0
  255. robosystems_client/models/mcp_tools_response.py +4 -2
  256. robosystems_client/models/mcp_tools_response_tools_item.py +2 -0
  257. robosystems_client/models/o_auth_callback_request.py +18 -16
  258. robosystems_client/models/o_auth_init_request.py +14 -12
  259. robosystems_client/models/o_auth_init_request_additional_params_type_0.py +2 -0
  260. robosystems_client/models/o_auth_init_response.py +2 -0
  261. robosystems_client/models/offering_repository_plan.py +9 -7
  262. robosystems_client/models/offering_repository_plan_rate_limits_type_0.py +8 -8
  263. robosystems_client/models/operation_costs.py +4 -2
  264. robosystems_client/models/operation_costs_ai_operations.py +2 -0
  265. robosystems_client/models/operation_costs_token_pricing.py +5 -3
  266. robosystems_client/models/org_detail_response.py +13 -11
  267. robosystems_client/models/org_detail_response_graphs_item.py +2 -0
  268. robosystems_client/models/org_detail_response_limits_type_0.py +2 -0
  269. robosystems_client/models/org_detail_response_members_item.py +2 -0
  270. robosystems_client/models/org_limits_response.py +3 -1
  271. robosystems_client/models/org_limits_response_current_usage.py +2 -0
  272. robosystems_client/models/org_list_response.py +4 -2
  273. robosystems_client/models/org_member_list_response.py +4 -2
  274. robosystems_client/models/org_member_response.py +2 -0
  275. robosystems_client/models/org_response.py +2 -0
  276. robosystems_client/models/org_usage_response.py +7 -5
  277. robosystems_client/models/org_usage_response_daily_trend_item.py +2 -0
  278. robosystems_client/models/org_usage_response_graph_details_item.py +2 -0
  279. robosystems_client/models/org_usage_summary.py +18 -16
  280. robosystems_client/models/password_check_request.py +8 -6
  281. robosystems_client/models/password_check_response.py +3 -1
  282. robosystems_client/models/password_check_response_character_types.py +2 -0
  283. robosystems_client/models/password_policy_response.py +3 -1
  284. robosystems_client/models/password_policy_response_policy.py +2 -0
  285. robosystems_client/models/payment_method.py +23 -21
  286. robosystems_client/models/performance_insights.py +5 -3
  287. robosystems_client/models/performance_insights_operation_stats.py +2 -0
  288. robosystems_client/models/performance_insights_slow_queries_item.py +2 -0
  289. robosystems_client/models/plaid_connection_config.py +30 -30
  290. robosystems_client/models/plaid_connection_config_accounts_type_0_item.py +2 -0
  291. robosystems_client/models/plaid_connection_config_institution_type_0.py +2 -0
  292. robosystems_client/models/portal_session_response.py +2 -0
  293. robosystems_client/models/query_limits.py +2 -0
  294. robosystems_client/models/quick_books_connection_config.py +13 -11
  295. robosystems_client/models/rate_limits.py +2 -0
  296. robosystems_client/models/register_request.py +8 -6
  297. robosystems_client/models/repository_info.py +4 -2
  298. robosystems_client/models/repository_subscriptions.py +4 -2
  299. robosystems_client/models/resend_verification_email_response_resendverificationemail.py +2 -0
  300. robosystems_client/models/reset_password_request.py +2 -0
  301. robosystems_client/models/reset_password_validate_response.py +8 -6
  302. robosystems_client/models/save_view_request.py +138 -0
  303. robosystems_client/models/save_view_response.py +181 -0
  304. robosystems_client/models/schema_export_response.py +16 -14
  305. robosystems_client/models/schema_export_response_data_stats_type_0.py +2 -0
  306. robosystems_client/models/schema_export_response_schema_definition_type_0.py +2 -0
  307. robosystems_client/models/schema_info_response.py +3 -1
  308. robosystems_client/models/schema_info_response_schema.py +2 -0
  309. robosystems_client/models/schema_validation_request.py +18 -17
  310. robosystems_client/models/schema_validation_request_schema_definition_type_0.py +2 -0
  311. robosystems_client/models/schema_validation_response.py +28 -33
  312. robosystems_client/models/schema_validation_response_compatibility_type_0.py +2 -0
  313. robosystems_client/models/schema_validation_response_stats_type_0.py +2 -0
  314. robosystems_client/models/sec_connection_config.py +8 -6
  315. robosystems_client/models/selection_criteria.py +19 -17
  316. robosystems_client/models/service_offering_summary.py +2 -0
  317. robosystems_client/models/service_offerings_response.py +6 -4
  318. robosystems_client/models/sso_complete_request.py +2 -0
  319. robosystems_client/models/sso_exchange_request.py +8 -6
  320. robosystems_client/models/sso_exchange_response.py +2 -0
  321. robosystems_client/models/sso_token_response.py +2 -0
  322. robosystems_client/models/storage_info.py +4 -2
  323. robosystems_client/models/storage_info_included_per_tier.py +2 -0
  324. robosystems_client/models/storage_info_overage_pricing.py +2 -0
  325. robosystems_client/models/storage_limit_response.py +9 -7
  326. robosystems_client/models/storage_limits.py +8 -6
  327. robosystems_client/models/storage_summary.py +2 -0
  328. robosystems_client/models/structure_detail.py +85 -0
  329. robosystems_client/models/subgraph_quota_response.py +23 -21
  330. robosystems_client/models/subgraph_response.py +35 -35
  331. robosystems_client/models/subgraph_response_metadata_type_0.py +2 -0
  332. robosystems_client/models/subgraph_summary.py +14 -12
  333. robosystems_client/models/success_response.py +11 -9
  334. robosystems_client/models/success_response_data_type_0.py +2 -0
  335. robosystems_client/models/sync_connection_request.py +11 -9
  336. robosystems_client/models/sync_connection_request_sync_options_type_0.py +2 -0
  337. robosystems_client/models/sync_connection_response_syncconnection.py +2 -0
  338. robosystems_client/models/table_info.py +12 -10
  339. robosystems_client/models/table_list_response.py +4 -2
  340. robosystems_client/models/table_query_request.py +9 -7
  341. robosystems_client/models/table_query_response.py +2 -0
  342. robosystems_client/models/token_pricing.py +2 -0
  343. robosystems_client/models/transaction_summary_response.py +13 -11
  344. robosystems_client/models/upcoming_invoice.py +10 -8
  345. robosystems_client/models/update_api_key_request.py +13 -11
  346. robosystems_client/models/{update_file_status_response_updatefilestatus.py → update_file_response_updatefile.py} +7 -5
  347. robosystems_client/models/update_member_role_request.py +2 -0
  348. robosystems_client/models/update_org_request.py +14 -12
  349. robosystems_client/models/update_password_request.py +2 -0
  350. robosystems_client/models/update_user_request.py +13 -11
  351. robosystems_client/models/upgrade_subscription_request.py +2 -0
  352. robosystems_client/models/user_graphs_response.py +10 -8
  353. robosystems_client/models/user_response.py +22 -18
  354. robosystems_client/models/validation_error.py +8 -6
  355. robosystems_client/models/view_axis_config.py +276 -0
  356. robosystems_client/models/view_axis_config_element_labels_type_0.py +46 -0
  357. robosystems_client/models/view_axis_config_member_labels_type_0.py +46 -0
  358. robosystems_client/models/view_config.py +127 -0
  359. robosystems_client/models/view_source.py +144 -0
  360. robosystems_client/models/view_source_type.py +9 -0
  361. robosystems_client/types.py +9 -9
  362. {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.17.dist-info}/METADATA +1 -1
  363. robosystems_client-0.2.17.dist-info/RECORD +420 -0
  364. robosystems_client/api/tables/delete_file.py +0 -317
  365. robosystems_client/api/tables/get_file_info.py +0 -249
  366. robosystems_client/api/tables/get_upload_url.py +0 -380
  367. robosystems_client/api/tables/ingest_tables.py +0 -456
  368. robosystems_client/api/tables/list_table_files.py +0 -329
  369. robosystems_client/api/tables/update_file_status.py +0 -395
  370. robosystems_client/extensions/table_ingest_client.py +0 -462
  371. robosystems_client/models/bulk_ingest_response.py +0 -137
  372. robosystems_client/models/table_ingest_result.py +0 -107
  373. robosystems_client-0.2.15.dist-info/RECORD +0 -396
  374. {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.17.dist-info}/WHEEL +0 -0
  375. {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.17.dist-info}/licenses/LICENSE +0 -0
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union
2
+ from typing import Any
3
3
 
4
4
  import httpx
5
5
 
@@ -24,8 +24,8 @@ def _get_kwargs(
24
24
 
25
25
 
26
26
  def _parse_response(
27
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
28
- ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
27
+ *, client: AuthenticatedClient | Client, response: httpx.Response
28
+ ) -> ConnectionResponse | ErrorResponse | HTTPValidationError | None:
29
29
  if response.status_code == 200:
30
30
  response_200 = ConnectionResponse.from_dict(response.json())
31
31
 
@@ -58,8 +58,8 @@ def _parse_response(
58
58
 
59
59
 
60
60
  def _build_response(
61
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
62
- ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
61
+ *, client: AuthenticatedClient | Client, response: httpx.Response
62
+ ) -> Response[ConnectionResponse | ErrorResponse | HTTPValidationError]:
63
63
  return Response(
64
64
  status_code=HTTPStatus(response.status_code),
65
65
  content=response.content,
@@ -73,7 +73,7 @@ def sync_detailed(
73
73
  connection_id: str,
74
74
  *,
75
75
  client: AuthenticatedClient,
76
- ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
76
+ ) -> Response[ConnectionResponse | ErrorResponse | HTTPValidationError]:
77
77
  """Get Connection
78
78
 
79
79
  Get detailed information about a specific connection.
@@ -96,7 +96,7 @@ def sync_detailed(
96
96
  httpx.TimeoutException: If the request takes longer than Client.timeout.
97
97
 
98
98
  Returns:
99
- Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]
99
+ Response[ConnectionResponse | ErrorResponse | HTTPValidationError]
100
100
  """
101
101
 
102
102
  kwargs = _get_kwargs(
@@ -116,7 +116,7 @@ def sync(
116
116
  connection_id: str,
117
117
  *,
118
118
  client: AuthenticatedClient,
119
- ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
119
+ ) -> ConnectionResponse | ErrorResponse | HTTPValidationError | None:
120
120
  """Get Connection
121
121
 
122
122
  Get detailed information about a specific connection.
@@ -139,7 +139,7 @@ def sync(
139
139
  httpx.TimeoutException: If the request takes longer than Client.timeout.
140
140
 
141
141
  Returns:
142
- Union[ConnectionResponse, ErrorResponse, HTTPValidationError]
142
+ ConnectionResponse | ErrorResponse | HTTPValidationError
143
143
  """
144
144
 
145
145
  return sync_detailed(
@@ -154,7 +154,7 @@ async def asyncio_detailed(
154
154
  connection_id: str,
155
155
  *,
156
156
  client: AuthenticatedClient,
157
- ) -> Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
157
+ ) -> Response[ConnectionResponse | ErrorResponse | HTTPValidationError]:
158
158
  """Get Connection
159
159
 
160
160
  Get detailed information about a specific connection.
@@ -177,7 +177,7 @@ async def asyncio_detailed(
177
177
  httpx.TimeoutException: If the request takes longer than Client.timeout.
178
178
 
179
179
  Returns:
180
- Response[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]
180
+ Response[ConnectionResponse | ErrorResponse | HTTPValidationError]
181
181
  """
182
182
 
183
183
  kwargs = _get_kwargs(
@@ -195,7 +195,7 @@ async def asyncio(
195
195
  connection_id: str,
196
196
  *,
197
197
  client: AuthenticatedClient,
198
- ) -> Optional[Union[ConnectionResponse, ErrorResponse, HTTPValidationError]]:
198
+ ) -> ConnectionResponse | ErrorResponse | HTTPValidationError | None:
199
199
  """Get Connection
200
200
 
201
201
  Get detailed information about a specific connection.
@@ -218,7 +218,7 @@ async def asyncio(
218
218
  httpx.TimeoutException: If the request takes longer than Client.timeout.
219
219
 
220
220
  Returns:
221
- Union[ConnectionResponse, ErrorResponse, HTTPValidationError]
221
+ ConnectionResponse | ErrorResponse | HTTPValidationError
222
222
  """
223
223
 
224
224
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union
2
+ from typing import Any
3
3
 
4
4
  import httpx
5
5
 
@@ -23,8 +23,8 @@ def _get_kwargs(
23
23
 
24
24
 
25
25
  def _parse_response(
26
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
27
- ) -> Optional[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
26
+ *, client: AuthenticatedClient | Client, response: httpx.Response
27
+ ) -> ConnectionOptionsResponse | ErrorResponse | HTTPValidationError | None:
28
28
  if response.status_code == 200:
29
29
  response_200 = ConnectionOptionsResponse.from_dict(response.json())
30
30
 
@@ -52,8 +52,8 @@ def _parse_response(
52
52
 
53
53
 
54
54
  def _build_response(
55
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
56
- ) -> Response[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
55
+ *, client: AuthenticatedClient | Client, response: httpx.Response
56
+ ) -> Response[ConnectionOptionsResponse | ErrorResponse | HTTPValidationError]:
57
57
  return Response(
58
58
  status_code=HTTPStatus(response.status_code),
59
59
  content=response.content,
@@ -66,7 +66,7 @@ def sync_detailed(
66
66
  graph_id: str,
67
67
  *,
68
68
  client: AuthenticatedClient,
69
- ) -> Response[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
69
+ ) -> Response[ConnectionOptionsResponse | ErrorResponse | HTTPValidationError]:
70
70
  """List Connection Options
71
71
 
72
72
  Get metadata about all available data connection providers.
@@ -98,7 +98,7 @@ def sync_detailed(
98
98
  httpx.TimeoutException: If the request takes longer than Client.timeout.
99
99
 
100
100
  Returns:
101
- Response[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]
101
+ Response[ConnectionOptionsResponse | ErrorResponse | HTTPValidationError]
102
102
  """
103
103
 
104
104
  kwargs = _get_kwargs(
@@ -116,7 +116,7 @@ def sync(
116
116
  graph_id: str,
117
117
  *,
118
118
  client: AuthenticatedClient,
119
- ) -> Optional[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
119
+ ) -> ConnectionOptionsResponse | ErrorResponse | HTTPValidationError | None:
120
120
  """List Connection Options
121
121
 
122
122
  Get metadata about all available data connection providers.
@@ -148,7 +148,7 @@ def sync(
148
148
  httpx.TimeoutException: If the request takes longer than Client.timeout.
149
149
 
150
150
  Returns:
151
- Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]
151
+ ConnectionOptionsResponse | ErrorResponse | HTTPValidationError
152
152
  """
153
153
 
154
154
  return sync_detailed(
@@ -161,7 +161,7 @@ async def asyncio_detailed(
161
161
  graph_id: str,
162
162
  *,
163
163
  client: AuthenticatedClient,
164
- ) -> Response[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
164
+ ) -> Response[ConnectionOptionsResponse | ErrorResponse | HTTPValidationError]:
165
165
  """List Connection Options
166
166
 
167
167
  Get metadata about all available data connection providers.
@@ -193,7 +193,7 @@ async def asyncio_detailed(
193
193
  httpx.TimeoutException: If the request takes longer than Client.timeout.
194
194
 
195
195
  Returns:
196
- Response[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]
196
+ Response[ConnectionOptionsResponse | ErrorResponse | HTTPValidationError]
197
197
  """
198
198
 
199
199
  kwargs = _get_kwargs(
@@ -209,7 +209,7 @@ async def asyncio(
209
209
  graph_id: str,
210
210
  *,
211
211
  client: AuthenticatedClient,
212
- ) -> Optional[Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]]:
212
+ ) -> ConnectionOptionsResponse | ErrorResponse | HTTPValidationError | None:
213
213
  """List Connection Options
214
214
 
215
215
  Get metadata about all available data connection providers.
@@ -241,7 +241,7 @@ async def asyncio(
241
241
  httpx.TimeoutException: If the request takes longer than Client.timeout.
242
242
 
243
243
  Returns:
244
- Union[ConnectionOptionsResponse, ErrorResponse, HTTPValidationError]
244
+ ConnectionOptionsResponse | ErrorResponse | HTTPValidationError
245
245
  """
246
246
 
247
247
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union
2
+ from typing import Any
3
3
 
4
4
  import httpx
5
5
 
@@ -32,8 +32,8 @@ def _get_kwargs(
32
32
 
33
33
 
34
34
  def _parse_response(
35
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
36
- ) -> Optional[Union[HTTPValidationError, OAuthInitResponse]]:
35
+ *, client: AuthenticatedClient | Client, response: httpx.Response
36
+ ) -> HTTPValidationError | OAuthInitResponse | None:
37
37
  if response.status_code == 200:
38
38
  response_200 = OAuthInitResponse.from_dict(response.json())
39
39
 
@@ -51,8 +51,8 @@ def _parse_response(
51
51
 
52
52
 
53
53
  def _build_response(
54
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
55
- ) -> Response[Union[HTTPValidationError, OAuthInitResponse]]:
54
+ *, client: AuthenticatedClient | Client, response: httpx.Response
55
+ ) -> Response[HTTPValidationError | OAuthInitResponse]:
56
56
  return Response(
57
57
  status_code=HTTPStatus(response.status_code),
58
58
  content=response.content,
@@ -66,7 +66,7 @@ def sync_detailed(
66
66
  *,
67
67
  client: AuthenticatedClient,
68
68
  body: OAuthInitRequest,
69
- ) -> Response[Union[HTTPValidationError, OAuthInitResponse]]:
69
+ ) -> Response[HTTPValidationError | OAuthInitResponse]:
70
70
  """Init Oauth
71
71
 
72
72
  Initialize OAuth flow for a connection.
@@ -83,7 +83,7 @@ def sync_detailed(
83
83
  httpx.TimeoutException: If the request takes longer than Client.timeout.
84
84
 
85
85
  Returns:
86
- Response[Union[HTTPValidationError, OAuthInitResponse]]
86
+ Response[HTTPValidationError | OAuthInitResponse]
87
87
  """
88
88
 
89
89
  kwargs = _get_kwargs(
@@ -103,7 +103,7 @@ def sync(
103
103
  *,
104
104
  client: AuthenticatedClient,
105
105
  body: OAuthInitRequest,
106
- ) -> Optional[Union[HTTPValidationError, OAuthInitResponse]]:
106
+ ) -> HTTPValidationError | OAuthInitResponse | None:
107
107
  """Init Oauth
108
108
 
109
109
  Initialize OAuth flow for a connection.
@@ -120,7 +120,7 @@ def sync(
120
120
  httpx.TimeoutException: If the request takes longer than Client.timeout.
121
121
 
122
122
  Returns:
123
- Union[HTTPValidationError, OAuthInitResponse]
123
+ HTTPValidationError | OAuthInitResponse
124
124
  """
125
125
 
126
126
  return sync_detailed(
@@ -135,7 +135,7 @@ async def asyncio_detailed(
135
135
  *,
136
136
  client: AuthenticatedClient,
137
137
  body: OAuthInitRequest,
138
- ) -> Response[Union[HTTPValidationError, OAuthInitResponse]]:
138
+ ) -> Response[HTTPValidationError | OAuthInitResponse]:
139
139
  """Init Oauth
140
140
 
141
141
  Initialize OAuth flow for a connection.
@@ -152,7 +152,7 @@ async def asyncio_detailed(
152
152
  httpx.TimeoutException: If the request takes longer than Client.timeout.
153
153
 
154
154
  Returns:
155
- Response[Union[HTTPValidationError, OAuthInitResponse]]
155
+ Response[HTTPValidationError | OAuthInitResponse]
156
156
  """
157
157
 
158
158
  kwargs = _get_kwargs(
@@ -170,7 +170,7 @@ async def asyncio(
170
170
  *,
171
171
  client: AuthenticatedClient,
172
172
  body: OAuthInitRequest,
173
- ) -> Optional[Union[HTTPValidationError, OAuthInitResponse]]:
173
+ ) -> HTTPValidationError | OAuthInitResponse | None:
174
174
  """Init Oauth
175
175
 
176
176
  Initialize OAuth flow for a connection.
@@ -187,7 +187,7 @@ async def asyncio(
187
187
  httpx.TimeoutException: If the request takes longer than Client.timeout.
188
188
 
189
189
  Returns:
190
- Union[HTTPValidationError, OAuthInitResponse]
190
+ HTTPValidationError | OAuthInitResponse
191
191
  """
192
192
 
193
193
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union
2
+ from typing import Any
3
3
 
4
4
  import httpx
5
5
 
@@ -15,19 +15,19 @@ from ...types import UNSET, Response, Unset
15
15
  def _get_kwargs(
16
16
  graph_id: str,
17
17
  *,
18
- entity_id: Union[None, Unset, str] = UNSET,
19
- provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
18
+ entity_id: None | str | Unset = UNSET,
19
+ provider: ListConnectionsProviderType0 | None | Unset = UNSET,
20
20
  ) -> dict[str, Any]:
21
21
  params: dict[str, Any] = {}
22
22
 
23
- json_entity_id: Union[None, Unset, str]
23
+ json_entity_id: None | str | Unset
24
24
  if isinstance(entity_id, Unset):
25
25
  json_entity_id = UNSET
26
26
  else:
27
27
  json_entity_id = entity_id
28
28
  params["entity_id"] = json_entity_id
29
29
 
30
- json_provider: Union[None, Unset, str]
30
+ json_provider: None | str | Unset
31
31
  if isinstance(provider, Unset):
32
32
  json_provider = UNSET
33
33
  elif isinstance(provider, ListConnectionsProviderType0):
@@ -48,8 +48,8 @@ def _get_kwargs(
48
48
 
49
49
 
50
50
  def _parse_response(
51
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
52
- ) -> Optional[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
51
+ *, client: AuthenticatedClient | Client, response: httpx.Response
52
+ ) -> ErrorResponse | HTTPValidationError | list[ConnectionResponse] | None:
53
53
  if response.status_code == 200:
54
54
  response_200 = []
55
55
  _response_200 = response.json()
@@ -82,8 +82,8 @@ def _parse_response(
82
82
 
83
83
 
84
84
  def _build_response(
85
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
86
- ) -> Response[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
85
+ *, client: AuthenticatedClient | Client, response: httpx.Response
86
+ ) -> Response[ErrorResponse | HTTPValidationError | list[ConnectionResponse]]:
87
87
  return Response(
88
88
  status_code=HTTPStatus(response.status_code),
89
89
  content=response.content,
@@ -96,9 +96,9 @@ def sync_detailed(
96
96
  graph_id: str,
97
97
  *,
98
98
  client: AuthenticatedClient,
99
- entity_id: Union[None, Unset, str] = UNSET,
100
- provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
101
- ) -> Response[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
99
+ entity_id: None | str | Unset = UNSET,
100
+ provider: ListConnectionsProviderType0 | None | Unset = UNSET,
101
+ ) -> Response[ErrorResponse | HTTPValidationError | list[ConnectionResponse]]:
102
102
  """List Connections
103
103
 
104
104
  List all data connections in the graph.
@@ -118,15 +118,15 @@ def sync_detailed(
118
118
 
119
119
  Args:
120
120
  graph_id (str):
121
- entity_id (Union[None, Unset, str]): Filter by entity ID
122
- provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
121
+ entity_id (None | str | Unset): Filter by entity ID
122
+ provider (ListConnectionsProviderType0 | None | Unset): Filter by provider type
123
123
 
124
124
  Raises:
125
125
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
126
126
  httpx.TimeoutException: If the request takes longer than Client.timeout.
127
127
 
128
128
  Returns:
129
- Response[Union[ErrorResponse, HTTPValidationError, list['ConnectionResponse']]]
129
+ Response[ErrorResponse | HTTPValidationError | list[ConnectionResponse]]
130
130
  """
131
131
 
132
132
  kwargs = _get_kwargs(
@@ -146,9 +146,9 @@ def sync(
146
146
  graph_id: str,
147
147
  *,
148
148
  client: AuthenticatedClient,
149
- entity_id: Union[None, Unset, str] = UNSET,
150
- provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
151
- ) -> Optional[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
149
+ entity_id: None | str | Unset = UNSET,
150
+ provider: ListConnectionsProviderType0 | None | Unset = UNSET,
151
+ ) -> ErrorResponse | HTTPValidationError | list[ConnectionResponse] | None:
152
152
  """List Connections
153
153
 
154
154
  List all data connections in the graph.
@@ -168,15 +168,15 @@ def sync(
168
168
 
169
169
  Args:
170
170
  graph_id (str):
171
- entity_id (Union[None, Unset, str]): Filter by entity ID
172
- provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
171
+ entity_id (None | str | Unset): Filter by entity ID
172
+ provider (ListConnectionsProviderType0 | None | Unset): Filter by provider type
173
173
 
174
174
  Raises:
175
175
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
176
176
  httpx.TimeoutException: If the request takes longer than Client.timeout.
177
177
 
178
178
  Returns:
179
- Union[ErrorResponse, HTTPValidationError, list['ConnectionResponse']]
179
+ ErrorResponse | HTTPValidationError | list[ConnectionResponse]
180
180
  """
181
181
 
182
182
  return sync_detailed(
@@ -191,9 +191,9 @@ async def asyncio_detailed(
191
191
  graph_id: str,
192
192
  *,
193
193
  client: AuthenticatedClient,
194
- entity_id: Union[None, Unset, str] = UNSET,
195
- provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
196
- ) -> Response[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
194
+ entity_id: None | str | Unset = UNSET,
195
+ provider: ListConnectionsProviderType0 | None | Unset = UNSET,
196
+ ) -> Response[ErrorResponse | HTTPValidationError | list[ConnectionResponse]]:
197
197
  """List Connections
198
198
 
199
199
  List all data connections in the graph.
@@ -213,15 +213,15 @@ async def asyncio_detailed(
213
213
 
214
214
  Args:
215
215
  graph_id (str):
216
- entity_id (Union[None, Unset, str]): Filter by entity ID
217
- provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
216
+ entity_id (None | str | Unset): Filter by entity ID
217
+ provider (ListConnectionsProviderType0 | None | Unset): Filter by provider type
218
218
 
219
219
  Raises:
220
220
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
221
221
  httpx.TimeoutException: If the request takes longer than Client.timeout.
222
222
 
223
223
  Returns:
224
- Response[Union[ErrorResponse, HTTPValidationError, list['ConnectionResponse']]]
224
+ Response[ErrorResponse | HTTPValidationError | list[ConnectionResponse]]
225
225
  """
226
226
 
227
227
  kwargs = _get_kwargs(
@@ -239,9 +239,9 @@ async def asyncio(
239
239
  graph_id: str,
240
240
  *,
241
241
  client: AuthenticatedClient,
242
- entity_id: Union[None, Unset, str] = UNSET,
243
- provider: Union[ListConnectionsProviderType0, None, Unset] = UNSET,
244
- ) -> Optional[Union[ErrorResponse, HTTPValidationError, list["ConnectionResponse"]]]:
242
+ entity_id: None | str | Unset = UNSET,
243
+ provider: ListConnectionsProviderType0 | None | Unset = UNSET,
244
+ ) -> ErrorResponse | HTTPValidationError | list[ConnectionResponse] | None:
245
245
  """List Connections
246
246
 
247
247
  List all data connections in the graph.
@@ -261,15 +261,15 @@ async def asyncio(
261
261
 
262
262
  Args:
263
263
  graph_id (str):
264
- entity_id (Union[None, Unset, str]): Filter by entity ID
265
- provider (Union[ListConnectionsProviderType0, None, Unset]): Filter by provider type
264
+ entity_id (None | str | Unset): Filter by entity ID
265
+ provider (ListConnectionsProviderType0 | None | Unset): Filter by provider type
266
266
 
267
267
  Raises:
268
268
  errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
269
269
  httpx.TimeoutException: If the request takes longer than Client.timeout.
270
270
 
271
271
  Returns:
272
- Union[ErrorResponse, HTTPValidationError, list['ConnectionResponse']]
272
+ ErrorResponse | HTTPValidationError | list[ConnectionResponse]
273
273
  """
274
274
 
275
275
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union
2
+ from typing import Any
3
3
 
4
4
  import httpx
5
5
 
@@ -33,8 +33,8 @@ def _get_kwargs(
33
33
 
34
34
 
35
35
  def _parse_response(
36
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
37
- ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
36
+ *, client: AuthenticatedClient | Client, response: httpx.Response
37
+ ) -> Any | ErrorResponse | HTTPValidationError | None:
38
38
  if response.status_code == 200:
39
39
  response_200 = response.json()
40
40
  return response_200
@@ -71,8 +71,8 @@ def _parse_response(
71
71
 
72
72
 
73
73
  def _build_response(
74
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
75
- ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
74
+ *, client: AuthenticatedClient | Client, response: httpx.Response
75
+ ) -> Response[Any | ErrorResponse | HTTPValidationError]:
76
76
  return Response(
77
77
  status_code=HTTPStatus(response.status_code),
78
78
  content=response.content,
@@ -87,7 +87,7 @@ def sync_detailed(
87
87
  *,
88
88
  client: AuthenticatedClient,
89
89
  body: OAuthCallbackRequest,
90
- ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
90
+ ) -> Response[Any | ErrorResponse | HTTPValidationError]:
91
91
  """OAuth Callback
92
92
 
93
93
  Handle OAuth callback from provider after user authorization.
@@ -120,7 +120,7 @@ def sync_detailed(
120
120
  httpx.TimeoutException: If the request takes longer than Client.timeout.
121
121
 
122
122
  Returns:
123
- Response[Union[Any, ErrorResponse, HTTPValidationError]]
123
+ Response[Any | ErrorResponse | HTTPValidationError]
124
124
  """
125
125
 
126
126
  kwargs = _get_kwargs(
@@ -142,7 +142,7 @@ def sync(
142
142
  *,
143
143
  client: AuthenticatedClient,
144
144
  body: OAuthCallbackRequest,
145
- ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
145
+ ) -> Any | ErrorResponse | HTTPValidationError | None:
146
146
  """OAuth Callback
147
147
 
148
148
  Handle OAuth callback from provider after user authorization.
@@ -175,7 +175,7 @@ def sync(
175
175
  httpx.TimeoutException: If the request takes longer than Client.timeout.
176
176
 
177
177
  Returns:
178
- Union[Any, ErrorResponse, HTTPValidationError]
178
+ Any | ErrorResponse | HTTPValidationError
179
179
  """
180
180
 
181
181
  return sync_detailed(
@@ -192,7 +192,7 @@ async def asyncio_detailed(
192
192
  *,
193
193
  client: AuthenticatedClient,
194
194
  body: OAuthCallbackRequest,
195
- ) -> Response[Union[Any, ErrorResponse, HTTPValidationError]]:
195
+ ) -> Response[Any | ErrorResponse | HTTPValidationError]:
196
196
  """OAuth Callback
197
197
 
198
198
  Handle OAuth callback from provider after user authorization.
@@ -225,7 +225,7 @@ async def asyncio_detailed(
225
225
  httpx.TimeoutException: If the request takes longer than Client.timeout.
226
226
 
227
227
  Returns:
228
- Response[Union[Any, ErrorResponse, HTTPValidationError]]
228
+ Response[Any | ErrorResponse | HTTPValidationError]
229
229
  """
230
230
 
231
231
  kwargs = _get_kwargs(
@@ -245,7 +245,7 @@ async def asyncio(
245
245
  *,
246
246
  client: AuthenticatedClient,
247
247
  body: OAuthCallbackRequest,
248
- ) -> Optional[Union[Any, ErrorResponse, HTTPValidationError]]:
248
+ ) -> Any | ErrorResponse | HTTPValidationError | None:
249
249
  """OAuth Callback
250
250
 
251
251
  Handle OAuth callback from provider after user authorization.
@@ -278,7 +278,7 @@ async def asyncio(
278
278
  httpx.TimeoutException: If the request takes longer than Client.timeout.
279
279
 
280
280
  Returns:
281
- Union[Any, ErrorResponse, HTTPValidationError]
281
+ Any | ErrorResponse | HTTPValidationError
282
282
  """
283
283
 
284
284
  return (
@@ -1,5 +1,5 @@
1
1
  from http import HTTPStatus
2
- from typing import Any, Optional, Union
2
+ from typing import Any
3
3
 
4
4
  import httpx
5
5
 
@@ -36,10 +36,8 @@ def _get_kwargs(
36
36
 
37
37
 
38
38
  def _parse_response(
39
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
40
- ) -> Optional[
41
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
42
- ]:
39
+ *, client: AuthenticatedClient | Client, response: httpx.Response
40
+ ) -> ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection | None:
43
41
  if response.status_code == 200:
44
42
  response_200 = SyncConnectionResponseSyncconnection.from_dict(response.json())
45
43
 
@@ -72,9 +70,9 @@ def _parse_response(
72
70
 
73
71
 
74
72
  def _build_response(
75
- *, client: Union[AuthenticatedClient, Client], response: httpx.Response
73
+ *, client: AuthenticatedClient | Client, response: httpx.Response
76
74
  ) -> Response[
77
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
75
+ ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection
78
76
  ]:
79
77
  return Response(
80
78
  status_code=HTTPStatus(response.status_code),
@@ -91,7 +89,7 @@ def sync_detailed(
91
89
  client: AuthenticatedClient,
92
90
  body: SyncConnectionRequest,
93
91
  ) -> Response[
94
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
92
+ ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection
95
93
  ]:
96
94
  """Sync Connection
97
95
 
@@ -130,7 +128,7 @@ def sync_detailed(
130
128
  httpx.TimeoutException: If the request takes longer than Client.timeout.
131
129
 
132
130
  Returns:
133
- Response[Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]]
131
+ Response[ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection]
134
132
  """
135
133
 
136
134
  kwargs = _get_kwargs(
@@ -152,9 +150,7 @@ def sync(
152
150
  *,
153
151
  client: AuthenticatedClient,
154
152
  body: SyncConnectionRequest,
155
- ) -> Optional[
156
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
157
- ]:
153
+ ) -> ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection | None:
158
154
  """Sync Connection
159
155
 
160
156
  Trigger a data synchronization for the connection.
@@ -192,7 +188,7 @@ def sync(
192
188
  httpx.TimeoutException: If the request takes longer than Client.timeout.
193
189
 
194
190
  Returns:
195
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
191
+ ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection
196
192
  """
197
193
 
198
194
  return sync_detailed(
@@ -210,7 +206,7 @@ async def asyncio_detailed(
210
206
  client: AuthenticatedClient,
211
207
  body: SyncConnectionRequest,
212
208
  ) -> Response[
213
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
209
+ ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection
214
210
  ]:
215
211
  """Sync Connection
216
212
 
@@ -249,7 +245,7 @@ async def asyncio_detailed(
249
245
  httpx.TimeoutException: If the request takes longer than Client.timeout.
250
246
 
251
247
  Returns:
252
- Response[Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]]
248
+ Response[ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection]
253
249
  """
254
250
 
255
251
  kwargs = _get_kwargs(
@@ -269,9 +265,7 @@ async def asyncio(
269
265
  *,
270
266
  client: AuthenticatedClient,
271
267
  body: SyncConnectionRequest,
272
- ) -> Optional[
273
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
274
- ]:
268
+ ) -> ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection | None:
275
269
  """Sync Connection
276
270
 
277
271
  Trigger a data synchronization for the connection.
@@ -309,7 +303,7 @@ async def asyncio(
309
303
  httpx.TimeoutException: If the request takes longer than Client.timeout.
310
304
 
311
305
  Returns:
312
- Union[ErrorResponse, HTTPValidationError, SyncConnectionResponseSyncconnection]
306
+ ErrorResponse | HTTPValidationError | SyncConnectionResponseSyncconnection
313
307
  """
314
308
 
315
309
  return (