robosystems-client 0.1.18__py3-none-any.whl → 0.2.0__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 (145) hide show
  1. robosystems_client/api/agent/auto_select_agent.py +10 -4
  2. robosystems_client/api/agent/batch_process_queries.py +9 -4
  3. robosystems_client/api/agent/execute_specific_agent.py +11 -4
  4. robosystems_client/api/agent/get_agent_metadata.py +4 -1
  5. robosystems_client/api/agent/list_agents.py +4 -1
  6. robosystems_client/api/agent/recommend_agent.py +4 -1
  7. robosystems_client/api/auth/check_password_strength.py +2 -0
  8. robosystems_client/api/auth/complete_sso_auth.py +3 -0
  9. robosystems_client/api/auth/forgot_password.py +6 -3
  10. robosystems_client/api/auth/generate_sso_token.py +3 -0
  11. robosystems_client/api/auth/get_captcha_config.py +1 -0
  12. robosystems_client/api/auth/get_current_auth_user.py +3 -0
  13. robosystems_client/api/auth/get_password_policy.py +1 -0
  14. robosystems_client/api/auth/login_user.py +7 -3
  15. robosystems_client/api/auth/logout_user.py +2 -0
  16. robosystems_client/api/auth/refresh_auth_session.py +3 -0
  17. robosystems_client/api/auth/register_user.py +11 -6
  18. robosystems_client/api/auth/resend_verification_email.py +8 -3
  19. robosystems_client/api/auth/reset_password.py +3 -0
  20. robosystems_client/api/auth/sso_token_exchange.py +7 -3
  21. robosystems_client/api/auth/validate_reset_token.py +2 -0
  22. robosystems_client/api/auth/verify_email.py +3 -0
  23. robosystems_client/api/backup/create_backup.py +14 -8
  24. robosystems_client/api/backup/get_backup_download_url.py +9 -4
  25. robosystems_client/api/backup/get_backup_stats.py +3 -1
  26. robosystems_client/api/backup/list_backups.py +7 -5
  27. robosystems_client/api/backup/restore_backup.py +27 -8
  28. robosystems_client/api/connections/create_connection.py +14 -8
  29. robosystems_client/api/connections/create_link_token.py +9 -4
  30. robosystems_client/api/connections/delete_connection.py +13 -8
  31. robosystems_client/api/connections/exchange_link_token.py +9 -4
  32. robosystems_client/api/connections/get_connection.py +9 -4
  33. robosystems_client/api/connections/get_connection_options.py +8 -4
  34. robosystems_client/api/connections/init_o_auth.py +3 -1
  35. robosystems_client/api/connections/list_connections.py +8 -4
  36. robosystems_client/api/connections/oauth_callback.py +10 -4
  37. robosystems_client/api/connections/sync_connection.py +13 -8
  38. robosystems_client/api/graph_analytics/get_graph_metrics.py +13 -8
  39. robosystems_client/api/graph_analytics/get_graph_usage_stats.py +12 -8
  40. robosystems_client/api/graph_billing/get_current_graph_bill.py +9 -4
  41. robosystems_client/api/graph_billing/get_graph_billing_history.py +9 -4
  42. robosystems_client/api/graph_billing/get_graph_monthly_bill.py +10 -4
  43. robosystems_client/api/graph_billing/get_graph_usage_details.py +10 -4
  44. robosystems_client/api/graph_credits/check_credit_balance.py +9 -4
  45. robosystems_client/api/graph_credits/check_storage_limits.py +9 -4
  46. robosystems_client/api/graph_credits/get_credit_summary.py +9 -4
  47. robosystems_client/api/graph_credits/get_storage_usage.py +8 -4
  48. robosystems_client/api/graph_credits/list_credit_transactions.py +9 -4
  49. robosystems_client/api/graph_health/get_database_health.py +9 -4
  50. robosystems_client/api/graph_info/get_database_info.py +9 -4
  51. robosystems_client/api/graph_limits/get_graph_limits.py +9 -4
  52. robosystems_client/api/{create → graphs}/create_graph.py +7 -5
  53. robosystems_client/api/{create → graphs}/get_available_extensions.py +2 -1
  54. robosystems_client/api/{user/get_user_graphs.py → graphs/get_graphs.py} +3 -1
  55. robosystems_client/api/{user/select_user_graph.py → graphs/select_graph.py} +13 -8
  56. robosystems_client/api/mcp/call_mcp_tool.py +18 -8
  57. robosystems_client/api/mcp/list_mcp_tools.py +12 -8
  58. robosystems_client/api/operations/cancel_operation.py +9 -3
  59. robosystems_client/api/operations/get_operation_status.py +8 -3
  60. robosystems_client/api/operations/stream_operation_events.py +8 -3
  61. robosystems_client/api/query/execute_cypher_query.py +49 -16
  62. robosystems_client/api/schema/export_graph_schema.py +3 -1
  63. robosystems_client/api/schema/{get_graph_schema_info.py → get_graph_schema.py} +37 -47
  64. robosystems_client/api/schema/validate_schema.py +10 -5
  65. robosystems_client/api/service_offerings/get_service_offerings.py +2 -0
  66. robosystems_client/api/status/get_service_status.py +1 -0
  67. robosystems_client/api/subgraphs/create_subgraph.py +3 -1
  68. robosystems_client/api/subgraphs/delete_subgraph.py +15 -7
  69. robosystems_client/api/subgraphs/get_subgraph_info.py +14 -7
  70. robosystems_client/api/subgraphs/get_subgraph_quota.py +10 -4
  71. robosystems_client/api/subgraphs/list_subgraphs.py +3 -1
  72. robosystems_client/api/tables/delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py +287 -0
  73. robosystems_client/api/tables/get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py +283 -0
  74. robosystems_client/api/tables/get_upload_url_v1_graphs_graph_id_tables_table_name_files_post.py +260 -0
  75. robosystems_client/api/tables/ingest_tables_v1_graphs_graph_id_tables_ingest_post.py +251 -0
  76. robosystems_client/api/tables/list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +283 -0
  77. robosystems_client/api/{backup/export_backup.py → tables/list_tables_v1_graphs_graph_id_tables_get.py} +36 -36
  78. robosystems_client/api/{schema/list_schema_extensions.py → tables/query_tables_v1_graphs_graph_id_tables_query_post.py} +67 -43
  79. robosystems_client/api/tables/update_file_v1_graphs_graph_id_tables_files_file_id_patch.py +306 -0
  80. robosystems_client/api/user/create_user_api_key.py +2 -0
  81. robosystems_client/api/user/get_all_credit_summaries.py +6 -3
  82. robosystems_client/api/user/get_current_user.py +2 -0
  83. robosystems_client/api/user/list_user_api_keys.py +2 -0
  84. robosystems_client/api/user/revoke_user_api_key.py +7 -3
  85. robosystems_client/api/user/update_user.py +2 -0
  86. robosystems_client/api/user/update_user_api_key.py +2 -0
  87. robosystems_client/api/user/update_user_password.py +8 -3
  88. robosystems_client/api/user_analytics/get_detailed_user_analytics.py +2 -0
  89. robosystems_client/api/user_analytics/get_user_usage_overview.py +2 -0
  90. robosystems_client/api/user_limits/get_all_shared_repository_limits.py +2 -0
  91. robosystems_client/api/user_limits/get_shared_repository_limits.py +6 -4
  92. robosystems_client/api/user_limits/get_user_limits.py +3 -0
  93. robosystems_client/api/user_limits/get_user_usage.py +2 -0
  94. robosystems_client/api/user_subscriptions/cancel_shared_repository_subscription.py +11 -6
  95. robosystems_client/api/user_subscriptions/get_repository_credits.py +7 -3
  96. robosystems_client/api/user_subscriptions/get_shared_repository_credits.py +7 -3
  97. robosystems_client/api/user_subscriptions/get_user_shared_subscriptions.py +7 -3
  98. robosystems_client/api/user_subscriptions/subscribe_to_shared_repository.py +8 -3
  99. robosystems_client/api/user_subscriptions/upgrade_shared_repository_subscription.py +12 -6
  100. robosystems_client/extensions/README.md +1 -212
  101. robosystems_client/extensions/__init__.py +12 -28
  102. robosystems_client/extensions/extensions.py +3 -17
  103. robosystems_client/extensions/operation_client.py +12 -4
  104. robosystems_client/extensions/query_client.py +38 -24
  105. robosystems_client/extensions/sse_client.py +11 -0
  106. robosystems_client/extensions/table_ingest_client.py +466 -0
  107. robosystems_client/models/__init__.py +39 -31
  108. robosystems_client/models/api_key_info.py +20 -0
  109. robosystems_client/models/backup_restore_request.py +1 -12
  110. robosystems_client/models/bulk_ingest_request.py +50 -0
  111. robosystems_client/models/bulk_ingest_response.py +137 -0
  112. robosystems_client/models/create_api_key_request.py +20 -0
  113. robosystems_client/models/create_graph_request.py +4 -3
  114. robosystems_client/models/{sso_login_request.py → delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.py} +9 -22
  115. robosystems_client/models/file_update_request.py +62 -0
  116. robosystems_client/models/file_upload_request.py +51 -0
  117. robosystems_client/models/file_upload_response.py +83 -0
  118. robosystems_client/models/{get_graph_schema_info_response_getgraphschemainfo.py → get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get.py} +8 -5
  119. robosystems_client/models/{copy_response_error_details_type_0.py → get_graph_schema_response_getgraphschema.py} +5 -5
  120. robosystems_client/models/list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get.py +47 -0
  121. robosystems_client/models/table_info.py +107 -0
  122. robosystems_client/models/table_ingest_result.py +107 -0
  123. robosystems_client/models/table_list_response.py +81 -0
  124. robosystems_client/models/table_query_request.py +40 -0
  125. robosystems_client/models/table_query_response.py +92 -0
  126. robosystems_client/models/{list_schema_extensions_response_listschemaextensions.py → update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch.py} +8 -5
  127. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/METADATA +15 -3
  128. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/RECORD +132 -127
  129. robosystems_client/api/auth/sso_login.py +0 -177
  130. robosystems_client/api/copy/copy_data_to_graph.py +0 -486
  131. robosystems_client/extensions/copy_client.py +0 -479
  132. robosystems_client/models/copy_response.py +0 -275
  133. robosystems_client/models/copy_response_status.py +0 -11
  134. robosystems_client/models/data_frame_copy_request.py +0 -125
  135. robosystems_client/models/data_frame_copy_request_format.py +0 -10
  136. robosystems_client/models/s3_copy_request.py +0 -378
  137. robosystems_client/models/s3_copy_request_file_format.py +0 -12
  138. robosystems_client/models/s3_copy_request_s3_url_style_type_0.py +0 -9
  139. robosystems_client/models/url_copy_request.py +0 -157
  140. robosystems_client/models/url_copy_request_file_format.py +0 -10
  141. robosystems_client/models/url_copy_request_headers_type_0.py +0 -44
  142. /robosystems_client/api/{copy → graphs}/__init__.py +0 -0
  143. /robosystems_client/api/{create → tables}/__init__.py +0 -0
  144. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/WHEEL +0 -0
  145. {robosystems_client-0.1.18.dist-info → robosystems_client-0.2.0.dist-info}/licenses/LICENSE +0 -0
@@ -36,6 +36,8 @@ from .backup_stats_response import BackupStatsResponse
36
36
  from .backup_stats_response_backup_formats import BackupStatsResponseBackupFormats
37
37
  from .batch_agent_request import BatchAgentRequest
38
38
  from .batch_agent_response import BatchAgentResponse
39
+ from .bulk_ingest_request import BulkIngestRequest
40
+ from .bulk_ingest_response import BulkIngestResponse
39
41
  from .cancel_operation_response_canceloperation import (
40
42
  CancelOperationResponseCanceloperation,
41
43
  )
@@ -50,9 +52,6 @@ from .connection_provider_info_provider import ConnectionProviderInfoProvider
50
52
  from .connection_response import ConnectionResponse
51
53
  from .connection_response_metadata import ConnectionResponseMetadata
52
54
  from .connection_response_provider import ConnectionResponseProvider
53
- from .copy_response import CopyResponse
54
- from .copy_response_error_details_type_0 import CopyResponseErrorDetailsType0
55
- from .copy_response_status import CopyResponseStatus
56
55
  from .create_api_key_request import CreateAPIKeyRequest
57
56
  from .create_api_key_response import CreateAPIKeyResponse
58
57
  from .create_connection_request import CreateConnectionRequest
@@ -74,10 +73,11 @@ from .custom_schema_definition_relationships_item import (
74
73
  )
75
74
  from .cypher_query_request import CypherQueryRequest
76
75
  from .cypher_query_request_parameters_type_0 import CypherQueryRequestParametersType0
77
- from .data_frame_copy_request import DataFrameCopyRequest
78
- from .data_frame_copy_request_format import DataFrameCopyRequestFormat
79
76
  from .database_health_response import DatabaseHealthResponse
80
77
  from .database_info_response import DatabaseInfoResponse
78
+ from .delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete import (
79
+ DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete,
80
+ )
81
81
  from .delete_subgraph_request import DeleteSubgraphRequest
82
82
  from .delete_subgraph_response import DeleteSubgraphResponse
83
83
  from .detailed_transactions_response import DetailedTransactionsResponse
@@ -93,6 +93,9 @@ from .enhanced_credit_transaction_response_metadata import (
93
93
  from .error_response import ErrorResponse
94
94
  from .exchange_token_request import ExchangeTokenRequest
95
95
  from .exchange_token_request_metadata_type_0 import ExchangeTokenRequestMetadataType0
96
+ from .file_update_request import FileUpdateRequest
97
+ from .file_upload_request import FileUploadRequest
98
+ from .file_upload_response import FileUploadResponse
96
99
  from .forgot_password_request import ForgotPasswordRequest
97
100
  from .forgot_password_response_forgotpassword import (
98
101
  ForgotPasswordResponseForgotpassword,
@@ -112,6 +115,9 @@ from .get_current_auth_user_response_getcurrentauthuser import (
112
115
  from .get_current_graph_bill_response_getcurrentgraphbill import (
113
116
  GetCurrentGraphBillResponseGetcurrentgraphbill,
114
117
  )
118
+ from .get_file_info_v1_graphs_graph_id_tables_files_file_id_get_response_get_file_info_v1_graphs_graph_id_tables_files_file_id_get import (
119
+ GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet,
120
+ )
115
121
  from .get_graph_billing_history_response_getgraphbillinghistory import (
116
122
  GetGraphBillingHistoryResponseGetgraphbillinghistory,
117
123
  )
@@ -121,8 +127,8 @@ from .get_graph_limits_response_getgraphlimits import (
121
127
  from .get_graph_monthly_bill_response_getgraphmonthlybill import (
122
128
  GetGraphMonthlyBillResponseGetgraphmonthlybill,
123
129
  )
124
- from .get_graph_schema_info_response_getgraphschemainfo import (
125
- GetGraphSchemaInfoResponseGetgraphschemainfo,
130
+ from .get_graph_schema_response_getgraphschema import (
131
+ GetGraphSchemaResponseGetgraphschema,
126
132
  )
127
133
  from .get_graph_usage_details_response_getgraphusagedetails import (
128
134
  GetGraphUsageDetailsResponseGetgraphusagedetails,
@@ -157,10 +163,10 @@ from .link_token_request import LinkTokenRequest
157
163
  from .link_token_request_options_type_0 import LinkTokenRequestOptionsType0
158
164
  from .link_token_request_provider_type_0 import LinkTokenRequestProviderType0
159
165
  from .list_connections_provider_type_0 import ListConnectionsProviderType0
160
- from .list_schema_extensions_response_listschemaextensions import (
161
- ListSchemaExtensionsResponseListschemaextensions,
162
- )
163
166
  from .list_subgraphs_response import ListSubgraphsResponse
167
+ from .list_table_files_v1_graphs_graph_id_tables_table_name_files_get_response_list_table_files_v1_graphs_graph_id_tables_table_name_files_get import (
168
+ ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetResponseListTableFilesV1GraphsGraphIdTablesTableNameFilesGet,
169
+ )
164
170
  from .login_request import LoginRequest
165
171
  from .logout_user_response_logoutuser import LogoutUserResponseLogoutuser
166
172
  from .mcp_tool_call import MCPToolCall
@@ -196,9 +202,6 @@ from .resend_verification_email_response_resendverificationemail import (
196
202
  from .reset_password_request import ResetPasswordRequest
197
203
  from .reset_password_validate_response import ResetPasswordValidateResponse
198
204
  from .response_mode import ResponseMode
199
- from .s3_copy_request import S3CopyRequest
200
- from .s3_copy_request_file_format import S3CopyRequestFileFormat
201
- from .s3_copy_request_s3_url_style_type_0 import S3CopyRequestS3UrlStyleType0
202
205
  from .schema_export_response import SchemaExportResponse
203
206
  from .schema_export_response_data_stats_type_0 import SchemaExportResponseDataStatsType0
204
207
  from .schema_export_response_schema_definition_type_0 import (
@@ -218,7 +221,6 @@ from .selection_criteria import SelectionCriteria
218
221
  from .sso_complete_request import SSOCompleteRequest
219
222
  from .sso_exchange_request import SSOExchangeRequest
220
223
  from .sso_exchange_response import SSOExchangeResponse
221
- from .sso_login_request import SSOLoginRequest
222
224
  from .sso_token_response import SSOTokenResponse
223
225
  from .storage_limit_response import StorageLimitResponse
224
226
  from .subgraph_quota_response import SubgraphQuotaResponse
@@ -239,14 +241,19 @@ from .sync_connection_request_sync_options_type_0 import (
239
241
  from .sync_connection_response_syncconnection import (
240
242
  SyncConnectionResponseSyncconnection,
241
243
  )
244
+ from .table_info import TableInfo
245
+ from .table_ingest_result import TableIngestResult
246
+ from .table_list_response import TableListResponse
247
+ from .table_query_request import TableQueryRequest
248
+ from .table_query_response import TableQueryResponse
242
249
  from .tier_upgrade_request import TierUpgradeRequest
243
250
  from .transaction_summary_response import TransactionSummaryResponse
244
251
  from .update_api_key_request import UpdateAPIKeyRequest
252
+ from .update_file_v1_graphs_graph_id_tables_files_file_id_patch_response_update_file_v1_graphs_graph_id_tables_files_file_id_patch import (
253
+ UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchResponseUpdateFileV1GraphsGraphIdTablesFilesFileIdPatch,
254
+ )
245
255
  from .update_password_request import UpdatePasswordRequest
246
256
  from .update_user_request import UpdateUserRequest
247
- from .url_copy_request import URLCopyRequest
248
- from .url_copy_request_file_format import URLCopyRequestFileFormat
249
- from .url_copy_request_headers_type_0 import URLCopyRequestHeadersType0
250
257
  from .user_analytics_response import UserAnalyticsResponse
251
258
  from .user_analytics_response_api_usage import UserAnalyticsResponseApiUsage
252
259
  from .user_analytics_response_graph_usage import UserAnalyticsResponseGraphUsage
@@ -301,6 +308,8 @@ __all__ = (
301
308
  "BackupStatsResponseBackupFormats",
302
309
  "BatchAgentRequest",
303
310
  "BatchAgentResponse",
311
+ "BulkIngestRequest",
312
+ "BulkIngestResponse",
304
313
  "CancellationResponse",
305
314
  "CancelOperationResponseCanceloperation",
306
315
  "CheckCreditBalanceResponseCheckcreditbalance",
@@ -311,9 +320,6 @@ __all__ = (
311
320
  "ConnectionResponse",
312
321
  "ConnectionResponseMetadata",
313
322
  "ConnectionResponseProvider",
314
- "CopyResponse",
315
- "CopyResponseErrorDetailsType0",
316
- "CopyResponseStatus",
317
323
  "CreateAPIKeyRequest",
318
324
  "CreateAPIKeyResponse",
319
325
  "CreateConnectionRequest",
@@ -333,8 +339,7 @@ __all__ = (
333
339
  "CypherQueryRequestParametersType0",
334
340
  "DatabaseHealthResponse",
335
341
  "DatabaseInfoResponse",
336
- "DataFrameCopyRequest",
337
- "DataFrameCopyRequestFormat",
342
+ "DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete",
338
343
  "DeleteSubgraphRequest",
339
344
  "DeleteSubgraphResponse",
340
345
  "DetailedTransactionsResponse",
@@ -346,6 +351,9 @@ __all__ = (
346
351
  "ErrorResponse",
347
352
  "ExchangeTokenRequest",
348
353
  "ExchangeTokenRequestMetadataType0",
354
+ "FileUpdateRequest",
355
+ "FileUploadRequest",
356
+ "FileUploadResponse",
349
357
  "ForgotPasswordRequest",
350
358
  "ForgotPasswordResponseForgotpassword",
351
359
  "GetAllCreditSummariesResponseGetallcreditsummaries",
@@ -353,10 +361,11 @@ __all__ = (
353
361
  "GetBackupDownloadUrlResponseGetbackupdownloadurl",
354
362
  "GetCurrentAuthUserResponseGetcurrentauthuser",
355
363
  "GetCurrentGraphBillResponseGetcurrentgraphbill",
364
+ "GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetResponseGetFileInfoV1GraphsGraphIdTablesFilesFileIdGet",
356
365
  "GetGraphBillingHistoryResponseGetgraphbillinghistory",
357
366
  "GetGraphLimitsResponseGetgraphlimits",
358
367
  "GetGraphMonthlyBillResponseGetgraphmonthlybill",
359
- "GetGraphSchemaInfoResponseGetgraphschemainfo",
368
+ "GetGraphSchemaResponseGetgraphschema",
360
369
  "GetGraphUsageDetailsResponseGetgraphusagedetails",
361
370
  "GetOperationStatusResponseGetoperationstatus",
362
371
  "GetSharedRepositoryLimitsResponseGetsharedrepositorylimits",
@@ -380,8 +389,8 @@ __all__ = (
380
389
  "LinkTokenRequestOptionsType0",
381
390
  "LinkTokenRequestProviderType0",
382
391
  "ListConnectionsProviderType0",
383
- "ListSchemaExtensionsResponseListschemaextensions",
384
392
  "ListSubgraphsResponse",
393
+ "ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetResponseListTableFilesV1GraphsGraphIdTablesTableNameFilesGet",
385
394
  "LoginRequest",
386
395
  "LogoutUserResponseLogoutuser",
387
396
  "MCPToolCall",
@@ -409,9 +418,6 @@ __all__ = (
409
418
  "ResetPasswordRequest",
410
419
  "ResetPasswordValidateResponse",
411
420
  "ResponseMode",
412
- "S3CopyRequest",
413
- "S3CopyRequestFileFormat",
414
- "S3CopyRequestS3UrlStyleType0",
415
421
  "SchemaExportResponse",
416
422
  "SchemaExportResponseDataStatsType0",
417
423
  "SchemaExportResponseSchemaDefinitionType0",
@@ -425,7 +431,6 @@ __all__ = (
425
431
  "SSOCompleteRequest",
426
432
  "SSOExchangeRequest",
427
433
  "SSOExchangeResponse",
428
- "SSOLoginRequest",
429
434
  "SSOTokenResponse",
430
435
  "StorageLimitResponse",
431
436
  "SubgraphQuotaResponse",
@@ -442,14 +447,17 @@ __all__ = (
442
447
  "SyncConnectionRequest",
443
448
  "SyncConnectionRequestSyncOptionsType0",
444
449
  "SyncConnectionResponseSyncconnection",
450
+ "TableInfo",
451
+ "TableIngestResult",
452
+ "TableListResponse",
453
+ "TableQueryRequest",
454
+ "TableQueryResponse",
445
455
  "TierUpgradeRequest",
446
456
  "TransactionSummaryResponse",
447
457
  "UpdateAPIKeyRequest",
458
+ "UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchResponseUpdateFileV1GraphsGraphIdTablesFilesFileIdPatch",
448
459
  "UpdatePasswordRequest",
449
460
  "UpdateUserRequest",
450
- "URLCopyRequest",
451
- "URLCopyRequestFileFormat",
452
- "URLCopyRequestHeadersType0",
453
461
  "UserAnalyticsResponse",
454
462
  "UserAnalyticsResponseApiUsage",
455
463
  "UserAnalyticsResponseGraphUsage",
@@ -21,6 +21,7 @@ class APIKeyInfo:
21
21
  created_at (str): Creation timestamp
22
22
  description (Union[None, Unset, str]): API key description
23
23
  last_used_at (Union[None, Unset, str]): Last used timestamp
24
+ expires_at (Union[None, Unset, str]): Expiration timestamp
24
25
  """
25
26
 
26
27
  id: str
@@ -30,6 +31,7 @@ class APIKeyInfo:
30
31
  created_at: str
31
32
  description: Union[None, Unset, str] = UNSET
32
33
  last_used_at: Union[None, Unset, str] = UNSET
34
+ expires_at: Union[None, Unset, str] = 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]:
@@ -55,6 +57,12 @@ class APIKeyInfo:
55
57
  else:
56
58
  last_used_at = self.last_used_at
57
59
 
60
+ expires_at: Union[None, Unset, str]
61
+ if isinstance(self.expires_at, Unset):
62
+ expires_at = UNSET
63
+ else:
64
+ expires_at = self.expires_at
65
+
58
66
  field_dict: dict[str, Any] = {}
59
67
  field_dict.update(self.additional_properties)
60
68
  field_dict.update(
@@ -70,6 +78,8 @@ class APIKeyInfo:
70
78
  field_dict["description"] = description
71
79
  if last_used_at is not UNSET:
72
80
  field_dict["last_used_at"] = last_used_at
81
+ if expires_at is not UNSET:
82
+ field_dict["expires_at"] = expires_at
73
83
 
74
84
  return field_dict
75
85
 
@@ -104,6 +114,15 @@ class APIKeyInfo:
104
114
 
105
115
  last_used_at = _parse_last_used_at(d.pop("last_used_at", UNSET))
106
116
 
117
+ def _parse_expires_at(data: object) -> Union[None, Unset, str]:
118
+ if data is None:
119
+ return data
120
+ if isinstance(data, Unset):
121
+ return data
122
+ return cast(Union[None, Unset, str], data)
123
+
124
+ expires_at = _parse_expires_at(d.pop("expires_at", UNSET))
125
+
107
126
  api_key_info = cls(
108
127
  id=id,
109
128
  name=name,
@@ -112,6 +131,7 @@ class APIKeyInfo:
112
131
  created_at=created_at,
113
132
  description=description,
114
133
  last_used_at=last_used_at,
134
+ expires_at=expires_at,
115
135
  )
116
136
 
117
137
  api_key_info.additional_properties = d
@@ -14,31 +14,23 @@ class BackupRestoreRequest:
14
14
  """Request model for restoring from a backup.
15
15
 
16
16
  Attributes:
17
- backup_id (str): ID of backup to restore from
18
17
  create_system_backup (Union[Unset, bool]): Create a system backup of existing database before restore Default:
19
18
  True.
20
19
  verify_after_restore (Union[Unset, bool]): Verify database integrity after restore Default: True.
21
20
  """
22
21
 
23
- backup_id: str
24
22
  create_system_backup: Union[Unset, bool] = True
25
23
  verify_after_restore: Union[Unset, bool] = True
26
24
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
27
25
 
28
26
  def to_dict(self) -> dict[str, Any]:
29
- backup_id = self.backup_id
30
-
31
27
  create_system_backup = self.create_system_backup
32
28
 
33
29
  verify_after_restore = self.verify_after_restore
34
30
 
35
31
  field_dict: dict[str, Any] = {}
36
32
  field_dict.update(self.additional_properties)
37
- field_dict.update(
38
- {
39
- "backup_id": backup_id,
40
- }
41
- )
33
+ field_dict.update({})
42
34
  if create_system_backup is not UNSET:
43
35
  field_dict["create_system_backup"] = create_system_backup
44
36
  if verify_after_restore is not UNSET:
@@ -49,14 +41,11 @@ class BackupRestoreRequest:
49
41
  @classmethod
50
42
  def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
51
43
  d = dict(src_dict)
52
- backup_id = d.pop("backup_id")
53
-
54
44
  create_system_backup = d.pop("create_system_backup", UNSET)
55
45
 
56
46
  verify_after_restore = d.pop("verify_after_restore", UNSET)
57
47
 
58
48
  backup_restore_request = cls(
59
- backup_id=backup_id,
60
49
  create_system_backup=create_system_backup,
61
50
  verify_after_restore=verify_after_restore,
62
51
  )
@@ -0,0 +1,50 @@
1
+ from collections.abc import Mapping
2
+ from typing import Any, TypeVar, Union
3
+
4
+ from attrs import define as _attrs_define
5
+
6
+ from ..types import UNSET, Unset
7
+
8
+ T = TypeVar("T", bound="BulkIngestRequest")
9
+
10
+
11
+ @_attrs_define
12
+ class BulkIngestRequest:
13
+ """
14
+ Attributes:
15
+ ignore_errors (Union[Unset, bool]): Continue ingestion on row errors Default: True.
16
+ rebuild (Union[Unset, bool]): Rebuild graph database from scratch before ingestion. Safe operation - staged data
17
+ is the source of truth, graph can always be regenerated. Default: False.
18
+ """
19
+
20
+ ignore_errors: Union[Unset, bool] = True
21
+ rebuild: Union[Unset, bool] = False
22
+
23
+ def to_dict(self) -> dict[str, Any]:
24
+ ignore_errors = self.ignore_errors
25
+
26
+ rebuild = self.rebuild
27
+
28
+ field_dict: dict[str, Any] = {}
29
+
30
+ field_dict.update({})
31
+ if ignore_errors is not UNSET:
32
+ field_dict["ignore_errors"] = ignore_errors
33
+ if rebuild is not UNSET:
34
+ field_dict["rebuild"] = rebuild
35
+
36
+ return field_dict
37
+
38
+ @classmethod
39
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
40
+ d = dict(src_dict)
41
+ ignore_errors = d.pop("ignore_errors", UNSET)
42
+
43
+ rebuild = d.pop("rebuild", UNSET)
44
+
45
+ bulk_ingest_request = cls(
46
+ ignore_errors=ignore_errors,
47
+ rebuild=rebuild,
48
+ )
49
+
50
+ return bulk_ingest_request
@@ -0,0 +1,137 @@
1
+ from collections.abc import Mapping
2
+ from typing import TYPE_CHECKING, Any, TypeVar
3
+
4
+ from attrs import define as _attrs_define
5
+ from attrs import field as _attrs_field
6
+
7
+ if TYPE_CHECKING:
8
+ from ..models.table_ingest_result import TableIngestResult
9
+
10
+
11
+ T = TypeVar("T", bound="BulkIngestResponse")
12
+
13
+
14
+ @_attrs_define
15
+ class BulkIngestResponse:
16
+ """
17
+ Attributes:
18
+ status (str): Overall ingestion status
19
+ graph_id (str): Graph database identifier
20
+ total_tables (int): Total number of tables processed
21
+ successful_tables (int): Number of successfully ingested tables
22
+ failed_tables (int): Number of failed table ingestions
23
+ skipped_tables (int): Number of skipped tables (no files)
24
+ total_rows_ingested (int): Total rows ingested across all tables
25
+ total_execution_time_ms (float): Total execution time in milliseconds
26
+ results (list['TableIngestResult']): Per-table ingestion results
27
+ """
28
+
29
+ status: str
30
+ graph_id: str
31
+ total_tables: int
32
+ successful_tables: int
33
+ failed_tables: int
34
+ skipped_tables: int
35
+ total_rows_ingested: int
36
+ total_execution_time_ms: float
37
+ results: list["TableIngestResult"]
38
+ additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
39
+
40
+ def to_dict(self) -> dict[str, Any]:
41
+ status = self.status
42
+
43
+ graph_id = self.graph_id
44
+
45
+ total_tables = self.total_tables
46
+
47
+ successful_tables = self.successful_tables
48
+
49
+ failed_tables = self.failed_tables
50
+
51
+ skipped_tables = self.skipped_tables
52
+
53
+ total_rows_ingested = self.total_rows_ingested
54
+
55
+ total_execution_time_ms = self.total_execution_time_ms
56
+
57
+ results = []
58
+ for results_item_data in self.results:
59
+ results_item = results_item_data.to_dict()
60
+ results.append(results_item)
61
+
62
+ field_dict: dict[str, Any] = {}
63
+ field_dict.update(self.additional_properties)
64
+ field_dict.update(
65
+ {
66
+ "status": status,
67
+ "graph_id": graph_id,
68
+ "total_tables": total_tables,
69
+ "successful_tables": successful_tables,
70
+ "failed_tables": failed_tables,
71
+ "skipped_tables": skipped_tables,
72
+ "total_rows_ingested": total_rows_ingested,
73
+ "total_execution_time_ms": total_execution_time_ms,
74
+ "results": results,
75
+ }
76
+ )
77
+
78
+ return field_dict
79
+
80
+ @classmethod
81
+ def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
82
+ from ..models.table_ingest_result import TableIngestResult
83
+
84
+ d = dict(src_dict)
85
+ status = d.pop("status")
86
+
87
+ graph_id = d.pop("graph_id")
88
+
89
+ total_tables = d.pop("total_tables")
90
+
91
+ successful_tables = d.pop("successful_tables")
92
+
93
+ failed_tables = d.pop("failed_tables")
94
+
95
+ skipped_tables = d.pop("skipped_tables")
96
+
97
+ total_rows_ingested = d.pop("total_rows_ingested")
98
+
99
+ total_execution_time_ms = d.pop("total_execution_time_ms")
100
+
101
+ results = []
102
+ _results = d.pop("results")
103
+ for results_item_data in _results:
104
+ results_item = TableIngestResult.from_dict(results_item_data)
105
+
106
+ results.append(results_item)
107
+
108
+ bulk_ingest_response = cls(
109
+ status=status,
110
+ graph_id=graph_id,
111
+ total_tables=total_tables,
112
+ successful_tables=successful_tables,
113
+ failed_tables=failed_tables,
114
+ skipped_tables=skipped_tables,
115
+ total_rows_ingested=total_rows_ingested,
116
+ total_execution_time_ms=total_execution_time_ms,
117
+ results=results,
118
+ )
119
+
120
+ bulk_ingest_response.additional_properties = d
121
+ return bulk_ingest_response
122
+
123
+ @property
124
+ def additional_keys(self) -> list[str]:
125
+ return list(self.additional_properties.keys())
126
+
127
+ def __getitem__(self, key: str) -> Any:
128
+ return self.additional_properties[key]
129
+
130
+ def __setitem__(self, key: str, value: Any) -> None:
131
+ self.additional_properties[key] = value
132
+
133
+ def __delitem__(self, key: str) -> None:
134
+ del self.additional_properties[key]
135
+
136
+ def __contains__(self, key: str) -> bool:
137
+ return key in self.additional_properties
@@ -16,10 +16,12 @@ class CreateAPIKeyRequest:
16
16
  Attributes:
17
17
  name (str): Name for the API key
18
18
  description (Union[None, Unset, str]): Optional description
19
+ expires_at (Union[None, Unset, str]): Optional expiration date in ISO format (e.g. 2024-12-31T23:59:59Z)
19
20
  """
20
21
 
21
22
  name: str
22
23
  description: Union[None, Unset, str] = UNSET
24
+ expires_at: Union[None, Unset, str] = UNSET
23
25
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
24
26
 
25
27
  def to_dict(self) -> dict[str, Any]:
@@ -31,6 +33,12 @@ class CreateAPIKeyRequest:
31
33
  else:
32
34
  description = self.description
33
35
 
36
+ expires_at: Union[None, Unset, str]
37
+ if isinstance(self.expires_at, Unset):
38
+ expires_at = UNSET
39
+ else:
40
+ expires_at = self.expires_at
41
+
34
42
  field_dict: dict[str, Any] = {}
35
43
  field_dict.update(self.additional_properties)
36
44
  field_dict.update(
@@ -40,6 +48,8 @@ class CreateAPIKeyRequest:
40
48
  )
41
49
  if description is not UNSET:
42
50
  field_dict["description"] = description
51
+ if expires_at is not UNSET:
52
+ field_dict["expires_at"] = expires_at
43
53
 
44
54
  return field_dict
45
55
 
@@ -57,9 +67,19 @@ class CreateAPIKeyRequest:
57
67
 
58
68
  description = _parse_description(d.pop("description", UNSET))
59
69
 
70
+ def _parse_expires_at(data: object) -> Union[None, Unset, str]:
71
+ if data is None:
72
+ return data
73
+ if isinstance(data, Unset):
74
+ return data
75
+ return cast(Union[None, Unset, str], data)
76
+
77
+ expires_at = _parse_expires_at(d.pop("expires_at", UNSET))
78
+
60
79
  create_api_key_request = cls(
61
80
  name=name,
62
81
  description=description,
82
+ expires_at=expires_at,
63
83
  )
64
84
 
65
85
  create_api_key_request.additional_properties = d
@@ -21,12 +21,13 @@ class CreateGraphRequest:
21
21
 
22
22
  Example:
23
23
  {'initial_entity': {'cik': '0001234567', 'name': 'Acme Corp', 'uri': 'https://acme.com'}, 'instance_tier':
24
- 'standard', 'metadata': {'description': 'Main production graph', 'graph_name': 'Production System',
24
+ 'kuzu-standard', 'metadata': {'description': 'Main production graph', 'graph_name': 'Production System',
25
25
  'schema_extensions': ['roboledger']}, 'tags': ['production', 'finance']}
26
26
 
27
27
  Attributes:
28
28
  metadata (GraphMetadata): Metadata for graph creation.
29
- instance_tier (Union[Unset, str]): Instance tier: standard, enterprise, or premium Default: 'standard'.
29
+ instance_tier (Union[Unset, str]): Instance tier: kuzu-standard, kuzu-large, kuzu-xlarge, neo4j-community-large,
30
+ neo4j-enterprise-xlarge Default: 'kuzu-standard'.
30
31
  custom_schema (Union['CustomSchemaDefinition', None, Unset]): Custom schema definition to apply
31
32
  initial_entity (Union['InitialEntityData', None, Unset]): Optional initial entity to create in the graph. If
32
33
  provided, creates a entity-focused graph.
@@ -34,7 +35,7 @@ class CreateGraphRequest:
34
35
  """
35
36
 
36
37
  metadata: "GraphMetadata"
37
- instance_tier: Union[Unset, str] = "standard"
38
+ instance_tier: Union[Unset, str] = "kuzu-standard"
38
39
  custom_schema: Union["CustomSchemaDefinition", None, Unset] = UNSET
39
40
  initial_entity: Union["InitialEntityData", None, Unset] = UNSET
40
41
  tags: Union[Unset, list[str]] = UNSET
@@ -4,44 +4,31 @@ from typing import Any, TypeVar
4
4
  from attrs import define as _attrs_define
5
5
  from attrs import field as _attrs_field
6
6
 
7
- T = TypeVar("T", bound="SSOLoginRequest")
7
+ T = TypeVar(
8
+ "T",
9
+ bound="DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete",
10
+ )
8
11
 
9
12
 
10
13
  @_attrs_define
11
- class SSOLoginRequest:
12
- """SSO login request model.
14
+ class DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteResponseDeleteFileV1GraphsGraphIdTablesFilesFileIdDelete:
15
+ """ """
13
16
 
14
- Attributes:
15
- token (str): Temporary SSO token
16
- """
17
-
18
- token: str
19
17
  additional_properties: dict[str, Any] = _attrs_field(init=False, factory=dict)
20
18
 
21
19
  def to_dict(self) -> dict[str, Any]:
22
- token = self.token
23
-
24
20
  field_dict: dict[str, Any] = {}
25
21
  field_dict.update(self.additional_properties)
26
- field_dict.update(
27
- {
28
- "token": token,
29
- }
30
- )
31
22
 
32
23
  return field_dict
33
24
 
34
25
  @classmethod
35
26
  def from_dict(cls: type[T], src_dict: Mapping[str, Any]) -> T:
36
27
  d = dict(src_dict)
37
- token = d.pop("token")
38
-
39
- sso_login_request = cls(
40
- token=token,
41
- )
28
+ delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete = cls()
42
29
 
43
- sso_login_request.additional_properties = d
44
- return sso_login_request
30
+ delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete.additional_properties = d
31
+ return delete_file_v1_graphs_graph_id_tables_files_file_id_delete_response_delete_file_v1_graphs_graph_id_tables_files_file_id_delete
45
32
 
46
33
  @property
47
34
  def additional_keys(self) -> list[str]: