@robosystems/client 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/extensions/GraphClient.d.ts +71 -0
- package/extensions/GraphClient.js +176 -0
- package/extensions/GraphClient.test.ts +285 -0
- package/extensions/GraphClient.ts +281 -0
- package/extensions/TableIngestClient.d.ts +1 -1
- package/extensions/TableIngestClient.js +20 -20
- package/extensions/TableIngestClient.test.ts +1 -1
- package/extensions/TableIngestClient.ts +23 -28
- package/extensions/hooks.d.ts +1 -1
- package/extensions/index.d.ts +5 -1
- package/extensions/index.js +14 -1
- package/extensions/index.test.ts +22 -0
- package/extensions/index.ts +15 -1
- package/package.json +1 -1
- package/sdk/sdk.gen.d.ts +528 -26
- package/sdk/sdk.gen.js +534 -32
- package/sdk/sdk.gen.ts +532 -30
- package/sdk/types.gen.d.ts +289 -82
- package/sdk/types.gen.ts +293 -82
- package/sdk-extensions/GraphClient.d.ts +71 -0
- package/sdk-extensions/GraphClient.js +176 -0
- package/sdk-extensions/GraphClient.test.ts +285 -0
- package/sdk-extensions/GraphClient.ts +281 -0
- package/sdk-extensions/TableIngestClient.d.ts +1 -1
- package/sdk-extensions/TableIngestClient.js +20 -20
- package/sdk-extensions/TableIngestClient.test.ts +1 -1
- package/sdk-extensions/TableIngestClient.ts +23 -28
- package/sdk-extensions/hooks.d.ts +1 -1
- package/sdk-extensions/index.d.ts +5 -1
- package/sdk-extensions/index.js +14 -1
- package/sdk-extensions/index.test.ts +22 -0
- package/sdk-extensions/index.ts +15 -1
- package/sdk.gen.d.ts +528 -26
- package/sdk.gen.js +534 -32
- package/sdk.gen.ts +532 -30
- package/types.gen.d.ts +289 -82
- package/types.gen.ts +293 -82
package/sdk/types.gen.d.ts
CHANGED
|
@@ -971,6 +971,11 @@ export type CreateGraphRequest = {
|
|
|
971
971
|
* Optional initial entity to create in the graph. If provided, creates a entity-focused graph.
|
|
972
972
|
*/
|
|
973
973
|
initial_entity?: InitialEntityData | null;
|
|
974
|
+
/**
|
|
975
|
+
* Create Entity
|
|
976
|
+
* Whether to create the entity node and upload initial data. Only applies when initial_entity is provided. Set to False to create graph without populating entity data (useful for file-based ingestion workflows).
|
|
977
|
+
*/
|
|
978
|
+
create_entity?: boolean;
|
|
974
979
|
/**
|
|
975
980
|
* Tags
|
|
976
981
|
* Optional tags for organization
|
|
@@ -1339,6 +1344,31 @@ export type DatabaseInfoResponse = {
|
|
|
1339
1344
|
*/
|
|
1340
1345
|
last_backup_date?: string | null;
|
|
1341
1346
|
};
|
|
1347
|
+
/**
|
|
1348
|
+
* DeleteFileResponse
|
|
1349
|
+
*/
|
|
1350
|
+
export type DeleteFileResponse = {
|
|
1351
|
+
/**
|
|
1352
|
+
* Status
|
|
1353
|
+
* Deletion status
|
|
1354
|
+
*/
|
|
1355
|
+
status: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* File Id
|
|
1358
|
+
* Deleted file ID
|
|
1359
|
+
*/
|
|
1360
|
+
file_id: string;
|
|
1361
|
+
/**
|
|
1362
|
+
* File Name
|
|
1363
|
+
* Deleted file name
|
|
1364
|
+
*/
|
|
1365
|
+
file_name: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* Message
|
|
1368
|
+
* Operation message
|
|
1369
|
+
*/
|
|
1370
|
+
message: string;
|
|
1371
|
+
};
|
|
1342
1372
|
/**
|
|
1343
1373
|
* DeleteSubgraphRequest
|
|
1344
1374
|
* Request model for deleting a subgraph.
|
|
@@ -1533,19 +1563,69 @@ export type ExchangeTokenRequest = {
|
|
|
1533
1563
|
} | null;
|
|
1534
1564
|
};
|
|
1535
1565
|
/**
|
|
1536
|
-
*
|
|
1566
|
+
* FileInfo
|
|
1537
1567
|
*/
|
|
1538
|
-
export type
|
|
1568
|
+
export type FileInfo = {
|
|
1569
|
+
/**
|
|
1570
|
+
* File Id
|
|
1571
|
+
* Unique file identifier
|
|
1572
|
+
*/
|
|
1573
|
+
file_id: string;
|
|
1574
|
+
/**
|
|
1575
|
+
* File Name
|
|
1576
|
+
* Original file name
|
|
1577
|
+
*/
|
|
1578
|
+
file_name: string;
|
|
1579
|
+
/**
|
|
1580
|
+
* File Format
|
|
1581
|
+
* File format (parquet, csv, etc.)
|
|
1582
|
+
*/
|
|
1583
|
+
file_format: string;
|
|
1539
1584
|
/**
|
|
1540
|
-
*
|
|
1541
|
-
*
|
|
1585
|
+
* Size Bytes
|
|
1586
|
+
* File size in bytes
|
|
1542
1587
|
*/
|
|
1543
|
-
|
|
1588
|
+
size_bytes: number;
|
|
1544
1589
|
/**
|
|
1545
1590
|
* Row Count
|
|
1546
|
-
*
|
|
1591
|
+
* Estimated row count
|
|
1547
1592
|
*/
|
|
1548
1593
|
row_count?: number | null;
|
|
1594
|
+
/**
|
|
1595
|
+
* Upload Status
|
|
1596
|
+
* Current upload status
|
|
1597
|
+
*/
|
|
1598
|
+
upload_status: string;
|
|
1599
|
+
/**
|
|
1600
|
+
* Upload Method
|
|
1601
|
+
* Upload method used
|
|
1602
|
+
*/
|
|
1603
|
+
upload_method: string;
|
|
1604
|
+
/**
|
|
1605
|
+
* Created At
|
|
1606
|
+
* File creation timestamp
|
|
1607
|
+
*/
|
|
1608
|
+
created_at?: string | null;
|
|
1609
|
+
/**
|
|
1610
|
+
* Uploaded At
|
|
1611
|
+
* File upload completion timestamp
|
|
1612
|
+
*/
|
|
1613
|
+
uploaded_at?: string | null;
|
|
1614
|
+
/**
|
|
1615
|
+
* S3 Key
|
|
1616
|
+
* S3 object key
|
|
1617
|
+
*/
|
|
1618
|
+
s3_key: string;
|
|
1619
|
+
};
|
|
1620
|
+
/**
|
|
1621
|
+
* FileStatusUpdate
|
|
1622
|
+
*/
|
|
1623
|
+
export type FileStatusUpdate = {
|
|
1624
|
+
/**
|
|
1625
|
+
* Status
|
|
1626
|
+
* File status: 'uploaded' (ready for ingest), 'disabled' (exclude from ingest), 'archived' (soft deleted)
|
|
1627
|
+
*/
|
|
1628
|
+
status: string;
|
|
1549
1629
|
};
|
|
1550
1630
|
/**
|
|
1551
1631
|
* FileUploadRequest
|
|
@@ -1598,6 +1678,76 @@ export type ForgotPasswordRequest = {
|
|
|
1598
1678
|
*/
|
|
1599
1679
|
email: string;
|
|
1600
1680
|
};
|
|
1681
|
+
/**
|
|
1682
|
+
* GetFileInfoResponse
|
|
1683
|
+
*/
|
|
1684
|
+
export type GetFileInfoResponse = {
|
|
1685
|
+
/**
|
|
1686
|
+
* File Id
|
|
1687
|
+
* Unique file identifier
|
|
1688
|
+
*/
|
|
1689
|
+
file_id: string;
|
|
1690
|
+
/**
|
|
1691
|
+
* Graph Id
|
|
1692
|
+
* Graph database identifier
|
|
1693
|
+
*/
|
|
1694
|
+
graph_id: string;
|
|
1695
|
+
/**
|
|
1696
|
+
* Table Id
|
|
1697
|
+
* Table identifier
|
|
1698
|
+
*/
|
|
1699
|
+
table_id: string;
|
|
1700
|
+
/**
|
|
1701
|
+
* Table Name
|
|
1702
|
+
* Table name
|
|
1703
|
+
*/
|
|
1704
|
+
table_name?: string | null;
|
|
1705
|
+
/**
|
|
1706
|
+
* File Name
|
|
1707
|
+
* Original file name
|
|
1708
|
+
*/
|
|
1709
|
+
file_name: string;
|
|
1710
|
+
/**
|
|
1711
|
+
* File Format
|
|
1712
|
+
* File format (parquet, csv, etc.)
|
|
1713
|
+
*/
|
|
1714
|
+
file_format: string;
|
|
1715
|
+
/**
|
|
1716
|
+
* Size Bytes
|
|
1717
|
+
* File size in bytes
|
|
1718
|
+
*/
|
|
1719
|
+
size_bytes: number;
|
|
1720
|
+
/**
|
|
1721
|
+
* Row Count
|
|
1722
|
+
* Estimated row count
|
|
1723
|
+
*/
|
|
1724
|
+
row_count?: number | null;
|
|
1725
|
+
/**
|
|
1726
|
+
* Upload Status
|
|
1727
|
+
* Current upload status
|
|
1728
|
+
*/
|
|
1729
|
+
upload_status: string;
|
|
1730
|
+
/**
|
|
1731
|
+
* Upload Method
|
|
1732
|
+
* Upload method used
|
|
1733
|
+
*/
|
|
1734
|
+
upload_method: string;
|
|
1735
|
+
/**
|
|
1736
|
+
* Created At
|
|
1737
|
+
* File creation timestamp
|
|
1738
|
+
*/
|
|
1739
|
+
created_at?: string | null;
|
|
1740
|
+
/**
|
|
1741
|
+
* Uploaded At
|
|
1742
|
+
* File upload completion timestamp
|
|
1743
|
+
*/
|
|
1744
|
+
uploaded_at?: string | null;
|
|
1745
|
+
/**
|
|
1746
|
+
* S3 Key
|
|
1747
|
+
* S3 object key
|
|
1748
|
+
*/
|
|
1749
|
+
s3_key: string;
|
|
1750
|
+
};
|
|
1601
1751
|
/**
|
|
1602
1752
|
* GraphInfo
|
|
1603
1753
|
* Graph information for user.
|
|
@@ -1913,6 +2063,36 @@ export type ListSubgraphsResponse = {
|
|
|
1913
2063
|
*/
|
|
1914
2064
|
subgraphs: Array<SubgraphSummary>;
|
|
1915
2065
|
};
|
|
2066
|
+
/**
|
|
2067
|
+
* ListTableFilesResponse
|
|
2068
|
+
*/
|
|
2069
|
+
export type ListTableFilesResponse = {
|
|
2070
|
+
/**
|
|
2071
|
+
* Graph Id
|
|
2072
|
+
* Graph database identifier
|
|
2073
|
+
*/
|
|
2074
|
+
graph_id: string;
|
|
2075
|
+
/**
|
|
2076
|
+
* Table Name
|
|
2077
|
+
* Table name
|
|
2078
|
+
*/
|
|
2079
|
+
table_name: string;
|
|
2080
|
+
/**
|
|
2081
|
+
* Files
|
|
2082
|
+
* List of files in the table
|
|
2083
|
+
*/
|
|
2084
|
+
files: Array<FileInfo>;
|
|
2085
|
+
/**
|
|
2086
|
+
* Total Files
|
|
2087
|
+
* Total number of files
|
|
2088
|
+
*/
|
|
2089
|
+
total_files: number;
|
|
2090
|
+
/**
|
|
2091
|
+
* Total Size Bytes
|
|
2092
|
+
* Total size of all files in bytes
|
|
2093
|
+
*/
|
|
2094
|
+
total_size_bytes: number;
|
|
2095
|
+
};
|
|
1916
2096
|
/**
|
|
1917
2097
|
* LoginRequest
|
|
1918
2098
|
* Login request model.
|
|
@@ -6993,7 +7173,7 @@ export type GetSubgraphQuotaResponses = {
|
|
|
6993
7173
|
200: SubgraphQuotaResponse;
|
|
6994
7174
|
};
|
|
6995
7175
|
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
6996
|
-
export type
|
|
7176
|
+
export type ListTablesData = {
|
|
6997
7177
|
body?: never;
|
|
6998
7178
|
headers?: {
|
|
6999
7179
|
/**
|
|
@@ -7017,13 +7197,13 @@ export type ListTablesV1GraphsGraphIdTablesGetData = {
|
|
|
7017
7197
|
};
|
|
7018
7198
|
url: '/v1/graphs/{graph_id}/tables';
|
|
7019
7199
|
};
|
|
7020
|
-
export type
|
|
7200
|
+
export type ListTablesErrors = {
|
|
7021
7201
|
/**
|
|
7022
7202
|
* Not authenticated
|
|
7023
7203
|
*/
|
|
7024
7204
|
401: unknown;
|
|
7025
7205
|
/**
|
|
7026
|
-
* Access denied
|
|
7206
|
+
* Access denied - insufficient permissions for this graph
|
|
7027
7207
|
*/
|
|
7028
7208
|
403: ErrorResponse;
|
|
7029
7209
|
/**
|
|
@@ -7034,16 +7214,20 @@ export type ListTablesV1GraphsGraphIdTablesGetErrors = {
|
|
|
7034
7214
|
* Validation Error
|
|
7035
7215
|
*/
|
|
7036
7216
|
422: HttpValidationError;
|
|
7217
|
+
/**
|
|
7218
|
+
* Internal server error
|
|
7219
|
+
*/
|
|
7220
|
+
500: unknown;
|
|
7037
7221
|
};
|
|
7038
|
-
export type
|
|
7039
|
-
export type
|
|
7222
|
+
export type ListTablesError = ListTablesErrors[keyof ListTablesErrors];
|
|
7223
|
+
export type ListTablesResponses = {
|
|
7040
7224
|
/**
|
|
7041
|
-
* Tables retrieved successfully
|
|
7225
|
+
* Tables retrieved successfully with full metrics
|
|
7042
7226
|
*/
|
|
7043
7227
|
200: TableListResponse;
|
|
7044
7228
|
};
|
|
7045
|
-
export type
|
|
7046
|
-
export type
|
|
7229
|
+
export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
|
|
7230
|
+
export type ListTableFilesData = {
|
|
7047
7231
|
body?: never;
|
|
7048
7232
|
headers?: {
|
|
7049
7233
|
/**
|
|
@@ -7072,13 +7256,13 @@ export type ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetData = {
|
|
|
7072
7256
|
};
|
|
7073
7257
|
url: '/v1/graphs/{graph_id}/tables/{table_name}/files';
|
|
7074
7258
|
};
|
|
7075
|
-
export type
|
|
7259
|
+
export type ListTableFilesErrors = {
|
|
7076
7260
|
/**
|
|
7077
7261
|
* Not authenticated
|
|
7078
7262
|
*/
|
|
7079
7263
|
401: unknown;
|
|
7080
7264
|
/**
|
|
7081
|
-
* Access denied
|
|
7265
|
+
* Access denied - insufficient permissions for this graph
|
|
7082
7266
|
*/
|
|
7083
7267
|
403: ErrorResponse;
|
|
7084
7268
|
/**
|
|
@@ -7089,19 +7273,20 @@ export type ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetErrors = {
|
|
|
7089
7273
|
* Validation Error
|
|
7090
7274
|
*/
|
|
7091
7275
|
422: HttpValidationError;
|
|
7276
|
+
/**
|
|
7277
|
+
* Internal server error
|
|
7278
|
+
*/
|
|
7279
|
+
500: unknown;
|
|
7092
7280
|
};
|
|
7093
|
-
export type
|
|
7094
|
-
export type
|
|
7281
|
+
export type ListTableFilesError = ListTableFilesErrors[keyof ListTableFilesErrors];
|
|
7282
|
+
export type ListTableFilesResponses = {
|
|
7095
7283
|
/**
|
|
7096
|
-
*
|
|
7097
|
-
* Files retrieved successfully
|
|
7284
|
+
* Files retrieved successfully with full metadata
|
|
7098
7285
|
*/
|
|
7099
|
-
200:
|
|
7100
|
-
[key: string]: unknown;
|
|
7101
|
-
};
|
|
7286
|
+
200: ListTableFilesResponse;
|
|
7102
7287
|
};
|
|
7103
|
-
export type
|
|
7104
|
-
export type
|
|
7288
|
+
export type ListTableFilesResponse2 = ListTableFilesResponses[keyof ListTableFilesResponses];
|
|
7289
|
+
export type GetUploadUrlData = {
|
|
7105
7290
|
/**
|
|
7106
7291
|
* Upload request
|
|
7107
7292
|
*/
|
|
@@ -7133,9 +7318,9 @@ export type GetUploadUrlV1GraphsGraphIdTablesTableNameFilesPostData = {
|
|
|
7133
7318
|
};
|
|
7134
7319
|
url: '/v1/graphs/{graph_id}/tables/{table_name}/files';
|
|
7135
7320
|
};
|
|
7136
|
-
export type
|
|
7321
|
+
export type GetUploadUrlErrors = {
|
|
7137
7322
|
/**
|
|
7138
|
-
* Invalid file format or
|
|
7323
|
+
* Invalid file format, name, or extension mismatch
|
|
7139
7324
|
*/
|
|
7140
7325
|
400: ErrorResponse;
|
|
7141
7326
|
/**
|
|
@@ -7143,27 +7328,31 @@ export type GetUploadUrlV1GraphsGraphIdTablesTableNameFilesPostErrors = {
|
|
|
7143
7328
|
*/
|
|
7144
7329
|
401: unknown;
|
|
7145
7330
|
/**
|
|
7146
|
-
* Access denied
|
|
7331
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7147
7332
|
*/
|
|
7148
7333
|
403: ErrorResponse;
|
|
7149
7334
|
/**
|
|
7150
|
-
* Graph
|
|
7335
|
+
* Graph not found
|
|
7151
7336
|
*/
|
|
7152
7337
|
404: ErrorResponse;
|
|
7153
7338
|
/**
|
|
7154
7339
|
* Validation Error
|
|
7155
7340
|
*/
|
|
7156
7341
|
422: HttpValidationError;
|
|
7342
|
+
/**
|
|
7343
|
+
* Internal server error
|
|
7344
|
+
*/
|
|
7345
|
+
500: unknown;
|
|
7157
7346
|
};
|
|
7158
|
-
export type
|
|
7159
|
-
export type
|
|
7347
|
+
export type GetUploadUrlError = GetUploadUrlErrors[keyof GetUploadUrlErrors];
|
|
7348
|
+
export type GetUploadUrlResponses = {
|
|
7160
7349
|
/**
|
|
7161
7350
|
* Upload URL generated successfully
|
|
7162
7351
|
*/
|
|
7163
7352
|
200: FileUploadResponse;
|
|
7164
7353
|
};
|
|
7165
|
-
export type
|
|
7166
|
-
export type
|
|
7354
|
+
export type GetUploadUrlResponse = GetUploadUrlResponses[keyof GetUploadUrlResponses];
|
|
7355
|
+
export type DeleteFileData = {
|
|
7167
7356
|
body?: never;
|
|
7168
7357
|
headers?: {
|
|
7169
7358
|
/**
|
|
@@ -7192,36 +7381,37 @@ export type DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteData = {
|
|
|
7192
7381
|
};
|
|
7193
7382
|
url: '/v1/graphs/{graph_id}/tables/files/{file_id}';
|
|
7194
7383
|
};
|
|
7195
|
-
export type
|
|
7384
|
+
export type DeleteFileErrors = {
|
|
7196
7385
|
/**
|
|
7197
7386
|
* Not authenticated
|
|
7198
7387
|
*/
|
|
7199
7388
|
401: unknown;
|
|
7200
7389
|
/**
|
|
7201
|
-
* Access denied
|
|
7390
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7202
7391
|
*/
|
|
7203
7392
|
403: ErrorResponse;
|
|
7204
7393
|
/**
|
|
7205
|
-
* File not found
|
|
7394
|
+
* File not found in graph
|
|
7206
7395
|
*/
|
|
7207
7396
|
404: ErrorResponse;
|
|
7208
7397
|
/**
|
|
7209
7398
|
* Validation Error
|
|
7210
7399
|
*/
|
|
7211
7400
|
422: HttpValidationError;
|
|
7401
|
+
/**
|
|
7402
|
+
* Internal server error
|
|
7403
|
+
*/
|
|
7404
|
+
500: unknown;
|
|
7212
7405
|
};
|
|
7213
|
-
export type
|
|
7214
|
-
export type
|
|
7406
|
+
export type DeleteFileError = DeleteFileErrors[keyof DeleteFileErrors];
|
|
7407
|
+
export type DeleteFileResponses = {
|
|
7215
7408
|
/**
|
|
7216
|
-
* Response Delete File V1 Graphs Graph Id Tables Files File Id Delete
|
|
7217
7409
|
* File deleted successfully
|
|
7218
7410
|
*/
|
|
7219
|
-
200:
|
|
7220
|
-
[key: string]: unknown;
|
|
7221
|
-
};
|
|
7411
|
+
200: DeleteFileResponse;
|
|
7222
7412
|
};
|
|
7223
|
-
export type
|
|
7224
|
-
export type
|
|
7413
|
+
export type DeleteFileResponse2 = DeleteFileResponses[keyof DeleteFileResponses];
|
|
7414
|
+
export type GetFileInfoData = {
|
|
7225
7415
|
body?: never;
|
|
7226
7416
|
headers?: {
|
|
7227
7417
|
/**
|
|
@@ -7250,17 +7440,17 @@ export type GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetData = {
|
|
|
7250
7440
|
};
|
|
7251
7441
|
url: '/v1/graphs/{graph_id}/tables/files/{file_id}';
|
|
7252
7442
|
};
|
|
7253
|
-
export type
|
|
7443
|
+
export type GetFileInfoErrors = {
|
|
7254
7444
|
/**
|
|
7255
7445
|
* Not authenticated
|
|
7256
7446
|
*/
|
|
7257
7447
|
401: unknown;
|
|
7258
7448
|
/**
|
|
7259
|
-
* Access denied
|
|
7449
|
+
* Access denied - insufficient permissions for this graph
|
|
7260
7450
|
*/
|
|
7261
7451
|
403: ErrorResponse;
|
|
7262
7452
|
/**
|
|
7263
|
-
* File not found
|
|
7453
|
+
* File not found in graph
|
|
7264
7454
|
*/
|
|
7265
7455
|
404: ErrorResponse;
|
|
7266
7456
|
/**
|
|
@@ -7268,22 +7458,19 @@ export type GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetErrors = {
|
|
|
7268
7458
|
*/
|
|
7269
7459
|
422: HttpValidationError;
|
|
7270
7460
|
};
|
|
7271
|
-
export type
|
|
7272
|
-
export type
|
|
7461
|
+
export type GetFileInfoError = GetFileInfoErrors[keyof GetFileInfoErrors];
|
|
7462
|
+
export type GetFileInfoResponses = {
|
|
7273
7463
|
/**
|
|
7274
|
-
*
|
|
7275
|
-
* File info retrieved successfully
|
|
7464
|
+
* File information retrieved successfully
|
|
7276
7465
|
*/
|
|
7277
|
-
200:
|
|
7278
|
-
[key: string]: unknown;
|
|
7279
|
-
};
|
|
7466
|
+
200: GetFileInfoResponse;
|
|
7280
7467
|
};
|
|
7281
|
-
export type
|
|
7282
|
-
export type
|
|
7468
|
+
export type GetFileInfoResponse2 = GetFileInfoResponses[keyof GetFileInfoResponses];
|
|
7469
|
+
export type UpdateFileStatusData = {
|
|
7283
7470
|
/**
|
|
7284
|
-
*
|
|
7471
|
+
* Status update
|
|
7285
7472
|
*/
|
|
7286
|
-
body:
|
|
7473
|
+
body: FileStatusUpdate;
|
|
7287
7474
|
headers?: {
|
|
7288
7475
|
/**
|
|
7289
7476
|
* Authorization
|
|
@@ -7311,9 +7498,9 @@ export type UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchData = {
|
|
|
7311
7498
|
};
|
|
7312
7499
|
url: '/v1/graphs/{graph_id}/tables/files/{file_id}';
|
|
7313
7500
|
};
|
|
7314
|
-
export type
|
|
7501
|
+
export type UpdateFileStatusErrors = {
|
|
7315
7502
|
/**
|
|
7316
|
-
* Invalid file
|
|
7503
|
+
* Invalid status, file too large, or empty file
|
|
7317
7504
|
*/
|
|
7318
7505
|
400: ErrorResponse;
|
|
7319
7506
|
/**
|
|
@@ -7321,30 +7508,38 @@ export type UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchErrors = {
|
|
|
7321
7508
|
*/
|
|
7322
7509
|
401: unknown;
|
|
7323
7510
|
/**
|
|
7324
|
-
* Access denied
|
|
7511
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7325
7512
|
*/
|
|
7326
7513
|
403: ErrorResponse;
|
|
7327
7514
|
/**
|
|
7328
|
-
* Graph or
|
|
7515
|
+
* Graph, file, or S3 object not found
|
|
7329
7516
|
*/
|
|
7330
7517
|
404: ErrorResponse;
|
|
7518
|
+
/**
|
|
7519
|
+
* Storage limit exceeded for tier
|
|
7520
|
+
*/
|
|
7521
|
+
413: ErrorResponse;
|
|
7331
7522
|
/**
|
|
7332
7523
|
* Validation Error
|
|
7333
7524
|
*/
|
|
7334
7525
|
422: HttpValidationError;
|
|
7526
|
+
/**
|
|
7527
|
+
* Internal server error
|
|
7528
|
+
*/
|
|
7529
|
+
500: unknown;
|
|
7335
7530
|
};
|
|
7336
|
-
export type
|
|
7337
|
-
export type
|
|
7531
|
+
export type UpdateFileStatusError = UpdateFileStatusErrors[keyof UpdateFileStatusErrors];
|
|
7532
|
+
export type UpdateFileStatusResponses = {
|
|
7338
7533
|
/**
|
|
7339
|
-
* Response
|
|
7340
|
-
* File updated successfully
|
|
7534
|
+
* Response Updatefilestatus
|
|
7535
|
+
* File status updated successfully
|
|
7341
7536
|
*/
|
|
7342
7537
|
200: {
|
|
7343
7538
|
[key: string]: unknown;
|
|
7344
7539
|
};
|
|
7345
7540
|
};
|
|
7346
|
-
export type
|
|
7347
|
-
export type
|
|
7541
|
+
export type UpdateFileStatusResponse = UpdateFileStatusResponses[keyof UpdateFileStatusResponses];
|
|
7542
|
+
export type IngestTablesData = {
|
|
7348
7543
|
/**
|
|
7349
7544
|
* Ingestion request
|
|
7350
7545
|
*/
|
|
@@ -7371,37 +7566,41 @@ export type IngestTablesV1GraphsGraphIdTablesIngestPostData = {
|
|
|
7371
7566
|
};
|
|
7372
7567
|
url: '/v1/graphs/{graph_id}/tables/ingest';
|
|
7373
7568
|
};
|
|
7374
|
-
export type
|
|
7569
|
+
export type IngestTablesErrors = {
|
|
7375
7570
|
/**
|
|
7376
7571
|
* Not authenticated
|
|
7377
7572
|
*/
|
|
7378
7573
|
401: unknown;
|
|
7379
7574
|
/**
|
|
7380
|
-
* Access denied
|
|
7575
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7381
7576
|
*/
|
|
7382
7577
|
403: ErrorResponse;
|
|
7383
7578
|
/**
|
|
7384
7579
|
* Graph not found
|
|
7385
7580
|
*/
|
|
7386
7581
|
404: ErrorResponse;
|
|
7582
|
+
/**
|
|
7583
|
+
* Conflict - another ingestion is already in progress for this graph
|
|
7584
|
+
*/
|
|
7585
|
+
409: ErrorResponse;
|
|
7387
7586
|
/**
|
|
7388
7587
|
* Validation Error
|
|
7389
7588
|
*/
|
|
7390
7589
|
422: HttpValidationError;
|
|
7391
7590
|
/**
|
|
7392
|
-
* Ingestion failed
|
|
7591
|
+
* Ingestion failed - check per-table results for details
|
|
7393
7592
|
*/
|
|
7394
7593
|
500: ErrorResponse;
|
|
7395
7594
|
};
|
|
7396
|
-
export type
|
|
7397
|
-
export type
|
|
7595
|
+
export type IngestTablesError = IngestTablesErrors[keyof IngestTablesErrors];
|
|
7596
|
+
export type IngestTablesResponses = {
|
|
7398
7597
|
/**
|
|
7399
|
-
* Ingestion completed
|
|
7598
|
+
* Ingestion completed with detailed per-table results
|
|
7400
7599
|
*/
|
|
7401
7600
|
200: BulkIngestResponse;
|
|
7402
7601
|
};
|
|
7403
|
-
export type
|
|
7404
|
-
export type
|
|
7602
|
+
export type IngestTablesResponse = IngestTablesResponses[keyof IngestTablesResponses];
|
|
7603
|
+
export type QueryTablesData = {
|
|
7405
7604
|
/**
|
|
7406
7605
|
* SQL query request
|
|
7407
7606
|
*/
|
|
@@ -7428,9 +7627,9 @@ export type QueryTablesV1GraphsGraphIdTablesQueryPostData = {
|
|
|
7428
7627
|
};
|
|
7429
7628
|
url: '/v1/graphs/{graph_id}/tables/query';
|
|
7430
7629
|
};
|
|
7431
|
-
export type
|
|
7630
|
+
export type QueryTablesErrors = {
|
|
7432
7631
|
/**
|
|
7433
|
-
* Invalid SQL query
|
|
7632
|
+
* Invalid SQL query syntax or execution error
|
|
7434
7633
|
*/
|
|
7435
7634
|
400: ErrorResponse;
|
|
7436
7635
|
/**
|
|
@@ -7438,26 +7637,34 @@ export type QueryTablesV1GraphsGraphIdTablesQueryPostErrors = {
|
|
|
7438
7637
|
*/
|
|
7439
7638
|
401: unknown;
|
|
7440
7639
|
/**
|
|
7441
|
-
* Access denied
|
|
7640
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7442
7641
|
*/
|
|
7443
7642
|
403: ErrorResponse;
|
|
7444
7643
|
/**
|
|
7445
7644
|
* Graph not found
|
|
7446
7645
|
*/
|
|
7447
7646
|
404: ErrorResponse;
|
|
7647
|
+
/**
|
|
7648
|
+
* Query timeout exceeded
|
|
7649
|
+
*/
|
|
7650
|
+
408: unknown;
|
|
7448
7651
|
/**
|
|
7449
7652
|
* Validation Error
|
|
7450
7653
|
*/
|
|
7451
7654
|
422: HttpValidationError;
|
|
7655
|
+
/**
|
|
7656
|
+
* Internal server error
|
|
7657
|
+
*/
|
|
7658
|
+
500: unknown;
|
|
7452
7659
|
};
|
|
7453
|
-
export type
|
|
7454
|
-
export type
|
|
7660
|
+
export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
|
|
7661
|
+
export type QueryTablesResponses = {
|
|
7455
7662
|
/**
|
|
7456
7663
|
* Query executed successfully
|
|
7457
7664
|
*/
|
|
7458
7665
|
200: TableQueryResponse;
|
|
7459
7666
|
};
|
|
7460
|
-
export type
|
|
7667
|
+
export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
|
|
7461
7668
|
export type GetGraphsData = {
|
|
7462
7669
|
body?: never;
|
|
7463
7670
|
headers?: {
|