@robosystems/client 0.1.15 → 0.1.17
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/extensions/hooks.d.ts +1 -1
- package/package.json +48 -6
- package/sdk/client/client.gen.d.ts +2 -0
- package/sdk/client/client.gen.js +153 -0
- package/sdk/client/client.gen.ts +200 -0
- package/sdk/client/index.d.ts +7 -0
- package/sdk/client/index.js +15 -0
- package/sdk/client/index.ts +25 -0
- package/sdk/client/types.gen.d.ts +122 -0
- package/sdk/client/types.gen.js +4 -0
- package/sdk/client/types.gen.ts +233 -0
- package/sdk/client/utils.gen.d.ts +45 -0
- package/sdk/client/utils.gen.js +296 -0
- package/sdk/client/utils.gen.ts +419 -0
- package/sdk/client.gen.d.ts +12 -0
- package/sdk/client.gen.js +8 -0
- package/sdk/client.gen.ts +18 -0
- package/sdk/core/auth.gen.d.ts +18 -0
- package/sdk/core/auth.gen.js +18 -0
- package/sdk/core/auth.gen.ts +42 -0
- package/sdk/core/bodySerializer.gen.d.ts +17 -0
- package/sdk/core/bodySerializer.gen.js +57 -0
- package/sdk/core/bodySerializer.gen.ts +90 -0
- package/sdk/core/params.gen.d.ts +33 -0
- package/sdk/core/params.gen.js +92 -0
- package/sdk/core/params.gen.ts +153 -0
- package/sdk/core/pathSerializer.gen.d.ts +33 -0
- package/sdk/core/pathSerializer.gen.js +123 -0
- package/sdk/core/pathSerializer.gen.ts +181 -0
- package/sdk/core/types.gen.d.ts +78 -0
- package/sdk/core/types.gen.js +4 -0
- package/sdk/core/types.gen.ts +121 -0
- package/sdk/index.d.ts +2 -0
- package/sdk/index.js +19 -0
- package/sdk/index.ts +3 -0
- package/sdk/sdk.gen.d.ts +1249 -0
- package/sdk/sdk.gen.js +2572 -0
- package/sdk/sdk.gen.ts +2585 -0
- package/sdk/types.gen.d.ts +6347 -0
- package/sdk/types.gen.js +3 -0
- package/sdk/types.gen.ts +6852 -0
- package/sdk-extensions/OperationClient.d.ts +64 -0
- package/sdk-extensions/OperationClient.js +251 -0
- package/sdk-extensions/OperationClient.ts +322 -0
- package/sdk-extensions/QueryClient.d.ts +50 -0
- package/sdk-extensions/QueryClient.js +190 -0
- package/sdk-extensions/QueryClient.ts +283 -0
- package/sdk-extensions/README.md +672 -0
- package/sdk-extensions/SSEClient.d.ts +48 -0
- package/sdk-extensions/SSEClient.js +148 -0
- package/sdk-extensions/SSEClient.ts +189 -0
- package/sdk-extensions/config.d.ts +32 -0
- package/sdk-extensions/config.js +74 -0
- package/sdk-extensions/config.ts +91 -0
- package/sdk-extensions/hooks.d.ts +110 -0
- package/sdk-extensions/hooks.js +371 -0
- package/sdk-extensions/hooks.ts +438 -0
- package/sdk-extensions/index.d.ts +46 -0
- package/sdk-extensions/index.js +110 -0
- package/sdk-extensions/index.ts +123 -0
- package/sdk.gen.d.ts +210 -104
- package/sdk.gen.js +409 -287
- package/sdk.gen.ts +404 -282
- package/types.gen.d.ts +1218 -567
- package/types.gen.ts +1236 -566
- package/openapi-ts.config.js +0 -9
- package/prepare.js +0 -220
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RoboSystems SDK Extensions
|
|
3
|
+
* Enhanced clients with SSE support for the RoboSystems API
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
import { client } from '../sdk/client.gen'
|
|
7
|
+
import { OperationClient } from './OperationClient'
|
|
8
|
+
import { QueryClient } from './QueryClient'
|
|
9
|
+
import { SSEClient } from './SSEClient'
|
|
10
|
+
|
|
11
|
+
export interface RoboSystemsExtensionConfig {
|
|
12
|
+
baseUrl?: string
|
|
13
|
+
credentials?: 'include' | 'same-origin' | 'omit'
|
|
14
|
+
maxRetries?: number
|
|
15
|
+
retryDelay?: number
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export class RoboSystemsExtensions {
|
|
19
|
+
public readonly query: QueryClient
|
|
20
|
+
public readonly operations: OperationClient
|
|
21
|
+
private config: Required<RoboSystemsExtensionConfig>
|
|
22
|
+
|
|
23
|
+
constructor(config: RoboSystemsExtensionConfig = {}) {
|
|
24
|
+
// Get base URL from SDK client config or use provided/default
|
|
25
|
+
const sdkConfig = client.getConfig()
|
|
26
|
+
|
|
27
|
+
this.config = {
|
|
28
|
+
baseUrl: config.baseUrl || sdkConfig.baseUrl || 'http://localhost:8000',
|
|
29
|
+
credentials: config.credentials || 'include',
|
|
30
|
+
maxRetries: config.maxRetries || 5,
|
|
31
|
+
retryDelay: config.retryDelay || 1000,
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
this.query = new QueryClient({
|
|
35
|
+
baseUrl: this.config.baseUrl,
|
|
36
|
+
credentials: this.config.credentials,
|
|
37
|
+
})
|
|
38
|
+
|
|
39
|
+
this.operations = new OperationClient({
|
|
40
|
+
baseUrl: this.config.baseUrl,
|
|
41
|
+
credentials: this.config.credentials,
|
|
42
|
+
})
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* Convenience method to monitor any operation
|
|
47
|
+
*/
|
|
48
|
+
async monitorOperation(operationId: string, onProgress?: (progress: any) => void): Promise<any> {
|
|
49
|
+
return this.operations.monitorOperation(operationId, { onProgress })
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* Create custom SSE client for advanced use cases
|
|
54
|
+
*/
|
|
55
|
+
createSSEClient(): SSEClient {
|
|
56
|
+
return new SSEClient({
|
|
57
|
+
baseUrl: this.config.baseUrl,
|
|
58
|
+
credentials: this.config.credentials,
|
|
59
|
+
maxRetries: this.config.maxRetries,
|
|
60
|
+
retryDelay: this.config.retryDelay,
|
|
61
|
+
})
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Clean up all active connections
|
|
66
|
+
*/
|
|
67
|
+
close(): void {
|
|
68
|
+
this.query.close()
|
|
69
|
+
this.operations.closeAll()
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
// Export all types and classes
|
|
74
|
+
export * from './OperationClient'
|
|
75
|
+
export * from './QueryClient'
|
|
76
|
+
export * from './SSEClient'
|
|
77
|
+
export { OperationClient, QueryClient, SSEClient }
|
|
78
|
+
|
|
79
|
+
// Export React hooks
|
|
80
|
+
export {
|
|
81
|
+
useMultipleOperations,
|
|
82
|
+
useOperation,
|
|
83
|
+
useQuery,
|
|
84
|
+
useSDKClients,
|
|
85
|
+
useStreamingQuery,
|
|
86
|
+
} from './hooks'
|
|
87
|
+
|
|
88
|
+
// Lazy initialization of default instance
|
|
89
|
+
let _extensions: RoboSystemsExtensions | null = null
|
|
90
|
+
|
|
91
|
+
function getExtensions(): RoboSystemsExtensions {
|
|
92
|
+
if (!_extensions) {
|
|
93
|
+
_extensions = new RoboSystemsExtensions()
|
|
94
|
+
}
|
|
95
|
+
return _extensions
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
export const extensions = {
|
|
99
|
+
get query() {
|
|
100
|
+
return getExtensions().query
|
|
101
|
+
},
|
|
102
|
+
get operations() {
|
|
103
|
+
return getExtensions().operations
|
|
104
|
+
},
|
|
105
|
+
monitorOperation: (operationId: string, onProgress?: (progress: any) => void) =>
|
|
106
|
+
getExtensions().monitorOperation(operationId, onProgress),
|
|
107
|
+
createSSEClient: () => getExtensions().createSSEClient(),
|
|
108
|
+
close: () => getExtensions().close(),
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
// Export convenience functions that use the default instance
|
|
112
|
+
export const monitorOperation = (operationId: string, onProgress?: (progress: any) => void) =>
|
|
113
|
+
getExtensions().monitorOperation(operationId, onProgress)
|
|
114
|
+
|
|
115
|
+
export const executeQuery = (graphId: string, query: string, parameters?: Record<string, any>) =>
|
|
116
|
+
getExtensions().query.query(graphId, query, parameters)
|
|
117
|
+
|
|
118
|
+
export const streamQuery = (
|
|
119
|
+
graphId: string,
|
|
120
|
+
query: string,
|
|
121
|
+
parameters?: Record<string, any>,
|
|
122
|
+
chunkSize?: number
|
|
123
|
+
) => getExtensions().query.streamQuery(graphId, query, parameters, chunkSize)
|
package/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, LogoutUserErrors, GetCurrentAuthUserData, GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, RefreshSessionData, RefreshSessionResponses, RefreshSessionErrors, GenerateSsoTokenData, GenerateSsoTokenResponses, GenerateSsoTokenErrors, SsoLoginData, SsoLoginResponses, SsoLoginErrors, SsoTokenExchangeData, SsoTokenExchangeResponses, SsoTokenExchangeErrors, CompleteSsoAuthData, CompleteSsoAuthResponses, CompleteSsoAuthErrors,
|
|
2
|
+
import type { RegisterUserData, RegisterUserResponses, RegisterUserErrors, LoginUserData, LoginUserResponses, LoginUserErrors, LogoutUserData, LogoutUserResponses, LogoutUserErrors, GetCurrentAuthUserData, GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, RefreshSessionData, RefreshSessionResponses, RefreshSessionErrors, GenerateSsoTokenData, GenerateSsoTokenResponses, GenerateSsoTokenErrors, SsoLoginData, SsoLoginResponses, SsoLoginErrors, SsoTokenExchangeData, SsoTokenExchangeResponses, SsoTokenExchangeErrors, CompleteSsoAuthData, CompleteSsoAuthResponses, CompleteSsoAuthErrors, GetPasswordPolicyData, GetPasswordPolicyResponses, CheckPasswordStrengthData, CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, GetCaptchaConfigData, GetCaptchaConfigResponses, GetServiceStatusData, GetServiceStatusResponses, GetCurrentUserData, GetCurrentUserResponses, GetCurrentUserErrors, UpdateUserData, UpdateUserResponses, UpdateUserErrors, GetUserGraphsData, GetUserGraphsResponses, GetUserGraphsErrors, SelectUserGraphData, SelectUserGraphResponses, SelectUserGraphErrors, GetAllCreditSummariesData, GetAllCreditSummariesResponses, GetAllCreditSummariesErrors, UpdateUserPasswordData, UpdateUserPasswordResponses, UpdateUserPasswordErrors, ListUserApiKeysData, ListUserApiKeysResponses, ListUserApiKeysErrors, CreateUserApiKeyData, CreateUserApiKeyResponses, CreateUserApiKeyErrors, RevokeUserApiKeyData, RevokeUserApiKeyResponses, RevokeUserApiKeyErrors, UpdateUserApiKeyData, UpdateUserApiKeyResponses, UpdateUserApiKeyErrors, GetUserLimitsData, GetUserLimitsResponses, GetUserLimitsErrors, GetUserUsageData, GetUserUsageResponses, GetUserUsageErrors, GetAllSharedRepositoryLimitsData, GetAllSharedRepositoryLimitsResponses, GetAllSharedRepositoryLimitsErrors, GetSharedRepositoryLimitsData, GetSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsErrors, GetUserUsageOverviewData, GetUserUsageOverviewResponses, GetUserUsageOverviewErrors, 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, DeleteConnectionData, DeleteConnectionResponses, DeleteConnectionErrors, GetConnectionData, GetConnectionResponses, GetConnectionErrors, GetConnectionOptionsData, GetConnectionOptionsResponses, GetConnectionOptionsErrors, SyncConnectionData, SyncConnectionResponses, SyncConnectionErrors, CreateLinkTokenData, CreateLinkTokenResponses, CreateLinkTokenErrors, ExchangeLinkTokenData, ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, InitOAuthData, InitOAuthResponses, InitOAuthErrors, OauthCallbackData, OauthCallbackResponses, OauthCallbackErrors, QueryFinancialAgentData, QueryFinancialAgentResponses, QueryFinancialAgentErrors, ListMcpToolsData, ListMcpToolsResponses, ListMcpToolsErrors, CallMcpToolData, CallMcpToolResponses, CallMcpToolErrors, ListBackupsData, ListBackupsResponses, ListBackupsErrors, CreateBackupData, CreateBackupResponses, CreateBackupErrors, ExportBackupData, ExportBackupResponses, ExportBackupErrors, GetBackupDownloadUrlData, GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, RestoreBackupData, RestoreBackupResponses, RestoreBackupErrors, GetBackupStatsData, GetBackupStatsResponses, GetBackupStatsErrors, GetGraphMetricsData, GetGraphMetricsResponses, GetGraphMetricsErrors, GetGraphUsageStatsData, GetGraphUsageStatsResponses, GetGraphUsageStatsErrors, ExecuteCypherQueryData, ExecuteCypherQueryResponses, ExecuteCypherQueryErrors, GetGraphSchemaInfoData, GetGraphSchemaInfoResponses, GetGraphSchemaInfoErrors, ValidateSchemaData, ValidateSchemaResponses, ValidateSchemaErrors, ExportGraphSchemaData, ExportGraphSchemaResponses, ExportGraphSchemaErrors, ListSchemaExtensionsData, ListSchemaExtensionsResponses, ListSchemaExtensionsErrors, 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, CopyDataToGraphData, CopyDataToGraphResponses, CopyDataToGraphErrors, CreateGraphData, CreateGraphResponses, CreateGraphErrors, GetAvailableExtensionsData, GetAvailableExtensionsResponses, 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
|
|
@@ -58,11 +58,6 @@ export declare const ssoTokenExchange: <ThrowOnError extends boolean = false>(op
|
|
|
58
58
|
* Complete SSO authentication using session ID from secure handoff.
|
|
59
59
|
*/
|
|
60
60
|
export declare const completeSsoAuth: <ThrowOnError extends boolean = false>(options: Options<CompleteSsoAuthData, ThrowOnError>) => import("./client").RequestResult<CompleteSsoAuthResponses, CompleteSsoAuthErrors, ThrowOnError, "fields">;
|
|
61
|
-
/**
|
|
62
|
-
* Get CAPTCHA Configuration
|
|
63
|
-
* Get CAPTCHA configuration including site key and whether CAPTCHA is required.
|
|
64
|
-
*/
|
|
65
|
-
export declare const getCaptchaConfig: <ThrowOnError extends boolean = false>(options?: Options<GetCaptchaConfigData, ThrowOnError>) => import("./client").RequestResult<GetCaptchaConfigResponses, unknown, ThrowOnError, "fields">;
|
|
66
61
|
/**
|
|
67
62
|
* Get Password Policy
|
|
68
63
|
* Get current password policy requirements for frontend validation
|
|
@@ -73,6 +68,11 @@ export declare const getPasswordPolicy: <ThrowOnError extends boolean = false>(o
|
|
|
73
68
|
* Check password strength and get validation feedback
|
|
74
69
|
*/
|
|
75
70
|
export declare const checkPasswordStrength: <ThrowOnError extends boolean = false>(options: Options<CheckPasswordStrengthData, ThrowOnError>) => import("./client").RequestResult<CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ThrowOnError, "fields">;
|
|
71
|
+
/**
|
|
72
|
+
* Get CAPTCHA Configuration
|
|
73
|
+
* Get CAPTCHA configuration including site key and whether CAPTCHA is required.
|
|
74
|
+
*/
|
|
75
|
+
export declare const getCaptchaConfig: <ThrowOnError extends boolean = false>(options?: Options<GetCaptchaConfigData, ThrowOnError>) => import("./client").RequestResult<GetCaptchaConfigResponses, unknown, ThrowOnError, "fields">;
|
|
76
76
|
/**
|
|
77
77
|
* Health Check
|
|
78
78
|
* Service health check endpoint for monitoring and load balancers
|
|
@@ -144,6 +144,11 @@ export declare const getUserLimits: <ThrowOnError extends boolean = false>(optio
|
|
|
144
144
|
* Retrieve current usage statistics and remaining limits for the authenticated user
|
|
145
145
|
*/
|
|
146
146
|
export declare const getUserUsage: <ThrowOnError extends boolean = false>(options?: Options<GetUserUsageData, ThrowOnError>) => import("./client").RequestResult<GetUserUsageResponses, GetUserUsageErrors, ThrowOnError, "fields">;
|
|
147
|
+
/**
|
|
148
|
+
* Get all shared repository limits
|
|
149
|
+
* Get rate limit status for all shared repositories the user has access to.
|
|
150
|
+
*/
|
|
151
|
+
export declare const getAllSharedRepositoryLimits: <ThrowOnError extends boolean = false>(options?: Options<GetAllSharedRepositoryLimitsData, ThrowOnError>) => import("./client").RequestResult<GetAllSharedRepositoryLimitsResponses, GetAllSharedRepositoryLimitsErrors, ThrowOnError, "fields">;
|
|
147
152
|
/**
|
|
148
153
|
* Get shared repository rate limit status
|
|
149
154
|
* Get current rate limit status and usage for a shared repository.
|
|
@@ -157,11 +162,6 @@ export declare const getUserUsage: <ThrowOnError extends boolean = false>(option
|
|
|
157
162
|
* Note: All queries are FREE - this only shows rate limit status.
|
|
158
163
|
*/
|
|
159
164
|
export declare const getSharedRepositoryLimits: <ThrowOnError extends boolean = false>(options: Options<GetSharedRepositoryLimitsData, ThrowOnError>) => import("./client").RequestResult<GetSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsErrors, ThrowOnError, "fields">;
|
|
160
|
-
/**
|
|
161
|
-
* Get all shared repository limits
|
|
162
|
-
* Get rate limit status for all shared repositories the user has access to.
|
|
163
|
-
*/
|
|
164
|
-
export declare const getAllSharedRepositoryLimits: <ThrowOnError extends boolean = false>(options?: Options<GetAllSharedRepositoryLimitsData, ThrowOnError>) => import("./client").RequestResult<GetAllSharedRepositoryLimitsResponses, GetAllSharedRepositoryLimitsErrors, ThrowOnError, "fields">;
|
|
165
165
|
/**
|
|
166
166
|
* Get User Usage Overview
|
|
167
167
|
* Get a high-level overview of usage statistics for the current user.
|
|
@@ -202,30 +202,6 @@ export declare const getSharedRepositoryCredits: <ThrowOnError extends boolean =
|
|
|
202
202
|
* Get credit balance for a specific shared repository
|
|
203
203
|
*/
|
|
204
204
|
export declare const getRepositoryCredits: <ThrowOnError extends boolean = false>(options: Options<GetRepositoryCreditsData, ThrowOnError>) => import("./client").RequestResult<GetRepositoryCreditsResponses, GetRepositoryCreditsErrors, ThrowOnError, "fields">;
|
|
205
|
-
/**
|
|
206
|
-
* List Connection Options
|
|
207
|
-
* Get metadata about all available data connection providers.
|
|
208
|
-
*
|
|
209
|
-
* This endpoint returns comprehensive information about each supported provider:
|
|
210
|
-
*
|
|
211
|
-
* **SEC EDGAR**: Public entity financial filings
|
|
212
|
-
* - No authentication required (public data)
|
|
213
|
-
* - 10-K, 10-Q, 8-K reports with XBRL data
|
|
214
|
-
* - Historical and real-time filing access
|
|
215
|
-
*
|
|
216
|
-
* **QuickBooks Online**: Full accounting system integration
|
|
217
|
-
* - OAuth 2.0 authentication
|
|
218
|
-
* - Chart of accounts, transactions, trial balance
|
|
219
|
-
* - Real-time sync capabilities
|
|
220
|
-
*
|
|
221
|
-
* **Plaid**: Bank account connections
|
|
222
|
-
* - Secure bank authentication via Plaid Link
|
|
223
|
-
* - Transaction history and balances
|
|
224
|
-
* - Multi-account support
|
|
225
|
-
*
|
|
226
|
-
* No credits are consumed for viewing connection options.
|
|
227
|
-
*/
|
|
228
|
-
export declare const getConnectionOptions: <ThrowOnError extends boolean = false>(options: Options<GetConnectionOptionsData, ThrowOnError>) => import("./client").RequestResult<GetConnectionOptionsResponses, GetConnectionOptionsErrors, ThrowOnError, "fields">;
|
|
229
205
|
/**
|
|
230
206
|
* List Connections
|
|
231
207
|
* List all data connections in the graph.
|
|
@@ -299,6 +275,30 @@ export declare const deleteConnection: <ThrowOnError extends boolean = false>(op
|
|
|
299
275
|
* No credits are consumed for viewing connection details.
|
|
300
276
|
*/
|
|
301
277
|
export declare const getConnection: <ThrowOnError extends boolean = false>(options: Options<GetConnectionData, ThrowOnError>) => import("./client").RequestResult<GetConnectionResponses, GetConnectionErrors, ThrowOnError, "fields">;
|
|
278
|
+
/**
|
|
279
|
+
* List Connection Options
|
|
280
|
+
* Get metadata about all available data connection providers.
|
|
281
|
+
*
|
|
282
|
+
* This endpoint returns comprehensive information about each supported provider:
|
|
283
|
+
*
|
|
284
|
+
* **SEC EDGAR**: Public entity financial filings
|
|
285
|
+
* - No authentication required (public data)
|
|
286
|
+
* - 10-K, 10-Q, 8-K reports with XBRL data
|
|
287
|
+
* - Historical and real-time filing access
|
|
288
|
+
*
|
|
289
|
+
* **QuickBooks Online**: Full accounting system integration
|
|
290
|
+
* - OAuth 2.0 authentication
|
|
291
|
+
* - Chart of accounts, transactions, trial balance
|
|
292
|
+
* - Real-time sync capabilities
|
|
293
|
+
*
|
|
294
|
+
* **Plaid**: Bank account connections
|
|
295
|
+
* - Secure bank authentication via Plaid Link
|
|
296
|
+
* - Transaction history and balances
|
|
297
|
+
* - Multi-account support
|
|
298
|
+
*
|
|
299
|
+
* No credits are consumed for viewing connection options.
|
|
300
|
+
*/
|
|
301
|
+
export declare const getConnectionOptions: <ThrowOnError extends boolean = false>(options: Options<GetConnectionOptionsData, ThrowOnError>) => import("./client").RequestResult<GetConnectionOptionsResponses, GetConnectionOptionsErrors, ThrowOnError, "fields">;
|
|
302
302
|
/**
|
|
303
303
|
* Sync Connection
|
|
304
304
|
* Trigger a data synchronization for the connection.
|
|
@@ -443,7 +443,7 @@ export declare const oauthCallback: <ThrowOnError extends boolean = false>(optio
|
|
|
443
443
|
*
|
|
444
444
|
* **Credit Consumption:**
|
|
445
445
|
* - AI operations consume credits based on actual token usage
|
|
446
|
-
* - Claude 4 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
|
|
446
|
+
* - Claude 4/4.1 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
|
|
447
447
|
* - Claude 4 Sonnet: ~3 credits per 1K input tokens, ~15 credits per 1K output tokens
|
|
448
448
|
* - Credits are consumed after operation completes based on actual usage
|
|
449
449
|
*
|
|
@@ -507,6 +507,11 @@ export declare const listMcpTools: <ThrowOnError extends boolean = false>(option
|
|
|
507
507
|
* MCP tool calls are currently FREE and do not consume credits.
|
|
508
508
|
*/
|
|
509
509
|
export declare const callMcpTool: <ThrowOnError extends boolean = false>(options: Options<CallMcpToolData, ThrowOnError>) => import("./client").RequestResult<CallMcpToolResponses, CallMcpToolErrors, ThrowOnError, "fields">;
|
|
510
|
+
/**
|
|
511
|
+
* List Kuzu graph backups
|
|
512
|
+
* List all backups for the specified graph database
|
|
513
|
+
*/
|
|
514
|
+
export declare const listBackups: <ThrowOnError extends boolean = false>(options: Options<ListBackupsData, ThrowOnError>) => import("./client").RequestResult<ListBackupsResponses, ListBackupsErrors, ThrowOnError, "fields">;
|
|
510
515
|
/**
|
|
511
516
|
* Create Backup
|
|
512
517
|
* Create a backup of the graph database.
|
|
@@ -553,16 +558,16 @@ export declare const callMcpTool: <ThrowOnError extends boolean = false>(options
|
|
|
553
558
|
* Returns operation details for SSE monitoring.
|
|
554
559
|
*/
|
|
555
560
|
export declare const createBackup: <ThrowOnError extends boolean = false>(options: Options<CreateBackupData, ThrowOnError>) => import("./client").RequestResult<CreateBackupResponses, CreateBackupErrors, ThrowOnError, "fields">;
|
|
556
|
-
/**
|
|
557
|
-
* List Kuzu graph backups
|
|
558
|
-
* List all backups for the specified graph database
|
|
559
|
-
*/
|
|
560
|
-
export declare const listBackups: <ThrowOnError extends boolean = false>(options: Options<ListBackupsData, ThrowOnError>) => import("./client").RequestResult<ListBackupsResponses, ListBackupsErrors, ThrowOnError, "fields">;
|
|
561
561
|
/**
|
|
562
562
|
* Export Kuzu backup for download
|
|
563
563
|
* Export a backup file for download (only available for non-encrypted, compressed .kuzu backups)
|
|
564
564
|
*/
|
|
565
565
|
export declare const exportBackup: <ThrowOnError extends boolean = false>(options: Options<ExportBackupData, ThrowOnError>) => import("./client").RequestResult<ExportBackupResponses, ExportBackupErrors, ThrowOnError, "fields">;
|
|
566
|
+
/**
|
|
567
|
+
* Get temporary download URL for backup
|
|
568
|
+
* Generate a temporary download URL for a backup (unencrypted, compressed .kuzu files only)
|
|
569
|
+
*/
|
|
570
|
+
export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => import("./client").RequestResult<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError, "fields">;
|
|
566
571
|
/**
|
|
567
572
|
* Restore Encrypted Backup
|
|
568
573
|
* Restore a graph database from an encrypted backup.
|
|
@@ -614,16 +619,6 @@ export declare const restoreBackup: <ThrowOnError extends boolean = false>(optio
|
|
|
614
619
|
* Get comprehensive backup statistics for the specified graph database
|
|
615
620
|
*/
|
|
616
621
|
export declare const getBackupStats: <ThrowOnError extends boolean = false>(options: Options<GetBackupStatsData, ThrowOnError>) => import("./client").RequestResult<GetBackupStatsResponses, GetBackupStatsErrors, ThrowOnError, "fields">;
|
|
617
|
-
/**
|
|
618
|
-
* Check Kuzu backup system health
|
|
619
|
-
* Check the health status of the Kuzu backup system
|
|
620
|
-
*/
|
|
621
|
-
export declare const kuzuBackupHealth: <ThrowOnError extends boolean = false>(options: Options<KuzuBackupHealthData, ThrowOnError>) => import("./client").RequestResult<KuzuBackupHealthResponses, KuzuBackupHealthErrors, ThrowOnError, "fields">;
|
|
622
|
-
/**
|
|
623
|
-
* Get temporary download URL for backup
|
|
624
|
-
* Generate a temporary download URL for a backup (unencrypted, compressed .kuzu files only)
|
|
625
|
-
*/
|
|
626
|
-
export declare const getBackupDownloadUrl: <ThrowOnError extends boolean = false>(options: Options<GetBackupDownloadUrlData, ThrowOnError>) => import("./client").RequestResult<GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, ThrowOnError, "fields">;
|
|
627
622
|
/**
|
|
628
623
|
* Get Graph Metrics
|
|
629
624
|
* Get comprehensive metrics for the graph database.
|
|
@@ -791,21 +786,25 @@ export declare const listSchemaExtensions: <ThrowOnError extends boolean = false
|
|
|
791
786
|
*/
|
|
792
787
|
export declare const getCurrentGraphBill: <ThrowOnError extends boolean = false>(options: Options<GetCurrentGraphBillData, ThrowOnError>) => import("./client").RequestResult<GetCurrentGraphBillResponses, GetCurrentGraphBillErrors, ThrowOnError, "fields">;
|
|
793
788
|
/**
|
|
794
|
-
* Get
|
|
795
|
-
* Get
|
|
789
|
+
* Get Usage Details
|
|
790
|
+
* Get detailed usage metrics for the graph.
|
|
796
791
|
*
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
* -
|
|
800
|
-
* -
|
|
801
|
-
* -
|
|
802
|
-
* -
|
|
792
|
+
* Provides granular usage information including:
|
|
793
|
+
* - **Daily Credit Consumption**: Track credit usage patterns
|
|
794
|
+
* - **Storage Growth**: Monitor database size over time
|
|
795
|
+
* - **Operation Breakdown**: Credits by operation type
|
|
796
|
+
* - **Peak Usage Times**: Identify high-activity periods
|
|
797
|
+
* - **API Call Volumes**: Request counts and patterns
|
|
803
798
|
*
|
|
804
|
-
*
|
|
799
|
+
* Useful for:
|
|
800
|
+
* - Optimizing credit consumption
|
|
801
|
+
* - Capacity planning
|
|
802
|
+
* - Usage trend analysis
|
|
803
|
+
* - Cost optimization
|
|
805
804
|
*
|
|
806
|
-
* ℹ️ No credits are consumed for viewing
|
|
805
|
+
* ℹ️ No credits are consumed for viewing usage details.
|
|
807
806
|
*/
|
|
808
|
-
export declare const
|
|
807
|
+
export declare const getGraphUsageDetails: <ThrowOnError extends boolean = false>(options: Options<GetGraphUsageDetailsData, ThrowOnError>) => import("./client").RequestResult<GetGraphUsageDetailsResponses, GetGraphUsageDetailsErrors, ThrowOnError, "fields">;
|
|
809
808
|
/**
|
|
810
809
|
* Get Billing History
|
|
811
810
|
* Get billing history for the graph.
|
|
@@ -826,53 +825,21 @@ export declare const getGraphMonthlyBill: <ThrowOnError extends boolean = false>
|
|
|
826
825
|
*/
|
|
827
826
|
export declare const getGraphBillingHistory: <ThrowOnError extends boolean = false>(options: Options<GetGraphBillingHistoryData, ThrowOnError>) => import("./client").RequestResult<GetGraphBillingHistoryResponses, GetGraphBillingHistoryErrors, ThrowOnError, "fields">;
|
|
828
827
|
/**
|
|
829
|
-
* Get
|
|
830
|
-
* Get
|
|
831
|
-
*
|
|
832
|
-
* Provides granular usage information including:
|
|
833
|
-
* - **Daily Credit Consumption**: Track credit usage patterns
|
|
834
|
-
* - **Storage Growth**: Monitor database size over time
|
|
835
|
-
* - **Operation Breakdown**: Credits by operation type
|
|
836
|
-
* - **Peak Usage Times**: Identify high-activity periods
|
|
837
|
-
* - **API Call Volumes**: Request counts and patterns
|
|
828
|
+
* Get Monthly Bill
|
|
829
|
+
* Get billing details for a specific month.
|
|
838
830
|
*
|
|
831
|
+
* Retrieve historical billing information for any previous month.
|
|
839
832
|
* Useful for:
|
|
840
|
-
* -
|
|
841
|
-
* -
|
|
842
|
-
* -
|
|
843
|
-
* -
|
|
833
|
+
* - Reconciling past charges
|
|
834
|
+
* - Tracking usage trends
|
|
835
|
+
* - Expense reporting
|
|
836
|
+
* - Budget analysis
|
|
844
837
|
*
|
|
845
|
-
*
|
|
846
|
-
*/
|
|
847
|
-
export declare const getGraphUsageDetails: <ThrowOnError extends boolean = false>(options: Options<GetGraphUsageDetailsData, ThrowOnError>) => import("./client").RequestResult<GetGraphUsageDetailsResponses, GetGraphUsageDetailsErrors, ThrowOnError, "fields">;
|
|
848
|
-
/**
|
|
849
|
-
* Get Graph Pricing Info
|
|
850
|
-
* Get pricing information for a specific graph database.
|
|
851
|
-
*/
|
|
852
|
-
export declare const getGraphPricingInfoV1GraphIdBillingPricingGet: <ThrowOnError extends boolean = false>(options: Options<GetGraphPricingInfoV1GraphIdBillingPricingGetData, ThrowOnError>) => import("./client").RequestResult<GetGraphPricingInfoV1GraphIdBillingPricingGetResponses, GetGraphPricingInfoV1GraphIdBillingPricingGetErrors, ThrowOnError, "fields">;
|
|
853
|
-
/**
|
|
854
|
-
* Upgrade Graph Subscription
|
|
855
|
-
* Upgrade subscription for a specific graph database.
|
|
856
|
-
*/
|
|
857
|
-
export declare const upgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePost: <ThrowOnError extends boolean = false>(options: Options<UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostData, ThrowOnError>) => import("./client").RequestResult<UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostResponses, UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors, ThrowOnError, "fields">;
|
|
858
|
-
/**
|
|
859
|
-
* Get Graph Subscription
|
|
860
|
-
* Get current subscription for a graph database.
|
|
861
|
-
*/
|
|
862
|
-
export declare const getGraphSubscriptionV1GraphIdBillingSubscriptionGet: <ThrowOnError extends boolean = false>(options: Options<GetGraphSubscriptionV1GraphIdBillingSubscriptionGetData, ThrowOnError>) => import("./client").RequestResult<GetGraphSubscriptionV1GraphIdBillingSubscriptionGetResponses, GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors, ThrowOnError, "fields">;
|
|
863
|
-
/**
|
|
864
|
-
* Get Available Subscription Plans
|
|
865
|
-
* Get available subscription plans for upgrade.
|
|
866
|
-
*/
|
|
867
|
-
export declare const getAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGet: <ThrowOnError extends boolean = false>(options: Options<GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetData, ThrowOnError>) => import("./client").RequestResult<GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetResponses, GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors, ThrowOnError, "fields">;
|
|
868
|
-
/**
|
|
869
|
-
* Get Credit Billing Info
|
|
870
|
-
* Get credit-based billing information for a specific graph.
|
|
838
|
+
* Returns the same detailed breakdown as the current bill endpoint.
|
|
871
839
|
*
|
|
872
|
-
*
|
|
873
|
-
* without consuming credits (for billing transparency).
|
|
840
|
+
* ℹ️ No credits are consumed for viewing billing history.
|
|
874
841
|
*/
|
|
875
|
-
export declare const
|
|
842
|
+
export declare const getGraphMonthlyBill: <ThrowOnError extends boolean = false>(options: Options<GetGraphMonthlyBillData, ThrowOnError>) => import("./client").RequestResult<GetGraphMonthlyBillResponses, GetGraphMonthlyBillErrors, ThrowOnError, "fields">;
|
|
876
843
|
/**
|
|
877
844
|
* Get Credit Summary
|
|
878
845
|
* Retrieve comprehensive credit usage summary for the specified graph.
|
|
@@ -991,6 +958,145 @@ export declare const getDatabaseHealth: <ThrowOnError extends boolean = false>(o
|
|
|
991
958
|
* This endpoint provides essential database information for capacity planning and monitoring.
|
|
992
959
|
*/
|
|
993
960
|
export declare const getDatabaseInfo: <ThrowOnError extends boolean = false>(options: Options<GetDatabaseInfoData, ThrowOnError>) => import("./client").RequestResult<GetDatabaseInfoResponses, GetDatabaseInfoErrors, ThrowOnError, "fields">;
|
|
961
|
+
/**
|
|
962
|
+
* Get Graph Operational Limits
|
|
963
|
+
* Get comprehensive operational limits for the graph database.
|
|
964
|
+
*
|
|
965
|
+
* Returns all operational limits that apply to this graph including:
|
|
966
|
+
* - **Storage Limits**: Maximum storage size and current usage
|
|
967
|
+
* - **Query Limits**: Timeouts, complexity, row limits
|
|
968
|
+
* - **Copy/Ingestion Limits**: File sizes, timeouts, concurrent operations
|
|
969
|
+
* - **Backup Limits**: Frequency, retention, size limits
|
|
970
|
+
* - **Rate Limits**: Requests per minute/hour based on tier
|
|
971
|
+
* - **Credit Limits**: AI operation credits (if applicable)
|
|
972
|
+
*
|
|
973
|
+
* This unified endpoint provides all limits in one place for easier client integration.
|
|
974
|
+
*
|
|
975
|
+
* **Note**: Limits vary based on subscription tier (Standard, Enterprise, Premium).
|
|
976
|
+
*/
|
|
977
|
+
export declare const getGraphLimits: <ThrowOnError extends boolean = false>(options: Options<GetGraphLimitsData, ThrowOnError>) => import("./client").RequestResult<GetGraphLimitsResponses, GetGraphLimitsErrors, ThrowOnError, "fields">;
|
|
978
|
+
/**
|
|
979
|
+
* List Subgraphs
|
|
980
|
+
* List all subgraphs for a parent graph.
|
|
981
|
+
*
|
|
982
|
+
* **Requirements:**
|
|
983
|
+
* - Valid authentication
|
|
984
|
+
* - Parent graph must exist and be accessible to the user
|
|
985
|
+
* - User must have at least 'read' permission on the parent graph
|
|
986
|
+
*
|
|
987
|
+
* **Returns:**
|
|
988
|
+
* - List of all subgraphs for the parent graph
|
|
989
|
+
* - Each subgraph includes its ID, name, description, type, status, and creation date
|
|
990
|
+
*/
|
|
991
|
+
export declare const listSubgraphs: <ThrowOnError extends boolean = false>(options: Options<ListSubgraphsData, ThrowOnError>) => import("./client").RequestResult<ListSubgraphsResponses, ListSubgraphsErrors, ThrowOnError, "fields">;
|
|
992
|
+
/**
|
|
993
|
+
* Create Subgraph
|
|
994
|
+
* Create a new subgraph within a parent graph.
|
|
995
|
+
*
|
|
996
|
+
* **Requirements:**
|
|
997
|
+
* - Valid authentication
|
|
998
|
+
* - Parent graph must exist and be accessible to the user
|
|
999
|
+
* - User must have 'admin' permission on the parent graph
|
|
1000
|
+
* - Parent graph tier must support subgraphs (Enterprise or Premium only)
|
|
1001
|
+
* - Must be within subgraph quota limits
|
|
1002
|
+
* - Subgraph name must be unique within the parent graph
|
|
1003
|
+
*
|
|
1004
|
+
* **Returns:**
|
|
1005
|
+
* - Created subgraph details including its unique ID
|
|
1006
|
+
*/
|
|
1007
|
+
export declare const createSubgraph: <ThrowOnError extends boolean = false>(options: Options<CreateSubgraphData, ThrowOnError>) => import("./client").RequestResult<CreateSubgraphResponses, CreateSubgraphErrors, ThrowOnError, "fields">;
|
|
1008
|
+
/**
|
|
1009
|
+
* Delete Subgraph
|
|
1010
|
+
* Delete a subgraph database.
|
|
1011
|
+
*
|
|
1012
|
+
* **Requirements:**
|
|
1013
|
+
* - Must be a valid subgraph (not parent graph)
|
|
1014
|
+
* - User must have admin access to parent graph
|
|
1015
|
+
* - Optional backup before deletion
|
|
1016
|
+
*
|
|
1017
|
+
* **Deletion Options:**
|
|
1018
|
+
* - `force`: Delete even if contains data
|
|
1019
|
+
* - `backup_first`: Create backup before deletion
|
|
1020
|
+
*
|
|
1021
|
+
* **Warning:**
|
|
1022
|
+
* Deletion is permanent unless backup is created.
|
|
1023
|
+
* All data in the subgraph will be lost.
|
|
1024
|
+
*
|
|
1025
|
+
* **Backup Location:**
|
|
1026
|
+
* If backup requested, stored in S3 at:
|
|
1027
|
+
* `s3://robosystems-backups/{instance_id}/{database_name}_{timestamp}.backup`
|
|
1028
|
+
*/
|
|
1029
|
+
export declare const deleteSubgraph: <ThrowOnError extends boolean = false>(options: Options<DeleteSubgraphData, ThrowOnError>) => import("./client").RequestResult<DeleteSubgraphResponses, DeleteSubgraphErrors, ThrowOnError, "fields">;
|
|
1030
|
+
/**
|
|
1031
|
+
* Get Subgraph Details
|
|
1032
|
+
* Get detailed information about a specific subgraph.
|
|
1033
|
+
*
|
|
1034
|
+
* **Requirements:**
|
|
1035
|
+
* - User must have read access to parent graph
|
|
1036
|
+
*
|
|
1037
|
+
* **Response includes:**
|
|
1038
|
+
* - Full subgraph metadata
|
|
1039
|
+
* - Database statistics (nodes, edges)
|
|
1040
|
+
* - Size information
|
|
1041
|
+
* - Schema configuration
|
|
1042
|
+
* - Creation/modification timestamps
|
|
1043
|
+
* - Last access time (when available)
|
|
1044
|
+
*
|
|
1045
|
+
* **Statistics:**
|
|
1046
|
+
* Real-time statistics queried from Kuzu:
|
|
1047
|
+
* - Node count
|
|
1048
|
+
* - Edge count
|
|
1049
|
+
* - Database size on disk
|
|
1050
|
+
* - Schema information
|
|
1051
|
+
*/
|
|
1052
|
+
export declare const getSubgraphInfo: <ThrowOnError extends boolean = false>(options: Options<GetSubgraphInfoData, ThrowOnError>) => import("./client").RequestResult<GetSubgraphInfoResponses, GetSubgraphInfoErrors, ThrowOnError, "fields">;
|
|
1053
|
+
/**
|
|
1054
|
+
* Get Subgraph Quota
|
|
1055
|
+
* Get subgraph quota and usage information for a parent graph.
|
|
1056
|
+
*
|
|
1057
|
+
* **Shows:**
|
|
1058
|
+
* - Current subgraph count
|
|
1059
|
+
* - Maximum allowed subgraphs per tier
|
|
1060
|
+
* - Remaining capacity
|
|
1061
|
+
* - Total size usage across all subgraphs
|
|
1062
|
+
*
|
|
1063
|
+
* **Tier Limits:**
|
|
1064
|
+
* - Standard: 0 subgraphs (not supported)
|
|
1065
|
+
* - Enterprise: Configurable limit (default: 10 subgraphs)
|
|
1066
|
+
* - Premium: Unlimited subgraphs
|
|
1067
|
+
* - Limits are defined in deployment configuration
|
|
1068
|
+
*
|
|
1069
|
+
* **Size Tracking:**
|
|
1070
|
+
* Provides aggregate size metrics when available.
|
|
1071
|
+
* Individual subgraph sizes shown in list endpoint.
|
|
1072
|
+
*/
|
|
1073
|
+
export declare const getSubgraphQuota: <ThrowOnError extends boolean = false>(options: Options<GetSubgraphQuotaData, ThrowOnError>) => import("./client").RequestResult<GetSubgraphQuotaResponses, GetSubgraphQuotaErrors, ThrowOnError, "fields">;
|
|
1074
|
+
/**
|
|
1075
|
+
* Copy Data to Graph
|
|
1076
|
+
* Copy data from external sources into the graph database.
|
|
1077
|
+
*
|
|
1078
|
+
* This endpoint supports multiple data sources through a unified interface:
|
|
1079
|
+
* - **S3**: Copy from S3 buckets with user-provided credentials
|
|
1080
|
+
* - **URL** (future): Copy from HTTP(S) URLs
|
|
1081
|
+
* - **DataFrame** (future): Copy from uploaded DataFrames
|
|
1082
|
+
*
|
|
1083
|
+
* **Security:**
|
|
1084
|
+
* - Requires write permissions to the target graph
|
|
1085
|
+
* - **Not allowed on shared repositories** (sec, industry, economic) - these are read-only
|
|
1086
|
+
* - User must provide their own AWS credentials for S3 access
|
|
1087
|
+
* - All operations are logged for audit purposes
|
|
1088
|
+
*
|
|
1089
|
+
* **Tier Limits:**
|
|
1090
|
+
* - Standard: 10GB max file size, 15 min timeout
|
|
1091
|
+
* - Enterprise: 50GB max file size, 30 min timeout
|
|
1092
|
+
* - Premium: 100GB max file size, 60 min timeout
|
|
1093
|
+
*
|
|
1094
|
+
* **Copy Options:**
|
|
1095
|
+
* - `ignore_errors`: Skip duplicate/invalid rows (enables upsert-like behavior)
|
|
1096
|
+
* - `extended_timeout`: Use extended timeout for large datasets
|
|
1097
|
+
* - `validate_schema`: Validate source schema against target table
|
|
1098
|
+
*/
|
|
1099
|
+
export declare const copyDataToGraph: <ThrowOnError extends boolean = false>(options: Options<CopyDataToGraphData, ThrowOnError>) => import("./client").RequestResult<CopyDataToGraphResponses, CopyDataToGraphErrors, ThrowOnError, "fields">;
|
|
994
1100
|
/**
|
|
995
1101
|
* Create New Graph Database
|
|
996
1102
|
* Create a new graph database with specified schema and optionally an initial entity.
|