@robosystems/client 0.2.4 → 0.2.6
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 +814 -19
- package/sdk/types.gen.ts +845 -19
- package/sdk.gen.d.ts +141 -10
- package/sdk.gen.js +157 -10
- package/sdk.gen.ts +157 -10
- package/types.gen.d.ts +814 -19
- package/types.gen.ts +845 -19
package/package.json
CHANGED
package/sdk/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Options as ClientOptions, TDataShape, Client } from './client';
|
|
2
|
-
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';
|
|
2
|
+
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';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -413,13 +413,46 @@ export declare const syncConnection: <ThrowOnError extends boolean = false>(opti
|
|
|
413
413
|
* Auto-select agent for query
|
|
414
414
|
* Automatically select the best agent for your query.
|
|
415
415
|
*
|
|
416
|
-
*
|
|
417
|
-
*
|
|
418
|
-
*
|
|
419
|
-
*
|
|
420
|
-
*
|
|
416
|
+
* **Agent Selection Process:**
|
|
417
|
+
*
|
|
418
|
+
* The orchestrator intelligently routes your query by:
|
|
419
|
+
* 1. Analyzing query intent and complexity
|
|
420
|
+
* 2. Enriching context with RAG if enabled
|
|
421
|
+
* 3. Evaluating all available agents against selection criteria
|
|
422
|
+
* 4. Selecting the best match based on confidence scores
|
|
423
|
+
* 5. Executing the query with the selected agent
|
|
424
|
+
*
|
|
425
|
+
* **Available Agent Types:**
|
|
426
|
+
* - `financial`: Financial analysis, SEC filings, company metrics
|
|
427
|
+
* - `research`: General research, data exploration, trend analysis
|
|
428
|
+
* - `rag`: Knowledge base search using RAG enrichment
|
|
429
|
+
*
|
|
430
|
+
* **Execution Modes:**
|
|
431
|
+
* - `quick`: Fast responses (~2-5s), suitable for simple queries
|
|
432
|
+
* - `standard`: Balanced approach (~5-15s), default mode
|
|
433
|
+
* - `extended`: Comprehensive analysis (~15-60s), deep research
|
|
434
|
+
* - `streaming`: Real-time response streaming
|
|
435
|
+
*
|
|
436
|
+
* **Confidence Score Interpretation:**
|
|
437
|
+
* - `0.9-1.0`: High confidence, agent is ideal match
|
|
438
|
+
* - `0.7-0.9`: Good confidence, agent is suitable
|
|
439
|
+
* - `0.5-0.7`: Moderate confidence, agent can handle but may not be optimal
|
|
440
|
+
* - `0.3-0.5`: Low confidence, fallback agent used
|
|
441
|
+
* - `<0.3`: Very low confidence, consider using specific agent endpoint
|
|
442
|
+
*
|
|
443
|
+
* **Credit Costs:**
|
|
444
|
+
* - Quick mode: 5-10 credits per query
|
|
445
|
+
* - Standard mode: 15-25 credits per query
|
|
446
|
+
* - Extended mode: 30-75 credits per query
|
|
447
|
+
* - RAG enrichment: +5-15 credits (if enabled)
|
|
421
448
|
*
|
|
422
|
-
* Use
|
|
449
|
+
* **Use Cases:**
|
|
450
|
+
* - Ask questions without specifying agent type
|
|
451
|
+
* - Get intelligent routing for complex multi-domain queries
|
|
452
|
+
* - Leverage conversation history for contextual understanding
|
|
453
|
+
* - Enable RAG for knowledge base enrichment
|
|
454
|
+
*
|
|
455
|
+
* See request/response examples in the "Examples" dropdown below.
|
|
423
456
|
*/
|
|
424
457
|
export declare const autoSelectAgent: <ThrowOnError extends boolean = false>(options: Options<AutoSelectAgentData, ThrowOnError>) => import("./client").RequestResult<AutoSelectAgentResponses, AutoSelectAgentErrors, ThrowOnError, "fields">;
|
|
425
458
|
/**
|
|
@@ -578,6 +611,23 @@ export declare const listBackups: <ThrowOnError extends boolean = false>(options
|
|
|
578
611
|
* - **Download Support**: Unencrypted backups can be downloaded
|
|
579
612
|
* - **Restore Support**: Future support for encrypted backup restoration
|
|
580
613
|
*
|
|
614
|
+
* **Operation State Machine:**
|
|
615
|
+
* ```
|
|
616
|
+
* pending → processing → completed
|
|
617
|
+
* ↘ failed
|
|
618
|
+
* ```
|
|
619
|
+
* - **pending**: Backup queued, waiting to start
|
|
620
|
+
* - **processing**: Actively backing up database
|
|
621
|
+
* - **completed**: Backup successfully created and stored
|
|
622
|
+
* - **failed**: Backup failed (check error message)
|
|
623
|
+
*
|
|
624
|
+
* **Expected Durations:**
|
|
625
|
+
* Operation times vary by database size:
|
|
626
|
+
* - **Small** (<1GB): 30 seconds - 2 minutes
|
|
627
|
+
* - **Medium** (1-10GB): 2-10 minutes
|
|
628
|
+
* - **Large** (10-100GB): 10-30 minutes
|
|
629
|
+
* - **Very Large** (>100GB): 30+ minutes
|
|
630
|
+
*
|
|
581
631
|
* **Progress Monitoring:**
|
|
582
632
|
* Use the returned operation_id to connect to the SSE stream:
|
|
583
633
|
* ```javascript
|
|
@@ -585,6 +635,7 @@ export declare const listBackups: <ThrowOnError extends boolean = false>(options
|
|
|
585
635
|
* eventSource.addEventListener('operation_progress', (event) => {
|
|
586
636
|
* const data = JSON.parse(event.data);
|
|
587
637
|
* console.log('Backup progress:', data.progress_percent + '%');
|
|
638
|
+
* console.log('Status:', data.status); // pending, processing, completed, failed
|
|
588
639
|
* });
|
|
589
640
|
* ```
|
|
590
641
|
*
|
|
@@ -629,6 +680,28 @@ export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false
|
|
|
629
680
|
* - **Data Integrity**: Verification ensures successful restore
|
|
630
681
|
* - **Security**: Only encrypted backups to prevent data tampering
|
|
631
682
|
*
|
|
683
|
+
* **Operation State Machine:**
|
|
684
|
+
* ```
|
|
685
|
+
* pending → backing_up_current → downloading → restoring → verifying → completed
|
|
686
|
+
* ↘ failed
|
|
687
|
+
* ```
|
|
688
|
+
* - **pending**: Restore queued, waiting to start
|
|
689
|
+
* - **backing_up_current**: Creating safety backup of existing database
|
|
690
|
+
* - **downloading**: Downloading backup from storage
|
|
691
|
+
* - **restoring**: Replacing database with backup contents
|
|
692
|
+
* - **verifying**: Verifying database integrity (if enabled)
|
|
693
|
+
* - **completed**: Restore successful, database operational
|
|
694
|
+
* - **failed**: Restore failed (rollback may be available)
|
|
695
|
+
*
|
|
696
|
+
* **Expected Durations:**
|
|
697
|
+
* Operation times vary by database size (includes backup + restore):
|
|
698
|
+
* - **Small** (<1GB): 1-3 minutes
|
|
699
|
+
* - **Medium** (1-10GB): 5-15 minutes
|
|
700
|
+
* - **Large** (10-100GB): 20-45 minutes
|
|
701
|
+
* - **Very Large** (>100GB): 45+ minutes
|
|
702
|
+
*
|
|
703
|
+
* Note: Restore operations take longer than backups due to safety backup step.
|
|
704
|
+
*
|
|
632
705
|
* **Progress Monitoring:**
|
|
633
706
|
* Use the returned operation_id to connect to the SSE stream:
|
|
634
707
|
* ```javascript
|
|
@@ -636,6 +709,7 @@ export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false
|
|
|
636
709
|
* eventSource.addEventListener('operation_progress', (event) => {
|
|
637
710
|
* const data = JSON.parse(event.data);
|
|
638
711
|
* console.log('Restore progress:', data.message);
|
|
712
|
+
* console.log('Status:', data.status); // Shows current state
|
|
639
713
|
* });
|
|
640
714
|
* ```
|
|
641
715
|
*
|
|
@@ -1559,9 +1633,35 @@ export declare const getGraphs: <ThrowOnError extends boolean = false>(options?:
|
|
|
1559
1633
|
* This endpoint starts an asynchronous graph creation operation and returns
|
|
1560
1634
|
* connection details for monitoring progress via Server-Sent Events (SSE).
|
|
1561
1635
|
*
|
|
1562
|
-
* **
|
|
1563
|
-
*
|
|
1564
|
-
*
|
|
1636
|
+
* **Graph Creation Options:**
|
|
1637
|
+
*
|
|
1638
|
+
* 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
|
|
1639
|
+
* - Creates graph structure with entity schema extensions
|
|
1640
|
+
* - Populates an initial entity node with provided data
|
|
1641
|
+
* - Useful when you want a pre-configured entity to start with
|
|
1642
|
+
* - Example: Creating a company graph with the company already populated
|
|
1643
|
+
*
|
|
1644
|
+
* 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
|
|
1645
|
+
* - Creates graph structure with entity schema extensions
|
|
1646
|
+
* - Graph starts empty, ready for data import
|
|
1647
|
+
* - Useful for bulk data imports or custom workflows
|
|
1648
|
+
* - Example: Creating a graph structure before importing from CSV/API
|
|
1649
|
+
*
|
|
1650
|
+
* 3. **Generic Graph** (no `initial_entity` provided):
|
|
1651
|
+
* - Creates empty graph with custom schema extensions
|
|
1652
|
+
* - General-purpose knowledge graph
|
|
1653
|
+
* - Example: Analytics graphs, custom data models
|
|
1654
|
+
*
|
|
1655
|
+
* **Required Fields:**
|
|
1656
|
+
* - `metadata.graph_name`: Unique name for the graph
|
|
1657
|
+
* - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
|
|
1658
|
+
*
|
|
1659
|
+
* **Optional Fields:**
|
|
1660
|
+
* - `metadata.description`: Human-readable description of the graph's purpose
|
|
1661
|
+
* - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
|
|
1662
|
+
* - `tags`: Organizational tags (max 10)
|
|
1663
|
+
* - `initial_entity`: Entity data (required for entity graphs with initial data)
|
|
1664
|
+
* - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
|
|
1565
1665
|
*
|
|
1566
1666
|
* **Monitoring Progress:**
|
|
1567
1667
|
* Use the returned `operation_id` to connect to the SSE stream:
|
|
@@ -1628,6 +1728,37 @@ export declare const createGraph: <ThrowOnError extends boolean = false>(options
|
|
|
1628
1728
|
* Extension listing is included - no credit consumption required.
|
|
1629
1729
|
*/
|
|
1630
1730
|
export declare const getAvailableExtensions: <ThrowOnError extends boolean = false>(options?: Options<GetAvailableExtensionsData, ThrowOnError>) => import("./client").RequestResult<GetAvailableExtensionsResponses, GetAvailableExtensionsErrors, ThrowOnError, "fields">;
|
|
1731
|
+
/**
|
|
1732
|
+
* Get Available Graph Tiers
|
|
1733
|
+
* List all available graph database tier configurations.
|
|
1734
|
+
*
|
|
1735
|
+
* This endpoint provides comprehensive technical specifications for each available
|
|
1736
|
+
* graph database tier, including instance types, resource limits, and features.
|
|
1737
|
+
*
|
|
1738
|
+
* **Tier Information:**
|
|
1739
|
+
* Each tier includes:
|
|
1740
|
+
* - Technical specifications (instance type, memory, storage)
|
|
1741
|
+
* - Resource limits (subgraphs, credits, rate limits)
|
|
1742
|
+
* - Feature list with capabilities
|
|
1743
|
+
* - Availability status
|
|
1744
|
+
*
|
|
1745
|
+
* **Available Tiers:**
|
|
1746
|
+
* - **kuzu-standard**: Multi-tenant entry-level tier
|
|
1747
|
+
* - **kuzu-large**: Dedicated professional tier with subgraph support
|
|
1748
|
+
* - **kuzu-xlarge**: Enterprise tier with maximum resources
|
|
1749
|
+
* - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
|
|
1750
|
+
* - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
|
|
1751
|
+
*
|
|
1752
|
+
* **Use Cases:**
|
|
1753
|
+
* - Display tier options in graph creation UI
|
|
1754
|
+
* - Show technical specifications for tier selection
|
|
1755
|
+
* - Validate tier availability before graph creation
|
|
1756
|
+
* - Display feature comparisons
|
|
1757
|
+
*
|
|
1758
|
+
* **Note:**
|
|
1759
|
+
* Tier listing is included - no credit consumption required.
|
|
1760
|
+
*/
|
|
1761
|
+
export declare const getAvailableGraphTiers: <ThrowOnError extends boolean = false>(options?: Options<GetAvailableGraphTiersData, ThrowOnError>) => import("./client").RequestResult<GetAvailableGraphTiersResponses, GetAvailableGraphTiersErrors, ThrowOnError, "fields">;
|
|
1631
1762
|
/**
|
|
1632
1763
|
* Select Graph
|
|
1633
1764
|
* Select a specific graph as the active workspace for the user.
|
package/sdk/sdk.gen.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.batchProcessQueries = exports.executeSpecificAgent = exports.autoSelectAgent = exports.syncConnection = exports.getConnection = exports.deleteConnection = exports.oauthCallback = exports.initOAuth = exports.createLinkToken = exports.exchangeLinkToken = exports.getConnectionOptions = exports.createConnection = exports.listConnections = exports.getRepositoryCredits = exports.getSharedRepositoryCredits = exports.cancelSharedRepositorySubscription = exports.upgradeSharedRepositorySubscription = exports.subscribeToSharedRepository = exports.getUserSharedSubscriptions = exports.getDetailedUserAnalytics = exports.getUserUsageOverview = exports.getSharedRepositoryLimits = exports.getAllSharedRepositoryLimits = exports.getUserUsage = exports.getUserLimits = exports.updateUserApiKey = exports.revokeUserApiKey = exports.createUserApiKey = exports.listUserApiKeys = exports.updateUserPassword = exports.getAllCreditSummaries = exports.updateUser = exports.getCurrentUser = exports.getServiceStatus = exports.getCaptchaConfig = exports.completeSsoAuth = exports.ssoTokenExchange = exports.generateSsoToken = exports.resetPassword = exports.validateResetToken = exports.forgotPassword = exports.checkPasswordStrength = exports.getPasswordPolicy = exports.verifyEmail = exports.resendVerificationEmail = exports.refreshAuthSession = exports.getCurrentAuthUser = exports.logoutUser = exports.loginUser = exports.registerUser = void 0;
|
|
5
|
-
exports.cancelOperation = exports.getOperationStatus = exports.streamOperationEvents = exports.getServiceOfferings = exports.selectGraph = exports.getAvailableExtensions = exports.createGraph = exports.getGraphs = exports.queryTables = exports.ingestTables = exports.updateFileStatus = exports.getFileInfo = exports.deleteFile = exports.getUploadUrl = exports.listTableFiles = exports.listTables = exports.getSubgraphQuota = exports.getSubgraphInfo = exports.deleteSubgraph = exports.createSubgraph = exports.listSubgraphs = exports.getGraphLimits = exports.getDatabaseInfo = exports.getDatabaseHealth = exports.checkStorageLimits = exports.getStorageUsage = exports.checkCreditBalance = exports.listCreditTransactions = exports.getCreditSummary = exports.getGraphMonthlyBill = exports.getGraphBillingHistory = exports.getGraphUsageDetails = exports.getCurrentGraphBill = exports.validateSchema = exports.exportGraphSchema = exports.getGraphSchema = exports.executeCypherQuery = exports.getGraphUsageStats = exports.getGraphMetrics = exports.getBackupStats = exports.restoreBackup = exports.getBackupDownloadUrl = exports.createBackup = exports.listBackups = exports.callMcpTool = exports.listMcpTools = exports.recommendAgent = exports.getAgentMetadata = exports.listAgents = void 0;
|
|
5
|
+
exports.cancelOperation = exports.getOperationStatus = exports.streamOperationEvents = exports.getServiceOfferings = exports.selectGraph = exports.getAvailableGraphTiers = exports.getAvailableExtensions = exports.createGraph = exports.getGraphs = exports.queryTables = exports.ingestTables = exports.updateFileStatus = exports.getFileInfo = exports.deleteFile = exports.getUploadUrl = exports.listTableFiles = exports.listTables = exports.getSubgraphQuota = exports.getSubgraphInfo = exports.deleteSubgraph = exports.createSubgraph = exports.listSubgraphs = exports.getGraphLimits = exports.getDatabaseInfo = exports.getDatabaseHealth = exports.checkStorageLimits = exports.getStorageUsage = exports.checkCreditBalance = exports.listCreditTransactions = exports.getCreditSummary = exports.getGraphMonthlyBill = exports.getGraphBillingHistory = exports.getGraphUsageDetails = exports.getCurrentGraphBill = exports.validateSchema = exports.exportGraphSchema = exports.getGraphSchema = exports.executeCypherQuery = exports.getGraphUsageStats = exports.getGraphMetrics = exports.getBackupStats = exports.restoreBackup = exports.getBackupDownloadUrl = exports.createBackup = exports.listBackups = exports.callMcpTool = exports.listMcpTools = exports.recommendAgent = exports.getAgentMetadata = exports.listAgents = void 0;
|
|
6
6
|
const client_gen_1 = require("./client.gen");
|
|
7
7
|
/**
|
|
8
8
|
* Register New User
|
|
@@ -1066,13 +1066,46 @@ exports.syncConnection = syncConnection;
|
|
|
1066
1066
|
* Auto-select agent for query
|
|
1067
1067
|
* Automatically select the best agent for your query.
|
|
1068
1068
|
*
|
|
1069
|
-
*
|
|
1070
|
-
*
|
|
1071
|
-
*
|
|
1072
|
-
*
|
|
1073
|
-
*
|
|
1069
|
+
* **Agent Selection Process:**
|
|
1070
|
+
*
|
|
1071
|
+
* The orchestrator intelligently routes your query by:
|
|
1072
|
+
* 1. Analyzing query intent and complexity
|
|
1073
|
+
* 2. Enriching context with RAG if enabled
|
|
1074
|
+
* 3. Evaluating all available agents against selection criteria
|
|
1075
|
+
* 4. Selecting the best match based on confidence scores
|
|
1076
|
+
* 5. Executing the query with the selected agent
|
|
1077
|
+
*
|
|
1078
|
+
* **Available Agent Types:**
|
|
1079
|
+
* - `financial`: Financial analysis, SEC filings, company metrics
|
|
1080
|
+
* - `research`: General research, data exploration, trend analysis
|
|
1081
|
+
* - `rag`: Knowledge base search using RAG enrichment
|
|
1082
|
+
*
|
|
1083
|
+
* **Execution Modes:**
|
|
1084
|
+
* - `quick`: Fast responses (~2-5s), suitable for simple queries
|
|
1085
|
+
* - `standard`: Balanced approach (~5-15s), default mode
|
|
1086
|
+
* - `extended`: Comprehensive analysis (~15-60s), deep research
|
|
1087
|
+
* - `streaming`: Real-time response streaming
|
|
1088
|
+
*
|
|
1089
|
+
* **Confidence Score Interpretation:**
|
|
1090
|
+
* - `0.9-1.0`: High confidence, agent is ideal match
|
|
1091
|
+
* - `0.7-0.9`: Good confidence, agent is suitable
|
|
1092
|
+
* - `0.5-0.7`: Moderate confidence, agent can handle but may not be optimal
|
|
1093
|
+
* - `0.3-0.5`: Low confidence, fallback agent used
|
|
1094
|
+
* - `<0.3`: Very low confidence, consider using specific agent endpoint
|
|
1095
|
+
*
|
|
1096
|
+
* **Credit Costs:**
|
|
1097
|
+
* - Quick mode: 5-10 credits per query
|
|
1098
|
+
* - Standard mode: 15-25 credits per query
|
|
1099
|
+
* - Extended mode: 30-75 credits per query
|
|
1100
|
+
* - RAG enrichment: +5-15 credits (if enabled)
|
|
1074
1101
|
*
|
|
1075
|
-
* Use
|
|
1102
|
+
* **Use Cases:**
|
|
1103
|
+
* - Ask questions without specifying agent type
|
|
1104
|
+
* - Get intelligent routing for complex multi-domain queries
|
|
1105
|
+
* - Leverage conversation history for contextual understanding
|
|
1106
|
+
* - Enable RAG for knowledge base enrichment
|
|
1107
|
+
*
|
|
1108
|
+
* See request/response examples in the "Examples" dropdown below.
|
|
1076
1109
|
*/
|
|
1077
1110
|
const autoSelectAgent = (options) => {
|
|
1078
1111
|
return (options.client ?? client_gen_1.client).post({
|
|
@@ -1395,6 +1428,23 @@ exports.listBackups = listBackups;
|
|
|
1395
1428
|
* - **Download Support**: Unencrypted backups can be downloaded
|
|
1396
1429
|
* - **Restore Support**: Future support for encrypted backup restoration
|
|
1397
1430
|
*
|
|
1431
|
+
* **Operation State Machine:**
|
|
1432
|
+
* ```
|
|
1433
|
+
* pending → processing → completed
|
|
1434
|
+
* ↘ failed
|
|
1435
|
+
* ```
|
|
1436
|
+
* - **pending**: Backup queued, waiting to start
|
|
1437
|
+
* - **processing**: Actively backing up database
|
|
1438
|
+
* - **completed**: Backup successfully created and stored
|
|
1439
|
+
* - **failed**: Backup failed (check error message)
|
|
1440
|
+
*
|
|
1441
|
+
* **Expected Durations:**
|
|
1442
|
+
* Operation times vary by database size:
|
|
1443
|
+
* - **Small** (<1GB): 30 seconds - 2 minutes
|
|
1444
|
+
* - **Medium** (1-10GB): 2-10 minutes
|
|
1445
|
+
* - **Large** (10-100GB): 10-30 minutes
|
|
1446
|
+
* - **Very Large** (>100GB): 30+ minutes
|
|
1447
|
+
*
|
|
1398
1448
|
* **Progress Monitoring:**
|
|
1399
1449
|
* Use the returned operation_id to connect to the SSE stream:
|
|
1400
1450
|
* ```javascript
|
|
@@ -1402,6 +1452,7 @@ exports.listBackups = listBackups;
|
|
|
1402
1452
|
* eventSource.addEventListener('operation_progress', (event) => {
|
|
1403
1453
|
* const data = JSON.parse(event.data);
|
|
1404
1454
|
* console.log('Backup progress:', data.progress_percent + '%');
|
|
1455
|
+
* console.log('Status:', data.status); // pending, processing, completed, failed
|
|
1405
1456
|
* });
|
|
1406
1457
|
* ```
|
|
1407
1458
|
*
|
|
@@ -1482,6 +1533,28 @@ exports.getBackupDownloadUrl = getBackupDownloadUrl;
|
|
|
1482
1533
|
* - **Data Integrity**: Verification ensures successful restore
|
|
1483
1534
|
* - **Security**: Only encrypted backups to prevent data tampering
|
|
1484
1535
|
*
|
|
1536
|
+
* **Operation State Machine:**
|
|
1537
|
+
* ```
|
|
1538
|
+
* pending → backing_up_current → downloading → restoring → verifying → completed
|
|
1539
|
+
* ↘ failed
|
|
1540
|
+
* ```
|
|
1541
|
+
* - **pending**: Restore queued, waiting to start
|
|
1542
|
+
* - **backing_up_current**: Creating safety backup of existing database
|
|
1543
|
+
* - **downloading**: Downloading backup from storage
|
|
1544
|
+
* - **restoring**: Replacing database with backup contents
|
|
1545
|
+
* - **verifying**: Verifying database integrity (if enabled)
|
|
1546
|
+
* - **completed**: Restore successful, database operational
|
|
1547
|
+
* - **failed**: Restore failed (rollback may be available)
|
|
1548
|
+
*
|
|
1549
|
+
* **Expected Durations:**
|
|
1550
|
+
* Operation times vary by database size (includes backup + restore):
|
|
1551
|
+
* - **Small** (<1GB): 1-3 minutes
|
|
1552
|
+
* - **Medium** (1-10GB): 5-15 minutes
|
|
1553
|
+
* - **Large** (10-100GB): 20-45 minutes
|
|
1554
|
+
* - **Very Large** (>100GB): 45+ minutes
|
|
1555
|
+
*
|
|
1556
|
+
* Note: Restore operations take longer than backups due to safety backup step.
|
|
1557
|
+
*
|
|
1485
1558
|
* **Progress Monitoring:**
|
|
1486
1559
|
* Use the returned operation_id to connect to the SSE stream:
|
|
1487
1560
|
* ```javascript
|
|
@@ -1489,6 +1562,7 @@ exports.getBackupDownloadUrl = getBackupDownloadUrl;
|
|
|
1489
1562
|
* eventSource.addEventListener('operation_progress', (event) => {
|
|
1490
1563
|
* const data = JSON.parse(event.data);
|
|
1491
1564
|
* console.log('Restore progress:', data.message);
|
|
1565
|
+
* console.log('Status:', data.status); // Shows current state
|
|
1492
1566
|
* });
|
|
1493
1567
|
* ```
|
|
1494
1568
|
*
|
|
@@ -2992,9 +3066,35 @@ exports.getGraphs = getGraphs;
|
|
|
2992
3066
|
* This endpoint starts an asynchronous graph creation operation and returns
|
|
2993
3067
|
* connection details for monitoring progress via Server-Sent Events (SSE).
|
|
2994
3068
|
*
|
|
2995
|
-
* **
|
|
2996
|
-
*
|
|
2997
|
-
*
|
|
3069
|
+
* **Graph Creation Options:**
|
|
3070
|
+
*
|
|
3071
|
+
* 1. **Entity Graph with Initial Entity** (`initial_entity` provided, `create_entity=True`):
|
|
3072
|
+
* - Creates graph structure with entity schema extensions
|
|
3073
|
+
* - Populates an initial entity node with provided data
|
|
3074
|
+
* - Useful when you want a pre-configured entity to start with
|
|
3075
|
+
* - Example: Creating a company graph with the company already populated
|
|
3076
|
+
*
|
|
3077
|
+
* 2. **Entity Graph without Initial Entity** (`initial_entity=None`, `create_entity=False`):
|
|
3078
|
+
* - Creates graph structure with entity schema extensions
|
|
3079
|
+
* - Graph starts empty, ready for data import
|
|
3080
|
+
* - Useful for bulk data imports or custom workflows
|
|
3081
|
+
* - Example: Creating a graph structure before importing from CSV/API
|
|
3082
|
+
*
|
|
3083
|
+
* 3. **Generic Graph** (no `initial_entity` provided):
|
|
3084
|
+
* - Creates empty graph with custom schema extensions
|
|
3085
|
+
* - General-purpose knowledge graph
|
|
3086
|
+
* - Example: Analytics graphs, custom data models
|
|
3087
|
+
*
|
|
3088
|
+
* **Required Fields:**
|
|
3089
|
+
* - `metadata.graph_name`: Unique name for the graph
|
|
3090
|
+
* - `instance_tier`: Resource tier (kuzu-standard, kuzu-large, kuzu-xlarge)
|
|
3091
|
+
*
|
|
3092
|
+
* **Optional Fields:**
|
|
3093
|
+
* - `metadata.description`: Human-readable description of the graph's purpose
|
|
3094
|
+
* - `metadata.schema_extensions`: List of schema extensions (roboledger, roboinvestor, etc.)
|
|
3095
|
+
* - `tags`: Organizational tags (max 10)
|
|
3096
|
+
* - `initial_entity`: Entity data (required for entity graphs with initial data)
|
|
3097
|
+
* - `create_entity`: Whether to populate initial entity (default: true when initial_entity provided)
|
|
2998
3098
|
*
|
|
2999
3099
|
* **Monitoring Progress:**
|
|
3000
3100
|
* Use the returned `operation_id` to connect to the SSE stream:
|
|
@@ -3097,6 +3197,53 @@ const getAvailableExtensions = (options) => {
|
|
|
3097
3197
|
});
|
|
3098
3198
|
};
|
|
3099
3199
|
exports.getAvailableExtensions = getAvailableExtensions;
|
|
3200
|
+
/**
|
|
3201
|
+
* Get Available Graph Tiers
|
|
3202
|
+
* List all available graph database tier configurations.
|
|
3203
|
+
*
|
|
3204
|
+
* This endpoint provides comprehensive technical specifications for each available
|
|
3205
|
+
* graph database tier, including instance types, resource limits, and features.
|
|
3206
|
+
*
|
|
3207
|
+
* **Tier Information:**
|
|
3208
|
+
* Each tier includes:
|
|
3209
|
+
* - Technical specifications (instance type, memory, storage)
|
|
3210
|
+
* - Resource limits (subgraphs, credits, rate limits)
|
|
3211
|
+
* - Feature list with capabilities
|
|
3212
|
+
* - Availability status
|
|
3213
|
+
*
|
|
3214
|
+
* **Available Tiers:**
|
|
3215
|
+
* - **kuzu-standard**: Multi-tenant entry-level tier
|
|
3216
|
+
* - **kuzu-large**: Dedicated professional tier with subgraph support
|
|
3217
|
+
* - **kuzu-xlarge**: Enterprise tier with maximum resources
|
|
3218
|
+
* - **neo4j-community-large**: Neo4j Community Edition (optional, if enabled)
|
|
3219
|
+
* - **neo4j-enterprise-xlarge**: Neo4j Enterprise Edition (optional, if enabled)
|
|
3220
|
+
*
|
|
3221
|
+
* **Use Cases:**
|
|
3222
|
+
* - Display tier options in graph creation UI
|
|
3223
|
+
* - Show technical specifications for tier selection
|
|
3224
|
+
* - Validate tier availability before graph creation
|
|
3225
|
+
* - Display feature comparisons
|
|
3226
|
+
*
|
|
3227
|
+
* **Note:**
|
|
3228
|
+
* Tier listing is included - no credit consumption required.
|
|
3229
|
+
*/
|
|
3230
|
+
const getAvailableGraphTiers = (options) => {
|
|
3231
|
+
return (options?.client ?? client_gen_1.client).get({
|
|
3232
|
+
security: [
|
|
3233
|
+
{
|
|
3234
|
+
name: 'X-API-Key',
|
|
3235
|
+
type: 'apiKey'
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
scheme: 'bearer',
|
|
3239
|
+
type: 'http'
|
|
3240
|
+
}
|
|
3241
|
+
],
|
|
3242
|
+
url: '/v1/graphs/tiers',
|
|
3243
|
+
...options
|
|
3244
|
+
});
|
|
3245
|
+
};
|
|
3246
|
+
exports.getAvailableGraphTiers = getAvailableGraphTiers;
|
|
3100
3247
|
/**
|
|
3101
3248
|
* Select Graph
|
|
3102
3249
|
* Select a specific graph as the active workspace for the user.
|