@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.ts
CHANGED
|
@@ -1005,6 +1005,11 @@ export type CreateGraphRequest = {
|
|
|
1005
1005
|
* Optional initial entity to create in the graph. If provided, creates a entity-focused graph.
|
|
1006
1006
|
*/
|
|
1007
1007
|
initial_entity?: InitialEntityData | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* Create Entity
|
|
1010
|
+
* 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).
|
|
1011
|
+
*/
|
|
1012
|
+
create_entity?: boolean;
|
|
1008
1013
|
/**
|
|
1009
1014
|
* Tags
|
|
1010
1015
|
* Optional tags for organization
|
|
@@ -1382,6 +1387,32 @@ export type DatabaseInfoResponse = {
|
|
|
1382
1387
|
last_backup_date?: string | null;
|
|
1383
1388
|
};
|
|
1384
1389
|
|
|
1390
|
+
/**
|
|
1391
|
+
* DeleteFileResponse
|
|
1392
|
+
*/
|
|
1393
|
+
export type DeleteFileResponse = {
|
|
1394
|
+
/**
|
|
1395
|
+
* Status
|
|
1396
|
+
* Deletion status
|
|
1397
|
+
*/
|
|
1398
|
+
status: string;
|
|
1399
|
+
/**
|
|
1400
|
+
* File Id
|
|
1401
|
+
* Deleted file ID
|
|
1402
|
+
*/
|
|
1403
|
+
file_id: string;
|
|
1404
|
+
/**
|
|
1405
|
+
* File Name
|
|
1406
|
+
* Deleted file name
|
|
1407
|
+
*/
|
|
1408
|
+
file_name: string;
|
|
1409
|
+
/**
|
|
1410
|
+
* Message
|
|
1411
|
+
* Operation message
|
|
1412
|
+
*/
|
|
1413
|
+
message: string;
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1385
1416
|
/**
|
|
1386
1417
|
* DeleteSubgraphRequest
|
|
1387
1418
|
* Request model for deleting a subgraph.
|
|
@@ -1583,19 +1614,70 @@ export type ExchangeTokenRequest = {
|
|
|
1583
1614
|
};
|
|
1584
1615
|
|
|
1585
1616
|
/**
|
|
1586
|
-
*
|
|
1617
|
+
* FileInfo
|
|
1587
1618
|
*/
|
|
1588
|
-
export type
|
|
1619
|
+
export type FileInfo = {
|
|
1620
|
+
/**
|
|
1621
|
+
* File Id
|
|
1622
|
+
* Unique file identifier
|
|
1623
|
+
*/
|
|
1624
|
+
file_id: string;
|
|
1625
|
+
/**
|
|
1626
|
+
* File Name
|
|
1627
|
+
* Original file name
|
|
1628
|
+
*/
|
|
1629
|
+
file_name: string;
|
|
1630
|
+
/**
|
|
1631
|
+
* File Format
|
|
1632
|
+
* File format (parquet, csv, etc.)
|
|
1633
|
+
*/
|
|
1634
|
+
file_format: string;
|
|
1589
1635
|
/**
|
|
1590
|
-
*
|
|
1591
|
-
*
|
|
1636
|
+
* Size Bytes
|
|
1637
|
+
* File size in bytes
|
|
1592
1638
|
*/
|
|
1593
|
-
|
|
1639
|
+
size_bytes: number;
|
|
1594
1640
|
/**
|
|
1595
1641
|
* Row Count
|
|
1596
|
-
*
|
|
1642
|
+
* Estimated row count
|
|
1597
1643
|
*/
|
|
1598
1644
|
row_count?: number | null;
|
|
1645
|
+
/**
|
|
1646
|
+
* Upload Status
|
|
1647
|
+
* Current upload status
|
|
1648
|
+
*/
|
|
1649
|
+
upload_status: string;
|
|
1650
|
+
/**
|
|
1651
|
+
* Upload Method
|
|
1652
|
+
* Upload method used
|
|
1653
|
+
*/
|
|
1654
|
+
upload_method: string;
|
|
1655
|
+
/**
|
|
1656
|
+
* Created At
|
|
1657
|
+
* File creation timestamp
|
|
1658
|
+
*/
|
|
1659
|
+
created_at?: string | null;
|
|
1660
|
+
/**
|
|
1661
|
+
* Uploaded At
|
|
1662
|
+
* File upload completion timestamp
|
|
1663
|
+
*/
|
|
1664
|
+
uploaded_at?: string | null;
|
|
1665
|
+
/**
|
|
1666
|
+
* S3 Key
|
|
1667
|
+
* S3 object key
|
|
1668
|
+
*/
|
|
1669
|
+
s3_key: string;
|
|
1670
|
+
};
|
|
1671
|
+
|
|
1672
|
+
/**
|
|
1673
|
+
* FileStatusUpdate
|
|
1674
|
+
*/
|
|
1675
|
+
export type FileStatusUpdate = {
|
|
1676
|
+
/**
|
|
1677
|
+
* Status
|
|
1678
|
+
* File status: 'uploaded' (ready for ingest), 'disabled' (exclude from ingest), 'archived' (soft deleted)
|
|
1679
|
+
*/
|
|
1680
|
+
status: string;
|
|
1599
1681
|
};
|
|
1600
1682
|
|
|
1601
1683
|
/**
|
|
@@ -1652,6 +1734,77 @@ export type ForgotPasswordRequest = {
|
|
|
1652
1734
|
email: string;
|
|
1653
1735
|
};
|
|
1654
1736
|
|
|
1737
|
+
/**
|
|
1738
|
+
* GetFileInfoResponse
|
|
1739
|
+
*/
|
|
1740
|
+
export type GetFileInfoResponse = {
|
|
1741
|
+
/**
|
|
1742
|
+
* File Id
|
|
1743
|
+
* Unique file identifier
|
|
1744
|
+
*/
|
|
1745
|
+
file_id: string;
|
|
1746
|
+
/**
|
|
1747
|
+
* Graph Id
|
|
1748
|
+
* Graph database identifier
|
|
1749
|
+
*/
|
|
1750
|
+
graph_id: string;
|
|
1751
|
+
/**
|
|
1752
|
+
* Table Id
|
|
1753
|
+
* Table identifier
|
|
1754
|
+
*/
|
|
1755
|
+
table_id: string;
|
|
1756
|
+
/**
|
|
1757
|
+
* Table Name
|
|
1758
|
+
* Table name
|
|
1759
|
+
*/
|
|
1760
|
+
table_name?: string | null;
|
|
1761
|
+
/**
|
|
1762
|
+
* File Name
|
|
1763
|
+
* Original file name
|
|
1764
|
+
*/
|
|
1765
|
+
file_name: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* File Format
|
|
1768
|
+
* File format (parquet, csv, etc.)
|
|
1769
|
+
*/
|
|
1770
|
+
file_format: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* Size Bytes
|
|
1773
|
+
* File size in bytes
|
|
1774
|
+
*/
|
|
1775
|
+
size_bytes: number;
|
|
1776
|
+
/**
|
|
1777
|
+
* Row Count
|
|
1778
|
+
* Estimated row count
|
|
1779
|
+
*/
|
|
1780
|
+
row_count?: number | null;
|
|
1781
|
+
/**
|
|
1782
|
+
* Upload Status
|
|
1783
|
+
* Current upload status
|
|
1784
|
+
*/
|
|
1785
|
+
upload_status: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* Upload Method
|
|
1788
|
+
* Upload method used
|
|
1789
|
+
*/
|
|
1790
|
+
upload_method: string;
|
|
1791
|
+
/**
|
|
1792
|
+
* Created At
|
|
1793
|
+
* File creation timestamp
|
|
1794
|
+
*/
|
|
1795
|
+
created_at?: string | null;
|
|
1796
|
+
/**
|
|
1797
|
+
* Uploaded At
|
|
1798
|
+
* File upload completion timestamp
|
|
1799
|
+
*/
|
|
1800
|
+
uploaded_at?: string | null;
|
|
1801
|
+
/**
|
|
1802
|
+
* S3 Key
|
|
1803
|
+
* S3 object key
|
|
1804
|
+
*/
|
|
1805
|
+
s3_key: string;
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1655
1808
|
/**
|
|
1656
1809
|
* GraphInfo
|
|
1657
1810
|
* Graph information for user.
|
|
@@ -1976,6 +2129,37 @@ export type ListSubgraphsResponse = {
|
|
|
1976
2129
|
subgraphs: Array<SubgraphSummary>;
|
|
1977
2130
|
};
|
|
1978
2131
|
|
|
2132
|
+
/**
|
|
2133
|
+
* ListTableFilesResponse
|
|
2134
|
+
*/
|
|
2135
|
+
export type ListTableFilesResponse = {
|
|
2136
|
+
/**
|
|
2137
|
+
* Graph Id
|
|
2138
|
+
* Graph database identifier
|
|
2139
|
+
*/
|
|
2140
|
+
graph_id: string;
|
|
2141
|
+
/**
|
|
2142
|
+
* Table Name
|
|
2143
|
+
* Table name
|
|
2144
|
+
*/
|
|
2145
|
+
table_name: string;
|
|
2146
|
+
/**
|
|
2147
|
+
* Files
|
|
2148
|
+
* List of files in the table
|
|
2149
|
+
*/
|
|
2150
|
+
files: Array<FileInfo>;
|
|
2151
|
+
/**
|
|
2152
|
+
* Total Files
|
|
2153
|
+
* Total number of files
|
|
2154
|
+
*/
|
|
2155
|
+
total_files: number;
|
|
2156
|
+
/**
|
|
2157
|
+
* Total Size Bytes
|
|
2158
|
+
* Total size of all files in bytes
|
|
2159
|
+
*/
|
|
2160
|
+
total_size_bytes: number;
|
|
2161
|
+
};
|
|
2162
|
+
|
|
1979
2163
|
/**
|
|
1980
2164
|
* LoginRequest
|
|
1981
2165
|
* Login request model.
|
|
@@ -7512,7 +7696,7 @@ export type GetSubgraphQuotaResponses = {
|
|
|
7512
7696
|
|
|
7513
7697
|
export type GetSubgraphQuotaResponse = GetSubgraphQuotaResponses[keyof GetSubgraphQuotaResponses];
|
|
7514
7698
|
|
|
7515
|
-
export type
|
|
7699
|
+
export type ListTablesData = {
|
|
7516
7700
|
body?: never;
|
|
7517
7701
|
headers?: {
|
|
7518
7702
|
/**
|
|
@@ -7537,13 +7721,13 @@ export type ListTablesV1GraphsGraphIdTablesGetData = {
|
|
|
7537
7721
|
url: '/v1/graphs/{graph_id}/tables';
|
|
7538
7722
|
};
|
|
7539
7723
|
|
|
7540
|
-
export type
|
|
7724
|
+
export type ListTablesErrors = {
|
|
7541
7725
|
/**
|
|
7542
7726
|
* Not authenticated
|
|
7543
7727
|
*/
|
|
7544
7728
|
401: unknown;
|
|
7545
7729
|
/**
|
|
7546
|
-
* Access denied
|
|
7730
|
+
* Access denied - insufficient permissions for this graph
|
|
7547
7731
|
*/
|
|
7548
7732
|
403: ErrorResponse;
|
|
7549
7733
|
/**
|
|
@@ -7554,20 +7738,24 @@ export type ListTablesV1GraphsGraphIdTablesGetErrors = {
|
|
|
7554
7738
|
* Validation Error
|
|
7555
7739
|
*/
|
|
7556
7740
|
422: HttpValidationError;
|
|
7741
|
+
/**
|
|
7742
|
+
* Internal server error
|
|
7743
|
+
*/
|
|
7744
|
+
500: unknown;
|
|
7557
7745
|
};
|
|
7558
7746
|
|
|
7559
|
-
export type
|
|
7747
|
+
export type ListTablesError = ListTablesErrors[keyof ListTablesErrors];
|
|
7560
7748
|
|
|
7561
|
-
export type
|
|
7749
|
+
export type ListTablesResponses = {
|
|
7562
7750
|
/**
|
|
7563
|
-
* Tables retrieved successfully
|
|
7751
|
+
* Tables retrieved successfully with full metrics
|
|
7564
7752
|
*/
|
|
7565
7753
|
200: TableListResponse;
|
|
7566
7754
|
};
|
|
7567
7755
|
|
|
7568
|
-
export type
|
|
7756
|
+
export type ListTablesResponse = ListTablesResponses[keyof ListTablesResponses];
|
|
7569
7757
|
|
|
7570
|
-
export type
|
|
7758
|
+
export type ListTableFilesData = {
|
|
7571
7759
|
body?: never;
|
|
7572
7760
|
headers?: {
|
|
7573
7761
|
/**
|
|
@@ -7597,13 +7785,13 @@ export type ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetData = {
|
|
|
7597
7785
|
url: '/v1/graphs/{graph_id}/tables/{table_name}/files';
|
|
7598
7786
|
};
|
|
7599
7787
|
|
|
7600
|
-
export type
|
|
7788
|
+
export type ListTableFilesErrors = {
|
|
7601
7789
|
/**
|
|
7602
7790
|
* Not authenticated
|
|
7603
7791
|
*/
|
|
7604
7792
|
401: unknown;
|
|
7605
7793
|
/**
|
|
7606
|
-
* Access denied
|
|
7794
|
+
* Access denied - insufficient permissions for this graph
|
|
7607
7795
|
*/
|
|
7608
7796
|
403: ErrorResponse;
|
|
7609
7797
|
/**
|
|
@@ -7614,23 +7802,24 @@ export type ListTableFilesV1GraphsGraphIdTablesTableNameFilesGetErrors = {
|
|
|
7614
7802
|
* Validation Error
|
|
7615
7803
|
*/
|
|
7616
7804
|
422: HttpValidationError;
|
|
7805
|
+
/**
|
|
7806
|
+
* Internal server error
|
|
7807
|
+
*/
|
|
7808
|
+
500: unknown;
|
|
7617
7809
|
};
|
|
7618
7810
|
|
|
7619
|
-
export type
|
|
7811
|
+
export type ListTableFilesError = ListTableFilesErrors[keyof ListTableFilesErrors];
|
|
7620
7812
|
|
|
7621
|
-
export type
|
|
7813
|
+
export type ListTableFilesResponses = {
|
|
7622
7814
|
/**
|
|
7623
|
-
*
|
|
7624
|
-
* Files retrieved successfully
|
|
7815
|
+
* Files retrieved successfully with full metadata
|
|
7625
7816
|
*/
|
|
7626
|
-
200:
|
|
7627
|
-
[key: string]: unknown;
|
|
7628
|
-
};
|
|
7817
|
+
200: ListTableFilesResponse;
|
|
7629
7818
|
};
|
|
7630
7819
|
|
|
7631
|
-
export type
|
|
7820
|
+
export type ListTableFilesResponse2 = ListTableFilesResponses[keyof ListTableFilesResponses];
|
|
7632
7821
|
|
|
7633
|
-
export type
|
|
7822
|
+
export type GetUploadUrlData = {
|
|
7634
7823
|
/**
|
|
7635
7824
|
* Upload request
|
|
7636
7825
|
*/
|
|
@@ -7663,9 +7852,9 @@ export type GetUploadUrlV1GraphsGraphIdTablesTableNameFilesPostData = {
|
|
|
7663
7852
|
url: '/v1/graphs/{graph_id}/tables/{table_name}/files';
|
|
7664
7853
|
};
|
|
7665
7854
|
|
|
7666
|
-
export type
|
|
7855
|
+
export type GetUploadUrlErrors = {
|
|
7667
7856
|
/**
|
|
7668
|
-
* Invalid file format or
|
|
7857
|
+
* Invalid file format, name, or extension mismatch
|
|
7669
7858
|
*/
|
|
7670
7859
|
400: ErrorResponse;
|
|
7671
7860
|
/**
|
|
@@ -7673,31 +7862,35 @@ export type GetUploadUrlV1GraphsGraphIdTablesTableNameFilesPostErrors = {
|
|
|
7673
7862
|
*/
|
|
7674
7863
|
401: unknown;
|
|
7675
7864
|
/**
|
|
7676
|
-
* Access denied
|
|
7865
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7677
7866
|
*/
|
|
7678
7867
|
403: ErrorResponse;
|
|
7679
7868
|
/**
|
|
7680
|
-
* Graph
|
|
7869
|
+
* Graph not found
|
|
7681
7870
|
*/
|
|
7682
7871
|
404: ErrorResponse;
|
|
7683
7872
|
/**
|
|
7684
7873
|
* Validation Error
|
|
7685
7874
|
*/
|
|
7686
7875
|
422: HttpValidationError;
|
|
7876
|
+
/**
|
|
7877
|
+
* Internal server error
|
|
7878
|
+
*/
|
|
7879
|
+
500: unknown;
|
|
7687
7880
|
};
|
|
7688
7881
|
|
|
7689
|
-
export type
|
|
7882
|
+
export type GetUploadUrlError = GetUploadUrlErrors[keyof GetUploadUrlErrors];
|
|
7690
7883
|
|
|
7691
|
-
export type
|
|
7884
|
+
export type GetUploadUrlResponses = {
|
|
7692
7885
|
/**
|
|
7693
7886
|
* Upload URL generated successfully
|
|
7694
7887
|
*/
|
|
7695
7888
|
200: FileUploadResponse;
|
|
7696
7889
|
};
|
|
7697
7890
|
|
|
7698
|
-
export type
|
|
7891
|
+
export type GetUploadUrlResponse = GetUploadUrlResponses[keyof GetUploadUrlResponses];
|
|
7699
7892
|
|
|
7700
|
-
export type
|
|
7893
|
+
export type DeleteFileData = {
|
|
7701
7894
|
body?: never;
|
|
7702
7895
|
headers?: {
|
|
7703
7896
|
/**
|
|
@@ -7727,40 +7920,41 @@ export type DeleteFileV1GraphsGraphIdTablesFilesFileIdDeleteData = {
|
|
|
7727
7920
|
url: '/v1/graphs/{graph_id}/tables/files/{file_id}';
|
|
7728
7921
|
};
|
|
7729
7922
|
|
|
7730
|
-
export type
|
|
7923
|
+
export type DeleteFileErrors = {
|
|
7731
7924
|
/**
|
|
7732
7925
|
* Not authenticated
|
|
7733
7926
|
*/
|
|
7734
7927
|
401: unknown;
|
|
7735
7928
|
/**
|
|
7736
|
-
* Access denied
|
|
7929
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7737
7930
|
*/
|
|
7738
7931
|
403: ErrorResponse;
|
|
7739
7932
|
/**
|
|
7740
|
-
* File not found
|
|
7933
|
+
* File not found in graph
|
|
7741
7934
|
*/
|
|
7742
7935
|
404: ErrorResponse;
|
|
7743
7936
|
/**
|
|
7744
7937
|
* Validation Error
|
|
7745
7938
|
*/
|
|
7746
7939
|
422: HttpValidationError;
|
|
7940
|
+
/**
|
|
7941
|
+
* Internal server error
|
|
7942
|
+
*/
|
|
7943
|
+
500: unknown;
|
|
7747
7944
|
};
|
|
7748
7945
|
|
|
7749
|
-
export type
|
|
7946
|
+
export type DeleteFileError = DeleteFileErrors[keyof DeleteFileErrors];
|
|
7750
7947
|
|
|
7751
|
-
export type
|
|
7948
|
+
export type DeleteFileResponses = {
|
|
7752
7949
|
/**
|
|
7753
|
-
* Response Delete File V1 Graphs Graph Id Tables Files File Id Delete
|
|
7754
7950
|
* File deleted successfully
|
|
7755
7951
|
*/
|
|
7756
|
-
200:
|
|
7757
|
-
[key: string]: unknown;
|
|
7758
|
-
};
|
|
7952
|
+
200: DeleteFileResponse;
|
|
7759
7953
|
};
|
|
7760
7954
|
|
|
7761
|
-
export type
|
|
7955
|
+
export type DeleteFileResponse2 = DeleteFileResponses[keyof DeleteFileResponses];
|
|
7762
7956
|
|
|
7763
|
-
export type
|
|
7957
|
+
export type GetFileInfoData = {
|
|
7764
7958
|
body?: never;
|
|
7765
7959
|
headers?: {
|
|
7766
7960
|
/**
|
|
@@ -7790,17 +7984,17 @@ export type GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetData = {
|
|
|
7790
7984
|
url: '/v1/graphs/{graph_id}/tables/files/{file_id}';
|
|
7791
7985
|
};
|
|
7792
7986
|
|
|
7793
|
-
export type
|
|
7987
|
+
export type GetFileInfoErrors = {
|
|
7794
7988
|
/**
|
|
7795
7989
|
* Not authenticated
|
|
7796
7990
|
*/
|
|
7797
7991
|
401: unknown;
|
|
7798
7992
|
/**
|
|
7799
|
-
* Access denied
|
|
7993
|
+
* Access denied - insufficient permissions for this graph
|
|
7800
7994
|
*/
|
|
7801
7995
|
403: ErrorResponse;
|
|
7802
7996
|
/**
|
|
7803
|
-
* File not found
|
|
7997
|
+
* File not found in graph
|
|
7804
7998
|
*/
|
|
7805
7999
|
404: ErrorResponse;
|
|
7806
8000
|
/**
|
|
@@ -7809,25 +8003,22 @@ export type GetFileInfoV1GraphsGraphIdTablesFilesFileIdGetErrors = {
|
|
|
7809
8003
|
422: HttpValidationError;
|
|
7810
8004
|
};
|
|
7811
8005
|
|
|
7812
|
-
export type
|
|
8006
|
+
export type GetFileInfoError = GetFileInfoErrors[keyof GetFileInfoErrors];
|
|
7813
8007
|
|
|
7814
|
-
export type
|
|
8008
|
+
export type GetFileInfoResponses = {
|
|
7815
8009
|
/**
|
|
7816
|
-
*
|
|
7817
|
-
* File info retrieved successfully
|
|
8010
|
+
* File information retrieved successfully
|
|
7818
8011
|
*/
|
|
7819
|
-
200:
|
|
7820
|
-
[key: string]: unknown;
|
|
7821
|
-
};
|
|
8012
|
+
200: GetFileInfoResponse;
|
|
7822
8013
|
};
|
|
7823
8014
|
|
|
7824
|
-
export type
|
|
8015
|
+
export type GetFileInfoResponse2 = GetFileInfoResponses[keyof GetFileInfoResponses];
|
|
7825
8016
|
|
|
7826
|
-
export type
|
|
8017
|
+
export type UpdateFileStatusData = {
|
|
7827
8018
|
/**
|
|
7828
|
-
*
|
|
8019
|
+
* Status update
|
|
7829
8020
|
*/
|
|
7830
|
-
body:
|
|
8021
|
+
body: FileStatusUpdate;
|
|
7831
8022
|
headers?: {
|
|
7832
8023
|
/**
|
|
7833
8024
|
* Authorization
|
|
@@ -7856,9 +8047,9 @@ export type UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchData = {
|
|
|
7856
8047
|
url: '/v1/graphs/{graph_id}/tables/files/{file_id}';
|
|
7857
8048
|
};
|
|
7858
8049
|
|
|
7859
|
-
export type
|
|
8050
|
+
export type UpdateFileStatusErrors = {
|
|
7860
8051
|
/**
|
|
7861
|
-
* Invalid file
|
|
8052
|
+
* Invalid status, file too large, or empty file
|
|
7862
8053
|
*/
|
|
7863
8054
|
400: ErrorResponse;
|
|
7864
8055
|
/**
|
|
@@ -7866,34 +8057,42 @@ export type UpdateFileV1GraphsGraphIdTablesFilesFileIdPatchErrors = {
|
|
|
7866
8057
|
*/
|
|
7867
8058
|
401: unknown;
|
|
7868
8059
|
/**
|
|
7869
|
-
* Access denied
|
|
8060
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7870
8061
|
*/
|
|
7871
8062
|
403: ErrorResponse;
|
|
7872
8063
|
/**
|
|
7873
|
-
* Graph or
|
|
8064
|
+
* Graph, file, or S3 object not found
|
|
7874
8065
|
*/
|
|
7875
8066
|
404: ErrorResponse;
|
|
8067
|
+
/**
|
|
8068
|
+
* Storage limit exceeded for tier
|
|
8069
|
+
*/
|
|
8070
|
+
413: ErrorResponse;
|
|
7876
8071
|
/**
|
|
7877
8072
|
* Validation Error
|
|
7878
8073
|
*/
|
|
7879
8074
|
422: HttpValidationError;
|
|
8075
|
+
/**
|
|
8076
|
+
* Internal server error
|
|
8077
|
+
*/
|
|
8078
|
+
500: unknown;
|
|
7880
8079
|
};
|
|
7881
8080
|
|
|
7882
|
-
export type
|
|
8081
|
+
export type UpdateFileStatusError = UpdateFileStatusErrors[keyof UpdateFileStatusErrors];
|
|
7883
8082
|
|
|
7884
|
-
export type
|
|
8083
|
+
export type UpdateFileStatusResponses = {
|
|
7885
8084
|
/**
|
|
7886
|
-
* Response
|
|
7887
|
-
* File updated successfully
|
|
8085
|
+
* Response Updatefilestatus
|
|
8086
|
+
* File status updated successfully
|
|
7888
8087
|
*/
|
|
7889
8088
|
200: {
|
|
7890
8089
|
[key: string]: unknown;
|
|
7891
8090
|
};
|
|
7892
8091
|
};
|
|
7893
8092
|
|
|
7894
|
-
export type
|
|
8093
|
+
export type UpdateFileStatusResponse = UpdateFileStatusResponses[keyof UpdateFileStatusResponses];
|
|
7895
8094
|
|
|
7896
|
-
export type
|
|
8095
|
+
export type IngestTablesData = {
|
|
7897
8096
|
/**
|
|
7898
8097
|
* Ingestion request
|
|
7899
8098
|
*/
|
|
@@ -7921,41 +8120,45 @@ export type IngestTablesV1GraphsGraphIdTablesIngestPostData = {
|
|
|
7921
8120
|
url: '/v1/graphs/{graph_id}/tables/ingest';
|
|
7922
8121
|
};
|
|
7923
8122
|
|
|
7924
|
-
export type
|
|
8123
|
+
export type IngestTablesErrors = {
|
|
7925
8124
|
/**
|
|
7926
8125
|
* Not authenticated
|
|
7927
8126
|
*/
|
|
7928
8127
|
401: unknown;
|
|
7929
8128
|
/**
|
|
7930
|
-
* Access denied
|
|
8129
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7931
8130
|
*/
|
|
7932
8131
|
403: ErrorResponse;
|
|
7933
8132
|
/**
|
|
7934
8133
|
* Graph not found
|
|
7935
8134
|
*/
|
|
7936
8135
|
404: ErrorResponse;
|
|
8136
|
+
/**
|
|
8137
|
+
* Conflict - another ingestion is already in progress for this graph
|
|
8138
|
+
*/
|
|
8139
|
+
409: ErrorResponse;
|
|
7937
8140
|
/**
|
|
7938
8141
|
* Validation Error
|
|
7939
8142
|
*/
|
|
7940
8143
|
422: HttpValidationError;
|
|
7941
8144
|
/**
|
|
7942
|
-
* Ingestion failed
|
|
8145
|
+
* Ingestion failed - check per-table results for details
|
|
7943
8146
|
*/
|
|
7944
8147
|
500: ErrorResponse;
|
|
7945
8148
|
};
|
|
7946
8149
|
|
|
7947
|
-
export type
|
|
8150
|
+
export type IngestTablesError = IngestTablesErrors[keyof IngestTablesErrors];
|
|
7948
8151
|
|
|
7949
|
-
export type
|
|
8152
|
+
export type IngestTablesResponses = {
|
|
7950
8153
|
/**
|
|
7951
|
-
* Ingestion completed
|
|
8154
|
+
* Ingestion completed with detailed per-table results
|
|
7952
8155
|
*/
|
|
7953
8156
|
200: BulkIngestResponse;
|
|
7954
8157
|
};
|
|
7955
8158
|
|
|
7956
|
-
export type
|
|
8159
|
+
export type IngestTablesResponse = IngestTablesResponses[keyof IngestTablesResponses];
|
|
7957
8160
|
|
|
7958
|
-
export type
|
|
8161
|
+
export type QueryTablesData = {
|
|
7959
8162
|
/**
|
|
7960
8163
|
* SQL query request
|
|
7961
8164
|
*/
|
|
@@ -7983,9 +8186,9 @@ export type QueryTablesV1GraphsGraphIdTablesQueryPostData = {
|
|
|
7983
8186
|
url: '/v1/graphs/{graph_id}/tables/query';
|
|
7984
8187
|
};
|
|
7985
8188
|
|
|
7986
|
-
export type
|
|
8189
|
+
export type QueryTablesErrors = {
|
|
7987
8190
|
/**
|
|
7988
|
-
* Invalid SQL query
|
|
8191
|
+
* Invalid SQL query syntax or execution error
|
|
7989
8192
|
*/
|
|
7990
8193
|
400: ErrorResponse;
|
|
7991
8194
|
/**
|
|
@@ -7993,29 +8196,37 @@ export type QueryTablesV1GraphsGraphIdTablesQueryPostErrors = {
|
|
|
7993
8196
|
*/
|
|
7994
8197
|
401: unknown;
|
|
7995
8198
|
/**
|
|
7996
|
-
* Access denied
|
|
8199
|
+
* Access denied - shared repositories or insufficient permissions
|
|
7997
8200
|
*/
|
|
7998
8201
|
403: ErrorResponse;
|
|
7999
8202
|
/**
|
|
8000
8203
|
* Graph not found
|
|
8001
8204
|
*/
|
|
8002
8205
|
404: ErrorResponse;
|
|
8206
|
+
/**
|
|
8207
|
+
* Query timeout exceeded
|
|
8208
|
+
*/
|
|
8209
|
+
408: unknown;
|
|
8003
8210
|
/**
|
|
8004
8211
|
* Validation Error
|
|
8005
8212
|
*/
|
|
8006
8213
|
422: HttpValidationError;
|
|
8214
|
+
/**
|
|
8215
|
+
* Internal server error
|
|
8216
|
+
*/
|
|
8217
|
+
500: unknown;
|
|
8007
8218
|
};
|
|
8008
8219
|
|
|
8009
|
-
export type
|
|
8220
|
+
export type QueryTablesError = QueryTablesErrors[keyof QueryTablesErrors];
|
|
8010
8221
|
|
|
8011
|
-
export type
|
|
8222
|
+
export type QueryTablesResponses = {
|
|
8012
8223
|
/**
|
|
8013
8224
|
* Query executed successfully
|
|
8014
8225
|
*/
|
|
8015
8226
|
200: TableQueryResponse;
|
|
8016
8227
|
};
|
|
8017
8228
|
|
|
8018
|
-
export type
|
|
8229
|
+
export type QueryTablesResponse = QueryTablesResponses[keyof QueryTablesResponses];
|
|
8019
8230
|
|
|
8020
8231
|
export type GetGraphsData = {
|
|
8021
8232
|
body?: never;
|