@robosystems/client 0.2.4 → 0.2.5
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.
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +141 -10
- package/sdk/sdk.gen.js +157 -10
- package/sdk/sdk.gen.ts +157 -10
- package/sdk/types.gen.d.ts +294 -18
- package/sdk/types.gen.ts +307 -18
- package/sdk.gen.d.ts +141 -10
- package/sdk.gen.js +157 -10
- package/sdk.gen.ts +157 -10
- package/types.gen.d.ts +294 -18
- package/types.gen.ts +307 -18
package/sdk/sdk.gen.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { Options as ClientOptions, TDataShape, Client } from './client';
|
|
4
|
-
import type { RegisterUserData, RegisterUserResponses, RegisterUserErrors, LoginUserData, LoginUserResponses, LoginUserErrors, LogoutUserData, LogoutUserResponses, GetCurrentAuthUserData, GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, RefreshAuthSessionData, RefreshAuthSessionResponses, RefreshAuthSessionErrors, ResendVerificationEmailData, ResendVerificationEmailResponses, ResendVerificationEmailErrors, VerifyEmailData, VerifyEmailResponses, VerifyEmailErrors, GetPasswordPolicyData, GetPasswordPolicyResponses, CheckPasswordStrengthData, CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ForgotPasswordData, ForgotPasswordResponses, ForgotPasswordErrors, ValidateResetTokenData, ValidateResetTokenResponses, ValidateResetTokenErrors, ResetPasswordData, ResetPasswordResponses, ResetPasswordErrors, GenerateSsoTokenData, GenerateSsoTokenResponses, GenerateSsoTokenErrors, SsoTokenExchangeData, SsoTokenExchangeResponses, SsoTokenExchangeErrors, CompleteSsoAuthData, CompleteSsoAuthResponses, CompleteSsoAuthErrors, GetCaptchaConfigData, GetCaptchaConfigResponses, GetServiceStatusData, GetServiceStatusResponses, GetCurrentUserData, GetCurrentUserResponses, UpdateUserData, UpdateUserResponses, UpdateUserErrors, GetAllCreditSummariesData, GetAllCreditSummariesResponses, GetAllCreditSummariesErrors, UpdateUserPasswordData, UpdateUserPasswordResponses, UpdateUserPasswordErrors, ListUserApiKeysData, ListUserApiKeysResponses, CreateUserApiKeyData, CreateUserApiKeyResponses, CreateUserApiKeyErrors, RevokeUserApiKeyData, RevokeUserApiKeyResponses, RevokeUserApiKeyErrors, UpdateUserApiKeyData, UpdateUserApiKeyResponses, UpdateUserApiKeyErrors, GetUserLimitsData, GetUserLimitsResponses, GetUserLimitsErrors, GetUserUsageData, GetUserUsageResponses, GetAllSharedRepositoryLimitsData, GetAllSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsData, GetSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsErrors, GetUserUsageOverviewData, GetUserUsageOverviewResponses, GetDetailedUserAnalyticsData, GetDetailedUserAnalyticsResponses, GetDetailedUserAnalyticsErrors, GetUserSharedSubscriptionsData, GetUserSharedSubscriptionsResponses, GetUserSharedSubscriptionsErrors, SubscribeToSharedRepositoryData, SubscribeToSharedRepositoryResponses, SubscribeToSharedRepositoryErrors, UpgradeSharedRepositorySubscriptionData, UpgradeSharedRepositorySubscriptionResponses, UpgradeSharedRepositorySubscriptionErrors, CancelSharedRepositorySubscriptionData, CancelSharedRepositorySubscriptionResponses, CancelSharedRepositorySubscriptionErrors, GetSharedRepositoryCreditsData, GetSharedRepositoryCreditsResponses, GetSharedRepositoryCreditsErrors, GetRepositoryCreditsData, GetRepositoryCreditsResponses, GetRepositoryCreditsErrors, ListConnectionsData, ListConnectionsResponses, ListConnectionsErrors, CreateConnectionData, CreateConnectionResponses, CreateConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsResponses, GetConnectionOptionsErrors, ExchangeLinkTokenData, ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, CreateLinkTokenData, CreateLinkTokenResponses, CreateLinkTokenErrors, InitOAuthData, InitOAuthResponses, InitOAuthErrors, OauthCallbackData, OauthCallbackResponses, OauthCallbackErrors, DeleteConnectionData, DeleteConnectionResponses, DeleteConnectionErrors, GetConnectionData, GetConnectionResponses, GetConnectionErrors, SyncConnectionData, SyncConnectionResponses, SyncConnectionErrors, AutoSelectAgentData, AutoSelectAgentResponses, AutoSelectAgentErrors, ExecuteSpecificAgentData, ExecuteSpecificAgentResponses, ExecuteSpecificAgentErrors, BatchProcessQueriesData, BatchProcessQueriesResponses, BatchProcessQueriesErrors, ListAgentsData, ListAgentsResponses, ListAgentsErrors, GetAgentMetadataData, GetAgentMetadataResponses, GetAgentMetadataErrors, RecommendAgentData, RecommendAgentResponses, RecommendAgentErrors, ListMcpToolsData, ListMcpToolsResponses, ListMcpToolsErrors, CallMcpToolData, CallMcpToolResponses, CallMcpToolErrors, ListBackupsData, ListBackupsResponses, ListBackupsErrors, CreateBackupData, CreateBackupResponses, CreateBackupErrors, GetBackupDownloadUrlData, GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, RestoreBackupData, RestoreBackupResponses, RestoreBackupErrors, GetBackupStatsData, GetBackupStatsResponses, GetBackupStatsErrors, GetGraphMetricsData, GetGraphMetricsResponses, GetGraphMetricsErrors, GetGraphUsageStatsData, GetGraphUsageStatsResponses, GetGraphUsageStatsErrors, ExecuteCypherQueryData, ExecuteCypherQueryResponses, ExecuteCypherQueryErrors, GetGraphSchemaData, GetGraphSchemaResponses, GetGraphSchemaErrors, ExportGraphSchemaData, ExportGraphSchemaResponses, ExportGraphSchemaErrors, ValidateSchemaData, ValidateSchemaResponses, ValidateSchemaErrors, GetCurrentGraphBillData, GetCurrentGraphBillResponses, GetCurrentGraphBillErrors, GetGraphUsageDetailsData, GetGraphUsageDetailsResponses, GetGraphUsageDetailsErrors, GetGraphBillingHistoryData, GetGraphBillingHistoryResponses, GetGraphBillingHistoryErrors, GetGraphMonthlyBillData, GetGraphMonthlyBillResponses, GetGraphMonthlyBillErrors, GetCreditSummaryData, GetCreditSummaryResponses, GetCreditSummaryErrors, ListCreditTransactionsData, ListCreditTransactionsResponses, ListCreditTransactionsErrors, CheckCreditBalanceData, CheckCreditBalanceResponses, CheckCreditBalanceErrors, GetStorageUsageData, GetStorageUsageResponses, GetStorageUsageErrors, CheckStorageLimitsData, CheckStorageLimitsResponses, CheckStorageLimitsErrors, GetDatabaseHealthData, GetDatabaseHealthResponses, GetDatabaseHealthErrors, GetDatabaseInfoData, GetDatabaseInfoResponses, GetDatabaseInfoErrors, GetGraphLimitsData, GetGraphLimitsResponses, GetGraphLimitsErrors, ListSubgraphsData, ListSubgraphsResponses, ListSubgraphsErrors, CreateSubgraphData, CreateSubgraphResponses, CreateSubgraphErrors, DeleteSubgraphData, DeleteSubgraphResponses, DeleteSubgraphErrors, GetSubgraphInfoData, GetSubgraphInfoResponses, GetSubgraphInfoErrors, GetSubgraphQuotaData, GetSubgraphQuotaResponses, GetSubgraphQuotaErrors, ListTablesData, ListTablesResponses, ListTablesErrors, ListTableFilesData, ListTableFilesResponses, ListTableFilesErrors, GetUploadUrlData, GetUploadUrlResponses, GetUploadUrlErrors, DeleteFileData, DeleteFileResponses, DeleteFileErrors, GetFileInfoData, GetFileInfoResponses, GetFileInfoErrors, UpdateFileStatusData, UpdateFileStatusResponses, UpdateFileStatusErrors, IngestTablesData, IngestTablesResponses, IngestTablesErrors, QueryTablesData, QueryTablesResponses, QueryTablesErrors, GetGraphsData, GetGraphsResponses, GetGraphsErrors, CreateGraphData, CreateGraphResponses, CreateGraphErrors, GetAvailableExtensionsData, GetAvailableExtensionsResponses, GetAvailableExtensionsErrors, SelectGraphData, SelectGraphResponses, SelectGraphErrors, GetServiceOfferingsData, GetServiceOfferingsResponses, GetServiceOfferingsErrors, StreamOperationEventsData, StreamOperationEventsResponses, StreamOperationEventsErrors, GetOperationStatusData, GetOperationStatusResponses, GetOperationStatusErrors, CancelOperationData, CancelOperationResponses, CancelOperationErrors } from './types.gen';
|
|
4
|
+
import type { RegisterUserData, RegisterUserResponses, RegisterUserErrors, LoginUserData, LoginUserResponses, LoginUserErrors, LogoutUserData, LogoutUserResponses, GetCurrentAuthUserData, GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, RefreshAuthSessionData, RefreshAuthSessionResponses, RefreshAuthSessionErrors, ResendVerificationEmailData, ResendVerificationEmailResponses, ResendVerificationEmailErrors, VerifyEmailData, VerifyEmailResponses, VerifyEmailErrors, GetPasswordPolicyData, GetPasswordPolicyResponses, CheckPasswordStrengthData, CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ForgotPasswordData, ForgotPasswordResponses, ForgotPasswordErrors, ValidateResetTokenData, ValidateResetTokenResponses, ValidateResetTokenErrors, ResetPasswordData, ResetPasswordResponses, ResetPasswordErrors, GenerateSsoTokenData, GenerateSsoTokenResponses, GenerateSsoTokenErrors, SsoTokenExchangeData, SsoTokenExchangeResponses, SsoTokenExchangeErrors, CompleteSsoAuthData, CompleteSsoAuthResponses, CompleteSsoAuthErrors, GetCaptchaConfigData, GetCaptchaConfigResponses, GetServiceStatusData, GetServiceStatusResponses, GetCurrentUserData, GetCurrentUserResponses, UpdateUserData, UpdateUserResponses, UpdateUserErrors, GetAllCreditSummariesData, GetAllCreditSummariesResponses, GetAllCreditSummariesErrors, UpdateUserPasswordData, UpdateUserPasswordResponses, UpdateUserPasswordErrors, ListUserApiKeysData, ListUserApiKeysResponses, CreateUserApiKeyData, CreateUserApiKeyResponses, CreateUserApiKeyErrors, RevokeUserApiKeyData, RevokeUserApiKeyResponses, RevokeUserApiKeyErrors, UpdateUserApiKeyData, UpdateUserApiKeyResponses, UpdateUserApiKeyErrors, GetUserLimitsData, GetUserLimitsResponses, GetUserLimitsErrors, GetUserUsageData, GetUserUsageResponses, GetAllSharedRepositoryLimitsData, GetAllSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsData, GetSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsErrors, GetUserUsageOverviewData, GetUserUsageOverviewResponses, GetDetailedUserAnalyticsData, GetDetailedUserAnalyticsResponses, GetDetailedUserAnalyticsErrors, GetUserSharedSubscriptionsData, GetUserSharedSubscriptionsResponses, GetUserSharedSubscriptionsErrors, SubscribeToSharedRepositoryData, SubscribeToSharedRepositoryResponses, SubscribeToSharedRepositoryErrors, UpgradeSharedRepositorySubscriptionData, UpgradeSharedRepositorySubscriptionResponses, UpgradeSharedRepositorySubscriptionErrors, CancelSharedRepositorySubscriptionData, CancelSharedRepositorySubscriptionResponses, CancelSharedRepositorySubscriptionErrors, GetSharedRepositoryCreditsData, GetSharedRepositoryCreditsResponses, GetSharedRepositoryCreditsErrors, GetRepositoryCreditsData, GetRepositoryCreditsResponses, GetRepositoryCreditsErrors, ListConnectionsData, ListConnectionsResponses, ListConnectionsErrors, CreateConnectionData, CreateConnectionResponses, CreateConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsResponses, GetConnectionOptionsErrors, ExchangeLinkTokenData, ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, CreateLinkTokenData, CreateLinkTokenResponses, CreateLinkTokenErrors, InitOAuthData, InitOAuthResponses, InitOAuthErrors, OauthCallbackData, OauthCallbackResponses, OauthCallbackErrors, DeleteConnectionData, DeleteConnectionResponses, DeleteConnectionErrors, GetConnectionData, GetConnectionResponses, GetConnectionErrors, SyncConnectionData, SyncConnectionResponses, SyncConnectionErrors, AutoSelectAgentData, AutoSelectAgentResponses, AutoSelectAgentErrors, ExecuteSpecificAgentData, ExecuteSpecificAgentResponses, ExecuteSpecificAgentErrors, BatchProcessQueriesData, BatchProcessQueriesResponses, BatchProcessQueriesErrors, ListAgentsData, ListAgentsResponses, ListAgentsErrors, GetAgentMetadataData, GetAgentMetadataResponses, GetAgentMetadataErrors, RecommendAgentData, RecommendAgentResponses, RecommendAgentErrors, ListMcpToolsData, ListMcpToolsResponses, ListMcpToolsErrors, CallMcpToolData, CallMcpToolResponses, CallMcpToolErrors, ListBackupsData, ListBackupsResponses, ListBackupsErrors, CreateBackupData, CreateBackupResponses, CreateBackupErrors, GetBackupDownloadUrlData, GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, RestoreBackupData, RestoreBackupResponses, RestoreBackupErrors, GetBackupStatsData, GetBackupStatsResponses, GetBackupStatsErrors, GetGraphMetricsData, GetGraphMetricsResponses, GetGraphMetricsErrors, GetGraphUsageStatsData, GetGraphUsageStatsResponses, GetGraphUsageStatsErrors, ExecuteCypherQueryData, ExecuteCypherQueryResponses, ExecuteCypherQueryErrors, GetGraphSchemaData, GetGraphSchemaResponses, GetGraphSchemaErrors, ExportGraphSchemaData, ExportGraphSchemaResponses, ExportGraphSchemaErrors, ValidateSchemaData, ValidateSchemaResponses, ValidateSchemaErrors, GetCurrentGraphBillData, GetCurrentGraphBillResponses, GetCurrentGraphBillErrors, GetGraphUsageDetailsData, GetGraphUsageDetailsResponses, GetGraphUsageDetailsErrors, GetGraphBillingHistoryData, GetGraphBillingHistoryResponses, GetGraphBillingHistoryErrors, GetGraphMonthlyBillData, GetGraphMonthlyBillResponses, GetGraphMonthlyBillErrors, GetCreditSummaryData, GetCreditSummaryResponses, GetCreditSummaryErrors, ListCreditTransactionsData, ListCreditTransactionsResponses, ListCreditTransactionsErrors, CheckCreditBalanceData, CheckCreditBalanceResponses, CheckCreditBalanceErrors, GetStorageUsageData, GetStorageUsageResponses, GetStorageUsageErrors, CheckStorageLimitsData, CheckStorageLimitsResponses, CheckStorageLimitsErrors, GetDatabaseHealthData, GetDatabaseHealthResponses, GetDatabaseHealthErrors, GetDatabaseInfoData, GetDatabaseInfoResponses, GetDatabaseInfoErrors, GetGraphLimitsData, GetGraphLimitsResponses, GetGraphLimitsErrors, ListSubgraphsData, ListSubgraphsResponses, ListSubgraphsErrors, CreateSubgraphData, CreateSubgraphResponses, CreateSubgraphErrors, DeleteSubgraphData, DeleteSubgraphResponses, DeleteSubgraphErrors, GetSubgraphInfoData, GetSubgraphInfoResponses, GetSubgraphInfoErrors, GetSubgraphQuotaData, GetSubgraphQuotaResponses, GetSubgraphQuotaErrors, ListTablesData, ListTablesResponses, ListTablesErrors, ListTableFilesData, ListTableFilesResponses, ListTableFilesErrors, GetUploadUrlData, GetUploadUrlResponses, GetUploadUrlErrors, DeleteFileData, DeleteFileResponses, DeleteFileErrors, GetFileInfoData, GetFileInfoResponses, GetFileInfoErrors, UpdateFileStatusData, UpdateFileStatusResponses, UpdateFileStatusErrors, IngestTablesData, IngestTablesResponses, IngestTablesErrors, QueryTablesData, QueryTablesResponses, QueryTablesErrors, GetGraphsData, GetGraphsResponses, GetGraphsErrors, CreateGraphData, CreateGraphResponses, CreateGraphErrors, GetAvailableExtensionsData, GetAvailableExtensionsResponses, GetAvailableExtensionsErrors, GetAvailableGraphTiersData, GetAvailableGraphTiersResponses, GetAvailableGraphTiersErrors, SelectGraphData, SelectGraphResponses, SelectGraphErrors, GetServiceOfferingsData, GetServiceOfferingsResponses, GetServiceOfferingsErrors, StreamOperationEventsData, StreamOperationEventsResponses, StreamOperationEventsErrors, GetOperationStatusData, GetOperationStatusResponses, GetOperationStatusErrors, CancelOperationData, CancelOperationResponses, CancelOperationErrors } from './types.gen';
|
|
5
5
|
import { client as _heyApiClient } from './client.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
@@ -1080,13 +1080,46 @@ export const syncConnection = <ThrowOnError extends boolean = false>(options: Op
|
|
|
1080
1080
|
* Auto-select agent for query
|
|
1081
1081
|
* Automatically select the best agent for your query.
|
|
1082
1082
|
*
|
|
1083
|
-
*
|
|
1084
|
-
*
|
|
1085
|
-
*
|
|
1086
|
-
*
|
|
1087
|
-
*
|
|
1083
|
+
* **Agent Selection Process:**
|
|
1084
|
+
*
|
|
1085
|
+
* The orchestrator intelligently routes your query by:
|
|
1086
|
+
* 1. Analyzing query intent and complexity
|
|
1087
|
+
* 2. Enriching context with RAG if enabled
|
|
1088
|
+
* 3. Evaluating all available agents against selection criteria
|
|
1089
|
+
* 4. Selecting the best match based on confidence scores
|
|
1090
|
+
* 5. Executing the query with the selected agent
|
|
1091
|
+
*
|
|
1092
|
+
* **Available Agent Types:**
|
|
1093
|
+
* - `financial`: Financial analysis, SEC filings, company metrics
|
|
1094
|
+
* - `research`: General research, data exploration, trend analysis
|
|
1095
|
+
* - `rag`: Knowledge base search using RAG enrichment
|
|
1096
|
+
*
|
|
1097
|
+
* **Execution Modes:**
|
|
1098
|
+
* - `quick`: Fast responses (~2-5s), suitable for simple queries
|
|
1099
|
+
* - `standard`: Balanced approach (~5-15s), default mode
|
|
1100
|
+
* - `extended`: Comprehensive analysis (~15-60s), deep research
|
|
1101
|
+
* - `streaming`: Real-time response streaming
|
|
1102
|
+
*
|
|
1103
|
+
* **Confidence Score Interpretation:**
|
|
1104
|
+
* - `0.9-1.0`: High confidence, agent is ideal match
|
|
1105
|
+
* - `0.7-0.9`: Good confidence, agent is suitable
|
|
1106
|
+
* - `0.5-0.7`: Moderate confidence, agent can handle but may not be optimal
|
|
1107
|
+
* - `0.3-0.5`: Low confidence, fallback agent used
|
|
1108
|
+
* - `<0.3`: Very low confidence, consider using specific agent endpoint
|
|
1109
|
+
*
|
|
1110
|
+
* **Credit Costs:**
|
|
1111
|
+
* - Quick mode: 5-10 credits per query
|
|
1112
|
+
* - Standard mode: 15-25 credits per query
|
|
1113
|
+
* - Extended mode: 30-75 credits per query
|
|
1114
|
+
* - RAG enrichment: +5-15 credits (if enabled)
|
|
1088
1115
|
*
|
|
1089
|
-
* Use
|
|
1116
|
+
* **Use Cases:**
|
|
1117
|
+
* - Ask questions without specifying agent type
|
|
1118
|
+
* - Get intelligent routing for complex multi-domain queries
|
|
1119
|
+
* - Leverage conversation history for contextual understanding
|
|
1120
|
+
* - Enable RAG for knowledge base enrichment
|
|
1121
|
+
*
|
|
1122
|
+
* See request/response examples in the "Examples" dropdown below.
|
|
1090
1123
|
*/
|
|
1091
1124
|
export const autoSelectAgent = <ThrowOnError extends boolean = false>(options: Options<AutoSelectAgentData, ThrowOnError>) => {
|
|
1092
1125
|
return (options.client ?? _heyApiClient).post<AutoSelectAgentResponses, AutoSelectAgentErrors, ThrowOnError>({
|
|
@@ -1409,6 +1442,23 @@ export const listBackups = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1409
1442
|
* - **Download Support**: Unencrypted backups can be downloaded
|
|
1410
1443
|
* - **Restore Support**: Future support for encrypted backup restoration
|
|
1411
1444
|
*
|
|
1445
|
+
* **Operation State Machine:**
|
|
1446
|
+
* ```
|
|
1447
|
+
* pending → processing → completed
|
|
1448
|
+
* ↘ failed
|
|
1449
|
+
* ```
|
|
1450
|
+
* - **pending**: Backup queued, waiting to start
|
|
1451
|
+
* - **processing**: Actively backing up database
|
|
1452
|
+
* - **completed**: Backup successfully created and stored
|
|
1453
|
+
* - **failed**: Backup failed (check error message)
|
|
1454
|
+
*
|
|
1455
|
+
* **Expected Durations:**
|
|
1456
|
+
* Operation times vary by database size:
|
|
1457
|
+
* - **Small** (<1GB): 30 seconds - 2 minutes
|
|
1458
|
+
* - **Medium** (1-10GB): 2-10 minutes
|
|
1459
|
+
* - **Large** (10-100GB): 10-30 minutes
|
|
1460
|
+
* - **Very Large** (>100GB): 30+ minutes
|
|
1461
|
+
*
|
|
1412
1462
|
* **Progress Monitoring:**
|
|
1413
1463
|
* Use the returned operation_id to connect to the SSE stream:
|
|
1414
1464
|
* ```javascript
|
|
@@ -1416,6 +1466,7 @@ export const listBackups = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1416
1466
|
* eventSource.addEventListener('operation_progress', (event) => {
|
|
1417
1467
|
* const data = JSON.parse(event.data);
|
|
1418
1468
|
* console.log('Backup progress:', data.progress_percent + '%');
|
|
1469
|
+
* console.log('Status:', data.status); // pending, processing, completed, failed
|
|
1419
1470
|
* });
|
|
1420
1471
|
* ```
|
|
1421
1472
|
*
|
|
@@ -1496,6 +1547,28 @@ export const getBackupDownloadUrl = <ThrowOnError extends boolean = false>(optio
|
|
|
1496
1547
|
* - **Data Integrity**: Verification ensures successful restore
|
|
1497
1548
|
* - **Security**: Only encrypted backups to prevent data tampering
|
|
1498
1549
|
*
|
|
1550
|
+
* **Operation State Machine:**
|
|
1551
|
+
* ```
|
|
1552
|
+
* pending → backing_up_current → downloading → restoring → verifying → completed
|
|
1553
|
+
* ↘ failed
|
|
1554
|
+
* ```
|
|
1555
|
+
* - **pending**: Restore queued, waiting to start
|
|
1556
|
+
* - **backing_up_current**: Creating safety backup of existing database
|
|
1557
|
+
* - **downloading**: Downloading backup from storage
|
|
1558
|
+
* - **restoring**: Replacing database with backup contents
|
|
1559
|
+
* - **verifying**: Verifying database integrity (if enabled)
|
|
1560
|
+
* - **completed**: Restore successful, database operational
|
|
1561
|
+
* - **failed**: Restore failed (rollback may be available)
|
|
1562
|
+
*
|
|
1563
|
+
* **Expected Durations:**
|
|
1564
|
+
* Operation times vary by database size (includes backup + restore):
|
|
1565
|
+
* - **Small** (<1GB): 1-3 minutes
|
|
1566
|
+
* - **Medium** (1-10GB): 5-15 minutes
|
|
1567
|
+
* - **Large** (10-100GB): 20-45 minutes
|
|
1568
|
+
* - **Very Large** (>100GB): 45+ minutes
|
|
1569
|
+
*
|
|
1570
|
+
* Note: Restore operations take longer than backups due to safety backup step.
|
|
1571
|
+
*
|
|
1499
1572
|
* **Progress Monitoring:**
|
|
1500
1573
|
* Use the returned operation_id to connect to the SSE stream:
|
|
1501
1574
|
* ```javascript
|
|
@@ -1503,6 +1576,7 @@ export const getBackupDownloadUrl = <ThrowOnError extends boolean = false>(optio
|
|
|
1503
1576
|
* eventSource.addEventListener('operation_progress', (event) => {
|
|
1504
1577
|
* const data = JSON.parse(event.data);
|
|
1505
1578
|
* console.log('Restore progress:', data.message);
|
|
1579
|
+
* console.log('Status:', data.status); // Shows current state
|
|
1506
1580
|
* });
|
|
1507
1581
|
* ```
|
|
1508
1582
|
*
|
|
@@ -3006,9 +3080,35 @@ export const getGraphs = <ThrowOnError extends boolean = false>(options?: Option
|
|
|
3006
3080
|
* This endpoint starts an asynchronous graph creation operation and returns
|
|
3007
3081
|
* connection details for monitoring progress via Server-Sent Events (SSE).
|
|
3008
3082
|
*
|
|
3009
|
-
* **
|
|
3010
|
-
*
|
|
3011
|
-
*
|
|
3083
|
+
* **Graph Creation Options:**
|
|
3084
|
+
*
|
|
3085
|
+
* 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
|
|
3086
|
+
* - Creates graph structure with entity schema extensions
|
|
3087
|
+
* - Populates an initial entity node with provided data
|
|
3088
|
+
* - Useful when you want a pre-configured entity to start with
|
|
3089
|
+
* - Example: Creating a company graph with the company already populated
|
|
3090
|
+
*
|
|
3091
|
+
* 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
|
|
3092
|
+
* - Creates graph structure with entity schema extensions
|
|
3093
|
+
* - Graph starts empty, ready for data import
|
|
3094
|
+
* - Useful for bulk data imports or custom workflows
|
|
3095
|
+
* - Example: Creating a graph structure before importing from CSV/API
|
|
3096
|
+
*
|
|
3097
|
+
* 3. **Generic Graph** (no `initial_entity` provided):
|
|
3098
|
+
* - Creates empty graph with custom schema extensions
|
|
3099
|
+
* - General-purpose knowledge graph
|
|
3100
|
+
* - Example: Analytics graphs, custom data models
|
|
3101
|
+
*
|
|
3102
|
+
* **Required Fields:**
|
|
3103
|
+
* - `metadata.graph_name`: Unique name for the graph
|
|
3104
|
+
* - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
|
|
3105
|
+
*
|
|
3106
|
+
* **Optional Fields:**
|
|
3107
|
+
* - `metadata.description`: Human-readable description of the graph's purpose
|
|
3108
|
+
* - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
|
|
3109
|
+
* - `tags`: Organizational tags (max 10)
|
|
3110
|
+
* - `initial_entity`: Entity data (required for entity graphs with initial data)
|
|
3111
|
+
* - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
|
|
3012
3112
|
*
|
|
3013
3113
|
* **Monitoring Progress:**
|
|
3014
3114
|
* Use the returned `operation_id` to connect to the SSE stream:
|
|
@@ -3111,6 +3211,53 @@ export const getAvailableExtensions = <ThrowOnError extends boolean = false>(opt
|
|
|
3111
3211
|
});
|
|
3112
3212
|
};
|
|
3113
3213
|
|
|
3214
|
+
/**
|
|
3215
|
+
* Get Available Graph Tiers
|
|
3216
|
+
* List all available graph database tier configurations.
|
|
3217
|
+
*
|
|
3218
|
+
* This endpoint provides comprehensive technical specifications for each available
|
|
3219
|
+
* graph database tier, including instance types, resource limits, and features.
|
|
3220
|
+
*
|
|
3221
|
+
* **Tier Information:**
|
|
3222
|
+
* Each tier includes:
|
|
3223
|
+
* - Technical specifications (instance type, memory, storage)
|
|
3224
|
+
* - Resource limits (subgraphs, credits, rate limits)
|
|
3225
|
+
* - Feature list with capabilities
|
|
3226
|
+
* - Availability status
|
|
3227
|
+
*
|
|
3228
|
+
* **Available Tiers:**
|
|
3229
|
+
* - **kuzu-standard**: Multi-tenant entry-level tier
|
|
3230
|
+
* - **kuzu-large**: Dedicated professional tier with subgraph support
|
|
3231
|
+
* - **kuzu-xlarge**: Enterprise tier with maximum resources
|
|
3232
|
+
* - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
|
|
3233
|
+
* - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
|
|
3234
|
+
*
|
|
3235
|
+
* **Use Cases:**
|
|
3236
|
+
* - Display tier options in graph creation UI
|
|
3237
|
+
* - Show technical specifications for tier selection
|
|
3238
|
+
* - Validate tier availability before graph creation
|
|
3239
|
+
* - Display feature comparisons
|
|
3240
|
+
*
|
|
3241
|
+
* **Note:**
|
|
3242
|
+
* Tier listing is included - no credit consumption required.
|
|
3243
|
+
*/
|
|
3244
|
+
export const getAvailableGraphTiers = <ThrowOnError extends boolean = false>(options?: Options<GetAvailableGraphTiersData, ThrowOnError>) => {
|
|
3245
|
+
return (options?.client ?? _heyApiClient).get<GetAvailableGraphTiersResponses, GetAvailableGraphTiersErrors, ThrowOnError>({
|
|
3246
|
+
security: [
|
|
3247
|
+
{
|
|
3248
|
+
name: 'X-API-Key',
|
|
3249
|
+
type: 'apiKey'
|
|
3250
|
+
},
|
|
3251
|
+
{
|
|
3252
|
+
scheme: 'bearer',
|
|
3253
|
+
type: 'http'
|
|
3254
|
+
}
|
|
3255
|
+
],
|
|
3256
|
+
url: '/v1/graphs/tiers',
|
|
3257
|
+
...options
|
|
3258
|
+
});
|
|
3259
|
+
};
|
|
3260
|
+
|
|
3114
3261
|
/**
|
|
3115
3262
|
* Select Graph
|
|
3116
3263
|
* Select a specific graph as the active workspace for the user.
|
package/sdk/types.gen.d.ts
CHANGED
|
@@ -365,7 +365,7 @@ export type AgentResponse = {
|
|
|
365
365
|
} | null;
|
|
366
366
|
/**
|
|
367
367
|
* Confidence Score
|
|
368
|
-
* Confidence score of the response
|
|
368
|
+
* Confidence score of the response (0.0-1.0 scale)
|
|
369
369
|
*/
|
|
370
370
|
confidence_score?: number | null;
|
|
371
371
|
/**
|
|
@@ -491,6 +491,58 @@ export type BackupCreateRequest = {
|
|
|
491
491
|
*/
|
|
492
492
|
schedule?: string | null;
|
|
493
493
|
};
|
|
494
|
+
/**
|
|
495
|
+
* BackupDownloadUrlResponse
|
|
496
|
+
* Response model for backup download URL generation.
|
|
497
|
+
*/
|
|
498
|
+
export type BackupDownloadUrlResponse = {
|
|
499
|
+
/**
|
|
500
|
+
* Download Url
|
|
501
|
+
* Pre-signed S3 URL for downloading the backup file
|
|
502
|
+
*/
|
|
503
|
+
download_url: string;
|
|
504
|
+
/**
|
|
505
|
+
* Expires In
|
|
506
|
+
* URL expiration time in seconds from now
|
|
507
|
+
*/
|
|
508
|
+
expires_in: number;
|
|
509
|
+
/**
|
|
510
|
+
* Expires At
|
|
511
|
+
* Unix timestamp when the URL expires
|
|
512
|
+
*/
|
|
513
|
+
expires_at: number;
|
|
514
|
+
/**
|
|
515
|
+
* Backup Id
|
|
516
|
+
* Backup identifier
|
|
517
|
+
*/
|
|
518
|
+
backup_id: string;
|
|
519
|
+
/**
|
|
520
|
+
* Graph Id
|
|
521
|
+
* Graph database identifier
|
|
522
|
+
*/
|
|
523
|
+
graph_id: string;
|
|
524
|
+
};
|
|
525
|
+
/**
|
|
526
|
+
* BackupLimits
|
|
527
|
+
* Backup operation limits.
|
|
528
|
+
*/
|
|
529
|
+
export type BackupLimits = {
|
|
530
|
+
/**
|
|
531
|
+
* Max Backup Size Gb
|
|
532
|
+
* Maximum backup size in GB
|
|
533
|
+
*/
|
|
534
|
+
max_backup_size_gb: number;
|
|
535
|
+
/**
|
|
536
|
+
* Backup Retention Days
|
|
537
|
+
* Backup retention period in days
|
|
538
|
+
*/
|
|
539
|
+
backup_retention_days: number;
|
|
540
|
+
/**
|
|
541
|
+
* Max Backups Per Day
|
|
542
|
+
* Maximum backups per day
|
|
543
|
+
*/
|
|
544
|
+
max_backups_per_day: number;
|
|
545
|
+
};
|
|
494
546
|
/**
|
|
495
547
|
* BackupListResponse
|
|
496
548
|
* Response model for backup list.
|
|
@@ -658,7 +710,7 @@ export type BackupStatsResponse = {
|
|
|
658
710
|
export type BatchAgentRequest = {
|
|
659
711
|
/**
|
|
660
712
|
* Queries
|
|
661
|
-
* List of queries to process
|
|
713
|
+
* List of queries to process (max 10)
|
|
662
714
|
*/
|
|
663
715
|
queries: Array<AgentRequest>;
|
|
664
716
|
/**
|
|
@@ -674,12 +726,12 @@ export type BatchAgentRequest = {
|
|
|
674
726
|
export type BatchAgentResponse = {
|
|
675
727
|
/**
|
|
676
728
|
* Results
|
|
677
|
-
* List of agent responses
|
|
729
|
+
* List of agent responses (includes successes and failures)
|
|
678
730
|
*/
|
|
679
731
|
results: Array<AgentResponse>;
|
|
680
732
|
/**
|
|
681
733
|
* Total Execution Time
|
|
682
|
-
* Total execution time
|
|
734
|
+
* Total execution time in seconds
|
|
683
735
|
*/
|
|
684
736
|
total_execution_time: number;
|
|
685
737
|
/**
|
|
@@ -904,6 +956,42 @@ export type ConnectionResponse = {
|
|
|
904
956
|
[key: string]: unknown;
|
|
905
957
|
};
|
|
906
958
|
};
|
|
959
|
+
/**
|
|
960
|
+
* CopyOperationLimits
|
|
961
|
+
* Copy/ingestion operation limits.
|
|
962
|
+
*/
|
|
963
|
+
export type CopyOperationLimits = {
|
|
964
|
+
/**
|
|
965
|
+
* Max File Size Gb
|
|
966
|
+
* Maximum file size in GB
|
|
967
|
+
*/
|
|
968
|
+
max_file_size_gb: number;
|
|
969
|
+
/**
|
|
970
|
+
* Timeout Seconds
|
|
971
|
+
* Operation timeout in seconds
|
|
972
|
+
*/
|
|
973
|
+
timeout_seconds: number;
|
|
974
|
+
/**
|
|
975
|
+
* Concurrent Operations
|
|
976
|
+
* Maximum concurrent operations
|
|
977
|
+
*/
|
|
978
|
+
concurrent_operations: number;
|
|
979
|
+
/**
|
|
980
|
+
* Max Files Per Operation
|
|
981
|
+
* Maximum files per operation
|
|
982
|
+
*/
|
|
983
|
+
max_files_per_operation: number;
|
|
984
|
+
/**
|
|
985
|
+
* Daily Copy Operations
|
|
986
|
+
* Daily operation limit
|
|
987
|
+
*/
|
|
988
|
+
daily_copy_operations: number;
|
|
989
|
+
/**
|
|
990
|
+
* Supported Formats
|
|
991
|
+
* Supported file formats
|
|
992
|
+
*/
|
|
993
|
+
supported_formats: Array<string>;
|
|
994
|
+
};
|
|
907
995
|
/**
|
|
908
996
|
* CreateAPIKeyRequest
|
|
909
997
|
* Request model for creating a new API key.
|
|
@@ -962,6 +1050,10 @@ export type CreateConnectionRequest = {
|
|
|
962
1050
|
/**
|
|
963
1051
|
* CreateGraphRequest
|
|
964
1052
|
* Request model for creating a new graph.
|
|
1053
|
+
*
|
|
1054
|
+
* Use this to create either:
|
|
1055
|
+
* - **Entity graphs**: Standard graphs with entity schema and optional extensions
|
|
1056
|
+
* - **Custom graphs**: Generic graphs with fully custom schema definitions
|
|
965
1057
|
*/
|
|
966
1058
|
export type CreateGraphRequest = {
|
|
967
1059
|
/**
|
|
@@ -974,11 +1066,11 @@ export type CreateGraphRequest = {
|
|
|
974
1066
|
*/
|
|
975
1067
|
instance_tier?: string;
|
|
976
1068
|
/**
|
|
977
|
-
* Custom schema definition to apply
|
|
1069
|
+
* Custom schema definition to apply. If provided, creates a generic custom graph. If omitted, creates an entity graph using schema_extensions.
|
|
978
1070
|
*/
|
|
979
1071
|
custom_schema?: CustomSchemaDefinition | null;
|
|
980
1072
|
/**
|
|
981
|
-
* Optional initial entity to create in the graph. If provided,
|
|
1073
|
+
* Optional initial entity to create in the graph. If provided with entity graph, populates the first entity node.
|
|
982
1074
|
*/
|
|
983
1075
|
initial_entity?: InitialEntityData | null;
|
|
984
1076
|
/**
|
|
@@ -1029,6 +1121,32 @@ export type CreateSubgraphRequest = {
|
|
|
1029
1121
|
[key: string]: unknown;
|
|
1030
1122
|
} | null;
|
|
1031
1123
|
};
|
|
1124
|
+
/**
|
|
1125
|
+
* CreditLimits
|
|
1126
|
+
* AI credit limits (optional).
|
|
1127
|
+
*/
|
|
1128
|
+
export type CreditLimits = {
|
|
1129
|
+
/**
|
|
1130
|
+
* Monthly Ai Credits
|
|
1131
|
+
* Monthly AI credits allocation
|
|
1132
|
+
*/
|
|
1133
|
+
monthly_ai_credits: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* Current Balance
|
|
1136
|
+
* Current credit balance
|
|
1137
|
+
*/
|
|
1138
|
+
current_balance: number;
|
|
1139
|
+
/**
|
|
1140
|
+
* Storage Billing Enabled
|
|
1141
|
+
* Whether storage billing is enabled
|
|
1142
|
+
*/
|
|
1143
|
+
storage_billing_enabled: boolean;
|
|
1144
|
+
/**
|
|
1145
|
+
* Storage Rate Per Gb Per Day
|
|
1146
|
+
* Storage billing rate per GB per day
|
|
1147
|
+
*/
|
|
1148
|
+
storage_rate_per_gb_per_day: number;
|
|
1149
|
+
};
|
|
1032
1150
|
/**
|
|
1033
1151
|
* CreditSummary
|
|
1034
1152
|
* Credit balance summary.
|
|
@@ -1149,7 +1267,11 @@ export type CreditsSummaryResponse = {
|
|
|
1149
1267
|
};
|
|
1150
1268
|
/**
|
|
1151
1269
|
* CustomSchemaDefinition
|
|
1152
|
-
* Custom schema definition for
|
|
1270
|
+
* Custom schema definition for generic graphs.
|
|
1271
|
+
*
|
|
1272
|
+
* This model allows you to define custom node types, relationship types, and properties
|
|
1273
|
+
* for graphs that don't fit the standard entity-based schema. Perfect for domain-specific
|
|
1274
|
+
* applications like inventory systems, org charts, project management, etc.
|
|
1153
1275
|
*/
|
|
1154
1276
|
export type CustomSchemaDefinition = {
|
|
1155
1277
|
/**
|
|
@@ -1169,7 +1291,7 @@ export type CustomSchemaDefinition = {
|
|
|
1169
1291
|
description?: string | null;
|
|
1170
1292
|
/**
|
|
1171
1293
|
* Extends
|
|
1172
|
-
* Base schema to extend (e.g., 'base')
|
|
1294
|
+
* Base schema to extend (e.g., 'base' for common utilities)
|
|
1173
1295
|
*/
|
|
1174
1296
|
extends?: string | null;
|
|
1175
1297
|
/**
|
|
@@ -1789,6 +1911,56 @@ export type GraphInfo = {
|
|
|
1789
1911
|
*/
|
|
1790
1912
|
createdAt: string;
|
|
1791
1913
|
};
|
|
1914
|
+
/**
|
|
1915
|
+
* GraphLimitsResponse
|
|
1916
|
+
* Response model for comprehensive graph operational limits.
|
|
1917
|
+
*/
|
|
1918
|
+
export type GraphLimitsResponse = {
|
|
1919
|
+
/**
|
|
1920
|
+
* Graph Id
|
|
1921
|
+
* Graph database identifier
|
|
1922
|
+
*/
|
|
1923
|
+
graph_id: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* Subscription Tier
|
|
1926
|
+
* User's subscription tier
|
|
1927
|
+
*/
|
|
1928
|
+
subscription_tier: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* Graph Tier
|
|
1931
|
+
* Graph's database tier
|
|
1932
|
+
*/
|
|
1933
|
+
graph_tier: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Is Shared Repository
|
|
1936
|
+
* Whether this is a shared repository
|
|
1937
|
+
*/
|
|
1938
|
+
is_shared_repository: boolean;
|
|
1939
|
+
/**
|
|
1940
|
+
* Storage limits and usage
|
|
1941
|
+
*/
|
|
1942
|
+
storage: StorageLimits;
|
|
1943
|
+
/**
|
|
1944
|
+
* Query operation limits
|
|
1945
|
+
*/
|
|
1946
|
+
queries: QueryLimits;
|
|
1947
|
+
/**
|
|
1948
|
+
* Copy/ingestion operation limits
|
|
1949
|
+
*/
|
|
1950
|
+
copy_operations: CopyOperationLimits;
|
|
1951
|
+
/**
|
|
1952
|
+
* Backup operation limits
|
|
1953
|
+
*/
|
|
1954
|
+
backups: BackupLimits;
|
|
1955
|
+
/**
|
|
1956
|
+
* API rate limits
|
|
1957
|
+
*/
|
|
1958
|
+
rate_limits: RateLimits;
|
|
1959
|
+
/**
|
|
1960
|
+
* AI credit limits (if applicable)
|
|
1961
|
+
*/
|
|
1962
|
+
credits?: CreditLimits | null;
|
|
1963
|
+
};
|
|
1792
1964
|
/**
|
|
1793
1965
|
* GraphMetadata
|
|
1794
1966
|
* Metadata for graph creation.
|
|
@@ -1950,7 +2122,10 @@ export type HealthStatus = {
|
|
|
1950
2122
|
};
|
|
1951
2123
|
/**
|
|
1952
2124
|
* InitialEntityData
|
|
1953
|
-
* Initial entity data for graph creation.
|
|
2125
|
+
* Initial entity data for entity-focused graph creation.
|
|
2126
|
+
*
|
|
2127
|
+
* When creating an entity graph with an initial entity node, this model defines
|
|
2128
|
+
* the entity's identifying information and metadata.
|
|
1954
2129
|
*/
|
|
1955
2130
|
export type InitialEntityData = {
|
|
1956
2131
|
/**
|
|
@@ -2327,6 +2502,32 @@ export type PlaidConnectionConfig = {
|
|
|
2327
2502
|
[key: string]: unknown;
|
|
2328
2503
|
}> | null;
|
|
2329
2504
|
};
|
|
2505
|
+
/**
|
|
2506
|
+
* QueryLimits
|
|
2507
|
+
* Query operation limits.
|
|
2508
|
+
*/
|
|
2509
|
+
export type QueryLimits = {
|
|
2510
|
+
/**
|
|
2511
|
+
* Max Timeout Seconds
|
|
2512
|
+
* Maximum query timeout in seconds
|
|
2513
|
+
*/
|
|
2514
|
+
max_timeout_seconds: number;
|
|
2515
|
+
/**
|
|
2516
|
+
* Chunk Size
|
|
2517
|
+
* Maximum chunk size for result streaming
|
|
2518
|
+
*/
|
|
2519
|
+
chunk_size: number;
|
|
2520
|
+
/**
|
|
2521
|
+
* Max Rows Per Query
|
|
2522
|
+
* Maximum rows returned per query
|
|
2523
|
+
*/
|
|
2524
|
+
max_rows_per_query: number;
|
|
2525
|
+
/**
|
|
2526
|
+
* Concurrent Queries
|
|
2527
|
+
* Maximum concurrent queries allowed
|
|
2528
|
+
*/
|
|
2529
|
+
concurrent_queries: number;
|
|
2530
|
+
};
|
|
2330
2531
|
/**
|
|
2331
2532
|
* QuickBooksConnectionConfig
|
|
2332
2533
|
* QuickBooks-specific connection configuration.
|
|
@@ -2343,6 +2544,27 @@ export type QuickBooksConnectionConfig = {
|
|
|
2343
2544
|
*/
|
|
2344
2545
|
refresh_token?: string | null;
|
|
2345
2546
|
};
|
|
2547
|
+
/**
|
|
2548
|
+
* RateLimits
|
|
2549
|
+
* API rate limits.
|
|
2550
|
+
*/
|
|
2551
|
+
export type RateLimits = {
|
|
2552
|
+
/**
|
|
2553
|
+
* Requests Per Minute
|
|
2554
|
+
* Requests per minute limit
|
|
2555
|
+
*/
|
|
2556
|
+
requests_per_minute: number;
|
|
2557
|
+
/**
|
|
2558
|
+
* Requests Per Hour
|
|
2559
|
+
* Requests per hour limit
|
|
2560
|
+
*/
|
|
2561
|
+
requests_per_hour: number;
|
|
2562
|
+
/**
|
|
2563
|
+
* Burst Capacity
|
|
2564
|
+
* Burst capacity for short spikes
|
|
2565
|
+
*/
|
|
2566
|
+
burst_capacity: number;
|
|
2567
|
+
};
|
|
2346
2568
|
/**
|
|
2347
2569
|
* RegisterRequest
|
|
2348
2570
|
* Registration request model.
|
|
@@ -2722,6 +2944,27 @@ export type StorageLimitResponse = {
|
|
|
2722
2944
|
*/
|
|
2723
2945
|
recommendations?: Array<string> | null;
|
|
2724
2946
|
};
|
|
2947
|
+
/**
|
|
2948
|
+
* StorageLimits
|
|
2949
|
+
* Storage limits information.
|
|
2950
|
+
*/
|
|
2951
|
+
export type StorageLimits = {
|
|
2952
|
+
/**
|
|
2953
|
+
* Current Usage Gb
|
|
2954
|
+
* Current storage usage in GB
|
|
2955
|
+
*/
|
|
2956
|
+
current_usage_gb?: number | null;
|
|
2957
|
+
/**
|
|
2958
|
+
* Max Storage Gb
|
|
2959
|
+
* Maximum storage limit in GB
|
|
2960
|
+
*/
|
|
2961
|
+
max_storage_gb: number;
|
|
2962
|
+
/**
|
|
2963
|
+
* Approaching Limit
|
|
2964
|
+
* Whether approaching storage limit (>80%)
|
|
2965
|
+
*/
|
|
2966
|
+
approaching_limit: boolean;
|
|
2967
|
+
};
|
|
2725
2968
|
/**
|
|
2726
2969
|
* SubgraphQuotaResponse
|
|
2727
2970
|
* Response model for subgraph quota information.
|
|
@@ -5218,12 +5461,9 @@ export type GetBackupDownloadUrlErrors = {
|
|
|
5218
5461
|
export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
|
|
5219
5462
|
export type GetBackupDownloadUrlResponses = {
|
|
5220
5463
|
/**
|
|
5221
|
-
* Response Getbackupdownloadurl
|
|
5222
5464
|
* Download URL generated successfully
|
|
5223
5465
|
*/
|
|
5224
|
-
200:
|
|
5225
|
-
[key: string]: unknown;
|
|
5226
|
-
};
|
|
5466
|
+
200: BackupDownloadUrlResponse;
|
|
5227
5467
|
};
|
|
5228
5468
|
export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
|
|
5229
5469
|
export type RestoreBackupData = {
|
|
@@ -5434,12 +5674,23 @@ export type ExecuteCypherQueryResponses = {
|
|
|
5434
5674
|
/**
|
|
5435
5675
|
* Query executed successfully
|
|
5436
5676
|
*/
|
|
5437
|
-
200:
|
|
5677
|
+
200: {
|
|
5678
|
+
success?: boolean;
|
|
5679
|
+
data?: Array<{
|
|
5680
|
+
[key: string]: unknown;
|
|
5681
|
+
}>;
|
|
5682
|
+
columns?: Array<string>;
|
|
5683
|
+
row_count?: number;
|
|
5684
|
+
execution_time_ms?: number;
|
|
5685
|
+
graph_id?: string;
|
|
5686
|
+
timestamp?: string;
|
|
5687
|
+
};
|
|
5438
5688
|
/**
|
|
5439
5689
|
* Query queued for execution
|
|
5440
5690
|
*/
|
|
5441
5691
|
202: unknown;
|
|
5442
5692
|
};
|
|
5693
|
+
export type ExecuteCypherQueryResponse = ExecuteCypherQueryResponses[keyof ExecuteCypherQueryResponses];
|
|
5443
5694
|
export type GetGraphSchemaData = {
|
|
5444
5695
|
body?: never;
|
|
5445
5696
|
path: {
|
|
@@ -6105,12 +6356,9 @@ export type GetGraphLimitsErrors = {
|
|
|
6105
6356
|
export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
|
|
6106
6357
|
export type GetGraphLimitsResponses = {
|
|
6107
6358
|
/**
|
|
6108
|
-
* Response Getgraphlimits
|
|
6109
6359
|
* Limits retrieved successfully
|
|
6110
6360
|
*/
|
|
6111
|
-
200:
|
|
6112
|
-
[key: string]: unknown;
|
|
6113
|
-
};
|
|
6361
|
+
200: GraphLimitsResponse;
|
|
6114
6362
|
};
|
|
6115
6363
|
export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
|
|
6116
6364
|
export type ListSubgraphsData = {
|
|
@@ -6753,6 +7001,34 @@ export type GetAvailableExtensionsResponses = {
|
|
|
6753
7001
|
200: AvailableExtensionsResponse;
|
|
6754
7002
|
};
|
|
6755
7003
|
export type GetAvailableExtensionsResponse = GetAvailableExtensionsResponses[keyof GetAvailableExtensionsResponses];
|
|
7004
|
+
export type GetAvailableGraphTiersData = {
|
|
7005
|
+
body?: never;
|
|
7006
|
+
path?: never;
|
|
7007
|
+
query?: {
|
|
7008
|
+
/**
|
|
7009
|
+
* Include Disabled
|
|
7010
|
+
*/
|
|
7011
|
+
include_disabled?: boolean;
|
|
7012
|
+
};
|
|
7013
|
+
url: '/v1/graphs/tiers';
|
|
7014
|
+
};
|
|
7015
|
+
export type GetAvailableGraphTiersErrors = {
|
|
7016
|
+
/**
|
|
7017
|
+
* Validation Error
|
|
7018
|
+
*/
|
|
7019
|
+
422: HttpValidationError;
|
|
7020
|
+
/**
|
|
7021
|
+
* Failed to retrieve tiers
|
|
7022
|
+
*/
|
|
7023
|
+
500: unknown;
|
|
7024
|
+
};
|
|
7025
|
+
export type GetAvailableGraphTiersError = GetAvailableGraphTiersErrors[keyof GetAvailableGraphTiersErrors];
|
|
7026
|
+
export type GetAvailableGraphTiersResponses = {
|
|
7027
|
+
/**
|
|
7028
|
+
* Tiers retrieved successfully
|
|
7029
|
+
*/
|
|
7030
|
+
200: unknown;
|
|
7031
|
+
};
|
|
6756
7032
|
export type SelectGraphData = {
|
|
6757
7033
|
body?: never;
|
|
6758
7034
|
path: {
|