@robosystems/client 0.2.3 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +141 -10
- package/sdk/sdk.gen.js +157 -10
- package/sdk/sdk.gen.ts +157 -10
- package/sdk/types.gen.d.ts +304 -18
- package/sdk/types.gen.ts +317 -18
- package/sdk.gen.d.ts +141 -10
- package/sdk.gen.js +157 -10
- package/sdk.gen.ts +157 -10
- package/types.gen.d.ts +304 -18
- package/types.gen.ts +317 -18
package/sdk/types.gen.d.ts
CHANGED
|
@@ -365,7 +365,7 @@ export type AgentResponse = {
|
|
|
365
365
|
} | null;
|
|
366
366
|
/**
|
|
367
367
|
* Confidence Score
|
|
368
|
-
* Confidence score of the response
|
|
368
|
+
* Confidence score of the response (0.0-1.0 scale)
|
|
369
369
|
*/
|
|
370
370
|
confidence_score?: number | null;
|
|
371
371
|
/**
|
|
@@ -418,6 +418,16 @@ export type AuthResponse = {
|
|
|
418
418
|
* JWT authentication token (optional for cookie-based auth)
|
|
419
419
|
*/
|
|
420
420
|
token?: string | null;
|
|
421
|
+
/**
|
|
422
|
+
* Expires In
|
|
423
|
+
* Token expiry time in seconds from now
|
|
424
|
+
*/
|
|
425
|
+
expires_in?: number | null;
|
|
426
|
+
/**
|
|
427
|
+
* Refresh Threshold
|
|
428
|
+
* Recommended refresh threshold in seconds before expiry
|
|
429
|
+
*/
|
|
430
|
+
refresh_threshold?: number | null;
|
|
421
431
|
};
|
|
422
432
|
/**
|
|
423
433
|
* AvailableExtension
|
|
@@ -481,6 +491,58 @@ export type BackupCreateRequest = {
|
|
|
481
491
|
*/
|
|
482
492
|
schedule?: string | null;
|
|
483
493
|
};
|
|
494
|
+
/**
|
|
495
|
+
* BackupDownloadUrlResponse
|
|
496
|
+
* Response model for backup download URL generation.
|
|
497
|
+
*/
|
|
498
|
+
export type BackupDownloadUrlResponse = {
|
|
499
|
+
/**
|
|
500
|
+
* Download Url
|
|
501
|
+
* Pre-signed S3 URL for downloading the backup file
|
|
502
|
+
*/
|
|
503
|
+
download_url: string;
|
|
504
|
+
/**
|
|
505
|
+
* Expires In
|
|
506
|
+
* URL expiration time in seconds from now
|
|
507
|
+
*/
|
|
508
|
+
expires_in: number;
|
|
509
|
+
/**
|
|
510
|
+
* Expires At
|
|
511
|
+
* Unix timestamp when the URL expires
|
|
512
|
+
*/
|
|
513
|
+
expires_at: number;
|
|
514
|
+
/**
|
|
515
|
+
* Backup Id
|
|
516
|
+
* Backup identifier
|
|
517
|
+
*/
|
|
518
|
+
backup_id: string;
|
|
519
|
+
/**
|
|
520
|
+
* Graph Id
|
|
521
|
+
* Graph database identifier
|
|
522
|
+
*/
|
|
523
|
+
graph_id: string;
|
|
524
|
+
};
|
|
525
|
+
/**
|
|
526
|
+
* BackupLimits
|
|
527
|
+
* Backup operation limits.
|
|
528
|
+
*/
|
|
529
|
+
export type BackupLimits = {
|
|
530
|
+
/**
|
|
531
|
+
* Max Backup Size Gb
|
|
532
|
+
* Maximum backup size in GB
|
|
533
|
+
*/
|
|
534
|
+
max_backup_size_gb: number;
|
|
535
|
+
/**
|
|
536
|
+
* Backup Retention Days
|
|
537
|
+
* Backup retention period in days
|
|
538
|
+
*/
|
|
539
|
+
backup_retention_days: number;
|
|
540
|
+
/**
|
|
541
|
+
* Max Backups Per Day
|
|
542
|
+
* Maximum backups per day
|
|
543
|
+
*/
|
|
544
|
+
max_backups_per_day: number;
|
|
545
|
+
};
|
|
484
546
|
/**
|
|
485
547
|
* BackupListResponse
|
|
486
548
|
* Response model for backup list.
|
|
@@ -648,7 +710,7 @@ export type BackupStatsResponse = {
|
|
|
648
710
|
export type BatchAgentRequest = {
|
|
649
711
|
/**
|
|
650
712
|
* Queries
|
|
651
|
-
* List of queries to process
|
|
713
|
+
* List of queries to process (max 10)
|
|
652
714
|
*/
|
|
653
715
|
queries: Array<AgentRequest>;
|
|
654
716
|
/**
|
|
@@ -664,12 +726,12 @@ export type BatchAgentRequest = {
|
|
|
664
726
|
export type BatchAgentResponse = {
|
|
665
727
|
/**
|
|
666
728
|
* Results
|
|
667
|
-
* List of agent responses
|
|
729
|
+
* List of agent responses (includes successes and failures)
|
|
668
730
|
*/
|
|
669
731
|
results: Array<AgentResponse>;
|
|
670
732
|
/**
|
|
671
733
|
* Total Execution Time
|
|
672
|
-
* Total execution time
|
|
734
|
+
* Total execution time in seconds
|
|
673
735
|
*/
|
|
674
736
|
total_execution_time: number;
|
|
675
737
|
/**
|
|
@@ -894,6 +956,42 @@ export type ConnectionResponse = {
|
|
|
894
956
|
[key: string]: unknown;
|
|
895
957
|
};
|
|
896
958
|
};
|
|
959
|
+
/**
|
|
960
|
+
* CopyOperationLimits
|
|
961
|
+
* Copy/ingestion operation limits.
|
|
962
|
+
*/
|
|
963
|
+
export type CopyOperationLimits = {
|
|
964
|
+
/**
|
|
965
|
+
* Max File Size Gb
|
|
966
|
+
* Maximum file size in GB
|
|
967
|
+
*/
|
|
968
|
+
max_file_size_gb: number;
|
|
969
|
+
/**
|
|
970
|
+
* Timeout Seconds
|
|
971
|
+
* Operation timeout in seconds
|
|
972
|
+
*/
|
|
973
|
+
timeout_seconds: number;
|
|
974
|
+
/**
|
|
975
|
+
* Concurrent Operations
|
|
976
|
+
* Maximum concurrent operations
|
|
977
|
+
*/
|
|
978
|
+
concurrent_operations: number;
|
|
979
|
+
/**
|
|
980
|
+
* Max Files Per Operation
|
|
981
|
+
* Maximum files per operation
|
|
982
|
+
*/
|
|
983
|
+
max_files_per_operation: number;
|
|
984
|
+
/**
|
|
985
|
+
* Daily Copy Operations
|
|
986
|
+
* Daily operation limit
|
|
987
|
+
*/
|
|
988
|
+
daily_copy_operations: number;
|
|
989
|
+
/**
|
|
990
|
+
* Supported Formats
|
|
991
|
+
* Supported file formats
|
|
992
|
+
*/
|
|
993
|
+
supported_formats: Array<string>;
|
|
994
|
+
};
|
|
897
995
|
/**
|
|
898
996
|
* CreateAPIKeyRequest
|
|
899
997
|
* Request model for creating a new API key.
|
|
@@ -952,6 +1050,10 @@ export type CreateConnectionRequest = {
|
|
|
952
1050
|
/**
|
|
953
1051
|
* CreateGraphRequest
|
|
954
1052
|
* Request model for creating a new graph.
|
|
1053
|
+
*
|
|
1054
|
+
* Use this to create either:
|
|
1055
|
+
* - **Entity graphs**: Standard graphs with entity schema and optional extensions
|
|
1056
|
+
* - **Custom graphs**: Generic graphs with fully custom schema definitions
|
|
955
1057
|
*/
|
|
956
1058
|
export type CreateGraphRequest = {
|
|
957
1059
|
/**
|
|
@@ -964,11 +1066,11 @@ export type CreateGraphRequest = {
|
|
|
964
1066
|
*/
|
|
965
1067
|
instance_tier?: string;
|
|
966
1068
|
/**
|
|
967
|
-
* Custom schema definition to apply
|
|
1069
|
+
* Custom schema definition to apply. If provided, creates a generic custom graph. If omitted, creates an entity graph using schema_extensions.
|
|
968
1070
|
*/
|
|
969
1071
|
custom_schema?: CustomSchemaDefinition | null;
|
|
970
1072
|
/**
|
|
971
|
-
* Optional initial entity to create in the graph. If provided,
|
|
1073
|
+
* Optional initial entity to create in the graph. If provided with entity graph, populates the first entity node.
|
|
972
1074
|
*/
|
|
973
1075
|
initial_entity?: InitialEntityData | null;
|
|
974
1076
|
/**
|
|
@@ -1019,6 +1121,32 @@ export type CreateSubgraphRequest = {
|
|
|
1019
1121
|
[key: string]: unknown;
|
|
1020
1122
|
} | null;
|
|
1021
1123
|
};
|
|
1124
|
+
/**
|
|
1125
|
+
* CreditLimits
|
|
1126
|
+
* AI credit limits (optional).
|
|
1127
|
+
*/
|
|
1128
|
+
export type CreditLimits = {
|
|
1129
|
+
/**
|
|
1130
|
+
* Monthly Ai Credits
|
|
1131
|
+
* Monthly AI credits allocation
|
|
1132
|
+
*/
|
|
1133
|
+
monthly_ai_credits: number;
|
|
1134
|
+
/**
|
|
1135
|
+
* Current Balance
|
|
1136
|
+
* Current credit balance
|
|
1137
|
+
*/
|
|
1138
|
+
current_balance: number;
|
|
1139
|
+
/**
|
|
1140
|
+
* Storage Billing Enabled
|
|
1141
|
+
* Whether storage billing is enabled
|
|
1142
|
+
*/
|
|
1143
|
+
storage_billing_enabled: boolean;
|
|
1144
|
+
/**
|
|
1145
|
+
* Storage Rate Per Gb Per Day
|
|
1146
|
+
* Storage billing rate per GB per day
|
|
1147
|
+
*/
|
|
1148
|
+
storage_rate_per_gb_per_day: number;
|
|
1149
|
+
};
|
|
1022
1150
|
/**
|
|
1023
1151
|
* CreditSummary
|
|
1024
1152
|
* Credit balance summary.
|
|
@@ -1139,7 +1267,11 @@ export type CreditsSummaryResponse = {
|
|
|
1139
1267
|
};
|
|
1140
1268
|
/**
|
|
1141
1269
|
* CustomSchemaDefinition
|
|
1142
|
-
* Custom schema definition for
|
|
1270
|
+
* Custom schema definition for generic graphs.
|
|
1271
|
+
*
|
|
1272
|
+
* This model allows you to define custom node types, relationship types, and properties
|
|
1273
|
+
* for graphs that don't fit the standard entity-based schema. Perfect for domain-specific
|
|
1274
|
+
* applications like inventory systems, org charts, project management, etc.
|
|
1143
1275
|
*/
|
|
1144
1276
|
export type CustomSchemaDefinition = {
|
|
1145
1277
|
/**
|
|
@@ -1159,7 +1291,7 @@ export type CustomSchemaDefinition = {
|
|
|
1159
1291
|
description?: string | null;
|
|
1160
1292
|
/**
|
|
1161
1293
|
* Extends
|
|
1162
|
-
* Base schema to extend (e.g., 'base')
|
|
1294
|
+
* Base schema to extend (e.g., 'base' for common utilities)
|
|
1163
1295
|
*/
|
|
1164
1296
|
extends?: string | null;
|
|
1165
1297
|
/**
|
|
@@ -1779,6 +1911,56 @@ export type GraphInfo = {
|
|
|
1779
1911
|
*/
|
|
1780
1912
|
createdAt: string;
|
|
1781
1913
|
};
|
|
1914
|
+
/**
|
|
1915
|
+
* GraphLimitsResponse
|
|
1916
|
+
* Response model for comprehensive graph operational limits.
|
|
1917
|
+
*/
|
|
1918
|
+
export type GraphLimitsResponse = {
|
|
1919
|
+
/**
|
|
1920
|
+
* Graph Id
|
|
1921
|
+
* Graph database identifier
|
|
1922
|
+
*/
|
|
1923
|
+
graph_id: string;
|
|
1924
|
+
/**
|
|
1925
|
+
* Subscription Tier
|
|
1926
|
+
* User's subscription tier
|
|
1927
|
+
*/
|
|
1928
|
+
subscription_tier: string;
|
|
1929
|
+
/**
|
|
1930
|
+
* Graph Tier
|
|
1931
|
+
* Graph's database tier
|
|
1932
|
+
*/
|
|
1933
|
+
graph_tier: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Is Shared Repository
|
|
1936
|
+
* Whether this is a shared repository
|
|
1937
|
+
*/
|
|
1938
|
+
is_shared_repository: boolean;
|
|
1939
|
+
/**
|
|
1940
|
+
* Storage limits and usage
|
|
1941
|
+
*/
|
|
1942
|
+
storage: StorageLimits;
|
|
1943
|
+
/**
|
|
1944
|
+
* Query operation limits
|
|
1945
|
+
*/
|
|
1946
|
+
queries: QueryLimits;
|
|
1947
|
+
/**
|
|
1948
|
+
* Copy/ingestion operation limits
|
|
1949
|
+
*/
|
|
1950
|
+
copy_operations: CopyOperationLimits;
|
|
1951
|
+
/**
|
|
1952
|
+
* Backup operation limits
|
|
1953
|
+
*/
|
|
1954
|
+
backups: BackupLimits;
|
|
1955
|
+
/**
|
|
1956
|
+
* API rate limits
|
|
1957
|
+
*/
|
|
1958
|
+
rate_limits: RateLimits;
|
|
1959
|
+
/**
|
|
1960
|
+
* AI credit limits (if applicable)
|
|
1961
|
+
*/
|
|
1962
|
+
credits?: CreditLimits | null;
|
|
1963
|
+
};
|
|
1782
1964
|
/**
|
|
1783
1965
|
* GraphMetadata
|
|
1784
1966
|
* Metadata for graph creation.
|
|
@@ -1940,7 +2122,10 @@ export type HealthStatus = {
|
|
|
1940
2122
|
};
|
|
1941
2123
|
/**
|
|
1942
2124
|
* InitialEntityData
|
|
1943
|
-
* Initial entity data for graph creation.
|
|
2125
|
+
* Initial entity data for entity-focused graph creation.
|
|
2126
|
+
*
|
|
2127
|
+
* When creating an entity graph with an initial entity node, this model defines
|
|
2128
|
+
* the entity's identifying information and metadata.
|
|
1944
2129
|
*/
|
|
1945
2130
|
export type InitialEntityData = {
|
|
1946
2131
|
/**
|
|
@@ -2317,6 +2502,32 @@ export type PlaidConnectionConfig = {
|
|
|
2317
2502
|
[key: string]: unknown;
|
|
2318
2503
|
}> | null;
|
|
2319
2504
|
};
|
|
2505
|
+
/**
|
|
2506
|
+
* QueryLimits
|
|
2507
|
+
* Query operation limits.
|
|
2508
|
+
*/
|
|
2509
|
+
export type QueryLimits = {
|
|
2510
|
+
/**
|
|
2511
|
+
* Max Timeout Seconds
|
|
2512
|
+
* Maximum query timeout in seconds
|
|
2513
|
+
*/
|
|
2514
|
+
max_timeout_seconds: number;
|
|
2515
|
+
/**
|
|
2516
|
+
* Chunk Size
|
|
2517
|
+
* Maximum chunk size for result streaming
|
|
2518
|
+
*/
|
|
2519
|
+
chunk_size: number;
|
|
2520
|
+
/**
|
|
2521
|
+
* Max Rows Per Query
|
|
2522
|
+
* Maximum rows returned per query
|
|
2523
|
+
*/
|
|
2524
|
+
max_rows_per_query: number;
|
|
2525
|
+
/**
|
|
2526
|
+
* Concurrent Queries
|
|
2527
|
+
* Maximum concurrent queries allowed
|
|
2528
|
+
*/
|
|
2529
|
+
concurrent_queries: number;
|
|
2530
|
+
};
|
|
2320
2531
|
/**
|
|
2321
2532
|
* QuickBooksConnectionConfig
|
|
2322
2533
|
* QuickBooks-specific connection configuration.
|
|
@@ -2333,6 +2544,27 @@ export type QuickBooksConnectionConfig = {
|
|
|
2333
2544
|
*/
|
|
2334
2545
|
refresh_token?: string | null;
|
|
2335
2546
|
};
|
|
2547
|
+
/**
|
|
2548
|
+
* RateLimits
|
|
2549
|
+
* API rate limits.
|
|
2550
|
+
*/
|
|
2551
|
+
export type RateLimits = {
|
|
2552
|
+
/**
|
|
2553
|
+
* Requests Per Minute
|
|
2554
|
+
* Requests per minute limit
|
|
2555
|
+
*/
|
|
2556
|
+
requests_per_minute: number;
|
|
2557
|
+
/**
|
|
2558
|
+
* Requests Per Hour
|
|
2559
|
+
* Requests per hour limit
|
|
2560
|
+
*/
|
|
2561
|
+
requests_per_hour: number;
|
|
2562
|
+
/**
|
|
2563
|
+
* Burst Capacity
|
|
2564
|
+
* Burst capacity for short spikes
|
|
2565
|
+
*/
|
|
2566
|
+
burst_capacity: number;
|
|
2567
|
+
};
|
|
2336
2568
|
/**
|
|
2337
2569
|
* RegisterRequest
|
|
2338
2570
|
* Registration request model.
|
|
@@ -2712,6 +2944,27 @@ export type StorageLimitResponse = {
|
|
|
2712
2944
|
*/
|
|
2713
2945
|
recommendations?: Array<string> | null;
|
|
2714
2946
|
};
|
|
2947
|
+
/**
|
|
2948
|
+
* StorageLimits
|
|
2949
|
+
* Storage limits information.
|
|
2950
|
+
*/
|
|
2951
|
+
export type StorageLimits = {
|
|
2952
|
+
/**
|
|
2953
|
+
* Current Usage Gb
|
|
2954
|
+
* Current storage usage in GB
|
|
2955
|
+
*/
|
|
2956
|
+
current_usage_gb?: number | null;
|
|
2957
|
+
/**
|
|
2958
|
+
* Max Storage Gb
|
|
2959
|
+
* Maximum storage limit in GB
|
|
2960
|
+
*/
|
|
2961
|
+
max_storage_gb: number;
|
|
2962
|
+
/**
|
|
2963
|
+
* Approaching Limit
|
|
2964
|
+
* Whether approaching storage limit (>80%)
|
|
2965
|
+
*/
|
|
2966
|
+
approaching_limit: boolean;
|
|
2967
|
+
};
|
|
2715
2968
|
/**
|
|
2716
2969
|
* SubgraphQuotaResponse
|
|
2717
2970
|
* Response model for subgraph quota information.
|
|
@@ -5208,12 +5461,9 @@ export type GetBackupDownloadUrlErrors = {
|
|
|
5208
5461
|
export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
|
|
5209
5462
|
export type GetBackupDownloadUrlResponses = {
|
|
5210
5463
|
/**
|
|
5211
|
-
* Response Getbackupdownloadurl
|
|
5212
5464
|
* Download URL generated successfully
|
|
5213
5465
|
*/
|
|
5214
|
-
200:
|
|
5215
|
-
[key: string]: unknown;
|
|
5216
|
-
};
|
|
5466
|
+
200: BackupDownloadUrlResponse;
|
|
5217
5467
|
};
|
|
5218
5468
|
export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
|
|
5219
5469
|
export type RestoreBackupData = {
|
|
@@ -5424,12 +5674,23 @@ export type ExecuteCypherQueryResponses = {
|
|
|
5424
5674
|
/**
|
|
5425
5675
|
* Query executed successfully
|
|
5426
5676
|
*/
|
|
5427
|
-
200:
|
|
5677
|
+
200: {
|
|
5678
|
+
success?: boolean;
|
|
5679
|
+
data?: Array<{
|
|
5680
|
+
[key: string]: unknown;
|
|
5681
|
+
}>;
|
|
5682
|
+
columns?: Array<string>;
|
|
5683
|
+
row_count?: number;
|
|
5684
|
+
execution_time_ms?: number;
|
|
5685
|
+
graph_id?: string;
|
|
5686
|
+
timestamp?: string;
|
|
5687
|
+
};
|
|
5428
5688
|
/**
|
|
5429
5689
|
* Query queued for execution
|
|
5430
5690
|
*/
|
|
5431
5691
|
202: unknown;
|
|
5432
5692
|
};
|
|
5693
|
+
export type ExecuteCypherQueryResponse = ExecuteCypherQueryResponses[keyof ExecuteCypherQueryResponses];
|
|
5433
5694
|
export type GetGraphSchemaData = {
|
|
5434
5695
|
body?: never;
|
|
5435
5696
|
path: {
|
|
@@ -6095,12 +6356,9 @@ export type GetGraphLimitsErrors = {
|
|
|
6095
6356
|
export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
|
|
6096
6357
|
export type GetGraphLimitsResponses = {
|
|
6097
6358
|
/**
|
|
6098
|
-
* Response Getgraphlimits
|
|
6099
6359
|
* Limits retrieved successfully
|
|
6100
6360
|
*/
|
|
6101
|
-
200:
|
|
6102
|
-
[key: string]: unknown;
|
|
6103
|
-
};
|
|
6361
|
+
200: GraphLimitsResponse;
|
|
6104
6362
|
};
|
|
6105
6363
|
export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
|
|
6106
6364
|
export type ListSubgraphsData = {
|
|
@@ -6743,6 +7001,34 @@ export type GetAvailableExtensionsResponses = {
|
|
|
6743
7001
|
200: AvailableExtensionsResponse;
|
|
6744
7002
|
};
|
|
6745
7003
|
export type GetAvailableExtensionsResponse = GetAvailableExtensionsResponses[keyof GetAvailableExtensionsResponses];
|
|
7004
|
+
export type GetAvailableGraphTiersData = {
|
|
7005
|
+
body?: never;
|
|
7006
|
+
path?: never;
|
|
7007
|
+
query?: {
|
|
7008
|
+
/**
|
|
7009
|
+
* Include Disabled
|
|
7010
|
+
*/
|
|
7011
|
+
include_disabled?: boolean;
|
|
7012
|
+
};
|
|
7013
|
+
url: '/v1/graphs/tiers';
|
|
7014
|
+
};
|
|
7015
|
+
export type GetAvailableGraphTiersErrors = {
|
|
7016
|
+
/**
|
|
7017
|
+
* Validation Error
|
|
7018
|
+
*/
|
|
7019
|
+
422: HttpValidationError;
|
|
7020
|
+
/**
|
|
7021
|
+
* Failed to retrieve tiers
|
|
7022
|
+
*/
|
|
7023
|
+
500: unknown;
|
|
7024
|
+
};
|
|
7025
|
+
export type GetAvailableGraphTiersError = GetAvailableGraphTiersErrors[keyof GetAvailableGraphTiersErrors];
|
|
7026
|
+
export type GetAvailableGraphTiersResponses = {
|
|
7027
|
+
/**
|
|
7028
|
+
* Tiers retrieved successfully
|
|
7029
|
+
*/
|
|
7030
|
+
200: unknown;
|
|
7031
|
+
};
|
|
6746
7032
|
export type SelectGraphData = {
|
|
6747
7033
|
body?: never;
|
|
6748
7034
|
path: {
|