@xata.io/client 0.29.3 → 0.29.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 +2437 -502
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1014 -23
- package/dist/index.mjs +2431 -503
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -76,6 +76,24 @@ type ApplyMigrationResponse = {
|
|
76
76
|
*/
|
77
77
|
jobID: string;
|
78
78
|
};
|
79
|
+
type StartMigrationResponse = {
|
80
|
+
/**
|
81
|
+
* The id of the migration job
|
82
|
+
*/
|
83
|
+
jobID: string;
|
84
|
+
};
|
85
|
+
type CompleteMigrationResponse = {
|
86
|
+
/**
|
87
|
+
* The id of the migration job
|
88
|
+
*/
|
89
|
+
jobID: string;
|
90
|
+
};
|
91
|
+
type RollbackMigrationResponse = {
|
92
|
+
/**
|
93
|
+
* The id of the migration job
|
94
|
+
*/
|
95
|
+
jobID: string;
|
96
|
+
};
|
79
97
|
/**
|
80
98
|
* @maxLength 255
|
81
99
|
* @minLength 1
|
@@ -84,6 +102,95 @@ type ApplyMigrationResponse = {
|
|
84
102
|
type TableName = string;
|
85
103
|
type MigrationJobType = 'apply' | 'start' | 'complete' | 'rollback';
|
86
104
|
type MigrationJobStatus = 'pending' | 'in_progress' | 'completed' | 'failed';
|
105
|
+
/**
|
106
|
+
* The effect of a migration operation in terms of CRUD operations on the underlying schema
|
107
|
+
*/
|
108
|
+
type MigrationOperationDescription = {
|
109
|
+
/**
|
110
|
+
* A new database object created by the operation
|
111
|
+
*/
|
112
|
+
create?: {
|
113
|
+
/**
|
114
|
+
* The type of object created
|
115
|
+
*/
|
116
|
+
type: 'table' | 'column' | 'index';
|
117
|
+
/**
|
118
|
+
* The name of the object created
|
119
|
+
*/
|
120
|
+
name: string;
|
121
|
+
/**
|
122
|
+
* The name of the table on which the object is created, if applicable
|
123
|
+
*/
|
124
|
+
table?: string;
|
125
|
+
/**
|
126
|
+
* The mapping between the virtual and physical name of the new object, if applicable
|
127
|
+
*/
|
128
|
+
mapping?: Record<string, any>;
|
129
|
+
};
|
130
|
+
/**
|
131
|
+
* A database object updated by the operation
|
132
|
+
*/
|
133
|
+
update?: {
|
134
|
+
/**
|
135
|
+
* The type of updated object
|
136
|
+
*/
|
137
|
+
type: 'table' | 'column';
|
138
|
+
/**
|
139
|
+
* The name of the updated object
|
140
|
+
*/
|
141
|
+
name: string;
|
142
|
+
/**
|
143
|
+
* The name of the table on which the object is updated, if applicable
|
144
|
+
*/
|
145
|
+
table?: string;
|
146
|
+
/**
|
147
|
+
* The mapping between the virtual and physical name of the updated object, if applicable
|
148
|
+
*/
|
149
|
+
mapping?: Record<string, any>;
|
150
|
+
};
|
151
|
+
/**
|
152
|
+
* A database object renamed by the operation
|
153
|
+
*/
|
154
|
+
rename?: {
|
155
|
+
/**
|
156
|
+
* The type of the renamed object
|
157
|
+
*/
|
158
|
+
type: 'table' | 'column' | 'constraint';
|
159
|
+
/**
|
160
|
+
* The name of the table on which the object is renamed, if applicable
|
161
|
+
*/
|
162
|
+
table?: string;
|
163
|
+
/**
|
164
|
+
* The old name of the renamed object
|
165
|
+
*/
|
166
|
+
from: string;
|
167
|
+
/**
|
168
|
+
* The new name of the renamed object
|
169
|
+
*/
|
170
|
+
to: string;
|
171
|
+
};
|
172
|
+
/**
|
173
|
+
* A database object deleted by the operation
|
174
|
+
*/
|
175
|
+
['delete']?: {
|
176
|
+
/**
|
177
|
+
* The type of the deleted object
|
178
|
+
*/
|
179
|
+
type: 'table' | 'column' | 'constraint' | 'index';
|
180
|
+
/**
|
181
|
+
* The name of the deleted object
|
182
|
+
*/
|
183
|
+
name: string;
|
184
|
+
/**
|
185
|
+
* The name of the table on which the object is deleted, if applicable
|
186
|
+
*/
|
187
|
+
table: string;
|
188
|
+
};
|
189
|
+
};
|
190
|
+
/**
|
191
|
+
* @minItems 1
|
192
|
+
*/
|
193
|
+
type MigrationDescription = MigrationOperationDescription[];
|
87
194
|
type MigrationJobStatusResponse = {
|
88
195
|
/**
|
89
196
|
* The id of the migration job
|
@@ -97,6 +204,10 @@ type MigrationJobStatusResponse = {
|
|
97
204
|
* The status of the migration job
|
98
205
|
*/
|
99
206
|
status: MigrationJobStatus;
|
207
|
+
/**
|
208
|
+
* The effect of any active migration on the schema
|
209
|
+
*/
|
210
|
+
description?: MigrationDescription;
|
100
211
|
/**
|
101
212
|
* The error message associated with the migration job
|
102
213
|
*/
|
@@ -142,6 +253,10 @@ type MigrationHistoryResponse = {
|
|
142
253
|
* The migrations that have been applied to the branch
|
143
254
|
*/
|
144
255
|
migrations: MigrationHistoryItem[];
|
256
|
+
/**
|
257
|
+
* The cursor (timestamp) for the next page of results
|
258
|
+
*/
|
259
|
+
cursor?: string;
|
145
260
|
};
|
146
261
|
/**
|
147
262
|
* @maxLength 255
|
@@ -160,7 +275,6 @@ type Branch = {
|
|
160
275
|
* The cluster where this branch resides. Value of 'shared-cluster' for branches in shared clusters
|
161
276
|
*
|
162
277
|
* @minLength 1
|
163
|
-
* @x-internal true
|
164
278
|
*/
|
165
279
|
clusterID?: string;
|
166
280
|
createdAt: DateTime$1;
|
@@ -214,7 +328,7 @@ type ColumnFile = {
|
|
214
328
|
};
|
215
329
|
type Column = {
|
216
330
|
name: string;
|
217
|
-
type:
|
331
|
+
type: string;
|
218
332
|
link?: ColumnLink;
|
219
333
|
vector?: ColumnVector;
|
220
334
|
file?: ColumnFile;
|
@@ -1494,6 +1608,14 @@ type SQLRecord = {
|
|
1494
1608
|
type XataRecord$1 = RecordMeta & {
|
1495
1609
|
[key: string]: any;
|
1496
1610
|
};
|
1611
|
+
/**
|
1612
|
+
* Page size.
|
1613
|
+
*
|
1614
|
+
* @x-internal true
|
1615
|
+
* @default 25
|
1616
|
+
* @minimum 0
|
1617
|
+
*/
|
1618
|
+
type PaginationPageSize = number;
|
1497
1619
|
|
1498
1620
|
/**
|
1499
1621
|
* Generated by @openapi-codegen
|
@@ -1606,6 +1728,24 @@ type SQLResponse = {
|
|
1606
1728
|
total?: number;
|
1607
1729
|
warning?: string;
|
1608
1730
|
};
|
1731
|
+
type SQLBatchResponse = {
|
1732
|
+
results: {
|
1733
|
+
records?: SQLRecord[];
|
1734
|
+
rows?: any[][];
|
1735
|
+
/**
|
1736
|
+
* Name of the column and its PostgreSQL type
|
1737
|
+
*/
|
1738
|
+
columns?: {
|
1739
|
+
name?: string;
|
1740
|
+
type?: string;
|
1741
|
+
}[];
|
1742
|
+
/**
|
1743
|
+
* Number of selected columns
|
1744
|
+
*/
|
1745
|
+
total?: number;
|
1746
|
+
warning?: string;
|
1747
|
+
}[];
|
1748
|
+
};
|
1609
1749
|
|
1610
1750
|
/**
|
1611
1751
|
* Generated by @openapi-codegen
|
@@ -1702,6 +1842,7 @@ type Workspace = WorkspaceMeta & {
|
|
1702
1842
|
};
|
1703
1843
|
type WorkspaceSettings = {
|
1704
1844
|
postgresEnabled: boolean;
|
1845
|
+
dedicatedClusters: boolean;
|
1705
1846
|
};
|
1706
1847
|
type WorkspaceMember = {
|
1707
1848
|
userId: UserID;
|
@@ -1866,6 +2007,13 @@ type ClusterConfiguration = {
|
|
1866
2007
|
* @format int64
|
1867
2008
|
*/
|
1868
2009
|
replicas?: number;
|
2010
|
+
/**
|
2011
|
+
* @format int64
|
2012
|
+
* @default 1
|
2013
|
+
* @maximum 3
|
2014
|
+
* @minimum 1
|
2015
|
+
*/
|
2016
|
+
instanceCount?: number;
|
1869
2017
|
/**
|
1870
2018
|
* @default false
|
1871
2019
|
*/
|
@@ -1884,7 +2032,7 @@ type ClusterCreateDetails = {
|
|
1884
2032
|
/**
|
1885
2033
|
* @maxLength 63
|
1886
2034
|
* @minLength 1
|
1887
|
-
* @pattern [a-
|
2035
|
+
* @pattern [a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
|
1888
2036
|
*/
|
1889
2037
|
name: string;
|
1890
2038
|
configuration: ClusterConfiguration;
|
@@ -1936,6 +2084,10 @@ type ClusterConfigurationResponse = {
|
|
1936
2084
|
* @format int64
|
1937
2085
|
*/
|
1938
2086
|
replicas: number;
|
2087
|
+
/**
|
2088
|
+
* @format int64
|
2089
|
+
*/
|
2090
|
+
instanceCount: number;
|
1939
2091
|
/**
|
1940
2092
|
* @default false
|
1941
2093
|
*/
|
@@ -1957,6 +2109,19 @@ type ClusterMetadata = {
|
|
1957
2109
|
branches: number;
|
1958
2110
|
configuration: ClusterConfigurationResponse;
|
1959
2111
|
};
|
2112
|
+
/**
|
2113
|
+
* @x-internal true
|
2114
|
+
*/
|
2115
|
+
type ClusterDeleteMetadata = {
|
2116
|
+
id: ClusterID;
|
2117
|
+
state: string;
|
2118
|
+
region: string;
|
2119
|
+
name: string;
|
2120
|
+
/**
|
2121
|
+
* @format int64
|
2122
|
+
*/
|
2123
|
+
branches: number;
|
2124
|
+
};
|
1960
2125
|
/**
|
1961
2126
|
* @x-internal true
|
1962
2127
|
*/
|
@@ -1994,7 +2159,7 @@ type DatabaseMetadata = {
|
|
1994
2159
|
*/
|
1995
2160
|
newMigrations?: boolean;
|
1996
2161
|
/**
|
1997
|
-
*
|
2162
|
+
* The default cluster ID where branches from this database reside. Value of 'shared-cluster' for branches in shared clusters.
|
1998
2163
|
*/
|
1999
2164
|
defaultClusterID?: string;
|
2000
2165
|
/**
|
@@ -2955,6 +3120,30 @@ type UpdateClusterVariables = {
|
|
2955
3120
|
* Update cluster for given cluster ID
|
2956
3121
|
*/
|
2957
3122
|
declare const updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal) => Promise<ClusterUpdateMetadata>;
|
3123
|
+
type DeleteClusterPathParams = {
|
3124
|
+
/**
|
3125
|
+
* Workspace ID
|
3126
|
+
*/
|
3127
|
+
workspaceId: WorkspaceID;
|
3128
|
+
/**
|
3129
|
+
* Cluster ID
|
3130
|
+
*/
|
3131
|
+
clusterId: ClusterID;
|
3132
|
+
};
|
3133
|
+
type DeleteClusterError = ErrorWrapper$1<{
|
3134
|
+
status: 400;
|
3135
|
+
payload: BadRequestError;
|
3136
|
+
} | {
|
3137
|
+
status: 401;
|
3138
|
+
payload: AuthError;
|
3139
|
+
}>;
|
3140
|
+
type DeleteClusterVariables = {
|
3141
|
+
pathParams: DeleteClusterPathParams;
|
3142
|
+
} & ControlPlaneFetcherExtraProps;
|
3143
|
+
/**
|
3144
|
+
* Delete cluster with given cluster ID
|
3145
|
+
*/
|
3146
|
+
declare const deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal) => Promise<ClusterDeleteMetadata>;
|
2958
3147
|
type GetDatabaseListPathParams = {
|
2959
3148
|
/**
|
2960
3149
|
* Workspace ID
|
@@ -3339,6 +3528,92 @@ type ApplyMigrationVariables = {
|
|
3339
3528
|
* Applies a pgroll migration to the specified database.
|
3340
3529
|
*/
|
3341
3530
|
declare const applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3531
|
+
type StartMigrationPathParams = {
|
3532
|
+
/**
|
3533
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3534
|
+
*/
|
3535
|
+
dbBranchName: DBBranchName;
|
3536
|
+
workspace: string;
|
3537
|
+
region: string;
|
3538
|
+
};
|
3539
|
+
type StartMigrationError = ErrorWrapper<{
|
3540
|
+
status: 400;
|
3541
|
+
payload: BadRequestError$1;
|
3542
|
+
} | {
|
3543
|
+
status: 401;
|
3544
|
+
payload: AuthError$1;
|
3545
|
+
} | {
|
3546
|
+
status: 404;
|
3547
|
+
payload: SimpleError$1;
|
3548
|
+
}>;
|
3549
|
+
type StartMigrationRequestBody = {
|
3550
|
+
/**
|
3551
|
+
* Migration name
|
3552
|
+
*/
|
3553
|
+
name?: string;
|
3554
|
+
operations: {
|
3555
|
+
[key: string]: any;
|
3556
|
+
}[];
|
3557
|
+
adaptTables?: boolean;
|
3558
|
+
};
|
3559
|
+
type StartMigrationVariables = {
|
3560
|
+
body: StartMigrationRequestBody;
|
3561
|
+
pathParams: StartMigrationPathParams;
|
3562
|
+
} & DataPlaneFetcherExtraProps;
|
3563
|
+
/**
|
3564
|
+
* Starts a pgroll migration on the specified database.
|
3565
|
+
*/
|
3566
|
+
declare const startMigration: (variables: StartMigrationVariables, signal?: AbortSignal) => Promise<StartMigrationResponse>;
|
3567
|
+
type CompleteMigrationPathParams = {
|
3568
|
+
/**
|
3569
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3570
|
+
*/
|
3571
|
+
dbBranchName: DBBranchName;
|
3572
|
+
workspace: string;
|
3573
|
+
region: string;
|
3574
|
+
};
|
3575
|
+
type CompleteMigrationError = ErrorWrapper<{
|
3576
|
+
status: 400;
|
3577
|
+
payload: BadRequestError$1;
|
3578
|
+
} | {
|
3579
|
+
status: 401;
|
3580
|
+
payload: AuthError$1;
|
3581
|
+
} | {
|
3582
|
+
status: 404;
|
3583
|
+
payload: SimpleError$1;
|
3584
|
+
}>;
|
3585
|
+
type CompleteMigrationVariables = {
|
3586
|
+
pathParams: CompleteMigrationPathParams;
|
3587
|
+
} & DataPlaneFetcherExtraProps;
|
3588
|
+
/**
|
3589
|
+
* Complete an active migration on the specified database
|
3590
|
+
*/
|
3591
|
+
declare const completeMigration: (variables: CompleteMigrationVariables, signal?: AbortSignal) => Promise<CompleteMigrationResponse>;
|
3592
|
+
type RollbackMigrationPathParams = {
|
3593
|
+
/**
|
3594
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3595
|
+
*/
|
3596
|
+
dbBranchName: DBBranchName;
|
3597
|
+
workspace: string;
|
3598
|
+
region: string;
|
3599
|
+
};
|
3600
|
+
type RollbackMigrationError = ErrorWrapper<{
|
3601
|
+
status: 400;
|
3602
|
+
payload: BadRequestError$1;
|
3603
|
+
} | {
|
3604
|
+
status: 401;
|
3605
|
+
payload: AuthError$1;
|
3606
|
+
} | {
|
3607
|
+
status: 404;
|
3608
|
+
payload: SimpleError$1;
|
3609
|
+
}>;
|
3610
|
+
type RollbackMigrationVariables = {
|
3611
|
+
pathParams: RollbackMigrationPathParams;
|
3612
|
+
} & DataPlaneFetcherExtraProps;
|
3613
|
+
/**
|
3614
|
+
* Roll back an active migration on the specified database
|
3615
|
+
*/
|
3616
|
+
declare const rollbackMigration: (variables: RollbackMigrationVariables, signal?: AbortSignal) => Promise<RollbackMigrationResponse>;
|
3342
3617
|
type AdaptTablePathParams = {
|
3343
3618
|
/**
|
3344
3619
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3368,6 +3643,31 @@ type AdaptTableVariables = {
|
|
3368
3643
|
* Adapt a table to be used from Xata, this will add the Xata metadata fields to the table, making it accessible through the data API.
|
3369
3644
|
*/
|
3370
3645
|
declare const adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3646
|
+
type AdaptAllTablesPathParams = {
|
3647
|
+
/**
|
3648
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
3649
|
+
*/
|
3650
|
+
dbBranchName: DBBranchName;
|
3651
|
+
workspace: string;
|
3652
|
+
region: string;
|
3653
|
+
};
|
3654
|
+
type AdaptAllTablesError = ErrorWrapper<{
|
3655
|
+
status: 400;
|
3656
|
+
payload: BadRequestError$1;
|
3657
|
+
} | {
|
3658
|
+
status: 401;
|
3659
|
+
payload: AuthError$1;
|
3660
|
+
} | {
|
3661
|
+
status: 404;
|
3662
|
+
payload: SimpleError$1;
|
3663
|
+
}>;
|
3664
|
+
type AdaptAllTablesVariables = {
|
3665
|
+
pathParams: AdaptAllTablesPathParams;
|
3666
|
+
} & DataPlaneFetcherExtraProps;
|
3667
|
+
/**
|
3668
|
+
* Adapt all xata incompatible tables present in the branch, this will add the Xata metadata fields to the table, making them accessible through the data API.
|
3669
|
+
*/
|
3670
|
+
declare const adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
3371
3671
|
type GetBranchMigrationJobStatusPathParams = {
|
3372
3672
|
/**
|
3373
3673
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3424,6 +3724,16 @@ type GetMigrationHistoryPathParams = {
|
|
3424
3724
|
workspace: string;
|
3425
3725
|
region: string;
|
3426
3726
|
};
|
3727
|
+
type GetMigrationHistoryQueryParams = {
|
3728
|
+
/**
|
3729
|
+
* @format date-time
|
3730
|
+
*/
|
3731
|
+
cursor?: string;
|
3732
|
+
/**
|
3733
|
+
* Page size
|
3734
|
+
*/
|
3735
|
+
limit?: PaginationPageSize;
|
3736
|
+
};
|
3427
3737
|
type GetMigrationHistoryError = ErrorWrapper<{
|
3428
3738
|
status: 400;
|
3429
3739
|
payload: BadRequestError$1;
|
@@ -3436,6 +3746,7 @@ type GetMigrationHistoryError = ErrorWrapper<{
|
|
3436
3746
|
}>;
|
3437
3747
|
type GetMigrationHistoryVariables = {
|
3438
3748
|
pathParams: GetMigrationHistoryPathParams;
|
3749
|
+
queryParams?: GetMigrationHistoryQueryParams;
|
3439
3750
|
} & DataPlaneFetcherExtraProps;
|
3440
3751
|
declare const getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal) => Promise<MigrationHistoryResponse>;
|
3441
3752
|
type GetBranchListPathParams = {
|
@@ -6886,6 +7197,64 @@ type SqlQueryVariables = {
|
|
6886
7197
|
* Run an SQL query across the database branch.
|
6887
7198
|
*/
|
6888
7199
|
declare const sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse>;
|
7200
|
+
type SqlBatchQueryPathParams = {
|
7201
|
+
/**
|
7202
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
7203
|
+
*/
|
7204
|
+
dbBranchName: DBBranchName;
|
7205
|
+
workspace: string;
|
7206
|
+
region: string;
|
7207
|
+
};
|
7208
|
+
type SqlBatchQueryError = ErrorWrapper<{
|
7209
|
+
status: 400;
|
7210
|
+
payload: BadRequestError$1;
|
7211
|
+
} | {
|
7212
|
+
status: 401;
|
7213
|
+
payload: AuthError$1;
|
7214
|
+
} | {
|
7215
|
+
status: 404;
|
7216
|
+
payload: SimpleError$1;
|
7217
|
+
} | {
|
7218
|
+
status: 503;
|
7219
|
+
payload: ServiceUnavailableError;
|
7220
|
+
}>;
|
7221
|
+
type SqlBatchQueryRequestBody = {
|
7222
|
+
/**
|
7223
|
+
* The SQL statements.
|
7224
|
+
*/
|
7225
|
+
statements: {
|
7226
|
+
/**
|
7227
|
+
* The SQL statement.
|
7228
|
+
*
|
7229
|
+
* @minLength 1
|
7230
|
+
*/
|
7231
|
+
statement?: string;
|
7232
|
+
/**
|
7233
|
+
* The query parameter list.
|
7234
|
+
*/
|
7235
|
+
params?: any[] | null;
|
7236
|
+
}[];
|
7237
|
+
/**
|
7238
|
+
* The consistency level for this request.
|
7239
|
+
*
|
7240
|
+
* @default strong
|
7241
|
+
*/
|
7242
|
+
consistency?: 'strong' | 'eventual';
|
7243
|
+
/**
|
7244
|
+
* The response type.
|
7245
|
+
*
|
7246
|
+
* @default json
|
7247
|
+
*/
|
7248
|
+
responseType?: 'json' | 'array';
|
7249
|
+
};
|
7250
|
+
type SqlBatchQueryVariables = {
|
7251
|
+
body: SqlBatchQueryRequestBody;
|
7252
|
+
pathParams: SqlBatchQueryPathParams;
|
7253
|
+
} & DataPlaneFetcherExtraProps;
|
7254
|
+
/**
|
7255
|
+
* Run multiple SQL queries across the database branch.
|
7256
|
+
*/
|
7257
|
+
declare const sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortSignal) => Promise<SQLBatchResponse>;
|
6889
7258
|
|
6890
7259
|
declare const operationsByTag: {
|
6891
7260
|
branch: {
|
@@ -6914,9 +7283,25 @@ declare const operationsByTag: {
|
|
6914
7283
|
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6915
7284
|
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal | undefined) => Promise<undefined>;
|
6916
7285
|
};
|
7286
|
+
table: {
|
7287
|
+
createTable: (variables: CreateTableVariables, signal?: AbortSignal | undefined) => Promise<CreateTableResponse>;
|
7288
|
+
deleteTable: (variables: DeleteTableVariables, signal?: AbortSignal | undefined) => Promise<DeleteTableResponse>;
|
7289
|
+
updateTable: (variables: UpdateTableVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7290
|
+
getTableSchema: (variables: GetTableSchemaVariables, signal?: AbortSignal | undefined) => Promise<GetTableSchemaResponse>;
|
7291
|
+
setTableSchema: (variables: SetTableSchemaVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7292
|
+
getTableColumns: (variables: GetTableColumnsVariables, signal?: AbortSignal | undefined) => Promise<GetTableColumnsResponse>;
|
7293
|
+
addTableColumn: (variables: AddTableColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7294
|
+
getColumn: (variables: GetColumnVariables, signal?: AbortSignal | undefined) => Promise<Column>;
|
7295
|
+
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7296
|
+
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7297
|
+
};
|
6917
7298
|
migrations: {
|
6918
7299
|
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
7300
|
+
startMigration: (variables: StartMigrationVariables, signal?: AbortSignal | undefined) => Promise<StartMigrationResponse>;
|
7301
|
+
completeMigration: (variables: CompleteMigrationVariables, signal?: AbortSignal | undefined) => Promise<CompleteMigrationResponse>;
|
7302
|
+
rollbackMigration: (variables: RollbackMigrationVariables, signal?: AbortSignal | undefined) => Promise<RollbackMigrationResponse>;
|
6919
7303
|
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
7304
|
+
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
|
6920
7305
|
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6921
7306
|
getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
|
6922
7307
|
getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal | undefined) => Promise<MigrationHistoryResponse>;
|
@@ -6956,18 +7341,6 @@ declare const operationsByTag: {
|
|
6956
7341
|
getMigrationRequestIsMerged: (variables: GetMigrationRequestIsMergedVariables, signal?: AbortSignal | undefined) => Promise<GetMigrationRequestIsMergedResponse>;
|
6957
7342
|
mergeMigrationRequest: (variables: MergeMigrationRequestVariables, signal?: AbortSignal | undefined) => Promise<BranchOp>;
|
6958
7343
|
};
|
6959
|
-
table: {
|
6960
|
-
createTable: (variables: CreateTableVariables, signal?: AbortSignal | undefined) => Promise<CreateTableResponse>;
|
6961
|
-
deleteTable: (variables: DeleteTableVariables, signal?: AbortSignal | undefined) => Promise<DeleteTableResponse>;
|
6962
|
-
updateTable: (variables: UpdateTableVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
6963
|
-
getTableSchema: (variables: GetTableSchemaVariables, signal?: AbortSignal | undefined) => Promise<GetTableSchemaResponse>;
|
6964
|
-
setTableSchema: (variables: SetTableSchemaVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
6965
|
-
getTableColumns: (variables: GetTableColumnsVariables, signal?: AbortSignal | undefined) => Promise<GetTableColumnsResponse>;
|
6966
|
-
addTableColumn: (variables: AddTableColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
6967
|
-
getColumn: (variables: GetColumnVariables, signal?: AbortSignal | undefined) => Promise<Column>;
|
6968
|
-
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
6969
|
-
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
6970
|
-
};
|
6971
7344
|
files: {
|
6972
7345
|
getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal | undefined) => Promise<Blob>;
|
6973
7346
|
putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal | undefined) => Promise<FileResponse>;
|
@@ -6990,6 +7363,7 @@ declare const operationsByTag: {
|
|
6990
7363
|
};
|
6991
7364
|
sql: {
|
6992
7365
|
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal | undefined) => Promise<SQLResponse>;
|
7366
|
+
sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortSignal | undefined) => Promise<SQLBatchResponse>;
|
6993
7367
|
};
|
6994
7368
|
oAuth: {
|
6995
7369
|
getAuthorizationCode: (variables: GetAuthorizationCodeVariables, signal?: AbortSignal | undefined) => Promise<AuthorizationCodeResponse>;
|
@@ -7022,6 +7396,7 @@ declare const operationsByTag: {
|
|
7022
7396
|
createCluster: (variables: CreateClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterResponse>;
|
7023
7397
|
getCluster: (variables: GetClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterMetadata>;
|
7024
7398
|
updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterUpdateMetadata>;
|
7399
|
+
deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterDeleteMetadata>;
|
7025
7400
|
};
|
7026
7401
|
databases: {
|
7027
7402
|
getDatabaseList: (variables: GetDatabaseListVariables, signal?: AbortSignal | undefined) => Promise<ListDatabasesResponse>;
|
@@ -7065,6 +7440,7 @@ type responses_QueryResponse = QueryResponse;
|
|
7065
7440
|
type responses_RateLimitError = RateLimitError;
|
7066
7441
|
type responses_RecordResponse = RecordResponse;
|
7067
7442
|
type responses_RecordUpdateResponse = RecordUpdateResponse;
|
7443
|
+
type responses_SQLBatchResponse = SQLBatchResponse;
|
7068
7444
|
type responses_SQLResponse = SQLResponse;
|
7069
7445
|
type responses_SchemaCompareResponse = SchemaCompareResponse;
|
7070
7446
|
type responses_SchemaUpdateResponse = SchemaUpdateResponse;
|
@@ -7072,7 +7448,7 @@ type responses_SearchResponse = SearchResponse;
|
|
7072
7448
|
type responses_ServiceUnavailableError = ServiceUnavailableError;
|
7073
7449
|
type responses_SummarizeResponse = SummarizeResponse;
|
7074
7450
|
declare namespace responses {
|
7075
|
-
export type { responses_AggResponse as AggResponse, AuthError$1 as AuthError, BadRequestError$1 as BadRequestError, responses_BranchMigrationPlan as BranchMigrationPlan, responses_BulkError as BulkError, responses_BulkInsertResponse as BulkInsertResponse, responses_PutFileResponse as PutFileResponse, responses_QueryResponse as QueryResponse, responses_RateLimitError as RateLimitError, responses_RecordResponse as RecordResponse, responses_RecordUpdateResponse as RecordUpdateResponse, responses_SQLResponse as SQLResponse, responses_SchemaCompareResponse as SchemaCompareResponse, responses_SchemaUpdateResponse as SchemaUpdateResponse, responses_SearchResponse as SearchResponse, responses_ServiceUnavailableError as ServiceUnavailableError, SimpleError$1 as SimpleError, responses_SummarizeResponse as SummarizeResponse };
|
7451
|
+
export type { responses_AggResponse as AggResponse, AuthError$1 as AuthError, BadRequestError$1 as BadRequestError, responses_BranchMigrationPlan as BranchMigrationPlan, responses_BulkError as BulkError, responses_BulkInsertResponse as BulkInsertResponse, responses_PutFileResponse as PutFileResponse, responses_QueryResponse as QueryResponse, responses_RateLimitError as RateLimitError, responses_RecordResponse as RecordResponse, responses_RecordUpdateResponse as RecordUpdateResponse, responses_SQLBatchResponse as SQLBatchResponse, responses_SQLResponse as SQLResponse, responses_SchemaCompareResponse as SchemaCompareResponse, responses_SchemaUpdateResponse as SchemaUpdateResponse, responses_SearchResponse as SearchResponse, responses_ServiceUnavailableError as ServiceUnavailableError, SimpleError$1 as SimpleError, responses_SummarizeResponse as SummarizeResponse };
|
7076
7452
|
}
|
7077
7453
|
|
7078
7454
|
type schemas_APIKeyName = APIKeyName;
|
@@ -7094,6 +7470,7 @@ type schemas_BranchWithCopyID = BranchWithCopyID;
|
|
7094
7470
|
type schemas_ClusterConfiguration = ClusterConfiguration;
|
7095
7471
|
type schemas_ClusterConfigurationResponse = ClusterConfigurationResponse;
|
7096
7472
|
type schemas_ClusterCreateDetails = ClusterCreateDetails;
|
7473
|
+
type schemas_ClusterDeleteMetadata = ClusterDeleteMetadata;
|
7097
7474
|
type schemas_ClusterID = ClusterID;
|
7098
7475
|
type schemas_ClusterMetadata = ClusterMetadata;
|
7099
7476
|
type schemas_ClusterResponse = ClusterResponse;
|
@@ -7111,6 +7488,7 @@ type schemas_ColumnOpRename = ColumnOpRename;
|
|
7111
7488
|
type schemas_ColumnVector = ColumnVector;
|
7112
7489
|
type schemas_ColumnsProjection = ColumnsProjection;
|
7113
7490
|
type schemas_Commit = Commit;
|
7491
|
+
type schemas_CompleteMigrationResponse = CompleteMigrationResponse;
|
7114
7492
|
type schemas_CountAgg = CountAgg;
|
7115
7493
|
type schemas_DBBranch = DBBranch;
|
7116
7494
|
type schemas_DBBranchName = DBBranchName;
|
@@ -7154,6 +7532,7 @@ type schemas_MetricsDatapoint = MetricsDatapoint;
|
|
7154
7532
|
type schemas_MetricsLatency = MetricsLatency;
|
7155
7533
|
type schemas_Migration = Migration;
|
7156
7534
|
type schemas_MigrationColumnOp = MigrationColumnOp;
|
7535
|
+
type schemas_MigrationDescription = MigrationDescription;
|
7157
7536
|
type schemas_MigrationHistoryItem = MigrationHistoryItem;
|
7158
7537
|
type schemas_MigrationHistoryResponse = MigrationHistoryResponse;
|
7159
7538
|
type schemas_MigrationJobID = MigrationJobID;
|
@@ -7162,6 +7541,7 @@ type schemas_MigrationJobStatusResponse = MigrationJobStatusResponse;
|
|
7162
7541
|
type schemas_MigrationJobType = MigrationJobType;
|
7163
7542
|
type schemas_MigrationObject = MigrationObject;
|
7164
7543
|
type schemas_MigrationOp = MigrationOp;
|
7544
|
+
type schemas_MigrationOperationDescription = MigrationOperationDescription;
|
7165
7545
|
type schemas_MigrationRequest = MigrationRequest;
|
7166
7546
|
type schemas_MigrationRequestNumber = MigrationRequestNumber;
|
7167
7547
|
type schemas_MigrationTableOp = MigrationTableOp;
|
@@ -7178,6 +7558,7 @@ type schemas_PageConfig = PageConfig;
|
|
7178
7558
|
type schemas_PageResponse = PageResponse;
|
7179
7559
|
type schemas_PageSize = PageSize;
|
7180
7560
|
type schemas_PageToken = PageToken;
|
7561
|
+
type schemas_PaginationPageSize = PaginationPageSize;
|
7181
7562
|
type schemas_PercentilesAgg = PercentilesAgg;
|
7182
7563
|
type schemas_PrefixExpression = PrefixExpression;
|
7183
7564
|
type schemas_ProjectionConfig = ProjectionConfig;
|
@@ -7188,12 +7569,14 @@ type schemas_RecordsMetadata = RecordsMetadata;
|
|
7188
7569
|
type schemas_Region = Region;
|
7189
7570
|
type schemas_RevLink = RevLink;
|
7190
7571
|
type schemas_Role = Role;
|
7572
|
+
type schemas_RollbackMigrationResponse = RollbackMigrationResponse;
|
7191
7573
|
type schemas_SQLRecord = SQLRecord;
|
7192
7574
|
type schemas_Schema = Schema;
|
7193
7575
|
type schemas_SchemaEditScript = SchemaEditScript;
|
7194
7576
|
type schemas_SearchPageConfig = SearchPageConfig;
|
7195
7577
|
type schemas_SortExpression = SortExpression;
|
7196
7578
|
type schemas_SortOrder = SortOrder;
|
7579
|
+
type schemas_StartMigrationResponse = StartMigrationResponse;
|
7197
7580
|
type schemas_StartedFromMetadata = StartedFromMetadata;
|
7198
7581
|
type schemas_SumAgg = SumAgg;
|
7199
7582
|
type schemas_SummaryExpression = SummaryExpression;
|
@@ -7233,7 +7616,7 @@ type schemas_WorkspaceMeta = WorkspaceMeta;
|
|
7233
7616
|
type schemas_WorkspacePlan = WorkspacePlan;
|
7234
7617
|
type schemas_WorkspaceSettings = WorkspaceSettings;
|
7235
7618
|
declare namespace schemas {
|
7236
|
-
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterID as ClusterID, schemas_ClusterMetadata as ClusterMetadata, schemas_ClusterResponse as ClusterResponse, schemas_ClusterShortMetadata as ClusterShortMetadata, schemas_ClusterUpdateDetails as ClusterUpdateDetails, schemas_ClusterUpdateMetadata as ClusterUpdateMetadata, schemas_Column as Column, schemas_ColumnFile as ColumnFile, schemas_ColumnLink as ColumnLink, schemas_ColumnMigration as ColumnMigration, schemas_ColumnName as ColumnName, schemas_ColumnOpAdd as ColumnOpAdd, schemas_ColumnOpRemove as ColumnOpRemove, schemas_ColumnOpRename as ColumnOpRename, schemas_ColumnVector as ColumnVector, schemas_ColumnsProjection as ColumnsProjection, schemas_Commit as Commit, schemas_CountAgg as CountAgg, schemas_DBBranch as DBBranch, schemas_DBBranchName as DBBranchName, DBName$1 as DBName, schemas_DailyTimeWindow as DailyTimeWindow, schemas_DataInputRecord as DataInputRecord, schemas_DatabaseGithubSettings as DatabaseGithubSettings, schemas_DatabaseMetadata as DatabaseMetadata, schemas_DatabaseSettings as DatabaseSettings, DateBooster$1 as DateBooster, schemas_DateHistogramAgg as DateHistogramAgg, DateTime$1 as DateTime, schemas_FileAccessID as FileAccessID, schemas_FileItemID as FileItemID, schemas_FileName as FileName, schemas_FileResponse as FileResponse, schemas_FileSignature as FileSignature, schemas_FilterColumn as FilterColumn, schemas_FilterColumnIncludes as FilterColumnIncludes, schemas_FilterExpression as FilterExpression, schemas_FilterList as FilterList, schemas_FilterPredicate as FilterPredicate, schemas_FilterPredicateOp as FilterPredicateOp, schemas_FilterPredicateRangeOp as FilterPredicateRangeOp, schemas_FilterRangeValue as FilterRangeValue, schemas_FilterValue as FilterValue, schemas_FuzzinessExpression as FuzzinessExpression, schemas_HighlightExpression as HighlightExpression, schemas_InputFile as InputFile, schemas_InputFileArray as InputFileArray, schemas_InputFileEntry as InputFileEntry, schemas_InviteID as InviteID, schemas_InviteKey as InviteKey, schemas_ListBranchesResponse as ListBranchesResponse, schemas_ListClustersResponse as ListClustersResponse, schemas_ListDatabasesResponse as ListDatabasesResponse, schemas_ListGitBranchesResponse as ListGitBranchesResponse, schemas_ListRegionsResponse as ListRegionsResponse, schemas_MaintenanceConfig as MaintenanceConfig, schemas_MaintenanceConfigResponse as MaintenanceConfigResponse, schemas_MaxAgg as MaxAgg, schemas_MediaType as MediaType, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_Migration as Migration, schemas_MigrationColumnOp as MigrationColumnOp, schemas_MigrationHistoryItem as MigrationHistoryItem, schemas_MigrationHistoryResponse as MigrationHistoryResponse, schemas_MigrationJobID as MigrationJobID, schemas_MigrationJobStatus as MigrationJobStatus, schemas_MigrationJobStatusResponse as MigrationJobStatusResponse, schemas_MigrationJobType as MigrationJobType, schemas_MigrationObject as MigrationObject, schemas_MigrationOp as MigrationOp, schemas_MigrationRequest as MigrationRequest, schemas_MigrationRequestNumber as MigrationRequestNumber, MigrationStatus$1 as MigrationStatus, schemas_MigrationTableOp as MigrationTableOp, schemas_MigrationType as MigrationType, schemas_MinAgg as MinAgg, NumericBooster$1 as NumericBooster, schemas_NumericHistogramAgg as NumericHistogramAgg, schemas_OAuthAccessToken as OAuthAccessToken, schemas_OAuthClientID as OAuthClientID, schemas_OAuthClientPublicDetails as OAuthClientPublicDetails, schemas_OAuthResponseType as OAuthResponseType, schemas_OAuthScope as OAuthScope, schemas_ObjectValue as ObjectValue, schemas_PageConfig as PageConfig, schemas_PageResponse as PageResponse, schemas_PageSize as PageSize, schemas_PageToken as PageToken, schemas_PercentilesAgg as PercentilesAgg, schemas_PrefixExpression as PrefixExpression, schemas_ProjectionConfig as ProjectionConfig, schemas_QueryColumnsProjection as QueryColumnsProjection, schemas_RecordID as RecordID, schemas_RecordMeta as RecordMeta, schemas_RecordsMetadata as RecordsMetadata, schemas_Region as Region, schemas_RevLink as RevLink, schemas_Role as Role, schemas_SQLRecord as SQLRecord, schemas_Schema as Schema, schemas_SchemaEditScript as SchemaEditScript, schemas_SearchPageConfig as SearchPageConfig, schemas_SortExpression as SortExpression, schemas_SortOrder as SortOrder, schemas_StartedFromMetadata as StartedFromMetadata, schemas_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, schemas_WorkspaceSettings as WorkspaceSettings, XataRecord$1 as XataRecord };
|
7619
|
+
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterDeleteMetadata as ClusterDeleteMetadata, schemas_ClusterID as ClusterID, schemas_ClusterMetadata as ClusterMetadata, schemas_ClusterResponse as ClusterResponse, schemas_ClusterShortMetadata as ClusterShortMetadata, schemas_ClusterUpdateDetails as ClusterUpdateDetails, schemas_ClusterUpdateMetadata as ClusterUpdateMetadata, schemas_Column as Column, schemas_ColumnFile as ColumnFile, schemas_ColumnLink as ColumnLink, schemas_ColumnMigration as ColumnMigration, schemas_ColumnName as ColumnName, schemas_ColumnOpAdd as ColumnOpAdd, schemas_ColumnOpRemove as ColumnOpRemove, schemas_ColumnOpRename as ColumnOpRename, schemas_ColumnVector as ColumnVector, schemas_ColumnsProjection as ColumnsProjection, schemas_Commit as Commit, schemas_CompleteMigrationResponse as CompleteMigrationResponse, schemas_CountAgg as CountAgg, schemas_DBBranch as DBBranch, schemas_DBBranchName as DBBranchName, DBName$1 as DBName, schemas_DailyTimeWindow as DailyTimeWindow, schemas_DataInputRecord as DataInputRecord, schemas_DatabaseGithubSettings as DatabaseGithubSettings, schemas_DatabaseMetadata as DatabaseMetadata, schemas_DatabaseSettings as DatabaseSettings, DateBooster$1 as DateBooster, schemas_DateHistogramAgg as DateHistogramAgg, DateTime$1 as DateTime, schemas_FileAccessID as FileAccessID, schemas_FileItemID as FileItemID, schemas_FileName as FileName, schemas_FileResponse as FileResponse, schemas_FileSignature as FileSignature, schemas_FilterColumn as FilterColumn, schemas_FilterColumnIncludes as FilterColumnIncludes, schemas_FilterExpression as FilterExpression, schemas_FilterList as FilterList, schemas_FilterPredicate as FilterPredicate, schemas_FilterPredicateOp as FilterPredicateOp, schemas_FilterPredicateRangeOp as FilterPredicateRangeOp, schemas_FilterRangeValue as FilterRangeValue, schemas_FilterValue as FilterValue, schemas_FuzzinessExpression as FuzzinessExpression, schemas_HighlightExpression as HighlightExpression, schemas_InputFile as InputFile, schemas_InputFileArray as InputFileArray, schemas_InputFileEntry as InputFileEntry, schemas_InviteID as InviteID, schemas_InviteKey as InviteKey, schemas_ListBranchesResponse as ListBranchesResponse, schemas_ListClustersResponse as ListClustersResponse, schemas_ListDatabasesResponse as ListDatabasesResponse, schemas_ListGitBranchesResponse as ListGitBranchesResponse, schemas_ListRegionsResponse as ListRegionsResponse, schemas_MaintenanceConfig as MaintenanceConfig, schemas_MaintenanceConfigResponse as MaintenanceConfigResponse, schemas_MaxAgg as MaxAgg, schemas_MediaType as MediaType, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_Migration as Migration, schemas_MigrationColumnOp as MigrationColumnOp, schemas_MigrationDescription as MigrationDescription, schemas_MigrationHistoryItem as MigrationHistoryItem, schemas_MigrationHistoryResponse as MigrationHistoryResponse, schemas_MigrationJobID as MigrationJobID, schemas_MigrationJobStatus as MigrationJobStatus, schemas_MigrationJobStatusResponse as MigrationJobStatusResponse, schemas_MigrationJobType as MigrationJobType, schemas_MigrationObject as MigrationObject, schemas_MigrationOp as MigrationOp, schemas_MigrationOperationDescription as MigrationOperationDescription, schemas_MigrationRequest as MigrationRequest, schemas_MigrationRequestNumber as MigrationRequestNumber, MigrationStatus$1 as MigrationStatus, schemas_MigrationTableOp as MigrationTableOp, schemas_MigrationType as MigrationType, schemas_MinAgg as MinAgg, NumericBooster$1 as NumericBooster, schemas_NumericHistogramAgg as NumericHistogramAgg, schemas_OAuthAccessToken as OAuthAccessToken, schemas_OAuthClientID as OAuthClientID, schemas_OAuthClientPublicDetails as OAuthClientPublicDetails, schemas_OAuthResponseType as OAuthResponseType, schemas_OAuthScope as OAuthScope, schemas_ObjectValue as ObjectValue, schemas_PageConfig as PageConfig, schemas_PageResponse as PageResponse, schemas_PageSize as PageSize, schemas_PageToken as PageToken, schemas_PaginationPageSize as PaginationPageSize, schemas_PercentilesAgg as PercentilesAgg, schemas_PrefixExpression as PrefixExpression, schemas_ProjectionConfig as ProjectionConfig, schemas_QueryColumnsProjection as QueryColumnsProjection, schemas_RecordID as RecordID, schemas_RecordMeta as RecordMeta, schemas_RecordsMetadata as RecordsMetadata, schemas_Region as Region, schemas_RevLink as RevLink, schemas_Role as Role, schemas_RollbackMigrationResponse as RollbackMigrationResponse, schemas_SQLRecord as SQLRecord, schemas_Schema as Schema, schemas_SchemaEditScript as SchemaEditScript, schemas_SearchPageConfig as SearchPageConfig, schemas_SortExpression as SortExpression, schemas_SortOrder as SortOrder, schemas_StartMigrationResponse as StartMigrationResponse, schemas_StartedFromMetadata as StartedFromMetadata, schemas_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, schemas_WorkspaceSettings as WorkspaceSettings, XataRecord$1 as XataRecord };
|
7237
7620
|
}
|
7238
7621
|
|
7239
7622
|
type ApiExtraProps = Omit<FetcherExtraProps, 'endpoint'>;
|
@@ -8164,6 +8547,580 @@ interface ImageTransformations {
|
|
8164
8547
|
declare function transformImage(url: string, ...transformations: ImageTransformations[]): string;
|
8165
8548
|
declare function transformImage(url: string | undefined, ...transformations: ImageTransformations[]): string | undefined;
|
8166
8549
|
|
8550
|
+
declare class Buffer extends Uint8Array {
|
8551
|
+
/**
|
8552
|
+
* Allocates a new buffer containing the given `str`.
|
8553
|
+
*
|
8554
|
+
* @param str String to store in buffer.
|
8555
|
+
* @param encoding Encoding to use, optional. Default is `utf8`.
|
8556
|
+
*/
|
8557
|
+
constructor(str: string, encoding?: Encoding);
|
8558
|
+
/**
|
8559
|
+
* Allocates a new buffer of `size` octets.
|
8560
|
+
*
|
8561
|
+
* @param size Count of octets to allocate.
|
8562
|
+
*/
|
8563
|
+
constructor(size: number);
|
8564
|
+
/**
|
8565
|
+
* Allocates a new buffer containing the given `array` of octets.
|
8566
|
+
*
|
8567
|
+
* @param array The octets to store.
|
8568
|
+
*/
|
8569
|
+
constructor(array: Uint8Array);
|
8570
|
+
/**
|
8571
|
+
* Allocates a new buffer containing the given `array` of octet values.
|
8572
|
+
*
|
8573
|
+
* @param array
|
8574
|
+
*/
|
8575
|
+
constructor(array: number[]);
|
8576
|
+
/**
|
8577
|
+
* Allocates a new buffer containing the given `array` of octet values.
|
8578
|
+
*
|
8579
|
+
* @param array
|
8580
|
+
* @param encoding
|
8581
|
+
*/
|
8582
|
+
constructor(array: number[], encoding: Encoding);
|
8583
|
+
/**
|
8584
|
+
* Copies the passed `buffer` data onto a new `Buffer` instance.
|
8585
|
+
*
|
8586
|
+
* @param buffer
|
8587
|
+
*/
|
8588
|
+
constructor(buffer: Buffer);
|
8589
|
+
/**
|
8590
|
+
* When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
|
8591
|
+
* the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
|
8592
|
+
* range within the `arrayBuffer` that will be shared by the Buffer.
|
8593
|
+
*
|
8594
|
+
* @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
|
8595
|
+
* @param byteOffset
|
8596
|
+
* @param length
|
8597
|
+
*/
|
8598
|
+
constructor(buffer: ArrayBuffer, byteOffset?: number, length?: number);
|
8599
|
+
/**
|
8600
|
+
* Return JSON representation of the buffer.
|
8601
|
+
*/
|
8602
|
+
toJSON(): {
|
8603
|
+
type: 'Buffer';
|
8604
|
+
data: number[];
|
8605
|
+
};
|
8606
|
+
/**
|
8607
|
+
* Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
|
8608
|
+
* parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
|
8609
|
+
* only part of `string` will be written. However, partially encoded characters will not be written.
|
8610
|
+
*
|
8611
|
+
* @param string String to write to `buf`.
|
8612
|
+
* @param encoding The character encoding of `string`. Default: `utf8`.
|
8613
|
+
*/
|
8614
|
+
write(string: string, encoding?: Encoding): number;
|
8615
|
+
/**
|
8616
|
+
* Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
|
8617
|
+
* parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
|
8618
|
+
* only part of `string` will be written. However, partially encoded characters will not be written.
|
8619
|
+
*
|
8620
|
+
* @param string String to write to `buf`.
|
8621
|
+
* @param offset Number of bytes to skip before starting to write `string`. Default: `0`.
|
8622
|
+
* @param length Maximum number of bytes to write: Default: `buf.length - offset`.
|
8623
|
+
* @param encoding The character encoding of `string`. Default: `utf8`.
|
8624
|
+
*/
|
8625
|
+
write(string: string, offset?: number, length?: number, encoding?: Encoding): number;
|
8626
|
+
/**
|
8627
|
+
* Decodes the buffer to a string according to the specified character encoding.
|
8628
|
+
* Passing `start` and `end` will decode only a subset of the buffer.
|
8629
|
+
*
|
8630
|
+
* Note that if the encoding is `utf8` and a byte sequence in the input is not valid UTF-8, then each invalid byte
|
8631
|
+
* will be replaced with `U+FFFD`.
|
8632
|
+
*
|
8633
|
+
* @param encoding
|
8634
|
+
* @param start
|
8635
|
+
* @param end
|
8636
|
+
*/
|
8637
|
+
toString(encoding?: Encoding, start?: number, end?: number): string;
|
8638
|
+
/**
|
8639
|
+
* Returns true if this buffer's is equal to the provided buffer, meaning they share the same exact data.
|
8640
|
+
*
|
8641
|
+
* @param otherBuffer
|
8642
|
+
*/
|
8643
|
+
equals(otherBuffer: Buffer): boolean;
|
8644
|
+
/**
|
8645
|
+
* Compares the buffer with `otherBuffer` and returns a number indicating whether the buffer comes before, after,
|
8646
|
+
* or is the same as `otherBuffer` in sort order. Comparison is based on the actual sequence of bytes in each
|
8647
|
+
* buffer.
|
8648
|
+
*
|
8649
|
+
* - `0` is returned if `otherBuffer` is the same as this buffer.
|
8650
|
+
* - `1` is returned if `otherBuffer` should come before this buffer when sorted.
|
8651
|
+
* - `-1` is returned if `otherBuffer` should come after this buffer when sorted.
|
8652
|
+
*
|
8653
|
+
* @param otherBuffer The buffer to compare to.
|
8654
|
+
* @param targetStart The offset within `otherBuffer` at which to begin comparison.
|
8655
|
+
* @param targetEnd The offset within `otherBuffer` at which to end comparison (exclusive).
|
8656
|
+
* @param sourceStart The offset within this buffer at which to begin comparison.
|
8657
|
+
* @param sourceEnd The offset within this buffer at which to end the comparison (exclusive).
|
8658
|
+
*/
|
8659
|
+
compare(otherBuffer: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
|
8660
|
+
/**
|
8661
|
+
* Copies data from a region of this buffer to a region in `targetBuffer`, even if the `targetBuffer` memory
|
8662
|
+
* region overlaps with this buffer.
|
8663
|
+
*
|
8664
|
+
* @param targetBuffer The target buffer to copy into.
|
8665
|
+
* @param targetStart The offset within `targetBuffer` at which to begin writing.
|
8666
|
+
* @param sourceStart The offset within this buffer at which to begin copying.
|
8667
|
+
* @param sourceEnd The offset within this buffer at which to end copying (exclusive).
|
8668
|
+
*/
|
8669
|
+
copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
|
8670
|
+
/**
|
8671
|
+
* Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start`
|
8672
|
+
* and `end` indices. This is the same behavior as `buf.subarray()`.
|
8673
|
+
*
|
8674
|
+
* This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of Buffer. To copy
|
8675
|
+
* the slice, use `Uint8Array.prototype.slice()`.
|
8676
|
+
*
|
8677
|
+
* @param start
|
8678
|
+
* @param end
|
8679
|
+
*/
|
8680
|
+
slice(start?: number, end?: number): Buffer;
|
8681
|
+
/**
|
8682
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
|
8683
|
+
* of accuracy. Behavior is undefined when value is anything other than an unsigned integer.
|
8684
|
+
*
|
8685
|
+
* @param value Number to write.
|
8686
|
+
* @param offset Number of bytes to skip before starting to write.
|
8687
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8688
|
+
* @param noAssert
|
8689
|
+
* @returns `offset` plus the number of bytes written.
|
8690
|
+
*/
|
8691
|
+
writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8692
|
+
/**
|
8693
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits of
|
8694
|
+
* accuracy. Behavior is undefined when `value` is anything other than an unsigned integer.
|
8695
|
+
*
|
8696
|
+
* @param value Number to write.
|
8697
|
+
* @param offset Number of bytes to skip before starting to write.
|
8698
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8699
|
+
* @param noAssert
|
8700
|
+
* @returns `offset` plus the number of bytes written.
|
8701
|
+
*/
|
8702
|
+
writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8703
|
+
/**
|
8704
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
|
8705
|
+
* of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
|
8706
|
+
*
|
8707
|
+
* @param value Number to write.
|
8708
|
+
* @param offset Number of bytes to skip before starting to write.
|
8709
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8710
|
+
* @param noAssert
|
8711
|
+
* @returns `offset` plus the number of bytes written.
|
8712
|
+
*/
|
8713
|
+
writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8714
|
+
/**
|
8715
|
+
* Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits
|
8716
|
+
* of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
|
8717
|
+
*
|
8718
|
+
* @param value Number to write.
|
8719
|
+
* @param offset Number of bytes to skip before starting to write.
|
8720
|
+
* @param byteLength Number of bytes to write, between 0 and 6.
|
8721
|
+
* @param noAssert
|
8722
|
+
* @returns `offset` plus the number of bytes written.
|
8723
|
+
*/
|
8724
|
+
writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
|
8725
|
+
/**
|
8726
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
|
8727
|
+
* unsigned, little-endian integer supporting up to 48 bits of accuracy.
|
8728
|
+
*
|
8729
|
+
* @param offset Number of bytes to skip before starting to read.
|
8730
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8731
|
+
* @param noAssert
|
8732
|
+
*/
|
8733
|
+
readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8734
|
+
/**
|
8735
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
|
8736
|
+
* unsigned, big-endian integer supporting up to 48 bits of accuracy.
|
8737
|
+
*
|
8738
|
+
* @param offset Number of bytes to skip before starting to read.
|
8739
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8740
|
+
* @param noAssert
|
8741
|
+
*/
|
8742
|
+
readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8743
|
+
/**
|
8744
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
|
8745
|
+
* little-endian, two's complement signed value supporting up to 48 bits of accuracy.
|
8746
|
+
*
|
8747
|
+
* @param offset Number of bytes to skip before starting to read.
|
8748
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8749
|
+
* @param noAssert
|
8750
|
+
*/
|
8751
|
+
readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8752
|
+
/**
|
8753
|
+
* Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
|
8754
|
+
* big-endian, two's complement signed value supporting up to 48 bits of accuracy.
|
8755
|
+
*
|
8756
|
+
* @param offset Number of bytes to skip before starting to read.
|
8757
|
+
* @param byteLength Number of bytes to read, between 0 and 6.
|
8758
|
+
* @param noAssert
|
8759
|
+
*/
|
8760
|
+
readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
|
8761
|
+
/**
|
8762
|
+
* Reads an unsigned 8-bit integer from `buf` at the specified `offset`.
|
8763
|
+
*
|
8764
|
+
* @param offset Number of bytes to skip before starting to read.
|
8765
|
+
* @param noAssert
|
8766
|
+
*/
|
8767
|
+
readUInt8(offset: number, noAssert?: boolean): number;
|
8768
|
+
/**
|
8769
|
+
* Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
|
8770
|
+
*
|
8771
|
+
* @param offset Number of bytes to skip before starting to read.
|
8772
|
+
* @param noAssert
|
8773
|
+
*/
|
8774
|
+
readUInt16LE(offset: number, noAssert?: boolean): number;
|
8775
|
+
/**
|
8776
|
+
* Reads an unsigned, big-endian 16-bit integer from `buf` at the specified `offset`.
|
8777
|
+
*
|
8778
|
+
* @param offset Number of bytes to skip before starting to read.
|
8779
|
+
* @param noAssert
|
8780
|
+
*/
|
8781
|
+
readUInt16BE(offset: number, noAssert?: boolean): number;
|
8782
|
+
/**
|
8783
|
+
* Reads an unsigned, little-endian 32-bit integer from `buf` at the specified `offset`.
|
8784
|
+
*
|
8785
|
+
* @param offset Number of bytes to skip before starting to read.
|
8786
|
+
* @param noAssert
|
8787
|
+
*/
|
8788
|
+
readUInt32LE(offset: number, noAssert?: boolean): number;
|
8789
|
+
/**
|
8790
|
+
* Reads an unsigned, big-endian 32-bit integer from `buf` at the specified `offset`.
|
8791
|
+
*
|
8792
|
+
* @param offset Number of bytes to skip before starting to read.
|
8793
|
+
* @param noAssert
|
8794
|
+
*/
|
8795
|
+
readUInt32BE(offset: number, noAssert?: boolean): number;
|
8796
|
+
/**
|
8797
|
+
* Reads a signed 8-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer` are interpreted
|
8798
|
+
* as two's complement signed values.
|
8799
|
+
*
|
8800
|
+
* @param offset Number of bytes to skip before starting to read.
|
8801
|
+
* @param noAssert
|
8802
|
+
*/
|
8803
|
+
readInt8(offset: number, noAssert?: boolean): number;
|
8804
|
+
/**
|
8805
|
+
* Reads a signed, little-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8806
|
+
* are interpreted as two's complement signed values.
|
8807
|
+
*
|
8808
|
+
* @param offset Number of bytes to skip before starting to read.
|
8809
|
+
* @param noAssert
|
8810
|
+
*/
|
8811
|
+
readInt16LE(offset: number, noAssert?: boolean): number;
|
8812
|
+
/**
|
8813
|
+
* Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8814
|
+
* are interpreted as two's complement signed values.
|
8815
|
+
*
|
8816
|
+
* @param offset Number of bytes to skip before starting to read.
|
8817
|
+
* @param noAssert
|
8818
|
+
*/
|
8819
|
+
readInt16BE(offset: number, noAssert?: boolean): number;
|
8820
|
+
/**
|
8821
|
+
* Reads a signed, little-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8822
|
+
* are interpreted as two's complement signed values.
|
8823
|
+
*
|
8824
|
+
* @param offset Number of bytes to skip before starting to read.
|
8825
|
+
* @param noAssert
|
8826
|
+
*/
|
8827
|
+
readInt32LE(offset: number, noAssert?: boolean): number;
|
8828
|
+
/**
|
8829
|
+
* Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
|
8830
|
+
* are interpreted as two's complement signed values.
|
8831
|
+
*
|
8832
|
+
* @param offset Number of bytes to skip before starting to read.
|
8833
|
+
* @param noAssert
|
8834
|
+
*/
|
8835
|
+
readInt32BE(offset: number, noAssert?: boolean): number;
|
8836
|
+
/**
|
8837
|
+
* Interprets `buf` as an array of unsigned 16-bit integers and swaps the byte order in-place.
|
8838
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 2.
|
8839
|
+
*/
|
8840
|
+
swap16(): Buffer;
|
8841
|
+
/**
|
8842
|
+
* Interprets `buf` as an array of unsigned 32-bit integers and swaps the byte order in-place.
|
8843
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 4.
|
8844
|
+
*/
|
8845
|
+
swap32(): Buffer;
|
8846
|
+
/**
|
8847
|
+
* Interprets `buf` as an array of unsigned 64-bit integers and swaps the byte order in-place.
|
8848
|
+
* Throws a `RangeError` if `buf.length` is not a multiple of 8.
|
8849
|
+
*/
|
8850
|
+
swap64(): Buffer;
|
8851
|
+
/**
|
8852
|
+
* Swaps two octets.
|
8853
|
+
*
|
8854
|
+
* @param b
|
8855
|
+
* @param n
|
8856
|
+
* @param m
|
8857
|
+
*/
|
8858
|
+
private _swap;
|
8859
|
+
/**
|
8860
|
+
* Writes `value` to `buf` at the specified `offset`. The `value` must be a valid unsigned 8-bit integer.
|
8861
|
+
* Behavior is undefined when `value` is anything other than an unsigned 8-bit integer.
|
8862
|
+
*
|
8863
|
+
* @param value Number to write.
|
8864
|
+
* @param offset Number of bytes to skip before starting to write.
|
8865
|
+
* @param noAssert
|
8866
|
+
* @returns `offset` plus the number of bytes written.
|
8867
|
+
*/
|
8868
|
+
writeUInt8(value: number, offset: number, noAssert?: boolean): number;
|
8869
|
+
/**
|
8870
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit
|
8871
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
|
8872
|
+
*
|
8873
|
+
* @param value Number to write.
|
8874
|
+
* @param offset Number of bytes to skip before starting to write.
|
8875
|
+
* @param noAssert
|
8876
|
+
* @returns `offset` plus the number of bytes written.
|
8877
|
+
*/
|
8878
|
+
writeUInt16LE(value: number | string, offset: number, noAssert?: boolean): number;
|
8879
|
+
/**
|
8880
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit
|
8881
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
|
8882
|
+
*
|
8883
|
+
* @param value Number to write.
|
8884
|
+
* @param offset Number of bytes to skip before starting to write.
|
8885
|
+
* @param noAssert
|
8886
|
+
* @returns `offset` plus the number of bytes written.
|
8887
|
+
*/
|
8888
|
+
writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
8889
|
+
/**
|
8890
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit
|
8891
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
|
8892
|
+
*
|
8893
|
+
* @param value Number to write.
|
8894
|
+
* @param offset Number of bytes to skip before starting to write.
|
8895
|
+
* @param noAssert
|
8896
|
+
* @returns `offset` plus the number of bytes written.
|
8897
|
+
*/
|
8898
|
+
writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
8899
|
+
/**
|
8900
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit
|
8901
|
+
* integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
|
8902
|
+
*
|
8903
|
+
* @param value Number to write.
|
8904
|
+
* @param offset Number of bytes to skip before starting to write.
|
8905
|
+
* @param noAssert
|
8906
|
+
* @returns `offset` plus the number of bytes written.
|
8907
|
+
*/
|
8908
|
+
writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
8909
|
+
/**
|
8910
|
+
* Writes `value` to `buf` at the specified `offset`. The `value` must be a valid signed 8-bit integer.
|
8911
|
+
* Behavior is undefined when `value` is anything other than a signed 8-bit integer.
|
8912
|
+
*
|
8913
|
+
* @param value Number to write.
|
8914
|
+
* @param offset Number of bytes to skip before starting to write.
|
8915
|
+
* @param noAssert
|
8916
|
+
* @returns `offset` plus the number of bytes written.
|
8917
|
+
*/
|
8918
|
+
writeInt8(value: number, offset: number, noAssert?: boolean): number;
|
8919
|
+
/**
|
8920
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit
|
8921
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
|
8922
|
+
*
|
8923
|
+
* @param value Number to write.
|
8924
|
+
* @param offset Number of bytes to skip before starting to write.
|
8925
|
+
* @param noAssert
|
8926
|
+
* @returns `offset` plus the number of bytes written.
|
8927
|
+
*/
|
8928
|
+
writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
|
8929
|
+
/**
|
8930
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit
|
8931
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
|
8932
|
+
*
|
8933
|
+
* @param value Number to write.
|
8934
|
+
* @param offset Number of bytes to skip before starting to write.
|
8935
|
+
* @param noAssert
|
8936
|
+
* @returns `offset` plus the number of bytes written.
|
8937
|
+
*/
|
8938
|
+
writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
|
8939
|
+
/**
|
8940
|
+
* Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit
|
8941
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
|
8942
|
+
*
|
8943
|
+
* @param value Number to write.
|
8944
|
+
* @param offset Number of bytes to skip before starting to write.
|
8945
|
+
* @param noAssert
|
8946
|
+
* @returns `offset` plus the number of bytes written.
|
8947
|
+
*/
|
8948
|
+
writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
|
8949
|
+
/**
|
8950
|
+
* Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit
|
8951
|
+
* integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
|
8952
|
+
*
|
8953
|
+
* @param value Number to write.
|
8954
|
+
* @param offset Number of bytes to skip before starting to write.
|
8955
|
+
* @param noAssert
|
8956
|
+
* @returns `offset` plus the number of bytes written.
|
8957
|
+
*/
|
8958
|
+
writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
|
8959
|
+
/**
|
8960
|
+
* Fills `buf` with the specified `value`. If the `offset` and `end` are not given, the entire `buf` will be
|
8961
|
+
* filled. The `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or integer. If the resulting
|
8962
|
+
* integer is greater than `255` (decimal), then `buf` will be filled with `value & 255`.
|
8963
|
+
*
|
8964
|
+
* If the final write of a `fill()` operation falls on a multi-byte character, then only the bytes of that
|
8965
|
+
* character that fit into `buf` are written.
|
8966
|
+
*
|
8967
|
+
* If `value` contains invalid characters, it is truncated; if no valid fill data remains, an exception is thrown.
|
8968
|
+
*
|
8969
|
+
* @param value
|
8970
|
+
* @param encoding
|
8971
|
+
*/
|
8972
|
+
fill(value: any, offset?: number, end?: number, encoding?: Encoding): this;
|
8973
|
+
/**
|
8974
|
+
* Returns the index of the specified value.
|
8975
|
+
*
|
8976
|
+
* If `value` is:
|
8977
|
+
* - a string, `value` is interpreted according to the character encoding in `encoding`.
|
8978
|
+
* - a `Buffer` or `Uint8Array`, `value` will be used in its entirety. To compare a partial Buffer, use `slice()`.
|
8979
|
+
* - a number, `value` will be interpreted as an unsigned 8-bit integer value between `0` and `255`.
|
8980
|
+
*
|
8981
|
+
* Any other types will throw a `TypeError`.
|
8982
|
+
*
|
8983
|
+
* @param value What to search for.
|
8984
|
+
* @param byteOffset Where to begin searching in `buf`. If negative, then calculated from the end.
|
8985
|
+
* @param encoding If `value` is a string, this is the encoding used to search.
|
8986
|
+
* @returns The index of the first occurrence of `value` in `buf`, or `-1` if not found.
|
8987
|
+
*/
|
8988
|
+
indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
|
8989
|
+
/**
|
8990
|
+
* Gets the last index of the specified value.
|
8991
|
+
*
|
8992
|
+
* @see indexOf()
|
8993
|
+
* @param value
|
8994
|
+
* @param byteOffset
|
8995
|
+
* @param encoding
|
8996
|
+
*/
|
8997
|
+
lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
|
8998
|
+
private _bidirectionalIndexOf;
|
8999
|
+
/**
|
9000
|
+
* Equivalent to `buf.indexOf() !== -1`.
|
9001
|
+
*
|
9002
|
+
* @param value
|
9003
|
+
* @param byteOffset
|
9004
|
+
* @param encoding
|
9005
|
+
*/
|
9006
|
+
includes(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): boolean;
|
9007
|
+
/**
|
9008
|
+
* Allocates a new Buffer using an `array` of octet values.
|
9009
|
+
*
|
9010
|
+
* @param array
|
9011
|
+
*/
|
9012
|
+
static from(array: number[]): Buffer;
|
9013
|
+
/**
|
9014
|
+
* When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
|
9015
|
+
* the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
|
9016
|
+
* range within the `arrayBuffer` that will be shared by the Buffer.
|
9017
|
+
*
|
9018
|
+
* @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
|
9019
|
+
* @param byteOffset
|
9020
|
+
* @param length
|
9021
|
+
*/
|
9022
|
+
static from(buffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
|
9023
|
+
/**
|
9024
|
+
* Copies the passed `buffer` data onto a new Buffer instance.
|
9025
|
+
*
|
9026
|
+
* @param buffer
|
9027
|
+
*/
|
9028
|
+
static from(buffer: Buffer | Uint8Array): Buffer;
|
9029
|
+
/**
|
9030
|
+
* Creates a new Buffer containing the given string `str`. If provided, the `encoding` parameter identifies the
|
9031
|
+
* character encoding.
|
9032
|
+
*
|
9033
|
+
* @param str String to store in buffer.
|
9034
|
+
* @param encoding Encoding to use, optional. Default is `utf8`.
|
9035
|
+
*/
|
9036
|
+
static from(str: string, encoding?: Encoding): Buffer;
|
9037
|
+
/**
|
9038
|
+
* Returns true if `obj` is a Buffer.
|
9039
|
+
*
|
9040
|
+
* @param obj
|
9041
|
+
*/
|
9042
|
+
static isBuffer(obj: any): obj is Buffer;
|
9043
|
+
/**
|
9044
|
+
* Returns true if `encoding` is a supported encoding.
|
9045
|
+
*
|
9046
|
+
* @param encoding
|
9047
|
+
*/
|
9048
|
+
static isEncoding(encoding: string): encoding is Encoding;
|
9049
|
+
/**
|
9050
|
+
* Gives the actual byte length of a string for an encoding. This is not the same as `string.length` since that
|
9051
|
+
* returns the number of characters in the string.
|
9052
|
+
*
|
9053
|
+
* @param string The string to test.
|
9054
|
+
* @param encoding The encoding to use for calculation. Defaults is `utf8`.
|
9055
|
+
*/
|
9056
|
+
static byteLength(string: string | Buffer | ArrayBuffer, encoding?: Encoding): number;
|
9057
|
+
/**
|
9058
|
+
* Returns a Buffer which is the result of concatenating all the buffers in the list together.
|
9059
|
+
*
|
9060
|
+
* - If the list has no items, or if the `totalLength` is 0, then it returns a zero-length buffer.
|
9061
|
+
* - If the list has exactly one item, then the first item is returned.
|
9062
|
+
* - If the list has more than one item, then a new buffer is created.
|
9063
|
+
*
|
9064
|
+
* It is faster to provide the `totalLength` if it is known. However, it will be calculated if not provided at
|
9065
|
+
* a small computational expense.
|
9066
|
+
*
|
9067
|
+
* @param list An array of Buffer objects to concatenate.
|
9068
|
+
* @param totalLength Total length of the buffers when concatenated.
|
9069
|
+
*/
|
9070
|
+
static concat(list: Uint8Array[], totalLength?: number): Buffer;
|
9071
|
+
/**
|
9072
|
+
* The same as `buf1.compare(buf2)`.
|
9073
|
+
*/
|
9074
|
+
static compare(buf1: Uint8Array, buf2: Uint8Array): number;
|
9075
|
+
/**
|
9076
|
+
* Allocates a new buffer of `size` octets.
|
9077
|
+
*
|
9078
|
+
* @param size The number of octets to allocate.
|
9079
|
+
* @param fill If specified, the buffer will be initialized by calling `buf.fill(fill)`, or with zeroes otherwise.
|
9080
|
+
* @param encoding The encoding used for the call to `buf.fill()` while initializing.
|
9081
|
+
*/
|
9082
|
+
static alloc(size: number, fill?: string | Buffer | number, encoding?: Encoding): Buffer;
|
9083
|
+
/**
|
9084
|
+
* Allocates a new buffer of `size` octets without initializing memory. The contents of the buffer are unknown.
|
9085
|
+
*
|
9086
|
+
* @param size
|
9087
|
+
*/
|
9088
|
+
static allocUnsafe(size: number): Buffer;
|
9089
|
+
/**
|
9090
|
+
* Returns true if the given `obj` is an instance of `type`.
|
9091
|
+
*
|
9092
|
+
* @param obj
|
9093
|
+
* @param type
|
9094
|
+
*/
|
9095
|
+
private static _isInstance;
|
9096
|
+
private static _checked;
|
9097
|
+
private static _blitBuffer;
|
9098
|
+
private static _utf8Write;
|
9099
|
+
private static _asciiWrite;
|
9100
|
+
private static _base64Write;
|
9101
|
+
private static _ucs2Write;
|
9102
|
+
private static _hexWrite;
|
9103
|
+
private static _utf8ToBytes;
|
9104
|
+
private static _base64ToBytes;
|
9105
|
+
private static _asciiToBytes;
|
9106
|
+
private static _utf16leToBytes;
|
9107
|
+
private static _hexSlice;
|
9108
|
+
private static _base64Slice;
|
9109
|
+
private static _utf8Slice;
|
9110
|
+
private static _decodeCodePointsArray;
|
9111
|
+
private static _asciiSlice;
|
9112
|
+
private static _latin1Slice;
|
9113
|
+
private static _utf16leSlice;
|
9114
|
+
private static _arrayIndexOf;
|
9115
|
+
private static _checkOffset;
|
9116
|
+
private static _checkInt;
|
9117
|
+
private static _getEncoding;
|
9118
|
+
}
|
9119
|
+
/**
|
9120
|
+
* The encodings that are supported in both native and polyfilled `Buffer` instances.
|
9121
|
+
*/
|
9122
|
+
type Encoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'binary' | 'hex' | 'latin1' | 'base64';
|
9123
|
+
|
8167
9124
|
type XataFileEditableFields = Partial<Pick<XataArrayFile, keyof InputFileEntry>>;
|
8168
9125
|
type XataFileFields = Partial<Pick<XataArrayFile, {
|
8169
9126
|
[K in StringKeys<XataArrayFile>]: XataArrayFile[K] extends Function ? never : K;
|
@@ -10106,7 +11063,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
|
|
10106
11063
|
} : {
|
10107
11064
|
[K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
|
10108
11065
|
} : never : never;
|
10109
|
-
type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' ? string : Type extends 'int' | 'float' ? number : Type extends 'bool' ? boolean : Type extends 'datetime' ? Date : Type extends 'multiple' ? string[] : Type extends 'vector' ? number[] : Type extends 'file' ? XataFile : Type extends 'file[]' ? XataArrayFile[] : Type extends 'json' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord :
|
11066
|
+
type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' | 'character' | 'varchar' | 'character varying' | `varchar(${number})` | `character(${number})` ? string : Type extends 'int' | 'float' | 'bigint' | 'int8' | 'integer' | 'int4' | 'smallint' | 'double precision' | 'float8' | 'real' | 'numeric' ? number : Type extends 'bool' | 'boolean' ? boolean : Type extends 'datetime' | 'timestamptz' ? Date : Type extends 'multiple' | 'text[]' ? string[] : Type extends 'vector' | 'real[]' | 'float[]' | 'double precision[]' | 'float8[]' | 'numeric[]' ? number[] : Type extends 'int[]' | 'bigint[]' | 'int8[]' | 'integer[]' | 'int4[]' | 'smallint[]' ? number[] : Type extends 'bool[]' | 'boolean[]' ? boolean[] : Type extends 'file' | 'xata_file' ? XataFile : Type extends 'file[]' | 'xata_file_array' ? XataArrayFile[] : Type extends 'json' | 'jsonb' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : string;
|
10110
11067
|
|
10111
11068
|
/**
|
10112
11069
|
* Operator to restrict results to only values that are greater than the given value.
|
@@ -10159,11 +11116,11 @@ declare const le: <T extends ComparableType>(value: T) => ComparableTypeFilter<T
|
|
10159
11116
|
/**
|
10160
11117
|
* Operator to restrict results to only values that are not null.
|
10161
11118
|
*/
|
10162
|
-
declare const exists: <T>(column?: FilterColumns<T>
|
11119
|
+
declare const exists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
10163
11120
|
/**
|
10164
11121
|
* Operator to restrict results to only values that are null.
|
10165
11122
|
*/
|
10166
|
-
declare const notExists: <T>(column?: FilterColumns<T>
|
11123
|
+
declare const notExists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
|
10167
11124
|
/**
|
10168
11125
|
* Operator to restrict results to only values that start with the given prefix.
|
10169
11126
|
*/
|
@@ -10285,10 +11242,37 @@ type SQLQueryParams<T = any[]> = {
|
|
10285
11242
|
params?: T;
|
10286
11243
|
/**
|
10287
11244
|
* The consistency level to use when executing the query.
|
11245
|
+
* @default 'strong'
|
10288
11246
|
*/
|
10289
11247
|
consistency?: 'strong' | 'eventual';
|
10290
11248
|
/**
|
10291
11249
|
* The response type to use when executing the query.
|
11250
|
+
* @default 'json'
|
11251
|
+
*/
|
11252
|
+
responseType?: 'json' | 'array';
|
11253
|
+
};
|
11254
|
+
type SQLBatchQuery = {
|
11255
|
+
/**
|
11256
|
+
* The SQL statements to execute.
|
11257
|
+
*/
|
11258
|
+
statements: {
|
11259
|
+
/**
|
11260
|
+
* The SQL statement to execute.
|
11261
|
+
*/
|
11262
|
+
statement: string;
|
11263
|
+
/**
|
11264
|
+
* The parameters to pass to the SQL statement.
|
11265
|
+
*/
|
11266
|
+
params?: any[];
|
11267
|
+
}[];
|
11268
|
+
/**
|
11269
|
+
* The consistency level to use when executing the queries.
|
11270
|
+
* @default 'strong'
|
11271
|
+
*/
|
11272
|
+
consistency?: 'strong' | 'eventual';
|
11273
|
+
/**
|
11274
|
+
* The response type to use when executing the queries.
|
11275
|
+
* @default 'json'
|
10292
11276
|
*/
|
10293
11277
|
responseType?: 'json' | 'array';
|
10294
11278
|
};
|
@@ -10337,6 +11321,13 @@ type SQLPluginResult = SQLPluginFunction & {
|
|
10337
11321
|
* Connects with the same credentials as the Xata client.
|
10338
11322
|
*/
|
10339
11323
|
connectionString: string;
|
11324
|
+
/**
|
11325
|
+
* Executes a batch of SQL statements.
|
11326
|
+
* @param query The batch of SQL statements to execute.
|
11327
|
+
*/
|
11328
|
+
batch: <Query extends SQLBatchQuery = SQLBatchQuery>(query: Query) => Promise<{
|
11329
|
+
results: Array<SQLQueryResult<any, Query extends SQLBatchQuery ? Query['responseType'] extends SQLResponseType ? NonNullable<Query['responseType']> : 'json' : 'json'>>;
|
11330
|
+
}>;
|
10340
11331
|
};
|
10341
11332
|
declare class SQLPlugin extends XataPlugin {
|
10342
11333
|
build(pluginOptions: XataPluginOptions): SQLPluginResult;
|
@@ -10453,7 +11444,7 @@ type BaseClientOptions = {
|
|
10453
11444
|
clientName?: string;
|
10454
11445
|
xataAgentExtra?: Record<string, string>;
|
10455
11446
|
};
|
10456
|
-
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins
|
11447
|
+
declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins) => ClientConstructor<Plugins>;
|
10457
11448
|
interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
|
10458
11449
|
new <Schemas extends Record<string, XataRecord> = {}>(options?: Partial<BaseClientOptions>, schemaTables?: readonly BaseSchema[]): Omit<{
|
10459
11450
|
db: Awaited<ReturnType<SchemaPlugin<Schemas>['build']>>;
|
@@ -10504,4 +11495,4 @@ declare class XataError extends Error {
|
|
10504
11495
|
constructor(message: string, status: number);
|
10505
11496
|
}
|
10506
11497
|
|
10507
|
-
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CacheImpl, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, SimpleCache, type SimpleCacheOptions, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listClusters, 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, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|
11498
|
+
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptAllTablesError, type AdaptAllTablesPathParams, type AdaptAllTablesVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, Buffer, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CacheImpl, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CompleteMigrationError, type CompleteMigrationPathParams, type CompleteMigrationVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteClusterError, type DeleteClusterPathParams, type DeleteClusterVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryQueryParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, type RollbackMigrationError, type RollbackMigrationPathParams, type RollbackMigrationVariables, type SQLBatchQuery, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, SimpleCache, type SimpleCacheOptions, type SqlBatchQueryError, type SqlBatchQueryPathParams, type SqlBatchQueryRequestBody, type SqlBatchQueryVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type StartMigrationError, type StartMigrationPathParams, type StartMigrationRequestBody, type StartMigrationVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, completeMigration, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteCluster, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, rollbackMigration, searchBranch, searchTable, serialize, setTableSchema, sqlBatchQuery, sqlQuery, startMigration, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|