@xata.io/client 0.23.4 → 0.23.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/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +14 -0
- package/dist/index.cjs +177 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +495 -50
- package/dist/index.mjs +172 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +6 -3
- package/.eslintrc.cjs +0 -13
- package/rollup.config.mjs +0 -44
- package/tsconfig.json +0 -23
package/dist/index.d.ts
CHANGED
|
@@ -953,6 +953,43 @@ type UpdateDatabaseMetadataVariables = {
|
|
|
953
953
|
* Update the color of the selected database
|
|
954
954
|
*/
|
|
955
955
|
declare const updateDatabaseMetadata: (variables: UpdateDatabaseMetadataVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
|
956
|
+
type RenameDatabasePathParams = {
|
|
957
|
+
/**
|
|
958
|
+
* Workspace ID
|
|
959
|
+
*/
|
|
960
|
+
workspaceId: WorkspaceID;
|
|
961
|
+
/**
|
|
962
|
+
* The Database Name
|
|
963
|
+
*/
|
|
964
|
+
dbName: DBName$1;
|
|
965
|
+
};
|
|
966
|
+
type RenameDatabaseError = ErrorWrapper$1<{
|
|
967
|
+
status: 400;
|
|
968
|
+
payload: BadRequestError$1;
|
|
969
|
+
} | {
|
|
970
|
+
status: 401;
|
|
971
|
+
payload: AuthError$1;
|
|
972
|
+
} | {
|
|
973
|
+
status: 422;
|
|
974
|
+
payload: SimpleError$1;
|
|
975
|
+
} | {
|
|
976
|
+
status: 423;
|
|
977
|
+
payload: SimpleError$1;
|
|
978
|
+
}>;
|
|
979
|
+
type RenameDatabaseRequestBody = {
|
|
980
|
+
/**
|
|
981
|
+
* @minLength 1
|
|
982
|
+
*/
|
|
983
|
+
newName: string;
|
|
984
|
+
};
|
|
985
|
+
type RenameDatabaseVariables = {
|
|
986
|
+
body: RenameDatabaseRequestBody;
|
|
987
|
+
pathParams: RenameDatabasePathParams;
|
|
988
|
+
} & ControlPlaneFetcherExtraProps;
|
|
989
|
+
/**
|
|
990
|
+
* Change the name of an existing database
|
|
991
|
+
*/
|
|
992
|
+
declare const renameDatabase: (variables: RenameDatabaseVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
|
956
993
|
type GetDatabaseGithubSettingsPathParams = {
|
|
957
994
|
/**
|
|
958
995
|
* Workspace ID
|
|
@@ -1136,7 +1173,7 @@ type ColumnVector = {
|
|
|
1136
1173
|
};
|
|
1137
1174
|
type Column = {
|
|
1138
1175
|
name: string;
|
|
1139
|
-
type: 'bool' | 'int' | 'float' | 'string' | 'text' | 'email' | 'multiple' | 'link' | 'object' | 'datetime' | 'vector' | 'file[]' | 'file'
|
|
1176
|
+
type: 'bool' | 'int' | 'float' | 'string' | 'text' | 'email' | 'multiple' | 'link' | 'object' | 'datetime' | 'vector' | 'file[]' | 'file';
|
|
1140
1177
|
link?: ColumnLink;
|
|
1141
1178
|
vector?: ColumnVector;
|
|
1142
1179
|
notNull?: boolean;
|
|
@@ -1391,9 +1428,13 @@ type RecordsMetadata = {
|
|
|
1391
1428
|
*/
|
|
1392
1429
|
cursor: string;
|
|
1393
1430
|
/**
|
|
1394
|
-
* true if more records can be
|
|
1431
|
+
* true if more records can be fetched
|
|
1395
1432
|
*/
|
|
1396
1433
|
more: boolean;
|
|
1434
|
+
/**
|
|
1435
|
+
* the number of records returned per page
|
|
1436
|
+
*/
|
|
1437
|
+
size: number;
|
|
1397
1438
|
};
|
|
1398
1439
|
};
|
|
1399
1440
|
type TableOpAdd = {
|
|
@@ -1442,7 +1483,7 @@ type Commit = {
|
|
|
1442
1483
|
message?: string;
|
|
1443
1484
|
id: string;
|
|
1444
1485
|
parentID?: string;
|
|
1445
|
-
checksum
|
|
1486
|
+
checksum: string;
|
|
1446
1487
|
mergeParentID?: string;
|
|
1447
1488
|
createdAt: DateTime;
|
|
1448
1489
|
operations: MigrationOp[];
|
|
@@ -1474,7 +1515,7 @@ type MigrationObject = {
|
|
|
1474
1515
|
message?: string;
|
|
1475
1516
|
id: string;
|
|
1476
1517
|
parentID?: string;
|
|
1477
|
-
checksum
|
|
1518
|
+
checksum: string;
|
|
1478
1519
|
operations: MigrationOp[];
|
|
1479
1520
|
};
|
|
1480
1521
|
/**
|
|
@@ -1563,6 +1604,20 @@ type TransactionDeleteOp = {
|
|
|
1563
1604
|
*/
|
|
1564
1605
|
columns?: string[];
|
|
1565
1606
|
};
|
|
1607
|
+
/**
|
|
1608
|
+
* Get by id operation.
|
|
1609
|
+
*/
|
|
1610
|
+
type TransactionGetOp = {
|
|
1611
|
+
/**
|
|
1612
|
+
* The table name
|
|
1613
|
+
*/
|
|
1614
|
+
table: string;
|
|
1615
|
+
id: RecordID;
|
|
1616
|
+
/**
|
|
1617
|
+
* If set, the call will return the requested fields as part of the response.
|
|
1618
|
+
*/
|
|
1619
|
+
columns?: string[];
|
|
1620
|
+
};
|
|
1566
1621
|
/**
|
|
1567
1622
|
* A transaction operation
|
|
1568
1623
|
*/
|
|
@@ -1572,6 +1627,8 @@ type TransactionOperation$1 = {
|
|
|
1572
1627
|
update: TransactionUpdateOp;
|
|
1573
1628
|
} | {
|
|
1574
1629
|
['delete']: TransactionDeleteOp;
|
|
1630
|
+
} | {
|
|
1631
|
+
get: TransactionGetOp;
|
|
1575
1632
|
};
|
|
1576
1633
|
/**
|
|
1577
1634
|
* Fields to return in the transaction result.
|
|
@@ -1623,11 +1680,21 @@ type TransactionResultDelete = {
|
|
|
1623
1680
|
rows: number;
|
|
1624
1681
|
columns?: TransactionResultColumns;
|
|
1625
1682
|
};
|
|
1683
|
+
/**
|
|
1684
|
+
* A result from a get operation.
|
|
1685
|
+
*/
|
|
1686
|
+
type TransactionResultGet = {
|
|
1687
|
+
/**
|
|
1688
|
+
* The type of operation who's result is being returned.
|
|
1689
|
+
*/
|
|
1690
|
+
operation: 'get';
|
|
1691
|
+
columns?: TransactionResultColumns;
|
|
1692
|
+
};
|
|
1626
1693
|
/**
|
|
1627
1694
|
* An ordered array of results from the submitted operations.
|
|
1628
1695
|
*/
|
|
1629
1696
|
type TransactionSuccess = {
|
|
1630
|
-
results: (TransactionResultInsert | TransactionResultUpdate | TransactionResultDelete)[];
|
|
1697
|
+
results: (TransactionResultInsert | TransactionResultUpdate | TransactionResultDelete | TransactionResultGet)[];
|
|
1631
1698
|
};
|
|
1632
1699
|
/**
|
|
1633
1700
|
* An error message from a failing transaction operation
|
|
@@ -1662,27 +1729,36 @@ type ObjectValue = {
|
|
|
1662
1729
|
[key: string]: string | boolean | number | string[] | number[] | DateTime | ObjectValue;
|
|
1663
1730
|
};
|
|
1664
1731
|
/**
|
|
1665
|
-
*
|
|
1732
|
+
* Unique file identifier
|
|
1666
1733
|
*
|
|
1667
|
-
* @
|
|
1734
|
+
* @maxLength 255
|
|
1735
|
+
* @minLength 1
|
|
1736
|
+
* @pattern [a-zA-Z0-9_-~:]+
|
|
1737
|
+
*/
|
|
1738
|
+
type FileID = string;
|
|
1739
|
+
/**
|
|
1740
|
+
* File name
|
|
1741
|
+
*
|
|
1742
|
+
* @maxLength 1024
|
|
1743
|
+
* @minLength 0
|
|
1744
|
+
* @pattern [0-9a-zA-Z!\-_\.\*'\(\)]*
|
|
1745
|
+
*/
|
|
1746
|
+
type FileName = string;
|
|
1747
|
+
/**
|
|
1748
|
+
* Media type
|
|
1749
|
+
*
|
|
1750
|
+
* @maxLength 255
|
|
1751
|
+
* @minLength 3
|
|
1752
|
+
* @pattern ^\w+/[-+.\w]+$
|
|
1753
|
+
*/
|
|
1754
|
+
type MediaType = string;
|
|
1755
|
+
/**
|
|
1756
|
+
* Object representing a file in an array
|
|
1668
1757
|
*/
|
|
1669
1758
|
type InputFileEntry = {
|
|
1670
|
-
|
|
1671
|
-
|
|
1672
|
-
|
|
1673
|
-
* @maxLength 1024
|
|
1674
|
-
* @minLength 1
|
|
1675
|
-
* @pattern [0-9a-zA-Z!\-_\.\*'\(\)]+
|
|
1676
|
-
*/
|
|
1677
|
-
name: string;
|
|
1678
|
-
/**
|
|
1679
|
-
* Media type
|
|
1680
|
-
*
|
|
1681
|
-
* @maxLength 255
|
|
1682
|
-
* @minLength 3
|
|
1683
|
-
* @pattern ^\w+/[-+.\w]+$
|
|
1684
|
-
*/
|
|
1685
|
-
mediaType?: string;
|
|
1759
|
+
id?: FileID;
|
|
1760
|
+
name?: FileName;
|
|
1761
|
+
mediaType?: MediaType;
|
|
1686
1762
|
/**
|
|
1687
1763
|
* Base64 encoded content
|
|
1688
1764
|
*
|
|
@@ -1704,11 +1780,34 @@ type InputFileEntry = {
|
|
|
1704
1780
|
* @maxItems 50
|
|
1705
1781
|
*/
|
|
1706
1782
|
type InputFileArray = InputFileEntry[];
|
|
1783
|
+
/**
|
|
1784
|
+
* Object representing a file
|
|
1785
|
+
*
|
|
1786
|
+
* @x-go-type file.InputFile
|
|
1787
|
+
*/
|
|
1788
|
+
type InputFile = {
|
|
1789
|
+
name: FileName;
|
|
1790
|
+
mediaType?: MediaType;
|
|
1791
|
+
/**
|
|
1792
|
+
* Base64 encoded content
|
|
1793
|
+
*
|
|
1794
|
+
* @maxLength 20971520
|
|
1795
|
+
*/
|
|
1796
|
+
base64Content?: string;
|
|
1797
|
+
/**
|
|
1798
|
+
* Enable public access to the file
|
|
1799
|
+
*/
|
|
1800
|
+
enablePublicUrl?: boolean;
|
|
1801
|
+
/**
|
|
1802
|
+
* Time to live for signed URLs
|
|
1803
|
+
*/
|
|
1804
|
+
signedUrlTimeout?: number;
|
|
1805
|
+
};
|
|
1707
1806
|
/**
|
|
1708
1807
|
* Xata input record
|
|
1709
1808
|
*/
|
|
1710
1809
|
type DataInputRecord = {
|
|
1711
|
-
[key: string]: RecordID | string | boolean | number | string[] | number[] | DateTime | ObjectValue | InputFileArray |
|
|
1810
|
+
[key: string]: RecordID | string | boolean | number | string[] | number[] | DateTime | ObjectValue | InputFileArray | InputFile | null;
|
|
1712
1811
|
};
|
|
1713
1812
|
/**
|
|
1714
1813
|
* Xata Table Record Metadata
|
|
@@ -1742,6 +1841,23 @@ type RecordMeta = {
|
|
|
1742
1841
|
warnings?: string[];
|
|
1743
1842
|
};
|
|
1744
1843
|
};
|
|
1844
|
+
/**
|
|
1845
|
+
* File metadata
|
|
1846
|
+
*/
|
|
1847
|
+
type FileResponse = {
|
|
1848
|
+
id?: FileID;
|
|
1849
|
+
name: FileName;
|
|
1850
|
+
mediaType: MediaType;
|
|
1851
|
+
/**
|
|
1852
|
+
* @format int64
|
|
1853
|
+
*/
|
|
1854
|
+
size: number;
|
|
1855
|
+
/**
|
|
1856
|
+
* @format int64
|
|
1857
|
+
*/
|
|
1858
|
+
version: number;
|
|
1859
|
+
attributes?: Record<string, any>;
|
|
1860
|
+
};
|
|
1745
1861
|
/**
|
|
1746
1862
|
* The target expression is used to filter the search results by the target columns.
|
|
1747
1863
|
*/
|
|
@@ -1897,6 +2013,12 @@ type SearchPageConfig = {
|
|
|
1897
2013
|
*/
|
|
1898
2014
|
offset?: number;
|
|
1899
2015
|
};
|
|
2016
|
+
/**
|
|
2017
|
+
* Xata Table SQL Record
|
|
2018
|
+
*/
|
|
2019
|
+
type SQLRecord = {
|
|
2020
|
+
[key: string]: any;
|
|
2021
|
+
};
|
|
1900
2022
|
/**
|
|
1901
2023
|
* A summary expression is the description of a single summary operation. It consists of a single
|
|
1902
2024
|
* key representing the operation, and a value representing the column to be operated on.
|
|
@@ -2175,6 +2297,7 @@ type RecordUpdateResponse = XataRecord$1 | {
|
|
|
2175
2297
|
version: number;
|
|
2176
2298
|
};
|
|
2177
2299
|
};
|
|
2300
|
+
type PutFileResponse = FileResponse;
|
|
2178
2301
|
type RecordResponse = XataRecord$1;
|
|
2179
2302
|
type BulkInsertResponse = {
|
|
2180
2303
|
recordIDs: string[];
|
|
@@ -2195,6 +2318,10 @@ type SearchResponse = {
|
|
|
2195
2318
|
records: XataRecord$1[];
|
|
2196
2319
|
warning?: string;
|
|
2197
2320
|
};
|
|
2321
|
+
type SQLResponse = {
|
|
2322
|
+
records: SQLRecord[];
|
|
2323
|
+
warning?: string;
|
|
2324
|
+
};
|
|
2198
2325
|
type RateLimitError = {
|
|
2199
2326
|
id?: string;
|
|
2200
2327
|
message: string;
|
|
@@ -3256,6 +3383,18 @@ type PushBranchMigrationsVariables = {
|
|
|
3256
3383
|
body: PushBranchMigrationsRequestBody;
|
|
3257
3384
|
pathParams: PushBranchMigrationsPathParams;
|
|
3258
3385
|
} & DataPlaneFetcherExtraProps;
|
|
3386
|
+
/**
|
|
3387
|
+
* The `schema/push` API accepts a list of migrations to be applied to the
|
|
3388
|
+
* current branch. A list of applicable migrations can be fetched using
|
|
3389
|
+
* the `schema/history` API from another branch or database.
|
|
3390
|
+
*
|
|
3391
|
+
* The most recent migration must be part of the list or referenced (via
|
|
3392
|
+
* `parentID`) by the first migration in the list of migrations to be pushed.
|
|
3393
|
+
*
|
|
3394
|
+
* Each migration in the list has an `id`, `parentID`, and `checksum`. The
|
|
3395
|
+
* checksum for migrations are generated and verified by xata. The
|
|
3396
|
+
* operation fails if any migration in the list has an invalid checksum.
|
|
3397
|
+
*/
|
|
3259
3398
|
declare const pushBranchMigrations: (variables: PushBranchMigrationsVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
|
3260
3399
|
type CreateTablePathParams = {
|
|
3261
3400
|
/**
|
|
@@ -3671,6 +3810,211 @@ type InsertRecordVariables = {
|
|
|
3671
3810
|
* Insert a new Record into the Table
|
|
3672
3811
|
*/
|
|
3673
3812
|
declare const insertRecord: (variables: InsertRecordVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
|
3813
|
+
type GetFileItemPathParams = {
|
|
3814
|
+
/**
|
|
3815
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
3816
|
+
*/
|
|
3817
|
+
dbBranchName: DBBranchName;
|
|
3818
|
+
/**
|
|
3819
|
+
* The Table name
|
|
3820
|
+
*/
|
|
3821
|
+
tableName: TableName;
|
|
3822
|
+
/**
|
|
3823
|
+
* The Record name
|
|
3824
|
+
*/
|
|
3825
|
+
recordId: RecordID;
|
|
3826
|
+
/**
|
|
3827
|
+
* The Column name
|
|
3828
|
+
*/
|
|
3829
|
+
columnName: ColumnName;
|
|
3830
|
+
/**
|
|
3831
|
+
* The File Identifier
|
|
3832
|
+
*/
|
|
3833
|
+
fileId: FileID;
|
|
3834
|
+
workspace: string;
|
|
3835
|
+
region: string;
|
|
3836
|
+
};
|
|
3837
|
+
type GetFileItemError = ErrorWrapper<{
|
|
3838
|
+
status: 400;
|
|
3839
|
+
payload: BadRequestError;
|
|
3840
|
+
} | {
|
|
3841
|
+
status: 401;
|
|
3842
|
+
payload: AuthError;
|
|
3843
|
+
} | {
|
|
3844
|
+
status: 404;
|
|
3845
|
+
payload: SimpleError;
|
|
3846
|
+
}>;
|
|
3847
|
+
type GetFileItemVariables = {
|
|
3848
|
+
pathParams: GetFileItemPathParams;
|
|
3849
|
+
} & DataPlaneFetcherExtraProps;
|
|
3850
|
+
/**
|
|
3851
|
+
* Retrieves file content from an array by file ID
|
|
3852
|
+
*/
|
|
3853
|
+
declare const getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal) => Promise<Blob>;
|
|
3854
|
+
type PutFileItemPathParams = {
|
|
3855
|
+
/**
|
|
3856
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
3857
|
+
*/
|
|
3858
|
+
dbBranchName: DBBranchName;
|
|
3859
|
+
/**
|
|
3860
|
+
* The Table name
|
|
3861
|
+
*/
|
|
3862
|
+
tableName: TableName;
|
|
3863
|
+
/**
|
|
3864
|
+
* The Record name
|
|
3865
|
+
*/
|
|
3866
|
+
recordId: RecordID;
|
|
3867
|
+
/**
|
|
3868
|
+
* The Column name
|
|
3869
|
+
*/
|
|
3870
|
+
columnName: ColumnName;
|
|
3871
|
+
/**
|
|
3872
|
+
* The File Identifier
|
|
3873
|
+
*/
|
|
3874
|
+
fileId: FileID;
|
|
3875
|
+
workspace: string;
|
|
3876
|
+
region: string;
|
|
3877
|
+
};
|
|
3878
|
+
type PutFileItemError = ErrorWrapper<{
|
|
3879
|
+
status: 400;
|
|
3880
|
+
payload: BadRequestError;
|
|
3881
|
+
} | {
|
|
3882
|
+
status: 401;
|
|
3883
|
+
payload: AuthError;
|
|
3884
|
+
} | {
|
|
3885
|
+
status: 404;
|
|
3886
|
+
payload: SimpleError;
|
|
3887
|
+
} | {
|
|
3888
|
+
status: 422;
|
|
3889
|
+
payload: SimpleError;
|
|
3890
|
+
}>;
|
|
3891
|
+
type PutFileItemVariables = {
|
|
3892
|
+
body?: Blob;
|
|
3893
|
+
pathParams: PutFileItemPathParams;
|
|
3894
|
+
} & DataPlaneFetcherExtraProps;
|
|
3895
|
+
/**
|
|
3896
|
+
* Uploads the file content to an array given the file ID
|
|
3897
|
+
*/
|
|
3898
|
+
declare const putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
|
3899
|
+
type DeleteFileItemPathParams = {
|
|
3900
|
+
/**
|
|
3901
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
3902
|
+
*/
|
|
3903
|
+
dbBranchName: DBBranchName;
|
|
3904
|
+
/**
|
|
3905
|
+
* The Table name
|
|
3906
|
+
*/
|
|
3907
|
+
tableName: TableName;
|
|
3908
|
+
/**
|
|
3909
|
+
* The Record name
|
|
3910
|
+
*/
|
|
3911
|
+
recordId: RecordID;
|
|
3912
|
+
/**
|
|
3913
|
+
* The Column name
|
|
3914
|
+
*/
|
|
3915
|
+
columnName: ColumnName;
|
|
3916
|
+
/**
|
|
3917
|
+
* The File Identifier
|
|
3918
|
+
*/
|
|
3919
|
+
fileId: FileID;
|
|
3920
|
+
workspace: string;
|
|
3921
|
+
region: string;
|
|
3922
|
+
};
|
|
3923
|
+
type DeleteFileItemError = ErrorWrapper<{
|
|
3924
|
+
status: 400;
|
|
3925
|
+
payload: BadRequestError;
|
|
3926
|
+
} | {
|
|
3927
|
+
status: 401;
|
|
3928
|
+
payload: AuthError;
|
|
3929
|
+
} | {
|
|
3930
|
+
status: 404;
|
|
3931
|
+
payload: SimpleError;
|
|
3932
|
+
}>;
|
|
3933
|
+
type DeleteFileItemVariables = {
|
|
3934
|
+
pathParams: DeleteFileItemPathParams;
|
|
3935
|
+
} & DataPlaneFetcherExtraProps;
|
|
3936
|
+
/**
|
|
3937
|
+
* Deletes an item from an file array column given the file ID
|
|
3938
|
+
*/
|
|
3939
|
+
declare const deleteFileItem: (variables: DeleteFileItemVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
|
3940
|
+
type GetFilePathParams = {
|
|
3941
|
+
/**
|
|
3942
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
3943
|
+
*/
|
|
3944
|
+
dbBranchName: DBBranchName;
|
|
3945
|
+
/**
|
|
3946
|
+
* The Table name
|
|
3947
|
+
*/
|
|
3948
|
+
tableName: TableName;
|
|
3949
|
+
/**
|
|
3950
|
+
* The Record name
|
|
3951
|
+
*/
|
|
3952
|
+
recordId: RecordID;
|
|
3953
|
+
/**
|
|
3954
|
+
* The Column name
|
|
3955
|
+
*/
|
|
3956
|
+
columnName: ColumnName;
|
|
3957
|
+
workspace: string;
|
|
3958
|
+
region: string;
|
|
3959
|
+
};
|
|
3960
|
+
type GetFileError = ErrorWrapper<{
|
|
3961
|
+
status: 400;
|
|
3962
|
+
payload: BadRequestError;
|
|
3963
|
+
} | {
|
|
3964
|
+
status: 401;
|
|
3965
|
+
payload: AuthError;
|
|
3966
|
+
} | {
|
|
3967
|
+
status: 404;
|
|
3968
|
+
payload: SimpleError;
|
|
3969
|
+
}>;
|
|
3970
|
+
type GetFileVariables = {
|
|
3971
|
+
pathParams: GetFilePathParams;
|
|
3972
|
+
} & DataPlaneFetcherExtraProps;
|
|
3973
|
+
/**
|
|
3974
|
+
* Retrieves the file content from a file column
|
|
3975
|
+
*/
|
|
3976
|
+
declare const getFile: (variables: GetFileVariables, signal?: AbortSignal) => Promise<Blob>;
|
|
3977
|
+
type PutFilePathParams = {
|
|
3978
|
+
/**
|
|
3979
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
3980
|
+
*/
|
|
3981
|
+
dbBranchName: DBBranchName;
|
|
3982
|
+
/**
|
|
3983
|
+
* The Table name
|
|
3984
|
+
*/
|
|
3985
|
+
tableName: TableName;
|
|
3986
|
+
/**
|
|
3987
|
+
* The Record name
|
|
3988
|
+
*/
|
|
3989
|
+
recordId: RecordID;
|
|
3990
|
+
/**
|
|
3991
|
+
* The Column name
|
|
3992
|
+
*/
|
|
3993
|
+
columnName: ColumnName;
|
|
3994
|
+
workspace: string;
|
|
3995
|
+
region: string;
|
|
3996
|
+
};
|
|
3997
|
+
type PutFileError = ErrorWrapper<{
|
|
3998
|
+
status: 400;
|
|
3999
|
+
payload: BadRequestError;
|
|
4000
|
+
} | {
|
|
4001
|
+
status: 401;
|
|
4002
|
+
payload: AuthError;
|
|
4003
|
+
} | {
|
|
4004
|
+
status: 404;
|
|
4005
|
+
payload: SimpleError;
|
|
4006
|
+
} | {
|
|
4007
|
+
status: 422;
|
|
4008
|
+
payload: SimpleError;
|
|
4009
|
+
}>;
|
|
4010
|
+
type PutFileVariables = {
|
|
4011
|
+
body?: Blob;
|
|
4012
|
+
pathParams: PutFilePathParams;
|
|
4013
|
+
} & DataPlaneFetcherExtraProps;
|
|
4014
|
+
/**
|
|
4015
|
+
* Uploads the file content to the given file column
|
|
4016
|
+
*/
|
|
4017
|
+
declare const putFile: (variables: PutFileVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
|
3674
4018
|
type GetRecordPathParams = {
|
|
3675
4019
|
/**
|
|
3676
4020
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
@@ -4644,23 +4988,7 @@ type QueryTableVariables = {
|
|
|
4644
4988
|
*
|
|
4645
4989
|
* ### Pagination
|
|
4646
4990
|
*
|
|
4647
|
-
* We offer cursor pagination and offset pagination.
|
|
4648
|
-
* cursor pagination is needed in order to retrieve all of their results. The offset pagination method is limited to 1000 records.
|
|
4649
|
-
*
|
|
4650
|
-
* Example of size + offset pagination:
|
|
4651
|
-
*
|
|
4652
|
-
* ```json
|
|
4653
|
-
* POST /db/demo:main/tables/table/query
|
|
4654
|
-
* {
|
|
4655
|
-
* "page": {
|
|
4656
|
-
* "size": 100,
|
|
4657
|
-
* "offset": 200
|
|
4658
|
-
* }
|
|
4659
|
-
* }
|
|
4660
|
-
* ```
|
|
4661
|
-
*
|
|
4662
|
-
* The `page.size` parameter represents the maximum number of records returned by this query. It has a default value of 20 and a maximum value of 200.
|
|
4663
|
-
* The `page.offset` parameter represents the number of matching records to skip. It has a default value of 0 and a maximum value of 800.
|
|
4991
|
+
* We offer cursor pagination and offset pagination. The cursor pagination method can be used for sequential scrolling with unrestricted depth. The offset pagination can be used to skip pages and is limited to 1000 records.
|
|
4664
4992
|
*
|
|
4665
4993
|
* Example of cursor pagination:
|
|
4666
4994
|
*
|
|
@@ -4714,6 +5042,34 @@ type QueryTableVariables = {
|
|
|
4714
5042
|
* `filter` or `sort` is set. The columns returned and page size can be changed
|
|
4715
5043
|
* anytime by passing the `columns` or `page.size` settings to the next query.
|
|
4716
5044
|
*
|
|
5045
|
+
* In the following example of size + offset pagination we retrieve the third page of up to 100 results:
|
|
5046
|
+
*
|
|
5047
|
+
* ```json
|
|
5048
|
+
* POST /db/demo:main/tables/table/query
|
|
5049
|
+
* {
|
|
5050
|
+
* "page": {
|
|
5051
|
+
* "size": 100,
|
|
5052
|
+
* "offset": 200
|
|
5053
|
+
* }
|
|
5054
|
+
* }
|
|
5055
|
+
* ```
|
|
5056
|
+
*
|
|
5057
|
+
* The `page.size` parameter represents the maximum number of records returned by this query. It has a default value of 20 and a maximum value of 200.
|
|
5058
|
+
* The `page.offset` parameter represents the number of matching records to skip. It has a default value of 0 and a maximum value of 800.
|
|
5059
|
+
*
|
|
5060
|
+
* Cursor pagination also works in combination with offset pagination. For example, starting from a specific cursor position, using a page size of 200 and an offset of 800, you can skip up to 5 pages of 200 records forwards or backwards from the cursor's position:
|
|
5061
|
+
*
|
|
5062
|
+
* ```json
|
|
5063
|
+
* POST /db/demo:main/tables/table/query
|
|
5064
|
+
* {
|
|
5065
|
+
* "page": {
|
|
5066
|
+
* "size": 200,
|
|
5067
|
+
* "offset": 800,
|
|
5068
|
+
* "after": "fMoxCsIwFIDh3WP8c4amDai5hO5SJCRNfaVSeC9b6d1FD"
|
|
5069
|
+
* }
|
|
5070
|
+
* }
|
|
5071
|
+
* ```
|
|
5072
|
+
*
|
|
4717
5073
|
* **Special cursors:**
|
|
4718
5074
|
*
|
|
4719
5075
|
* - `page.after=end`: Result points past the last entry. The list of records
|
|
@@ -4885,7 +5241,7 @@ type SqlQueryVariables = {
|
|
|
4885
5241
|
/**
|
|
4886
5242
|
* Run an SQL query across the database branch.
|
|
4887
5243
|
*/
|
|
4888
|
-
declare const sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<
|
|
5244
|
+
declare const sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse>;
|
|
4889
5245
|
type VectorSearchTablePathParams = {
|
|
4890
5246
|
/**
|
|
4891
5247
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
|
@@ -5246,11 +5602,18 @@ declare const operationsByTag: {
|
|
|
5246
5602
|
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
|
5247
5603
|
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
|
5248
5604
|
};
|
|
5605
|
+
files: {
|
|
5606
|
+
getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal | undefined) => Promise<Blob>;
|
|
5607
|
+
putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal | undefined) => Promise<FileResponse>;
|
|
5608
|
+
deleteFileItem: (variables: DeleteFileItemVariables, signal?: AbortSignal | undefined) => Promise<FileResponse>;
|
|
5609
|
+
getFile: (variables: GetFileVariables, signal?: AbortSignal | undefined) => Promise<Blob>;
|
|
5610
|
+
putFile: (variables: PutFileVariables, signal?: AbortSignal | undefined) => Promise<FileResponse>;
|
|
5611
|
+
};
|
|
5249
5612
|
searchAndFilter: {
|
|
5250
5613
|
queryTable: (variables: QueryTableVariables, signal?: AbortSignal | undefined) => Promise<QueryResponse>;
|
|
5251
5614
|
searchBranch: (variables: SearchBranchVariables, signal?: AbortSignal | undefined) => Promise<SearchResponse>;
|
|
5252
5615
|
searchTable: (variables: SearchTableVariables, signal?: AbortSignal | undefined) => Promise<SearchResponse>;
|
|
5253
|
-
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal | undefined) => Promise<
|
|
5616
|
+
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal | undefined) => Promise<SQLResponse>;
|
|
5254
5617
|
vectorSearchTable: (variables: VectorSearchTableVariables, signal?: AbortSignal | undefined) => Promise<SearchResponse>;
|
|
5255
5618
|
askTable: (variables: AskTableVariables, signal?: AbortSignal | undefined) => Promise<AskTableResponse>;
|
|
5256
5619
|
summarizeTable: (variables: SummarizeTableVariables, signal?: AbortSignal | undefined) => Promise<SummarizeResponse>;
|
|
@@ -5289,6 +5652,7 @@ declare const operationsByTag: {
|
|
|
5289
5652
|
deleteDatabase: (variables: DeleteDatabaseVariables, signal?: AbortSignal | undefined) => Promise<DeleteDatabaseResponse>;
|
|
5290
5653
|
getDatabaseMetadata: (variables: GetDatabaseMetadataVariables, signal?: AbortSignal | undefined) => Promise<DatabaseMetadata>;
|
|
5291
5654
|
updateDatabaseMetadata: (variables: UpdateDatabaseMetadataVariables, signal?: AbortSignal | undefined) => Promise<DatabaseMetadata>;
|
|
5655
|
+
renameDatabase: (variables: RenameDatabaseVariables, signal?: AbortSignal | undefined) => Promise<DatabaseMetadata>;
|
|
5292
5656
|
getDatabaseGithubSettings: (variables: GetDatabaseGithubSettingsVariables, signal?: AbortSignal | undefined) => Promise<DatabaseGithubSettings>;
|
|
5293
5657
|
updateDatabaseGithubSettings: (variables: UpdateDatabaseGithubSettingsVariables, signal?: AbortSignal | undefined) => Promise<DatabaseGithubSettings>;
|
|
5294
5658
|
deleteDatabaseGithubSettings: (variables: DeleteDatabaseGithubSettingsVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
|
@@ -5318,10 +5682,12 @@ type responses_BadRequestError = BadRequestError;
|
|
|
5318
5682
|
type responses_BranchMigrationPlan = BranchMigrationPlan;
|
|
5319
5683
|
type responses_BulkError = BulkError;
|
|
5320
5684
|
type responses_BulkInsertResponse = BulkInsertResponse;
|
|
5685
|
+
type responses_PutFileResponse = PutFileResponse;
|
|
5321
5686
|
type responses_QueryResponse = QueryResponse;
|
|
5322
5687
|
type responses_RateLimitError = RateLimitError;
|
|
5323
5688
|
type responses_RecordResponse = RecordResponse;
|
|
5324
5689
|
type responses_RecordUpdateResponse = RecordUpdateResponse;
|
|
5690
|
+
type responses_SQLResponse = SQLResponse;
|
|
5325
5691
|
type responses_SchemaCompareResponse = SchemaCompareResponse;
|
|
5326
5692
|
type responses_SchemaUpdateResponse = SchemaUpdateResponse;
|
|
5327
5693
|
type responses_SearchResponse = SearchResponse;
|
|
@@ -5335,10 +5701,12 @@ declare namespace responses {
|
|
|
5335
5701
|
responses_BranchMigrationPlan as BranchMigrationPlan,
|
|
5336
5702
|
responses_BulkError as BulkError,
|
|
5337
5703
|
responses_BulkInsertResponse as BulkInsertResponse,
|
|
5704
|
+
responses_PutFileResponse as PutFileResponse,
|
|
5338
5705
|
responses_QueryResponse as QueryResponse,
|
|
5339
5706
|
responses_RateLimitError as RateLimitError,
|
|
5340
5707
|
responses_RecordResponse as RecordResponse,
|
|
5341
5708
|
responses_RecordUpdateResponse as RecordUpdateResponse,
|
|
5709
|
+
responses_SQLResponse as SQLResponse,
|
|
5342
5710
|
responses_SchemaCompareResponse as SchemaCompareResponse,
|
|
5343
5711
|
responses_SchemaUpdateResponse as SchemaUpdateResponse,
|
|
5344
5712
|
responses_SearchResponse as SearchResponse,
|
|
@@ -5377,6 +5745,9 @@ type schemas_DatabaseGithubSettings = DatabaseGithubSettings;
|
|
|
5377
5745
|
type schemas_DatabaseMetadata = DatabaseMetadata;
|
|
5378
5746
|
type schemas_DateHistogramAgg = DateHistogramAgg;
|
|
5379
5747
|
type schemas_DateTime = DateTime;
|
|
5748
|
+
type schemas_FileID = FileID;
|
|
5749
|
+
type schemas_FileName = FileName;
|
|
5750
|
+
type schemas_FileResponse = FileResponse;
|
|
5380
5751
|
type schemas_FilterColumn = FilterColumn;
|
|
5381
5752
|
type schemas_FilterColumnIncludes = FilterColumnIncludes;
|
|
5382
5753
|
type schemas_FilterExpression = FilterExpression;
|
|
@@ -5388,6 +5759,7 @@ type schemas_FilterRangeValue = FilterRangeValue;
|
|
|
5388
5759
|
type schemas_FilterValue = FilterValue;
|
|
5389
5760
|
type schemas_FuzzinessExpression = FuzzinessExpression;
|
|
5390
5761
|
type schemas_HighlightExpression = HighlightExpression;
|
|
5762
|
+
type schemas_InputFile = InputFile;
|
|
5391
5763
|
type schemas_InputFileArray = InputFileArray;
|
|
5392
5764
|
type schemas_InputFileEntry = InputFileEntry;
|
|
5393
5765
|
type schemas_InviteID = InviteID;
|
|
@@ -5397,6 +5769,7 @@ type schemas_ListDatabasesResponse = ListDatabasesResponse;
|
|
|
5397
5769
|
type schemas_ListGitBranchesResponse = ListGitBranchesResponse;
|
|
5398
5770
|
type schemas_ListRegionsResponse = ListRegionsResponse;
|
|
5399
5771
|
type schemas_MaxAgg = MaxAgg;
|
|
5772
|
+
type schemas_MediaType = MediaType;
|
|
5400
5773
|
type schemas_MetricsDatapoint = MetricsDatapoint;
|
|
5401
5774
|
type schemas_MetricsLatency = MetricsLatency;
|
|
5402
5775
|
type schemas_Migration = Migration;
|
|
@@ -5418,6 +5791,7 @@ type schemas_RecordsMetadata = RecordsMetadata;
|
|
|
5418
5791
|
type schemas_Region = Region;
|
|
5419
5792
|
type schemas_RevLink = RevLink;
|
|
5420
5793
|
type schemas_Role = Role;
|
|
5794
|
+
type schemas_SQLRecord = SQLRecord;
|
|
5421
5795
|
type schemas_Schema = Schema;
|
|
5422
5796
|
type schemas_SchemaEditScript = SchemaEditScript;
|
|
5423
5797
|
type schemas_SearchPageConfig = SearchPageConfig;
|
|
@@ -5439,9 +5813,11 @@ type schemas_TopValuesAgg = TopValuesAgg;
|
|
|
5439
5813
|
type schemas_TransactionDeleteOp = TransactionDeleteOp;
|
|
5440
5814
|
type schemas_TransactionError = TransactionError;
|
|
5441
5815
|
type schemas_TransactionFailure = TransactionFailure;
|
|
5816
|
+
type schemas_TransactionGetOp = TransactionGetOp;
|
|
5442
5817
|
type schemas_TransactionInsertOp = TransactionInsertOp;
|
|
5443
5818
|
type schemas_TransactionResultColumns = TransactionResultColumns;
|
|
5444
5819
|
type schemas_TransactionResultDelete = TransactionResultDelete;
|
|
5820
|
+
type schemas_TransactionResultGet = TransactionResultGet;
|
|
5445
5821
|
type schemas_TransactionResultInsert = TransactionResultInsert;
|
|
5446
5822
|
type schemas_TransactionResultUpdate = TransactionResultUpdate;
|
|
5447
5823
|
type schemas_TransactionSuccess = TransactionSuccess;
|
|
@@ -5490,6 +5866,9 @@ declare namespace schemas {
|
|
|
5490
5866
|
DateBooster$1 as DateBooster,
|
|
5491
5867
|
schemas_DateHistogramAgg as DateHistogramAgg,
|
|
5492
5868
|
schemas_DateTime as DateTime,
|
|
5869
|
+
schemas_FileID as FileID,
|
|
5870
|
+
schemas_FileName as FileName,
|
|
5871
|
+
schemas_FileResponse as FileResponse,
|
|
5493
5872
|
schemas_FilterColumn as FilterColumn,
|
|
5494
5873
|
schemas_FilterColumnIncludes as FilterColumnIncludes,
|
|
5495
5874
|
schemas_FilterExpression as FilterExpression,
|
|
@@ -5501,6 +5880,7 @@ declare namespace schemas {
|
|
|
5501
5880
|
schemas_FilterValue as FilterValue,
|
|
5502
5881
|
schemas_FuzzinessExpression as FuzzinessExpression,
|
|
5503
5882
|
schemas_HighlightExpression as HighlightExpression,
|
|
5883
|
+
schemas_InputFile as InputFile,
|
|
5504
5884
|
schemas_InputFileArray as InputFileArray,
|
|
5505
5885
|
schemas_InputFileEntry as InputFileEntry,
|
|
5506
5886
|
schemas_InviteID as InviteID,
|
|
@@ -5510,6 +5890,7 @@ declare namespace schemas {
|
|
|
5510
5890
|
schemas_ListGitBranchesResponse as ListGitBranchesResponse,
|
|
5511
5891
|
schemas_ListRegionsResponse as ListRegionsResponse,
|
|
5512
5892
|
schemas_MaxAgg as MaxAgg,
|
|
5893
|
+
schemas_MediaType as MediaType,
|
|
5513
5894
|
schemas_MetricsDatapoint as MetricsDatapoint,
|
|
5514
5895
|
schemas_MetricsLatency as MetricsLatency,
|
|
5515
5896
|
schemas_Migration as Migration,
|
|
@@ -5532,6 +5913,7 @@ declare namespace schemas {
|
|
|
5532
5913
|
schemas_Region as Region,
|
|
5533
5914
|
schemas_RevLink as RevLink,
|
|
5534
5915
|
schemas_Role as Role,
|
|
5916
|
+
schemas_SQLRecord as SQLRecord,
|
|
5535
5917
|
schemas_Schema as Schema,
|
|
5536
5918
|
schemas_SchemaEditScript as SchemaEditScript,
|
|
5537
5919
|
schemas_SearchPageConfig as SearchPageConfig,
|
|
@@ -5553,10 +5935,12 @@ declare namespace schemas {
|
|
|
5553
5935
|
schemas_TransactionDeleteOp as TransactionDeleteOp,
|
|
5554
5936
|
schemas_TransactionError as TransactionError,
|
|
5555
5937
|
schemas_TransactionFailure as TransactionFailure,
|
|
5938
|
+
schemas_TransactionGetOp as TransactionGetOp,
|
|
5556
5939
|
schemas_TransactionInsertOp as TransactionInsertOp,
|
|
5557
5940
|
TransactionOperation$1 as TransactionOperation,
|
|
5558
5941
|
schemas_TransactionResultColumns as TransactionResultColumns,
|
|
5559
5942
|
schemas_TransactionResultDelete as TransactionResultDelete,
|
|
5943
|
+
schemas_TransactionResultGet as TransactionResultGet,
|
|
5560
5944
|
schemas_TransactionResultInsert as TransactionResultInsert,
|
|
5561
5945
|
schemas_TransactionResultUpdate as TransactionResultUpdate,
|
|
5562
5946
|
schemas_TransactionSuccess as TransactionSuccess,
|
|
@@ -5598,6 +5982,7 @@ declare class XataApiClient {
|
|
|
5598
5982
|
get migrationRequests(): MigrationRequestsApi;
|
|
5599
5983
|
get tables(): TableApi;
|
|
5600
5984
|
get records(): RecordsApi;
|
|
5985
|
+
get files(): FilesApi;
|
|
5601
5986
|
get searchAndFilter(): SearchAndFilterApi;
|
|
5602
5987
|
}
|
|
5603
5988
|
declare class UserApi {
|
|
@@ -5919,6 +6304,60 @@ declare class RecordsApi {
|
|
|
5919
6304
|
operations: TransactionOperation$1[];
|
|
5920
6305
|
}): Promise<TransactionSuccess>;
|
|
5921
6306
|
}
|
|
6307
|
+
declare class FilesApi {
|
|
6308
|
+
private extraProps;
|
|
6309
|
+
constructor(extraProps: ApiExtraProps);
|
|
6310
|
+
getFileItem({ workspace, region, database, branch, table, record, column, fileId }: {
|
|
6311
|
+
workspace: WorkspaceID;
|
|
6312
|
+
region: string;
|
|
6313
|
+
database: DBName;
|
|
6314
|
+
branch: BranchName;
|
|
6315
|
+
table: TableName;
|
|
6316
|
+
record: RecordID;
|
|
6317
|
+
column: ColumnName;
|
|
6318
|
+
fileId: string;
|
|
6319
|
+
}): Promise<any>;
|
|
6320
|
+
putFileItem({ workspace, region, database, branch, table, record, column, fileId, file }: {
|
|
6321
|
+
workspace: WorkspaceID;
|
|
6322
|
+
region: string;
|
|
6323
|
+
database: DBName;
|
|
6324
|
+
branch: BranchName;
|
|
6325
|
+
table: TableName;
|
|
6326
|
+
record: RecordID;
|
|
6327
|
+
column: ColumnName;
|
|
6328
|
+
fileId: string;
|
|
6329
|
+
file: any;
|
|
6330
|
+
}): Promise<PutFileResponse>;
|
|
6331
|
+
deleteFileItem({ workspace, region, database, branch, table, record, column, fileId }: {
|
|
6332
|
+
workspace: WorkspaceID;
|
|
6333
|
+
region: string;
|
|
6334
|
+
database: DBName;
|
|
6335
|
+
branch: BranchName;
|
|
6336
|
+
table: TableName;
|
|
6337
|
+
record: RecordID;
|
|
6338
|
+
column: ColumnName;
|
|
6339
|
+
fileId: string;
|
|
6340
|
+
}): Promise<PutFileResponse>;
|
|
6341
|
+
getFile({ workspace, region, database, branch, table, record, column }: {
|
|
6342
|
+
workspace: WorkspaceID;
|
|
6343
|
+
region: string;
|
|
6344
|
+
database: DBName;
|
|
6345
|
+
branch: BranchName;
|
|
6346
|
+
table: TableName;
|
|
6347
|
+
record: RecordID;
|
|
6348
|
+
column: ColumnName;
|
|
6349
|
+
}): Promise<any>;
|
|
6350
|
+
putFile({ workspace, region, database, branch, table, record, column, file }: {
|
|
6351
|
+
workspace: WorkspaceID;
|
|
6352
|
+
region: string;
|
|
6353
|
+
database: DBName;
|
|
6354
|
+
branch: BranchName;
|
|
6355
|
+
table: TableName;
|
|
6356
|
+
record: RecordID;
|
|
6357
|
+
column: ColumnName;
|
|
6358
|
+
file: Blob;
|
|
6359
|
+
}): Promise<PutFileResponse>;
|
|
6360
|
+
}
|
|
5922
6361
|
declare class SearchAndFilterApi {
|
|
5923
6362
|
private extraProps;
|
|
5924
6363
|
constructor(extraProps: ApiExtraProps);
|
|
@@ -6180,6 +6619,11 @@ declare class DatabaseApi {
|
|
|
6180
6619
|
database: DBName;
|
|
6181
6620
|
metadata: DatabaseMetadata;
|
|
6182
6621
|
}): Promise<DatabaseMetadata>;
|
|
6622
|
+
renameDatabase({ workspace, database, newName }: {
|
|
6623
|
+
workspace: WorkspaceID;
|
|
6624
|
+
database: DBName;
|
|
6625
|
+
newName: DBName;
|
|
6626
|
+
}): Promise<DatabaseMetadata>;
|
|
6183
6627
|
getDatabaseGithubSettings({ workspace, database }: {
|
|
6184
6628
|
workspace: WorkspaceID;
|
|
6185
6629
|
database: DBName;
|
|
@@ -7147,6 +7591,7 @@ type PaginationQueryMeta = {
|
|
|
7147
7591
|
page: {
|
|
7148
7592
|
cursor: string;
|
|
7149
7593
|
more: boolean;
|
|
7594
|
+
size: number;
|
|
7150
7595
|
};
|
|
7151
7596
|
};
|
|
7152
7597
|
interface Paginable<Record extends XataRecord, Result extends XataRecord = Record> {
|
|
@@ -8244,20 +8689,20 @@ declare function getPreviewBranch(): string | undefined;
|
|
|
8244
8689
|
|
|
8245
8690
|
interface Body {
|
|
8246
8691
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
8247
|
-
blob(): Promise<Blob>;
|
|
8692
|
+
blob(): Promise<Blob$1>;
|
|
8248
8693
|
formData(): Promise<FormData>;
|
|
8249
8694
|
json(): Promise<any>;
|
|
8250
8695
|
text(): Promise<string>;
|
|
8251
8696
|
}
|
|
8252
|
-
interface Blob {
|
|
8697
|
+
interface Blob$1 {
|
|
8253
8698
|
readonly size: number;
|
|
8254
8699
|
readonly type: string;
|
|
8255
8700
|
arrayBuffer(): Promise<ArrayBuffer>;
|
|
8256
|
-
slice(start?: number, end?: number, contentType?: string): Blob;
|
|
8701
|
+
slice(start?: number, end?: number, contentType?: string): Blob$1;
|
|
8257
8702
|
text(): Promise<string>;
|
|
8258
8703
|
}
|
|
8259
8704
|
/** Provides information about files and allows JavaScript in a web page to access their content. */
|
|
8260
|
-
interface File extends Blob {
|
|
8705
|
+
interface File extends Blob$1 {
|
|
8261
8706
|
readonly lastModified: number;
|
|
8262
8707
|
readonly name: string;
|
|
8263
8708
|
readonly webkitRelativePath: string;
|
|
@@ -8265,12 +8710,12 @@ interface File extends Blob {
|
|
|
8265
8710
|
type FormDataEntryValue = File | string;
|
|
8266
8711
|
/** Provides a way to easily construct a set of key/value pairs representing form fields and their values, which can then be easily sent using the XMLHttpRequest.send() method. It uses the same format a form would use if the encoding type were set to "multipart/form-data". */
|
|
8267
8712
|
interface FormData {
|
|
8268
|
-
append(name: string, value: string | Blob, fileName?: string): void;
|
|
8713
|
+
append(name: string, value: string | Blob$1, fileName?: string): void;
|
|
8269
8714
|
delete(name: string): void;
|
|
8270
8715
|
get(name: string): FormDataEntryValue | null;
|
|
8271
8716
|
getAll(name: string): FormDataEntryValue[];
|
|
8272
8717
|
has(name: string): boolean;
|
|
8273
|
-
set(name: string, value: string | Blob, fileName?: string): void;
|
|
8718
|
+
set(name: string, value: string | Blob$1, fileName?: string): void;
|
|
8274
8719
|
forEach(callbackfn: (value: FormDataEntryValue, key: string, parent: FormData) => void, thisArg?: any): void;
|
|
8275
8720
|
}
|
|
8276
8721
|
/** This Fetch API interface allows you to perform various actions on HTTP request and response headers. These actions include retrieving, setting, adding to, and removing. A Headers object has an associated header list, which is initially empty and consists of zero or more name and value pairs. You can add to this using methods like append() (see Examples.) In all methods of this interface, header names are matched by case-insensitive byte sequence. */
|
|
@@ -8327,4 +8772,4 @@ declare class XataError extends Error {
|
|
|
8327
8772
|
constructor(message: string, status: number);
|
|
8328
8773
|
}
|
|
8329
8774
|
|
|
8330
|
-
export { AcceptWorkspaceMemberInviteError, AcceptWorkspaceMemberInvitePathParams, AcceptWorkspaceMemberInviteVariables, AddGitBranchesEntryError, AddGitBranchesEntryPathParams, AddGitBranchesEntryRequestBody, AddGitBranchesEntryResponse, AddGitBranchesEntryVariables, AddTableColumnError, AddTableColumnPathParams, AddTableColumnVariables, AggregateTableError, AggregateTablePathParams, AggregateTableRequestBody, AggregateTableVariables, ApiExtraProps, ApplyBranchSchemaEditError, ApplyBranchSchemaEditPathParams, ApplyBranchSchemaEditRequestBody, ApplyBranchSchemaEditVariables, AskOptions, AskResult, AskTableError, AskTablePathParams, AskTableRequestBody, AskTableResponse, AskTableVariables, BaseClient, BaseClientOptions, BaseData, BaseSchema, BranchTransactionError, BranchTransactionPathParams, BranchTransactionRequestBody, BranchTransactionVariables, BulkInsertTableRecordsError, BulkInsertTableRecordsPathParams, BulkInsertTableRecordsQueryParams, BulkInsertTableRecordsRequestBody, BulkInsertTableRecordsVariables, CacheImpl, CancelWorkspaceMemberInviteError, CancelWorkspaceMemberInvitePathParams, CancelWorkspaceMemberInviteVariables, ClientConstructor, ColumnsByValue, CompareBranchSchemasError, CompareBranchSchemasPathParams, CompareBranchSchemasRequestBody, CompareBranchSchemasVariables, CompareBranchWithUserSchemaError, CompareBranchWithUserSchemaPathParams, CompareBranchWithUserSchemaRequestBody, CompareBranchWithUserSchemaVariables, CompareMigrationRequestError, CompareMigrationRequestPathParams, CompareMigrationRequestVariables, CopyBranchError, CopyBranchPathParams, CopyBranchRequestBody, CopyBranchVariables, CreateBranchError, CreateBranchPathParams, CreateBranchQueryParams, CreateBranchRequestBody, CreateBranchResponse, CreateBranchVariables, CreateDatabaseError, CreateDatabasePathParams, CreateDatabaseRequestBody, CreateDatabaseResponse, CreateDatabaseVariables, CreateMigrationRequestError, CreateMigrationRequestPathParams, CreateMigrationRequestRequestBody, CreateMigrationRequestResponse, CreateMigrationRequestVariables, CreateTableError, CreateTablePathParams, CreateTableResponse, CreateTableVariables, CreateUserAPIKeyError, CreateUserAPIKeyPathParams, CreateUserAPIKeyResponse, CreateUserAPIKeyVariables, CreateWorkspaceError, CreateWorkspaceVariables, CursorNavigationOptions, DeleteBranchError, DeleteBranchPathParams, DeleteBranchResponse, DeleteBranchVariables, DeleteColumnError, DeleteColumnPathParams, DeleteColumnVariables, DeleteDatabaseError, DeleteDatabaseGithubSettingsError, DeleteDatabaseGithubSettingsPathParams, DeleteDatabaseGithubSettingsVariables, DeleteDatabasePathParams, DeleteDatabaseResponse, DeleteDatabaseVariables, DeleteRecordError, DeleteRecordPathParams, DeleteRecordQueryParams, DeleteRecordVariables, DeleteTableError, DeleteTablePathParams, DeleteTableResponse, DeleteTableVariables, DeleteUserAPIKeyError, DeleteUserAPIKeyPathParams, DeleteUserAPIKeyVariables, DeleteUserError, DeleteUserVariables, DeleteWorkspaceError, DeleteWorkspacePathParams, DeleteWorkspaceVariables, DeserializedType, EditableData, ExecuteBranchMigrationPlanError, ExecuteBranchMigrationPlanPathParams, ExecuteBranchMigrationPlanRequestBody, ExecuteBranchMigrationPlanVariables, FetchImpl, FetcherError, FetcherExtraProps, GetBranchDetailsError, GetBranchDetailsPathParams, GetBranchDetailsVariables, GetBranchListError, GetBranchListPathParams, GetBranchListVariables, GetBranchMetadataError, GetBranchMetadataPathParams, GetBranchMetadataVariables, GetBranchMigrationHistoryError, GetBranchMigrationHistoryPathParams, GetBranchMigrationHistoryRequestBody, GetBranchMigrationHistoryResponse, GetBranchMigrationHistoryVariables, GetBranchMigrationPlanError, GetBranchMigrationPlanPathParams, GetBranchMigrationPlanVariables, GetBranchSchemaHistoryError, GetBranchSchemaHistoryPathParams, GetBranchSchemaHistoryRequestBody, GetBranchSchemaHistoryResponse, GetBranchSchemaHistoryVariables, GetBranchStatsError, GetBranchStatsPathParams, GetBranchStatsResponse, GetBranchStatsVariables, GetColumnError, GetColumnPathParams, GetColumnVariables, GetDatabaseGithubSettingsError, GetDatabaseGithubSettingsPathParams, GetDatabaseGithubSettingsVariables, GetDatabaseListError, GetDatabaseListPathParams, GetDatabaseListVariables, GetDatabaseMetadataError, GetDatabaseMetadataPathParams, GetDatabaseMetadataVariables, GetGitBranchesMappingError, GetGitBranchesMappingPathParams, GetGitBranchesMappingVariables, GetMigrationRequestError, GetMigrationRequestIsMergedError, GetMigrationRequestIsMergedPathParams, GetMigrationRequestIsMergedResponse, GetMigrationRequestIsMergedVariables, GetMigrationRequestPathParams, GetMigrationRequestVariables, GetRecordError, GetRecordPathParams, GetRecordQueryParams, GetRecordVariables, GetTableColumnsError, GetTableColumnsPathParams, GetTableColumnsResponse, GetTableColumnsVariables, GetTableSchemaError, GetTableSchemaPathParams, GetTableSchemaResponse, GetTableSchemaVariables, GetUserAPIKeysError, GetUserAPIKeysResponse, GetUserAPIKeysVariables, GetUserError, GetUserVariables, GetWorkspaceError, GetWorkspaceMembersListError, GetWorkspaceMembersListPathParams, GetWorkspaceMembersListVariables, GetWorkspacePathParams, GetWorkspaceVariables, GetWorkspacesListError, GetWorkspacesListResponse, GetWorkspacesListVariables, HostProvider, Identifiable, InsertRecordError, InsertRecordPathParams, InsertRecordQueryParams, InsertRecordVariables, InsertRecordWithIDError, InsertRecordWithIDPathParams, InsertRecordWithIDQueryParams, InsertRecordWithIDVariables, InviteWorkspaceMemberError, InviteWorkspaceMemberPathParams, InviteWorkspaceMemberRequestBody, InviteWorkspaceMemberVariables, KeywordAskOptions, Link, ListMigrationRequestsCommitsError, ListMigrationRequestsCommitsPathParams, ListMigrationRequestsCommitsRequestBody, ListMigrationRequestsCommitsResponse, ListMigrationRequestsCommitsVariables, ListRegionsError, ListRegionsPathParams, ListRegionsVariables, MergeMigrationRequestError, MergeMigrationRequestPathParams, MergeMigrationRequestVariables, OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, Paginable, PaginationQueryMeta, PreviewBranchSchemaEditError, PreviewBranchSchemaEditPathParams, PreviewBranchSchemaEditRequestBody, PreviewBranchSchemaEditResponse, PreviewBranchSchemaEditVariables, PushBranchMigrationsError, PushBranchMigrationsPathParams, PushBranchMigrationsRequestBody, PushBranchMigrationsVariables, Query, QueryMigrationRequestsError, QueryMigrationRequestsPathParams, QueryMigrationRequestsRequestBody, QueryMigrationRequestsResponse, QueryMigrationRequestsVariables, QueryTableError, QueryTablePathParams, QueryTableRequestBody, QueryTableVariables, RecordArray, RemoveGitBranchesEntryError, RemoveGitBranchesEntryPathParams, RemoveGitBranchesEntryQueryParams, RemoveGitBranchesEntryVariables, RemoveWorkspaceMemberError, RemoveWorkspaceMemberPathParams, RemoveWorkspaceMemberVariables, Repository, ResendWorkspaceMemberInviteError, ResendWorkspaceMemberInvitePathParams, ResendWorkspaceMemberInviteVariables, ResolveBranchError, ResolveBranchPathParams, ResolveBranchQueryParams, ResolveBranchResponse, ResolveBranchVariables, responses as Responses, RestRepository, SchemaDefinition, SchemaInference, SchemaPlugin, SchemaPluginResult, schemas as Schemas, SearchBranchError, SearchBranchPathParams, SearchBranchRequestBody, SearchBranchVariables, SearchOptions, SearchPlugin, SearchPluginResult, SearchTableError, SearchTablePathParams, SearchTableRequestBody, SearchTableVariables, SearchXataRecord, SelectableColumn, SelectedPick, SerializedString, Serializer, SerializerResult, SetTableSchemaError, SetTableSchemaPathParams, SetTableSchemaRequestBody, SetTableSchemaVariables, SimpleCache, SimpleCacheOptions, SqlQueryError, SqlQueryPathParams, SqlQueryRequestBody, SqlQueryVariables, SummarizeTableError, SummarizeTablePathParams, SummarizeTableRequestBody, SummarizeTableVariables, UpdateBranchMetadataError, UpdateBranchMetadataPathParams, UpdateBranchMetadataVariables, UpdateBranchSchemaError, UpdateBranchSchemaPathParams, UpdateBranchSchemaVariables, UpdateColumnError, UpdateColumnPathParams, UpdateColumnRequestBody, UpdateColumnVariables, UpdateDatabaseGithubSettingsError, UpdateDatabaseGithubSettingsPathParams, UpdateDatabaseGithubSettingsVariables, UpdateDatabaseMetadataError, UpdateDatabaseMetadataPathParams, UpdateDatabaseMetadataRequestBody, UpdateDatabaseMetadataVariables, UpdateMigrationRequestError, UpdateMigrationRequestPathParams, UpdateMigrationRequestRequestBody, UpdateMigrationRequestVariables, UpdateRecordWithIDError, UpdateRecordWithIDPathParams, UpdateRecordWithIDQueryParams, UpdateRecordWithIDVariables, UpdateTableError, UpdateTablePathParams, UpdateTableRequestBody, UpdateTableVariables, UpdateUserError, UpdateUserVariables, UpdateWorkspaceError, UpdateWorkspaceMemberInviteError, UpdateWorkspaceMemberInvitePathParams, UpdateWorkspaceMemberInviteRequestBody, UpdateWorkspaceMemberInviteVariables, UpdateWorkspaceMemberRoleError, UpdateWorkspaceMemberRolePathParams, UpdateWorkspaceMemberRoleRequestBody, UpdateWorkspaceMemberRoleVariables, UpdateWorkspacePathParams, UpdateWorkspaceVariables, UpsertRecordWithIDError, UpsertRecordWithIDPathParams, UpsertRecordWithIDQueryParams, UpsertRecordWithIDVariables, ValueAtColumn, VectorAskOptions, VectorSearchTableError, VectorSearchTablePathParams, VectorSearchTableRequestBody, VectorSearchTableVariables, XataApiClient, XataApiClientOptions, XataApiPlugin, XataError, XataPlugin, XataPluginOptions, XataRecord, acceptWorkspaceMemberInvite, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, askTable, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, buildWorkerRunner, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, ge, getAPIKey, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseURL, getGitBranchesMapping, getHostUrl, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getWorkspace, getWorkspaceMembersList, getWorkspacesList, greaterEquals, greaterThan, greaterThanEquals, gt, gte, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, updateBranchMetadata, updateBranchSchema, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateMigrationRequest, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, upsertRecordWithID, vectorSearchTable };
|
|
8775
|
+
export { AcceptWorkspaceMemberInviteError, AcceptWorkspaceMemberInvitePathParams, AcceptWorkspaceMemberInviteVariables, AddGitBranchesEntryError, AddGitBranchesEntryPathParams, AddGitBranchesEntryRequestBody, AddGitBranchesEntryResponse, AddGitBranchesEntryVariables, AddTableColumnError, AddTableColumnPathParams, AddTableColumnVariables, AggregateTableError, AggregateTablePathParams, AggregateTableRequestBody, AggregateTableVariables, ApiExtraProps, ApplyBranchSchemaEditError, ApplyBranchSchemaEditPathParams, ApplyBranchSchemaEditRequestBody, ApplyBranchSchemaEditVariables, AskOptions, AskResult, AskTableError, AskTablePathParams, AskTableRequestBody, AskTableResponse, AskTableVariables, BaseClient, BaseClientOptions, BaseData, BaseSchema, BranchTransactionError, BranchTransactionPathParams, BranchTransactionRequestBody, BranchTransactionVariables, BulkInsertTableRecordsError, BulkInsertTableRecordsPathParams, BulkInsertTableRecordsQueryParams, BulkInsertTableRecordsRequestBody, BulkInsertTableRecordsVariables, CacheImpl, CancelWorkspaceMemberInviteError, CancelWorkspaceMemberInvitePathParams, CancelWorkspaceMemberInviteVariables, ClientConstructor, ColumnsByValue, CompareBranchSchemasError, CompareBranchSchemasPathParams, CompareBranchSchemasRequestBody, CompareBranchSchemasVariables, CompareBranchWithUserSchemaError, CompareBranchWithUserSchemaPathParams, CompareBranchWithUserSchemaRequestBody, CompareBranchWithUserSchemaVariables, CompareMigrationRequestError, CompareMigrationRequestPathParams, CompareMigrationRequestVariables, CopyBranchError, CopyBranchPathParams, CopyBranchRequestBody, CopyBranchVariables, CreateBranchError, CreateBranchPathParams, CreateBranchQueryParams, CreateBranchRequestBody, CreateBranchResponse, CreateBranchVariables, CreateDatabaseError, CreateDatabasePathParams, CreateDatabaseRequestBody, CreateDatabaseResponse, CreateDatabaseVariables, CreateMigrationRequestError, CreateMigrationRequestPathParams, CreateMigrationRequestRequestBody, CreateMigrationRequestResponse, CreateMigrationRequestVariables, CreateTableError, CreateTablePathParams, CreateTableResponse, CreateTableVariables, CreateUserAPIKeyError, CreateUserAPIKeyPathParams, CreateUserAPIKeyResponse, CreateUserAPIKeyVariables, CreateWorkspaceError, CreateWorkspaceVariables, CursorNavigationOptions, DeleteBranchError, DeleteBranchPathParams, DeleteBranchResponse, DeleteBranchVariables, DeleteColumnError, DeleteColumnPathParams, DeleteColumnVariables, DeleteDatabaseError, DeleteDatabaseGithubSettingsError, DeleteDatabaseGithubSettingsPathParams, DeleteDatabaseGithubSettingsVariables, DeleteDatabasePathParams, DeleteDatabaseResponse, DeleteDatabaseVariables, DeleteFileItemError, DeleteFileItemPathParams, DeleteFileItemVariables, DeleteRecordError, DeleteRecordPathParams, DeleteRecordQueryParams, DeleteRecordVariables, DeleteTableError, DeleteTablePathParams, DeleteTableResponse, DeleteTableVariables, DeleteUserAPIKeyError, DeleteUserAPIKeyPathParams, DeleteUserAPIKeyVariables, DeleteUserError, DeleteUserVariables, DeleteWorkspaceError, DeleteWorkspacePathParams, DeleteWorkspaceVariables, DeserializedType, EditableData, ExecuteBranchMigrationPlanError, ExecuteBranchMigrationPlanPathParams, ExecuteBranchMigrationPlanRequestBody, ExecuteBranchMigrationPlanVariables, FetchImpl, FetcherError, FetcherExtraProps, GetBranchDetailsError, GetBranchDetailsPathParams, GetBranchDetailsVariables, GetBranchListError, GetBranchListPathParams, GetBranchListVariables, GetBranchMetadataError, GetBranchMetadataPathParams, GetBranchMetadataVariables, GetBranchMigrationHistoryError, GetBranchMigrationHistoryPathParams, GetBranchMigrationHistoryRequestBody, GetBranchMigrationHistoryResponse, GetBranchMigrationHistoryVariables, GetBranchMigrationPlanError, GetBranchMigrationPlanPathParams, GetBranchMigrationPlanVariables, GetBranchSchemaHistoryError, GetBranchSchemaHistoryPathParams, GetBranchSchemaHistoryRequestBody, GetBranchSchemaHistoryResponse, GetBranchSchemaHistoryVariables, GetBranchStatsError, GetBranchStatsPathParams, GetBranchStatsResponse, GetBranchStatsVariables, GetColumnError, GetColumnPathParams, GetColumnVariables, GetDatabaseGithubSettingsError, GetDatabaseGithubSettingsPathParams, GetDatabaseGithubSettingsVariables, GetDatabaseListError, GetDatabaseListPathParams, GetDatabaseListVariables, GetDatabaseMetadataError, GetDatabaseMetadataPathParams, GetDatabaseMetadataVariables, GetFileError, GetFileItemError, GetFileItemPathParams, GetFileItemVariables, GetFilePathParams, GetFileVariables, GetGitBranchesMappingError, GetGitBranchesMappingPathParams, GetGitBranchesMappingVariables, GetMigrationRequestError, GetMigrationRequestIsMergedError, GetMigrationRequestIsMergedPathParams, GetMigrationRequestIsMergedResponse, GetMigrationRequestIsMergedVariables, GetMigrationRequestPathParams, GetMigrationRequestVariables, GetRecordError, GetRecordPathParams, GetRecordQueryParams, GetRecordVariables, GetTableColumnsError, GetTableColumnsPathParams, GetTableColumnsResponse, GetTableColumnsVariables, GetTableSchemaError, GetTableSchemaPathParams, GetTableSchemaResponse, GetTableSchemaVariables, GetUserAPIKeysError, GetUserAPIKeysResponse, GetUserAPIKeysVariables, GetUserError, GetUserVariables, GetWorkspaceError, GetWorkspaceMembersListError, GetWorkspaceMembersListPathParams, GetWorkspaceMembersListVariables, GetWorkspacePathParams, GetWorkspaceVariables, GetWorkspacesListError, GetWorkspacesListResponse, GetWorkspacesListVariables, HostProvider, Identifiable, InsertRecordError, InsertRecordPathParams, InsertRecordQueryParams, InsertRecordVariables, InsertRecordWithIDError, InsertRecordWithIDPathParams, InsertRecordWithIDQueryParams, InsertRecordWithIDVariables, InviteWorkspaceMemberError, InviteWorkspaceMemberPathParams, InviteWorkspaceMemberRequestBody, InviteWorkspaceMemberVariables, JSONData, KeywordAskOptions, Link, ListMigrationRequestsCommitsError, ListMigrationRequestsCommitsPathParams, ListMigrationRequestsCommitsRequestBody, ListMigrationRequestsCommitsResponse, ListMigrationRequestsCommitsVariables, ListRegionsError, ListRegionsPathParams, ListRegionsVariables, MergeMigrationRequestError, MergeMigrationRequestPathParams, MergeMigrationRequestVariables, OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, Paginable, PaginationQueryMeta, PreviewBranchSchemaEditError, PreviewBranchSchemaEditPathParams, PreviewBranchSchemaEditRequestBody, PreviewBranchSchemaEditResponse, PreviewBranchSchemaEditVariables, PushBranchMigrationsError, PushBranchMigrationsPathParams, PushBranchMigrationsRequestBody, PushBranchMigrationsVariables, PutFileError, PutFileItemError, PutFileItemPathParams, PutFileItemVariables, PutFilePathParams, PutFileVariables, Query, QueryMigrationRequestsError, QueryMigrationRequestsPathParams, QueryMigrationRequestsRequestBody, QueryMigrationRequestsResponse, QueryMigrationRequestsVariables, QueryTableError, QueryTablePathParams, QueryTableRequestBody, QueryTableVariables, RecordArray, RemoveGitBranchesEntryError, RemoveGitBranchesEntryPathParams, RemoveGitBranchesEntryQueryParams, RemoveGitBranchesEntryVariables, RemoveWorkspaceMemberError, RemoveWorkspaceMemberPathParams, RemoveWorkspaceMemberVariables, RenameDatabaseError, RenameDatabasePathParams, RenameDatabaseRequestBody, RenameDatabaseVariables, Repository, ResendWorkspaceMemberInviteError, ResendWorkspaceMemberInvitePathParams, ResendWorkspaceMemberInviteVariables, ResolveBranchError, ResolveBranchPathParams, ResolveBranchQueryParams, ResolveBranchResponse, ResolveBranchVariables, responses as Responses, RestRepository, SchemaDefinition, SchemaInference, SchemaPlugin, SchemaPluginResult, schemas as Schemas, SearchBranchError, SearchBranchPathParams, SearchBranchRequestBody, SearchBranchVariables, SearchOptions, SearchPlugin, SearchPluginResult, SearchTableError, SearchTablePathParams, SearchTableRequestBody, SearchTableVariables, SearchXataRecord, SelectableColumn, SelectedPick, SerializedString, Serializer, SerializerResult, SetTableSchemaError, SetTableSchemaPathParams, SetTableSchemaRequestBody, SetTableSchemaVariables, SimpleCache, SimpleCacheOptions, SqlQueryError, SqlQueryPathParams, SqlQueryRequestBody, SqlQueryVariables, SummarizeTableError, SummarizeTablePathParams, SummarizeTableRequestBody, SummarizeTableVariables, UpdateBranchMetadataError, UpdateBranchMetadataPathParams, UpdateBranchMetadataVariables, UpdateBranchSchemaError, UpdateBranchSchemaPathParams, UpdateBranchSchemaVariables, UpdateColumnError, UpdateColumnPathParams, UpdateColumnRequestBody, UpdateColumnVariables, UpdateDatabaseGithubSettingsError, UpdateDatabaseGithubSettingsPathParams, UpdateDatabaseGithubSettingsVariables, UpdateDatabaseMetadataError, UpdateDatabaseMetadataPathParams, UpdateDatabaseMetadataRequestBody, UpdateDatabaseMetadataVariables, UpdateMigrationRequestError, UpdateMigrationRequestPathParams, UpdateMigrationRequestRequestBody, UpdateMigrationRequestVariables, UpdateRecordWithIDError, UpdateRecordWithIDPathParams, UpdateRecordWithIDQueryParams, UpdateRecordWithIDVariables, UpdateTableError, UpdateTablePathParams, UpdateTableRequestBody, UpdateTableVariables, UpdateUserError, UpdateUserVariables, UpdateWorkspaceError, UpdateWorkspaceMemberInviteError, UpdateWorkspaceMemberInvitePathParams, UpdateWorkspaceMemberInviteRequestBody, UpdateWorkspaceMemberInviteVariables, UpdateWorkspaceMemberRoleError, UpdateWorkspaceMemberRolePathParams, UpdateWorkspaceMemberRoleRequestBody, UpdateWorkspaceMemberRoleVariables, UpdateWorkspacePathParams, UpdateWorkspaceVariables, UpsertRecordWithIDError, UpsertRecordWithIDPathParams, UpsertRecordWithIDQueryParams, UpsertRecordWithIDVariables, ValueAtColumn, VectorAskOptions, VectorSearchTableError, VectorSearchTablePathParams, VectorSearchTableRequestBody, VectorSearchTableVariables, XataApiClient, XataApiClientOptions, XataApiPlugin, XataError, XataPlugin, XataPluginOptions, XataRecord, acceptWorkspaceMemberInvite, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, askTable, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, buildWorkerRunner, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFileItem, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, ge, getAPIKey, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getWorkspace, getWorkspaceMembersList, getWorkspacesList, greaterEquals, greaterThan, greaterThanEquals, gt, gte, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, updateBranchMetadata, updateBranchSchema, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateMigrationRequest, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, upsertRecordWithID, vectorSearchTable };
|