@robosystems/client 0.2.31 → 0.2.33
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/README.md +1 -1
- package/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +12 -3
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +165 -12
- package/sdk/sdk.gen.js +232 -22
- package/sdk/sdk.gen.ts +230 -21
- package/sdk/types.gen.d.ts +852 -55
- package/sdk/types.gen.ts +902 -55
- package/sdk.gen.d.ts +165 -12
- package/sdk.gen.js +232 -22
- package/sdk.gen.ts +230 -21
- package/types.gen.d.ts +852 -55
- package/types.gen.ts +902 -55
package/sdk.gen.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
4
4
|
import { client } from './client.gen';
|
|
5
|
-
import type { AutoSelectAgentData, AutoSelectAgentErrors, AutoSelectAgentResponses, BatchProcessQueriesData, BatchProcessQueriesErrors, BatchProcessQueriesResponses, CallMcpToolData, CallMcpToolErrors, CallMcpToolResponses, CancelOperationData, CancelOperationErrors, CancelOperationResponses, CancelOrgSubscriptionData, CancelOrgSubscriptionErrors, CancelOrgSubscriptionResponses, CheckCreditBalanceData, CheckCreditBalanceErrors, CheckCreditBalanceResponses, CheckPasswordStrengthData, CheckPasswordStrengthErrors, CheckPasswordStrengthResponses, CheckStorageLimitsData, CheckStorageLimitsErrors, CheckStorageLimitsResponses, CompleteSsoAuthData, CompleteSsoAuthErrors, CompleteSsoAuthResponses, CreateBackupData, CreateBackupErrors, CreateBackupResponses, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses,
|
|
5
|
+
import type { AutoSelectAgentData, AutoSelectAgentErrors, AutoSelectAgentResponses, BatchProcessQueriesData, BatchProcessQueriesErrors, BatchProcessQueriesResponses, CallMcpToolData, CallMcpToolErrors, CallMcpToolResponses, CancelOperationData, CancelOperationErrors, CancelOperationResponses, CancelOrgSubscriptionData, CancelOrgSubscriptionErrors, CancelOrgSubscriptionResponses, CheckCreditBalanceData, CheckCreditBalanceErrors, CheckCreditBalanceResponses, CheckPasswordStrengthData, CheckPasswordStrengthErrors, CheckPasswordStrengthResponses, CheckStorageLimitsData, CheckStorageLimitsErrors, CheckStorageLimitsResponses, CompleteSsoAuthData, CompleteSsoAuthErrors, CompleteSsoAuthResponses, CreateBackupData, CreateBackupErrors, CreateBackupResponses, CreateCheckoutSessionData, CreateCheckoutSessionErrors, CreateCheckoutSessionResponses, CreateConnectionData, CreateConnectionErrors, CreateConnectionResponses, CreateFileUploadData, CreateFileUploadErrors, CreateFileUploadResponses, CreateGraphData, CreateGraphErrors, CreateGraphResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateSubgraphData, CreateSubgraphErrors, CreateSubgraphResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, CreateViewData, CreateViewErrors, CreateViewResponses, DeleteConnectionData, DeleteConnectionErrors, DeleteConnectionResponses, DeleteFileData, DeleteFileErrors, DeleteFileResponses, DeleteSubgraphData, DeleteSubgraphErrors, DeleteSubgraphResponses, ExecuteCypherQueryData, ExecuteCypherQueryErrors, ExecuteCypherQueryResponses, ExecuteSpecificAgentData, ExecuteSpecificAgentErrors, ExecuteSpecificAgentResponses, ExportGraphSchemaData, ExportGraphSchemaErrors, ExportGraphSchemaResponses, ForgotPasswordData, ForgotPasswordErrors, ForgotPasswordResponses, GenerateSsoTokenData, GenerateSsoTokenErrors, GenerateSsoTokenResponses, GetAgentMetadataData, GetAgentMetadataErrors, GetAgentMetadataResponses, GetAvailableExtensionsData, GetAvailableExtensionsErrors, GetAvailableExtensionsResponses, GetAvailableGraphTiersData, GetAvailableGraphTiersErrors, GetAvailableGraphTiersResponses, GetBackupDownloadUrlData, GetBackupDownloadUrlErrors, GetBackupDownloadUrlResponses, GetBackupStatsData, GetBackupStatsErrors, GetBackupStatsResponses, GetCaptchaConfigData, GetCaptchaConfigResponses, GetCheckoutStatusData, GetCheckoutStatusErrors, GetCheckoutStatusResponses, GetConnectionData, GetConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsErrors, GetConnectionOptionsResponses, GetConnectionResponses, GetCreditSummaryData, GetCreditSummaryErrors, GetCreditSummaryResponses, GetCurrentAuthUserData, GetCurrentAuthUserErrors, GetCurrentAuthUserResponses, GetCurrentUserData, GetCurrentUserResponses, GetDatabaseHealthData, GetDatabaseHealthErrors, GetDatabaseHealthResponses, GetDatabaseInfoData, GetDatabaseInfoErrors, GetDatabaseInfoResponses, GetFileData, GetFileErrors, GetFileResponses, GetGraphCapacityData, GetGraphCapacityErrors, GetGraphCapacityResponses, GetGraphLimitsData, GetGraphLimitsErrors, GetGraphLimitsResponses, GetGraphMetricsData, GetGraphMetricsErrors, GetGraphMetricsResponses, GetGraphSchemaData, GetGraphSchemaErrors, GetGraphSchemaResponses, GetGraphsData, GetGraphsErrors, GetGraphsResponses, GetGraphSubscriptionData, GetGraphSubscriptionErrors, GetGraphSubscriptionResponses, GetGraphUsageAnalyticsData, GetGraphUsageAnalyticsErrors, GetGraphUsageAnalyticsResponses, GetMaterializationStatusData, GetMaterializationStatusErrors, GetMaterializationStatusResponses, GetOperationStatusData, GetOperationStatusErrors, GetOperationStatusResponses, GetOrgBillingCustomerData, GetOrgBillingCustomerErrors, GetOrgBillingCustomerResponses, GetOrgData, GetOrgErrors, GetOrgLimitsData, GetOrgLimitsErrors, GetOrgLimitsResponses, GetOrgResponses, GetOrgSubscriptionData, GetOrgSubscriptionErrors, GetOrgSubscriptionResponses, GetOrgUpcomingInvoiceData, GetOrgUpcomingInvoiceErrors, GetOrgUpcomingInvoiceResponses, GetOrgUsageData, GetOrgUsageErrors, GetOrgUsageResponses, GetPasswordPolicyData, GetPasswordPolicyResponses, GetServiceOfferingsData, GetServiceOfferingsErrors, GetServiceOfferingsResponses, GetServiceStatusData, GetServiceStatusResponses, GetStorageUsageData, GetStorageUsageErrors, GetStorageUsageResponses, GetSubgraphInfoData, GetSubgraphInfoErrors, GetSubgraphInfoResponses, GetSubgraphQuotaData, GetSubgraphQuotaErrors, GetSubgraphQuotaResponses, InitOAuthData, InitOAuthErrors, InitOAuthResponses, InviteOrgMemberData, InviteOrgMemberErrors, InviteOrgMemberResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, ListConnectionsData, ListConnectionsErrors, ListConnectionsResponses, ListCreditTransactionsData, ListCreditTransactionsErrors, ListCreditTransactionsResponses, ListFilesData, ListFilesErrors, ListFilesResponses, ListMcpToolsData, ListMcpToolsErrors, ListMcpToolsResponses, ListOrgGraphsData, ListOrgGraphsErrors, ListOrgGraphsResponses, ListOrgInvoicesData, ListOrgInvoicesErrors, ListOrgInvoicesResponses, ListOrgMembersData, ListOrgMembersErrors, ListOrgMembersResponses, ListOrgSubscriptionsData, ListOrgSubscriptionsErrors, ListOrgSubscriptionsResponses, ListSubgraphsData, ListSubgraphsErrors, ListSubgraphsResponses, ListTablesData, ListTablesErrors, ListTablesResponses, ListUserApiKeysData, ListUserApiKeysResponses, ListUserOrgsData, ListUserOrgsResponses, LoginUserData, LoginUserErrors, LoginUserResponses, LogoutUserData, LogoutUserResponses, MaterializeGraphData, MaterializeGraphErrors, MaterializeGraphResponses, OauthCallbackData, OauthCallbackErrors, OauthCallbackResponses, QueryTablesData, QueryTablesErrors, QueryTablesResponses, RecommendAgentData, RecommendAgentErrors, RecommendAgentResponses, RefreshAuthSessionData, RefreshAuthSessionErrors, RefreshAuthSessionResponses, RegisterUserData, RegisterUserErrors, RegisterUserResponses, RemoveOrgMemberData, RemoveOrgMemberErrors, RemoveOrgMemberResponses, ResendVerificationEmailData, ResendVerificationEmailErrors, ResendVerificationEmailResponses, ResetPasswordData, ResetPasswordErrors, ResetPasswordResponses, RestoreBackupData, RestoreBackupErrors, RestoreBackupResponses, RevokeUserApiKeyData, RevokeUserApiKeyErrors, RevokeUserApiKeyResponses, SelectGraphData, SelectGraphErrors, SelectGraphResponses, SsoTokenExchangeData, SsoTokenExchangeErrors, SsoTokenExchangeResponses, StreamOperationEventsData, StreamOperationEventsErrors, StreamOperationEventsResponses, SyncConnectionData, SyncConnectionErrors, SyncConnectionResponses, UpdateFileData, UpdateFileErrors, UpdateFileResponses, UpdateOrgData, UpdateOrgErrors, UpdateOrgMemberRoleData, UpdateOrgMemberRoleErrors, UpdateOrgMemberRoleResponses, UpdateOrgResponses, UpdateUserApiKeyData, UpdateUserApiKeyErrors, UpdateUserApiKeyResponses, UpdateUserData, UpdateUserErrors, UpdateUserPasswordData, UpdateUserPasswordErrors, UpdateUserPasswordResponses, UpdateUserResponses, UpgradeSubscriptionData, UpgradeSubscriptionErrors, UpgradeSubscriptionResponses, ValidateResetTokenData, ValidateResetTokenErrors, ValidateResetTokenResponses, ValidateSchemaData, ValidateSchemaErrors, ValidateSchemaResponses, VerifyEmailData, VerifyEmailErrors, VerifyEmailResponses } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
8
8
|
/**
|
|
@@ -301,21 +301,6 @@ export const listUserOrgs = <ThrowOnError extends boolean = false>(options?: Opt
|
|
|
301
301
|
...options
|
|
302
302
|
});
|
|
303
303
|
|
|
304
|
-
/**
|
|
305
|
-
* Create Organization
|
|
306
|
-
*
|
|
307
|
-
* Create a new organization. The creating user becomes the owner.
|
|
308
|
-
*/
|
|
309
|
-
export const createOrg = <ThrowOnError extends boolean = false>(options: Options<CreateOrgData, ThrowOnError>) => (options.client ?? client).post<CreateOrgResponses, CreateOrgErrors, ThrowOnError>({
|
|
310
|
-
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
311
|
-
url: '/v1/orgs',
|
|
312
|
-
...options,
|
|
313
|
-
headers: {
|
|
314
|
-
'Content-Type': 'application/json',
|
|
315
|
-
...options.headers
|
|
316
|
-
}
|
|
317
|
-
});
|
|
318
|
-
|
|
319
304
|
/**
|
|
320
305
|
* Get Organization
|
|
321
306
|
*
|
|
@@ -430,6 +415,211 @@ export const getOrgUsage = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
430
415
|
...options
|
|
431
416
|
});
|
|
432
417
|
|
|
418
|
+
/**
|
|
419
|
+
* List Connections
|
|
420
|
+
*
|
|
421
|
+
* List all data connections in the graph.
|
|
422
|
+
*
|
|
423
|
+
* Returns active and inactive connections with their current status.
|
|
424
|
+
* Connections can be filtered by:
|
|
425
|
+
* - **Entity**: Show connections for a specific entity
|
|
426
|
+
* - **Provider**: Filter by connection type (sec, quickbooks)
|
|
427
|
+
*
|
|
428
|
+
* Each connection shows:
|
|
429
|
+
* - Current sync status and health
|
|
430
|
+
* - Last successful sync timestamp
|
|
431
|
+
* - Configuration metadata
|
|
432
|
+
* - Error messages if any
|
|
433
|
+
*
|
|
434
|
+
* No credits are consumed for listing connections.
|
|
435
|
+
*/
|
|
436
|
+
export const listConnections = <ThrowOnError extends boolean = false>(options: Options<ListConnectionsData, ThrowOnError>) => (options.client ?? client).get<ListConnectionsResponses, ListConnectionsErrors, ThrowOnError>({
|
|
437
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
438
|
+
url: '/v1/graphs/{graph_id}/connections',
|
|
439
|
+
...options
|
|
440
|
+
});
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Create Connection
|
|
444
|
+
*
|
|
445
|
+
* Create a new data connection for external system integration.
|
|
446
|
+
*
|
|
447
|
+
* This endpoint initiates connections to external data sources:
|
|
448
|
+
*
|
|
449
|
+
* **SEC Connections**:
|
|
450
|
+
* - Provide entity CIK for automatic filing retrieval
|
|
451
|
+
* - No authentication needed
|
|
452
|
+
* - Begins immediate data sync
|
|
453
|
+
*
|
|
454
|
+
* **QuickBooks Connections**:
|
|
455
|
+
* - Returns OAuth URL for authorization
|
|
456
|
+
* - Requires admin permissions in QuickBooks
|
|
457
|
+
* - Complete with OAuth callback
|
|
458
|
+
*
|
|
459
|
+
* Note:
|
|
460
|
+
* This operation is included - no credit consumption required.
|
|
461
|
+
*/
|
|
462
|
+
export const createConnection = <ThrowOnError extends boolean = false>(options: Options<CreateConnectionData, ThrowOnError>) => (options.client ?? client).post<CreateConnectionResponses, CreateConnectionErrors, ThrowOnError>({
|
|
463
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
464
|
+
url: '/v1/graphs/{graph_id}/connections',
|
|
465
|
+
...options,
|
|
466
|
+
headers: {
|
|
467
|
+
'Content-Type': 'application/json',
|
|
468
|
+
...options.headers
|
|
469
|
+
}
|
|
470
|
+
});
|
|
471
|
+
|
|
472
|
+
/**
|
|
473
|
+
* List Connection Options
|
|
474
|
+
*
|
|
475
|
+
* Get metadata about all available data connection providers.
|
|
476
|
+
*
|
|
477
|
+
* This endpoint returns comprehensive information about each supported provider:
|
|
478
|
+
*
|
|
479
|
+
* **SEC EDGAR**: Public entity financial filings
|
|
480
|
+
* - No authentication required (public data)
|
|
481
|
+
* - 10-K, 10-Q, 8-K reports with XBRL data
|
|
482
|
+
* - Historical and real-time filing access
|
|
483
|
+
*
|
|
484
|
+
* **QuickBooks Online**: Full accounting system integration
|
|
485
|
+
* - OAuth 2.0 authentication
|
|
486
|
+
* - Chart of accounts, transactions, trial balance
|
|
487
|
+
* - Real-time sync capabilities
|
|
488
|
+
*
|
|
489
|
+
* No credits are consumed for viewing connection options.
|
|
490
|
+
*/
|
|
491
|
+
export const getConnectionOptions = <ThrowOnError extends boolean = false>(options: Options<GetConnectionOptionsData, ThrowOnError>) => (options.client ?? client).get<GetConnectionOptionsResponses, GetConnectionOptionsErrors, ThrowOnError>({
|
|
492
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
493
|
+
url: '/v1/graphs/{graph_id}/connections/options',
|
|
494
|
+
...options
|
|
495
|
+
});
|
|
496
|
+
|
|
497
|
+
/**
|
|
498
|
+
* Init Oauth
|
|
499
|
+
*
|
|
500
|
+
* Initialize OAuth flow for a connection.
|
|
501
|
+
*
|
|
502
|
+
* This generates an authorization URL that the frontend should redirect the user to.
|
|
503
|
+
* Currently supports: QuickBooks
|
|
504
|
+
*/
|
|
505
|
+
export const initOAuth = <ThrowOnError extends boolean = false>(options: Options<InitOAuthData, ThrowOnError>) => (options.client ?? client).post<InitOAuthResponses, InitOAuthErrors, ThrowOnError>({
|
|
506
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
507
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/init',
|
|
508
|
+
...options,
|
|
509
|
+
headers: {
|
|
510
|
+
'Content-Type': 'application/json',
|
|
511
|
+
...options.headers
|
|
512
|
+
}
|
|
513
|
+
});
|
|
514
|
+
|
|
515
|
+
/**
|
|
516
|
+
* OAuth Callback
|
|
517
|
+
*
|
|
518
|
+
* Handle OAuth callback from provider after user authorization.
|
|
519
|
+
*
|
|
520
|
+
* This endpoint completes the OAuth flow:
|
|
521
|
+
* 1. Validates the OAuth state parameter
|
|
522
|
+
* 2. Exchanges authorization code for access tokens
|
|
523
|
+
* 3. Stores tokens securely
|
|
524
|
+
* 4. Updates connection status
|
|
525
|
+
* 5. Optionally triggers initial sync
|
|
526
|
+
*
|
|
527
|
+
* Supported providers:
|
|
528
|
+
* - **QuickBooks**: Accounting data integration
|
|
529
|
+
*
|
|
530
|
+
* Security measures:
|
|
531
|
+
* - State validation prevents session hijacking
|
|
532
|
+
* - User context is verified
|
|
533
|
+
* - Tokens are encrypted before storage
|
|
534
|
+
* - Full audit trail is maintained
|
|
535
|
+
*
|
|
536
|
+
* No credits are consumed for OAuth callbacks.
|
|
537
|
+
*/
|
|
538
|
+
export const oauthCallback = <ThrowOnError extends boolean = false>(options: Options<OauthCallbackData, ThrowOnError>) => (options.client ?? client).post<OauthCallbackResponses, OauthCallbackErrors, ThrowOnError>({
|
|
539
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
540
|
+
url: '/v1/graphs/{graph_id}/connections/oauth/callback/{provider}',
|
|
541
|
+
...options,
|
|
542
|
+
headers: {
|
|
543
|
+
'Content-Type': 'application/json',
|
|
544
|
+
...options.headers
|
|
545
|
+
}
|
|
546
|
+
});
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* Delete Connection
|
|
550
|
+
*
|
|
551
|
+
* Delete a data connection and clean up related resources.
|
|
552
|
+
*
|
|
553
|
+
* This operation:
|
|
554
|
+
* - Removes the connection configuration
|
|
555
|
+
* - Preserves any imported data in the graph
|
|
556
|
+
* - Performs provider-specific cleanup
|
|
557
|
+
* - Revokes stored credentials
|
|
558
|
+
*
|
|
559
|
+
* Note:
|
|
560
|
+
* This operation is included - no credit consumption required.
|
|
561
|
+
*
|
|
562
|
+
* Only users with admin role can delete connections.
|
|
563
|
+
*/
|
|
564
|
+
export const deleteConnection = <ThrowOnError extends boolean = false>(options: Options<DeleteConnectionData, ThrowOnError>) => (options.client ?? client).delete<DeleteConnectionResponses, DeleteConnectionErrors, ThrowOnError>({
|
|
565
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
566
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}',
|
|
567
|
+
...options
|
|
568
|
+
});
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* Get Connection
|
|
572
|
+
*
|
|
573
|
+
* Get detailed information about a specific connection.
|
|
574
|
+
*
|
|
575
|
+
* Returns comprehensive connection details including:
|
|
576
|
+
* - Current status and health indicators
|
|
577
|
+
* - Authentication state
|
|
578
|
+
* - Sync history and statistics
|
|
579
|
+
* - Error details if any
|
|
580
|
+
* - Provider-specific metadata
|
|
581
|
+
*
|
|
582
|
+
* No credits are consumed for viewing connection details.
|
|
583
|
+
*/
|
|
584
|
+
export const getConnection = <ThrowOnError extends boolean = false>(options: Options<GetConnectionData, ThrowOnError>) => (options.client ?? client).get<GetConnectionResponses, GetConnectionErrors, ThrowOnError>({
|
|
585
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
586
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}',
|
|
587
|
+
...options
|
|
588
|
+
});
|
|
589
|
+
|
|
590
|
+
/**
|
|
591
|
+
* Sync Connection
|
|
592
|
+
*
|
|
593
|
+
* Trigger a data synchronization for the connection.
|
|
594
|
+
*
|
|
595
|
+
* Initiates data sync based on provider type:
|
|
596
|
+
*
|
|
597
|
+
* **SEC Sync**:
|
|
598
|
+
* - Downloads latest filings from EDGAR
|
|
599
|
+
* - Parses XBRL data and updates graph
|
|
600
|
+
* - Typically completes in 5-10 minutes
|
|
601
|
+
*
|
|
602
|
+
* **QuickBooks Sync**:
|
|
603
|
+
* - Fetches latest transactions and balances
|
|
604
|
+
* - Updates chart of accounts
|
|
605
|
+
* - Generates fresh trial balance
|
|
606
|
+
* - Duration depends on data volume
|
|
607
|
+
*
|
|
608
|
+
* Note:
|
|
609
|
+
* This operation is included - no credit consumption required.
|
|
610
|
+
*
|
|
611
|
+
* Returns a task ID for monitoring sync progress.
|
|
612
|
+
*/
|
|
613
|
+
export const syncConnection = <ThrowOnError extends boolean = false>(options: Options<SyncConnectionData, ThrowOnError>) => (options.client ?? client).post<SyncConnectionResponses, SyncConnectionErrors, ThrowOnError>({
|
|
614
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
615
|
+
url: '/v1/graphs/{graph_id}/connections/{connection_id}/sync',
|
|
616
|
+
...options,
|
|
617
|
+
headers: {
|
|
618
|
+
'Content-Type': 'application/json',
|
|
619
|
+
...options.headers
|
|
620
|
+
}
|
|
621
|
+
});
|
|
622
|
+
|
|
433
623
|
/**
|
|
434
624
|
* List available agents
|
|
435
625
|
*
|
|
@@ -1548,10 +1738,10 @@ export const getSubgraphInfo = <ThrowOnError extends boolean = false>(options: O
|
|
|
1548
1738
|
* - Total size usage across all subgraphs
|
|
1549
1739
|
*
|
|
1550
1740
|
* **Tier Limits:**
|
|
1551
|
-
* - Standard:
|
|
1552
|
-
* -
|
|
1553
|
-
* -
|
|
1554
|
-
* - Limits are defined in deployment configuration
|
|
1741
|
+
* - Standard: Up to 3 subgraphs (dedicated m7g.large instance)
|
|
1742
|
+
* - Large: Up to 10 subgraphs (dedicated r7g.large instance)
|
|
1743
|
+
* - XLarge: Up to 25 subgraphs (dedicated r7g.xlarge instance)
|
|
1744
|
+
* - Limits are defined in graph.yml deployment configuration
|
|
1555
1745
|
*
|
|
1556
1746
|
* **Size Tracking:**
|
|
1557
1747
|
* Provides aggregate size metrics when available.
|
|
@@ -1731,6 +1921,25 @@ export const queryTables = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
1731
1921
|
}
|
|
1732
1922
|
});
|
|
1733
1923
|
|
|
1924
|
+
/**
|
|
1925
|
+
* Create View
|
|
1926
|
+
*
|
|
1927
|
+
* Build a fact grid from existing facts in the graph.
|
|
1928
|
+
*
|
|
1929
|
+
* Queries Fact nodes by element qnames or canonical concepts, with optional
|
|
1930
|
+
* filters for periods, entities, filing form, fiscal context, and period type.
|
|
1931
|
+
* Returns deduplicated consolidated facts as a pivot table.
|
|
1932
|
+
*/
|
|
1933
|
+
export const createView = <ThrowOnError extends boolean = false>(options: Options<CreateViewData, ThrowOnError>) => (options.client ?? client).post<CreateViewResponses, CreateViewErrors, ThrowOnError>({
|
|
1934
|
+
security: [{ name: 'X-API-Key', type: 'apiKey' }, { scheme: 'bearer', type: 'http' }],
|
|
1935
|
+
url: '/v1/graphs/{graph_id}/views',
|
|
1936
|
+
...options,
|
|
1937
|
+
headers: {
|
|
1938
|
+
'Content-Type': 'application/json',
|
|
1939
|
+
...options.headers
|
|
1940
|
+
}
|
|
1941
|
+
});
|
|
1942
|
+
|
|
1734
1943
|
/**
|
|
1735
1944
|
* Get Materialization Status
|
|
1736
1945
|
*
|
|
@@ -2187,7 +2396,7 @@ export const createGraph = <ThrowOnError extends boolean = false>(options: Optio
|
|
|
2187
2396
|
*
|
|
2188
2397
|
* **Available Extensions:**
|
|
2189
2398
|
* - **RoboLedger**: Complete accounting system with XBRL reporting, general ledger, and financial statements
|
|
2190
|
-
* - **RoboInvestor**: Investment portfolio management and
|
|
2399
|
+
* - **RoboInvestor**: Investment portfolio management with securities tracking, trade execution, and risk analysis
|
|
2191
2400
|
* - **RoboSCM**: Supply chain management and logistics
|
|
2192
2401
|
* - **RoboFO**: Front office operations and CRM
|
|
2193
2402
|
* - **RoboHRM**: Human resources management
|