@xata.io/client 0.0.0-next.v9a81c4765c87e96d23c4e8ae0cbee78e78451dd5 → 0.0.0-next.va121e4207b94bfe0a3c025fc00b247b923880930
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 +3 -3
- package/CHANGELOG.md +13 -3
- package/dist/index.cjs +127 -8
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1173 -188
- package/dist/index.mjs +113 -9
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -73,6 +73,139 @@ type RequiredKeys<T> = {
|
|
73
73
|
*
|
74
74
|
* @version 1.0
|
75
75
|
*/
|
76
|
+
type TaskStatus = 'scheduled' | 'pending' | 'active' | 'retry' | 'archived' | 'completed';
|
77
|
+
type TaskStatusResponse = {
|
78
|
+
/**
|
79
|
+
* The id of the task
|
80
|
+
*/
|
81
|
+
taskID: string;
|
82
|
+
/**
|
83
|
+
* The type of the task
|
84
|
+
*/
|
85
|
+
type: string;
|
86
|
+
/**
|
87
|
+
* The status of the task
|
88
|
+
*/
|
89
|
+
status: TaskStatus;
|
90
|
+
/**
|
91
|
+
* Any error message associated with the task
|
92
|
+
*/
|
93
|
+
error?: string;
|
94
|
+
};
|
95
|
+
/**
|
96
|
+
* @maxLength 255
|
97
|
+
* @minLength 1
|
98
|
+
* @pattern [a-zA-Z0-9_\-~]+
|
99
|
+
*/
|
100
|
+
type TaskID = string;
|
101
|
+
/**
|
102
|
+
* @x-internal true
|
103
|
+
* @pattern [a-zA-Z0-9_-~:]+
|
104
|
+
*/
|
105
|
+
type ClusterID$1 = string;
|
106
|
+
/**
|
107
|
+
* Page size.
|
108
|
+
*
|
109
|
+
* @x-internal true
|
110
|
+
* @default 25
|
111
|
+
* @minimum 0
|
112
|
+
*/
|
113
|
+
type PageSize$1 = number;
|
114
|
+
/**
|
115
|
+
* Page token
|
116
|
+
*
|
117
|
+
* @x-internal true
|
118
|
+
* @maxLength 255
|
119
|
+
* @minLength 24
|
120
|
+
*/
|
121
|
+
type PageToken$1 = string;
|
122
|
+
/**
|
123
|
+
* @format date-time
|
124
|
+
* @x-go-type string
|
125
|
+
*/
|
126
|
+
type DateTime$1 = string;
|
127
|
+
/**
|
128
|
+
* @x-internal true
|
129
|
+
*/
|
130
|
+
type BranchDetails = {
|
131
|
+
name: string;
|
132
|
+
id: string;
|
133
|
+
/**
|
134
|
+
* The cluster where this branch resides.
|
135
|
+
*
|
136
|
+
* @minLength 1
|
137
|
+
*/
|
138
|
+
clusterID: string;
|
139
|
+
state: string;
|
140
|
+
createdAt: DateTime$1;
|
141
|
+
databaseName: string;
|
142
|
+
databaseID: string;
|
143
|
+
};
|
144
|
+
/**
|
145
|
+
* @x-internal true
|
146
|
+
*/
|
147
|
+
type PageResponse$1 = {
|
148
|
+
size: number;
|
149
|
+
hasMore: boolean;
|
150
|
+
token?: string;
|
151
|
+
};
|
152
|
+
/**
|
153
|
+
* @x-internal true
|
154
|
+
*/
|
155
|
+
type ListClusterBranchesResponse = {
|
156
|
+
branches: BranchDetails[];
|
157
|
+
page?: PageResponse$1;
|
158
|
+
};
|
159
|
+
/**
|
160
|
+
* @x-internal true
|
161
|
+
*/
|
162
|
+
type ExtensionDetails = {
|
163
|
+
name: string;
|
164
|
+
description: string;
|
165
|
+
builtIn: boolean;
|
166
|
+
status: 'installed' | 'not_installed';
|
167
|
+
version: string;
|
168
|
+
};
|
169
|
+
/**
|
170
|
+
* @x-internal true
|
171
|
+
*/
|
172
|
+
type ListClusterExtensionsResponse = {
|
173
|
+
extensions: ExtensionDetails[];
|
174
|
+
};
|
175
|
+
/**
|
176
|
+
* @x-internal true
|
177
|
+
*/
|
178
|
+
type ClusterExtensionInstallationResponse = {
|
179
|
+
extension: string;
|
180
|
+
status: 'success' | 'failure';
|
181
|
+
reason?: string;
|
182
|
+
};
|
183
|
+
/**
|
184
|
+
* @x-internal true
|
185
|
+
*/
|
186
|
+
type MetricMessage = {
|
187
|
+
code?: string;
|
188
|
+
value?: string;
|
189
|
+
};
|
190
|
+
/**
|
191
|
+
* @x-internal true
|
192
|
+
*/
|
193
|
+
type MetricData = {
|
194
|
+
id?: string;
|
195
|
+
label?: string;
|
196
|
+
messages?: MetricMessage[] | null;
|
197
|
+
status: 'complete' | 'error' | 'partial' | 'forbidden';
|
198
|
+
timestamps: string[];
|
199
|
+
values: number[];
|
200
|
+
};
|
201
|
+
/**
|
202
|
+
* @x-internal true
|
203
|
+
*/
|
204
|
+
type MetricsResponse = {
|
205
|
+
metrics: MetricData[];
|
206
|
+
messages: MetricMessage[];
|
207
|
+
page?: PageResponse$1;
|
208
|
+
};
|
76
209
|
/**
|
77
210
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
78
211
|
*
|
@@ -93,6 +226,18 @@ type StartMigrationResponse = {
|
|
93
226
|
*/
|
94
227
|
jobID: string;
|
95
228
|
};
|
229
|
+
type CompleteMigrationResponse = {
|
230
|
+
/**
|
231
|
+
* The id of the migration job
|
232
|
+
*/
|
233
|
+
jobID: string;
|
234
|
+
};
|
235
|
+
type RollbackMigrationResponse = {
|
236
|
+
/**
|
237
|
+
* The id of the migration job
|
238
|
+
*/
|
239
|
+
jobID: string;
|
240
|
+
};
|
96
241
|
/**
|
97
242
|
* @maxLength 255
|
98
243
|
* @minLength 1
|
@@ -101,6 +246,95 @@ type StartMigrationResponse = {
|
|
101
246
|
type TableName = string;
|
102
247
|
type MigrationJobType = 'apply' | 'start' | 'complete' | 'rollback';
|
103
248
|
type MigrationJobStatus = 'pending' | 'in_progress' | 'completed' | 'failed';
|
249
|
+
/**
|
250
|
+
* The effect of a migration operation in terms of CRUD operations on the underlying schema
|
251
|
+
*/
|
252
|
+
type MigrationOperationDescription = {
|
253
|
+
/**
|
254
|
+
* A new database object created by the operation
|
255
|
+
*/
|
256
|
+
create?: {
|
257
|
+
/**
|
258
|
+
* The type of object created
|
259
|
+
*/
|
260
|
+
type: 'table' | 'column' | 'index';
|
261
|
+
/**
|
262
|
+
* The name of the object created
|
263
|
+
*/
|
264
|
+
name: string;
|
265
|
+
/**
|
266
|
+
* The name of the table on which the object is created, if applicable
|
267
|
+
*/
|
268
|
+
table?: string;
|
269
|
+
/**
|
270
|
+
* The mapping between the virtual and physical name of the new object, if applicable
|
271
|
+
*/
|
272
|
+
mapping?: Record<string, any>;
|
273
|
+
};
|
274
|
+
/**
|
275
|
+
* A database object updated by the operation
|
276
|
+
*/
|
277
|
+
update?: {
|
278
|
+
/**
|
279
|
+
* The type of updated object
|
280
|
+
*/
|
281
|
+
type: 'table' | 'column';
|
282
|
+
/**
|
283
|
+
* The name of the updated object
|
284
|
+
*/
|
285
|
+
name: string;
|
286
|
+
/**
|
287
|
+
* The name of the table on which the object is updated, if applicable
|
288
|
+
*/
|
289
|
+
table?: string;
|
290
|
+
/**
|
291
|
+
* The mapping between the virtual and physical name of the updated object, if applicable
|
292
|
+
*/
|
293
|
+
mapping?: Record<string, any>;
|
294
|
+
};
|
295
|
+
/**
|
296
|
+
* A database object renamed by the operation
|
297
|
+
*/
|
298
|
+
rename?: {
|
299
|
+
/**
|
300
|
+
* The type of the renamed object
|
301
|
+
*/
|
302
|
+
type: 'table' | 'column' | 'constraint';
|
303
|
+
/**
|
304
|
+
* The name of the table on which the object is renamed, if applicable
|
305
|
+
*/
|
306
|
+
table?: string;
|
307
|
+
/**
|
308
|
+
* The old name of the renamed object
|
309
|
+
*/
|
310
|
+
from: string;
|
311
|
+
/**
|
312
|
+
* The new name of the renamed object
|
313
|
+
*/
|
314
|
+
to: string;
|
315
|
+
};
|
316
|
+
/**
|
317
|
+
* A database object deleted by the operation
|
318
|
+
*/
|
319
|
+
['delete']?: {
|
320
|
+
/**
|
321
|
+
* The type of the deleted object
|
322
|
+
*/
|
323
|
+
type: 'table' | 'column' | 'constraint' | 'index';
|
324
|
+
/**
|
325
|
+
* The name of the deleted object
|
326
|
+
*/
|
327
|
+
name: string;
|
328
|
+
/**
|
329
|
+
* The name of the table on which the object is deleted, if applicable
|
330
|
+
*/
|
331
|
+
table: string;
|
332
|
+
};
|
333
|
+
};
|
334
|
+
/**
|
335
|
+
* @minItems 1
|
336
|
+
*/
|
337
|
+
type MigrationDescription = MigrationOperationDescription[];
|
104
338
|
type MigrationJobStatusResponse = {
|
105
339
|
/**
|
106
340
|
* The id of the migration job
|
@@ -114,11 +348,69 @@ type MigrationJobStatusResponse = {
|
|
114
348
|
* The status of the migration job
|
115
349
|
*/
|
116
350
|
status: MigrationJobStatus;
|
351
|
+
/**
|
352
|
+
* The effect of any active migration on the schema
|
353
|
+
*/
|
354
|
+
description?: MigrationDescription;
|
355
|
+
/**
|
356
|
+
* The timestamp at which the migration job completed or failed
|
357
|
+
*
|
358
|
+
* @format date-time
|
359
|
+
*/
|
360
|
+
completedAt?: string;
|
361
|
+
/**
|
362
|
+
* The error message associated with the migration job
|
363
|
+
*/
|
364
|
+
error?: string;
|
365
|
+
};
|
366
|
+
type MigrationJobItem = {
|
367
|
+
/**
|
368
|
+
* The id of the migration job
|
369
|
+
*/
|
370
|
+
jobID: string;
|
371
|
+
/**
|
372
|
+
* The type of the migration job
|
373
|
+
*/
|
374
|
+
type: MigrationJobType;
|
375
|
+
/**
|
376
|
+
* The status of the migration job
|
377
|
+
*/
|
378
|
+
status: MigrationJobStatus;
|
379
|
+
/**
|
380
|
+
* The pgroll migration that was applied
|
381
|
+
*/
|
382
|
+
migration?: string;
|
383
|
+
/**
|
384
|
+
* The effect of any active migration on the schema
|
385
|
+
*/
|
386
|
+
description?: MigrationDescription;
|
387
|
+
/**
|
388
|
+
* The timestamp at which the migration job was enqueued
|
389
|
+
*
|
390
|
+
* @format date-time
|
391
|
+
*/
|
392
|
+
enqueuedAt: string;
|
393
|
+
/**
|
394
|
+
* The timestamp at which the migration job completed or failed
|
395
|
+
*
|
396
|
+
* @format date-time
|
397
|
+
*/
|
398
|
+
completedAt?: string;
|
117
399
|
/**
|
118
400
|
* The error message associated with the migration job
|
119
401
|
*/
|
120
402
|
error?: string;
|
121
403
|
};
|
404
|
+
type GetMigrationJobsResponse = {
|
405
|
+
/**
|
406
|
+
* The list of migration jobs
|
407
|
+
*/
|
408
|
+
jobs: MigrationJobItem[];
|
409
|
+
/**
|
410
|
+
* The cursor (timestamp) for the next page of results
|
411
|
+
*/
|
412
|
+
cursor?: string;
|
413
|
+
};
|
122
414
|
/**
|
123
415
|
* @maxLength 255
|
124
416
|
* @minLength 1
|
@@ -131,6 +423,10 @@ type MigrationHistoryItem = {
|
|
131
423
|
* The name of the migration
|
132
424
|
*/
|
133
425
|
name: string;
|
426
|
+
/**
|
427
|
+
* The schema in which the migration was applied
|
428
|
+
*/
|
429
|
+
schema: string;
|
134
430
|
/**
|
135
431
|
* The pgroll migration that was applied
|
136
432
|
*/
|
@@ -159,6 +455,10 @@ type MigrationHistoryResponse = {
|
|
159
455
|
* The migrations that have been applied to the branch
|
160
456
|
*/
|
161
457
|
migrations: MigrationHistoryItem[];
|
458
|
+
/**
|
459
|
+
* The cursor (timestamp) for the next page of results
|
460
|
+
*/
|
461
|
+
cursor?: string;
|
162
462
|
};
|
163
463
|
/**
|
164
464
|
* @maxLength 255
|
@@ -167,10 +467,9 @@ type MigrationHistoryResponse = {
|
|
167
467
|
*/
|
168
468
|
type DBName$1 = string;
|
169
469
|
/**
|
170
|
-
*
|
171
|
-
* @x-go-type string
|
470
|
+
* Represent the state of the branch, used for branch lifecycle management
|
172
471
|
*/
|
173
|
-
type
|
472
|
+
type BranchState = 'active' | 'move_scheduled' | 'moving';
|
174
473
|
type Branch = {
|
175
474
|
name: string;
|
176
475
|
/**
|
@@ -179,7 +478,10 @@ type Branch = {
|
|
179
478
|
* @minLength 1
|
180
479
|
*/
|
181
480
|
clusterID?: string;
|
481
|
+
state: BranchState;
|
182
482
|
createdAt: DateTime$1;
|
483
|
+
searchDisabled?: boolean;
|
484
|
+
inactiveSharedCluster?: boolean;
|
183
485
|
};
|
184
486
|
type ListBranchesResponse = {
|
185
487
|
databaseName: string;
|
@@ -210,6 +512,12 @@ type BranchMetadata$1 = {
|
|
210
512
|
stage?: string;
|
211
513
|
labels?: string[];
|
212
514
|
};
|
515
|
+
type CreateBranchResponse$1 = {
|
516
|
+
/**
|
517
|
+
* The id of the branch creation task
|
518
|
+
*/
|
519
|
+
taskID: string;
|
520
|
+
};
|
213
521
|
type StartedFromMetadata = {
|
214
522
|
branchName: BranchName$1;
|
215
523
|
dbBranchID: string;
|
@@ -269,6 +577,7 @@ type DBBranch = {
|
|
269
577
|
*/
|
270
578
|
clusterID?: string;
|
271
579
|
version: number;
|
580
|
+
state: BranchState;
|
272
581
|
lastMigrationID: string;
|
273
582
|
metadata?: BranchMetadata$1;
|
274
583
|
startedFrom?: StartedFromMetadata;
|
@@ -1504,6 +1813,57 @@ type FileSignature = string;
|
|
1504
1813
|
type SQLRecord = {
|
1505
1814
|
[key: string]: any;
|
1506
1815
|
};
|
1816
|
+
/**
|
1817
|
+
* @default strong
|
1818
|
+
*/
|
1819
|
+
type SQLConsistency = 'strong' | 'eventual';
|
1820
|
+
/**
|
1821
|
+
* @default json
|
1822
|
+
*/
|
1823
|
+
type SQLResponseType$1 = 'json' | 'array';
|
1824
|
+
type PreparedStatement = {
|
1825
|
+
/**
|
1826
|
+
* The SQL statement.
|
1827
|
+
*
|
1828
|
+
* @minLength 1
|
1829
|
+
*/
|
1830
|
+
statement: string;
|
1831
|
+
/**
|
1832
|
+
* The query parameter list.
|
1833
|
+
*
|
1834
|
+
* @x-go-type []any
|
1835
|
+
*/
|
1836
|
+
params?: any[] | null;
|
1837
|
+
};
|
1838
|
+
type SQLResponseBase = {
|
1839
|
+
/**
|
1840
|
+
* Name of the column and its PostgreSQL type
|
1841
|
+
*
|
1842
|
+
* @x-go-type []sqlproxy.ColumnMeta
|
1843
|
+
*/
|
1844
|
+
columns: {
|
1845
|
+
name: string;
|
1846
|
+
type: string;
|
1847
|
+
}[];
|
1848
|
+
/**
|
1849
|
+
* Number of selected columns
|
1850
|
+
*/
|
1851
|
+
total: number;
|
1852
|
+
warning?: string;
|
1853
|
+
};
|
1854
|
+
type SQLResponseJSON = SQLResponseBase & {
|
1855
|
+
/**
|
1856
|
+
* @x-go-type []xata.Record
|
1857
|
+
*/
|
1858
|
+
records: SQLRecord[];
|
1859
|
+
};
|
1860
|
+
type SQLResponseArray = SQLResponseBase & {
|
1861
|
+
/**
|
1862
|
+
* @x-go-type []xata.Row
|
1863
|
+
*/
|
1864
|
+
rows: any[][];
|
1865
|
+
};
|
1866
|
+
type SQLResponse$1 = SQLResponseJSON | SQLResponseArray;
|
1507
1867
|
/**
|
1508
1868
|
* Xata Table Record Metadata
|
1509
1869
|
*/
|
@@ -1606,21 +1966,9 @@ type AggResponse = {
|
|
1606
1966
|
[key: string]: AggResponse$1;
|
1607
1967
|
};
|
1608
1968
|
};
|
1609
|
-
type SQLResponse =
|
1610
|
-
|
1611
|
-
|
1612
|
-
/**
|
1613
|
-
* Name of the column and its PostgreSQL type
|
1614
|
-
*/
|
1615
|
-
columns?: {
|
1616
|
-
name?: string;
|
1617
|
-
type?: string;
|
1618
|
-
}[];
|
1619
|
-
/**
|
1620
|
-
* Number of selected columns
|
1621
|
-
*/
|
1622
|
-
total?: number;
|
1623
|
-
warning?: string;
|
1969
|
+
type SQLResponse = SQLResponse$1;
|
1970
|
+
type SQLBatchResponse = {
|
1971
|
+
results: SQLResponse$1[];
|
1624
1972
|
};
|
1625
1973
|
|
1626
1974
|
declare class ErrorWithCause extends Error {
|
@@ -1680,6 +2028,215 @@ type ErrorWrapper$1<TError> = TError | {
|
|
1680
2028
|
* @version 1.0
|
1681
2029
|
*/
|
1682
2030
|
|
2031
|
+
type GetTasksPathParams = {
|
2032
|
+
workspace: string;
|
2033
|
+
region: string;
|
2034
|
+
};
|
2035
|
+
type GetTasksError = ErrorWrapper$1<{
|
2036
|
+
status: 400;
|
2037
|
+
payload: BadRequestError$1;
|
2038
|
+
} | {
|
2039
|
+
status: 401;
|
2040
|
+
payload: AuthError$1;
|
2041
|
+
} | {
|
2042
|
+
status: 404;
|
2043
|
+
payload: SimpleError$1;
|
2044
|
+
}>;
|
2045
|
+
type GetTasksResponse = TaskStatusResponse[];
|
2046
|
+
type GetTasksVariables = {
|
2047
|
+
pathParams: GetTasksPathParams;
|
2048
|
+
} & DataPlaneFetcherExtraProps;
|
2049
|
+
declare const getTasks: (variables: GetTasksVariables, signal?: AbortSignal) => Promise<GetTasksResponse>;
|
2050
|
+
type GetTaskStatusPathParams = {
|
2051
|
+
/**
|
2052
|
+
* The id of the branch creation task
|
2053
|
+
*/
|
2054
|
+
taskId: TaskID;
|
2055
|
+
workspace: string;
|
2056
|
+
region: string;
|
2057
|
+
};
|
2058
|
+
type GetTaskStatusError = ErrorWrapper$1<{
|
2059
|
+
status: 400;
|
2060
|
+
payload: BadRequestError$1;
|
2061
|
+
} | {
|
2062
|
+
status: 401;
|
2063
|
+
payload: AuthError$1;
|
2064
|
+
} | {
|
2065
|
+
status: 404;
|
2066
|
+
payload: SimpleError$1;
|
2067
|
+
}>;
|
2068
|
+
type GetTaskStatusVariables = {
|
2069
|
+
pathParams: GetTaskStatusPathParams;
|
2070
|
+
} & DataPlaneFetcherExtraProps;
|
2071
|
+
declare const getTaskStatus: (variables: GetTaskStatusVariables, signal?: AbortSignal) => Promise<TaskStatusResponse>;
|
2072
|
+
type ListClusterBranchesPathParams = {
|
2073
|
+
/**
|
2074
|
+
* Cluster ID
|
2075
|
+
*/
|
2076
|
+
clusterId: ClusterID$1;
|
2077
|
+
workspace: string;
|
2078
|
+
region: string;
|
2079
|
+
};
|
2080
|
+
type ListClusterBranchesQueryParams = {
|
2081
|
+
/**
|
2082
|
+
* Page size
|
2083
|
+
*/
|
2084
|
+
page?: PageSize$1;
|
2085
|
+
/**
|
2086
|
+
* Page token
|
2087
|
+
*/
|
2088
|
+
token?: PageToken$1;
|
2089
|
+
};
|
2090
|
+
type ListClusterBranchesError = ErrorWrapper$1<{
|
2091
|
+
status: 400;
|
2092
|
+
payload: BadRequestError$1;
|
2093
|
+
} | {
|
2094
|
+
status: 401;
|
2095
|
+
payload: AuthError$1;
|
2096
|
+
}>;
|
2097
|
+
type ListClusterBranchesVariables = {
|
2098
|
+
pathParams: ListClusterBranchesPathParams;
|
2099
|
+
queryParams?: ListClusterBranchesQueryParams;
|
2100
|
+
} & DataPlaneFetcherExtraProps;
|
2101
|
+
/**
|
2102
|
+
* Retrieve branches for given cluster ID
|
2103
|
+
*/
|
2104
|
+
declare const listClusterBranches: (variables: ListClusterBranchesVariables, signal?: AbortSignal) => Promise<ListClusterBranchesResponse>;
|
2105
|
+
type ListClusterExtensionsPathParams = {
|
2106
|
+
/**
|
2107
|
+
* Cluster ID
|
2108
|
+
*/
|
2109
|
+
clusterId: ClusterID$1;
|
2110
|
+
workspace: string;
|
2111
|
+
region: string;
|
2112
|
+
};
|
2113
|
+
type ListClusterExtensionsQueryParams = {
|
2114
|
+
extensionType: 'available' | 'installed';
|
2115
|
+
};
|
2116
|
+
type ListClusterExtensionsError = ErrorWrapper$1<{
|
2117
|
+
status: 400;
|
2118
|
+
payload: BadRequestError$1;
|
2119
|
+
} | {
|
2120
|
+
status: 401;
|
2121
|
+
payload: AuthError$1;
|
2122
|
+
}>;
|
2123
|
+
type ListClusterExtensionsVariables = {
|
2124
|
+
pathParams: ListClusterExtensionsPathParams;
|
2125
|
+
queryParams: ListClusterExtensionsQueryParams;
|
2126
|
+
} & DataPlaneFetcherExtraProps;
|
2127
|
+
/**
|
2128
|
+
* Retrieve extensions for given cluster ID
|
2129
|
+
*/
|
2130
|
+
declare const listClusterExtensions: (variables: ListClusterExtensionsVariables, signal?: AbortSignal) => Promise<ListClusterExtensionsResponse>;
|
2131
|
+
type InstallClusterExtensionPathParams = {
|
2132
|
+
/**
|
2133
|
+
* Cluster ID
|
2134
|
+
*/
|
2135
|
+
clusterId: ClusterID$1;
|
2136
|
+
workspace: string;
|
2137
|
+
region: string;
|
2138
|
+
};
|
2139
|
+
type InstallClusterExtensionError = ErrorWrapper$1<{
|
2140
|
+
status: 400;
|
2141
|
+
payload: BadRequestError$1;
|
2142
|
+
} | {
|
2143
|
+
status: 401;
|
2144
|
+
payload: AuthError$1;
|
2145
|
+
}>;
|
2146
|
+
type InstallClusterExtensionRequestBody = {
|
2147
|
+
/**
|
2148
|
+
* Extension name
|
2149
|
+
*/
|
2150
|
+
extension: string;
|
2151
|
+
/**
|
2152
|
+
* Schema name
|
2153
|
+
*/
|
2154
|
+
schema?: string;
|
2155
|
+
/**
|
2156
|
+
* install with cascade option
|
2157
|
+
*/
|
2158
|
+
cascade?: boolean;
|
2159
|
+
};
|
2160
|
+
type InstallClusterExtensionVariables = {
|
2161
|
+
body: InstallClusterExtensionRequestBody;
|
2162
|
+
pathParams: InstallClusterExtensionPathParams;
|
2163
|
+
} & DataPlaneFetcherExtraProps;
|
2164
|
+
/**
|
2165
|
+
* Install an extension for given cluster ID
|
2166
|
+
*/
|
2167
|
+
declare const installClusterExtension: (variables: InstallClusterExtensionVariables, signal?: AbortSignal) => Promise<ClusterExtensionInstallationResponse>;
|
2168
|
+
type DropClusterExtensionPathParams = {
|
2169
|
+
/**
|
2170
|
+
* Cluster ID
|
2171
|
+
*/
|
2172
|
+
clusterId: ClusterID$1;
|
2173
|
+
workspace: string;
|
2174
|
+
region: string;
|
2175
|
+
};
|
2176
|
+
type DropClusterExtensionError = ErrorWrapper$1<{
|
2177
|
+
status: 400;
|
2178
|
+
payload: BadRequestError$1;
|
2179
|
+
} | {
|
2180
|
+
status: 401;
|
2181
|
+
payload: AuthError$1;
|
2182
|
+
}>;
|
2183
|
+
type DropClusterExtensionRequestBody = {
|
2184
|
+
/**
|
2185
|
+
* Extension name
|
2186
|
+
*/
|
2187
|
+
extension: string;
|
2188
|
+
/**
|
2189
|
+
* drop with cascade option, true by default
|
2190
|
+
*/
|
2191
|
+
cascade?: boolean;
|
2192
|
+
};
|
2193
|
+
type DropClusterExtensionVariables = {
|
2194
|
+
body: DropClusterExtensionRequestBody;
|
2195
|
+
pathParams: DropClusterExtensionPathParams;
|
2196
|
+
} & DataPlaneFetcherExtraProps;
|
2197
|
+
/**
|
2198
|
+
* Drop an extension for given cluster ID
|
2199
|
+
*/
|
2200
|
+
declare const dropClusterExtension: (variables: DropClusterExtensionVariables, signal?: AbortSignal) => Promise<undefined>;
|
2201
|
+
type GetClusterMetricsPathParams = {
|
2202
|
+
/**
|
2203
|
+
* Cluster ID
|
2204
|
+
*/
|
2205
|
+
clusterId: ClusterID$1;
|
2206
|
+
workspace: string;
|
2207
|
+
region: string;
|
2208
|
+
};
|
2209
|
+
type GetClusterMetricsQueryParams = {
|
2210
|
+
startTime: string;
|
2211
|
+
endTime: string;
|
2212
|
+
period: '5min' | '15min' | '1hour';
|
2213
|
+
/**
|
2214
|
+
* Page size
|
2215
|
+
*/
|
2216
|
+
page?: PageSize$1;
|
2217
|
+
/**
|
2218
|
+
* Page token
|
2219
|
+
*/
|
2220
|
+
token?: PageToken$1;
|
2221
|
+
};
|
2222
|
+
type GetClusterMetricsError = ErrorWrapper$1<{
|
2223
|
+
status: 400;
|
2224
|
+
payload: BadRequestError$1;
|
2225
|
+
} | {
|
2226
|
+
status: 401;
|
2227
|
+
payload: AuthError$1;
|
2228
|
+
} | {
|
2229
|
+
status: 404;
|
2230
|
+
payload: SimpleError$1;
|
2231
|
+
}>;
|
2232
|
+
type GetClusterMetricsVariables = {
|
2233
|
+
pathParams: GetClusterMetricsPathParams;
|
2234
|
+
queryParams: GetClusterMetricsQueryParams;
|
2235
|
+
} & DataPlaneFetcherExtraProps;
|
2236
|
+
/**
|
2237
|
+
* retrieve a standard set of RDS cluster metrics
|
2238
|
+
*/
|
2239
|
+
declare const getClusterMetrics: (variables: GetClusterMetricsVariables, signal?: AbortSignal) => Promise<MetricsResponse>;
|
1683
2240
|
type ApplyMigrationPathParams = {
|
1684
2241
|
/**
|
1685
2242
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -1706,6 +2263,12 @@ type ApplyMigrationRequestBody = {
|
|
1706
2263
|
operations: {
|
1707
2264
|
[key: string]: any;
|
1708
2265
|
}[];
|
2266
|
+
/**
|
2267
|
+
* The schema in which the migration should be applied
|
2268
|
+
*
|
2269
|
+
* @default public
|
2270
|
+
*/
|
2271
|
+
schema?: string;
|
1709
2272
|
adaptTables?: boolean;
|
1710
2273
|
};
|
1711
2274
|
type ApplyMigrationVariables = {
|
@@ -1742,16 +2305,89 @@ type StartMigrationRequestBody = {
|
|
1742
2305
|
operations: {
|
1743
2306
|
[key: string]: any;
|
1744
2307
|
}[];
|
1745
|
-
|
2308
|
+
/**
|
2309
|
+
* The schema in which the migration should be started
|
2310
|
+
*
|
2311
|
+
* @default public
|
2312
|
+
*/
|
2313
|
+
schema?: string;
|
2314
|
+
};
|
2315
|
+
type StartMigrationVariables = {
|
2316
|
+
body: StartMigrationRequestBody;
|
2317
|
+
pathParams: StartMigrationPathParams;
|
2318
|
+
} & DataPlaneFetcherExtraProps;
|
2319
|
+
/**
|
2320
|
+
* Starts a pgroll migration on the specified database.
|
2321
|
+
*/
|
2322
|
+
declare const startMigration: (variables: StartMigrationVariables, signal?: AbortSignal) => Promise<StartMigrationResponse>;
|
2323
|
+
type CompleteMigrationPathParams = {
|
2324
|
+
/**
|
2325
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2326
|
+
*/
|
2327
|
+
dbBranchName: DBBranchName;
|
2328
|
+
workspace: string;
|
2329
|
+
region: string;
|
2330
|
+
};
|
2331
|
+
type CompleteMigrationError = ErrorWrapper$1<{
|
2332
|
+
status: 400;
|
2333
|
+
payload: BadRequestError$1;
|
2334
|
+
} | {
|
2335
|
+
status: 401;
|
2336
|
+
payload: AuthError$1;
|
2337
|
+
} | {
|
2338
|
+
status: 404;
|
2339
|
+
payload: SimpleError$1;
|
2340
|
+
}>;
|
2341
|
+
type CompleteMigrationRequestBody = {
|
2342
|
+
/**
|
2343
|
+
* The schema in which the migration should be completed
|
2344
|
+
*
|
2345
|
+
* @default public
|
2346
|
+
*/
|
2347
|
+
schema?: string;
|
2348
|
+
};
|
2349
|
+
type CompleteMigrationVariables = {
|
2350
|
+
body?: CompleteMigrationRequestBody;
|
2351
|
+
pathParams: CompleteMigrationPathParams;
|
2352
|
+
} & DataPlaneFetcherExtraProps;
|
2353
|
+
/**
|
2354
|
+
* Complete an active migration on the specified database
|
2355
|
+
*/
|
2356
|
+
declare const completeMigration: (variables: CompleteMigrationVariables, signal?: AbortSignal) => Promise<CompleteMigrationResponse>;
|
2357
|
+
type RollbackMigrationPathParams = {
|
2358
|
+
/**
|
2359
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2360
|
+
*/
|
2361
|
+
dbBranchName: DBBranchName;
|
2362
|
+
workspace: string;
|
2363
|
+
region: string;
|
2364
|
+
};
|
2365
|
+
type RollbackMigrationError = ErrorWrapper$1<{
|
2366
|
+
status: 400;
|
2367
|
+
payload: BadRequestError$1;
|
2368
|
+
} | {
|
2369
|
+
status: 401;
|
2370
|
+
payload: AuthError$1;
|
2371
|
+
} | {
|
2372
|
+
status: 404;
|
2373
|
+
payload: SimpleError$1;
|
2374
|
+
}>;
|
2375
|
+
type RollbackMigrationRequestBody = {
|
2376
|
+
/**
|
2377
|
+
* The schema in which the migration should be rolled back
|
2378
|
+
*
|
2379
|
+
* @default public
|
2380
|
+
*/
|
2381
|
+
schema?: string;
|
1746
2382
|
};
|
1747
|
-
type
|
1748
|
-
body
|
1749
|
-
pathParams:
|
2383
|
+
type RollbackMigrationVariables = {
|
2384
|
+
body?: RollbackMigrationRequestBody;
|
2385
|
+
pathParams: RollbackMigrationPathParams;
|
1750
2386
|
} & DataPlaneFetcherExtraProps;
|
1751
2387
|
/**
|
1752
|
-
*
|
2388
|
+
* Roll back an active migration on the specified database
|
1753
2389
|
*/
|
1754
|
-
declare const
|
2390
|
+
declare const rollbackMigration: (variables: RollbackMigrationVariables, signal?: AbortSignal) => Promise<RollbackMigrationResponse>;
|
1755
2391
|
type AdaptTablePathParams = {
|
1756
2392
|
/**
|
1757
2393
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -1828,6 +2464,39 @@ type GetBranchMigrationJobStatusVariables = {
|
|
1828
2464
|
pathParams: GetBranchMigrationJobStatusPathParams;
|
1829
2465
|
} & DataPlaneFetcherExtraProps;
|
1830
2466
|
declare const getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal) => Promise<MigrationJobStatusResponse>;
|
2467
|
+
type GetMigrationJobsPathParams = {
|
2468
|
+
/**
|
2469
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2470
|
+
*/
|
2471
|
+
dbBranchName: DBBranchName;
|
2472
|
+
workspace: string;
|
2473
|
+
region: string;
|
2474
|
+
};
|
2475
|
+
type GetMigrationJobsQueryParams = {
|
2476
|
+
/**
|
2477
|
+
* @format date-time
|
2478
|
+
*/
|
2479
|
+
cursor?: string;
|
2480
|
+
/**
|
2481
|
+
* Page size
|
2482
|
+
*/
|
2483
|
+
limit?: PageSize$1;
|
2484
|
+
};
|
2485
|
+
type GetMigrationJobsError = ErrorWrapper$1<{
|
2486
|
+
status: 400;
|
2487
|
+
payload: BadRequestError$1;
|
2488
|
+
} | {
|
2489
|
+
status: 401;
|
2490
|
+
payload: AuthError$1;
|
2491
|
+
} | {
|
2492
|
+
status: 404;
|
2493
|
+
payload: SimpleError$1;
|
2494
|
+
}>;
|
2495
|
+
type GetMigrationJobsVariables = {
|
2496
|
+
pathParams: GetMigrationJobsPathParams;
|
2497
|
+
queryParams?: GetMigrationJobsQueryParams;
|
2498
|
+
} & DataPlaneFetcherExtraProps;
|
2499
|
+
declare const getMigrationJobs: (variables: GetMigrationJobsVariables, signal?: AbortSignal) => Promise<GetMigrationJobsResponse>;
|
1831
2500
|
type GetMigrationJobStatusPathParams = {
|
1832
2501
|
/**
|
1833
2502
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -1862,6 +2531,16 @@ type GetMigrationHistoryPathParams = {
|
|
1862
2531
|
workspace: string;
|
1863
2532
|
region: string;
|
1864
2533
|
};
|
2534
|
+
type GetMigrationHistoryQueryParams = {
|
2535
|
+
/**
|
2536
|
+
* @format date-time
|
2537
|
+
*/
|
2538
|
+
cursor?: string;
|
2539
|
+
/**
|
2540
|
+
* Page size
|
2541
|
+
*/
|
2542
|
+
limit?: PageSize$1;
|
2543
|
+
};
|
1865
2544
|
type GetMigrationHistoryError = ErrorWrapper$1<{
|
1866
2545
|
status: 400;
|
1867
2546
|
payload: BadRequestError$1;
|
@@ -1874,6 +2553,7 @@ type GetMigrationHistoryError = ErrorWrapper$1<{
|
|
1874
2553
|
}>;
|
1875
2554
|
type GetMigrationHistoryVariables = {
|
1876
2555
|
pathParams: GetMigrationHistoryPathParams;
|
2556
|
+
queryParams?: GetMigrationHistoryQueryParams;
|
1877
2557
|
} & DataPlaneFetcherExtraProps;
|
1878
2558
|
declare const getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal) => Promise<MigrationHistoryResponse>;
|
1879
2559
|
type GetBranchListPathParams = {
|
@@ -1955,6 +2635,53 @@ type UpdateDatabaseSettingsVariables = {
|
|
1955
2635
|
* Update database settings, this endpoint can be used to disable search
|
1956
2636
|
*/
|
1957
2637
|
declare const updateDatabaseSettings: (variables: UpdateDatabaseSettingsVariables, signal?: AbortSignal) => Promise<DatabaseSettings>;
|
2638
|
+
type CreateBranchAsyncPathParams = {
|
2639
|
+
/**
|
2640
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2641
|
+
*/
|
2642
|
+
dbBranchName: DBBranchName;
|
2643
|
+
workspace: string;
|
2644
|
+
region: string;
|
2645
|
+
};
|
2646
|
+
type CreateBranchAsyncQueryParams = {
|
2647
|
+
/**
|
2648
|
+
* Name of source branch to branch the new schema from
|
2649
|
+
*/
|
2650
|
+
from?: string;
|
2651
|
+
};
|
2652
|
+
type CreateBranchAsyncError = ErrorWrapper$1<{
|
2653
|
+
status: 400;
|
2654
|
+
payload: BadRequestError$1;
|
2655
|
+
} | {
|
2656
|
+
status: 401;
|
2657
|
+
payload: AuthError$1;
|
2658
|
+
} | {
|
2659
|
+
status: 404;
|
2660
|
+
payload: SimpleError$1;
|
2661
|
+
} | {
|
2662
|
+
status: 423;
|
2663
|
+
payload: SimpleError$1;
|
2664
|
+
}>;
|
2665
|
+
type CreateBranchAsyncRequestBody = {
|
2666
|
+
/**
|
2667
|
+
* Select the branch to fork from. Defaults to 'main'
|
2668
|
+
*/
|
2669
|
+
from?: string;
|
2670
|
+
/**
|
2671
|
+
* Select the dedicated cluster to create on. Defaults to 'xata-cloud'
|
2672
|
+
*
|
2673
|
+
* @minLength 1
|
2674
|
+
* @x-internal true
|
2675
|
+
*/
|
2676
|
+
clusterID?: string;
|
2677
|
+
metadata?: BranchMetadata$1;
|
2678
|
+
};
|
2679
|
+
type CreateBranchAsyncVariables = {
|
2680
|
+
body?: CreateBranchAsyncRequestBody;
|
2681
|
+
pathParams: CreateBranchAsyncPathParams;
|
2682
|
+
queryParams?: CreateBranchAsyncQueryParams;
|
2683
|
+
} & DataPlaneFetcherExtraProps;
|
2684
|
+
declare const createBranchAsync: (variables: CreateBranchAsyncVariables, signal?: AbortSignal) => Promise<CreateBranchResponse$1>;
|
1958
2685
|
type GetBranchDetailsPathParams = {
|
1959
2686
|
/**
|
1960
2687
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -2088,6 +2815,31 @@ type GetSchemaVariables = {
|
|
2088
2815
|
pathParams: GetSchemaPathParams;
|
2089
2816
|
} & DataPlaneFetcherExtraProps;
|
2090
2817
|
declare const getSchema: (variables: GetSchemaVariables, signal?: AbortSignal) => Promise<GetSchemaResponse>;
|
2818
|
+
type GetSchemasPathParams = {
|
2819
|
+
/**
|
2820
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2821
|
+
*/
|
2822
|
+
dbBranchName: DBBranchName;
|
2823
|
+
workspace: string;
|
2824
|
+
region: string;
|
2825
|
+
};
|
2826
|
+
type GetSchemasError = ErrorWrapper$1<{
|
2827
|
+
status: 400;
|
2828
|
+
payload: BadRequestError$1;
|
2829
|
+
} | {
|
2830
|
+
status: 401;
|
2831
|
+
payload: AuthError$1;
|
2832
|
+
} | {
|
2833
|
+
status: 404;
|
2834
|
+
payload: SimpleError$1;
|
2835
|
+
}>;
|
2836
|
+
type GetSchemasResponse = {
|
2837
|
+
schemas: BranchSchema[];
|
2838
|
+
};
|
2839
|
+
type GetSchemasVariables = {
|
2840
|
+
pathParams: GetSchemasPathParams;
|
2841
|
+
} & DataPlaneFetcherExtraProps;
|
2842
|
+
declare const getSchemas: (variables: GetSchemasVariables, signal?: AbortSignal) => Promise<GetSchemasResponse>;
|
2091
2843
|
type CopyBranchPathParams = {
|
2092
2844
|
/**
|
2093
2845
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -2118,6 +2870,73 @@ type CopyBranchVariables = {
|
|
2118
2870
|
* Create a copy of the branch
|
2119
2871
|
*/
|
2120
2872
|
declare const copyBranch: (variables: CopyBranchVariables, signal?: AbortSignal) => Promise<BranchWithCopyID>;
|
2873
|
+
type GetBranchMoveStatusPathParams = {
|
2874
|
+
/**
|
2875
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2876
|
+
*/
|
2877
|
+
dbBranchName: DBBranchName;
|
2878
|
+
workspace: string;
|
2879
|
+
region: string;
|
2880
|
+
};
|
2881
|
+
type GetBranchMoveStatusError = ErrorWrapper$1<{
|
2882
|
+
status: 400;
|
2883
|
+
payload: BadRequestError$1;
|
2884
|
+
} | {
|
2885
|
+
status: 401;
|
2886
|
+
payload: AuthError$1;
|
2887
|
+
} | {
|
2888
|
+
status: 404;
|
2889
|
+
payload: SimpleError$1;
|
2890
|
+
}>;
|
2891
|
+
type GetBranchMoveStatusResponse = {
|
2892
|
+
state: string;
|
2893
|
+
pendingBytes: number;
|
2894
|
+
};
|
2895
|
+
type GetBranchMoveStatusVariables = {
|
2896
|
+
pathParams: GetBranchMoveStatusPathParams;
|
2897
|
+
} & DataPlaneFetcherExtraProps;
|
2898
|
+
/**
|
2899
|
+
* Get the branch move status (if a move is happening)
|
2900
|
+
*/
|
2901
|
+
declare const getBranchMoveStatus: (variables: GetBranchMoveStatusVariables, signal?: AbortSignal) => Promise<GetBranchMoveStatusResponse>;
|
2902
|
+
type MoveBranchPathParams = {
|
2903
|
+
/**
|
2904
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
2905
|
+
*/
|
2906
|
+
dbBranchName: DBBranchName;
|
2907
|
+
workspace: string;
|
2908
|
+
region: string;
|
2909
|
+
};
|
2910
|
+
type MoveBranchError = ErrorWrapper$1<{
|
2911
|
+
status: 400;
|
2912
|
+
payload: BadRequestError$1;
|
2913
|
+
} | {
|
2914
|
+
status: 401;
|
2915
|
+
payload: AuthError$1;
|
2916
|
+
} | {
|
2917
|
+
status: 404;
|
2918
|
+
payload: SimpleError$1;
|
2919
|
+
} | {
|
2920
|
+
status: 423;
|
2921
|
+
payload: SimpleError$1;
|
2922
|
+
}>;
|
2923
|
+
type MoveBranchResponse = {
|
2924
|
+
state: string;
|
2925
|
+
};
|
2926
|
+
type MoveBranchRequestBody = {
|
2927
|
+
/**
|
2928
|
+
* Select the cluster to move the branch to. Must be different from the current cluster.
|
2929
|
+
*
|
2930
|
+
* @minLength 1
|
2931
|
+
* @x-internal true
|
2932
|
+
*/
|
2933
|
+
to: string;
|
2934
|
+
};
|
2935
|
+
type MoveBranchVariables = {
|
2936
|
+
body: MoveBranchRequestBody;
|
2937
|
+
pathParams: MoveBranchPathParams;
|
2938
|
+
} & DataPlaneFetcherExtraProps;
|
2939
|
+
declare const moveBranch: (variables: MoveBranchVariables, signal?: AbortSignal) => Promise<MoveBranchResponse>;
|
2121
2940
|
type UpdateBranchMetadataPathParams = {
|
2122
2941
|
/**
|
2123
2942
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -5292,38 +6111,57 @@ type SqlQueryError = ErrorWrapper$1<{
|
|
5292
6111
|
status: 503;
|
5293
6112
|
payload: ServiceUnavailableError;
|
5294
6113
|
}>;
|
5295
|
-
type SqlQueryRequestBody = {
|
5296
|
-
|
5297
|
-
|
5298
|
-
|
5299
|
-
|
5300
|
-
|
5301
|
-
|
5302
|
-
|
5303
|
-
|
5304
|
-
|
5305
|
-
|
6114
|
+
type SqlQueryRequestBody = PreparedStatement & {
|
6115
|
+
consistency?: SQLConsistency;
|
6116
|
+
responseType?: SQLResponseType$1;
|
6117
|
+
};
|
6118
|
+
type SqlQueryVariables = {
|
6119
|
+
body: SqlQueryRequestBody;
|
6120
|
+
pathParams: SqlQueryPathParams;
|
6121
|
+
} & DataPlaneFetcherExtraProps;
|
6122
|
+
/**
|
6123
|
+
* Run an SQL query across the database branch.
|
6124
|
+
*/
|
6125
|
+
declare const sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse$1>;
|
6126
|
+
type SqlBatchQueryPathParams = {
|
5306
6127
|
/**
|
5307
|
-
* The
|
5308
|
-
*
|
5309
|
-
* @default strong
|
6128
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
5310
6129
|
*/
|
5311
|
-
|
6130
|
+
dbBranchName: DBBranchName;
|
6131
|
+
workspace: string;
|
6132
|
+
region: string;
|
6133
|
+
};
|
6134
|
+
type SqlBatchQueryError = ErrorWrapper$1<{
|
6135
|
+
status: 400;
|
6136
|
+
payload: BadRequestError$1;
|
6137
|
+
} | {
|
6138
|
+
status: 401;
|
6139
|
+
payload: AuthError$1;
|
6140
|
+
} | {
|
6141
|
+
status: 404;
|
6142
|
+
payload: SimpleError$1;
|
6143
|
+
} | {
|
6144
|
+
status: 503;
|
6145
|
+
payload: ServiceUnavailableError;
|
6146
|
+
}>;
|
6147
|
+
type SqlBatchQueryRequestBody = {
|
5312
6148
|
/**
|
5313
|
-
* The
|
6149
|
+
* The SQL statements.
|
5314
6150
|
*
|
5315
|
-
* @
|
6151
|
+
* @x-go-type []sqlproxy.PreparedStatement
|
5316
6152
|
*/
|
5317
|
-
|
6153
|
+
statements: PreparedStatement[];
|
6154
|
+
consistency?: SQLConsistency;
|
6155
|
+
responseType?: SQLResponseType$1;
|
5318
6156
|
};
|
5319
|
-
type
|
5320
|
-
body:
|
5321
|
-
pathParams:
|
6157
|
+
type SqlBatchQueryVariables = {
|
6158
|
+
body: SqlBatchQueryRequestBody;
|
6159
|
+
pathParams: SqlBatchQueryPathParams;
|
5322
6160
|
} & DataPlaneFetcherExtraProps;
|
5323
6161
|
/**
|
5324
|
-
* Run
|
6162
|
+
* Run multiple SQL queries across the database branch.
|
5325
6163
|
*/
|
5326
|
-
declare const
|
6164
|
+
declare const sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortSignal) => Promise<SQLBatchResponse>;
|
5327
6165
|
|
5328
6166
|
/**
|
5329
6167
|
* Generated by @openapi-codegen
|
@@ -5419,7 +6257,6 @@ type Workspace = WorkspaceMeta & {
|
|
5419
6257
|
plan: WorkspacePlan;
|
5420
6258
|
};
|
5421
6259
|
type WorkspaceSettings = {
|
5422
|
-
postgresEnabled: boolean;
|
5423
6260
|
dedicatedClusters: boolean;
|
5424
6261
|
};
|
5425
6262
|
type WorkspaceMember = {
|
@@ -5488,6 +6325,8 @@ type ClusterShortMetadata = {
|
|
5488
6325
|
* @format int64
|
5489
6326
|
*/
|
5490
6327
|
branches: number;
|
6328
|
+
createdAt: DateTime;
|
6329
|
+
terminatedAt?: DateTime;
|
5491
6330
|
};
|
5492
6331
|
/**
|
5493
6332
|
* @x-internal true
|
@@ -5575,11 +6414,38 @@ type MaintenanceConfig = {
|
|
5575
6414
|
maintenanceWindow?: WeeklyTimeWindow;
|
5576
6415
|
backupWindow?: DailyTimeWindow;
|
5577
6416
|
};
|
6417
|
+
/**
|
6418
|
+
* @x-internal true
|
6419
|
+
*/
|
6420
|
+
type StorageConfig = {
|
6421
|
+
/**
|
6422
|
+
* @default gp3
|
6423
|
+
*/
|
6424
|
+
storageType: 'gp3' | 'io1' | 'io2';
|
6425
|
+
/**
|
6426
|
+
* @format int64
|
6427
|
+
* @default 50
|
6428
|
+
* @maximum 65536
|
6429
|
+
* @minimum 20
|
6430
|
+
*/
|
6431
|
+
allocatedStorageGB?: number;
|
6432
|
+
/**
|
6433
|
+
* @format int64
|
6434
|
+
* @default 3000
|
6435
|
+
* @maximum 256000
|
6436
|
+
* @minimum 1000
|
6437
|
+
*/
|
6438
|
+
provisionedIOPS?: number;
|
6439
|
+
};
|
5578
6440
|
/**
|
5579
6441
|
* @x-internal true
|
5580
6442
|
*/
|
5581
6443
|
type ClusterConfiguration = {
|
5582
6444
|
engineVersion: string;
|
6445
|
+
/**
|
6446
|
+
* @default aurora
|
6447
|
+
*/
|
6448
|
+
engineType?: 'aurora' | 'rds';
|
5583
6449
|
instanceType: string;
|
5584
6450
|
/**
|
5585
6451
|
* @format int64
|
@@ -5598,6 +6464,7 @@ type ClusterConfiguration = {
|
|
5598
6464
|
deletionProtection?: boolean;
|
5599
6465
|
autoscaling?: AutoscalingConfig;
|
5600
6466
|
maintenance?: MaintenanceConfig;
|
6467
|
+
storage?: StorageConfig;
|
5601
6468
|
};
|
5602
6469
|
/**
|
5603
6470
|
* @x-internal true
|
@@ -5652,11 +6519,35 @@ type MaintenanceConfigResponse = {
|
|
5652
6519
|
maintenanceWindow: WeeklyTimeWindow;
|
5653
6520
|
backupWindow: DailyTimeWindow;
|
5654
6521
|
};
|
6522
|
+
/**
|
6523
|
+
* @x-internal true
|
6524
|
+
*/
|
6525
|
+
type StorageConfigResponse = {
|
6526
|
+
/**
|
6527
|
+
* @default gp3
|
6528
|
+
*/
|
6529
|
+
storageType: 'gp3' | 'io1' | 'io2';
|
6530
|
+
/**
|
6531
|
+
* @format int64
|
6532
|
+
* @default 50
|
6533
|
+
* @maximum 65536
|
6534
|
+
* @minimum 20
|
6535
|
+
*/
|
6536
|
+
allocatedStorageGB?: number;
|
6537
|
+
/**
|
6538
|
+
* @format int64
|
6539
|
+
* @default 3000
|
6540
|
+
* @maximum 256000
|
6541
|
+
* @minimum 1000
|
6542
|
+
*/
|
6543
|
+
provisionedIOPS?: number;
|
6544
|
+
};
|
5655
6545
|
/**
|
5656
6546
|
* @x-internal true
|
5657
6547
|
*/
|
5658
6548
|
type ClusterConfigurationResponse = {
|
5659
6549
|
engineVersion: string;
|
6550
|
+
engineType: 'aurora' | 'rds';
|
5660
6551
|
instanceType: string;
|
5661
6552
|
/**
|
5662
6553
|
* @format int64
|
@@ -5672,6 +6563,7 @@ type ClusterConfigurationResponse = {
|
|
5672
6563
|
deletionProtection: boolean;
|
5673
6564
|
autoscaling?: AutoscalingConfigResponse;
|
5674
6565
|
maintenance: MaintenanceConfigResponse;
|
6566
|
+
storage?: StorageConfigResponse;
|
5675
6567
|
};
|
5676
6568
|
/**
|
5677
6569
|
* @x-internal true
|
@@ -5690,9 +6582,15 @@ type ClusterMetadata = {
|
|
5690
6582
|
/**
|
5691
6583
|
* @x-internal true
|
5692
6584
|
*/
|
5693
|
-
type
|
6585
|
+
type ClusterDeleteMetadata = {
|
5694
6586
|
id: ClusterID;
|
5695
6587
|
state: string;
|
6588
|
+
region: string;
|
6589
|
+
name: string;
|
6590
|
+
/**
|
6591
|
+
* @format int64
|
6592
|
+
*/
|
6593
|
+
branches: number;
|
5696
6594
|
};
|
5697
6595
|
/**
|
5698
6596
|
* @x-internal true
|
@@ -5703,6 +6601,13 @@ type ClusterUpdateDetails = {
|
|
5703
6601
|
*/
|
5704
6602
|
command: string;
|
5705
6603
|
};
|
6604
|
+
/**
|
6605
|
+
* @x-internal true
|
6606
|
+
*/
|
6607
|
+
type ClusterUpdateMetadata = {
|
6608
|
+
id: ClusterID;
|
6609
|
+
state: string;
|
6610
|
+
};
|
5706
6611
|
/**
|
5707
6612
|
* Metadata of databases
|
5708
6613
|
*/
|
@@ -6132,6 +7037,7 @@ type GetWorkspacesListError = ErrorWrapper<{
|
|
6132
7037
|
type GetWorkspacesListResponse = {
|
6133
7038
|
workspaces: {
|
6134
7039
|
id: WorkspaceID;
|
7040
|
+
unique_id: string;
|
6135
7041
|
name: string;
|
6136
7042
|
slug: string;
|
6137
7043
|
role: Role;
|
@@ -6284,11 +7190,8 @@ type UpdateWorkspaceSettingsError = ErrorWrapper<{
|
|
6284
7190
|
status: 404;
|
6285
7191
|
payload: SimpleError;
|
6286
7192
|
}>;
|
6287
|
-
type UpdateWorkspaceSettingsRequestBody = {
|
6288
|
-
postgresEnabled: boolean;
|
6289
|
-
};
|
6290
7193
|
type UpdateWorkspaceSettingsVariables = {
|
6291
|
-
body
|
7194
|
+
body?: Record<string, any>;
|
6292
7195
|
pathParams: UpdateWorkspaceSettingsPathParams;
|
6293
7196
|
} & ControlPlaneFetcherExtraProps;
|
6294
7197
|
/**
|
@@ -6676,7 +7579,7 @@ type DeleteClusterVariables = {
|
|
6676
7579
|
/**
|
6677
7580
|
* Delete cluster with given cluster ID
|
6678
7581
|
*/
|
6679
|
-
declare const deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal) => Promise<
|
7582
|
+
declare const deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal) => Promise<ClusterDeleteMetadata>;
|
6680
7583
|
type GetDatabaseListPathParams = {
|
6681
7584
|
/**
|
6682
7585
|
* Workspace ID
|
@@ -6737,6 +7640,12 @@ type CreateDatabaseRequestBody = {
|
|
6737
7640
|
* @minLength 1
|
6738
7641
|
*/
|
6739
7642
|
region: string;
|
7643
|
+
/**
|
7644
|
+
* Enable postgres access for this database
|
7645
|
+
*
|
7646
|
+
* @default false
|
7647
|
+
*/
|
7648
|
+
postgresEnabled?: boolean;
|
6740
7649
|
/**
|
6741
7650
|
* The dedicated cluster where branches from this database will be created. Defaults to 'shared-cluster'.
|
6742
7651
|
*
|
@@ -7002,154 +7911,173 @@ declare const listRegions: (variables: ListRegionsVariables, signal?: AbortSigna
|
|
7002
7911
|
|
7003
7912
|
declare const operationsByTag: {
|
7004
7913
|
workspaces: {
|
7005
|
-
getWorkspacesList: (variables:
|
7006
|
-
createWorkspace: (variables: CreateWorkspaceVariables, signal?: AbortSignal
|
7007
|
-
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal
|
7008
|
-
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal
|
7009
|
-
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal
|
7010
|
-
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal
|
7011
|
-
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal
|
7012
|
-
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal
|
7013
|
-
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal
|
7014
|
-
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal
|
7914
|
+
getWorkspacesList: (variables: GetWorkspacesListVariables, signal?: AbortSignal) => Promise<GetWorkspacesListResponse>;
|
7915
|
+
createWorkspace: (variables: CreateWorkspaceVariables, signal?: AbortSignal) => Promise<Workspace>;
|
7916
|
+
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal) => Promise<Workspace>;
|
7917
|
+
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal) => Promise<Workspace>;
|
7918
|
+
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal) => Promise<undefined>;
|
7919
|
+
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
7920
|
+
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
7921
|
+
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal) => Promise<WorkspaceMembers>;
|
7922
|
+
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal) => Promise<undefined>;
|
7923
|
+
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal) => Promise<undefined>;
|
7924
|
+
};
|
7925
|
+
table: {
|
7926
|
+
createTable: (variables: CreateTableVariables, signal?: AbortSignal) => Promise<CreateTableResponse>;
|
7927
|
+
deleteTable: (variables: DeleteTableVariables, signal?: AbortSignal) => Promise<DeleteTableResponse>;
|
7928
|
+
updateTable: (variables: UpdateTableVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7929
|
+
getTableSchema: (variables: GetTableSchemaVariables, signal?: AbortSignal) => Promise<GetTableSchemaResponse>;
|
7930
|
+
setTableSchema: (variables: SetTableSchemaVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7931
|
+
getTableColumns: (variables: GetTableColumnsVariables, signal?: AbortSignal) => Promise<GetTableColumnsResponse>;
|
7932
|
+
addTableColumn: (variables: AddTableColumnVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7933
|
+
getColumn: (variables: GetColumnVariables, signal?: AbortSignal) => Promise<Column>;
|
7934
|
+
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7935
|
+
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7015
7936
|
};
|
7016
7937
|
branch: {
|
7017
|
-
getBranchList: (variables: GetBranchListVariables, signal?: AbortSignal
|
7018
|
-
|
7019
|
-
|
7020
|
-
|
7021
|
-
|
7022
|
-
|
7023
|
-
|
7024
|
-
|
7025
|
-
|
7026
|
-
|
7027
|
-
|
7028
|
-
|
7938
|
+
getBranchList: (variables: GetBranchListVariables, signal?: AbortSignal) => Promise<ListBranchesResponse>;
|
7939
|
+
createBranchAsync: (variables: CreateBranchAsyncVariables, signal?: AbortSignal) => Promise<CreateBranchResponse$1>;
|
7940
|
+
getBranchDetails: (variables: GetBranchDetailsVariables, signal?: AbortSignal) => Promise<DBBranch>;
|
7941
|
+
createBranch: (variables: CreateBranchVariables, signal?: AbortSignal) => Promise<CreateBranchResponse>;
|
7942
|
+
deleteBranch: (variables: DeleteBranchVariables, signal?: AbortSignal) => Promise<DeleteBranchResponse>;
|
7943
|
+
copyBranch: (variables: CopyBranchVariables, signal?: AbortSignal) => Promise<BranchWithCopyID>;
|
7944
|
+
getBranchMoveStatus: (variables: GetBranchMoveStatusVariables, signal?: AbortSignal) => Promise<GetBranchMoveStatusResponse>;
|
7945
|
+
moveBranch: (variables: MoveBranchVariables, signal?: AbortSignal) => Promise<MoveBranchResponse>;
|
7946
|
+
updateBranchMetadata: (variables: UpdateBranchMetadataVariables, signal?: AbortSignal) => Promise<undefined>;
|
7947
|
+
getBranchMetadata: (variables: GetBranchMetadataVariables, signal?: AbortSignal) => Promise<BranchMetadata$1>;
|
7948
|
+
getBranchStats: (variables: GetBranchStatsVariables, signal?: AbortSignal) => Promise<GetBranchStatsResponse>;
|
7949
|
+
getGitBranchesMapping: (variables: GetGitBranchesMappingVariables, signal?: AbortSignal) => Promise<ListGitBranchesResponse>;
|
7950
|
+
addGitBranchesEntry: (variables: AddGitBranchesEntryVariables, signal?: AbortSignal) => Promise<AddGitBranchesEntryResponse>;
|
7951
|
+
removeGitBranchesEntry: (variables: RemoveGitBranchesEntryVariables, signal?: AbortSignal) => Promise<undefined>;
|
7952
|
+
resolveBranch: (variables: ResolveBranchVariables, signal?: AbortSignal) => Promise<ResolveBranchResponse>;
|
7029
7953
|
};
|
7030
7954
|
migrations: {
|
7031
|
-
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal
|
7032
|
-
startMigration: (variables: StartMigrationVariables, signal?: AbortSignal
|
7033
|
-
|
7034
|
-
|
7035
|
-
|
7036
|
-
|
7037
|
-
|
7038
|
-
|
7039
|
-
|
7040
|
-
|
7041
|
-
|
7042
|
-
|
7043
|
-
|
7044
|
-
|
7045
|
-
|
7046
|
-
|
7047
|
-
|
7048
|
-
|
7955
|
+
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
7956
|
+
startMigration: (variables: StartMigrationVariables, signal?: AbortSignal) => Promise<StartMigrationResponse>;
|
7957
|
+
completeMigration: (variables: CompleteMigrationVariables, signal?: AbortSignal) => Promise<CompleteMigrationResponse>;
|
7958
|
+
rollbackMigration: (variables: RollbackMigrationVariables, signal?: AbortSignal) => Promise<RollbackMigrationResponse>;
|
7959
|
+
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
7960
|
+
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
7961
|
+
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal) => Promise<MigrationJobStatusResponse>;
|
7962
|
+
getMigrationJobs: (variables: GetMigrationJobsVariables, signal?: AbortSignal) => Promise<GetMigrationJobsResponse>;
|
7963
|
+
getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal) => Promise<MigrationJobStatusResponse>;
|
7964
|
+
getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal) => Promise<MigrationHistoryResponse>;
|
7965
|
+
getSchema: (variables: GetSchemaVariables, signal?: AbortSignal) => Promise<GetSchemaResponse>;
|
7966
|
+
getSchemas: (variables: GetSchemasVariables, signal?: AbortSignal) => Promise<GetSchemasResponse>;
|
7967
|
+
getBranchMigrationHistory: (variables: GetBranchMigrationHistoryVariables, signal?: AbortSignal) => Promise<GetBranchMigrationHistoryResponse>;
|
7968
|
+
getBranchMigrationPlan: (variables: GetBranchMigrationPlanVariables, signal?: AbortSignal) => Promise<BranchMigrationPlan>;
|
7969
|
+
executeBranchMigrationPlan: (variables: ExecuteBranchMigrationPlanVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7970
|
+
getBranchSchemaHistory: (variables: GetBranchSchemaHistoryVariables, signal?: AbortSignal) => Promise<GetBranchSchemaHistoryResponse>;
|
7971
|
+
compareBranchWithUserSchema: (variables: CompareBranchWithUserSchemaVariables, signal?: AbortSignal) => Promise<SchemaCompareResponse>;
|
7972
|
+
compareBranchSchemas: (variables: CompareBranchSchemasVariables, signal?: AbortSignal) => Promise<SchemaCompareResponse>;
|
7973
|
+
updateBranchSchema: (variables: UpdateBranchSchemaVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7974
|
+
previewBranchSchemaEdit: (variables: PreviewBranchSchemaEditVariables, signal?: AbortSignal) => Promise<PreviewBranchSchemaEditResponse>;
|
7975
|
+
applyBranchSchemaEdit: (variables: ApplyBranchSchemaEditVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7976
|
+
pushBranchMigrations: (variables: PushBranchMigrationsVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7049
7977
|
};
|
7050
7978
|
records: {
|
7051
|
-
branchTransaction: (variables: BranchTransactionVariables, signal?: AbortSignal
|
7052
|
-
insertRecord: (variables: InsertRecordVariables, signal?: AbortSignal
|
7053
|
-
getRecord: (variables: GetRecordVariables, signal?: AbortSignal
|
7054
|
-
insertRecordWithID: (variables: InsertRecordWithIDVariables, signal?: AbortSignal
|
7055
|
-
updateRecordWithID: (variables: UpdateRecordWithIDVariables, signal?: AbortSignal
|
7056
|
-
upsertRecordWithID: (variables: UpsertRecordWithIDVariables, signal?: AbortSignal
|
7057
|
-
deleteRecord: (variables: DeleteRecordVariables, signal?: AbortSignal
|
7058
|
-
bulkInsertTableRecords: (variables: BulkInsertTableRecordsVariables, signal?: AbortSignal
|
7979
|
+
branchTransaction: (variables: BranchTransactionVariables, signal?: AbortSignal) => Promise<TransactionSuccess>;
|
7980
|
+
insertRecord: (variables: InsertRecordVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7981
|
+
getRecord: (variables: GetRecordVariables, signal?: AbortSignal) => Promise<XataRecord$1>;
|
7982
|
+
insertRecordWithID: (variables: InsertRecordWithIDVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7983
|
+
updateRecordWithID: (variables: UpdateRecordWithIDVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7984
|
+
upsertRecordWithID: (variables: UpsertRecordWithIDVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7985
|
+
deleteRecord: (variables: DeleteRecordVariables, signal?: AbortSignal) => Promise<XataRecord$1>;
|
7986
|
+
bulkInsertTableRecords: (variables: BulkInsertTableRecordsVariables, signal?: AbortSignal) => Promise<BulkInsertResponse>;
|
7987
|
+
};
|
7988
|
+
tasks: {
|
7989
|
+
getTasks: (variables: GetTasksVariables, signal?: AbortSignal) => Promise<GetTasksResponse>;
|
7990
|
+
getTaskStatus: (variables: GetTaskStatusVariables, signal?: AbortSignal) => Promise<TaskStatusResponse>;
|
7991
|
+
};
|
7992
|
+
cluster: {
|
7993
|
+
listClusterBranches: (variables: ListClusterBranchesVariables, signal?: AbortSignal) => Promise<ListClusterBranchesResponse>;
|
7994
|
+
listClusterExtensions: (variables: ListClusterExtensionsVariables, signal?: AbortSignal) => Promise<ListClusterExtensionsResponse>;
|
7995
|
+
installClusterExtension: (variables: InstallClusterExtensionVariables, signal?: AbortSignal) => Promise<ClusterExtensionInstallationResponse>;
|
7996
|
+
dropClusterExtension: (variables: DropClusterExtensionVariables, signal?: AbortSignal) => Promise<undefined>;
|
7997
|
+
getClusterMetrics: (variables: GetClusterMetricsVariables, signal?: AbortSignal) => Promise<MetricsResponse>;
|
7059
7998
|
};
|
7060
7999
|
database: {
|
7061
|
-
getDatabaseSettings: (variables: GetDatabaseSettingsVariables, signal?: AbortSignal
|
7062
|
-
updateDatabaseSettings: (variables: UpdateDatabaseSettingsVariables, signal?: AbortSignal
|
8000
|
+
getDatabaseSettings: (variables: GetDatabaseSettingsVariables, signal?: AbortSignal) => Promise<DatabaseSettings>;
|
8001
|
+
updateDatabaseSettings: (variables: UpdateDatabaseSettingsVariables, signal?: AbortSignal) => Promise<DatabaseSettings>;
|
7063
8002
|
};
|
7064
8003
|
migrationRequests: {
|
7065
|
-
queryMigrationRequests: (variables: QueryMigrationRequestsVariables, signal?: AbortSignal
|
7066
|
-
createMigrationRequest: (variables: CreateMigrationRequestVariables, signal?: AbortSignal
|
7067
|
-
getMigrationRequest: (variables: GetMigrationRequestVariables, signal?: AbortSignal
|
7068
|
-
updateMigrationRequest: (variables: UpdateMigrationRequestVariables, signal?: AbortSignal
|
7069
|
-
listMigrationRequestsCommits: (variables: ListMigrationRequestsCommitsVariables, signal?: AbortSignal
|
7070
|
-
compareMigrationRequest: (variables: CompareMigrationRequestVariables, signal?: AbortSignal
|
7071
|
-
getMigrationRequestIsMerged: (variables: GetMigrationRequestIsMergedVariables, signal?: AbortSignal
|
7072
|
-
mergeMigrationRequest: (variables: MergeMigrationRequestVariables, signal?: AbortSignal
|
7073
|
-
};
|
7074
|
-
table: {
|
7075
|
-
createTable: (variables: CreateTableVariables, signal?: AbortSignal | undefined) => Promise<CreateTableResponse>;
|
7076
|
-
deleteTable: (variables: DeleteTableVariables, signal?: AbortSignal | undefined) => Promise<DeleteTableResponse>;
|
7077
|
-
updateTable: (variables: UpdateTableVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7078
|
-
getTableSchema: (variables: GetTableSchemaVariables, signal?: AbortSignal | undefined) => Promise<GetTableSchemaResponse>;
|
7079
|
-
setTableSchema: (variables: SetTableSchemaVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7080
|
-
getTableColumns: (variables: GetTableColumnsVariables, signal?: AbortSignal | undefined) => Promise<GetTableColumnsResponse>;
|
7081
|
-
addTableColumn: (variables: AddTableColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7082
|
-
getColumn: (variables: GetColumnVariables, signal?: AbortSignal | undefined) => Promise<Column>;
|
7083
|
-
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
7084
|
-
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal | undefined) => Promise<SchemaUpdateResponse>;
|
8004
|
+
queryMigrationRequests: (variables: QueryMigrationRequestsVariables, signal?: AbortSignal) => Promise<QueryMigrationRequestsResponse>;
|
8005
|
+
createMigrationRequest: (variables: CreateMigrationRequestVariables, signal?: AbortSignal) => Promise<CreateMigrationRequestResponse>;
|
8006
|
+
getMigrationRequest: (variables: GetMigrationRequestVariables, signal?: AbortSignal) => Promise<MigrationRequest>;
|
8007
|
+
updateMigrationRequest: (variables: UpdateMigrationRequestVariables, signal?: AbortSignal) => Promise<undefined>;
|
8008
|
+
listMigrationRequestsCommits: (variables: ListMigrationRequestsCommitsVariables, signal?: AbortSignal) => Promise<ListMigrationRequestsCommitsResponse>;
|
8009
|
+
compareMigrationRequest: (variables: CompareMigrationRequestVariables, signal?: AbortSignal) => Promise<SchemaCompareResponse>;
|
8010
|
+
getMigrationRequestIsMerged: (variables: GetMigrationRequestIsMergedVariables, signal?: AbortSignal) => Promise<GetMigrationRequestIsMergedResponse>;
|
8011
|
+
mergeMigrationRequest: (variables: MergeMigrationRequestVariables, signal?: AbortSignal) => Promise<BranchOp>;
|
7085
8012
|
};
|
7086
8013
|
files: {
|
7087
|
-
getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal
|
7088
|
-
putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal
|
7089
|
-
deleteFileItem: (variables: DeleteFileItemVariables, signal?: AbortSignal
|
7090
|
-
getFile: (variables: GetFileVariables, signal?: AbortSignal
|
7091
|
-
putFile: (variables: PutFileVariables, signal?: AbortSignal
|
7092
|
-
deleteFile: (variables: DeleteFileVariables, signal?: AbortSignal
|
7093
|
-
fileAccess: (variables: FileAccessVariables, signal?: AbortSignal
|
7094
|
-
fileUpload: (variables: FileUploadVariables, signal?: AbortSignal
|
8014
|
+
getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal) => Promise<Blob>;
|
8015
|
+
putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
8016
|
+
deleteFileItem: (variables: DeleteFileItemVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
8017
|
+
getFile: (variables: GetFileVariables, signal?: AbortSignal) => Promise<Blob>;
|
8018
|
+
putFile: (variables: PutFileVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
8019
|
+
deleteFile: (variables: DeleteFileVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
8020
|
+
fileAccess: (variables: FileAccessVariables, signal?: AbortSignal) => Promise<Blob>;
|
8021
|
+
fileUpload: (variables: FileUploadVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
7095
8022
|
};
|
7096
8023
|
searchAndFilter: {
|
7097
|
-
queryTable: (variables: QueryTableVariables, signal?: AbortSignal
|
7098
|
-
searchBranch: (variables: SearchBranchVariables, signal?: AbortSignal
|
7099
|
-
searchTable: (variables: SearchTableVariables, signal?: AbortSignal
|
7100
|
-
vectorSearchTable: (variables: VectorSearchTableVariables, signal?: AbortSignal
|
7101
|
-
askTable: (variables: AskTableVariables, signal?: AbortSignal
|
7102
|
-
askTableSession: (variables: AskTableSessionVariables, signal?: AbortSignal
|
7103
|
-
summarizeTable: (variables: SummarizeTableVariables, signal?: AbortSignal
|
7104
|
-
aggregateTable: (variables: AggregateTableVariables, signal?: AbortSignal
|
8024
|
+
queryTable: (variables: QueryTableVariables, signal?: AbortSignal) => Promise<QueryResponse>;
|
8025
|
+
searchBranch: (variables: SearchBranchVariables, signal?: AbortSignal) => Promise<SearchResponse>;
|
8026
|
+
searchTable: (variables: SearchTableVariables, signal?: AbortSignal) => Promise<SearchResponse>;
|
8027
|
+
vectorSearchTable: (variables: VectorSearchTableVariables, signal?: AbortSignal) => Promise<SearchResponse>;
|
8028
|
+
askTable: (variables: AskTableVariables, signal?: AbortSignal) => Promise<AskTableResponse>;
|
8029
|
+
askTableSession: (variables: AskTableSessionVariables, signal?: AbortSignal) => Promise<AskTableSessionResponse>;
|
8030
|
+
summarizeTable: (variables: SummarizeTableVariables, signal?: AbortSignal) => Promise<SummarizeResponse>;
|
8031
|
+
aggregateTable: (variables: AggregateTableVariables, signal?: AbortSignal) => Promise<AggResponse>;
|
7105
8032
|
};
|
7106
8033
|
sql: {
|
7107
|
-
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal
|
8034
|
+
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse$1>;
|
8035
|
+
sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortSignal) => Promise<SQLBatchResponse>;
|
7108
8036
|
};
|
7109
8037
|
oAuth: {
|
7110
|
-
getAuthorizationCode: (variables: GetAuthorizationCodeVariables, signal?: AbortSignal
|
7111
|
-
grantAuthorizationCode: (variables: GrantAuthorizationCodeVariables, signal?: AbortSignal
|
7112
|
-
getUserOAuthClients: (variables:
|
7113
|
-
deleteUserOAuthClient: (variables: DeleteUserOAuthClientVariables, signal?: AbortSignal
|
7114
|
-
getUserOAuthAccessTokens: (variables:
|
7115
|
-
deleteOAuthAccessToken: (variables: DeleteOAuthAccessTokenVariables, signal?: AbortSignal
|
7116
|
-
updateOAuthAccessToken: (variables: UpdateOAuthAccessTokenVariables, signal?: AbortSignal
|
8038
|
+
getAuthorizationCode: (variables: GetAuthorizationCodeVariables, signal?: AbortSignal) => Promise<AuthorizationCodeResponse>;
|
8039
|
+
grantAuthorizationCode: (variables: GrantAuthorizationCodeVariables, signal?: AbortSignal) => Promise<AuthorizationCodeResponse>;
|
8040
|
+
getUserOAuthClients: (variables: GetUserOAuthClientsVariables, signal?: AbortSignal) => Promise<GetUserOAuthClientsResponse>;
|
8041
|
+
deleteUserOAuthClient: (variables: DeleteUserOAuthClientVariables, signal?: AbortSignal) => Promise<undefined>;
|
8042
|
+
getUserOAuthAccessTokens: (variables: GetUserOAuthAccessTokensVariables, signal?: AbortSignal) => Promise<GetUserOAuthAccessTokensResponse>;
|
8043
|
+
deleteOAuthAccessToken: (variables: DeleteOAuthAccessTokenVariables, signal?: AbortSignal) => Promise<undefined>;
|
8044
|
+
updateOAuthAccessToken: (variables: UpdateOAuthAccessTokenVariables, signal?: AbortSignal) => Promise<OAuthAccessToken>;
|
7117
8045
|
};
|
7118
8046
|
users: {
|
7119
|
-
getUser: (variables:
|
7120
|
-
updateUser: (variables: UpdateUserVariables, signal?: AbortSignal
|
7121
|
-
deleteUser: (variables:
|
8047
|
+
getUser: (variables: GetUserVariables, signal?: AbortSignal) => Promise<UserWithID>;
|
8048
|
+
updateUser: (variables: UpdateUserVariables, signal?: AbortSignal) => Promise<UserWithID>;
|
8049
|
+
deleteUser: (variables: DeleteUserVariables, signal?: AbortSignal) => Promise<undefined>;
|
7122
8050
|
};
|
7123
8051
|
authentication: {
|
7124
|
-
getUserAPIKeys: (variables:
|
7125
|
-
createUserAPIKey: (variables: CreateUserAPIKeyVariables, signal?: AbortSignal
|
7126
|
-
deleteUserAPIKey: (variables: DeleteUserAPIKeyVariables, signal?: AbortSignal
|
8052
|
+
getUserAPIKeys: (variables: GetUserAPIKeysVariables, signal?: AbortSignal) => Promise<GetUserAPIKeysResponse>;
|
8053
|
+
createUserAPIKey: (variables: CreateUserAPIKeyVariables, signal?: AbortSignal) => Promise<CreateUserAPIKeyResponse>;
|
8054
|
+
deleteUserAPIKey: (variables: DeleteUserAPIKeyVariables, signal?: AbortSignal) => Promise<undefined>;
|
7127
8055
|
};
|
7128
8056
|
invites: {
|
7129
|
-
inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables, signal?: AbortSignal
|
7130
|
-
updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7131
|
-
cancelWorkspaceMemberInvite: (variables: CancelWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7132
|
-
acceptWorkspaceMemberInvite: (variables: AcceptWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7133
|
-
resendWorkspaceMemberInvite: (variables: ResendWorkspaceMemberInviteVariables, signal?: AbortSignal
|
8057
|
+
inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables, signal?: AbortSignal) => Promise<WorkspaceInvite>;
|
8058
|
+
updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<WorkspaceInvite>;
|
8059
|
+
cancelWorkspaceMemberInvite: (variables: CancelWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<undefined>;
|
8060
|
+
acceptWorkspaceMemberInvite: (variables: AcceptWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<undefined>;
|
8061
|
+
resendWorkspaceMemberInvite: (variables: ResendWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<undefined>;
|
7134
8062
|
};
|
7135
8063
|
xbcontrolOther: {
|
7136
|
-
listClusters: (variables: ListClustersVariables, signal?: AbortSignal
|
7137
|
-
createCluster: (variables: CreateClusterVariables, signal?: AbortSignal
|
7138
|
-
getCluster: (variables: GetClusterVariables, signal?: AbortSignal
|
7139
|
-
updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal
|
7140
|
-
deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal
|
8064
|
+
listClusters: (variables: ListClustersVariables, signal?: AbortSignal) => Promise<ListClustersResponse>;
|
8065
|
+
createCluster: (variables: CreateClusterVariables, signal?: AbortSignal) => Promise<ClusterResponse>;
|
8066
|
+
getCluster: (variables: GetClusterVariables, signal?: AbortSignal) => Promise<ClusterMetadata>;
|
8067
|
+
updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal) => Promise<ClusterUpdateMetadata>;
|
8068
|
+
deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal) => Promise<ClusterDeleteMetadata>;
|
7141
8069
|
};
|
7142
8070
|
databases: {
|
7143
|
-
getDatabaseList: (variables: GetDatabaseListVariables, signal?: AbortSignal
|
7144
|
-
createDatabase: (variables: CreateDatabaseVariables, signal?: AbortSignal
|
7145
|
-
deleteDatabase: (variables: DeleteDatabaseVariables, signal?: AbortSignal
|
7146
|
-
getDatabaseMetadata: (variables: GetDatabaseMetadataVariables, signal?: AbortSignal
|
7147
|
-
updateDatabaseMetadata: (variables: UpdateDatabaseMetadataVariables, signal?: AbortSignal
|
7148
|
-
renameDatabase: (variables: RenameDatabaseVariables, signal?: AbortSignal
|
7149
|
-
getDatabaseGithubSettings: (variables: GetDatabaseGithubSettingsVariables, signal?: AbortSignal
|
7150
|
-
updateDatabaseGithubSettings: (variables: UpdateDatabaseGithubSettingsVariables, signal?: AbortSignal
|
7151
|
-
deleteDatabaseGithubSettings: (variables: DeleteDatabaseGithubSettingsVariables, signal?: AbortSignal
|
7152
|
-
listRegions: (variables: ListRegionsVariables, signal?: AbortSignal
|
8071
|
+
getDatabaseList: (variables: GetDatabaseListVariables, signal?: AbortSignal) => Promise<ListDatabasesResponse>;
|
8072
|
+
createDatabase: (variables: CreateDatabaseVariables, signal?: AbortSignal) => Promise<CreateDatabaseResponse>;
|
8073
|
+
deleteDatabase: (variables: DeleteDatabaseVariables, signal?: AbortSignal) => Promise<DeleteDatabaseResponse>;
|
8074
|
+
getDatabaseMetadata: (variables: GetDatabaseMetadataVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
8075
|
+
updateDatabaseMetadata: (variables: UpdateDatabaseMetadataVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
8076
|
+
renameDatabase: (variables: RenameDatabaseVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
8077
|
+
getDatabaseGithubSettings: (variables: GetDatabaseGithubSettingsVariables, signal?: AbortSignal) => Promise<DatabaseGithubSettings>;
|
8078
|
+
updateDatabaseGithubSettings: (variables: UpdateDatabaseGithubSettingsVariables, signal?: AbortSignal) => Promise<DatabaseGithubSettings>;
|
8079
|
+
deleteDatabaseGithubSettings: (variables: DeleteDatabaseGithubSettingsVariables, signal?: AbortSignal) => Promise<undefined>;
|
8080
|
+
listRegions: (variables: ListRegionsVariables, signal?: AbortSignal) => Promise<ListRegionsResponse>;
|
7153
8081
|
};
|
7154
8082
|
};
|
7155
8083
|
|
@@ -7189,7 +8117,7 @@ type XataApiProxy = {
|
|
7189
8117
|
[Method in keyof (typeof operationsByTag)[Tag]]: (typeof operationsByTag)[Tag][Method] extends infer Operation extends (...args: any) => any ? Omit<Parameters<Operation>[0], keyof ApiExtraProps> extends infer Params ? RequiredKeys<Params> extends never ? (params?: Params & UserProps) => ReturnType<Operation> : (params: Params & UserProps) => ReturnType<Operation> : never : never;
|
7190
8118
|
};
|
7191
8119
|
};
|
7192
|
-
declare const XataApiClient_base: new (options?: XataApiClientOptions
|
8120
|
+
declare const XataApiClient_base: new (options?: XataApiClientOptions) => XataApiProxy;
|
7193
8121
|
declare class XataApiClient extends XataApiClient_base {
|
7194
8122
|
}
|
7195
8123
|
|
@@ -7202,6 +8130,7 @@ type responses_QueryResponse = QueryResponse;
|
|
7202
8130
|
type responses_RateLimitError = RateLimitError;
|
7203
8131
|
type responses_RecordResponse = RecordResponse;
|
7204
8132
|
type responses_RecordUpdateResponse = RecordUpdateResponse;
|
8133
|
+
type responses_SQLBatchResponse = SQLBatchResponse;
|
7205
8134
|
type responses_SQLResponse = SQLResponse;
|
7206
8135
|
type responses_SchemaCompareResponse = SchemaCompareResponse;
|
7207
8136
|
type responses_SchemaUpdateResponse = SchemaUpdateResponse;
|
@@ -7209,7 +8138,7 @@ type responses_SearchResponse = SearchResponse;
|
|
7209
8138
|
type responses_ServiceUnavailableError = ServiceUnavailableError;
|
7210
8139
|
type responses_SummarizeResponse = SummarizeResponse;
|
7211
8140
|
declare namespace responses {
|
7212
|
-
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 };
|
8141
|
+
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 };
|
7213
8142
|
}
|
7214
8143
|
|
7215
8144
|
type schemas_APIKeyName = APIKeyName;
|
@@ -7224,14 +8153,17 @@ type schemas_AutoscalingConfigResponse = AutoscalingConfigResponse;
|
|
7224
8153
|
type schemas_AverageAgg = AverageAgg;
|
7225
8154
|
type schemas_BoosterExpression = BoosterExpression;
|
7226
8155
|
type schemas_Branch = Branch;
|
8156
|
+
type schemas_BranchDetails = BranchDetails;
|
7227
8157
|
type schemas_BranchMigration = BranchMigration;
|
7228
8158
|
type schemas_BranchOp = BranchOp;
|
7229
8159
|
type schemas_BranchSchema = BranchSchema;
|
8160
|
+
type schemas_BranchState = BranchState;
|
7230
8161
|
type schemas_BranchWithCopyID = BranchWithCopyID;
|
7231
8162
|
type schemas_ClusterConfiguration = ClusterConfiguration;
|
7232
8163
|
type schemas_ClusterConfigurationResponse = ClusterConfigurationResponse;
|
7233
8164
|
type schemas_ClusterCreateDetails = ClusterCreateDetails;
|
7234
|
-
type
|
8165
|
+
type schemas_ClusterDeleteMetadata = ClusterDeleteMetadata;
|
8166
|
+
type schemas_ClusterExtensionInstallationResponse = ClusterExtensionInstallationResponse;
|
7235
8167
|
type schemas_ClusterMetadata = ClusterMetadata;
|
7236
8168
|
type schemas_ClusterResponse = ClusterResponse;
|
7237
8169
|
type schemas_ClusterShortMetadata = ClusterShortMetadata;
|
@@ -7248,6 +8180,7 @@ type schemas_ColumnOpRename = ColumnOpRename;
|
|
7248
8180
|
type schemas_ColumnVector = ColumnVector;
|
7249
8181
|
type schemas_ColumnsProjection = ColumnsProjection;
|
7250
8182
|
type schemas_Commit = Commit;
|
8183
|
+
type schemas_CompleteMigrationResponse = CompleteMigrationResponse;
|
7251
8184
|
type schemas_CountAgg = CountAgg;
|
7252
8185
|
type schemas_DBBranch = DBBranch;
|
7253
8186
|
type schemas_DBBranchName = DBBranchName;
|
@@ -7257,6 +8190,7 @@ type schemas_DatabaseGithubSettings = DatabaseGithubSettings;
|
|
7257
8190
|
type schemas_DatabaseMetadata = DatabaseMetadata;
|
7258
8191
|
type schemas_DatabaseSettings = DatabaseSettings;
|
7259
8192
|
type schemas_DateHistogramAgg = DateHistogramAgg;
|
8193
|
+
type schemas_ExtensionDetails = ExtensionDetails;
|
7260
8194
|
type schemas_FileAccessID = FileAccessID;
|
7261
8195
|
type schemas_FileItemID = FileItemID;
|
7262
8196
|
type schemas_FileName = FileName;
|
@@ -7272,6 +8206,7 @@ type schemas_FilterPredicateRangeOp = FilterPredicateRangeOp;
|
|
7272
8206
|
type schemas_FilterRangeValue = FilterRangeValue;
|
7273
8207
|
type schemas_FilterValue = FilterValue;
|
7274
8208
|
type schemas_FuzzinessExpression = FuzzinessExpression;
|
8209
|
+
type schemas_GetMigrationJobsResponse = GetMigrationJobsResponse;
|
7275
8210
|
type schemas_HighlightExpression = HighlightExpression;
|
7276
8211
|
type schemas_InputFile = InputFile;
|
7277
8212
|
type schemas_InputFileArray = InputFileArray;
|
@@ -7279,6 +8214,8 @@ type schemas_InputFileEntry = InputFileEntry;
|
|
7279
8214
|
type schemas_InviteID = InviteID;
|
7280
8215
|
type schemas_InviteKey = InviteKey;
|
7281
8216
|
type schemas_ListBranchesResponse = ListBranchesResponse;
|
8217
|
+
type schemas_ListClusterBranchesResponse = ListClusterBranchesResponse;
|
8218
|
+
type schemas_ListClusterExtensionsResponse = ListClusterExtensionsResponse;
|
7282
8219
|
type schemas_ListClustersResponse = ListClustersResponse;
|
7283
8220
|
type schemas_ListDatabasesResponse = ListDatabasesResponse;
|
7284
8221
|
type schemas_ListGitBranchesResponse = ListGitBranchesResponse;
|
@@ -7287,18 +8224,24 @@ type schemas_MaintenanceConfig = MaintenanceConfig;
|
|
7287
8224
|
type schemas_MaintenanceConfigResponse = MaintenanceConfigResponse;
|
7288
8225
|
type schemas_MaxAgg = MaxAgg;
|
7289
8226
|
type schemas_MediaType = MediaType;
|
8227
|
+
type schemas_MetricData = MetricData;
|
8228
|
+
type schemas_MetricMessage = MetricMessage;
|
7290
8229
|
type schemas_MetricsDatapoint = MetricsDatapoint;
|
7291
8230
|
type schemas_MetricsLatency = MetricsLatency;
|
8231
|
+
type schemas_MetricsResponse = MetricsResponse;
|
7292
8232
|
type schemas_Migration = Migration;
|
7293
8233
|
type schemas_MigrationColumnOp = MigrationColumnOp;
|
8234
|
+
type schemas_MigrationDescription = MigrationDescription;
|
7294
8235
|
type schemas_MigrationHistoryItem = MigrationHistoryItem;
|
7295
8236
|
type schemas_MigrationHistoryResponse = MigrationHistoryResponse;
|
7296
8237
|
type schemas_MigrationJobID = MigrationJobID;
|
8238
|
+
type schemas_MigrationJobItem = MigrationJobItem;
|
7297
8239
|
type schemas_MigrationJobStatus = MigrationJobStatus;
|
7298
8240
|
type schemas_MigrationJobStatusResponse = MigrationJobStatusResponse;
|
7299
8241
|
type schemas_MigrationJobType = MigrationJobType;
|
7300
8242
|
type schemas_MigrationObject = MigrationObject;
|
7301
8243
|
type schemas_MigrationOp = MigrationOp;
|
8244
|
+
type schemas_MigrationOperationDescription = MigrationOperationDescription;
|
7302
8245
|
type schemas_MigrationRequest = MigrationRequest;
|
7303
8246
|
type schemas_MigrationRequestNumber = MigrationRequestNumber;
|
7304
8247
|
type schemas_MigrationTableOp = MigrationTableOp;
|
@@ -7312,11 +8255,9 @@ type schemas_OAuthResponseType = OAuthResponseType;
|
|
7312
8255
|
type schemas_OAuthScope = OAuthScope;
|
7313
8256
|
type schemas_ObjectValue = ObjectValue;
|
7314
8257
|
type schemas_PageConfig = PageConfig;
|
7315
|
-
type schemas_PageResponse = PageResponse;
|
7316
|
-
type schemas_PageSize = PageSize;
|
7317
|
-
type schemas_PageToken = PageToken;
|
7318
8258
|
type schemas_PercentilesAgg = PercentilesAgg;
|
7319
8259
|
type schemas_PrefixExpression = PrefixExpression;
|
8260
|
+
type schemas_PreparedStatement = PreparedStatement;
|
7320
8261
|
type schemas_ProjectionConfig = ProjectionConfig;
|
7321
8262
|
type schemas_QueryColumnsProjection = QueryColumnsProjection;
|
7322
8263
|
type schemas_RecordID = RecordID;
|
@@ -7325,7 +8266,12 @@ type schemas_RecordsMetadata = RecordsMetadata;
|
|
7325
8266
|
type schemas_Region = Region;
|
7326
8267
|
type schemas_RevLink = RevLink;
|
7327
8268
|
type schemas_Role = Role;
|
8269
|
+
type schemas_RollbackMigrationResponse = RollbackMigrationResponse;
|
8270
|
+
type schemas_SQLConsistency = SQLConsistency;
|
7328
8271
|
type schemas_SQLRecord = SQLRecord;
|
8272
|
+
type schemas_SQLResponseArray = SQLResponseArray;
|
8273
|
+
type schemas_SQLResponseBase = SQLResponseBase;
|
8274
|
+
type schemas_SQLResponseJSON = SQLResponseJSON;
|
7329
8275
|
type schemas_Schema = Schema;
|
7330
8276
|
type schemas_SchemaEditScript = SchemaEditScript;
|
7331
8277
|
type schemas_SearchPageConfig = SearchPageConfig;
|
@@ -7333,6 +8279,8 @@ type schemas_SortExpression = SortExpression;
|
|
7333
8279
|
type schemas_SortOrder = SortOrder;
|
7334
8280
|
type schemas_StartMigrationResponse = StartMigrationResponse;
|
7335
8281
|
type schemas_StartedFromMetadata = StartedFromMetadata;
|
8282
|
+
type schemas_StorageConfig = StorageConfig;
|
8283
|
+
type schemas_StorageConfigResponse = StorageConfigResponse;
|
7336
8284
|
type schemas_SumAgg = SumAgg;
|
7337
8285
|
type schemas_SummaryExpression = SummaryExpression;
|
7338
8286
|
type schemas_SummaryExpressionList = SummaryExpressionList;
|
@@ -7344,6 +8292,9 @@ type schemas_TableOpRemove = TableOpRemove;
|
|
7344
8292
|
type schemas_TableOpRename = TableOpRename;
|
7345
8293
|
type schemas_TableRename = TableRename;
|
7346
8294
|
type schemas_TargetExpression = TargetExpression;
|
8295
|
+
type schemas_TaskID = TaskID;
|
8296
|
+
type schemas_TaskStatus = TaskStatus;
|
8297
|
+
type schemas_TaskStatusResponse = TaskStatusResponse;
|
7347
8298
|
type schemas_TopValuesAgg = TopValuesAgg;
|
7348
8299
|
type schemas_TransactionDeleteOp = TransactionDeleteOp;
|
7349
8300
|
type schemas_TransactionError = TransactionError;
|
@@ -7371,7 +8322,7 @@ type schemas_WorkspaceMeta = WorkspaceMeta;
|
|
7371
8322
|
type schemas_WorkspacePlan = WorkspacePlan;
|
7372
8323
|
type schemas_WorkspaceSettings = WorkspaceSettings;
|
7373
8324
|
declare namespace schemas {
|
7374
|
-
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,
|
8325
|
+
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, schemas_BranchDetails as BranchDetails, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchSchema as BranchSchema, schemas_BranchState as BranchState, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterDeleteMetadata as ClusterDeleteMetadata, schemas_ClusterExtensionInstallationResponse as ClusterExtensionInstallationResponse, ClusterID$1 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, CreateBranchResponse$1 as CreateBranchResponse, 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_ExtensionDetails as ExtensionDetails, 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_GetMigrationJobsResponse as GetMigrationJobsResponse, 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_ListClusterBranchesResponse as ListClusterBranchesResponse, schemas_ListClusterExtensionsResponse as ListClusterExtensionsResponse, 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_MetricData as MetricData, schemas_MetricMessage as MetricMessage, schemas_MetricsDatapoint as MetricsDatapoint, schemas_MetricsLatency as MetricsLatency, schemas_MetricsResponse as MetricsResponse, 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_MigrationJobItem as MigrationJobItem, 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, PageResponse$1 as PageResponse, PageSize$1 as PageSize, PageToken$1 as PageToken, schemas_PercentilesAgg as PercentilesAgg, schemas_PrefixExpression as PrefixExpression, schemas_PreparedStatement as PreparedStatement, 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_SQLConsistency as SQLConsistency, schemas_SQLRecord as SQLRecord, SQLResponse$1 as SQLResponse, schemas_SQLResponseArray as SQLResponseArray, schemas_SQLResponseBase as SQLResponseBase, schemas_SQLResponseJSON as SQLResponseJSON, SQLResponseType$1 as SQLResponseType, 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_StorageConfig as StorageConfig, schemas_StorageConfigResponse as StorageConfigResponse, 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_TaskID as TaskID, schemas_TaskStatus as TaskStatus, schemas_TaskStatusResponse as TaskStatusResponse, 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 };
|
7375
8326
|
}
|
7376
8327
|
|
7377
8328
|
declare class XataApiPlugin implements XataPlugin {
|
@@ -8230,9 +9181,9 @@ type SelectedPick<O extends XataRecord, Key extends SelectableColumnWithObjectNo
|
|
8230
9181
|
};
|
8231
9182
|
};
|
8232
9183
|
}>>;
|
8233
|
-
type ValueAtColumn<
|
9184
|
+
type ValueAtColumn<Obj, Key, RecursivePath extends any[] = []> = RecursivePath['length'] extends MAX_RECURSION ? never : Key extends '*' ? Values<Obj> : Key extends keyof Obj ? Obj[Key] : Key extends `${infer K}.${infer V}` ? K extends keyof Obj ? Values<NonNullable<Obj[K]> extends infer Item ? Item extends Record<string, any> ? V extends SelectableColumn<Item> ? {
|
8234
9185
|
V: ValueAtColumn<Item, V, [...RecursivePath, Item]>;
|
8235
|
-
} : never :
|
9186
|
+
} : never : Obj[K] : never> : never : never;
|
8236
9187
|
type MAX_RECURSION = 3;
|
8237
9188
|
type NestedColumns<O, RecursivePath extends any[]> = RecursivePath['length'] extends MAX_RECURSION ? never : If<IsObject<O>, Values<{
|
8238
9189
|
[K in DataProps<O>]: NonNullable<O[K]> extends infer Item ? If<IsArray<Item>, Item extends (infer Type)[] ? Type extends XataArrayFile ? K | `${K}.${keyof XataFileFields | '*'}` : K | `${K}.${StringKeys<Type> | '*'}` : never, If<IsObject<Item>, Item extends XataRecord ? SelectableColumn<Item, [...RecursivePath, Item]> extends infer Column ? Column extends string ? K | `${K}.${Column}` : never : never : Item extends Date ? K : Item extends XataFile ? K | `${K}.${keyof XataFileFields | '*'}` : `${K}.${StringKeys<Item> | '*'}`, // This allows usage of objects that are not links
|
@@ -8339,13 +9290,13 @@ interface XataRecord<OriginalRecord extends XataRecord<any> = XataRecord<any>> e
|
|
8339
9290
|
type Link<Record extends XataRecord> = XataRecord<Record>;
|
8340
9291
|
declare function isIdentifiable(x: any): x is Identifiable & Record<string, unknown>;
|
8341
9292
|
type NumericOperator = ExclusiveOr<{
|
8342
|
-
$increment
|
9293
|
+
$increment: number;
|
8343
9294
|
}, ExclusiveOr<{
|
8344
|
-
$decrement
|
9295
|
+
$decrement: number;
|
8345
9296
|
}, ExclusiveOr<{
|
8346
|
-
$multiply
|
9297
|
+
$multiply: number;
|
8347
9298
|
}, {
|
8348
|
-
$divide
|
9299
|
+
$divide: number;
|
8349
9300
|
}>>>;
|
8350
9301
|
type InputXataFile = Partial<XataArrayFile> | Promise<Partial<XataArrayFile>>;
|
8351
9302
|
type EditableDataFields<T> = T extends XataRecord ? {
|
@@ -10199,10 +11150,37 @@ type SQLQueryParams<T = any[]> = {
|
|
10199
11150
|
params?: T;
|
10200
11151
|
/**
|
10201
11152
|
* The consistency level to use when executing the query.
|
11153
|
+
* @default 'strong'
|
10202
11154
|
*/
|
10203
11155
|
consistency?: 'strong' | 'eventual';
|
10204
11156
|
/**
|
10205
11157
|
* The response type to use when executing the query.
|
11158
|
+
* @default 'json'
|
11159
|
+
*/
|
11160
|
+
responseType?: 'json' | 'array';
|
11161
|
+
};
|
11162
|
+
type SQLBatchQuery = {
|
11163
|
+
/**
|
11164
|
+
* The SQL statements to execute.
|
11165
|
+
*/
|
11166
|
+
statements: {
|
11167
|
+
/**
|
11168
|
+
* The SQL statement to execute.
|
11169
|
+
*/
|
11170
|
+
statement: string;
|
11171
|
+
/**
|
11172
|
+
* The parameters to pass to the SQL statement.
|
11173
|
+
*/
|
11174
|
+
params?: any[];
|
11175
|
+
}[];
|
11176
|
+
/**
|
11177
|
+
* The consistency level to use when executing the queries.
|
11178
|
+
* @default 'strong'
|
11179
|
+
*/
|
11180
|
+
consistency?: 'strong' | 'eventual';
|
11181
|
+
/**
|
11182
|
+
* The response type to use when executing the queries.
|
11183
|
+
* @default 'json'
|
10206
11184
|
*/
|
10207
11185
|
responseType?: 'json' | 'array';
|
10208
11186
|
};
|
@@ -10251,6 +11229,13 @@ type SQLPluginResult = SQLPluginFunction & {
|
|
10251
11229
|
* Connects with the same credentials as the Xata client.
|
10252
11230
|
*/
|
10253
11231
|
connectionString: string;
|
11232
|
+
/**
|
11233
|
+
* Executes a batch of SQL statements.
|
11234
|
+
* @param query The batch of SQL statements to execute.
|
11235
|
+
*/
|
11236
|
+
batch: <Query extends SQLBatchQuery = SQLBatchQuery>(query: Query) => Promise<{
|
11237
|
+
results: Array<SQLQueryResult<any, Query extends SQLBatchQuery ? Query['responseType'] extends SQLResponseType ? NonNullable<Query['responseType']> : 'json' : 'json'>>;
|
11238
|
+
}>;
|
10254
11239
|
};
|
10255
11240
|
declare class SQLPlugin extends XataPlugin {
|
10256
11241
|
build(pluginOptions: XataPluginOptions): SQLPluginResult;
|
@@ -10414,4 +11399,4 @@ declare class XataError extends Error {
|
|
10414
11399
|
constructor(message: string, status: number);
|
10415
11400
|
}
|
10416
11401
|
|
10417
|
-
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 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 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 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, 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, 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, getAuthorizationCode, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDeployPreviewBranch, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, 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, 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, startMigration, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|
11402
|
+
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 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 CompleteMigrationRequestBody, type CompleteMigrationVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchAsyncError, type CreateBranchAsyncPathParams, type CreateBranchAsyncQueryParams, type CreateBranchAsyncRequestBody, type CreateBranchAsyncVariables, 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 DropClusterExtensionError, type DropClusterExtensionPathParams, type DropClusterExtensionRequestBody, type DropClusterExtensionVariables, 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 GetBranchMoveStatusError, type GetBranchMoveStatusPathParams, type GetBranchMoveStatusResponse, type GetBranchMoveStatusVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterMetricsError, type GetClusterMetricsPathParams, type GetClusterMetricsQueryParams, type GetClusterMetricsVariables, 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 GetMigrationJobsError, type GetMigrationJobsPathParams, type GetMigrationJobsQueryParams, type GetMigrationJobsVariables, 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 GetSchemasError, type GetSchemasPathParams, type GetSchemasResponse, type GetSchemasVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTaskStatusError, type GetTaskStatusPathParams, type GetTaskStatusVariables, type GetTasksError, type GetTasksPathParams, type GetTasksResponse, type GetTasksVariables, 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 InstallClusterExtensionError, type InstallClusterExtensionPathParams, type InstallClusterExtensionRequestBody, type InstallClusterExtensionVariables, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClusterBranchesError, type ListClusterBranchesPathParams, type ListClusterBranchesQueryParams, type ListClusterBranchesVariables, type ListClusterExtensionsError, type ListClusterExtensionsPathParams, type ListClusterExtensionsQueryParams, type ListClusterExtensionsVariables, 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 MoveBranchError, type MoveBranchPathParams, type MoveBranchRequestBody, type MoveBranchResponse, type MoveBranchVariables, 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 RollbackMigrationRequestBody, 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, 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 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, createBranchAsync, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteCluster, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, dropClusterExtension, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAuthorizationCode, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchMoveStatus, getBranchSchemaHistory, getBranchStats, getCluster, getClusterMetrics, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDeployPreviewBranch, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationJobs, getMigrationRequest, getMigrationRequestIsMerged, getRecord, getSchema, getSchemas, getTableColumns, getTableSchema, getTaskStatus, getTasks, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, installClusterExtension, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, le, lessEquals, lessThan, lessThanEquals, listClusterBranches, listClusterExtensions, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, moveBranch, 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 };
|