@robosystems/client 0.2.29 → 0.2.30
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/index.ts +2 -2
- package/package.json +1 -1
- package/sdk/index.d.ts +2 -2
- package/sdk/index.js +2 -15
- package/sdk/index.ts +2 -2
- package/sdk/sdk.gen.d.ts +4 -265
- package/sdk/sdk.gen.js +5 -359
- package/sdk/sdk.gen.ts +4 -357
- package/sdk/types.gen.d.ts +35 -1265
- package/sdk/types.gen.ts +172 -1481
- package/sdk.gen.d.ts +4 -265
- package/sdk.gen.js +5 -359
- package/sdk.gen.ts +4 -357
- package/types.gen.d.ts +35 -1265
- package/types.gen.ts +172 -1481
package/sdk.gen.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, Options as Options2, TDataShape } from './client';
|
|
2
|
-
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,
|
|
2
|
+
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, CreateOrgData, CreateOrgErrors, CreateOrgResponses, CreatePortalSessionData, CreatePortalSessionErrors, CreatePortalSessionResponses, CreateRepositorySubscriptionData, CreateRepositorySubscriptionErrors, CreateRepositorySubscriptionResponses, CreateSubgraphData, CreateSubgraphErrors, CreateSubgraphResponses, CreateUserApiKeyData, CreateUserApiKeyErrors, CreateUserApiKeyResponses, 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, GetCreditSummaryData, GetCreditSummaryErrors, GetCreditSummaryResponses, GetCurrentAuthUserData, GetCurrentAuthUserErrors, GetCurrentAuthUserResponses, GetCurrentUserData, GetCurrentUserResponses, GetDatabaseHealthData, GetDatabaseHealthErrors, GetDatabaseHealthResponses, GetDatabaseInfoData, GetDatabaseInfoErrors, GetDatabaseInfoResponses, GetFileData, GetFileErrors, GetFileResponses, 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, InviteOrgMemberData, InviteOrgMemberErrors, InviteOrgMemberResponses, ListAgentsData, ListAgentsErrors, ListAgentsResponses, ListBackupsData, ListBackupsErrors, ListBackupsResponses, 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, 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, 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';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -230,213 +230,6 @@ export declare const getOrgLimits: <ThrowOnError extends boolean = false>(option
|
|
|
230
230
|
* Get detailed usage statistics for an organization aggregated across all graphs.
|
|
231
231
|
*/
|
|
232
232
|
export declare const getOrgUsage: <ThrowOnError extends boolean = false>(options: Options<GetOrgUsageData, ThrowOnError>) => import("./client").RequestResult<GetOrgUsageResponses, GetOrgUsageErrors, ThrowOnError, "fields">;
|
|
233
|
-
/**
|
|
234
|
-
* List Connections
|
|
235
|
-
*
|
|
236
|
-
* List all data connections in the graph.
|
|
237
|
-
*
|
|
238
|
-
* Returns active and inactive connections with their current status.
|
|
239
|
-
* Connections can be filtered by:
|
|
240
|
-
* - **Entity**: Show connections for a specific entity
|
|
241
|
-
* - **Provider**: Filter by connection type (sec, quickbooks, plaid)
|
|
242
|
-
*
|
|
243
|
-
* Each connection shows:
|
|
244
|
-
* - Current sync status and health
|
|
245
|
-
* - Last successful sync timestamp
|
|
246
|
-
* - Configuration metadata
|
|
247
|
-
* - Error messages if any
|
|
248
|
-
*
|
|
249
|
-
* No credits are consumed for listing connections.
|
|
250
|
-
*/
|
|
251
|
-
export declare const listConnections: <ThrowOnError extends boolean = false>(options: Options<ListConnectionsData, ThrowOnError>) => import("./client").RequestResult<ListConnectionsResponses, ListConnectionsErrors, ThrowOnError, "fields">;
|
|
252
|
-
/**
|
|
253
|
-
* Create Connection
|
|
254
|
-
*
|
|
255
|
-
* Create a new data connection for external system integration.
|
|
256
|
-
*
|
|
257
|
-
* This endpoint initiates connections to external data sources:
|
|
258
|
-
*
|
|
259
|
-
* **SEC Connections**:
|
|
260
|
-
* - Provide entity CIK for automatic filing retrieval
|
|
261
|
-
* - No authentication needed
|
|
262
|
-
* - Begins immediate data sync
|
|
263
|
-
*
|
|
264
|
-
* **QuickBooks Connections**:
|
|
265
|
-
* - Returns OAuth URL for authorization
|
|
266
|
-
* - Requires admin permissions in QuickBooks
|
|
267
|
-
* - Complete with OAuth callback
|
|
268
|
-
*
|
|
269
|
-
* **Plaid Connections**:
|
|
270
|
-
* - Returns Plaid Link token
|
|
271
|
-
* - User completes bank authentication
|
|
272
|
-
* - Exchange public token for access
|
|
273
|
-
*
|
|
274
|
-
* Note:
|
|
275
|
-
* This operation is included - no credit consumption required.
|
|
276
|
-
*/
|
|
277
|
-
export declare const createConnection: <ThrowOnError extends boolean = false>(options: Options<CreateConnectionData, ThrowOnError>) => import("./client").RequestResult<CreateConnectionResponses, CreateConnectionErrors, ThrowOnError, "fields">;
|
|
278
|
-
/**
|
|
279
|
-
* List Connection Options
|
|
280
|
-
*
|
|
281
|
-
* Get metadata about all available data connection providers.
|
|
282
|
-
*
|
|
283
|
-
* This endpoint returns comprehensive information about each supported provider:
|
|
284
|
-
*
|
|
285
|
-
* **SEC EDGAR**: Public entity financial filings
|
|
286
|
-
* - No authentication required (public data)
|
|
287
|
-
* - 10-K, 10-Q, 8-K reports with XBRL data
|
|
288
|
-
* - Historical and real-time filing access
|
|
289
|
-
*
|
|
290
|
-
* **QuickBooks Online**: Full accounting system integration
|
|
291
|
-
* - OAuth 2.0 authentication
|
|
292
|
-
* - Chart of accounts, transactions, trial balance
|
|
293
|
-
* - Real-time sync capabilities
|
|
294
|
-
*
|
|
295
|
-
* **Plaid**: Bank account connections
|
|
296
|
-
* - Secure bank authentication via Plaid Link
|
|
297
|
-
* - Transaction history and balances
|
|
298
|
-
* - Multi-account support
|
|
299
|
-
*
|
|
300
|
-
* No credits are consumed for viewing connection options.
|
|
301
|
-
*/
|
|
302
|
-
export declare const getConnectionOptions: <ThrowOnError extends boolean = false>(options: Options<GetConnectionOptionsData, ThrowOnError>) => import("./client").RequestResult<GetConnectionOptionsResponses, GetConnectionOptionsErrors, ThrowOnError, "fields">;
|
|
303
|
-
/**
|
|
304
|
-
* Exchange Link Token
|
|
305
|
-
*
|
|
306
|
-
* Exchange a public token for permanent access credentials.
|
|
307
|
-
*
|
|
308
|
-
* This completes the embedded authentication flow after user authorization.
|
|
309
|
-
*
|
|
310
|
-
* The exchange process:
|
|
311
|
-
* 1. Validates the temporary public token
|
|
312
|
-
* 2. Exchanges it for permanent access credentials
|
|
313
|
-
* 3. Updates the connection with account information
|
|
314
|
-
* 4. Optionally triggers initial data sync
|
|
315
|
-
*
|
|
316
|
-
* Supported providers:
|
|
317
|
-
* - **Plaid**: Exchanges Plaid Link public token for access token
|
|
318
|
-
*
|
|
319
|
-
* Security:
|
|
320
|
-
* - Public tokens expire after 30 minutes
|
|
321
|
-
* - Each token can only be exchanged once
|
|
322
|
-
* - Full audit trail is maintained
|
|
323
|
-
*
|
|
324
|
-
* No credits are consumed for token exchange.
|
|
325
|
-
*/
|
|
326
|
-
export declare const exchangeLinkToken: <ThrowOnError extends boolean = false>(options: Options<ExchangeLinkTokenData, ThrowOnError>) => import("./client").RequestResult<ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, ThrowOnError, "fields">;
|
|
327
|
-
/**
|
|
328
|
-
* Create Link Token
|
|
329
|
-
*
|
|
330
|
-
* Create a link token for embedded authentication providers.
|
|
331
|
-
*
|
|
332
|
-
* This endpoint generates a temporary token used to initialize embedded authentication UI.
|
|
333
|
-
*
|
|
334
|
-
* Currently supported providers:
|
|
335
|
-
* - **Plaid**: Bank account connections with real-time transaction access
|
|
336
|
-
*
|
|
337
|
-
* The link token:
|
|
338
|
-
* - Expires after 4 hours
|
|
339
|
-
* - Is single-use only
|
|
340
|
-
* - Must be used with the matching frontend SDK
|
|
341
|
-
* - Includes user and entity context
|
|
342
|
-
*
|
|
343
|
-
* No credits are consumed for creating link tokens.
|
|
344
|
-
*/
|
|
345
|
-
export declare const createLinkToken: <ThrowOnError extends boolean = false>(options: Options<CreateLinkTokenData, ThrowOnError>) => import("./client").RequestResult<CreateLinkTokenResponses, CreateLinkTokenErrors, ThrowOnError, "fields">;
|
|
346
|
-
/**
|
|
347
|
-
* Init Oauth
|
|
348
|
-
*
|
|
349
|
-
* Initialize OAuth flow for a connection.
|
|
350
|
-
*
|
|
351
|
-
* This generates an authorization URL that the frontend should redirect the user to.
|
|
352
|
-
* Currently supports: QuickBooks
|
|
353
|
-
*/
|
|
354
|
-
export declare const initOAuth: <ThrowOnError extends boolean = false>(options: Options<InitOAuthData, ThrowOnError>) => import("./client").RequestResult<InitOAuthResponses, InitOAuthErrors, ThrowOnError, "fields">;
|
|
355
|
-
/**
|
|
356
|
-
* OAuth Callback
|
|
357
|
-
*
|
|
358
|
-
* Handle OAuth callback from provider after user authorization.
|
|
359
|
-
*
|
|
360
|
-
* This endpoint completes the OAuth flow:
|
|
361
|
-
* 1. Validates the OAuth state parameter
|
|
362
|
-
* 2. Exchanges authorization code for access tokens
|
|
363
|
-
* 3. Stores tokens securely
|
|
364
|
-
* 4. Updates connection status
|
|
365
|
-
* 5. Optionally triggers initial sync
|
|
366
|
-
*
|
|
367
|
-
* Supported providers:
|
|
368
|
-
* - **QuickBooks**: Accounting data integration
|
|
369
|
-
*
|
|
370
|
-
* Security measures:
|
|
371
|
-
* - State validation prevents session hijacking
|
|
372
|
-
* - User context is verified
|
|
373
|
-
* - Tokens are encrypted before storage
|
|
374
|
-
* - Full audit trail is maintained
|
|
375
|
-
*
|
|
376
|
-
* No credits are consumed for OAuth callbacks.
|
|
377
|
-
*/
|
|
378
|
-
export declare const oauthCallback: <ThrowOnError extends boolean = false>(options: Options<OauthCallbackData, ThrowOnError>) => import("./client").RequestResult<OauthCallbackResponses, OauthCallbackErrors, ThrowOnError, "fields">;
|
|
379
|
-
/**
|
|
380
|
-
* Delete Connection
|
|
381
|
-
*
|
|
382
|
-
* Delete a data connection and clean up related resources.
|
|
383
|
-
*
|
|
384
|
-
* This operation:
|
|
385
|
-
* - Removes the connection configuration
|
|
386
|
-
* - Preserves any imported data in the graph
|
|
387
|
-
* - Performs provider-specific cleanup
|
|
388
|
-
* - Revokes stored credentials
|
|
389
|
-
*
|
|
390
|
-
* Note:
|
|
391
|
-
* This operation is included - no credit consumption required.
|
|
392
|
-
*
|
|
393
|
-
* Only users with admin role can delete connections.
|
|
394
|
-
*/
|
|
395
|
-
export declare const deleteConnection: <ThrowOnError extends boolean = false>(options: Options<DeleteConnectionData, ThrowOnError>) => import("./client").RequestResult<DeleteConnectionResponses, DeleteConnectionErrors, ThrowOnError, "fields">;
|
|
396
|
-
/**
|
|
397
|
-
* Get Connection
|
|
398
|
-
*
|
|
399
|
-
* Get detailed information about a specific connection.
|
|
400
|
-
*
|
|
401
|
-
* Returns comprehensive connection details including:
|
|
402
|
-
* - Current status and health indicators
|
|
403
|
-
* - Authentication state
|
|
404
|
-
* - Sync history and statistics
|
|
405
|
-
* - Error details if any
|
|
406
|
-
* - Provider-specific metadata
|
|
407
|
-
*
|
|
408
|
-
* No credits are consumed for viewing connection details.
|
|
409
|
-
*/
|
|
410
|
-
export declare const getConnection: <ThrowOnError extends boolean = false>(options: Options<GetConnectionData, ThrowOnError>) => import("./client").RequestResult<GetConnectionResponses, GetConnectionErrors, ThrowOnError, "fields">;
|
|
411
|
-
/**
|
|
412
|
-
* Sync Connection
|
|
413
|
-
*
|
|
414
|
-
* Trigger a data synchronization for the connection.
|
|
415
|
-
*
|
|
416
|
-
* Initiates data sync based on provider type:
|
|
417
|
-
*
|
|
418
|
-
* **SEC Sync**:
|
|
419
|
-
* - Downloads latest filings from EDGAR
|
|
420
|
-
* - Parses XBRL data and updates graph
|
|
421
|
-
* - Typically completes in 5-10 minutes
|
|
422
|
-
*
|
|
423
|
-
* **QuickBooks Sync**:
|
|
424
|
-
* - Fetches latest transactions and balances
|
|
425
|
-
* - Updates chart of accounts
|
|
426
|
-
* - Generates fresh trial balance
|
|
427
|
-
* - Duration depends on data volume
|
|
428
|
-
*
|
|
429
|
-
* **Plaid Sync**:
|
|
430
|
-
* - Retrieves recent bank transactions
|
|
431
|
-
* - Updates account balances
|
|
432
|
-
* - Categorizes new transactions
|
|
433
|
-
*
|
|
434
|
-
* Note:
|
|
435
|
-
* This operation is included - no credit consumption required.
|
|
436
|
-
*
|
|
437
|
-
* Returns a task ID for monitoring sync progress.
|
|
438
|
-
*/
|
|
439
|
-
export declare const syncConnection: <ThrowOnError extends boolean = false>(options: Options<SyncConnectionData, ThrowOnError>) => import("./client").RequestResult<SyncConnectionResponses, SyncConnectionErrors, ThrowOnError, "fields">;
|
|
440
233
|
/**
|
|
441
234
|
* List available agents
|
|
442
235
|
*
|
|
@@ -1497,61 +1290,6 @@ export declare const listTables: <ThrowOnError extends boolean = false>(options:
|
|
|
1497
1290
|
* Staging table queries are included - no credit consumption
|
|
1498
1291
|
*/
|
|
1499
1292
|
export declare const queryTables: <ThrowOnError extends boolean = false>(options: Options<QueryTablesData, ThrowOnError>) => import("./client").RequestResult<QueryTablesResponses, QueryTablesErrors, ThrowOnError, "fields">;
|
|
1500
|
-
/**
|
|
1501
|
-
* Create View
|
|
1502
|
-
*
|
|
1503
|
-
* Generate financial report view from data source (dual-mode support).
|
|
1504
|
-
*
|
|
1505
|
-
* **Mode 1: Transaction Aggregation (generate_from_transactions)**
|
|
1506
|
-
* - Aggregates raw transaction data to trial balance
|
|
1507
|
-
* - Creates facts on-demand
|
|
1508
|
-
* - Shows real-time reporting from source of truth
|
|
1509
|
-
*
|
|
1510
|
-
* **Mode 2: Existing Facts (pivot_existing_facts)**
|
|
1511
|
-
* - Queries existing Fact nodes
|
|
1512
|
-
* - Supports multi-dimensional analysis
|
|
1513
|
-
* - Works with SEC filings and pre-computed facts
|
|
1514
|
-
*
|
|
1515
|
-
* Both modes:
|
|
1516
|
-
* - Build FactGrid from data
|
|
1517
|
-
* - Generate pivot table presentation
|
|
1518
|
-
* - Return consistent response format
|
|
1519
|
-
*/
|
|
1520
|
-
export declare const createView: <ThrowOnError extends boolean = false>(options: Options<CreateViewData, ThrowOnError>) => import("./client").RequestResult<CreateViewResponses, CreateViewErrors, ThrowOnError, "fields">;
|
|
1521
|
-
/**
|
|
1522
|
-
* Save View
|
|
1523
|
-
*
|
|
1524
|
-
* Save or update view as materialized report in the graph.
|
|
1525
|
-
*
|
|
1526
|
-
* Converts computed view results into persistent Report, Fact, and Structure nodes.
|
|
1527
|
-
* This establishes what data exists in the subgraph, which then defines what
|
|
1528
|
-
* needs to be exported for publishing to the parent graph.
|
|
1529
|
-
*
|
|
1530
|
-
* **Create Mode** (no report_id provided):
|
|
1531
|
-
* - Generates new report_id from entity + period + report type
|
|
1532
|
-
* - Creates new Report, Facts, and Structures
|
|
1533
|
-
*
|
|
1534
|
-
* **Update Mode** (report_id provided):
|
|
1535
|
-
* - Deletes all existing Facts and Structures for the report
|
|
1536
|
-
* - Updates Report metadata
|
|
1537
|
-
* - Creates fresh Facts and Structures from current view
|
|
1538
|
-
* - Useful for refreshing reports with updated data or view configurations
|
|
1539
|
-
*
|
|
1540
|
-
* **This is NOT publishing** - it only creates nodes in the subgraph workspace.
|
|
1541
|
-
* Publishing (export → parquet → parent ingest) happens separately.
|
|
1542
|
-
*
|
|
1543
|
-
* Creates/Updates:
|
|
1544
|
-
* - Report node with metadata
|
|
1545
|
-
* - Fact nodes with all aspects (period, entity, element, unit)
|
|
1546
|
-
* - PresentationStructure nodes (how facts are displayed)
|
|
1547
|
-
* - CalculationStructure nodes (how facts roll up)
|
|
1548
|
-
*
|
|
1549
|
-
* Returns:
|
|
1550
|
-
* - report_id: Unique identifier used as parquet export prefix
|
|
1551
|
-
* - parquet_export_prefix: Filename prefix for future exports
|
|
1552
|
-
* - All created facts and structures
|
|
1553
|
-
*/
|
|
1554
|
-
export declare const saveView: <ThrowOnError extends boolean = false>(options: Options<SaveViewData, ThrowOnError>) => import("./client").RequestResult<SaveViewResponses, SaveViewErrors, ThrowOnError, "fields">;
|
|
1555
1293
|
/**
|
|
1556
1294
|
* Get Materialization Status
|
|
1557
1295
|
*
|
|
@@ -2263,10 +2001,11 @@ export declare const createCheckoutSession: <ThrowOnError extends boolean = fals
|
|
|
2263
2001
|
* **Status Values:**
|
|
2264
2002
|
* - `pending_payment`: Waiting for payment to complete
|
|
2265
2003
|
* - `provisioning`: Payment confirmed, resource being created
|
|
2266
|
-
* - `
|
|
2004
|
+
* - `active`: Resource is ready (resource_id will be set)
|
|
2267
2005
|
* - `failed`: Something went wrong (error field will be set)
|
|
2006
|
+
* - `canceled`: Payment was canceled
|
|
2268
2007
|
*
|
|
2269
|
-
* **When status is '
|
|
2008
|
+
* **When status is 'active':**
|
|
2270
2009
|
* - For graphs: `resource_id` will be the graph_id, and `operation_id` can be used to monitor SSE progress
|
|
2271
2010
|
* - For repositories: `resource_id` will be the repository name and access is immediately available
|
|
2272
2011
|
*/
|