@robosystems/client 0.1.15 → 0.1.16

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.
Files changed (66) hide show
  1. package/package.json +48 -6
  2. package/sdk/client/client.gen.d.ts +2 -0
  3. package/sdk/client/client.gen.js +153 -0
  4. package/sdk/client/client.gen.ts +200 -0
  5. package/sdk/client/index.d.ts +7 -0
  6. package/sdk/client/index.js +15 -0
  7. package/sdk/client/index.ts +25 -0
  8. package/sdk/client/types.gen.d.ts +122 -0
  9. package/sdk/client/types.gen.js +4 -0
  10. package/sdk/client/types.gen.ts +233 -0
  11. package/sdk/client/utils.gen.d.ts +45 -0
  12. package/sdk/client/utils.gen.js +296 -0
  13. package/sdk/client/utils.gen.ts +419 -0
  14. package/sdk/client.gen.d.ts +12 -0
  15. package/sdk/client.gen.js +8 -0
  16. package/sdk/client.gen.ts +18 -0
  17. package/sdk/core/auth.gen.d.ts +18 -0
  18. package/sdk/core/auth.gen.js +18 -0
  19. package/sdk/core/auth.gen.ts +42 -0
  20. package/sdk/core/bodySerializer.gen.d.ts +17 -0
  21. package/sdk/core/bodySerializer.gen.js +57 -0
  22. package/sdk/core/bodySerializer.gen.ts +90 -0
  23. package/sdk/core/params.gen.d.ts +33 -0
  24. package/sdk/core/params.gen.js +92 -0
  25. package/sdk/core/params.gen.ts +153 -0
  26. package/sdk/core/pathSerializer.gen.d.ts +33 -0
  27. package/sdk/core/pathSerializer.gen.js +123 -0
  28. package/sdk/core/pathSerializer.gen.ts +181 -0
  29. package/sdk/core/types.gen.d.ts +78 -0
  30. package/sdk/core/types.gen.js +4 -0
  31. package/sdk/core/types.gen.ts +121 -0
  32. package/sdk/index.d.ts +2 -0
  33. package/sdk/index.js +19 -0
  34. package/sdk/index.ts +3 -0
  35. package/sdk/sdk.gen.d.ts +1269 -0
  36. package/sdk/sdk.gen.js +2664 -0
  37. package/sdk/sdk.gen.ts +2677 -0
  38. package/sdk/types.gen.d.ts +6265 -0
  39. package/sdk/types.gen.js +3 -0
  40. package/sdk/types.gen.ts +6784 -0
  41. package/sdk-extensions/OperationClient.d.ts +64 -0
  42. package/sdk-extensions/OperationClient.js +251 -0
  43. package/sdk-extensions/OperationClient.ts +322 -0
  44. package/sdk-extensions/QueryClient.d.ts +50 -0
  45. package/sdk-extensions/QueryClient.js +190 -0
  46. package/sdk-extensions/QueryClient.ts +283 -0
  47. package/sdk-extensions/README.md +672 -0
  48. package/sdk-extensions/SSEClient.d.ts +48 -0
  49. package/sdk-extensions/SSEClient.js +148 -0
  50. package/sdk-extensions/SSEClient.ts +189 -0
  51. package/sdk-extensions/config.d.ts +32 -0
  52. package/sdk-extensions/config.js +74 -0
  53. package/sdk-extensions/config.ts +91 -0
  54. package/sdk-extensions/hooks.d.ts +110 -0
  55. package/sdk-extensions/hooks.js +371 -0
  56. package/sdk-extensions/hooks.ts +438 -0
  57. package/sdk-extensions/index.d.ts +46 -0
  58. package/sdk-extensions/index.js +110 -0
  59. package/sdk-extensions/index.ts +123 -0
  60. package/sdk.gen.d.ts +128 -2
  61. package/sdk.gen.js +216 -2
  62. package/sdk.gen.ts +216 -2
  63. package/types.gen.d.ts +573 -4
  64. package/types.gen.ts +606 -4
  65. package/openapi-ts.config.js +0 -9
  66. package/prepare.js +0 -220
@@ -0,0 +1,1269 @@
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, GetCaptchaConfigData, GetCaptchaConfigResponses, GetPasswordPolicyData, GetPasswordPolicyResponses, CheckPasswordStrengthData, CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, 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, GetSharedRepositoryLimitsData, GetSharedRepositoryLimitsResponses, GetSharedRepositoryLimitsErrors, GetAllSharedRepositoryLimitsData, GetAllSharedRepositoryLimitsResponses, GetAllSharedRepositoryLimitsErrors, GetUserUsageOverviewData, GetUserUsageOverviewResponses, GetUserUsageOverviewErrors, GetDetailedUserAnalyticsData, GetDetailedUserAnalyticsResponses, GetDetailedUserAnalyticsErrors, GetUserSharedSubscriptionsData, GetUserSharedSubscriptionsResponses, GetUserSharedSubscriptionsErrors, SubscribeToSharedRepositoryData, SubscribeToSharedRepositoryResponses, SubscribeToSharedRepositoryErrors, UpgradeSharedRepositorySubscriptionData, UpgradeSharedRepositorySubscriptionResponses, UpgradeSharedRepositorySubscriptionErrors, CancelSharedRepositorySubscriptionData, CancelSharedRepositorySubscriptionResponses, CancelSharedRepositorySubscriptionErrors, GetSharedRepositoryCreditsData, GetSharedRepositoryCreditsResponses, GetSharedRepositoryCreditsErrors, GetRepositoryCreditsData, GetRepositoryCreditsResponses, GetRepositoryCreditsErrors, GetConnectionOptionsData, GetConnectionOptionsResponses, GetConnectionOptionsErrors, ListConnectionsData, ListConnectionsResponses, ListConnectionsErrors, CreateConnectionData, CreateConnectionResponses, CreateConnectionErrors, DeleteConnectionData, DeleteConnectionResponses, DeleteConnectionErrors, GetConnectionData, GetConnectionResponses, GetConnectionErrors, SyncConnectionData, SyncConnectionResponses, SyncConnectionErrors, CreateLinkTokenData, CreateLinkTokenResponses, CreateLinkTokenErrors, ExchangeLinkTokenData, ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, InitOAuthData, InitOAuthResponses, InitOAuthErrors, OauthCallbackData, OauthCallbackResponses, OauthCallbackErrors, QueryFinancialAgentData, QueryFinancialAgentResponses, QueryFinancialAgentErrors, ListMcpToolsData, ListMcpToolsResponses, ListMcpToolsErrors, CallMcpToolData, CallMcpToolResponses, CallMcpToolErrors, CreateBackupData, CreateBackupResponses, CreateBackupErrors, ListBackupsData, ListBackupsResponses, ListBackupsErrors, ExportBackupData, ExportBackupResponses, ExportBackupErrors, RestoreBackupData, RestoreBackupResponses, RestoreBackupErrors, GetBackupStatsData, GetBackupStatsResponses, GetBackupStatsErrors, KuzuBackupHealthData, KuzuBackupHealthResponses, KuzuBackupHealthErrors, GetBackupDownloadUrlData, GetBackupDownloadUrlResponses, GetBackupDownloadUrlErrors, GetGraphMetricsData, GetGraphMetricsResponses, GetGraphMetricsErrors, GetGraphUsageStatsData, GetGraphUsageStatsResponses, GetGraphUsageStatsErrors, ExecuteCypherQueryData, ExecuteCypherQueryResponses, ExecuteCypherQueryErrors, GetGraphSchemaInfoData, GetGraphSchemaInfoResponses, GetGraphSchemaInfoErrors, ValidateSchemaData, ValidateSchemaResponses, ValidateSchemaErrors, ExportGraphSchemaData, ExportGraphSchemaResponses, ExportGraphSchemaErrors, ListSchemaExtensionsData, ListSchemaExtensionsResponses, ListSchemaExtensionsErrors, GetCurrentGraphBillData, GetCurrentGraphBillResponses, GetCurrentGraphBillErrors, GetGraphMonthlyBillData, GetGraphMonthlyBillResponses, GetGraphMonthlyBillErrors, GetGraphBillingHistoryData, GetGraphBillingHistoryResponses, GetGraphBillingHistoryErrors, GetGraphUsageDetailsData, GetGraphUsageDetailsResponses, GetGraphUsageDetailsErrors, GetGraphPricingInfoV1GraphIdBillingPricingGetData, GetGraphPricingInfoV1GraphIdBillingPricingGetResponses, GetGraphPricingInfoV1GraphIdBillingPricingGetErrors, UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostData, UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostResponses, UpgradeGraphSubscriptionV1GraphIdBillingSubscriptionUpgradePostErrors, GetGraphSubscriptionV1GraphIdBillingSubscriptionGetData, GetGraphSubscriptionV1GraphIdBillingSubscriptionGetResponses, GetGraphSubscriptionV1GraphIdBillingSubscriptionGetErrors, GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetData, GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetResponses, GetAvailableSubscriptionPlansV1GraphIdBillingAvailablePlansGetErrors, GetCreditBillingInfoV1GraphIdBillingCreditsGetData, GetCreditBillingInfoV1GraphIdBillingCreditsGetResponses, GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors, GetCreditSummaryData, GetCreditSummaryResponses, GetCreditSummaryErrors, ListCreditTransactionsData, ListCreditTransactionsResponses, ListCreditTransactionsErrors, CheckCreditBalanceData, CheckCreditBalanceResponses, CheckCreditBalanceErrors, GetStorageUsageData, GetStorageUsageResponses, GetStorageUsageErrors, CheckStorageLimitsData, CheckStorageLimitsResponses, CheckStorageLimitsErrors, GetDatabaseHealthData, GetDatabaseHealthResponses, GetDatabaseHealthErrors, GetDatabaseInfoData, GetDatabaseInfoResponses, GetDatabaseInfoErrors, ListSubgraphsData, ListSubgraphsResponses, ListSubgraphsErrors, CreateSubgraphData, CreateSubgraphResponses, CreateSubgraphErrors, DeleteSubgraphData, DeleteSubgraphResponses, DeleteSubgraphErrors, GetSubgraphQuotaData, GetSubgraphQuotaResponses, GetSubgraphQuotaErrors, GetSubgraphInfoData, GetSubgraphInfoResponses, GetSubgraphInfoErrors, CreateGraphData, CreateGraphResponses, CreateGraphErrors, GetAvailableExtensionsData, GetAvailableExtensionsResponses, GetServiceOfferingsData, GetServiceOfferingsResponses, GetServiceOfferingsErrors, StreamOperationEventsData, StreamOperationEventsResponses, StreamOperationEventsErrors, GetOperationStatusData, GetOperationStatusResponses, GetOperationStatusErrors, CancelOperationData, CancelOperationResponses, CancelOperationErrors } from './types.gen';
3
+ export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = ClientOptions<TData, ThrowOnError> & {
4
+ /**
5
+ * You can provide a client instance returned by `createClient()` instead of
6
+ * individual options. This might be also useful if you want to implement a
7
+ * custom client.
8
+ */
9
+ client?: Client;
10
+ /**
11
+ * You can pass arbitrary values through the `meta` object. This can be
12
+ * used to access values that aren't defined as part of the SDK function.
13
+ */
14
+ meta?: Record<string, unknown>;
15
+ };
16
+ /**
17
+ * Register New User
18
+ * Register a new user account with email and password. Security controls vary by environment: CAPTCHA and email verification are disabled in development for API testing, but required in production.
19
+ */
20
+ export declare const registerUser: <ThrowOnError extends boolean = false>(options: Options<RegisterUserData, ThrowOnError>) => import("./client").RequestResult<RegisterUserResponses, RegisterUserErrors, ThrowOnError, "fields">;
21
+ /**
22
+ * User Login
23
+ * Authenticate user with email and password.
24
+ */
25
+ export declare const loginUser: <ThrowOnError extends boolean = false>(options: Options<LoginUserData, ThrowOnError>) => import("./client").RequestResult<LoginUserResponses, LoginUserErrors, ThrowOnError, "fields">;
26
+ /**
27
+ * User Logout
28
+ * Logout user and invalidate session.
29
+ */
30
+ export declare const logoutUser: <ThrowOnError extends boolean = false>(options?: Options<LogoutUserData, ThrowOnError>) => import("./client").RequestResult<LogoutUserResponses, LogoutUserErrors, ThrowOnError, "fields">;
31
+ /**
32
+ * Get Current User
33
+ * Get current authenticated user from session.
34
+ */
35
+ export declare const getCurrentAuthUser: <ThrowOnError extends boolean = false>(options?: Options<GetCurrentAuthUserData, ThrowOnError>) => import("./client").RequestResult<GetCurrentAuthUserResponses, GetCurrentAuthUserErrors, ThrowOnError, "fields">;
36
+ /**
37
+ * Refresh Session
38
+ * Refresh user session and extend authentication token.
39
+ */
40
+ export declare const refreshSession: <ThrowOnError extends boolean = false>(options?: Options<RefreshSessionData, ThrowOnError>) => import("./client").RequestResult<RefreshSessionResponses, RefreshSessionErrors, ThrowOnError, "fields">;
41
+ /**
42
+ * Generate SSO Token
43
+ * Generate a temporary SSO token for cross-app authentication.
44
+ */
45
+ export declare const generateSsoToken: <ThrowOnError extends boolean = false>(options?: Options<GenerateSsoTokenData, ThrowOnError>) => import("./client").RequestResult<GenerateSsoTokenResponses, GenerateSsoTokenErrors, ThrowOnError, "fields">;
46
+ /**
47
+ * SSO Login
48
+ * Authenticate user with SSO token and establish session.
49
+ */
50
+ export declare const ssoLogin: <ThrowOnError extends boolean = false>(options: Options<SsoLoginData, ThrowOnError>) => import("./client").RequestResult<SsoLoginResponses, SsoLoginErrors, ThrowOnError, "fields">;
51
+ /**
52
+ * SSO Token Exchange
53
+ * Exchange SSO token for secure session handoff to target application.
54
+ */
55
+ export declare const ssoTokenExchange: <ThrowOnError extends boolean = false>(options: Options<SsoTokenExchangeData, ThrowOnError>) => import("./client").RequestResult<SsoTokenExchangeResponses, SsoTokenExchangeErrors, ThrowOnError, "fields">;
56
+ /**
57
+ * Complete SSO Authentication
58
+ * Complete SSO authentication using session ID from secure handoff.
59
+ */
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
+ /**
67
+ * Get Password Policy
68
+ * Get current password policy requirements for frontend validation
69
+ */
70
+ export declare const getPasswordPolicy: <ThrowOnError extends boolean = false>(options?: Options<GetPasswordPolicyData, ThrowOnError>) => import("./client").RequestResult<GetPasswordPolicyResponses, unknown, ThrowOnError, "fields">;
71
+ /**
72
+ * Check Password Strength
73
+ * Check password strength and get validation feedback
74
+ */
75
+ export declare const checkPasswordStrength: <ThrowOnError extends boolean = false>(options: Options<CheckPasswordStrengthData, ThrowOnError>) => import("./client").RequestResult<CheckPasswordStrengthResponses, CheckPasswordStrengthErrors, ThrowOnError, "fields">;
76
+ /**
77
+ * Health Check
78
+ * Service health check endpoint for monitoring and load balancers
79
+ */
80
+ export declare const getServiceStatus: <ThrowOnError extends boolean = false>(options?: Options<GetServiceStatusData, ThrowOnError>) => import("./client").RequestResult<GetServiceStatusResponses, unknown, ThrowOnError, "fields">;
81
+ /**
82
+ * Get Current User
83
+ * Returns information about the currently authenticated user.
84
+ */
85
+ export declare const getCurrentUser: <ThrowOnError extends boolean = false>(options?: Options<GetCurrentUserData, ThrowOnError>) => import("./client").RequestResult<GetCurrentUserResponses, GetCurrentUserErrors, ThrowOnError, "fields">;
86
+ /**
87
+ * Update User Profile
88
+ * Update the current user's profile information.
89
+ */
90
+ export declare const updateUser: <ThrowOnError extends boolean = false>(options: Options<UpdateUserData, ThrowOnError>) => import("./client").RequestResult<UpdateUserResponses, UpdateUserErrors, ThrowOnError, "fields">;
91
+ /**
92
+ * Get User Graphs
93
+ * Get all graph databases accessible to the current user.
94
+ */
95
+ export declare const getUserGraphs: <ThrowOnError extends boolean = false>(options?: Options<GetUserGraphsData, ThrowOnError>) => import("./client").RequestResult<GetUserGraphsResponses, GetUserGraphsErrors, ThrowOnError, "fields">;
96
+ /**
97
+ * Select User Graph
98
+ * Select a specific graph as the active graph for the user.
99
+ */
100
+ export declare const selectUserGraph: <ThrowOnError extends boolean = false>(options: Options<SelectUserGraphData, ThrowOnError>) => import("./client").RequestResult<SelectUserGraphResponses, SelectUserGraphErrors, ThrowOnError, "fields">;
101
+ /**
102
+ * Get All Credit Summaries
103
+ * Get credit summaries for all graphs owned by the user.
104
+ *
105
+ * This endpoint provides a consolidated view of credit usage across
106
+ * all graphs where the user has access, helping to monitor overall
107
+ * credit consumption and plan usage.
108
+ *
109
+ * No credits are consumed for viewing summaries.
110
+ */
111
+ export declare const getAllCreditSummaries: <ThrowOnError extends boolean = false>(options?: Options<GetAllCreditSummariesData, ThrowOnError>) => import("./client").RequestResult<GetAllCreditSummariesResponses, GetAllCreditSummariesErrors, ThrowOnError, "fields">;
112
+ /**
113
+ * Update Password
114
+ * Update the current user's password.
115
+ */
116
+ export declare const updateUserPassword: <ThrowOnError extends boolean = false>(options: Options<UpdateUserPasswordData, ThrowOnError>) => import("./client").RequestResult<UpdateUserPasswordResponses, UpdateUserPasswordErrors, ThrowOnError, "fields">;
117
+ /**
118
+ * List API Keys
119
+ * Get all API keys for the current user.
120
+ */
121
+ export declare const listUserApiKeys: <ThrowOnError extends boolean = false>(options?: Options<ListUserApiKeysData, ThrowOnError>) => import("./client").RequestResult<ListUserApiKeysResponses, ListUserApiKeysErrors, ThrowOnError, "fields">;
122
+ /**
123
+ * Create API Key
124
+ * Create a new API key for the current user.
125
+ */
126
+ export declare const createUserApiKey: <ThrowOnError extends boolean = false>(options: Options<CreateUserApiKeyData, ThrowOnError>) => import("./client").RequestResult<CreateUserApiKeyResponses, CreateUserApiKeyErrors, ThrowOnError, "fields">;
127
+ /**
128
+ * Revoke API Key
129
+ * Revoke (deactivate) an API key.
130
+ */
131
+ export declare const revokeUserApiKey: <ThrowOnError extends boolean = false>(options: Options<RevokeUserApiKeyData, ThrowOnError>) => import("./client").RequestResult<RevokeUserApiKeyResponses, RevokeUserApiKeyErrors, ThrowOnError, "fields">;
132
+ /**
133
+ * Update API Key
134
+ * Update an API key's name or description.
135
+ */
136
+ export declare const updateUserApiKey: <ThrowOnError extends boolean = false>(options: Options<UpdateUserApiKeyData, ThrowOnError>) => import("./client").RequestResult<UpdateUserApiKeyResponses, UpdateUserApiKeyErrors, ThrowOnError, "fields">;
137
+ /**
138
+ * Get user limits
139
+ * Retrieve current limits and restrictions for the authenticated user
140
+ */
141
+ export declare const getUserLimits: <ThrowOnError extends boolean = false>(options?: Options<GetUserLimitsData, ThrowOnError>) => import("./client").RequestResult<GetUserLimitsResponses, GetUserLimitsErrors, ThrowOnError, "fields">;
142
+ /**
143
+ * Get user usage statistics
144
+ * Retrieve current usage statistics and remaining limits for the authenticated user
145
+ */
146
+ export declare const getUserUsage: <ThrowOnError extends boolean = false>(options?: Options<GetUserUsageData, ThrowOnError>) => import("./client").RequestResult<GetUserUsageResponses, GetUserUsageErrors, ThrowOnError, "fields">;
147
+ /**
148
+ * Get shared repository rate limit status
149
+ * Get current rate limit status and usage for a shared repository.
150
+ *
151
+ * Returns:
152
+ * - Current usage across different time windows
153
+ * - Rate limits based on subscription tier
154
+ * - Remaining quota
155
+ * - Reset times
156
+ *
157
+ * Note: All queries are FREE - this only shows rate limit status.
158
+ */
159
+ 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
+ /**
166
+ * Get User Usage Overview
167
+ * Get a high-level overview of usage statistics for the current user.
168
+ */
169
+ export declare const getUserUsageOverview: <ThrowOnError extends boolean = false>(options?: Options<GetUserUsageOverviewData, ThrowOnError>) => import("./client").RequestResult<GetUserUsageOverviewResponses, GetUserUsageOverviewErrors, ThrowOnError, "fields">;
170
+ /**
171
+ * Get Detailed User Analytics
172
+ * Get comprehensive analytics for the current user including API usage and recent activity.
173
+ */
174
+ export declare const getDetailedUserAnalytics: <ThrowOnError extends boolean = false>(options?: Options<GetDetailedUserAnalyticsData, ThrowOnError>) => import("./client").RequestResult<GetDetailedUserAnalyticsResponses, GetDetailedUserAnalyticsErrors, ThrowOnError, "fields">;
175
+ /**
176
+ * Get User Subscriptions
177
+ * Retrieve user's current shared repository subscriptions with detailed information
178
+ */
179
+ export declare const getUserSharedSubscriptions: <ThrowOnError extends boolean = false>(options?: Options<GetUserSharedSubscriptionsData, ThrowOnError>) => import("./client").RequestResult<GetUserSharedSubscriptionsResponses, GetUserSharedSubscriptionsErrors, ThrowOnError, "fields">;
180
+ /**
181
+ * Subscribe to Shared Repository
182
+ * Create a new subscription to a shared repository add-on with specified tier
183
+ */
184
+ export declare const subscribeToSharedRepository: <ThrowOnError extends boolean = false>(options: Options<SubscribeToSharedRepositoryData, ThrowOnError>) => import("./client").RequestResult<SubscribeToSharedRepositoryResponses, SubscribeToSharedRepositoryErrors, ThrowOnError, "fields">;
185
+ /**
186
+ * Upgrade Subscription Tier
187
+ * Upgrade a subscription to a higher tier with immediate credit adjustment
188
+ */
189
+ export declare const upgradeSharedRepositorySubscription: <ThrowOnError extends boolean = false>(options: Options<UpgradeSharedRepositorySubscriptionData, ThrowOnError>) => import("./client").RequestResult<UpgradeSharedRepositorySubscriptionResponses, UpgradeSharedRepositorySubscriptionErrors, ThrowOnError, "fields">;
190
+ /**
191
+ * Cancel Subscription
192
+ * Cancel a shared repository subscription and disable associated credit pool
193
+ */
194
+ export declare const cancelSharedRepositorySubscription: <ThrowOnError extends boolean = false>(options: Options<CancelSharedRepositorySubscriptionData, ThrowOnError>) => import("./client").RequestResult<CancelSharedRepositorySubscriptionResponses, CancelSharedRepositorySubscriptionErrors, ThrowOnError, "fields">;
195
+ /**
196
+ * Get Credit Balances
197
+ * Retrieve credit balances for all shared repository subscriptions
198
+ */
199
+ export declare const getSharedRepositoryCredits: <ThrowOnError extends boolean = false>(options?: Options<GetSharedRepositoryCreditsData, ThrowOnError>) => import("./client").RequestResult<GetSharedRepositoryCreditsResponses, GetSharedRepositoryCreditsErrors, ThrowOnError, "fields">;
200
+ /**
201
+ * Get Repository Credits
202
+ * Get credit balance for a specific shared repository
203
+ */
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
+ /**
230
+ * List Connections
231
+ * List all data connections in the graph.
232
+ *
233
+ * Returns active and inactive connections with their current status.
234
+ * Connections can be filtered by:
235
+ * - **Entity**: Show connections for a specific entity
236
+ * - **Provider**: Filter by connection type (sec, quickbooks, plaid)
237
+ *
238
+ * Each connection shows:
239
+ * - Current sync status and health
240
+ * - Last successful sync timestamp
241
+ * - Configuration metadata
242
+ * - Error messages if any
243
+ *
244
+ * No credits are consumed for listing connections.
245
+ */
246
+ export declare const listConnections: <ThrowOnError extends boolean = false>(options: Options<ListConnectionsData, ThrowOnError>) => import("./client").RequestResult<ListConnectionsResponses, ListConnectionsErrors, ThrowOnError, "fields">;
247
+ /**
248
+ * Create Connection
249
+ * Create a new data connection for external system integration.
250
+ *
251
+ * This endpoint initiates connections to external data sources:
252
+ *
253
+ * **SEC Connections**:
254
+ * - Provide entity CIK for automatic filing retrieval
255
+ * - No authentication needed
256
+ * - Begins immediate data sync
257
+ *
258
+ * **QuickBooks Connections**:
259
+ * - Returns OAuth URL for authorization
260
+ * - Requires admin permissions in QuickBooks
261
+ * - Complete with OAuth callback
262
+ *
263
+ * **Plaid Connections**:
264
+ * - Returns Plaid Link token
265
+ * - User completes bank authentication
266
+ * - Exchange public token for access
267
+ *
268
+ * Note:
269
+ * This operation is FREE - no credit consumption required.
270
+ */
271
+ export declare const createConnection: <ThrowOnError extends boolean = false>(options: Options<CreateConnectionData, ThrowOnError>) => import("./client").RequestResult<CreateConnectionResponses, CreateConnectionErrors, ThrowOnError, "fields">;
272
+ /**
273
+ * Delete Connection
274
+ * Delete a data connection and clean up related resources.
275
+ *
276
+ * This operation:
277
+ * - Removes the connection configuration
278
+ * - Preserves any imported data in the graph
279
+ * - Performs provider-specific cleanup
280
+ * - Revokes stored credentials
281
+ *
282
+ * Note:
283
+ * This operation is FREE - no credit consumption required.
284
+ *
285
+ * Only users with admin role can delete connections.
286
+ */
287
+ export declare const deleteConnection: <ThrowOnError extends boolean = false>(options: Options<DeleteConnectionData, ThrowOnError>) => import("./client").RequestResult<DeleteConnectionResponses, DeleteConnectionErrors, ThrowOnError, "fields">;
288
+ /**
289
+ * Get Connection
290
+ * Get detailed information about a specific connection.
291
+ *
292
+ * Returns comprehensive connection details including:
293
+ * - Current status and health indicators
294
+ * - Authentication state
295
+ * - Sync history and statistics
296
+ * - Error details if any
297
+ * - Provider-specific metadata
298
+ *
299
+ * No credits are consumed for viewing connection details.
300
+ */
301
+ export declare const getConnection: <ThrowOnError extends boolean = false>(options: Options<GetConnectionData, ThrowOnError>) => import("./client").RequestResult<GetConnectionResponses, GetConnectionErrors, ThrowOnError, "fields">;
302
+ /**
303
+ * Sync Connection
304
+ * Trigger a data synchronization for the connection.
305
+ *
306
+ * Initiates data sync based on provider type:
307
+ *
308
+ * **SEC Sync**:
309
+ * - Downloads latest filings from EDGAR
310
+ * - Parses XBRL data and updates graph
311
+ * - Typically completes in 5-10 minutes
312
+ *
313
+ * **QuickBooks Sync**:
314
+ * - Fetches latest transactions and balances
315
+ * - Updates chart of accounts
316
+ * - Generates fresh trial balance
317
+ * - Duration depends on data volume
318
+ *
319
+ * **Plaid Sync**:
320
+ * - Retrieves recent bank transactions
321
+ * - Updates account balances
322
+ * - Categorizes new transactions
323
+ *
324
+ * Note:
325
+ * This operation is FREE - no credit consumption required.
326
+ *
327
+ * Returns a task ID for monitoring sync progress.
328
+ */
329
+ export declare const syncConnection: <ThrowOnError extends boolean = false>(options: Options<SyncConnectionData, ThrowOnError>) => import("./client").RequestResult<SyncConnectionResponses, SyncConnectionErrors, ThrowOnError, "fields">;
330
+ /**
331
+ * Create Link Token
332
+ * Create a link token for embedded authentication providers.
333
+ *
334
+ * This endpoint generates a temporary token used to initialize embedded authentication UI.
335
+ *
336
+ * Currently supported providers:
337
+ * - **Plaid**: Bank account connections with real-time transaction access
338
+ *
339
+ * The link token:
340
+ * - Expires after 4 hours
341
+ * - Is single-use only
342
+ * - Must be used with the matching frontend SDK
343
+ * - Includes user and entity context
344
+ *
345
+ * No credits are consumed for creating link tokens.
346
+ */
347
+ export declare const createLinkToken: <ThrowOnError extends boolean = false>(options: Options<CreateLinkTokenData, ThrowOnError>) => import("./client").RequestResult<CreateLinkTokenResponses, CreateLinkTokenErrors, ThrowOnError, "fields">;
348
+ /**
349
+ * Exchange Link Token
350
+ * Exchange a public token for permanent access credentials.
351
+ *
352
+ * This completes the embedded authentication flow after user authorization.
353
+ *
354
+ * The exchange process:
355
+ * 1. Validates the temporary public token
356
+ * 2. Exchanges it for permanent access credentials
357
+ * 3. Updates the connection with account information
358
+ * 4. Optionally triggers initial data sync
359
+ *
360
+ * Supported providers:
361
+ * - **Plaid**: Exchanges Plaid Link public token for access token
362
+ *
363
+ * Security:
364
+ * - Public tokens expire after 30 minutes
365
+ * - Each token can only be exchanged once
366
+ * - Full audit trail is maintained
367
+ *
368
+ * No credits are consumed for token exchange.
369
+ */
370
+ export declare const exchangeLinkToken: <ThrowOnError extends boolean = false>(options: Options<ExchangeLinkTokenData, ThrowOnError>) => import("./client").RequestResult<ExchangeLinkTokenResponses, ExchangeLinkTokenErrors, ThrowOnError, "fields">;
371
+ /**
372
+ * Init Oauth
373
+ * Initialize OAuth flow for a connection.
374
+ *
375
+ * This generates an authorization URL that the frontend should redirect the user to.
376
+ * Currently supports: QuickBooks
377
+ */
378
+ export declare const initOAuth: <ThrowOnError extends boolean = false>(options: Options<InitOAuthData, ThrowOnError>) => import("./client").RequestResult<InitOAuthResponses, InitOAuthErrors, ThrowOnError, "fields">;
379
+ /**
380
+ * OAuth Callback
381
+ * Handle OAuth callback from provider after user authorization.
382
+ *
383
+ * This endpoint completes the OAuth flow:
384
+ * 1. Validates the OAuth state parameter
385
+ * 2. Exchanges authorization code for access tokens
386
+ * 3. Stores tokens securely
387
+ * 4. Updates connection status
388
+ * 5. Optionally triggers initial sync
389
+ *
390
+ * Supported providers:
391
+ * - **QuickBooks**: Accounting data integration
392
+ *
393
+ * Security measures:
394
+ * - State validation prevents CSRF attacks
395
+ * - User context is verified
396
+ * - Tokens are encrypted before storage
397
+ * - Full audit trail is maintained
398
+ *
399
+ * No credits are consumed for OAuth callbacks.
400
+ */
401
+ export declare const oauthCallback: <ThrowOnError extends boolean = false>(options: Options<OauthCallbackData, ThrowOnError>) => import("./client").RequestResult<OauthCallbackResponses, OauthCallbackErrors, ThrowOnError, "fields">;
402
+ /**
403
+ * Query Financial Agent
404
+ * AI-powered financial analysis with direct access to graph data.
405
+ *
406
+ * This endpoint provides intelligent financial analysis using an AI agent that can:
407
+ * - Analyze entity financial statements and SEC filings
408
+ * - Review QuickBooks transactions and accounting data
409
+ * - Perform multi-period trend analysis
410
+ * - Generate insights from balance sheets and income statements
411
+ * - Answer complex financial queries with contextual understanding
412
+ *
413
+ * **Execution Modes:**
414
+ * - **Quick Analysis** (default): Synchronous responses for simple queries (1-2 tool calls)
415
+ * - **Extended Analysis**: Asynchronous processing for complex research (returns operation_id for SSE monitoring)
416
+ *
417
+ * **Extended Analysis Monitoring:**
418
+ * For complex queries, connect to the SSE stream for real-time progress:
419
+ * ```javascript
420
+ * const eventSource = new EventSource('/v1/operations/{operation_id}/stream');
421
+ * eventSource.onmessage = (event) => {
422
+ * const data = JSON.parse(event.data);
423
+ * console.log('Analysis:', data.message);
424
+ * };
425
+ * ```
426
+ *
427
+ * **SSE Connection Limits:**
428
+ * - Maximum 5 concurrent SSE connections per user
429
+ * - Rate limited to 10 new connections per minute
430
+ * - Automatic circuit breaker for Redis failures
431
+ * - Graceful degradation with fallback to polling if SSE unavailable
432
+ *
433
+ * **Events Emitted:**
434
+ * - `operation_started`: Analysis begins
435
+ * - `operation_progress`: Tool calls, analysis steps
436
+ * - `operation_completed`: Final comprehensive analysis
437
+ * - `operation_error`: Analysis failed
438
+ *
439
+ * **Error Handling:**
440
+ * - `429 Too Many Requests`: SSE connection limit exceeded
441
+ * - `503 Service Unavailable`: SSE system temporarily disabled
442
+ * - Fallback to status polling endpoint if SSE unavailable
443
+ *
444
+ * **Credit Consumption:**
445
+ * - AI operations consume credits based on actual token usage
446
+ * - Claude 4/4.1 Opus: ~15 credits per 1K input tokens, ~75 credits per 1K output tokens
447
+ * - Claude 4 Sonnet: ~3 credits per 1K input tokens, ~15 credits per 1K output tokens
448
+ * - Credits are consumed after operation completes based on actual usage
449
+ *
450
+ * The agent automatically determines query complexity or you can force extended analysis.
451
+ */
452
+ export declare const queryFinancialAgent: <ThrowOnError extends boolean = false>(options: Options<QueryFinancialAgentData, ThrowOnError>) => import("./client").RequestResult<QueryFinancialAgentResponses, QueryFinancialAgentErrors, ThrowOnError, "fields">;
453
+ /**
454
+ * List MCP Tools
455
+ * Get available Model Context Protocol tools for graph analysis.
456
+ *
457
+ * This endpoint returns a comprehensive list of MCP tools optimized for AI agents:
458
+ * - Tool schemas with detailed parameter documentation
459
+ * - Context-aware descriptions based on graph type
460
+ * - Capability indicators for streaming and progress
461
+ *
462
+ * The tool list is customized based on:
463
+ * - Graph type (shared repository vs user graph)
464
+ * - User permissions and subscription tier
465
+ * - Backend capabilities (Kuzu, Neo4j, etc.)
466
+ *
467
+ * Credit consumption:
468
+ * - Listing tools is FREE to encourage exploration
469
+ * - Tool execution costs vary by operation complexity
470
+ */
471
+ export declare const listMcpTools: <ThrowOnError extends boolean = false>(options: Options<ListMcpToolsData, ThrowOnError>) => import("./client").RequestResult<ListMcpToolsResponses, ListMcpToolsErrors, ThrowOnError, "fields">;
472
+ /**
473
+ * Execute MCP Tool
474
+ * Execute an MCP tool with intelligent response optimization.
475
+ *
476
+ * This endpoint automatically selects the best execution strategy based on:
477
+ * - Tool type and estimated complexity
478
+ * - Client capabilities (AI agent detection)
479
+ * - System load and queue status
480
+ * - Graph type (shared repository vs user graph)
481
+ *
482
+ * **Response Formats:**
483
+ * - **JSON**: Direct response for small/fast operations
484
+ * - **SSE**: Server-Sent Events for progress monitoring
485
+ * - **NDJSON**: Newline-delimited JSON for streaming
486
+ * - **Queued**: Asynchronous execution with status monitoring
487
+ *
488
+ * **SSE Streaming Support:**
489
+ * - Maximum 5 concurrent SSE connections per user
490
+ * - Rate limited to 10 new connections per minute
491
+ * - Automatic circuit breaker for Redis failures
492
+ * - Graceful degradation to direct response if SSE unavailable
493
+ * - Progress events for long-running operations
494
+ *
495
+ * **AI Agent Optimization:**
496
+ * The Node.js MCP client transparently handles all response formats,
497
+ * presenting a unified interface to AI agents. Streaming responses are
498
+ * automatically aggregated for seamless consumption.
499
+ *
500
+ * **Error Handling:**
501
+ * - `429 Too Many Requests`: Connection limit or rate limit exceeded
502
+ * - `503 Service Unavailable`: SSE system temporarily disabled
503
+ * - `408 Request Timeout`: Tool execution exceeded timeout
504
+ * - Clients should implement exponential backoff on errors
505
+ *
506
+ * **Note:**
507
+ * MCP tool calls are currently FREE and do not consume credits.
508
+ */
509
+ export declare const callMcpTool: <ThrowOnError extends boolean = false>(options: Options<CallMcpToolData, ThrowOnError>) => import("./client").RequestResult<CallMcpToolResponses, CallMcpToolErrors, ThrowOnError, "fields">;
510
+ /**
511
+ * Create Backup
512
+ * Create a backup of the graph database.
513
+ *
514
+ * Creates a complete backup of the Kuzu database (.kuzu file) with:
515
+ * - **Format**: Full database backup only (complete .kuzu file)
516
+ * - **Compression**: Always enabled for optimal storage
517
+ * - **Encryption**: Optional AES-256 encryption for security
518
+ * - **Retention**: Configurable retention period (1-2555 days)
519
+ *
520
+ * **Backup Features:**
521
+ * - **Complete Backup**: Full database file backup
522
+ * - **Consistency**: Point-in-time consistent snapshot
523
+ * - **Download Support**: Unencrypted backups can be downloaded
524
+ * - **Restore Support**: Future support for encrypted backup restoration
525
+ *
526
+ * **Progress Monitoring:**
527
+ * Use the returned operation_id to connect to the SSE stream:
528
+ * ```javascript
529
+ * const eventSource = new EventSource('/v1/operations/{operation_id}/stream');
530
+ * eventSource.addEventListener('operation_progress', (event) => {
531
+ * const data = JSON.parse(event.data);
532
+ * console.log('Backup progress:', data.progress_percent + '%');
533
+ * });
534
+ * ```
535
+ *
536
+ * **SSE Connection Limits:**
537
+ * - Maximum 5 concurrent SSE connections per user
538
+ * - Rate limited to 10 new connections per minute
539
+ * - Automatic circuit breaker for Redis failures
540
+ * - Graceful degradation if event system unavailable
541
+ *
542
+ * **Important Notes:**
543
+ * - Only full_dump format is supported (no CSV/JSON exports)
544
+ * - Compression is always enabled
545
+ * - Encrypted backups cannot be downloaded (security measure)
546
+ * - All backups are stored securely in cloud storage
547
+ *
548
+ * **Credit Consumption:**
549
+ * - Base cost: 25.0 credits
550
+ * - Large databases (>10GB): 50.0 credits
551
+ * - Multiplied by graph tier
552
+ *
553
+ * Returns operation details for SSE monitoring.
554
+ */
555
+ 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
+ /**
562
+ * Export Kuzu backup for download
563
+ * Export a backup file for download (only available for non-encrypted, compressed .kuzu backups)
564
+ */
565
+ export declare const exportBackup: <ThrowOnError extends boolean = false>(options: Options<ExportBackupData, ThrowOnError>) => import("./client").RequestResult<ExportBackupResponses, ExportBackupErrors, ThrowOnError, "fields">;
566
+ /**
567
+ * Restore Encrypted Backup
568
+ * Restore a graph database from an encrypted backup.
569
+ *
570
+ * Restores a complete Kuzu database from an encrypted backup:
571
+ * - **Format**: Only full_dump backups can be restored
572
+ * - **Encryption**: Only encrypted backups can be restored (security requirement)
573
+ * - **System Backup**: Creates automatic backup of existing database before restore
574
+ * - **Verification**: Optionally verifies database integrity after restore
575
+ *
576
+ * **Restore Features:**
577
+ * - **Atomic Operation**: Complete replacement of database
578
+ * - **Rollback Protection**: System backup created before restore
579
+ * - **Data Integrity**: Verification ensures successful restore
580
+ * - **Security**: Only encrypted backups to prevent data tampering
581
+ *
582
+ * **Progress Monitoring:**
583
+ * Use the returned operation_id to connect to the SSE stream:
584
+ * ```javascript
585
+ * const eventSource = new EventSource('/v1/operations/{operation_id}/stream');
586
+ * eventSource.addEventListener('operation_progress', (event) => {
587
+ * const data = JSON.parse(event.data);
588
+ * console.log('Restore progress:', data.message);
589
+ * });
590
+ * ```
591
+ *
592
+ * **SSE Connection Limits:**
593
+ * - Maximum 5 concurrent SSE connections per user
594
+ * - Rate limited to 10 new connections per minute
595
+ * - Automatic circuit breaker for Redis failures
596
+ * - Graceful degradation if event system unavailable
597
+ *
598
+ * **Important Notes:**
599
+ * - Only encrypted backups can be restored (security measure)
600
+ * - Existing database is backed up to S3 before restore
601
+ * - Restore is a destructive operation - existing data is replaced
602
+ * - System backups are stored separately for recovery
603
+ *
604
+ * **Credit Consumption:**
605
+ * - Base cost: 100.0 credits
606
+ * - Large databases (>10GB): 200.0 credits
607
+ * - Multiplied by graph tier
608
+ *
609
+ * Returns operation details for SSE monitoring.
610
+ */
611
+ export declare const restoreBackup: <ThrowOnError extends boolean = false>(options: Options<RestoreBackupData, ThrowOnError>) => import("./client").RequestResult<RestoreBackupResponses, RestoreBackupErrors, ThrowOnError, "fields">;
612
+ /**
613
+ * Get backup statistics
614
+ * Get comprehensive backup statistics for the specified graph database
615
+ */
616
+ 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
+ /**
628
+ * Get Graph Metrics
629
+ * Get comprehensive metrics for the graph database.
630
+ *
631
+ * Provides detailed analytics including:
632
+ * - **Node Statistics**: Counts by type (Entity, Report, Account, Transaction)
633
+ * - **Relationship Metrics**: Connection counts and patterns
634
+ * - **Data Quality**: Completeness scores and validation results
635
+ * - **Performance Metrics**: Query response times and database health
636
+ * - **Storage Analytics**: Database size and growth trends
637
+ *
638
+ * This data helps with:
639
+ * - Monitoring data completeness
640
+ * - Identifying data quality issues
641
+ * - Capacity planning
642
+ * - Performance optimization
643
+ *
644
+ * Note:
645
+ * This operation is FREE - no credit consumption required.
646
+ */
647
+ export declare const getGraphMetrics: <ThrowOnError extends boolean = false>(options: Options<GetGraphMetricsData, ThrowOnError>) => import("./client").RequestResult<GetGraphMetricsResponses, GetGraphMetricsErrors, ThrowOnError, "fields">;
648
+ /**
649
+ * Get Usage Statistics
650
+ * Get detailed usage statistics for the graph.
651
+ *
652
+ * Provides temporal usage patterns including:
653
+ * - **Query Volume**: API calls per day/hour
654
+ * - **Credit Consumption**: Usage patterns and trends
655
+ * - **Operation Breakdown**: Usage by operation type
656
+ * - **User Activity**: Access patterns by user role
657
+ * - **Peak Usage Times**: Identify high-activity periods
658
+ *
659
+ * Time ranges available:
660
+ * - Last 24 hours (hourly breakdown)
661
+ * - Last 7 days (daily breakdown)
662
+ * - Last 30 days (daily breakdown)
663
+ * - Custom date ranges
664
+ *
665
+ * Useful for:
666
+ * - Capacity planning
667
+ * - Cost optimization
668
+ * - Usage trend analysis
669
+ * - Performance tuning
670
+ *
671
+ * Note:
672
+ * This operation is FREE - no credit consumption required.
673
+ */
674
+ export declare const getGraphUsageStats: <ThrowOnError extends boolean = false>(options: Options<GetGraphUsageStatsData, ThrowOnError>) => import("./client").RequestResult<GetGraphUsageStatsResponses, GetGraphUsageStatsErrors, ThrowOnError, "fields">;
675
+ /**
676
+ * Execute Cypher Query
677
+ * Execute a Cypher query with intelligent response optimization.
678
+ *
679
+ * This endpoint automatically selects the best execution strategy based on:
680
+ * - Query characteristics (size, complexity)
681
+ * - Client capabilities (SSE, NDJSON, JSON)
682
+ * - System load (queue status, concurrent queries)
683
+ * - User preferences (mode parameter, headers)
684
+ *
685
+ * **Response Modes:**
686
+ * - `auto` (default): Intelligent automatic selection
687
+ * - `sync`: Force synchronous JSON response (best for testing)
688
+ * - `async`: Force queued response with SSE monitoring endpoints (no polling needed)
689
+ * - `stream`: Force streaming response (SSE or NDJSON)
690
+ *
691
+ * **Client Detection:**
692
+ * - Automatically detects testing tools (Postman, Swagger UI)
693
+ * - Adjusts behavior for better interactive experience
694
+ * - Respects Accept and Prefer headers for capabilities
695
+ *
696
+ * **Streaming Support (SSE):**
697
+ * - Real-time events with progress updates
698
+ * - Maximum 5 concurrent SSE connections per user
699
+ * - Rate limited to 10 new connections per minute
700
+ * - Automatic circuit breaker for Redis failures
701
+ * - Graceful degradation if event system unavailable
702
+ * - 30-second keepalive to prevent timeouts
703
+ *
704
+ * **Streaming Support (NDJSON):**
705
+ * - Efficient line-delimited JSON for large results
706
+ * - Automatic chunking (configurable 10-10000 rows)
707
+ * - No connection limits (stateless streaming)
708
+ *
709
+ * **Queue Management:**
710
+ * - Automatic queuing under high load
711
+ * - Real-time monitoring via SSE events (no polling needed)
712
+ * - Priority based on subscription tier
713
+ * - Queue position and progress updates pushed via SSE
714
+ * - Connect to returned `/v1/operations/{id}/stream` endpoint for updates
715
+ *
716
+ * **Error Handling:**
717
+ * - `429 Too Many Requests`: Rate limit or connection limit exceeded
718
+ * - `503 Service Unavailable`: Circuit breaker open or SSE disabled
719
+ * - Clients should implement exponential backoff
720
+ *
721
+ * **Note:**
722
+ * Query operations are FREE - no credit consumption required.
723
+ * Queue position is based on subscription tier for priority.
724
+ */
725
+ export declare const executeCypherQuery: <ThrowOnError extends boolean = false>(options: Options<ExecuteCypherQueryData, ThrowOnError>) => import("./client").RequestResult<ExecuteCypherQueryResponses, ExecuteCypherQueryErrors, ThrowOnError, "fields">;
726
+ /**
727
+ * Get Runtime Graph Schema Information
728
+ * Get runtime schema information for the specified graph database.
729
+ *
730
+ * This endpoint inspects the actual graph database structure and returns:
731
+ * - **Node Labels**: All node types currently in the database
732
+ * - **Relationship Types**: All relationship types currently in the database
733
+ * - **Node Properties**: Properties for each node type (limited to first 10 for performance)
734
+ *
735
+ * This is different from custom schema management - it shows what actually exists in the database,
736
+ * useful for understanding the current graph structure before writing queries.
737
+ *
738
+ * This operation is FREE - no credit consumption required.
739
+ */
740
+ export declare const getGraphSchemaInfo: <ThrowOnError extends boolean = false>(options: Options<GetGraphSchemaInfoData, ThrowOnError>) => import("./client").RequestResult<GetGraphSchemaInfoResponses, GetGraphSchemaInfoErrors, ThrowOnError, "fields">;
741
+ /**
742
+ * Validate Schema
743
+ * Validate a custom schema definition before deployment.
744
+ *
745
+ * This endpoint performs comprehensive validation including:
746
+ * - **Structure Validation**: Ensures proper JSON/YAML format
747
+ * - **Type Checking**: Validates data types (STRING, INT, DOUBLE, etc.)
748
+ * - **Constraint Verification**: Checks primary keys and unique constraints
749
+ * - **Relationship Integrity**: Validates node references in relationships
750
+ * - **Naming Conventions**: Ensures valid identifiers
751
+ * - **Compatibility**: Checks against existing extensions if specified
752
+ *
753
+ * Supported formats:
754
+ * - JSON schema definitions
755
+ * - YAML schema definitions
756
+ * - Direct dictionary format
757
+ *
758
+ * Validation helps prevent:
759
+ * - Schema deployment failures
760
+ * - Data integrity issues
761
+ * - Performance problems
762
+ * - Naming conflicts
763
+ *
764
+ * This operation is FREE - no credit consumption required.
765
+ */
766
+ export declare const validateSchema: <ThrowOnError extends boolean = false>(options: Options<ValidateSchemaData, ThrowOnError>) => import("./client").RequestResult<ValidateSchemaResponses, ValidateSchemaErrors, ThrowOnError, "fields">;
767
+ /**
768
+ * Export Graph Schema
769
+ * Export the schema of an existing graph in JSON, YAML, or Cypher format
770
+ */
771
+ export declare const exportGraphSchema: <ThrowOnError extends boolean = false>(options: Options<ExportGraphSchemaData, ThrowOnError>) => import("./client").RequestResult<ExportGraphSchemaResponses, ExportGraphSchemaErrors, ThrowOnError, "fields">;
772
+ /**
773
+ * List Available Schema Extensions
774
+ * Get list of available schema extensions and compatibility groups
775
+ */
776
+ export declare const listSchemaExtensions: <ThrowOnError extends boolean = false>(options: Options<ListSchemaExtensionsData, ThrowOnError>) => import("./client").RequestResult<ListSchemaExtensionsResponses, ListSchemaExtensionsErrors, ThrowOnError, "fields">;
777
+ /**
778
+ * Get Current Bill
779
+ * Get current month's billing details for the graph.
780
+ *
781
+ * Returns comprehensive billing information including:
782
+ * - **Credit Usage**: Consumed vs. allocated credits
783
+ * - **Storage Charges**: Current storage usage and costs
784
+ * - **Subscription Tier**: Current plan and features
785
+ * - **Pro-rated Charges**: If plan changed mid-month
786
+ * - **Estimated Total**: Current charges to date
787
+ *
788
+ * Billing calculations are updated hourly. Storage is measured in GB-months.
789
+ *
790
+ * ℹ️ No credits are consumed for viewing billing information.
791
+ */
792
+ export declare const getCurrentGraphBill: <ThrowOnError extends boolean = false>(options: Options<GetCurrentGraphBillData, ThrowOnError>) => import("./client").RequestResult<GetCurrentGraphBillResponses, GetCurrentGraphBillErrors, ThrowOnError, "fields">;
793
+ /**
794
+ * Get Monthly Bill
795
+ * Get billing details for a specific month.
796
+ *
797
+ * Retrieve historical billing information for any previous month.
798
+ * Useful for:
799
+ * - Reconciling past charges
800
+ * - Tracking usage trends
801
+ * - Expense reporting
802
+ * - Budget analysis
803
+ *
804
+ * Returns the same detailed breakdown as the current bill endpoint.
805
+ *
806
+ * ℹ️ No credits are consumed for viewing billing history.
807
+ */
808
+ export declare const getGraphMonthlyBill: <ThrowOnError extends boolean = false>(options: Options<GetGraphMonthlyBillData, ThrowOnError>) => import("./client").RequestResult<GetGraphMonthlyBillResponses, GetGraphMonthlyBillErrors, ThrowOnError, "fields">;
809
+ /**
810
+ * Get Billing History
811
+ * Get billing history for the graph.
812
+ *
813
+ * Returns a chronological list of monthly bills, perfect for:
814
+ * - Tracking spending trends over time
815
+ * - Identifying usage patterns
816
+ * - Budget forecasting
817
+ * - Financial reporting
818
+ *
819
+ * Each month includes:
820
+ * - Credit usage and overages
821
+ * - Storage charges
822
+ * - Total charges
823
+ * - Usage metrics
824
+ *
825
+ * ℹ️ No credits are consumed for viewing billing history.
826
+ */
827
+ export declare const getGraphBillingHistory: <ThrowOnError extends boolean = false>(options: Options<GetGraphBillingHistoryData, ThrowOnError>) => import("./client").RequestResult<GetGraphBillingHistoryResponses, GetGraphBillingHistoryErrors, ThrowOnError, "fields">;
828
+ /**
829
+ * Get Usage Details
830
+ * Get detailed usage metrics for the graph.
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
838
+ *
839
+ * Useful for:
840
+ * - Optimizing credit consumption
841
+ * - Capacity planning
842
+ * - Usage trend analysis
843
+ * - Cost optimization
844
+ *
845
+ * ℹ️ No credits are consumed for viewing usage details.
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.
871
+ *
872
+ * This endpoint provides comprehensive credit usage and billing information
873
+ * without consuming credits (for billing transparency).
874
+ */
875
+ export declare const getCreditBillingInfoV1GraphIdBillingCreditsGet: <ThrowOnError extends boolean = false>(options: Options<GetCreditBillingInfoV1GraphIdBillingCreditsGetData, ThrowOnError>) => import("./client").RequestResult<GetCreditBillingInfoV1GraphIdBillingCreditsGetResponses, GetCreditBillingInfoV1GraphIdBillingCreditsGetErrors, ThrowOnError, "fields">;
876
+ /**
877
+ * Get Credit Summary
878
+ * Retrieve comprehensive credit usage summary for the specified graph.
879
+ *
880
+ * This endpoint provides:
881
+ * - Current credit balance and monthly allocation
882
+ * - Credit consumption metrics for the current month
883
+ * - Graph tier and credit multiplier information
884
+ * - Usage percentage to help monitor credit consumption
885
+ *
886
+ * No credits are consumed for checking credit status.
887
+ */
888
+ export declare const getCreditSummary: <ThrowOnError extends boolean = false>(options: Options<GetCreditSummaryData, ThrowOnError>) => import("./client").RequestResult<GetCreditSummaryResponses, GetCreditSummaryErrors, ThrowOnError, "fields">;
889
+ /**
890
+ * List Credit Transactions
891
+ * Retrieve detailed credit transaction history for the specified graph.
892
+ *
893
+ * This enhanced endpoint provides:
894
+ * - Detailed transaction records with idempotency information
895
+ * - Summary by operation type to identify high-consumption operations
896
+ * - Date range filtering for analysis
897
+ * - Metadata search capabilities
898
+ *
899
+ * Transaction types include:
900
+ * - ALLOCATION: Monthly credit allocations
901
+ * - CONSUMPTION: Credit usage for operations
902
+ * - BONUS: Bonus credits added by admins
903
+ * - REFUND: Credit refunds
904
+ *
905
+ * No credits are consumed for viewing transaction history.
906
+ */
907
+ export declare const listCreditTransactions: <ThrowOnError extends boolean = false>(options: Options<ListCreditTransactionsData, ThrowOnError>) => import("./client").RequestResult<ListCreditTransactionsResponses, ListCreditTransactionsErrors, ThrowOnError, "fields">;
908
+ /**
909
+ * Check Credit Balance
910
+ * Check if the graph has sufficient credits for a planned operation.
911
+ *
912
+ * This endpoint allows you to verify credit availability before performing
913
+ * an operation, helping prevent failed operations due to insufficient credits.
914
+ *
915
+ * The check considers:
916
+ * - Base operation cost
917
+ * - Graph tier multiplier
918
+ * - Current credit balance
919
+ *
920
+ * No credits are consumed for checking availability.
921
+ */
922
+ export declare const checkCreditBalance: <ThrowOnError extends boolean = false>(options: Options<CheckCreditBalanceData, ThrowOnError>) => import("./client").RequestResult<CheckCreditBalanceResponses, CheckCreditBalanceErrors, ThrowOnError, "fields">;
923
+ /**
924
+ * Get Storage Usage
925
+ * Get storage usage history for a graph.
926
+ *
927
+ * Returns detailed storage usage information including:
928
+ * - Daily average storage consumption
929
+ * - Storage trends over time
930
+ * - Credit costs for storage
931
+ * - Current storage billing information
932
+ *
933
+ * This endpoint helps users understand their storage patterns
934
+ * and associated credit costs.
935
+ */
936
+ export declare const getStorageUsage: <ThrowOnError extends boolean = false>(options: Options<GetStorageUsageData, ThrowOnError>) => import("./client").RequestResult<GetStorageUsageResponses, GetStorageUsageErrors, ThrowOnError, "fields">;
937
+ /**
938
+ * Check Storage Limits
939
+ * Check storage limits and usage for a graph.
940
+ *
941
+ * Returns comprehensive storage limit information including:
942
+ * - Current storage usage
943
+ * - Effective limit (override or default)
944
+ * - Usage percentage and warnings
945
+ * - Recommendations for limit management
946
+ *
947
+ * This endpoint helps users monitor storage usage and plan for potential
948
+ * limit increases. No credits are consumed for checking storage limits.
949
+ */
950
+ export declare const checkStorageLimits: <ThrowOnError extends boolean = false>(options: Options<CheckStorageLimitsData, ThrowOnError>) => import("./client").RequestResult<CheckStorageLimitsResponses, CheckStorageLimitsErrors, ThrowOnError, "fields">;
951
+ /**
952
+ * Database Health Check
953
+ * Get comprehensive health information for the graph database.
954
+ *
955
+ * Returns detailed health metrics including:
956
+ * - **Connection Status**: Database connectivity and responsiveness
957
+ * - **Performance Metrics**: Query execution times and throughput
958
+ * - **Resource Usage**: Memory and storage utilization
959
+ * - **Error Monitoring**: Recent error rates and patterns
960
+ * - **Uptime Statistics**: Service availability metrics
961
+ *
962
+ * Health indicators:
963
+ * - **Status**: healthy, degraded, or unhealthy
964
+ * - **Query Performance**: Average execution times
965
+ * - **Error Rates**: Recent failure percentages
966
+ * - **Resource Usage**: Memory and storage consumption
967
+ * - **Alerts**: Active warnings or issues
968
+ *
969
+ * This endpoint provides essential monitoring data for operational visibility.
970
+ */
971
+ export declare const getDatabaseHealth: <ThrowOnError extends boolean = false>(options: Options<GetDatabaseHealthData, ThrowOnError>) => import("./client").RequestResult<GetDatabaseHealthResponses, GetDatabaseHealthErrors, ThrowOnError, "fields">;
972
+ /**
973
+ * Database Information
974
+ * Get comprehensive database information and statistics.
975
+ *
976
+ * Returns detailed database metrics including:
977
+ * - **Database Metadata**: Name, path, size, and timestamps
978
+ * - **Schema Information**: Node labels, relationship types, and counts
979
+ * - **Storage Statistics**: Database size and usage metrics
980
+ * - **Data Composition**: Node and relationship counts
981
+ * - **Backup Information**: Available backups and last backup date
982
+ * - **Configuration**: Read-only status and schema version
983
+ *
984
+ * Database statistics:
985
+ * - **Size**: Storage usage in bytes and MB
986
+ * - **Content**: Node and relationship counts
987
+ * - **Schema**: Available labels and relationship types
988
+ * - **Backup Status**: Backup availability and recency
989
+ * - **Timestamps**: Creation and modification dates
990
+ *
991
+ * This endpoint provides essential database information for capacity planning and monitoring.
992
+ */
993
+ export declare const getDatabaseInfo: <ThrowOnError extends boolean = false>(options: Options<GetDatabaseInfoData, ThrowOnError>) => import("./client").RequestResult<GetDatabaseInfoResponses, GetDatabaseInfoErrors, ThrowOnError, "fields">;
994
+ /**
995
+ * List Subgraphs
996
+ * List all subgraphs for a parent graph.
997
+ *
998
+ * **Requirements:**
999
+ * - User must have at least read access to parent graph
1000
+ *
1001
+ * **Response includes:**
1002
+ * - List of all subgraphs with metadata
1003
+ * - Current usage vs limits
1004
+ * - Size and statistics per subgraph
1005
+ * - Creation timestamps
1006
+ *
1007
+ * **Filtering:**
1008
+ * Currently returns all subgraphs. Future versions will support:
1009
+ * - Filtering by status
1010
+ * - Filtering by creation date
1011
+ * - Pagination for large lists
1012
+ */
1013
+ export declare const listSubgraphs: <ThrowOnError extends boolean = false>(options: Options<ListSubgraphsData, ThrowOnError>) => import("./client").RequestResult<ListSubgraphsResponses, ListSubgraphsErrors, ThrowOnError, "fields">;
1014
+ /**
1015
+ * Create New Subgraph
1016
+ * Create a new subgraph database under an Enterprise or Premium parent graph.
1017
+ *
1018
+ * **Requirements:**
1019
+ * - Parent graph must be Enterprise or Premium tier
1020
+ * - User must have admin access to parent graph
1021
+ * - Subgraph name must be unique within parent
1022
+ * - Subgraph name must be alphanumeric (1-20 chars)
1023
+ *
1024
+ * **Subgraph Benefits:**
1025
+ * - Shares parent's infrastructure (no additional cost)
1026
+ * - Inherits parent's credit pool
1027
+ * - Isolated database on same instance
1028
+ * - Full Kuzu database capabilities
1029
+ *
1030
+ * **Use Cases:**
1031
+ * - Separate environments (dev/staging/prod)
1032
+ * - Department-specific data isolation
1033
+ * - Multi-tenant applications
1034
+ * - Testing and experimentation
1035
+ *
1036
+ * **Schema Inheritance:**
1037
+ * - Subgraphs can use parent's schema or custom extensions
1038
+ * - Extensions are additive only
1039
+ * - Base schema always included
1040
+ *
1041
+ * **Limits:**
1042
+ * - Standard: Not supported (0 subgraphs)
1043
+ * - Enterprise: Configurable limit (default: 10 subgraphs)
1044
+ * - Premium: Unlimited subgraphs
1045
+ * - Limits are defined in deployment configuration
1046
+ *
1047
+ * **Response includes:**
1048
+ * - `graph_id`: Full subgraph identifier
1049
+ * - `parent_graph_id`: Parent graph ID
1050
+ * - `subgraph_name`: Short name within parent
1051
+ * - `status`: Creation status
1052
+ */
1053
+ export declare const createSubgraph: <ThrowOnError extends boolean = false>(options: Options<CreateSubgraphData, ThrowOnError>) => import("./client").RequestResult<CreateSubgraphResponses, CreateSubgraphErrors, ThrowOnError, "fields">;
1054
+ /**
1055
+ * Delete Subgraph
1056
+ * Delete a subgraph database.
1057
+ *
1058
+ * **Requirements:**
1059
+ * - Must be a valid subgraph (not parent graph)
1060
+ * - User must have admin access to parent graph
1061
+ * - Optional backup before deletion
1062
+ *
1063
+ * **Deletion Options:**
1064
+ * - `force`: Delete even if contains data
1065
+ * - `backup_first`: Create backup before deletion
1066
+ *
1067
+ * **Warning:**
1068
+ * Deletion is permanent unless backup is created.
1069
+ * All data in the subgraph will be lost.
1070
+ *
1071
+ * **Backup Location:**
1072
+ * If backup requested, stored in S3 at:
1073
+ * `s3://robosystems-backups/{instance_id}/{database_name}_{timestamp}.backup`
1074
+ */
1075
+ export declare const deleteSubgraph: <ThrowOnError extends boolean = false>(options: Options<DeleteSubgraphData, ThrowOnError>) => import("./client").RequestResult<DeleteSubgraphResponses, DeleteSubgraphErrors, ThrowOnError, "fields">;
1076
+ /**
1077
+ * Get Subgraph Quota
1078
+ * Get subgraph quota and usage information for a parent graph.
1079
+ *
1080
+ * **Shows:**
1081
+ * - Current subgraph count
1082
+ * - Maximum allowed subgraphs per tier
1083
+ * - Remaining capacity
1084
+ * - Total size usage across all subgraphs
1085
+ *
1086
+ * **Tier Limits:**
1087
+ * - Standard: 0 subgraphs (not supported)
1088
+ * - Enterprise: Configurable limit (default: 10 subgraphs)
1089
+ * - Premium: Unlimited subgraphs
1090
+ * - Limits are defined in deployment configuration
1091
+ *
1092
+ * **Size Tracking:**
1093
+ * Provides aggregate size metrics when available.
1094
+ * Individual subgraph sizes shown in list endpoint.
1095
+ */
1096
+ export declare const getSubgraphQuota: <ThrowOnError extends boolean = false>(options: Options<GetSubgraphQuotaData, ThrowOnError>) => import("./client").RequestResult<GetSubgraphQuotaResponses, GetSubgraphQuotaErrors, ThrowOnError, "fields">;
1097
+ /**
1098
+ * Get Subgraph Details
1099
+ * Get detailed information about a specific subgraph.
1100
+ *
1101
+ * **Requirements:**
1102
+ * - User must have read access to parent graph
1103
+ *
1104
+ * **Response includes:**
1105
+ * - Full subgraph metadata
1106
+ * - Database statistics (nodes, edges)
1107
+ * - Size information
1108
+ * - Schema configuration
1109
+ * - Creation/modification timestamps
1110
+ * - Last access time (when available)
1111
+ *
1112
+ * **Statistics:**
1113
+ * Real-time statistics queried from Kuzu:
1114
+ * - Node count
1115
+ * - Edge count
1116
+ * - Database size on disk
1117
+ * - Schema information
1118
+ */
1119
+ export declare const getSubgraphInfo: <ThrowOnError extends boolean = false>(options: Options<GetSubgraphInfoData, ThrowOnError>) => import("./client").RequestResult<GetSubgraphInfoResponses, GetSubgraphInfoErrors, ThrowOnError, "fields">;
1120
+ /**
1121
+ * Create New Graph Database
1122
+ * Create a new graph database with specified schema and optionally an initial entity.
1123
+ *
1124
+ * This endpoint starts an asynchronous graph creation operation and returns
1125
+ * connection details for monitoring progress via Server-Sent Events (SSE).
1126
+ *
1127
+ * **Operation Types:**
1128
+ * - **Generic Graph**: Creates empty graph with schema extensions
1129
+ * - **Entity Graph**: Creates graph with initial entity data
1130
+ *
1131
+ * **Monitoring Progress:**
1132
+ * Use the returned `operation_id` to connect to the SSE stream:
1133
+ * ```javascript
1134
+ * const eventSource = new EventSource('/v1/operations/{operation_id}/stream');
1135
+ * eventSource.onmessage = (event) => {
1136
+ * const data = JSON.parse(event.data);
1137
+ * console.log('Progress:', data.progress_percent + '%');
1138
+ * };
1139
+ * ```
1140
+ *
1141
+ * **SSE Connection Limits:**
1142
+ * - Maximum 5 concurrent SSE connections per user
1143
+ * - Rate limited to 10 new connections per minute
1144
+ * - Automatic circuit breaker for Redis failures
1145
+ * - Graceful degradation if event system unavailable
1146
+ *
1147
+ * **Events Emitted:**
1148
+ * - `operation_started`: Graph creation begins
1149
+ * - `operation_progress`: Schema loading, database setup, etc.
1150
+ * - `operation_completed`: Graph ready with connection details
1151
+ * - `operation_error`: Creation failed with error details
1152
+ *
1153
+ * **Error Handling:**
1154
+ * - `429 Too Many Requests`: SSE connection limit exceeded
1155
+ * - `503 Service Unavailable`: SSE system temporarily disabled
1156
+ * - Clients should implement exponential backoff on errors
1157
+ *
1158
+ * **Response includes:**
1159
+ * - `operation_id`: Unique identifier for monitoring
1160
+ * - `_links.stream`: SSE endpoint for real-time updates
1161
+ * - `_links.status`: Point-in-time status check endpoint
1162
+ */
1163
+ export declare const createGraph: <ThrowOnError extends boolean = false>(options: Options<CreateGraphData, ThrowOnError>) => import("./client").RequestResult<CreateGraphResponses, CreateGraphErrors, ThrowOnError, "fields">;
1164
+ /**
1165
+ * Get Available Schema Extensions
1166
+ * List all available schema extensions for graph creation
1167
+ */
1168
+ export declare const getAvailableExtensions: <ThrowOnError extends boolean = false>(options?: Options<GetAvailableExtensionsData, ThrowOnError>) => import("./client").RequestResult<GetAvailableExtensionsResponses, unknown, ThrowOnError, "fields">;
1169
+ /**
1170
+ * Get Service Offerings
1171
+ * Get comprehensive information about all subscription offerings.
1172
+ *
1173
+ * This endpoint provides complete information about both graph database subscriptions
1174
+ * and shared repository subscriptions. This is the primary endpoint for frontend
1175
+ * applications to display subscription options.
1176
+ *
1177
+ * Includes:
1178
+ * - Graph subscription tiers (standard, enterprise, premium)
1179
+ * - Shared repository subscriptions (SEC, industry, economic data)
1180
+ * - Operation costs and credit information
1181
+ * - Features and capabilities for each tier
1182
+ * - Enabled/disabled status for repositories
1183
+ *
1184
+ * All data comes from the config-based systems to ensure accuracy with backend behavior.
1185
+ *
1186
+ * No authentication required - this is public service information.
1187
+ */
1188
+ export declare const getServiceOfferings: <ThrowOnError extends boolean = false>(options?: Options<GetServiceOfferingsData, ThrowOnError>) => import("./client").RequestResult<GetServiceOfferingsResponses, GetServiceOfferingsErrors, ThrowOnError, "fields">;
1189
+ /**
1190
+ * Stream Operation Events
1191
+ * Stream real-time events for an operation using Server-Sent Events (SSE).
1192
+ *
1193
+ * This endpoint provides real-time monitoring for all non-immediate operations including:
1194
+ * - Graph creation and management
1195
+ * - Agent analysis processing
1196
+ * - Database backups and restores
1197
+ * - Data synchronization tasks
1198
+ *
1199
+ * **Event Types:**
1200
+ * - `operation_started`: Operation began execution
1201
+ * - `operation_progress`: Progress update with details
1202
+ * - `operation_completed`: Operation finished successfully
1203
+ * - `operation_error`: Operation failed with error details
1204
+ * - `operation_cancelled`: Operation was cancelled
1205
+ *
1206
+ * **Features:**
1207
+ * - **Event Replay**: Use `from_sequence` parameter to replay missed events
1208
+ * - **Automatic Reconnection**: Client can reconnect and resume from last seen event
1209
+ * - **Real-time Updates**: Live progress updates during execution
1210
+ * - **Timeout Handling**: 30-second keepalive messages prevent connection timeouts
1211
+ * - **Graceful Degradation**: Automatic fallback if Redis is unavailable
1212
+ *
1213
+ * **Connection Limits:**
1214
+ * - Maximum 5 concurrent SSE connections per user
1215
+ * - Rate limited to 10 new connections per minute
1216
+ * - Automatic cleanup of stale connections
1217
+ * - Circuit breaker protection for Redis failures
1218
+ *
1219
+ * **Client Usage:**
1220
+ * ```javascript
1221
+ * const eventSource = new EventSource('/v1/operations/abc123/stream');
1222
+ * eventSource.onmessage = (event) => {
1223
+ * const data = JSON.parse(event.data);
1224
+ * console.log('Progress:', data);
1225
+ * };
1226
+ * eventSource.onerror = (error) => {
1227
+ * // Handle connection errors or rate limits
1228
+ * console.error('SSE Error:', error);
1229
+ * };
1230
+ * ```
1231
+ *
1232
+ * **Error Handling:**
1233
+ * - `429 Too Many Requests`: Connection limit or rate limit exceeded
1234
+ * - `503 Service Unavailable`: SSE system temporarily disabled
1235
+ * - Clients should implement exponential backoff on errors
1236
+ *
1237
+ * **No credits are consumed for SSE connections.**
1238
+ */
1239
+ export declare const streamOperationEvents: <ThrowOnError extends boolean = false>(options: Options<StreamOperationEventsData, ThrowOnError>) => import("./client").RequestResult<StreamOperationEventsResponses, StreamOperationEventsErrors, ThrowOnError, "fields">;
1240
+ /**
1241
+ * Get Operation Status
1242
+ * Get current status and metadata for an operation.
1243
+ *
1244
+ * Returns detailed information including:
1245
+ * - Current status (pending, running, completed, failed, cancelled)
1246
+ * - Creation and update timestamps
1247
+ * - Operation type and associated graph
1248
+ * - Result data (for completed operations)
1249
+ * - Error details (for failed operations)
1250
+ *
1251
+ * This endpoint provides a point-in-time status check, while the `/stream` endpoint
1252
+ * provides real-time updates. Use this for polling or initial status checks.
1253
+ *
1254
+ * **No credits are consumed for status checks.**
1255
+ */
1256
+ export declare const getOperationStatus: <ThrowOnError extends boolean = false>(options: Options<GetOperationStatusData, ThrowOnError>) => import("./client").RequestResult<GetOperationStatusResponses, GetOperationStatusErrors, ThrowOnError, "fields">;
1257
+ /**
1258
+ * Cancel Operation
1259
+ * Cancel a pending or running operation.
1260
+ *
1261
+ * Cancels the specified operation if it's still in progress. Once cancelled,
1262
+ * the operation cannot be resumed and will emit a cancellation event to any
1263
+ * active SSE connections.
1264
+ *
1265
+ * **Note**: Completed or already failed operations cannot be cancelled.
1266
+ *
1267
+ * **No credits are consumed for cancellation requests.**
1268
+ */
1269
+ export declare const cancelOperation: <ThrowOnError extends boolean = false>(options: Options<CancelOperationData, ThrowOnError>) => import("./client").RequestResult<CancelOperationResponses, CancelOperationErrors, ThrowOnError, "fields">;