robosystems-client 0.2.15__py3-none-any.whl → 0.2.16__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 (371) 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 +39 -0
  115. robosystems_client/extensions/element_mapping_client.py +585 -0
  116. robosystems_client/extensions/subgraph_workspace_client.py +744 -0
  117. robosystems_client/extensions/table_ingest_client.py +24 -23
  118. robosystems_client/extensions/view_builder_client.py +617 -0
  119. robosystems_client/models/__init__.py +34 -10
  120. robosystems_client/models/account_info.py +2 -0
  121. robosystems_client/models/agent_list_response.py +3 -1
  122. robosystems_client/models/agent_list_response_agents.py +5 -3
  123. robosystems_client/models/agent_list_response_agents_additional_property.py +2 -0
  124. robosystems_client/models/agent_message.py +9 -7
  125. robosystems_client/models/agent_metadata_response.py +11 -9
  126. robosystems_client/models/agent_recommendation.py +8 -6
  127. robosystems_client/models/agent_recommendation_request.py +9 -7
  128. robosystems_client/models/agent_recommendation_request_context_type_0.py +2 -0
  129. robosystems_client/models/agent_recommendation_response.py +4 -2
  130. robosystems_client/models/agent_request.py +41 -40
  131. robosystems_client/models/agent_request_context_type_0.py +2 -0
  132. robosystems_client/models/agent_response.py +42 -44
  133. robosystems_client/models/agent_response_error_details_type_0.py +2 -0
  134. robosystems_client/models/agent_response_metadata_type_0.py +2 -0
  135. robosystems_client/models/agent_response_tokens_used_type_0.py +2 -0
  136. robosystems_client/models/api_key_info.py +18 -16
  137. robosystems_client/models/api_keys_response.py +4 -2
  138. robosystems_client/models/auth_response.py +26 -24
  139. robosystems_client/models/auth_response_org_type_0.py +2 -0
  140. robosystems_client/models/auth_response_user.py +2 -0
  141. robosystems_client/models/available_extension.py +5 -3
  142. robosystems_client/models/available_extensions_response.py +4 -2
  143. robosystems_client/models/available_graph_tiers_response.py +4 -2
  144. robosystems_client/models/backup_create_request.py +18 -16
  145. robosystems_client/models/backup_download_url_response.py +2 -0
  146. robosystems_client/models/backup_limits.py +2 -0
  147. robosystems_client/models/backup_list_response.py +4 -2
  148. robosystems_client/models/backup_response.py +13 -11
  149. robosystems_client/models/backup_restore_request.py +7 -6
  150. robosystems_client/models/backup_stats_response.py +9 -7
  151. robosystems_client/models/backup_stats_response_backup_formats.py +2 -0
  152. robosystems_client/models/batch_agent_request.py +7 -5
  153. robosystems_client/models/batch_agent_response.py +4 -2
  154. robosystems_client/models/billing_customer.py +10 -8
  155. robosystems_client/models/cancel_operation_response_canceloperation.py +2 -0
  156. robosystems_client/models/check_credit_balance_response_checkcreditbalance.py +2 -0
  157. robosystems_client/models/checkout_response.py +22 -20
  158. robosystems_client/models/checkout_status_response.py +19 -17
  159. robosystems_client/models/connection_options_response.py +4 -2
  160. robosystems_client/models/connection_provider_info.py +26 -24
  161. robosystems_client/models/connection_response.py +14 -12
  162. robosystems_client/models/connection_response_metadata.py +2 -0
  163. robosystems_client/models/copy_operation_limits.py +2 -0
  164. robosystems_client/models/create_api_key_request.py +13 -11
  165. robosystems_client/models/create_api_key_response.py +3 -1
  166. robosystems_client/models/create_checkout_request.py +3 -1
  167. robosystems_client/models/create_checkout_request_resource_config.py +2 -0
  168. robosystems_client/models/create_connection_request.py +21 -21
  169. robosystems_client/models/create_graph_request.py +25 -25
  170. robosystems_client/models/create_org_request.py +7 -5
  171. robosystems_client/models/create_repository_subscription_request.py +2 -0
  172. robosystems_client/models/create_subgraph_request.py +30 -19
  173. robosystems_client/models/create_subgraph_request_metadata_type_0.py +2 -0
  174. robosystems_client/models/create_view_request.py +141 -0
  175. robosystems_client/models/credit_limits.py +2 -0
  176. robosystems_client/models/credit_summary.py +3 -1
  177. robosystems_client/models/credit_summary_operation_breakdown.py +2 -0
  178. robosystems_client/models/credit_summary_response.py +8 -6
  179. robosystems_client/models/custom_schema_definition.py +39 -33
  180. robosystems_client/models/custom_schema_definition_metadata.py +2 -0
  181. robosystems_client/models/custom_schema_definition_nodes_item.py +2 -0
  182. robosystems_client/models/custom_schema_definition_relationships_item.py +2 -0
  183. robosystems_client/models/cypher_query_request.py +15 -13
  184. robosystems_client/models/cypher_query_request_parameters_type_0.py +2 -0
  185. robosystems_client/models/database_health_response.py +21 -19
  186. robosystems_client/models/database_info_response.py +13 -11
  187. robosystems_client/models/delete_file_response.py +54 -1
  188. robosystems_client/models/delete_subgraph_request.py +12 -10
  189. robosystems_client/models/delete_subgraph_response.py +13 -11
  190. robosystems_client/models/detailed_transactions_response.py +6 -4
  191. robosystems_client/models/detailed_transactions_response_date_range.py +2 -0
  192. robosystems_client/models/detailed_transactions_response_summary.py +5 -3
  193. robosystems_client/models/email_verification_request.py +2 -0
  194. robosystems_client/models/enhanced_credit_transaction_response.py +24 -22
  195. robosystems_client/models/enhanced_credit_transaction_response_metadata.py +2 -0
  196. robosystems_client/models/enhanced_file_status_layers.py +83 -0
  197. robosystems_client/models/error_response.py +19 -17
  198. robosystems_client/models/exchange_token_request.py +9 -7
  199. robosystems_client/models/exchange_token_request_metadata_type_0.py +2 -0
  200. robosystems_client/models/execute_cypher_query_response_200.py +25 -21
  201. robosystems_client/models/execute_cypher_query_response_200_data_item.py +2 -0
  202. robosystems_client/models/fact_detail.py +109 -0
  203. robosystems_client/models/file_info.py +18 -16
  204. robosystems_client/models/file_layer_status.py +123 -0
  205. robosystems_client/models/file_status_update.py +14 -0
  206. robosystems_client/models/file_upload_request.py +25 -3
  207. robosystems_client/models/file_upload_response.py +2 -0
  208. robosystems_client/models/forgot_password_request.py +2 -0
  209. robosystems_client/models/forgot_password_response_forgotpassword.py +2 -0
  210. robosystems_client/models/get_current_auth_user_response_getcurrentauthuser.py +2 -0
  211. robosystems_client/models/get_file_info_response.py +62 -21
  212. robosystems_client/models/get_operation_status_response_getoperationstatus.py +2 -0
  213. robosystems_client/models/get_storage_usage_response_getstorageusage.py +2 -0
  214. robosystems_client/models/graph_info.py +10 -8
  215. robosystems_client/models/graph_limits_response.py +14 -12
  216. robosystems_client/models/graph_metadata.py +14 -12
  217. robosystems_client/models/graph_metrics_response.py +17 -15
  218. robosystems_client/models/graph_metrics_response_estimated_size.py +2 -0
  219. robosystems_client/models/graph_metrics_response_health_status.py +2 -0
  220. robosystems_client/models/graph_metrics_response_node_counts.py +2 -0
  221. robosystems_client/models/graph_metrics_response_relationship_counts.py +2 -0
  222. robosystems_client/models/graph_subscription_response.py +28 -26
  223. robosystems_client/models/graph_subscription_tier.py +15 -13
  224. robosystems_client/models/graph_subscriptions.py +5 -3
  225. robosystems_client/models/graph_tier_backup.py +2 -0
  226. robosystems_client/models/graph_tier_copy_operations.py +2 -0
  227. robosystems_client/models/graph_tier_info.py +15 -13
  228. robosystems_client/models/graph_tier_instance.py +2 -0
  229. robosystems_client/models/graph_tier_limits.py +10 -8
  230. robosystems_client/models/graph_usage_response.py +32 -30
  231. robosystems_client/models/graph_usage_response_recent_events_item.py +2 -0
  232. robosystems_client/models/health_status.py +9 -7
  233. robosystems_client/models/health_status_details_type_0.py +2 -0
  234. robosystems_client/models/http_validation_error.py +12 -8
  235. robosystems_client/models/initial_entity_data.py +38 -36
  236. robosystems_client/models/invite_member_request.py +9 -7
  237. robosystems_client/models/invoice.py +35 -33
  238. robosystems_client/models/invoice_line_item.py +13 -11
  239. robosystems_client/models/invoices_response.py +4 -2
  240. robosystems_client/models/link_token_request.py +21 -23
  241. robosystems_client/models/link_token_request_options_type_0.py +2 -0
  242. robosystems_client/models/list_org_graphs_response_200_item.py +2 -0
  243. robosystems_client/models/list_subgraphs_response.py +15 -13
  244. robosystems_client/models/list_table_files_response.py +27 -11
  245. robosystems_client/models/login_request.py +2 -0
  246. robosystems_client/models/logout_user_response_logoutuser.py +2 -0
  247. robosystems_client/models/{bulk_ingest_request.py → materialize_request.py} +25 -15
  248. robosystems_client/models/materialize_response.py +131 -0
  249. robosystems_client/models/materialize_status_response.py +172 -0
  250. robosystems_client/models/mcp_tool_call.py +7 -5
  251. robosystems_client/models/mcp_tool_call_arguments.py +2 -0
  252. robosystems_client/models/mcp_tools_response.py +4 -2
  253. robosystems_client/models/mcp_tools_response_tools_item.py +2 -0
  254. robosystems_client/models/o_auth_callback_request.py +18 -16
  255. robosystems_client/models/o_auth_init_request.py +14 -12
  256. robosystems_client/models/o_auth_init_request_additional_params_type_0.py +2 -0
  257. robosystems_client/models/o_auth_init_response.py +2 -0
  258. robosystems_client/models/offering_repository_plan.py +9 -7
  259. robosystems_client/models/offering_repository_plan_rate_limits_type_0.py +8 -8
  260. robosystems_client/models/operation_costs.py +4 -2
  261. robosystems_client/models/operation_costs_ai_operations.py +2 -0
  262. robosystems_client/models/operation_costs_token_pricing.py +5 -3
  263. robosystems_client/models/org_detail_response.py +13 -11
  264. robosystems_client/models/org_detail_response_graphs_item.py +2 -0
  265. robosystems_client/models/org_detail_response_limits_type_0.py +2 -0
  266. robosystems_client/models/org_detail_response_members_item.py +2 -0
  267. robosystems_client/models/org_limits_response.py +3 -1
  268. robosystems_client/models/org_limits_response_current_usage.py +2 -0
  269. robosystems_client/models/org_list_response.py +4 -2
  270. robosystems_client/models/org_member_list_response.py +4 -2
  271. robosystems_client/models/org_member_response.py +2 -0
  272. robosystems_client/models/org_response.py +2 -0
  273. robosystems_client/models/org_usage_response.py +7 -5
  274. robosystems_client/models/org_usage_response_daily_trend_item.py +2 -0
  275. robosystems_client/models/org_usage_response_graph_details_item.py +2 -0
  276. robosystems_client/models/org_usage_summary.py +18 -16
  277. robosystems_client/models/password_check_request.py +8 -6
  278. robosystems_client/models/password_check_response.py +3 -1
  279. robosystems_client/models/password_check_response_character_types.py +2 -0
  280. robosystems_client/models/password_policy_response.py +3 -1
  281. robosystems_client/models/password_policy_response_policy.py +2 -0
  282. robosystems_client/models/payment_method.py +23 -21
  283. robosystems_client/models/performance_insights.py +5 -3
  284. robosystems_client/models/performance_insights_operation_stats.py +2 -0
  285. robosystems_client/models/performance_insights_slow_queries_item.py +2 -0
  286. robosystems_client/models/plaid_connection_config.py +30 -30
  287. robosystems_client/models/plaid_connection_config_accounts_type_0_item.py +2 -0
  288. robosystems_client/models/plaid_connection_config_institution_type_0.py +2 -0
  289. robosystems_client/models/portal_session_response.py +2 -0
  290. robosystems_client/models/query_limits.py +2 -0
  291. robosystems_client/models/quick_books_connection_config.py +13 -11
  292. robosystems_client/models/rate_limits.py +2 -0
  293. robosystems_client/models/register_request.py +8 -6
  294. robosystems_client/models/repository_info.py +4 -2
  295. robosystems_client/models/repository_subscriptions.py +4 -2
  296. robosystems_client/models/resend_verification_email_response_resendverificationemail.py +2 -0
  297. robosystems_client/models/reset_password_request.py +2 -0
  298. robosystems_client/models/reset_password_validate_response.py +8 -6
  299. robosystems_client/models/save_view_request.py +138 -0
  300. robosystems_client/models/save_view_response.py +181 -0
  301. robosystems_client/models/schema_export_response.py +16 -14
  302. robosystems_client/models/schema_export_response_data_stats_type_0.py +2 -0
  303. robosystems_client/models/schema_export_response_schema_definition_type_0.py +2 -0
  304. robosystems_client/models/schema_info_response.py +3 -1
  305. robosystems_client/models/schema_info_response_schema.py +2 -0
  306. robosystems_client/models/schema_validation_request.py +18 -17
  307. robosystems_client/models/schema_validation_request_schema_definition_type_0.py +2 -0
  308. robosystems_client/models/schema_validation_response.py +28 -33
  309. robosystems_client/models/schema_validation_response_compatibility_type_0.py +2 -0
  310. robosystems_client/models/schema_validation_response_stats_type_0.py +2 -0
  311. robosystems_client/models/sec_connection_config.py +8 -6
  312. robosystems_client/models/selection_criteria.py +19 -17
  313. robosystems_client/models/service_offering_summary.py +2 -0
  314. robosystems_client/models/service_offerings_response.py +6 -4
  315. robosystems_client/models/sso_complete_request.py +2 -0
  316. robosystems_client/models/sso_exchange_request.py +8 -6
  317. robosystems_client/models/sso_exchange_response.py +2 -0
  318. robosystems_client/models/sso_token_response.py +2 -0
  319. robosystems_client/models/storage_info.py +4 -2
  320. robosystems_client/models/storage_info_included_per_tier.py +2 -0
  321. robosystems_client/models/storage_info_overage_pricing.py +2 -0
  322. robosystems_client/models/storage_limit_response.py +9 -7
  323. robosystems_client/models/storage_limits.py +8 -6
  324. robosystems_client/models/storage_summary.py +2 -0
  325. robosystems_client/models/structure_detail.py +85 -0
  326. robosystems_client/models/subgraph_quota_response.py +23 -21
  327. robosystems_client/models/subgraph_response.py +35 -35
  328. robosystems_client/models/subgraph_response_metadata_type_0.py +2 -0
  329. robosystems_client/models/subgraph_summary.py +14 -12
  330. robosystems_client/models/success_response.py +11 -9
  331. robosystems_client/models/success_response_data_type_0.py +2 -0
  332. robosystems_client/models/sync_connection_request.py +11 -9
  333. robosystems_client/models/sync_connection_request_sync_options_type_0.py +2 -0
  334. robosystems_client/models/sync_connection_response_syncconnection.py +2 -0
  335. robosystems_client/models/table_info.py +12 -10
  336. robosystems_client/models/table_list_response.py +4 -2
  337. robosystems_client/models/table_query_request.py +9 -7
  338. robosystems_client/models/table_query_response.py +2 -0
  339. robosystems_client/models/token_pricing.py +2 -0
  340. robosystems_client/models/transaction_summary_response.py +13 -11
  341. robosystems_client/models/upcoming_invoice.py +10 -8
  342. robosystems_client/models/update_api_key_request.py +13 -11
  343. robosystems_client/models/{update_file_status_response_updatefilestatus.py → update_file_response_updatefile.py} +7 -5
  344. robosystems_client/models/update_member_role_request.py +2 -0
  345. robosystems_client/models/update_org_request.py +14 -12
  346. robosystems_client/models/update_password_request.py +2 -0
  347. robosystems_client/models/update_user_request.py +13 -11
  348. robosystems_client/models/upgrade_subscription_request.py +2 -0
  349. robosystems_client/models/user_graphs_response.py +10 -8
  350. robosystems_client/models/user_response.py +22 -18
  351. robosystems_client/models/validation_error.py +8 -6
  352. robosystems_client/models/view_axis_config.py +276 -0
  353. robosystems_client/models/view_axis_config_element_labels_type_0.py +46 -0
  354. robosystems_client/models/view_axis_config_member_labels_type_0.py +46 -0
  355. robosystems_client/models/view_config.py +127 -0
  356. robosystems_client/models/view_source.py +144 -0
  357. robosystems_client/models/view_source_type.py +9 -0
  358. robosystems_client/types.py +9 -9
  359. {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/METADATA +1 -1
  360. robosystems_client-0.2.16.dist-info/RECORD +418 -0
  361. robosystems_client/api/tables/delete_file.py +0 -317
  362. robosystems_client/api/tables/get_file_info.py +0 -249
  363. robosystems_client/api/tables/get_upload_url.py +0 -380
  364. robosystems_client/api/tables/ingest_tables.py +0 -456
  365. robosystems_client/api/tables/list_table_files.py +0 -329
  366. robosystems_client/api/tables/update_file_status.py +0 -395
  367. robosystems_client/models/bulk_ingest_response.py +0 -137
  368. robosystems_client/models/table_ingest_result.py +0 -107
  369. robosystems_client-0.2.15.dist-info/RECORD +0 -396
  370. {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/WHEEL +0 -0
  371. {robosystems_client-0.2.15.dist-info → robosystems_client-0.2.16.dist-info}/licenses/LICENSE +0 -0
@@ -1,11 +1,17 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union, cast
4
+ from typing import TYPE_CHECKING, Any, TypeVar, cast
3
5
 
4
6
  from attrs import define as _attrs_define
5
7
  from attrs import field as _attrs_field
6
8
 
7
9
  from ..types import UNSET, Unset
8
10
 
11
+ if TYPE_CHECKING:
12
+ from ..models.enhanced_file_status_layers import EnhancedFileStatusLayers
13
+
14
+
9
15
  T = TypeVar("T", bound="GetFileInfoResponse")
10
16
 
11
17
 
@@ -22,10 +28,12 @@ class GetFileInfoResponse:
22
28
  upload_status (str): Current upload status
23
29
  upload_method (str): Upload method used
24
30
  s3_key (str): S3 object key
25
- table_name (Union[None, Unset, str]): Table name
26
- row_count (Union[None, Unset, int]): Estimated row count
27
- created_at (Union[None, Unset, str]): File creation timestamp
28
- uploaded_at (Union[None, Unset, str]): File upload completion timestamp
31
+ table_name (None | str | Unset): Table name
32
+ row_count (int | None | Unset): Estimated row count
33
+ created_at (None | str | Unset): File creation timestamp
34
+ uploaded_at (None | str | Unset): File upload completion timestamp
35
+ layers (EnhancedFileStatusLayers | None | Unset): Multi-layer pipeline status (S3 → DuckDB → Graph). Shows
36
+ status, timestamps, and row counts for each layer independently.
29
37
  """
30
38
 
31
39
  file_id: str
@@ -37,13 +45,16 @@ class GetFileInfoResponse:
37
45
  upload_status: str
38
46
  upload_method: str
39
47
  s3_key: str
40
- table_name: Union[None, Unset, str] = UNSET
41
- row_count: Union[None, Unset, int] = UNSET
42
- created_at: Union[None, Unset, str] = UNSET
43
- uploaded_at: Union[None, Unset, str] = UNSET
48
+ table_name: None | str | Unset = UNSET
49
+ row_count: int | None | Unset = UNSET
50
+ created_at: None | str | Unset = UNSET
51
+ uploaded_at: None | str | Unset = UNSET
52
+ layers: EnhancedFileStatusLayers | None | Unset = UNSET
44
53
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
45
54
 
46
55
  def to_dict(self) -> dict[str, Any]:
56
+ from ..models.enhanced_file_status_layers import EnhancedFileStatusLayers
57
+
47
58
  file_id = self.file_id
48
59
 
49
60
  graph_id = self.graph_id
@@ -62,30 +73,38 @@ class GetFileInfoResponse:
62
73
 
63
74
  s3_key = self.s3_key
64
75
 
65
- table_name: Union[None, Unset, str]
76
+ table_name: None | str | Unset
66
77
  if isinstance(self.table_name, Unset):
67
78
  table_name = UNSET
68
79
  else:
69
80
  table_name = self.table_name
70
81
 
71
- row_count: Union[None, Unset, int]
82
+ row_count: int | None | Unset
72
83
  if isinstance(self.row_count, Unset):
73
84
  row_count = UNSET
74
85
  else:
75
86
  row_count = self.row_count
76
87
 
77
- created_at: Union[None, Unset, str]
88
+ created_at: None | str | Unset
78
89
  if isinstance(self.created_at, Unset):
79
90
  created_at = UNSET
80
91
  else:
81
92
  created_at = self.created_at
82
93
 
83
- uploaded_at: Union[None, Unset, str]
94
+ uploaded_at: None | str | Unset
84
95
  if isinstance(self.uploaded_at, Unset):
85
96
  uploaded_at = UNSET
86
97
  else:
87
98
  uploaded_at = self.uploaded_at
88
99
 
100
+ layers: dict[str, Any] | None | Unset
101
+ if isinstance(self.layers, Unset):
102
+ layers = UNSET
103
+ elif isinstance(self.layers, EnhancedFileStatusLayers):
104
+ layers = self.layers.to_dict()
105
+ else:
106
+ layers = self.layers
107
+
89
108
  field_dict: dict[str, Any] = {}
90
109
  field_dict.update(self.additional_properties)
91
110
  field_dict.update(
@@ -109,11 +128,15 @@ class GetFileInfoResponse:
109
128
  field_dict["created_at"] = created_at
110
129
  if uploaded_at is not UNSET:
111
130
  field_dict["uploaded_at"] = uploaded_at
131
+ if layers is not UNSET:
132
+ field_dict["layers"] = layers
112
133
 
113
134
  return field_dict
114
135
 
115
136
  @classmethod
116
137
  def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
138
+ from ..models.enhanced_file_status_layers import EnhancedFileStatusLayers
139
+
117
140
  d = dict(src_dict)
118
141
  file_id = d.pop("file_id")
119
142
 
@@ -133,42 +156,59 @@ class GetFileInfoResponse:
133
156
 
134
157
  s3_key = d.pop("s3_key")
135
158
 
136
- def _parse_table_name(data: object) -> Union[None, Unset, str]:
159
+ def _parse_table_name(data: object) -> None | str | Unset:
137
160
  if data is None:
138
161
  return data
139
162
  if isinstance(data, Unset):
140
163
  return data
141
- return cast(Union[None, Unset, str], data)
164
+ return cast(None | str | Unset, data)
142
165
 
143
166
  table_name = _parse_table_name(d.pop("table_name", UNSET))
144
167
 
145
- def _parse_row_count(data: object) -> Union[None, Unset, int]:
168
+ def _parse_row_count(data: object) -> int | None | Unset:
146
169
  if data is None:
147
170
  return data
148
171
  if isinstance(data, Unset):
149
172
  return data
150
- return cast(Union[None, Unset, int], data)
173
+ return cast(int | None | Unset, data)
151
174
 
152
175
  row_count = _parse_row_count(d.pop("row_count", UNSET))
153
176
 
154
- def _parse_created_at(data: object) -> Union[None, Unset, str]:
177
+ def _parse_created_at(data: object) -> None | str | Unset:
155
178
  if data is None:
156
179
  return data
157
180
  if isinstance(data, Unset):
158
181
  return data
159
- return cast(Union[None, Unset, str], data)
182
+ return cast(None | str | Unset, data)
160
183
 
161
184
  created_at = _parse_created_at(d.pop("created_at", UNSET))
162
185
 
163
- def _parse_uploaded_at(data: object) -> Union[None, Unset, str]:
186
+ def _parse_uploaded_at(data: object) -> None | str | Unset:
164
187
  if data is None:
165
188
  return data
166
189
  if isinstance(data, Unset):
167
190
  return data
168
- return cast(Union[None, Unset, str], data)
191
+ return cast(None | str | Unset, data)
169
192
 
170
193
  uploaded_at = _parse_uploaded_at(d.pop("uploaded_at", UNSET))
171
194
 
195
+ def _parse_layers(data: object) -> EnhancedFileStatusLayers | None | Unset:
196
+ if data is None:
197
+ return data
198
+ if isinstance(data, Unset):
199
+ return data
200
+ try:
201
+ if not isinstance(data, dict):
202
+ raise TypeError()
203
+ layers_type_0 = EnhancedFileStatusLayers.from_dict(data)
204
+
205
+ return layers_type_0
206
+ except (TypeError, ValueError, AttributeError, KeyError):
207
+ pass
208
+ return cast(EnhancedFileStatusLayers | None | Unset, data)
209
+
210
+ layers = _parse_layers(d.pop("layers", UNSET))
211
+
172
212
  get_file_info_response = cls(
173
213
  file_id=file_id,
174
214
  graph_id=graph_id,
@@ -183,6 +223,7 @@ class GetFileInfoResponse:
183
223
  row_count=row_count,
184
224
  created_at=created_at,
185
225
  uploaded_at=uploaded_at,
226
+ layers=layers,
186
227
  )
187
228
 
188
229
  get_file_info_response.additional_properties = d
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
4
  from typing import Any, TypeVar
3
5
 
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
4
  from typing import Any, TypeVar
3
5
 
@@ -1,5 +1,7 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union, cast
4
+ from typing import Any, TypeVar, cast
3
5
 
4
6
  from attrs import define as _attrs_define
5
7
  from attrs import field as _attrs_field
@@ -19,8 +21,8 @@ class GraphInfo:
19
21
  role (str): User's role/access level
20
22
  is_selected (bool): Whether this is the currently selected graph
21
23
  created_at (str): Creation timestamp
22
- is_repository (Union[Unset, bool]): Whether this is a shared repository (vs user graph) Default: False.
23
- repository_type (Union[None, Unset, str]): Repository type if isRepository=true
24
+ is_repository (bool | Unset): Whether this is a shared repository (vs user graph) Default: False.
25
+ repository_type (None | str | Unset): Repository type if isRepository=true
24
26
  """
25
27
 
26
28
  graph_id: str
@@ -28,8 +30,8 @@ class GraphInfo:
28
30
  role: str
29
31
  is_selected: bool
30
32
  created_at: str
31
- is_repository: Union[Unset, bool] = False
32
- repository_type: Union[None, Unset, str] = UNSET
33
+ is_repository: bool | Unset = False
34
+ repository_type: None | str | Unset = UNSET
33
35
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
34
36
 
35
37
  def to_dict(self) -> dict[str, Any]:
@@ -45,7 +47,7 @@ class GraphInfo:
45
47
 
46
48
  is_repository = self.is_repository
47
49
 
48
- repository_type: Union[None, Unset, str]
50
+ repository_type: None | str | Unset
49
51
  if isinstance(self.repository_type, Unset):
50
52
  repository_type = UNSET
51
53
  else:
@@ -84,12 +86,12 @@ class GraphInfo:
84
86
 
85
87
  is_repository = d.pop("isRepository", UNSET)
86
88
 
87
- def _parse_repository_type(data: object) -> Union[None, Unset, str]:
89
+ def _parse_repository_type(data: object) -> None | str | Unset:
88
90
  if data is None:
89
91
  return data
90
92
  if isinstance(data, Unset):
91
93
  return data
92
- return cast(Union[None, Unset, str], data)
94
+ return cast(None | str | Unset, data)
93
95
 
94
96
  repository_type = _parse_repository_type(d.pop("repositoryType", UNSET))
95
97
 
@@ -1,5 +1,7 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
- from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
4
+ from typing import TYPE_CHECKING, Any, TypeVar, cast
3
5
 
4
6
  from attrs import define as _attrs_define
5
7
  from attrs import field as _attrs_field
@@ -32,19 +34,19 @@ class GraphLimitsResponse:
32
34
  copy_operations (CopyOperationLimits): Copy/ingestion operation limits.
33
35
  backups (BackupLimits): Backup operation limits.
34
36
  rate_limits (RateLimits): API rate limits.
35
- credits_ (Union['CreditLimits', None, Unset]): AI credit limits (if applicable)
37
+ credits_ (CreditLimits | None | Unset): AI credit limits (if applicable)
36
38
  """
37
39
 
38
40
  graph_id: str
39
41
  subscription_tier: str
40
42
  graph_tier: str
41
43
  is_shared_repository: bool
42
- storage: "StorageLimits"
43
- queries: "QueryLimits"
44
- copy_operations: "CopyOperationLimits"
45
- backups: "BackupLimits"
46
- rate_limits: "RateLimits"
47
- credits_: Union["CreditLimits", None, Unset] = UNSET
44
+ storage: StorageLimits
45
+ queries: QueryLimits
46
+ copy_operations: CopyOperationLimits
47
+ backups: BackupLimits
48
+ rate_limits: RateLimits
49
+ credits_: CreditLimits | None | Unset = UNSET
48
50
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
49
51
 
50
52
  def to_dict(self) -> dict[str, Any]:
@@ -68,7 +70,7 @@ class GraphLimitsResponse:
68
70
 
69
71
  rate_limits = self.rate_limits.to_dict()
70
72
 
71
- credits_: Union[None, Unset, dict[str, Any]]
73
+ credits_: dict[str, Any] | None | Unset
72
74
  if isinstance(self.credits_, Unset):
73
75
  credits_ = UNSET
74
76
  elif isinstance(self.credits_, CreditLimits):
@@ -124,7 +126,7 @@ class GraphLimitsResponse:
124
126
 
125
127
  rate_limits = RateLimits.from_dict(d.pop("rate_limits"))
126
128
 
127
- def _parse_credits_(data: object) -> Union["CreditLimits", None, Unset]:
129
+ def _parse_credits_(data: object) -> CreditLimits | None | Unset:
128
130
  if data is None:
129
131
  return data
130
132
  if isinstance(data, Unset):
@@ -135,9 +137,9 @@ class GraphLimitsResponse:
135
137
  credits_type_0 = CreditLimits.from_dict(data)
136
138
 
137
139
  return credits_type_0
138
- except: # noqa: E722
140
+ except (TypeError, ValueError, AttributeError, KeyError):
139
141
  pass
140
- return cast(Union["CreditLimits", None, Unset], data)
142
+ return cast(CreditLimits | None | Unset, data)
141
143
 
142
144
  credits_ = _parse_credits_(d.pop("credits", UNSET))
143
145
 
@@ -1,5 +1,7 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union, cast
4
+ from typing import Any, TypeVar, cast
3
5
 
4
6
  from attrs import define as _attrs_define
5
7
  from attrs import field as _attrs_field
@@ -15,31 +17,31 @@ class GraphMetadata:
15
17
 
16
18
  Attributes:
17
19
  graph_name (str): Display name for the graph
18
- description (Union[None, Unset, str]): Optional description
19
- schema_extensions (Union[Unset, list[str]]): Schema extensions to enable
20
- tags (Union[Unset, list[str]]): Tags for organizing graphs
20
+ description (None | str | Unset): Optional description
21
+ schema_extensions (list[str] | Unset): Schema extensions to enable
22
+ tags (list[str] | Unset): Tags for organizing graphs
21
23
  """
22
24
 
23
25
  graph_name: str
24
- description: Union[None, Unset, str] = UNSET
25
- schema_extensions: Union[Unset, list[str]] = UNSET
26
- tags: Union[Unset, list[str]] = UNSET
26
+ description: None | str | Unset = UNSET
27
+ schema_extensions: list[str] | Unset = UNSET
28
+ tags: list[str] | Unset = UNSET
27
29
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
28
30
 
29
31
  def to_dict(self) -> dict[str, Any]:
30
32
  graph_name = self.graph_name
31
33
 
32
- description: Union[None, Unset, str]
34
+ description: None | str | Unset
33
35
  if isinstance(self.description, Unset):
34
36
  description = UNSET
35
37
  else:
36
38
  description = self.description
37
39
 
38
- schema_extensions: Union[Unset, list[str]] = UNSET
40
+ schema_extensions: list[str] | Unset = UNSET
39
41
  if not isinstance(self.schema_extensions, Unset):
40
42
  schema_extensions = self.schema_extensions
41
43
 
42
- tags: Union[Unset, list[str]] = UNSET
44
+ tags: list[str] | Unset = UNSET
43
45
  if not isinstance(self.tags, Unset):
44
46
  tags = self.tags
45
47
 
@@ -64,12 +66,12 @@ class GraphMetadata:
64
66
  d = dict(src_dict)
65
67
  graph_name = d.pop("graph_name")
66
68
 
67
- def _parse_description(data: object) -> Union[None, Unset, str]:
69
+ def _parse_description(data: object) -> None | str | Unset:
68
70
  if data is None:
69
71
  return data
70
72
  if isinstance(data, Unset):
71
73
  return data
72
- return cast(Union[None, Unset, str], data)
74
+ return cast(None | str | Unset, data)
73
75
 
74
76
  description = _parse_description(d.pop("description", UNSET))
75
77
 
@@ -1,5 +1,7 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
- from typing import TYPE_CHECKING, Any, TypeVar, Union, cast
4
+ from typing import TYPE_CHECKING, Any, TypeVar, cast
3
5
 
4
6
  from attrs import define as _attrs_define
5
7
  from attrs import field as _attrs_field
@@ -35,20 +37,20 @@ class GraphMetricsResponse:
35
37
  relationship_counts (GraphMetricsResponseRelationshipCounts): Relationship counts by type
36
38
  estimated_size (GraphMetricsResponseEstimatedSize): Database size estimates
37
39
  health_status (GraphMetricsResponseHealthStatus): Database health information
38
- graph_name (Union[None, Unset, str]): Display name for the graph
39
- user_role (Union[None, Unset, str]): User's role in this graph
40
+ graph_name (None | str | Unset): Display name for the graph
41
+ user_role (None | str | Unset): User's role in this graph
40
42
  """
41
43
 
42
44
  graph_id: str
43
45
  timestamp: str
44
46
  total_nodes: int
45
47
  total_relationships: int
46
- node_counts: "GraphMetricsResponseNodeCounts"
47
- relationship_counts: "GraphMetricsResponseRelationshipCounts"
48
- estimated_size: "GraphMetricsResponseEstimatedSize"
49
- health_status: "GraphMetricsResponseHealthStatus"
50
- graph_name: Union[None, Unset, str] = UNSET
51
- user_role: Union[None, Unset, str] = UNSET
48
+ node_counts: GraphMetricsResponseNodeCounts
49
+ relationship_counts: GraphMetricsResponseRelationshipCounts
50
+ estimated_size: GraphMetricsResponseEstimatedSize
51
+ health_status: GraphMetricsResponseHealthStatus
52
+ graph_name: None | str | Unset = UNSET
53
+ user_role: None | str | Unset = UNSET
52
54
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
53
55
 
54
56
  def to_dict(self) -> dict[str, Any]:
@@ -68,13 +70,13 @@ class GraphMetricsResponse:
68
70
 
69
71
  health_status = self.health_status.to_dict()
70
72
 
71
- graph_name: Union[None, Unset, str]
73
+ graph_name: None | str | Unset
72
74
  if isinstance(self.graph_name, Unset):
73
75
  graph_name = UNSET
74
76
  else:
75
77
  graph_name = self.graph_name
76
78
 
77
- user_role: Union[None, Unset, str]
79
+ user_role: None | str | Unset
78
80
  if isinstance(self.user_role, Unset):
79
81
  user_role = UNSET
80
82
  else:
@@ -137,21 +139,21 @@ class GraphMetricsResponse:
137
139
 
138
140
  health_status = GraphMetricsResponseHealthStatus.from_dict(d.pop("health_status"))
139
141
 
140
- def _parse_graph_name(data: object) -> Union[None, Unset, str]:
142
+ def _parse_graph_name(data: object) -> None | str | Unset:
141
143
  if data is None:
142
144
  return data
143
145
  if isinstance(data, Unset):
144
146
  return data
145
- return cast(Union[None, Unset, str], data)
147
+ return cast(None | str | Unset, data)
146
148
 
147
149
  graph_name = _parse_graph_name(d.pop("graph_name", UNSET))
148
150
 
149
- def _parse_user_role(data: object) -> Union[None, Unset, str]:
151
+ def _parse_user_role(data: object) -> None | str | Unset:
150
152
  if data is None:
151
153
  return data
152
154
  if isinstance(data, Unset):
153
155
  return data
154
- return cast(Union[None, Unset, str], data)
156
+ return cast(None | str | Unset, data)
155
157
 
156
158
  user_role = _parse_user_role(d.pop("user_role", UNSET))
157
159
 
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
4
  from typing import Any, TypeVar
3
5
 
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
4
  from typing import Any, TypeVar
3
5
 
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
4
  from typing import Any, TypeVar
3
5
 
@@ -1,3 +1,5 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
4
  from typing import Any, TypeVar
3
5
 
@@ -1,5 +1,7 @@
1
+ from __future__ import annotations
2
+
1
3
  from collections.abc import Mapping
2
- from typing import Any, TypeVar, Union, cast
4
+ from typing import Any, TypeVar, cast
3
5
 
4
6
  from attrs import define as _attrs_define
5
7
  from attrs import field as _attrs_field
@@ -22,11 +24,11 @@ class GraphSubscriptionResponse:
22
24
  status (str): Subscription status
23
25
  base_price_cents (int): Base price in cents
24
26
  created_at (str): Creation timestamp
25
- current_period_start (Union[None, Unset, str]): Current billing period start
26
- current_period_end (Union[None, Unset, str]): Current billing period end
27
- started_at (Union[None, Unset, str]): Subscription start date
28
- canceled_at (Union[None, Unset, str]): Cancellation date
29
- ends_at (Union[None, Unset, str]): Subscription end date (when access will be revoked, especially relevant for
27
+ current_period_start (None | str | Unset): Current billing period start
28
+ current_period_end (None | str | Unset): Current billing period end
29
+ started_at (None | str | Unset): Subscription start date
30
+ canceled_at (None | str | Unset): Cancellation date
31
+ ends_at (None | str | Unset): Subscription end date (when access will be revoked, especially relevant for
30
32
  cancelled subscriptions)
31
33
  """
32
34
 
@@ -38,11 +40,11 @@ class GraphSubscriptionResponse:
38
40
  status: str
39
41
  base_price_cents: int
40
42
  created_at: str
41
- current_period_start: Union[None, Unset, str] = UNSET
42
- current_period_end: Union[None, Unset, str] = UNSET
43
- started_at: Union[None, Unset, str] = UNSET
44
- canceled_at: Union[None, Unset, str] = UNSET
45
- ends_at: Union[None, Unset, str] = UNSET
43
+ current_period_start: None | str | Unset = UNSET
44
+ current_period_end: None | str | Unset = UNSET
45
+ started_at: None | str | Unset = UNSET
46
+ canceled_at: None | str | Unset = UNSET
47
+ ends_at: None | str | Unset = UNSET
46
48
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
47
49
 
48
50
  def to_dict(self) -> dict[str, Any]:
@@ -62,31 +64,31 @@ class GraphSubscriptionResponse:
62
64
 
63
65
  created_at = self.created_at
64
66
 
65
- current_period_start: Union[None, Unset, str]
67
+ current_period_start: None | str | Unset
66
68
  if isinstance(self.current_period_start, Unset):
67
69
  current_period_start = UNSET
68
70
  else:
69
71
  current_period_start = self.current_period_start
70
72
 
71
- current_period_end: Union[None, Unset, str]
73
+ current_period_end: None | str | Unset
72
74
  if isinstance(self.current_period_end, Unset):
73
75
  current_period_end = UNSET
74
76
  else:
75
77
  current_period_end = self.current_period_end
76
78
 
77
- started_at: Union[None, Unset, str]
79
+ started_at: None | str | Unset
78
80
  if isinstance(self.started_at, Unset):
79
81
  started_at = UNSET
80
82
  else:
81
83
  started_at = self.started_at
82
84
 
83
- canceled_at: Union[None, Unset, str]
85
+ canceled_at: None | str | Unset
84
86
  if isinstance(self.canceled_at, Unset):
85
87
  canceled_at = UNSET
86
88
  else:
87
89
  canceled_at = self.canceled_at
88
90
 
89
- ends_at: Union[None, Unset, str]
91
+ ends_at: None | str | Unset
90
92
  if isinstance(self.ends_at, Unset):
91
93
  ends_at = UNSET
92
94
  else:
@@ -138,50 +140,50 @@ class GraphSubscriptionResponse:
138
140
 
139
141
  created_at = d.pop("created_at")
140
142
 
141
- def _parse_current_period_start(data: object) -> Union[None, Unset, str]:
143
+ def _parse_current_period_start(data: object) -> None | str | Unset:
142
144
  if data is None:
143
145
  return data
144
146
  if isinstance(data, Unset):
145
147
  return data
146
- return cast(Union[None, Unset, str], data)
148
+ return cast(None | str | Unset, data)
147
149
 
148
150
  current_period_start = _parse_current_period_start(
149
151
  d.pop("current_period_start", UNSET)
150
152
  )
151
153
 
152
- def _parse_current_period_end(data: object) -> Union[None, Unset, str]:
154
+ def _parse_current_period_end(data: object) -> None | str | Unset:
153
155
  if data is None:
154
156
  return data
155
157
  if isinstance(data, Unset):
156
158
  return data
157
- return cast(Union[None, Unset, str], data)
159
+ return cast(None | str | Unset, data)
158
160
 
159
161
  current_period_end = _parse_current_period_end(d.pop("current_period_end", UNSET))
160
162
 
161
- def _parse_started_at(data: object) -> Union[None, Unset, str]:
163
+ def _parse_started_at(data: object) -> None | str | Unset:
162
164
  if data is None:
163
165
  return data
164
166
  if isinstance(data, Unset):
165
167
  return data
166
- return cast(Union[None, Unset, str], data)
168
+ return cast(None | str | Unset, data)
167
169
 
168
170
  started_at = _parse_started_at(d.pop("started_at", UNSET))
169
171
 
170
- def _parse_canceled_at(data: object) -> Union[None, Unset, str]:
172
+ def _parse_canceled_at(data: object) -> None | str | Unset:
171
173
  if data is None:
172
174
  return data
173
175
  if isinstance(data, Unset):
174
176
  return data
175
- return cast(Union[None, Unset, str], data)
177
+ return cast(None | str | Unset, data)
176
178
 
177
179
  canceled_at = _parse_canceled_at(d.pop("canceled_at", UNSET))
178
180
 
179
- def _parse_ends_at(data: object) -> Union[None, Unset, str]:
181
+ def _parse_ends_at(data: object) -> None | str | Unset:
180
182
  if data is None:
181
183
  return data
182
184
  if isinstance(data, Unset):
183
185
  return data
184
- return cast(Union[None, Unset, str], data)
186
+ return cast(None | str | Unset, data)
185
187
 
186
188
  ends_at = _parse_ends_at(d.pop("ends_at", UNSET))
187
189