@robosystems/client 0.2.4 → 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 +294 -18
- package/sdk/types.gen.ts +307 -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 +294 -18
- package/types.gen.ts +307 -18
package/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
|
/**
|
|
@@ -491,6 +491,58 @@ export type BackupCreateRequest = {
|
|
|
491
491
|
*/
|
|
492
492
|
schedule?: string | null;
|
|
493
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
|
+
};
|
|
494
546
|
/**
|
|
495
547
|
* BackupListResponse
|
|
496
548
|
* Response model for backup list.
|
|
@@ -658,7 +710,7 @@ export type BackupStatsResponse = {
|
|
|
658
710
|
export type BatchAgentRequest = {
|
|
659
711
|
/**
|
|
660
712
|
* Queries
|
|
661
|
-
* List of queries to process
|
|
713
|
+
* List of queries to process (max 10)
|
|
662
714
|
*/
|
|
663
715
|
queries: Array<AgentRequest>;
|
|
664
716
|
/**
|
|
@@ -674,12 +726,12 @@ export type BatchAgentRequest = {
|
|
|
674
726
|
export type BatchAgentResponse = {
|
|
675
727
|
/**
|
|
676
728
|
* Results
|
|
677
|
-
* List of agent responses
|
|
729
|
+
* List of agent responses (includes successes and failures)
|
|
678
730
|
*/
|
|
679
731
|
results: Array<AgentResponse>;
|
|
680
732
|
/**
|
|
681
733
|
* Total Execution Time
|
|
682
|
-
* Total execution time
|
|
734
|
+
* Total execution time in seconds
|
|
683
735
|
*/
|
|
684
736
|
total_execution_time: number;
|
|
685
737
|
/**
|
|
@@ -904,6 +956,42 @@ export type ConnectionResponse = {
|
|
|
904
956
|
[key: string]: unknown;
|
|
905
957
|
};
|
|
906
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
|
+
};
|
|
907
995
|
/**
|
|
908
996
|
* CreateAPIKeyRequest
|
|
909
997
|
* Request model for creating a new API key.
|
|
@@ -962,6 +1050,10 @@ export type CreateConnectionRequest = {
|
|
|
962
1050
|
/**
|
|
963
1051
|
* CreateGraphRequest
|
|
964
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
|
|
965
1057
|
*/
|
|
966
1058
|
export type CreateGraphRequest = {
|
|
967
1059
|
/**
|
|
@@ -974,11 +1066,11 @@ export type CreateGraphRequest = {
|
|
|
974
1066
|
*/
|
|
975
1067
|
instance_tier?: string;
|
|
976
1068
|
/**
|
|
977
|
-
* 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.
|
|
978
1070
|
*/
|
|
979
1071
|
custom_schema?: CustomSchemaDefinition | null;
|
|
980
1072
|
/**
|
|
981
|
-
* 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.
|
|
982
1074
|
*/
|
|
983
1075
|
initial_entity?: InitialEntityData | null;
|
|
984
1076
|
/**
|
|
@@ -1029,6 +1121,32 @@ export type CreateSubgraphRequest = {
|
|
|
1029
1121
|
[key: string]: unknown;
|
|
1030
1122
|
} | null;
|
|
1031
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
|
+
};
|
|
1032
1150
|
/**
|
|
1033
1151
|
* CreditSummary
|
|
1034
1152
|
* Credit balance summary.
|
|
@@ -1149,7 +1267,11 @@ export type CreditsSummaryResponse = {
|
|
|
1149
1267
|
};
|
|
1150
1268
|
/**
|
|
1151
1269
|
* CustomSchemaDefinition
|
|
1152
|
-
* 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.
|
|
1153
1275
|
*/
|
|
1154
1276
|
export type CustomSchemaDefinition = {
|
|
1155
1277
|
/**
|
|
@@ -1169,7 +1291,7 @@ export type CustomSchemaDefinition = {
|
|
|
1169
1291
|
description?: string | null;
|
|
1170
1292
|
/**
|
|
1171
1293
|
* Extends
|
|
1172
|
-
* Base schema to extend (e.g., 'base')
|
|
1294
|
+
* Base schema to extend (e.g., 'base' for common utilities)
|
|
1173
1295
|
*/
|
|
1174
1296
|
extends?: string | null;
|
|
1175
1297
|
/**
|
|
@@ -1789,6 +1911,56 @@ export type GraphInfo = {
|
|
|
1789
1911
|
*/
|
|
1790
1912
|
createdAt: string;
|
|
1791
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
|
+
};
|
|
1792
1964
|
/**
|
|
1793
1965
|
* GraphMetadata
|
|
1794
1966
|
* Metadata for graph creation.
|
|
@@ -1950,7 +2122,10 @@ export type HealthStatus = {
|
|
|
1950
2122
|
};
|
|
1951
2123
|
/**
|
|
1952
2124
|
* InitialEntityData
|
|
1953
|
-
* 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.
|
|
1954
2129
|
*/
|
|
1955
2130
|
export type InitialEntityData = {
|
|
1956
2131
|
/**
|
|
@@ -2327,6 +2502,32 @@ export type PlaidConnectionConfig = {
|
|
|
2327
2502
|
[key: string]: unknown;
|
|
2328
2503
|
}> | null;
|
|
2329
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
|
+
};
|
|
2330
2531
|
/**
|
|
2331
2532
|
* QuickBooksConnectionConfig
|
|
2332
2533
|
* QuickBooks-specific connection configuration.
|
|
@@ -2343,6 +2544,27 @@ export type QuickBooksConnectionConfig = {
|
|
|
2343
2544
|
*/
|
|
2344
2545
|
refresh_token?: string | null;
|
|
2345
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
|
+
};
|
|
2346
2568
|
/**
|
|
2347
2569
|
* RegisterRequest
|
|
2348
2570
|
* Registration request model.
|
|
@@ -2722,6 +2944,27 @@ export type StorageLimitResponse = {
|
|
|
2722
2944
|
*/
|
|
2723
2945
|
recommendations?: Array<string> | null;
|
|
2724
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
|
+
};
|
|
2725
2968
|
/**
|
|
2726
2969
|
* SubgraphQuotaResponse
|
|
2727
2970
|
* Response model for subgraph quota information.
|
|
@@ -5218,12 +5461,9 @@ export type GetBackupDownloadUrlErrors = {
|
|
|
5218
5461
|
export type GetBackupDownloadUrlError = GetBackupDownloadUrlErrors[keyof GetBackupDownloadUrlErrors];
|
|
5219
5462
|
export type GetBackupDownloadUrlResponses = {
|
|
5220
5463
|
/**
|
|
5221
|
-
* Response Getbackupdownloadurl
|
|
5222
5464
|
* Download URL generated successfully
|
|
5223
5465
|
*/
|
|
5224
|
-
200:
|
|
5225
|
-
[key: string]: unknown;
|
|
5226
|
-
};
|
|
5466
|
+
200: BackupDownloadUrlResponse;
|
|
5227
5467
|
};
|
|
5228
5468
|
export type GetBackupDownloadUrlResponse = GetBackupDownloadUrlResponses[keyof GetBackupDownloadUrlResponses];
|
|
5229
5469
|
export type RestoreBackupData = {
|
|
@@ -5434,12 +5674,23 @@ export type ExecuteCypherQueryResponses = {
|
|
|
5434
5674
|
/**
|
|
5435
5675
|
* Query executed successfully
|
|
5436
5676
|
*/
|
|
5437
|
-
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
|
+
};
|
|
5438
5688
|
/**
|
|
5439
5689
|
* Query queued for execution
|
|
5440
5690
|
*/
|
|
5441
5691
|
202: unknown;
|
|
5442
5692
|
};
|
|
5693
|
+
export type ExecuteCypherQueryResponse = ExecuteCypherQueryResponses[keyof ExecuteCypherQueryResponses];
|
|
5443
5694
|
export type GetGraphSchemaData = {
|
|
5444
5695
|
body?: never;
|
|
5445
5696
|
path: {
|
|
@@ -6105,12 +6356,9 @@ export type GetGraphLimitsErrors = {
|
|
|
6105
6356
|
export type GetGraphLimitsError = GetGraphLimitsErrors[keyof GetGraphLimitsErrors];
|
|
6106
6357
|
export type GetGraphLimitsResponses = {
|
|
6107
6358
|
/**
|
|
6108
|
-
* Response Getgraphlimits
|
|
6109
6359
|
* Limits retrieved successfully
|
|
6110
6360
|
*/
|
|
6111
|
-
200:
|
|
6112
|
-
[key: string]: unknown;
|
|
6113
|
-
};
|
|
6361
|
+
200: GraphLimitsResponse;
|
|
6114
6362
|
};
|
|
6115
6363
|
export type GetGraphLimitsResponse = GetGraphLimitsResponses[keyof GetGraphLimitsResponses];
|
|
6116
6364
|
export type ListSubgraphsData = {
|
|
@@ -6753,6 +7001,34 @@ export type GetAvailableExtensionsResponses = {
|
|
|
6753
7001
|
200: AvailableExtensionsResponse;
|
|
6754
7002
|
};
|
|
6755
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
|
+
};
|
|
6756
7032
|
export type SelectGraphData = {
|
|
6757
7033
|
body?: never;
|
|
6758
7034
|
path: {
|