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
@@ -0,0 +1,276 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import TYPE_CHECKING, Any, TypeVar, cast
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ from ..types import UNSET, Unset
10
+
11
+ if TYPE_CHECKING:
12
+ from ..models.view_axis_config_element_labels_type_0 import (
13
+ ViewAxisConfigElementLabelsType0,
14
+ )
15
+ from ..models.view_axis_config_member_labels_type_0 import (
16
+ ViewAxisConfigMemberLabelsType0,
17
+ )
18
+
19
+
20
+ T = TypeVar("T", bound="ViewAxisConfig")
21
+
22
+
23
+ @_attrs_define
24
+ class ViewAxisConfig:
25
+ """
26
+ Attributes:
27
+ type_ (str): Axis type: 'element', 'period', 'dimension', 'entity'
28
+ dimension_axis (None | str | Unset): Dimension axis name for dimension-type axes
29
+ include_null_dimension (bool | Unset): Include facts where this dimension is NULL (default: false) Default:
30
+ False.
31
+ selected_members (list[str] | None | Unset): Specific members to include (e.g., ['2024-12-31', '2023-12-31'])
32
+ member_order (list[str] | None | Unset): Explicit ordering of members (overrides default sort)
33
+ member_labels (None | Unset | ViewAxisConfigMemberLabelsType0): Custom labels for members (e.g., {'2024-12-31':
34
+ 'Current Year'})
35
+ element_order (list[str] | None | Unset): Element ordering for hierarchy display (e.g., ['us-gaap:Assets', 'us-
36
+ gaap:Cash', ...])
37
+ element_labels (None | Unset | ViewAxisConfigElementLabelsType0): Custom labels for elements (e.g., {'us-
38
+ gaap:Cash': 'Cash and Cash Equivalents'})
39
+ """
40
+
41
+ type_: str
42
+ dimension_axis: None | str | Unset = UNSET
43
+ include_null_dimension: bool | Unset = False
44
+ selected_members: list[str] | None | Unset = UNSET
45
+ member_order: list[str] | None | Unset = UNSET
46
+ member_labels: None | Unset | ViewAxisConfigMemberLabelsType0 = UNSET
47
+ element_order: list[str] | None | Unset = UNSET
48
+ element_labels: None | Unset | ViewAxisConfigElementLabelsType0 = UNSET
49
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
50
+
51
+ def to_dict(self) -> dict[str, Any]:
52
+ from ..models.view_axis_config_element_labels_type_0 import (
53
+ ViewAxisConfigElementLabelsType0,
54
+ )
55
+ from ..models.view_axis_config_member_labels_type_0 import (
56
+ ViewAxisConfigMemberLabelsType0,
57
+ )
58
+
59
+ type_ = self.type_
60
+
61
+ dimension_axis: None | str | Unset
62
+ if isinstance(self.dimension_axis, Unset):
63
+ dimension_axis = UNSET
64
+ else:
65
+ dimension_axis = self.dimension_axis
66
+
67
+ include_null_dimension = self.include_null_dimension
68
+
69
+ selected_members: list[str] | None | Unset
70
+ if isinstance(self.selected_members, Unset):
71
+ selected_members = UNSET
72
+ elif isinstance(self.selected_members, list):
73
+ selected_members = self.selected_members
74
+
75
+ else:
76
+ selected_members = self.selected_members
77
+
78
+ member_order: list[str] | None | Unset
79
+ if isinstance(self.member_order, Unset):
80
+ member_order = UNSET
81
+ elif isinstance(self.member_order, list):
82
+ member_order = self.member_order
83
+
84
+ else:
85
+ member_order = self.member_order
86
+
87
+ member_labels: dict[str, Any] | None | Unset
88
+ if isinstance(self.member_labels, Unset):
89
+ member_labels = UNSET
90
+ elif isinstance(self.member_labels, ViewAxisConfigMemberLabelsType0):
91
+ member_labels = self.member_labels.to_dict()
92
+ else:
93
+ member_labels = self.member_labels
94
+
95
+ element_order: list[str] | None | Unset
96
+ if isinstance(self.element_order, Unset):
97
+ element_order = UNSET
98
+ elif isinstance(self.element_order, list):
99
+ element_order = self.element_order
100
+
101
+ else:
102
+ element_order = self.element_order
103
+
104
+ element_labels: dict[str, Any] | None | Unset
105
+ if isinstance(self.element_labels, Unset):
106
+ element_labels = UNSET
107
+ elif isinstance(self.element_labels, ViewAxisConfigElementLabelsType0):
108
+ element_labels = self.element_labels.to_dict()
109
+ else:
110
+ element_labels = self.element_labels
111
+
112
+ field_dict: dict[str, Any] = {}
113
+ field_dict.update(self.additional_properties)
114
+ field_dict.update(
115
+ {
116
+ "type": type_,
117
+ }
118
+ )
119
+ if dimension_axis is not UNSET:
120
+ field_dict["dimension_axis"] = dimension_axis
121
+ if include_null_dimension is not UNSET:
122
+ field_dict["include_null_dimension"] = include_null_dimension
123
+ if selected_members is not UNSET:
124
+ field_dict["selected_members"] = selected_members
125
+ if member_order is not UNSET:
126
+ field_dict["member_order"] = member_order
127
+ if member_labels is not UNSET:
128
+ field_dict["member_labels"] = member_labels
129
+ if element_order is not UNSET:
130
+ field_dict["element_order"] = element_order
131
+ if element_labels is not UNSET:
132
+ field_dict["element_labels"] = element_labels
133
+
134
+ return field_dict
135
+
136
+ @classmethod
137
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
138
+ from ..models.view_axis_config_element_labels_type_0 import (
139
+ ViewAxisConfigElementLabelsType0,
140
+ )
141
+ from ..models.view_axis_config_member_labels_type_0 import (
142
+ ViewAxisConfigMemberLabelsType0,
143
+ )
144
+
145
+ d = dict(src_dict)
146
+ type_ = d.pop("type")
147
+
148
+ def _parse_dimension_axis(data: object) -> None | str | Unset:
149
+ if data is None:
150
+ return data
151
+ if isinstance(data, Unset):
152
+ return data
153
+ return cast(None | str | Unset, data)
154
+
155
+ dimension_axis = _parse_dimension_axis(d.pop("dimension_axis", UNSET))
156
+
157
+ include_null_dimension = d.pop("include_null_dimension", UNSET)
158
+
159
+ def _parse_selected_members(data: object) -> list[str] | None | Unset:
160
+ if data is None:
161
+ return data
162
+ if isinstance(data, Unset):
163
+ return data
164
+ try:
165
+ if not isinstance(data, list):
166
+ raise TypeError()
167
+ selected_members_type_0 = cast(list[str], data)
168
+
169
+ return selected_members_type_0
170
+ except (TypeError, ValueError, AttributeError, KeyError):
171
+ pass
172
+ return cast(list[str] | None | Unset, data)
173
+
174
+ selected_members = _parse_selected_members(d.pop("selected_members", UNSET))
175
+
176
+ def _parse_member_order(data: object) -> list[str] | None | Unset:
177
+ if data is None:
178
+ return data
179
+ if isinstance(data, Unset):
180
+ return data
181
+ try:
182
+ if not isinstance(data, list):
183
+ raise TypeError()
184
+ member_order_type_0 = cast(list[str], data)
185
+
186
+ return member_order_type_0
187
+ except (TypeError, ValueError, AttributeError, KeyError):
188
+ pass
189
+ return cast(list[str] | None | Unset, data)
190
+
191
+ member_order = _parse_member_order(d.pop("member_order", UNSET))
192
+
193
+ def _parse_member_labels(
194
+ data: object,
195
+ ) -> None | Unset | ViewAxisConfigMemberLabelsType0:
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
+ member_labels_type_0 = ViewAxisConfigMemberLabelsType0.from_dict(data)
204
+
205
+ return member_labels_type_0
206
+ except (TypeError, ValueError, AttributeError, KeyError):
207
+ pass
208
+ return cast(None | Unset | ViewAxisConfigMemberLabelsType0, data)
209
+
210
+ member_labels = _parse_member_labels(d.pop("member_labels", UNSET))
211
+
212
+ def _parse_element_order(data: object) -> list[str] | None | Unset:
213
+ if data is None:
214
+ return data
215
+ if isinstance(data, Unset):
216
+ return data
217
+ try:
218
+ if not isinstance(data, list):
219
+ raise TypeError()
220
+ element_order_type_0 = cast(list[str], data)
221
+
222
+ return element_order_type_0
223
+ except (TypeError, ValueError, AttributeError, KeyError):
224
+ pass
225
+ return cast(list[str] | None | Unset, data)
226
+
227
+ element_order = _parse_element_order(d.pop("element_order", UNSET))
228
+
229
+ def _parse_element_labels(
230
+ data: object,
231
+ ) -> None | Unset | ViewAxisConfigElementLabelsType0:
232
+ if data is None:
233
+ return data
234
+ if isinstance(data, Unset):
235
+ return data
236
+ try:
237
+ if not isinstance(data, dict):
238
+ raise TypeError()
239
+ element_labels_type_0 = ViewAxisConfigElementLabelsType0.from_dict(data)
240
+
241
+ return element_labels_type_0
242
+ except (TypeError, ValueError, AttributeError, KeyError):
243
+ pass
244
+ return cast(None | Unset | ViewAxisConfigElementLabelsType0, data)
245
+
246
+ element_labels = _parse_element_labels(d.pop("element_labels", UNSET))
247
+
248
+ view_axis_config = cls(
249
+ type_=type_,
250
+ dimension_axis=dimension_axis,
251
+ include_null_dimension=include_null_dimension,
252
+ selected_members=selected_members,
253
+ member_order=member_order,
254
+ member_labels=member_labels,
255
+ element_order=element_order,
256
+ element_labels=element_labels,
257
+ )
258
+
259
+ view_axis_config.additional_properties = d
260
+ return view_axis_config
261
+
262
+ @property
263
+ def additional_keys(self) -> list[str]:
264
+ return list(self.additional_properties.keys())
265
+
266
+ def __getitem__(self, key: str) -> Any:
267
+ return self.additional_properties[key]
268
+
269
+ def __setitem__(self, key: str, value: Any) -> None:
270
+ self.additional_properties[key] = value
271
+
272
+ def __delitem__(self, key: str) -> None:
273
+ del self.additional_properties[key]
274
+
275
+ def __contains__(self, key: str) -> bool:
276
+ return key in self.additional_properties
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import Any, TypeVar
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ T = TypeVar("T", bound="ViewAxisConfigElementLabelsType0")
10
+
11
+
12
+ @_attrs_define
13
+ class ViewAxisConfigElementLabelsType0:
14
+ """ """
15
+
16
+ additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict)
17
+
18
+ def to_dict(self) -> dict[str, Any]:
19
+ field_dict: dict[str, Any] = {}
20
+ field_dict.update(self.additional_properties)
21
+
22
+ return field_dict
23
+
24
+ @classmethod
25
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
26
+ d = dict(src_dict)
27
+ view_axis_config_element_labels_type_0 = cls()
28
+
29
+ view_axis_config_element_labels_type_0.additional_properties = d
30
+ return view_axis_config_element_labels_type_0
31
+
32
+ @property
33
+ def additional_keys(self) -> list[str]:
34
+ return list(self.additional_properties.keys())
35
+
36
+ def __getitem__(self, key: str) -> str:
37
+ return self.additional_properties[key]
38
+
39
+ def __setitem__(self, key: str, value: str) -> None:
40
+ self.additional_properties[key] = value
41
+
42
+ def __delitem__(self, key: str) -> None:
43
+ del self.additional_properties[key]
44
+
45
+ def __contains__(self, key: str) -> bool:
46
+ return key in self.additional_properties
@@ -0,0 +1,46 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import Any, TypeVar
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ T = TypeVar("T", bound="ViewAxisConfigMemberLabelsType0")
10
+
11
+
12
+ @_attrs_define
13
+ class ViewAxisConfigMemberLabelsType0:
14
+ """ """
15
+
16
+ additional_properties: dict[str, str] = _attrs_field(init=False, factory=dict)
17
+
18
+ def to_dict(self) -> dict[str, Any]:
19
+ field_dict: dict[str, Any] = {}
20
+ field_dict.update(self.additional_properties)
21
+
22
+ return field_dict
23
+
24
+ @classmethod
25
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
26
+ d = dict(src_dict)
27
+ view_axis_config_member_labels_type_0 = cls()
28
+
29
+ view_axis_config_member_labels_type_0.additional_properties = d
30
+ return view_axis_config_member_labels_type_0
31
+
32
+ @property
33
+ def additional_keys(self) -> list[str]:
34
+ return list(self.additional_properties.keys())
35
+
36
+ def __getitem__(self, key: str) -> str:
37
+ return self.additional_properties[key]
38
+
39
+ def __setitem__(self, key: str, value: str) -> None:
40
+ self.additional_properties[key] = value
41
+
42
+ def __delitem__(self, key: str) -> None:
43
+ del self.additional_properties[key]
44
+
45
+ def __contains__(self, key: str) -> bool:
46
+ return key in self.additional_properties
@@ -0,0 +1,127 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import TYPE_CHECKING, Any, TypeVar
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ from ..types import UNSET, Unset
10
+
11
+ if TYPE_CHECKING:
12
+ from ..models.view_axis_config import ViewAxisConfig
13
+
14
+
15
+ T = TypeVar("T", bound="ViewConfig")
16
+
17
+
18
+ @_attrs_define
19
+ class ViewConfig:
20
+ """
21
+ Attributes:
22
+ rows (list[ViewAxisConfig] | Unset): Row axis configuration
23
+ columns (list[ViewAxisConfig] | Unset): Column axis configuration
24
+ values (str | Unset): Field to use for values (default: numeric_value) Default: 'numeric_value'.
25
+ aggregation_function (str | Unset): Aggregation function: sum, average, count Default: 'sum'.
26
+ fill_value (float | Unset): Value to use for missing data Default: 0.0.
27
+ """
28
+
29
+ rows: list[ViewAxisConfig] | Unset = UNSET
30
+ columns: list[ViewAxisConfig] | Unset = UNSET
31
+ values: str | Unset = "numeric_value"
32
+ aggregation_function: str | Unset = "sum"
33
+ fill_value: float | Unset = 0.0
34
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
35
+
36
+ def to_dict(self) -> dict[str, Any]:
37
+ rows: list[dict[str, Any]] | Unset = UNSET
38
+ if not isinstance(self.rows, Unset):
39
+ rows = []
40
+ for rows_item_data in self.rows:
41
+ rows_item = rows_item_data.to_dict()
42
+ rows.append(rows_item)
43
+
44
+ columns: list[dict[str, Any]] | Unset = UNSET
45
+ if not isinstance(self.columns, Unset):
46
+ columns = []
47
+ for columns_item_data in self.columns:
48
+ columns_item = columns_item_data.to_dict()
49
+ columns.append(columns_item)
50
+
51
+ values = self.values
52
+
53
+ aggregation_function = self.aggregation_function
54
+
55
+ fill_value = self.fill_value
56
+
57
+ field_dict: dict[str, Any] = {}
58
+ field_dict.update(self.additional_properties)
59
+ field_dict.update({})
60
+ if rows is not UNSET:
61
+ field_dict["rows"] = rows
62
+ if columns is not UNSET:
63
+ field_dict["columns"] = columns
64
+ if values is not UNSET:
65
+ field_dict["values"] = values
66
+ if aggregation_function is not UNSET:
67
+ field_dict["aggregation_function"] = aggregation_function
68
+ if fill_value is not UNSET:
69
+ field_dict["fill_value"] = fill_value
70
+
71
+ return field_dict
72
+
73
+ @classmethod
74
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
75
+ from ..models.view_axis_config import ViewAxisConfig
76
+
77
+ d = dict(src_dict)
78
+ _rows = d.pop("rows", UNSET)
79
+ rows: list[ViewAxisConfig] | Unset = UNSET
80
+ if _rows is not UNSET:
81
+ rows = []
82
+ for rows_item_data in _rows:
83
+ rows_item = ViewAxisConfig.from_dict(rows_item_data)
84
+
85
+ rows.append(rows_item)
86
+
87
+ _columns = d.pop("columns", UNSET)
88
+ columns: list[ViewAxisConfig] | Unset = UNSET
89
+ if _columns is not UNSET:
90
+ columns = []
91
+ for columns_item_data in _columns:
92
+ columns_item = ViewAxisConfig.from_dict(columns_item_data)
93
+
94
+ columns.append(columns_item)
95
+
96
+ values = d.pop("values", UNSET)
97
+
98
+ aggregation_function = d.pop("aggregation_function", UNSET)
99
+
100
+ fill_value = d.pop("fill_value", UNSET)
101
+
102
+ view_config = cls(
103
+ rows=rows,
104
+ columns=columns,
105
+ values=values,
106
+ aggregation_function=aggregation_function,
107
+ fill_value=fill_value,
108
+ )
109
+
110
+ view_config.additional_properties = d
111
+ return view_config
112
+
113
+ @property
114
+ def additional_keys(self) -> list[str]:
115
+ return list(self.additional_properties.keys())
116
+
117
+ def __getitem__(self, key: str) -> Any:
118
+ return self.additional_properties[key]
119
+
120
+ def __setitem__(self, key: str, value: Any) -> None:
121
+ self.additional_properties[key] = value
122
+
123
+ def __delitem__(self, key: str) -> None:
124
+ del self.additional_properties[key]
125
+
126
+ def __contains__(self, key: str) -> bool:
127
+ return key in self.additional_properties
@@ -0,0 +1,144 @@
1
+ from __future__ import annotations
2
+
3
+ from collections.abc import Mapping
4
+ from typing import Any, TypeVar, cast
5
+
6
+ from attrs import define as _attrs_define
7
+ from attrs import field as _attrs_field
8
+
9
+ from ..models.view_source_type import ViewSourceType
10
+ from ..types import UNSET, Unset
11
+
12
+ T = TypeVar("T", bound="ViewSource")
13
+
14
+
15
+ @_attrs_define
16
+ class ViewSource:
17
+ """
18
+ Attributes:
19
+ type_ (ViewSourceType):
20
+ period_start (None | str | Unset): Start date for transaction aggregation (YYYY-MM-DD)
21
+ period_end (None | str | Unset): End date for transaction aggregation (YYYY-MM-DD)
22
+ fact_set_id (None | str | Unset): FactSet ID for existing facts mode
23
+ entity_id (None | str | Unset): Filter by entity (optional)
24
+ """
25
+
26
+ type_: ViewSourceType
27
+ period_start: None | str | Unset = UNSET
28
+ period_end: None | str | Unset = UNSET
29
+ fact_set_id: None | str | Unset = UNSET
30
+ entity_id: None | str | Unset = UNSET
31
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
32
+
33
+ def to_dict(self) -> dict[str, Any]:
34
+ type_ = self.type_.value
35
+
36
+ period_start: None | str | Unset
37
+ if isinstance(self.period_start, Unset):
38
+ period_start = UNSET
39
+ else:
40
+ period_start = self.period_start
41
+
42
+ period_end: None | str | Unset
43
+ if isinstance(self.period_end, Unset):
44
+ period_end = UNSET
45
+ else:
46
+ period_end = self.period_end
47
+
48
+ fact_set_id: None | str | Unset
49
+ if isinstance(self.fact_set_id, Unset):
50
+ fact_set_id = UNSET
51
+ else:
52
+ fact_set_id = self.fact_set_id
53
+
54
+ entity_id: None | str | Unset
55
+ if isinstance(self.entity_id, Unset):
56
+ entity_id = UNSET
57
+ else:
58
+ entity_id = self.entity_id
59
+
60
+ field_dict: dict[str, Any] = {}
61
+ field_dict.update(self.additional_properties)
62
+ field_dict.update(
63
+ {
64
+ "type": type_,
65
+ }
66
+ )
67
+ if period_start is not UNSET:
68
+ field_dict["period_start"] = period_start
69
+ if period_end is not UNSET:
70
+ field_dict["period_end"] = period_end
71
+ if fact_set_id is not UNSET:
72
+ field_dict["fact_set_id"] = fact_set_id
73
+ if entity_id is not UNSET:
74
+ field_dict["entity_id"] = entity_id
75
+
76
+ return field_dict
77
+
78
+ @classmethod
79
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
80
+ d = dict(src_dict)
81
+ type_ = ViewSourceType(d.pop("type"))
82
+
83
+ def _parse_period_start(data: object) -> None | str | Unset:
84
+ if data is None:
85
+ return data
86
+ if isinstance(data, Unset):
87
+ return data
88
+ return cast(None | str | Unset, data)
89
+
90
+ period_start = _parse_period_start(d.pop("period_start", UNSET))
91
+
92
+ def _parse_period_end(data: object) -> None | str | Unset:
93
+ if data is None:
94
+ return data
95
+ if isinstance(data, Unset):
96
+ return data
97
+ return cast(None | str | Unset, data)
98
+
99
+ period_end = _parse_period_end(d.pop("period_end", UNSET))
100
+
101
+ def _parse_fact_set_id(data: object) -> None | str | Unset:
102
+ if data is None:
103
+ return data
104
+ if isinstance(data, Unset):
105
+ return data
106
+ return cast(None | str | Unset, data)
107
+
108
+ fact_set_id = _parse_fact_set_id(d.pop("fact_set_id", UNSET))
109
+
110
+ def _parse_entity_id(data: object) -> None | str | Unset:
111
+ if data is None:
112
+ return data
113
+ if isinstance(data, Unset):
114
+ return data
115
+ return cast(None | str | Unset, data)
116
+
117
+ entity_id = _parse_entity_id(d.pop("entity_id", UNSET))
118
+
119
+ view_source = cls(
120
+ type_=type_,
121
+ period_start=period_start,
122
+ period_end=period_end,
123
+ fact_set_id=fact_set_id,
124
+ entity_id=entity_id,
125
+ )
126
+
127
+ view_source.additional_properties = d
128
+ return view_source
129
+
130
+ @property
131
+ def additional_keys(self) -> list[str]:
132
+ return list(self.additional_properties.keys())
133
+
134
+ def __getitem__(self, key: str) -> Any:
135
+ return self.additional_properties[key]
136
+
137
+ def __setitem__(self, key: str, value: Any) -> None:
138
+ self.additional_properties[key] = value
139
+
140
+ def __delitem__(self, key: str) -> None:
141
+ del self.additional_properties[key]
142
+
143
+ def __contains__(self, key: str) -> bool:
144
+ return key in self.additional_properties
@@ -0,0 +1,9 @@
1
+ from enum import Enum
2
+
3
+
4
+ class ViewSourceType(str, Enum):
5
+ FACT_SET = "fact_set"
6
+ TRANSACTIONS = "transactions"
7
+
8
+ def __str__(self) -> str:
9
+ return str(self.value)
@@ -2,7 +2,7 @@
2
2
 
3
3
  from collections.abc import Mapping, MutableMapping
4
4
  from http import HTTPStatus
5
- from typing import IO, BinaryIO, Generic, Literal, Optional, TypeVar, Union
5
+ from typing import IO, BinaryIO, Generic, Literal, TypeVar
6
6
 
7
7
  from attrs import define
8
8
 
@@ -15,13 +15,13 @@ class Unset:
15
15
  UNSET: Unset = Unset()
16
16
 
17
17
  # The types that `httpx.Client(files=)` can accept, copied from that library.
18
- FileContent = Union[IO[bytes], bytes, str]
19
- FileTypes = Union[
18
+ FileContent = IO[bytes] | bytes | str
19
+ FileTypes = (
20
20
  # (filename, file (or bytes), content_type)
21
- tuple[Optional[str], FileContent, Optional[str]],
21
+ tuple[str | None, FileContent, str | None]
22
22
  # (filename, file (or bytes), content_type, headers)
23
- tuple[Optional[str], FileContent, Optional[str], Mapping[str, str]],
24
- ]
23
+ | tuple[str | None, FileContent, str | None, Mapping[str, str]]
24
+ )
25
25
  RequestFiles = list[tuple[str, FileTypes]]
26
26
 
27
27
 
@@ -30,8 +30,8 @@ class File:
30
30
  """Contains information for file uploads"""
31
31
 
32
32
  payload: BinaryIO
33
- file_name: Optional[str] = None
34
- mime_type: Optional[str] = None
33
+ file_name: str | None = None
34
+ mime_type: str | None = None
35
35
 
36
36
  def to_tuple(self) -> FileTypes:
37
37
  """Return a tuple representation that httpx will accept for multipart/form-data"""
@@ -48,7 +48,7 @@ class Response(Generic[T]):
48
48
  status_code: HTTPStatus
49
49
  content: bytes
50
50
  headers: MutableMapping[str, str]
51
- parsed: Optional[T]
51
+ parsed: T | None
52
52
 
53
53
 
54
54
  __all__ = ["UNSET", "File", "FileTypes", "RequestFiles", "Response", "Unset"]
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: robosystems-client
3
- Version: 0.2.15
3
+ Version: 0.2.16
4
4
  Summary: Python Client for RoboSystems financial graph database API
5
5
  Author: RFS LLC
6
6
  License: MIT