@xata.io/client 0.29.5 → 0.30.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-add-version.log +1 -1
- package/.turbo/turbo-build.log +4 -4
- package/CHANGELOG.md +6 -0
- package/dist/index.cjs +117 -1334
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +775 -992
- package/dist/index.mjs +109 -1335
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
@@ -57,11 +57,154 @@ type Response = {
|
|
57
57
|
};
|
58
58
|
type FetchImpl = (url: string, init?: RequestInit) => Promise<Response>;
|
59
59
|
|
60
|
+
type StringKeys<O> = Extract<keyof O, string>;
|
61
|
+
type Values<O> = O[StringKeys<O>];
|
62
|
+
type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never;
|
63
|
+
type If<Condition, Then, Else> = Condition extends true ? Then : Else;
|
64
|
+
type IsObject<T> = T extends Record<string, any> ? true : false;
|
65
|
+
type IsArray<T> = T extends Array<any> ? true : false;
|
66
|
+
type RequiredBy<T, K extends keyof T> = T & {
|
67
|
+
[P in K]-?: NonNullable<T[P]>;
|
68
|
+
};
|
69
|
+
type GetArrayInnerType<T extends readonly any[]> = T[number];
|
70
|
+
type SingleOrArray<T> = T | T[];
|
71
|
+
type Dictionary<T> = Record<string, T>;
|
72
|
+
type OmitBy<T, K extends keyof T> = T extends any ? Omit<T, K> : never;
|
73
|
+
type Without<T, U> = {
|
74
|
+
[P in Exclude<keyof T, keyof U>]?: never;
|
75
|
+
};
|
76
|
+
type ExclusiveOr<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
77
|
+
type Explode<T> = keyof T extends infer K ? K extends unknown ? {
|
78
|
+
[I in keyof T]: I extends K ? T[I] : never;
|
79
|
+
} : never : never;
|
80
|
+
type AtMostOne<T> = Explode<Partial<T>>;
|
81
|
+
type AtLeastOne<T, U = {
|
82
|
+
[K in keyof T]: Pick<T, K>;
|
83
|
+
}> = Partial<T> & U[keyof U];
|
84
|
+
type ExactlyOne<T> = AtMostOne<T> & AtLeastOne<T>;
|
85
|
+
type Fn = (...args: any[]) => any;
|
86
|
+
type NarrowRaw<A> = (A extends [] ? [] : never) | (A extends Narrowable ? A : never) | {
|
87
|
+
[K in keyof A]: A[K] extends Fn ? A[K] : NarrowRaw<A[K]>;
|
88
|
+
};
|
89
|
+
type Narrowable = string | number | bigint | boolean;
|
90
|
+
type Try<A1, A2, Catch = never> = A1 extends A2 ? A1 : Catch;
|
91
|
+
type Narrow<A> = Try<A, [], NarrowRaw<A>>;
|
92
|
+
type RequiredKeys<T> = {
|
93
|
+
[K in keyof T]-?: {} extends Pick<T, K> ? never : K;
|
94
|
+
}[keyof T];
|
95
|
+
|
60
96
|
/**
|
61
97
|
* Generated by @openapi-codegen
|
62
98
|
*
|
63
99
|
* @version 1.0
|
64
100
|
*/
|
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
|
+
status: 'installed' | 'not_installed';
|
166
|
+
version: string;
|
167
|
+
};
|
168
|
+
/**
|
169
|
+
* @x-internal true
|
170
|
+
*/
|
171
|
+
type ListClusterExtensionsResponse = {
|
172
|
+
extensions: ExtensionDetails[];
|
173
|
+
};
|
174
|
+
/**
|
175
|
+
* @x-internal true
|
176
|
+
*/
|
177
|
+
type ClusterExtensionInstallationResponse = {
|
178
|
+
extension: string;
|
179
|
+
status: 'success' | 'failure';
|
180
|
+
reason?: string;
|
181
|
+
};
|
182
|
+
/**
|
183
|
+
* @x-internal true
|
184
|
+
*/
|
185
|
+
type MetricMessage = {
|
186
|
+
code?: string;
|
187
|
+
value?: string;
|
188
|
+
};
|
189
|
+
/**
|
190
|
+
* @x-internal true
|
191
|
+
*/
|
192
|
+
type MetricData = {
|
193
|
+
id?: string;
|
194
|
+
label?: string;
|
195
|
+
messages?: MetricMessage[] | null;
|
196
|
+
status: 'complete' | 'error' | 'partial' | 'forbidden';
|
197
|
+
timestamps: string[];
|
198
|
+
values: number[];
|
199
|
+
};
|
200
|
+
/**
|
201
|
+
* @x-internal true
|
202
|
+
*/
|
203
|
+
type MetricsResponse = {
|
204
|
+
metrics: MetricData[];
|
205
|
+
messages: MetricMessage[];
|
206
|
+
page?: PageResponse$1;
|
207
|
+
};
|
65
208
|
/**
|
66
209
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
67
210
|
*
|
@@ -208,11 +351,65 @@ type MigrationJobStatusResponse = {
|
|
208
351
|
* The effect of any active migration on the schema
|
209
352
|
*/
|
210
353
|
description?: MigrationDescription;
|
354
|
+
/**
|
355
|
+
* The timestamp at which the migration job completed or failed
|
356
|
+
*
|
357
|
+
* @format date-time
|
358
|
+
*/
|
359
|
+
completedAt?: string;
|
211
360
|
/**
|
212
361
|
* The error message associated with the migration job
|
213
362
|
*/
|
214
363
|
error?: string;
|
215
364
|
};
|
365
|
+
type MigrationJobItem = {
|
366
|
+
/**
|
367
|
+
* The id of the migration job
|
368
|
+
*/
|
369
|
+
jobID: string;
|
370
|
+
/**
|
371
|
+
* The type of the migration job
|
372
|
+
*/
|
373
|
+
type: MigrationJobType;
|
374
|
+
/**
|
375
|
+
* The status of the migration job
|
376
|
+
*/
|
377
|
+
status: MigrationJobStatus;
|
378
|
+
/**
|
379
|
+
* The pgroll migration that was applied
|
380
|
+
*/
|
381
|
+
migration?: string;
|
382
|
+
/**
|
383
|
+
* The effect of any active migration on the schema
|
384
|
+
*/
|
385
|
+
description?: MigrationDescription;
|
386
|
+
/**
|
387
|
+
* The timestamp at which the migration job was enqueued
|
388
|
+
*
|
389
|
+
* @format date-time
|
390
|
+
*/
|
391
|
+
enqueuedAt: string;
|
392
|
+
/**
|
393
|
+
* The timestamp at which the migration job completed or failed
|
394
|
+
*
|
395
|
+
* @format date-time
|
396
|
+
*/
|
397
|
+
completedAt?: string;
|
398
|
+
/**
|
399
|
+
* The error message associated with the migration job
|
400
|
+
*/
|
401
|
+
error?: string;
|
402
|
+
};
|
403
|
+
type GetMigrationJobsResponse = {
|
404
|
+
/**
|
405
|
+
* The list of migration jobs
|
406
|
+
*/
|
407
|
+
jobs: MigrationJobItem[];
|
408
|
+
/**
|
409
|
+
* The cursor (timestamp) for the next page of results
|
410
|
+
*/
|
411
|
+
cursor?: string;
|
412
|
+
};
|
216
413
|
/**
|
217
414
|
* @maxLength 255
|
218
415
|
* @minLength 1
|
@@ -225,6 +422,10 @@ type MigrationHistoryItem = {
|
|
225
422
|
* The name of the migration
|
226
423
|
*/
|
227
424
|
name: string;
|
425
|
+
/**
|
426
|
+
* The schema in which the migration was applied
|
427
|
+
*/
|
428
|
+
schema: string;
|
228
429
|
/**
|
229
430
|
* The pgroll migration that was applied
|
230
431
|
*/
|
@@ -265,10 +466,9 @@ type MigrationHistoryResponse = {
|
|
265
466
|
*/
|
266
467
|
type DBName$1 = string;
|
267
468
|
/**
|
268
|
-
*
|
269
|
-
* @x-go-type string
|
469
|
+
* Represent the state of the branch, used for branch lifecycle management
|
270
470
|
*/
|
271
|
-
type
|
471
|
+
type BranchState = 'active' | 'move_scheduled' | 'moving';
|
272
472
|
type Branch = {
|
273
473
|
name: string;
|
274
474
|
/**
|
@@ -277,7 +477,10 @@ type Branch = {
|
|
277
477
|
* @minLength 1
|
278
478
|
*/
|
279
479
|
clusterID?: string;
|
480
|
+
state: BranchState;
|
280
481
|
createdAt: DateTime$1;
|
482
|
+
searchDisabled?: boolean;
|
483
|
+
inactiveSharedCluster?: boolean;
|
281
484
|
};
|
282
485
|
type ListBranchesResponse = {
|
283
486
|
databaseName: string;
|
@@ -367,6 +570,7 @@ type DBBranch = {
|
|
367
570
|
*/
|
368
571
|
clusterID?: string;
|
369
572
|
version: number;
|
573
|
+
state: BranchState;
|
370
574
|
lastMigrationID: string;
|
371
575
|
metadata?: BranchMetadata$1;
|
372
576
|
startedFrom?: StartedFromMetadata;
|
@@ -1602,20 +1806,63 @@ type FileSignature = string;
|
|
1602
1806
|
type SQLRecord = {
|
1603
1807
|
[key: string]: any;
|
1604
1808
|
};
|
1809
|
+
/**
|
1810
|
+
* @default strong
|
1811
|
+
*/
|
1812
|
+
type SQLConsistency = 'strong' | 'eventual';
|
1813
|
+
/**
|
1814
|
+
* @default json
|
1815
|
+
*/
|
1816
|
+
type SQLResponseType$1 = 'json' | 'array';
|
1817
|
+
type PreparedStatement = {
|
1818
|
+
/**
|
1819
|
+
* The SQL statement.
|
1820
|
+
*
|
1821
|
+
* @minLength 1
|
1822
|
+
*/
|
1823
|
+
statement: string;
|
1824
|
+
/**
|
1825
|
+
* The query parameter list.
|
1826
|
+
*
|
1827
|
+
* @x-go-type []any
|
1828
|
+
*/
|
1829
|
+
params?: any[] | null;
|
1830
|
+
};
|
1831
|
+
type SQLResponseBase = {
|
1832
|
+
/**
|
1833
|
+
* Name of the column and its PostgreSQL type
|
1834
|
+
*
|
1835
|
+
* @x-go-type []sqlproxy.ColumnMeta
|
1836
|
+
*/
|
1837
|
+
columns: {
|
1838
|
+
name: string;
|
1839
|
+
type: string;
|
1840
|
+
}[];
|
1841
|
+
/**
|
1842
|
+
* Number of selected columns
|
1843
|
+
*/
|
1844
|
+
total: number;
|
1845
|
+
warning?: string;
|
1846
|
+
};
|
1847
|
+
type SQLResponseJSON = SQLResponseBase & {
|
1848
|
+
/**
|
1849
|
+
* @x-go-type []xata.Record
|
1850
|
+
*/
|
1851
|
+
records: SQLRecord[];
|
1852
|
+
};
|
1853
|
+
type SQLResponseArray = SQLResponseBase & {
|
1854
|
+
/**
|
1855
|
+
* @x-go-type []xata.Row
|
1856
|
+
*/
|
1857
|
+
rows: any[][];
|
1858
|
+
};
|
1859
|
+
type SQLResponse$1 = SQLResponseJSON | SQLResponseArray;
|
1605
1860
|
/**
|
1606
1861
|
* Xata Table Record Metadata
|
1607
1862
|
*/
|
1608
1863
|
type XataRecord$1 = RecordMeta & {
|
1609
1864
|
[key: string]: any;
|
1610
1865
|
};
|
1611
|
-
/**
|
1612
|
-
* Page size.
|
1613
|
-
*
|
1614
|
-
* @x-internal true
|
1615
|
-
* @default 25
|
1616
|
-
* @minimum 0
|
1617
|
-
*/
|
1618
|
-
type PaginationPageSize = number;
|
1619
1866
|
|
1620
1867
|
/**
|
1621
1868
|
* Generated by @openapi-codegen
|
@@ -1712,39 +1959,9 @@ type AggResponse = {
|
|
1712
1959
|
[key: string]: AggResponse$1;
|
1713
1960
|
};
|
1714
1961
|
};
|
1715
|
-
type SQLResponse =
|
1716
|
-
records?: SQLRecord[];
|
1717
|
-
rows?: any[][];
|
1718
|
-
/**
|
1719
|
-
* Name of the column and its PostgreSQL type
|
1720
|
-
*/
|
1721
|
-
columns?: {
|
1722
|
-
name?: string;
|
1723
|
-
type?: string;
|
1724
|
-
}[];
|
1725
|
-
/**
|
1726
|
-
* Number of selected columns
|
1727
|
-
*/
|
1728
|
-
total?: number;
|
1729
|
-
warning?: string;
|
1730
|
-
};
|
1962
|
+
type SQLResponse = SQLResponse$1;
|
1731
1963
|
type SQLBatchResponse = {
|
1732
|
-
results:
|
1733
|
-
records?: SQLRecord[];
|
1734
|
-
rows?: any[][];
|
1735
|
-
/**
|
1736
|
-
* Name of the column and its PostgreSQL type
|
1737
|
-
*/
|
1738
|
-
columns?: {
|
1739
|
-
name?: string;
|
1740
|
-
type?: string;
|
1741
|
-
}[];
|
1742
|
-
/**
|
1743
|
-
* Number of selected columns
|
1744
|
-
*/
|
1745
|
-
total?: number;
|
1746
|
-
warning?: string;
|
1747
|
-
}[];
|
1964
|
+
results: SQLResponse$1[];
|
1748
1965
|
};
|
1749
1966
|
|
1750
1967
|
/**
|
@@ -1841,7 +2058,6 @@ type Workspace = WorkspaceMeta & {
|
|
1841
2058
|
plan: WorkspacePlan;
|
1842
2059
|
};
|
1843
2060
|
type WorkspaceSettings = {
|
1844
|
-
postgresEnabled: boolean;
|
1845
2061
|
dedicatedClusters: boolean;
|
1846
2062
|
};
|
1847
2063
|
type WorkspaceMember = {
|
@@ -1910,6 +2126,8 @@ type ClusterShortMetadata = {
|
|
1910
2126
|
* @format int64
|
1911
2127
|
*/
|
1912
2128
|
branches: number;
|
2129
|
+
createdAt: DateTime;
|
2130
|
+
terminatedAt?: DateTime;
|
1913
2131
|
};
|
1914
2132
|
/**
|
1915
2133
|
* @x-internal true
|
@@ -2599,6 +2817,7 @@ type GetWorkspacesListError = ErrorWrapper$1<{
|
|
2599
2817
|
type GetWorkspacesListResponse = {
|
2600
2818
|
workspaces: {
|
2601
2819
|
id: WorkspaceID;
|
2820
|
+
unique_id: string;
|
2602
2821
|
name: string;
|
2603
2822
|
slug: string;
|
2604
2823
|
role: Role;
|
@@ -2751,11 +2970,8 @@ type UpdateWorkspaceSettingsError = ErrorWrapper$1<{
|
|
2751
2970
|
status: 404;
|
2752
2971
|
payload: SimpleError;
|
2753
2972
|
}>;
|
2754
|
-
type UpdateWorkspaceSettingsRequestBody = {
|
2755
|
-
postgresEnabled: boolean;
|
2756
|
-
};
|
2757
2973
|
type UpdateWorkspaceSettingsVariables = {
|
2758
|
-
body
|
2974
|
+
body?: Record<string, any>;
|
2759
2975
|
pathParams: UpdateWorkspaceSettingsPathParams;
|
2760
2976
|
} & ControlPlaneFetcherExtraProps;
|
2761
2977
|
/**
|
@@ -3487,11 +3703,179 @@ type ErrorWrapper<TError> = TError | {
|
|
3487
3703
|
};
|
3488
3704
|
|
3489
3705
|
/**
|
3490
|
-
* Generated by @openapi-codegen
|
3491
|
-
*
|
3492
|
-
* @version 1.0
|
3706
|
+
* Generated by @openapi-codegen
|
3707
|
+
*
|
3708
|
+
* @version 1.0
|
3709
|
+
*/
|
3710
|
+
|
3711
|
+
type ListClusterBranchesPathParams = {
|
3712
|
+
/**
|
3713
|
+
* Cluster ID
|
3714
|
+
*/
|
3715
|
+
clusterId: ClusterID$1;
|
3716
|
+
workspace: string;
|
3717
|
+
region: string;
|
3718
|
+
};
|
3719
|
+
type ListClusterBranchesQueryParams = {
|
3720
|
+
/**
|
3721
|
+
* Page size
|
3722
|
+
*/
|
3723
|
+
page?: PageSize$1;
|
3724
|
+
/**
|
3725
|
+
* Page token
|
3726
|
+
*/
|
3727
|
+
token?: PageToken$1;
|
3728
|
+
};
|
3729
|
+
type ListClusterBranchesError = ErrorWrapper<{
|
3730
|
+
status: 400;
|
3731
|
+
payload: BadRequestError$1;
|
3732
|
+
} | {
|
3733
|
+
status: 401;
|
3734
|
+
payload: AuthError$1;
|
3735
|
+
}>;
|
3736
|
+
type ListClusterBranchesVariables = {
|
3737
|
+
pathParams: ListClusterBranchesPathParams;
|
3738
|
+
queryParams?: ListClusterBranchesQueryParams;
|
3739
|
+
} & DataPlaneFetcherExtraProps;
|
3740
|
+
/**
|
3741
|
+
* Retrieve branches for given cluster ID
|
3742
|
+
*/
|
3743
|
+
declare const listClusterBranches: (variables: ListClusterBranchesVariables, signal?: AbortSignal) => Promise<ListClusterBranchesResponse>;
|
3744
|
+
type ListClusterExtensionsPathParams = {
|
3745
|
+
/**
|
3746
|
+
* Cluster ID
|
3747
|
+
*/
|
3748
|
+
clusterId: ClusterID$1;
|
3749
|
+
workspace: string;
|
3750
|
+
region: string;
|
3751
|
+
};
|
3752
|
+
type ListClusterExtensionsQueryParams = {
|
3753
|
+
extensionType: 'available' | 'installed';
|
3754
|
+
};
|
3755
|
+
type ListClusterExtensionsError = ErrorWrapper<{
|
3756
|
+
status: 400;
|
3757
|
+
payload: BadRequestError$1;
|
3758
|
+
} | {
|
3759
|
+
status: 401;
|
3760
|
+
payload: AuthError$1;
|
3761
|
+
}>;
|
3762
|
+
type ListClusterExtensionsVariables = {
|
3763
|
+
pathParams: ListClusterExtensionsPathParams;
|
3764
|
+
queryParams: ListClusterExtensionsQueryParams;
|
3765
|
+
} & DataPlaneFetcherExtraProps;
|
3766
|
+
/**
|
3767
|
+
* Retrieve extensions for given cluster ID
|
3768
|
+
*/
|
3769
|
+
declare const listClusterExtensions: (variables: ListClusterExtensionsVariables, signal?: AbortSignal) => Promise<ListClusterExtensionsResponse>;
|
3770
|
+
type InstallClusterExtensionPathParams = {
|
3771
|
+
/**
|
3772
|
+
* Cluster ID
|
3773
|
+
*/
|
3774
|
+
clusterId: ClusterID$1;
|
3775
|
+
workspace: string;
|
3776
|
+
region: string;
|
3777
|
+
};
|
3778
|
+
type InstallClusterExtensionError = ErrorWrapper<{
|
3779
|
+
status: 400;
|
3780
|
+
payload: BadRequestError$1;
|
3781
|
+
} | {
|
3782
|
+
status: 401;
|
3783
|
+
payload: AuthError$1;
|
3784
|
+
}>;
|
3785
|
+
type InstallClusterExtensionRequestBody = {
|
3786
|
+
/**
|
3787
|
+
* Extension name
|
3788
|
+
*/
|
3789
|
+
extension: string;
|
3790
|
+
/**
|
3791
|
+
* Schema name
|
3792
|
+
*/
|
3793
|
+
schema?: string;
|
3794
|
+
/**
|
3795
|
+
* install with cascade option
|
3796
|
+
*/
|
3797
|
+
cascade?: boolean;
|
3798
|
+
};
|
3799
|
+
type InstallClusterExtensionVariables = {
|
3800
|
+
body: InstallClusterExtensionRequestBody;
|
3801
|
+
pathParams: InstallClusterExtensionPathParams;
|
3802
|
+
} & DataPlaneFetcherExtraProps;
|
3803
|
+
/**
|
3804
|
+
* Install an extension for given cluster ID
|
3805
|
+
*/
|
3806
|
+
declare const installClusterExtension: (variables: InstallClusterExtensionVariables, signal?: AbortSignal) => Promise<ClusterExtensionInstallationResponse>;
|
3807
|
+
type DropClusterExtensionPathParams = {
|
3808
|
+
/**
|
3809
|
+
* Cluster ID
|
3810
|
+
*/
|
3811
|
+
clusterId: ClusterID$1;
|
3812
|
+
workspace: string;
|
3813
|
+
region: string;
|
3814
|
+
};
|
3815
|
+
type DropClusterExtensionError = ErrorWrapper<{
|
3816
|
+
status: 400;
|
3817
|
+
payload: BadRequestError$1;
|
3818
|
+
} | {
|
3819
|
+
status: 401;
|
3820
|
+
payload: AuthError$1;
|
3821
|
+
}>;
|
3822
|
+
type DropClusterExtensionRequestBody = {
|
3823
|
+
/**
|
3824
|
+
* Extension name
|
3825
|
+
*/
|
3826
|
+
extension: string;
|
3827
|
+
/**
|
3828
|
+
* drop with cascade option, true by default
|
3829
|
+
*/
|
3830
|
+
cascade?: boolean;
|
3831
|
+
};
|
3832
|
+
type DropClusterExtensionVariables = {
|
3833
|
+
body: DropClusterExtensionRequestBody;
|
3834
|
+
pathParams: DropClusterExtensionPathParams;
|
3835
|
+
} & DataPlaneFetcherExtraProps;
|
3836
|
+
/**
|
3837
|
+
* Drop an extension for given cluster ID
|
3838
|
+
*/
|
3839
|
+
declare const dropClusterExtension: (variables: DropClusterExtensionVariables, signal?: AbortSignal) => Promise<undefined>;
|
3840
|
+
type GetClusterMetricsPathParams = {
|
3841
|
+
/**
|
3842
|
+
* Cluster ID
|
3843
|
+
*/
|
3844
|
+
clusterId: ClusterID$1;
|
3845
|
+
workspace: string;
|
3846
|
+
region: string;
|
3847
|
+
};
|
3848
|
+
type GetClusterMetricsQueryParams = {
|
3849
|
+
startTime: string;
|
3850
|
+
endTime: string;
|
3851
|
+
period: '5min' | '15min' | '1hour';
|
3852
|
+
/**
|
3853
|
+
* Page size
|
3854
|
+
*/
|
3855
|
+
page?: PageSize$1;
|
3856
|
+
/**
|
3857
|
+
* Page token
|
3858
|
+
*/
|
3859
|
+
token?: PageToken$1;
|
3860
|
+
};
|
3861
|
+
type GetClusterMetricsError = ErrorWrapper<{
|
3862
|
+
status: 400;
|
3863
|
+
payload: BadRequestError$1;
|
3864
|
+
} | {
|
3865
|
+
status: 401;
|
3866
|
+
payload: AuthError$1;
|
3867
|
+
} | {
|
3868
|
+
status: 404;
|
3869
|
+
payload: SimpleError$1;
|
3870
|
+
}>;
|
3871
|
+
type GetClusterMetricsVariables = {
|
3872
|
+
pathParams: GetClusterMetricsPathParams;
|
3873
|
+
queryParams: GetClusterMetricsQueryParams;
|
3874
|
+
} & DataPlaneFetcherExtraProps;
|
3875
|
+
/**
|
3876
|
+
* retrieve a standard set of RDS cluster metrics
|
3493
3877
|
*/
|
3494
|
-
|
3878
|
+
declare const getClusterMetrics: (variables: GetClusterMetricsVariables, signal?: AbortSignal) => Promise<MetricsResponse>;
|
3495
3879
|
type ApplyMigrationPathParams = {
|
3496
3880
|
/**
|
3497
3881
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3518,6 +3902,12 @@ type ApplyMigrationRequestBody = {
|
|
3518
3902
|
operations: {
|
3519
3903
|
[key: string]: any;
|
3520
3904
|
}[];
|
3905
|
+
/**
|
3906
|
+
* The schema in which the migration should be applied
|
3907
|
+
*
|
3908
|
+
* @default public
|
3909
|
+
*/
|
3910
|
+
schema?: string;
|
3521
3911
|
adaptTables?: boolean;
|
3522
3912
|
};
|
3523
3913
|
type ApplyMigrationVariables = {
|
@@ -3554,7 +3944,12 @@ type StartMigrationRequestBody = {
|
|
3554
3944
|
operations: {
|
3555
3945
|
[key: string]: any;
|
3556
3946
|
}[];
|
3557
|
-
|
3947
|
+
/**
|
3948
|
+
* The schema in which the migration should be started
|
3949
|
+
*
|
3950
|
+
* @default public
|
3951
|
+
*/
|
3952
|
+
schema?: string;
|
3558
3953
|
};
|
3559
3954
|
type StartMigrationVariables = {
|
3560
3955
|
body: StartMigrationRequestBody;
|
@@ -3582,7 +3977,16 @@ type CompleteMigrationError = ErrorWrapper<{
|
|
3582
3977
|
status: 404;
|
3583
3978
|
payload: SimpleError$1;
|
3584
3979
|
}>;
|
3980
|
+
type CompleteMigrationRequestBody = {
|
3981
|
+
/**
|
3982
|
+
* The schema in which the migration should be completed
|
3983
|
+
*
|
3984
|
+
* @default public
|
3985
|
+
*/
|
3986
|
+
schema?: string;
|
3987
|
+
};
|
3585
3988
|
type CompleteMigrationVariables = {
|
3989
|
+
body?: CompleteMigrationRequestBody;
|
3586
3990
|
pathParams: CompleteMigrationPathParams;
|
3587
3991
|
} & DataPlaneFetcherExtraProps;
|
3588
3992
|
/**
|
@@ -3607,7 +4011,16 @@ type RollbackMigrationError = ErrorWrapper<{
|
|
3607
4011
|
status: 404;
|
3608
4012
|
payload: SimpleError$1;
|
3609
4013
|
}>;
|
4014
|
+
type RollbackMigrationRequestBody = {
|
4015
|
+
/**
|
4016
|
+
* The schema in which the migration should be rolled back
|
4017
|
+
*
|
4018
|
+
* @default public
|
4019
|
+
*/
|
4020
|
+
schema?: string;
|
4021
|
+
};
|
3610
4022
|
type RollbackMigrationVariables = {
|
4023
|
+
body?: RollbackMigrationRequestBody;
|
3611
4024
|
pathParams: RollbackMigrationPathParams;
|
3612
4025
|
} & DataPlaneFetcherExtraProps;
|
3613
4026
|
/**
|
@@ -3690,6 +4103,39 @@ type GetBranchMigrationJobStatusVariables = {
|
|
3690
4103
|
pathParams: GetBranchMigrationJobStatusPathParams;
|
3691
4104
|
} & DataPlaneFetcherExtraProps;
|
3692
4105
|
declare const getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal) => Promise<MigrationJobStatusResponse>;
|
4106
|
+
type GetMigrationJobsPathParams = {
|
4107
|
+
/**
|
4108
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
4109
|
+
*/
|
4110
|
+
dbBranchName: DBBranchName;
|
4111
|
+
workspace: string;
|
4112
|
+
region: string;
|
4113
|
+
};
|
4114
|
+
type GetMigrationJobsQueryParams = {
|
4115
|
+
/**
|
4116
|
+
* @format date-time
|
4117
|
+
*/
|
4118
|
+
cursor?: string;
|
4119
|
+
/**
|
4120
|
+
* Page size
|
4121
|
+
*/
|
4122
|
+
limit?: PageSize$1;
|
4123
|
+
};
|
4124
|
+
type GetMigrationJobsError = ErrorWrapper<{
|
4125
|
+
status: 400;
|
4126
|
+
payload: BadRequestError$1;
|
4127
|
+
} | {
|
4128
|
+
status: 401;
|
4129
|
+
payload: AuthError$1;
|
4130
|
+
} | {
|
4131
|
+
status: 404;
|
4132
|
+
payload: SimpleError$1;
|
4133
|
+
}>;
|
4134
|
+
type GetMigrationJobsVariables = {
|
4135
|
+
pathParams: GetMigrationJobsPathParams;
|
4136
|
+
queryParams?: GetMigrationJobsQueryParams;
|
4137
|
+
} & DataPlaneFetcherExtraProps;
|
4138
|
+
declare const getMigrationJobs: (variables: GetMigrationJobsVariables, signal?: AbortSignal) => Promise<GetMigrationJobsResponse>;
|
3693
4139
|
type GetMigrationJobStatusPathParams = {
|
3694
4140
|
/**
|
3695
4141
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3732,7 +4178,7 @@ type GetMigrationHistoryQueryParams = {
|
|
3732
4178
|
/**
|
3733
4179
|
* Page size
|
3734
4180
|
*/
|
3735
|
-
limit?:
|
4181
|
+
limit?: PageSize$1;
|
3736
4182
|
};
|
3737
4183
|
type GetMigrationHistoryError = ErrorWrapper<{
|
3738
4184
|
status: 400;
|
@@ -3961,6 +4407,31 @@ type GetSchemaVariables = {
|
|
3961
4407
|
pathParams: GetSchemaPathParams;
|
3962
4408
|
} & DataPlaneFetcherExtraProps;
|
3963
4409
|
declare const getSchema: (variables: GetSchemaVariables, signal?: AbortSignal) => Promise<GetSchemaResponse>;
|
4410
|
+
type GetSchemasPathParams = {
|
4411
|
+
/**
|
4412
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
4413
|
+
*/
|
4414
|
+
dbBranchName: DBBranchName;
|
4415
|
+
workspace: string;
|
4416
|
+
region: string;
|
4417
|
+
};
|
4418
|
+
type GetSchemasError = ErrorWrapper<{
|
4419
|
+
status: 400;
|
4420
|
+
payload: BadRequestError$1;
|
4421
|
+
} | {
|
4422
|
+
status: 401;
|
4423
|
+
payload: AuthError$1;
|
4424
|
+
} | {
|
4425
|
+
status: 404;
|
4426
|
+
payload: SimpleError$1;
|
4427
|
+
}>;
|
4428
|
+
type GetSchemasResponse = {
|
4429
|
+
schemas: BranchSchema[];
|
4430
|
+
};
|
4431
|
+
type GetSchemasVariables = {
|
4432
|
+
pathParams: GetSchemasPathParams;
|
4433
|
+
} & DataPlaneFetcherExtraProps;
|
4434
|
+
declare const getSchemas: (variables: GetSchemasVariables, signal?: AbortSignal) => Promise<GetSchemasResponse>;
|
3964
4435
|
type CopyBranchPathParams = {
|
3965
4436
|
/**
|
3966
4437
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -3991,6 +4462,73 @@ type CopyBranchVariables = {
|
|
3991
4462
|
* Create a copy of the branch
|
3992
4463
|
*/
|
3993
4464
|
declare const copyBranch: (variables: CopyBranchVariables, signal?: AbortSignal) => Promise<BranchWithCopyID>;
|
4465
|
+
type GetBranchMoveStatusPathParams = {
|
4466
|
+
/**
|
4467
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
4468
|
+
*/
|
4469
|
+
dbBranchName: DBBranchName;
|
4470
|
+
workspace: string;
|
4471
|
+
region: string;
|
4472
|
+
};
|
4473
|
+
type GetBranchMoveStatusError = ErrorWrapper<{
|
4474
|
+
status: 400;
|
4475
|
+
payload: BadRequestError$1;
|
4476
|
+
} | {
|
4477
|
+
status: 401;
|
4478
|
+
payload: AuthError$1;
|
4479
|
+
} | {
|
4480
|
+
status: 404;
|
4481
|
+
payload: SimpleError$1;
|
4482
|
+
}>;
|
4483
|
+
type GetBranchMoveStatusResponse = {
|
4484
|
+
state: string;
|
4485
|
+
pendingBytes: number;
|
4486
|
+
};
|
4487
|
+
type GetBranchMoveStatusVariables = {
|
4488
|
+
pathParams: GetBranchMoveStatusPathParams;
|
4489
|
+
} & DataPlaneFetcherExtraProps;
|
4490
|
+
/**
|
4491
|
+
* Get the branch move status (if a move is happening)
|
4492
|
+
*/
|
4493
|
+
declare const getBranchMoveStatus: (variables: GetBranchMoveStatusVariables, signal?: AbortSignal) => Promise<GetBranchMoveStatusResponse>;
|
4494
|
+
type MoveBranchPathParams = {
|
4495
|
+
/**
|
4496
|
+
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
4497
|
+
*/
|
4498
|
+
dbBranchName: DBBranchName;
|
4499
|
+
workspace: string;
|
4500
|
+
region: string;
|
4501
|
+
};
|
4502
|
+
type MoveBranchError = ErrorWrapper<{
|
4503
|
+
status: 400;
|
4504
|
+
payload: BadRequestError$1;
|
4505
|
+
} | {
|
4506
|
+
status: 401;
|
4507
|
+
payload: AuthError$1;
|
4508
|
+
} | {
|
4509
|
+
status: 404;
|
4510
|
+
payload: SimpleError$1;
|
4511
|
+
} | {
|
4512
|
+
status: 423;
|
4513
|
+
payload: SimpleError$1;
|
4514
|
+
}>;
|
4515
|
+
type MoveBranchResponse = {
|
4516
|
+
state: string;
|
4517
|
+
};
|
4518
|
+
type MoveBranchRequestBody = {
|
4519
|
+
/**
|
4520
|
+
* Select the cluster to move the branch to. Must be different from the current cluster.
|
4521
|
+
*
|
4522
|
+
* @minLength 1
|
4523
|
+
* @x-internal true
|
4524
|
+
*/
|
4525
|
+
to: string;
|
4526
|
+
};
|
4527
|
+
type MoveBranchVariables = {
|
4528
|
+
body: MoveBranchRequestBody;
|
4529
|
+
pathParams: MoveBranchPathParams;
|
4530
|
+
} & DataPlaneFetcherExtraProps;
|
4531
|
+
declare const moveBranch: (variables: MoveBranchVariables, signal?: AbortSignal) => Promise<MoveBranchResponse>;
|
3994
4532
|
type UpdateBranchMetadataPathParams = {
|
3995
4533
|
/**
|
3996
4534
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -7165,29 +7703,9 @@ type SqlQueryError = ErrorWrapper<{
|
|
7165
7703
|
status: 503;
|
7166
7704
|
payload: ServiceUnavailableError;
|
7167
7705
|
}>;
|
7168
|
-
type SqlQueryRequestBody = {
|
7169
|
-
|
7170
|
-
|
7171
|
-
*
|
7172
|
-
* @minLength 1
|
7173
|
-
*/
|
7174
|
-
statement: string;
|
7175
|
-
/**
|
7176
|
-
* The query parameter list.
|
7177
|
-
*/
|
7178
|
-
params?: any[] | null;
|
7179
|
-
/**
|
7180
|
-
* The consistency level for this request.
|
7181
|
-
*
|
7182
|
-
* @default strong
|
7183
|
-
*/
|
7184
|
-
consistency?: 'strong' | 'eventual';
|
7185
|
-
/**
|
7186
|
-
* The response type.
|
7187
|
-
*
|
7188
|
-
* @default json
|
7189
|
-
*/
|
7190
|
-
responseType?: 'json' | 'array';
|
7706
|
+
type SqlQueryRequestBody = PreparedStatement & {
|
7707
|
+
consistency?: SQLConsistency;
|
7708
|
+
responseType?: SQLResponseType$1;
|
7191
7709
|
};
|
7192
7710
|
type SqlQueryVariables = {
|
7193
7711
|
body: SqlQueryRequestBody;
|
@@ -7196,7 +7714,7 @@ type SqlQueryVariables = {
|
|
7196
7714
|
/**
|
7197
7715
|
* Run an SQL query across the database branch.
|
7198
7716
|
*/
|
7199
|
-
declare const sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse>;
|
7717
|
+
declare const sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse$1>;
|
7200
7718
|
type SqlBatchQueryPathParams = {
|
7201
7719
|
/**
|
7202
7720
|
* The DBBranchName matches the pattern `{db_name}:{branch_name}`.
|
@@ -7221,31 +7739,12 @@ type SqlBatchQueryError = ErrorWrapper<{
|
|
7221
7739
|
type SqlBatchQueryRequestBody = {
|
7222
7740
|
/**
|
7223
7741
|
* The SQL statements.
|
7224
|
-
*/
|
7225
|
-
statements: {
|
7226
|
-
/**
|
7227
|
-
* The SQL statement.
|
7228
|
-
*
|
7229
|
-
* @minLength 1
|
7230
|
-
*/
|
7231
|
-
statement?: string;
|
7232
|
-
/**
|
7233
|
-
* The query parameter list.
|
7234
|
-
*/
|
7235
|
-
params?: any[] | null;
|
7236
|
-
}[];
|
7237
|
-
/**
|
7238
|
-
* The consistency level for this request.
|
7239
|
-
*
|
7240
|
-
* @default strong
|
7241
|
-
*/
|
7242
|
-
consistency?: 'strong' | 'eventual';
|
7243
|
-
/**
|
7244
|
-
* The response type.
|
7245
7742
|
*
|
7246
|
-
* @
|
7743
|
+
* @x-go-type []sqlproxy.PreparedStatement
|
7247
7744
|
*/
|
7248
|
-
|
7745
|
+
statements: PreparedStatement[];
|
7746
|
+
consistency?: SQLConsistency;
|
7747
|
+
responseType?: SQLResponseType$1;
|
7249
7748
|
};
|
7250
7749
|
type SqlBatchQueryVariables = {
|
7251
7750
|
body: SqlBatchQueryRequestBody;
|
@@ -7258,157 +7757,168 @@ declare const sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortS
|
|
7258
7757
|
|
7259
7758
|
declare const operationsByTag: {
|
7260
7759
|
branch: {
|
7261
|
-
getBranchList: (variables: GetBranchListVariables, signal?: AbortSignal
|
7262
|
-
getBranchDetails: (variables: GetBranchDetailsVariables, signal?: AbortSignal
|
7263
|
-
createBranch: (variables: CreateBranchVariables, signal?: AbortSignal
|
7264
|
-
deleteBranch: (variables: DeleteBranchVariables, signal?: AbortSignal
|
7265
|
-
copyBranch: (variables: CopyBranchVariables, signal?: AbortSignal
|
7266
|
-
|
7267
|
-
|
7268
|
-
|
7269
|
-
|
7270
|
-
|
7271
|
-
|
7272
|
-
|
7760
|
+
getBranchList: (variables: GetBranchListVariables, signal?: AbortSignal) => Promise<ListBranchesResponse>;
|
7761
|
+
getBranchDetails: (variables: GetBranchDetailsVariables, signal?: AbortSignal) => Promise<DBBranch>;
|
7762
|
+
createBranch: (variables: CreateBranchVariables, signal?: AbortSignal) => Promise<CreateBranchResponse>;
|
7763
|
+
deleteBranch: (variables: DeleteBranchVariables, signal?: AbortSignal) => Promise<DeleteBranchResponse>;
|
7764
|
+
copyBranch: (variables: CopyBranchVariables, signal?: AbortSignal) => Promise<BranchWithCopyID>;
|
7765
|
+
getBranchMoveStatus: (variables: GetBranchMoveStatusVariables, signal?: AbortSignal) => Promise<GetBranchMoveStatusResponse>;
|
7766
|
+
moveBranch: (variables: MoveBranchVariables, signal?: AbortSignal) => Promise<MoveBranchResponse>;
|
7767
|
+
updateBranchMetadata: (variables: UpdateBranchMetadataVariables, signal?: AbortSignal) => Promise<undefined>;
|
7768
|
+
getBranchMetadata: (variables: GetBranchMetadataVariables, signal?: AbortSignal) => Promise<BranchMetadata$1>;
|
7769
|
+
getBranchStats: (variables: GetBranchStatsVariables, signal?: AbortSignal) => Promise<GetBranchStatsResponse>;
|
7770
|
+
getGitBranchesMapping: (variables: GetGitBranchesMappingVariables, signal?: AbortSignal) => Promise<ListGitBranchesResponse>;
|
7771
|
+
addGitBranchesEntry: (variables: AddGitBranchesEntryVariables, signal?: AbortSignal) => Promise<AddGitBranchesEntryResponse>;
|
7772
|
+
removeGitBranchesEntry: (variables: RemoveGitBranchesEntryVariables, signal?: AbortSignal) => Promise<undefined>;
|
7773
|
+
resolveBranch: (variables: ResolveBranchVariables, signal?: AbortSignal) => Promise<ResolveBranchResponse>;
|
7273
7774
|
};
|
7274
7775
|
workspaces: {
|
7275
|
-
getWorkspacesList: (variables:
|
7276
|
-
createWorkspace: (variables: CreateWorkspaceVariables, signal?: AbortSignal
|
7277
|
-
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal
|
7278
|
-
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal
|
7279
|
-
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal
|
7280
|
-
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal
|
7281
|
-
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal
|
7282
|
-
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal
|
7283
|
-
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal
|
7284
|
-
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal
|
7776
|
+
getWorkspacesList: (variables: GetWorkspacesListVariables, signal?: AbortSignal) => Promise<GetWorkspacesListResponse>;
|
7777
|
+
createWorkspace: (variables: CreateWorkspaceVariables, signal?: AbortSignal) => Promise<Workspace>;
|
7778
|
+
getWorkspace: (variables: GetWorkspaceVariables, signal?: AbortSignal) => Promise<Workspace>;
|
7779
|
+
updateWorkspace: (variables: UpdateWorkspaceVariables, signal?: AbortSignal) => Promise<Workspace>;
|
7780
|
+
deleteWorkspace: (variables: DeleteWorkspaceVariables, signal?: AbortSignal) => Promise<undefined>;
|
7781
|
+
getWorkspaceSettings: (variables: GetWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
7782
|
+
updateWorkspaceSettings: (variables: UpdateWorkspaceSettingsVariables, signal?: AbortSignal) => Promise<WorkspaceSettings>;
|
7783
|
+
getWorkspaceMembersList: (variables: GetWorkspaceMembersListVariables, signal?: AbortSignal) => Promise<WorkspaceMembers>;
|
7784
|
+
updateWorkspaceMemberRole: (variables: UpdateWorkspaceMemberRoleVariables, signal?: AbortSignal) => Promise<undefined>;
|
7785
|
+
removeWorkspaceMember: (variables: RemoveWorkspaceMemberVariables, signal?: AbortSignal) => Promise<undefined>;
|
7285
7786
|
};
|
7286
7787
|
table: {
|
7287
|
-
createTable: (variables: CreateTableVariables, signal?: AbortSignal
|
7288
|
-
deleteTable: (variables: DeleteTableVariables, signal?: AbortSignal
|
7289
|
-
updateTable: (variables: UpdateTableVariables, signal?: AbortSignal
|
7290
|
-
getTableSchema: (variables: GetTableSchemaVariables, signal?: AbortSignal
|
7291
|
-
setTableSchema: (variables: SetTableSchemaVariables, signal?: AbortSignal
|
7292
|
-
getTableColumns: (variables: GetTableColumnsVariables, signal?: AbortSignal
|
7293
|
-
addTableColumn: (variables: AddTableColumnVariables, signal?: AbortSignal
|
7294
|
-
getColumn: (variables: GetColumnVariables, signal?: AbortSignal
|
7295
|
-
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal
|
7296
|
-
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal
|
7788
|
+
createTable: (variables: CreateTableVariables, signal?: AbortSignal) => Promise<CreateTableResponse>;
|
7789
|
+
deleteTable: (variables: DeleteTableVariables, signal?: AbortSignal) => Promise<DeleteTableResponse>;
|
7790
|
+
updateTable: (variables: UpdateTableVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7791
|
+
getTableSchema: (variables: GetTableSchemaVariables, signal?: AbortSignal) => Promise<GetTableSchemaResponse>;
|
7792
|
+
setTableSchema: (variables: SetTableSchemaVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7793
|
+
getTableColumns: (variables: GetTableColumnsVariables, signal?: AbortSignal) => Promise<GetTableColumnsResponse>;
|
7794
|
+
addTableColumn: (variables: AddTableColumnVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7795
|
+
getColumn: (variables: GetColumnVariables, signal?: AbortSignal) => Promise<Column>;
|
7796
|
+
updateColumn: (variables: UpdateColumnVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7797
|
+
deleteColumn: (variables: DeleteColumnVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7297
7798
|
};
|
7298
7799
|
migrations: {
|
7299
|
-
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal
|
7300
|
-
startMigration: (variables: StartMigrationVariables, signal?: AbortSignal
|
7301
|
-
completeMigration: (variables: CompleteMigrationVariables, signal?: AbortSignal
|
7302
|
-
rollbackMigration: (variables: RollbackMigrationVariables, signal?: AbortSignal
|
7303
|
-
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal
|
7304
|
-
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal
|
7305
|
-
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal
|
7306
|
-
|
7307
|
-
|
7308
|
-
|
7309
|
-
|
7310
|
-
|
7311
|
-
|
7312
|
-
|
7313
|
-
|
7314
|
-
|
7315
|
-
|
7316
|
-
|
7317
|
-
|
7318
|
-
|
7800
|
+
applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
7801
|
+
startMigration: (variables: StartMigrationVariables, signal?: AbortSignal) => Promise<StartMigrationResponse>;
|
7802
|
+
completeMigration: (variables: CompleteMigrationVariables, signal?: AbortSignal) => Promise<CompleteMigrationResponse>;
|
7803
|
+
rollbackMigration: (variables: RollbackMigrationVariables, signal?: AbortSignal) => Promise<RollbackMigrationResponse>;
|
7804
|
+
adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
7805
|
+
adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
|
7806
|
+
getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal) => Promise<MigrationJobStatusResponse>;
|
7807
|
+
getMigrationJobs: (variables: GetMigrationJobsVariables, signal?: AbortSignal) => Promise<GetMigrationJobsResponse>;
|
7808
|
+
getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal) => Promise<MigrationJobStatusResponse>;
|
7809
|
+
getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal) => Promise<MigrationHistoryResponse>;
|
7810
|
+
getSchema: (variables: GetSchemaVariables, signal?: AbortSignal) => Promise<GetSchemaResponse>;
|
7811
|
+
getSchemas: (variables: GetSchemasVariables, signal?: AbortSignal) => Promise<GetSchemasResponse>;
|
7812
|
+
getBranchMigrationHistory: (variables: GetBranchMigrationHistoryVariables, signal?: AbortSignal) => Promise<GetBranchMigrationHistoryResponse>;
|
7813
|
+
getBranchMigrationPlan: (variables: GetBranchMigrationPlanVariables, signal?: AbortSignal) => Promise<BranchMigrationPlan>;
|
7814
|
+
executeBranchMigrationPlan: (variables: ExecuteBranchMigrationPlanVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7815
|
+
getBranchSchemaHistory: (variables: GetBranchSchemaHistoryVariables, signal?: AbortSignal) => Promise<GetBranchSchemaHistoryResponse>;
|
7816
|
+
compareBranchWithUserSchema: (variables: CompareBranchWithUserSchemaVariables, signal?: AbortSignal) => Promise<SchemaCompareResponse>;
|
7817
|
+
compareBranchSchemas: (variables: CompareBranchSchemasVariables, signal?: AbortSignal) => Promise<SchemaCompareResponse>;
|
7818
|
+
updateBranchSchema: (variables: UpdateBranchSchemaVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7819
|
+
previewBranchSchemaEdit: (variables: PreviewBranchSchemaEditVariables, signal?: AbortSignal) => Promise<PreviewBranchSchemaEditResponse>;
|
7820
|
+
applyBranchSchemaEdit: (variables: ApplyBranchSchemaEditVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7821
|
+
pushBranchMigrations: (variables: PushBranchMigrationsVariables, signal?: AbortSignal) => Promise<SchemaUpdateResponse>;
|
7319
7822
|
};
|
7320
7823
|
records: {
|
7321
|
-
branchTransaction: (variables: BranchTransactionVariables, signal?: AbortSignal
|
7322
|
-
insertRecord: (variables: InsertRecordVariables, signal?: AbortSignal
|
7323
|
-
getRecord: (variables: GetRecordVariables, signal?: AbortSignal
|
7324
|
-
insertRecordWithID: (variables: InsertRecordWithIDVariables, signal?: AbortSignal
|
7325
|
-
updateRecordWithID: (variables: UpdateRecordWithIDVariables, signal?: AbortSignal
|
7326
|
-
upsertRecordWithID: (variables: UpsertRecordWithIDVariables, signal?: AbortSignal
|
7327
|
-
deleteRecord: (variables: DeleteRecordVariables, signal?: AbortSignal
|
7328
|
-
bulkInsertTableRecords: (variables: BulkInsertTableRecordsVariables, signal?: AbortSignal
|
7824
|
+
branchTransaction: (variables: BranchTransactionVariables, signal?: AbortSignal) => Promise<TransactionSuccess>;
|
7825
|
+
insertRecord: (variables: InsertRecordVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7826
|
+
getRecord: (variables: GetRecordVariables, signal?: AbortSignal) => Promise<XataRecord$1>;
|
7827
|
+
insertRecordWithID: (variables: InsertRecordWithIDVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7828
|
+
updateRecordWithID: (variables: UpdateRecordWithIDVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7829
|
+
upsertRecordWithID: (variables: UpsertRecordWithIDVariables, signal?: AbortSignal) => Promise<RecordUpdateResponse>;
|
7830
|
+
deleteRecord: (variables: DeleteRecordVariables, signal?: AbortSignal) => Promise<XataRecord$1>;
|
7831
|
+
bulkInsertTableRecords: (variables: BulkInsertTableRecordsVariables, signal?: AbortSignal) => Promise<BulkInsertResponse>;
|
7832
|
+
};
|
7833
|
+
cluster: {
|
7834
|
+
listClusterBranches: (variables: ListClusterBranchesVariables, signal?: AbortSignal) => Promise<ListClusterBranchesResponse>;
|
7835
|
+
listClusterExtensions: (variables: ListClusterExtensionsVariables, signal?: AbortSignal) => Promise<ListClusterExtensionsResponse>;
|
7836
|
+
installClusterExtension: (variables: InstallClusterExtensionVariables, signal?: AbortSignal) => Promise<ClusterExtensionInstallationResponse>;
|
7837
|
+
dropClusterExtension: (variables: DropClusterExtensionVariables, signal?: AbortSignal) => Promise<undefined>;
|
7838
|
+
getClusterMetrics: (variables: GetClusterMetricsVariables, signal?: AbortSignal) => Promise<MetricsResponse>;
|
7329
7839
|
};
|
7330
7840
|
database: {
|
7331
|
-
getDatabaseSettings: (variables: GetDatabaseSettingsVariables, signal?: AbortSignal
|
7332
|
-
updateDatabaseSettings: (variables: UpdateDatabaseSettingsVariables, signal?: AbortSignal
|
7841
|
+
getDatabaseSettings: (variables: GetDatabaseSettingsVariables, signal?: AbortSignal) => Promise<DatabaseSettings>;
|
7842
|
+
updateDatabaseSettings: (variables: UpdateDatabaseSettingsVariables, signal?: AbortSignal) => Promise<DatabaseSettings>;
|
7333
7843
|
};
|
7334
7844
|
migrationRequests: {
|
7335
|
-
queryMigrationRequests: (variables: QueryMigrationRequestsVariables, signal?: AbortSignal
|
7336
|
-
createMigrationRequest: (variables: CreateMigrationRequestVariables, signal?: AbortSignal
|
7337
|
-
getMigrationRequest: (variables: GetMigrationRequestVariables, signal?: AbortSignal
|
7338
|
-
updateMigrationRequest: (variables: UpdateMigrationRequestVariables, signal?: AbortSignal
|
7339
|
-
listMigrationRequestsCommits: (variables: ListMigrationRequestsCommitsVariables, signal?: AbortSignal
|
7340
|
-
compareMigrationRequest: (variables: CompareMigrationRequestVariables, signal?: AbortSignal
|
7341
|
-
getMigrationRequestIsMerged: (variables: GetMigrationRequestIsMergedVariables, signal?: AbortSignal
|
7342
|
-
mergeMigrationRequest: (variables: MergeMigrationRequestVariables, signal?: AbortSignal
|
7845
|
+
queryMigrationRequests: (variables: QueryMigrationRequestsVariables, signal?: AbortSignal) => Promise<QueryMigrationRequestsResponse>;
|
7846
|
+
createMigrationRequest: (variables: CreateMigrationRequestVariables, signal?: AbortSignal) => Promise<CreateMigrationRequestResponse>;
|
7847
|
+
getMigrationRequest: (variables: GetMigrationRequestVariables, signal?: AbortSignal) => Promise<MigrationRequest>;
|
7848
|
+
updateMigrationRequest: (variables: UpdateMigrationRequestVariables, signal?: AbortSignal) => Promise<undefined>;
|
7849
|
+
listMigrationRequestsCommits: (variables: ListMigrationRequestsCommitsVariables, signal?: AbortSignal) => Promise<ListMigrationRequestsCommitsResponse>;
|
7850
|
+
compareMigrationRequest: (variables: CompareMigrationRequestVariables, signal?: AbortSignal) => Promise<SchemaCompareResponse>;
|
7851
|
+
getMigrationRequestIsMerged: (variables: GetMigrationRequestIsMergedVariables, signal?: AbortSignal) => Promise<GetMigrationRequestIsMergedResponse>;
|
7852
|
+
mergeMigrationRequest: (variables: MergeMigrationRequestVariables, signal?: AbortSignal) => Promise<BranchOp>;
|
7343
7853
|
};
|
7344
7854
|
files: {
|
7345
|
-
getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal
|
7346
|
-
putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal
|
7347
|
-
deleteFileItem: (variables: DeleteFileItemVariables, signal?: AbortSignal
|
7348
|
-
getFile: (variables: GetFileVariables, signal?: AbortSignal
|
7349
|
-
putFile: (variables: PutFileVariables, signal?: AbortSignal
|
7350
|
-
deleteFile: (variables: DeleteFileVariables, signal?: AbortSignal
|
7351
|
-
fileAccess: (variables: FileAccessVariables, signal?: AbortSignal
|
7352
|
-
fileUpload: (variables: FileUploadVariables, signal?: AbortSignal
|
7855
|
+
getFileItem: (variables: GetFileItemVariables, signal?: AbortSignal) => Promise<Blob>;
|
7856
|
+
putFileItem: (variables: PutFileItemVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
7857
|
+
deleteFileItem: (variables: DeleteFileItemVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
7858
|
+
getFile: (variables: GetFileVariables, signal?: AbortSignal) => Promise<Blob>;
|
7859
|
+
putFile: (variables: PutFileVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
7860
|
+
deleteFile: (variables: DeleteFileVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
7861
|
+
fileAccess: (variables: FileAccessVariables, signal?: AbortSignal) => Promise<Blob>;
|
7862
|
+
fileUpload: (variables: FileUploadVariables, signal?: AbortSignal) => Promise<FileResponse>;
|
7353
7863
|
};
|
7354
7864
|
searchAndFilter: {
|
7355
|
-
queryTable: (variables: QueryTableVariables, signal?: AbortSignal
|
7356
|
-
searchBranch: (variables: SearchBranchVariables, signal?: AbortSignal
|
7357
|
-
searchTable: (variables: SearchTableVariables, signal?: AbortSignal
|
7358
|
-
vectorSearchTable: (variables: VectorSearchTableVariables, signal?: AbortSignal
|
7359
|
-
askTable: (variables: AskTableVariables, signal?: AbortSignal
|
7360
|
-
askTableSession: (variables: AskTableSessionVariables, signal?: AbortSignal
|
7361
|
-
summarizeTable: (variables: SummarizeTableVariables, signal?: AbortSignal
|
7362
|
-
aggregateTable: (variables: AggregateTableVariables, signal?: AbortSignal
|
7865
|
+
queryTable: (variables: QueryTableVariables, signal?: AbortSignal) => Promise<QueryResponse>;
|
7866
|
+
searchBranch: (variables: SearchBranchVariables, signal?: AbortSignal) => Promise<SearchResponse>;
|
7867
|
+
searchTable: (variables: SearchTableVariables, signal?: AbortSignal) => Promise<SearchResponse>;
|
7868
|
+
vectorSearchTable: (variables: VectorSearchTableVariables, signal?: AbortSignal) => Promise<SearchResponse>;
|
7869
|
+
askTable: (variables: AskTableVariables, signal?: AbortSignal) => Promise<AskTableResponse>;
|
7870
|
+
askTableSession: (variables: AskTableSessionVariables, signal?: AbortSignal) => Promise<AskTableSessionResponse>;
|
7871
|
+
summarizeTable: (variables: SummarizeTableVariables, signal?: AbortSignal) => Promise<SummarizeResponse>;
|
7872
|
+
aggregateTable: (variables: AggregateTableVariables, signal?: AbortSignal) => Promise<AggResponse>;
|
7363
7873
|
};
|
7364
7874
|
sql: {
|
7365
|
-
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal
|
7366
|
-
sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortSignal
|
7875
|
+
sqlQuery: (variables: SqlQueryVariables, signal?: AbortSignal) => Promise<SQLResponse$1>;
|
7876
|
+
sqlBatchQuery: (variables: SqlBatchQueryVariables, signal?: AbortSignal) => Promise<SQLBatchResponse>;
|
7367
7877
|
};
|
7368
7878
|
oAuth: {
|
7369
|
-
getAuthorizationCode: (variables: GetAuthorizationCodeVariables, signal?: AbortSignal
|
7370
|
-
grantAuthorizationCode: (variables: GrantAuthorizationCodeVariables, signal?: AbortSignal
|
7371
|
-
getUserOAuthClients: (variables:
|
7372
|
-
deleteUserOAuthClient: (variables: DeleteUserOAuthClientVariables, signal?: AbortSignal
|
7373
|
-
getUserOAuthAccessTokens: (variables:
|
7374
|
-
deleteOAuthAccessToken: (variables: DeleteOAuthAccessTokenVariables, signal?: AbortSignal
|
7375
|
-
updateOAuthAccessToken: (variables: UpdateOAuthAccessTokenVariables, signal?: AbortSignal
|
7879
|
+
getAuthorizationCode: (variables: GetAuthorizationCodeVariables, signal?: AbortSignal) => Promise<AuthorizationCodeResponse>;
|
7880
|
+
grantAuthorizationCode: (variables: GrantAuthorizationCodeVariables, signal?: AbortSignal) => Promise<AuthorizationCodeResponse>;
|
7881
|
+
getUserOAuthClients: (variables: GetUserOAuthClientsVariables, signal?: AbortSignal) => Promise<GetUserOAuthClientsResponse>;
|
7882
|
+
deleteUserOAuthClient: (variables: DeleteUserOAuthClientVariables, signal?: AbortSignal) => Promise<undefined>;
|
7883
|
+
getUserOAuthAccessTokens: (variables: GetUserOAuthAccessTokensVariables, signal?: AbortSignal) => Promise<GetUserOAuthAccessTokensResponse>;
|
7884
|
+
deleteOAuthAccessToken: (variables: DeleteOAuthAccessTokenVariables, signal?: AbortSignal) => Promise<undefined>;
|
7885
|
+
updateOAuthAccessToken: (variables: UpdateOAuthAccessTokenVariables, signal?: AbortSignal) => Promise<OAuthAccessToken>;
|
7376
7886
|
};
|
7377
7887
|
users: {
|
7378
|
-
getUser: (variables:
|
7379
|
-
updateUser: (variables: UpdateUserVariables, signal?: AbortSignal
|
7380
|
-
deleteUser: (variables:
|
7888
|
+
getUser: (variables: GetUserVariables, signal?: AbortSignal) => Promise<UserWithID>;
|
7889
|
+
updateUser: (variables: UpdateUserVariables, signal?: AbortSignal) => Promise<UserWithID>;
|
7890
|
+
deleteUser: (variables: DeleteUserVariables, signal?: AbortSignal) => Promise<undefined>;
|
7381
7891
|
};
|
7382
7892
|
authentication: {
|
7383
|
-
getUserAPIKeys: (variables:
|
7384
|
-
createUserAPIKey: (variables: CreateUserAPIKeyVariables, signal?: AbortSignal
|
7385
|
-
deleteUserAPIKey: (variables: DeleteUserAPIKeyVariables, signal?: AbortSignal
|
7893
|
+
getUserAPIKeys: (variables: GetUserAPIKeysVariables, signal?: AbortSignal) => Promise<GetUserAPIKeysResponse>;
|
7894
|
+
createUserAPIKey: (variables: CreateUserAPIKeyVariables, signal?: AbortSignal) => Promise<CreateUserAPIKeyResponse>;
|
7895
|
+
deleteUserAPIKey: (variables: DeleteUserAPIKeyVariables, signal?: AbortSignal) => Promise<undefined>;
|
7386
7896
|
};
|
7387
7897
|
invites: {
|
7388
|
-
inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables, signal?: AbortSignal
|
7389
|
-
updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7390
|
-
cancelWorkspaceMemberInvite: (variables: CancelWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7391
|
-
acceptWorkspaceMemberInvite: (variables: AcceptWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7392
|
-
resendWorkspaceMemberInvite: (variables: ResendWorkspaceMemberInviteVariables, signal?: AbortSignal
|
7898
|
+
inviteWorkspaceMember: (variables: InviteWorkspaceMemberVariables, signal?: AbortSignal) => Promise<WorkspaceInvite>;
|
7899
|
+
updateWorkspaceMemberInvite: (variables: UpdateWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<WorkspaceInvite>;
|
7900
|
+
cancelWorkspaceMemberInvite: (variables: CancelWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<undefined>;
|
7901
|
+
acceptWorkspaceMemberInvite: (variables: AcceptWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<undefined>;
|
7902
|
+
resendWorkspaceMemberInvite: (variables: ResendWorkspaceMemberInviteVariables, signal?: AbortSignal) => Promise<undefined>;
|
7393
7903
|
};
|
7394
7904
|
xbcontrolOther: {
|
7395
|
-
listClusters: (variables: ListClustersVariables, signal?: AbortSignal
|
7396
|
-
createCluster: (variables: CreateClusterVariables, signal?: AbortSignal
|
7397
|
-
getCluster: (variables: GetClusterVariables, signal?: AbortSignal
|
7398
|
-
updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal
|
7399
|
-
deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal
|
7905
|
+
listClusters: (variables: ListClustersVariables, signal?: AbortSignal) => Promise<ListClustersResponse>;
|
7906
|
+
createCluster: (variables: CreateClusterVariables, signal?: AbortSignal) => Promise<ClusterResponse>;
|
7907
|
+
getCluster: (variables: GetClusterVariables, signal?: AbortSignal) => Promise<ClusterMetadata>;
|
7908
|
+
updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal) => Promise<ClusterUpdateMetadata>;
|
7909
|
+
deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal) => Promise<ClusterDeleteMetadata>;
|
7400
7910
|
};
|
7401
7911
|
databases: {
|
7402
|
-
getDatabaseList: (variables: GetDatabaseListVariables, signal?: AbortSignal
|
7403
|
-
createDatabase: (variables: CreateDatabaseVariables, signal?: AbortSignal
|
7404
|
-
deleteDatabase: (variables: DeleteDatabaseVariables, signal?: AbortSignal
|
7405
|
-
getDatabaseMetadata: (variables: GetDatabaseMetadataVariables, signal?: AbortSignal
|
7406
|
-
updateDatabaseMetadata: (variables: UpdateDatabaseMetadataVariables, signal?: AbortSignal
|
7407
|
-
renameDatabase: (variables: RenameDatabaseVariables, signal?: AbortSignal
|
7408
|
-
getDatabaseGithubSettings: (variables: GetDatabaseGithubSettingsVariables, signal?: AbortSignal
|
7409
|
-
updateDatabaseGithubSettings: (variables: UpdateDatabaseGithubSettingsVariables, signal?: AbortSignal
|
7410
|
-
deleteDatabaseGithubSettings: (variables: DeleteDatabaseGithubSettingsVariables, signal?: AbortSignal
|
7411
|
-
listRegions: (variables: ListRegionsVariables, signal?: AbortSignal
|
7912
|
+
getDatabaseList: (variables: GetDatabaseListVariables, signal?: AbortSignal) => Promise<ListDatabasesResponse>;
|
7913
|
+
createDatabase: (variables: CreateDatabaseVariables, signal?: AbortSignal) => Promise<CreateDatabaseResponse>;
|
7914
|
+
deleteDatabase: (variables: DeleteDatabaseVariables, signal?: AbortSignal) => Promise<DeleteDatabaseResponse>;
|
7915
|
+
getDatabaseMetadata: (variables: GetDatabaseMetadataVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
7916
|
+
updateDatabaseMetadata: (variables: UpdateDatabaseMetadataVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
7917
|
+
renameDatabase: (variables: RenameDatabaseVariables, signal?: AbortSignal) => Promise<DatabaseMetadata>;
|
7918
|
+
getDatabaseGithubSettings: (variables: GetDatabaseGithubSettingsVariables, signal?: AbortSignal) => Promise<DatabaseGithubSettings>;
|
7919
|
+
updateDatabaseGithubSettings: (variables: UpdateDatabaseGithubSettingsVariables, signal?: AbortSignal) => Promise<DatabaseGithubSettings>;
|
7920
|
+
deleteDatabaseGithubSettings: (variables: DeleteDatabaseGithubSettingsVariables, signal?: AbortSignal) => Promise<undefined>;
|
7921
|
+
listRegions: (variables: ListRegionsVariables, signal?: AbortSignal) => Promise<ListRegionsResponse>;
|
7412
7922
|
};
|
7413
7923
|
};
|
7414
7924
|
|
@@ -7431,6 +7941,27 @@ declare function parseWorkspacesUrlParts(url: string): {
|
|
7431
7941
|
host: HostAliases;
|
7432
7942
|
} | null;
|
7433
7943
|
|
7944
|
+
type ApiExtraProps = Omit<FetcherExtraProps, 'endpoint'>;
|
7945
|
+
interface XataApiClientOptions {
|
7946
|
+
fetch?: FetchImpl;
|
7947
|
+
apiKey?: string;
|
7948
|
+
host?: HostProvider;
|
7949
|
+
trace?: TraceFunction;
|
7950
|
+
clientName?: string;
|
7951
|
+
xataAgentExtra?: Record<string, string>;
|
7952
|
+
}
|
7953
|
+
type UserProps = {
|
7954
|
+
headers?: Record<string, unknown>;
|
7955
|
+
};
|
7956
|
+
type XataApiProxy = {
|
7957
|
+
[Tag in keyof typeof operationsByTag]: {
|
7958
|
+
[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;
|
7959
|
+
};
|
7960
|
+
};
|
7961
|
+
declare const XataApiClient_base: new (options?: XataApiClientOptions) => XataApiProxy;
|
7962
|
+
declare class XataApiClient extends XataApiClient_base {
|
7963
|
+
}
|
7964
|
+
|
7434
7965
|
type responses_AggResponse = AggResponse;
|
7435
7966
|
type responses_BranchMigrationPlan = BranchMigrationPlan;
|
7436
7967
|
type responses_BulkError = BulkError;
|
@@ -7463,15 +7994,17 @@ type schemas_AutoscalingConfigResponse = AutoscalingConfigResponse;
|
|
7463
7994
|
type schemas_AverageAgg = AverageAgg;
|
7464
7995
|
type schemas_BoosterExpression = BoosterExpression;
|
7465
7996
|
type schemas_Branch = Branch;
|
7997
|
+
type schemas_BranchDetails = BranchDetails;
|
7466
7998
|
type schemas_BranchMigration = BranchMigration;
|
7467
7999
|
type schemas_BranchOp = BranchOp;
|
7468
8000
|
type schemas_BranchSchema = BranchSchema;
|
8001
|
+
type schemas_BranchState = BranchState;
|
7469
8002
|
type schemas_BranchWithCopyID = BranchWithCopyID;
|
7470
8003
|
type schemas_ClusterConfiguration = ClusterConfiguration;
|
7471
8004
|
type schemas_ClusterConfigurationResponse = ClusterConfigurationResponse;
|
7472
8005
|
type schemas_ClusterCreateDetails = ClusterCreateDetails;
|
7473
8006
|
type schemas_ClusterDeleteMetadata = ClusterDeleteMetadata;
|
7474
|
-
type
|
8007
|
+
type schemas_ClusterExtensionInstallationResponse = ClusterExtensionInstallationResponse;
|
7475
8008
|
type schemas_ClusterMetadata = ClusterMetadata;
|
7476
8009
|
type schemas_ClusterResponse = ClusterResponse;
|
7477
8010
|
type schemas_ClusterShortMetadata = ClusterShortMetadata;
|
@@ -7498,6 +8031,7 @@ type schemas_DatabaseGithubSettings = DatabaseGithubSettings;
|
|
7498
8031
|
type schemas_DatabaseMetadata = DatabaseMetadata;
|
7499
8032
|
type schemas_DatabaseSettings = DatabaseSettings;
|
7500
8033
|
type schemas_DateHistogramAgg = DateHistogramAgg;
|
8034
|
+
type schemas_ExtensionDetails = ExtensionDetails;
|
7501
8035
|
type schemas_FileAccessID = FileAccessID;
|
7502
8036
|
type schemas_FileItemID = FileItemID;
|
7503
8037
|
type schemas_FileName = FileName;
|
@@ -7513,6 +8047,7 @@ type schemas_FilterPredicateRangeOp = FilterPredicateRangeOp;
|
|
7513
8047
|
type schemas_FilterRangeValue = FilterRangeValue;
|
7514
8048
|
type schemas_FilterValue = FilterValue;
|
7515
8049
|
type schemas_FuzzinessExpression = FuzzinessExpression;
|
8050
|
+
type schemas_GetMigrationJobsResponse = GetMigrationJobsResponse;
|
7516
8051
|
type schemas_HighlightExpression = HighlightExpression;
|
7517
8052
|
type schemas_InputFile = InputFile;
|
7518
8053
|
type schemas_InputFileArray = InputFileArray;
|
@@ -7520,6 +8055,8 @@ type schemas_InputFileEntry = InputFileEntry;
|
|
7520
8055
|
type schemas_InviteID = InviteID;
|
7521
8056
|
type schemas_InviteKey = InviteKey;
|
7522
8057
|
type schemas_ListBranchesResponse = ListBranchesResponse;
|
8058
|
+
type schemas_ListClusterBranchesResponse = ListClusterBranchesResponse;
|
8059
|
+
type schemas_ListClusterExtensionsResponse = ListClusterExtensionsResponse;
|
7523
8060
|
type schemas_ListClustersResponse = ListClustersResponse;
|
7524
8061
|
type schemas_ListDatabasesResponse = ListDatabasesResponse;
|
7525
8062
|
type schemas_ListGitBranchesResponse = ListGitBranchesResponse;
|
@@ -7528,14 +8065,18 @@ type schemas_MaintenanceConfig = MaintenanceConfig;
|
|
7528
8065
|
type schemas_MaintenanceConfigResponse = MaintenanceConfigResponse;
|
7529
8066
|
type schemas_MaxAgg = MaxAgg;
|
7530
8067
|
type schemas_MediaType = MediaType;
|
8068
|
+
type schemas_MetricData = MetricData;
|
8069
|
+
type schemas_MetricMessage = MetricMessage;
|
7531
8070
|
type schemas_MetricsDatapoint = MetricsDatapoint;
|
7532
8071
|
type schemas_MetricsLatency = MetricsLatency;
|
8072
|
+
type schemas_MetricsResponse = MetricsResponse;
|
7533
8073
|
type schemas_Migration = Migration;
|
7534
8074
|
type schemas_MigrationColumnOp = MigrationColumnOp;
|
7535
8075
|
type schemas_MigrationDescription = MigrationDescription;
|
7536
8076
|
type schemas_MigrationHistoryItem = MigrationHistoryItem;
|
7537
8077
|
type schemas_MigrationHistoryResponse = MigrationHistoryResponse;
|
7538
8078
|
type schemas_MigrationJobID = MigrationJobID;
|
8079
|
+
type schemas_MigrationJobItem = MigrationJobItem;
|
7539
8080
|
type schemas_MigrationJobStatus = MigrationJobStatus;
|
7540
8081
|
type schemas_MigrationJobStatusResponse = MigrationJobStatusResponse;
|
7541
8082
|
type schemas_MigrationJobType = MigrationJobType;
|
@@ -7555,12 +8096,9 @@ type schemas_OAuthResponseType = OAuthResponseType;
|
|
7555
8096
|
type schemas_OAuthScope = OAuthScope;
|
7556
8097
|
type schemas_ObjectValue = ObjectValue;
|
7557
8098
|
type schemas_PageConfig = PageConfig;
|
7558
|
-
type schemas_PageResponse = PageResponse;
|
7559
|
-
type schemas_PageSize = PageSize;
|
7560
|
-
type schemas_PageToken = PageToken;
|
7561
|
-
type schemas_PaginationPageSize = PaginationPageSize;
|
7562
8099
|
type schemas_PercentilesAgg = PercentilesAgg;
|
7563
8100
|
type schemas_PrefixExpression = PrefixExpression;
|
8101
|
+
type schemas_PreparedStatement = PreparedStatement;
|
7564
8102
|
type schemas_ProjectionConfig = ProjectionConfig;
|
7565
8103
|
type schemas_QueryColumnsProjection = QueryColumnsProjection;
|
7566
8104
|
type schemas_RecordID = RecordID;
|
@@ -7570,7 +8108,11 @@ type schemas_Region = Region;
|
|
7570
8108
|
type schemas_RevLink = RevLink;
|
7571
8109
|
type schemas_Role = Role;
|
7572
8110
|
type schemas_RollbackMigrationResponse = RollbackMigrationResponse;
|
8111
|
+
type schemas_SQLConsistency = SQLConsistency;
|
7573
8112
|
type schemas_SQLRecord = SQLRecord;
|
8113
|
+
type schemas_SQLResponseArray = SQLResponseArray;
|
8114
|
+
type schemas_SQLResponseBase = SQLResponseBase;
|
8115
|
+
type schemas_SQLResponseJSON = SQLResponseJSON;
|
7574
8116
|
type schemas_Schema = Schema;
|
7575
8117
|
type schemas_SchemaEditScript = SchemaEditScript;
|
7576
8118
|
type schemas_SearchPageConfig = SearchPageConfig;
|
@@ -7616,772 +8158,13 @@ type schemas_WorkspaceMeta = WorkspaceMeta;
|
|
7616
8158
|
type schemas_WorkspacePlan = WorkspacePlan;
|
7617
8159
|
type schemas_WorkspaceSettings = WorkspaceSettings;
|
7618
8160
|
declare namespace schemas {
|
7619
|
-
export type { schemas_APIKeyName as APIKeyName, schemas_AccessToken as AccessToken, schemas_AggExpression as AggExpression, schemas_AggExpressionMap as AggExpressionMap, AggResponse$1 as AggResponse, schemas_ApplyMigrationResponse as ApplyMigrationResponse, schemas_AuthorizationCodeRequest as AuthorizationCodeRequest, schemas_AuthorizationCodeResponse as AuthorizationCodeResponse, schemas_AutoscalingConfig as AutoscalingConfig, schemas_AutoscalingConfigResponse as AutoscalingConfigResponse, schemas_AverageAgg as AverageAgg, schemas_BoosterExpression as BoosterExpression, schemas_Branch as Branch, BranchMetadata$1 as BranchMetadata, schemas_BranchMigration as BranchMigration, BranchName$1 as BranchName, schemas_BranchOp as BranchOp, schemas_BranchSchema as BranchSchema, schemas_BranchWithCopyID as BranchWithCopyID, schemas_ClusterConfiguration as ClusterConfiguration, schemas_ClusterConfigurationResponse as ClusterConfigurationResponse, schemas_ClusterCreateDetails as ClusterCreateDetails, schemas_ClusterDeleteMetadata as ClusterDeleteMetadata,
|
7620
|
-
}
|
7621
|
-
|
7622
|
-
type ApiExtraProps = Omit<FetcherExtraProps, 'endpoint'>;
|
7623
|
-
interface XataApiClientOptions {
|
7624
|
-
fetch?: FetchImpl;
|
7625
|
-
apiKey?: string;
|
7626
|
-
host?: HostProvider;
|
7627
|
-
trace?: TraceFunction;
|
7628
|
-
clientName?: string;
|
7629
|
-
xataAgentExtra?: Record<string, string>;
|
7630
|
-
}
|
7631
|
-
declare class XataApiClient {
|
7632
|
-
#private;
|
7633
|
-
constructor(options?: XataApiClientOptions);
|
7634
|
-
get user(): UserApi;
|
7635
|
-
get authentication(): AuthenticationApi;
|
7636
|
-
get workspaces(): WorkspaceApi;
|
7637
|
-
get invites(): InvitesApi;
|
7638
|
-
get database(): DatabaseApi;
|
7639
|
-
get branches(): BranchApi;
|
7640
|
-
get migrations(): MigrationsApi;
|
7641
|
-
get migrationRequests(): MigrationRequestsApi;
|
7642
|
-
get tables(): TableApi;
|
7643
|
-
get records(): RecordsApi;
|
7644
|
-
get files(): FilesApi;
|
7645
|
-
get searchAndFilter(): SearchAndFilterApi;
|
7646
|
-
}
|
7647
|
-
declare class UserApi {
|
7648
|
-
private extraProps;
|
7649
|
-
constructor(extraProps: ApiExtraProps);
|
7650
|
-
getUser(): Promise<UserWithID>;
|
7651
|
-
updateUser({ user }: {
|
7652
|
-
user: User;
|
7653
|
-
}): Promise<UserWithID>;
|
7654
|
-
deleteUser(): Promise<void>;
|
7655
|
-
}
|
7656
|
-
declare class AuthenticationApi {
|
7657
|
-
private extraProps;
|
7658
|
-
constructor(extraProps: ApiExtraProps);
|
7659
|
-
getUserAPIKeys(): Promise<GetUserAPIKeysResponse>;
|
7660
|
-
createUserAPIKey({ name }: {
|
7661
|
-
name: APIKeyName;
|
7662
|
-
}): Promise<CreateUserAPIKeyResponse>;
|
7663
|
-
deleteUserAPIKey({ name }: {
|
7664
|
-
name: APIKeyName;
|
7665
|
-
}): Promise<void>;
|
7666
|
-
}
|
7667
|
-
declare class WorkspaceApi {
|
7668
|
-
private extraProps;
|
7669
|
-
constructor(extraProps: ApiExtraProps);
|
7670
|
-
getWorkspacesList(): Promise<GetWorkspacesListResponse>;
|
7671
|
-
createWorkspace({ data }: {
|
7672
|
-
data: WorkspaceMeta;
|
7673
|
-
}): Promise<Workspace>;
|
7674
|
-
getWorkspace({ workspace }: {
|
7675
|
-
workspace: WorkspaceID;
|
7676
|
-
}): Promise<Workspace>;
|
7677
|
-
updateWorkspace({ workspace, update }: {
|
7678
|
-
workspace: WorkspaceID;
|
7679
|
-
update: WorkspaceMeta;
|
7680
|
-
}): Promise<Workspace>;
|
7681
|
-
deleteWorkspace({ workspace }: {
|
7682
|
-
workspace: WorkspaceID;
|
7683
|
-
}): Promise<void>;
|
7684
|
-
getWorkspaceMembersList({ workspace }: {
|
7685
|
-
workspace: WorkspaceID;
|
7686
|
-
}): Promise<WorkspaceMembers>;
|
7687
|
-
updateWorkspaceMemberRole({ workspace, user, role }: {
|
7688
|
-
workspace: WorkspaceID;
|
7689
|
-
user: UserID;
|
7690
|
-
role: Role;
|
7691
|
-
}): Promise<void>;
|
7692
|
-
removeWorkspaceMember({ workspace, user }: {
|
7693
|
-
workspace: WorkspaceID;
|
7694
|
-
user: UserID;
|
7695
|
-
}): Promise<void>;
|
7696
|
-
}
|
7697
|
-
declare class InvitesApi {
|
7698
|
-
private extraProps;
|
7699
|
-
constructor(extraProps: ApiExtraProps);
|
7700
|
-
inviteWorkspaceMember({ workspace, email, role }: {
|
7701
|
-
workspace: WorkspaceID;
|
7702
|
-
email: string;
|
7703
|
-
role: Role;
|
7704
|
-
}): Promise<WorkspaceInvite>;
|
7705
|
-
updateWorkspaceMemberInvite({ workspace, invite, role }: {
|
7706
|
-
workspace: WorkspaceID;
|
7707
|
-
invite: InviteID;
|
7708
|
-
role: Role;
|
7709
|
-
}): Promise<WorkspaceInvite>;
|
7710
|
-
cancelWorkspaceMemberInvite({ workspace, invite }: {
|
7711
|
-
workspace: WorkspaceID;
|
7712
|
-
invite: InviteID;
|
7713
|
-
}): Promise<void>;
|
7714
|
-
acceptWorkspaceMemberInvite({ workspace, key }: {
|
7715
|
-
workspace: WorkspaceID;
|
7716
|
-
key: InviteKey;
|
7717
|
-
}): Promise<void>;
|
7718
|
-
resendWorkspaceMemberInvite({ workspace, invite }: {
|
7719
|
-
workspace: WorkspaceID;
|
7720
|
-
invite: InviteID;
|
7721
|
-
}): Promise<void>;
|
7722
|
-
}
|
7723
|
-
declare class BranchApi {
|
7724
|
-
private extraProps;
|
7725
|
-
constructor(extraProps: ApiExtraProps);
|
7726
|
-
getBranchList({ workspace, region, database }: {
|
7727
|
-
workspace: WorkspaceID;
|
7728
|
-
region: string;
|
7729
|
-
database: DBName$1;
|
7730
|
-
}): Promise<ListBranchesResponse>;
|
7731
|
-
getBranchDetails({ workspace, region, database, branch }: {
|
7732
|
-
workspace: WorkspaceID;
|
7733
|
-
region: string;
|
7734
|
-
database: DBName$1;
|
7735
|
-
branch: BranchName$1;
|
7736
|
-
}): Promise<DBBranch>;
|
7737
|
-
createBranch({ workspace, region, database, branch, from, metadata }: {
|
7738
|
-
workspace: WorkspaceID;
|
7739
|
-
region: string;
|
7740
|
-
database: DBName$1;
|
7741
|
-
branch: BranchName$1;
|
7742
|
-
from?: string;
|
7743
|
-
metadata?: BranchMetadata$1;
|
7744
|
-
}): Promise<CreateBranchResponse>;
|
7745
|
-
deleteBranch({ workspace, region, database, branch }: {
|
7746
|
-
workspace: WorkspaceID;
|
7747
|
-
region: string;
|
7748
|
-
database: DBName$1;
|
7749
|
-
branch: BranchName$1;
|
7750
|
-
}): Promise<DeleteBranchResponse>;
|
7751
|
-
copyBranch({ workspace, region, database, branch, destinationBranch, limit }: {
|
7752
|
-
workspace: WorkspaceID;
|
7753
|
-
region: string;
|
7754
|
-
database: DBName$1;
|
7755
|
-
branch: BranchName$1;
|
7756
|
-
destinationBranch: BranchName$1;
|
7757
|
-
limit?: number;
|
7758
|
-
}): Promise<BranchWithCopyID>;
|
7759
|
-
updateBranchMetadata({ workspace, region, database, branch, metadata }: {
|
7760
|
-
workspace: WorkspaceID;
|
7761
|
-
region: string;
|
7762
|
-
database: DBName$1;
|
7763
|
-
branch: BranchName$1;
|
7764
|
-
metadata: BranchMetadata$1;
|
7765
|
-
}): Promise<void>;
|
7766
|
-
getBranchMetadata({ workspace, region, database, branch }: {
|
7767
|
-
workspace: WorkspaceID;
|
7768
|
-
region: string;
|
7769
|
-
database: DBName$1;
|
7770
|
-
branch: BranchName$1;
|
7771
|
-
}): Promise<BranchMetadata$1>;
|
7772
|
-
getBranchStats({ workspace, region, database, branch }: {
|
7773
|
-
workspace: WorkspaceID;
|
7774
|
-
region: string;
|
7775
|
-
database: DBName$1;
|
7776
|
-
branch: BranchName$1;
|
7777
|
-
}): Promise<GetBranchStatsResponse>;
|
7778
|
-
getGitBranchesMapping({ workspace, region, database }: {
|
7779
|
-
workspace: WorkspaceID;
|
7780
|
-
region: string;
|
7781
|
-
database: DBName$1;
|
7782
|
-
}): Promise<ListGitBranchesResponse>;
|
7783
|
-
addGitBranchesEntry({ workspace, region, database, gitBranch, xataBranch }: {
|
7784
|
-
workspace: WorkspaceID;
|
7785
|
-
region: string;
|
7786
|
-
database: DBName$1;
|
7787
|
-
gitBranch: string;
|
7788
|
-
xataBranch: BranchName$1;
|
7789
|
-
}): Promise<AddGitBranchesEntryResponse>;
|
7790
|
-
removeGitBranchesEntry({ workspace, region, database, gitBranch }: {
|
7791
|
-
workspace: WorkspaceID;
|
7792
|
-
region: string;
|
7793
|
-
database: DBName$1;
|
7794
|
-
gitBranch: string;
|
7795
|
-
}): Promise<void>;
|
7796
|
-
resolveBranch({ workspace, region, database, gitBranch, fallbackBranch }: {
|
7797
|
-
workspace: WorkspaceID;
|
7798
|
-
region: string;
|
7799
|
-
database: DBName$1;
|
7800
|
-
gitBranch?: string;
|
7801
|
-
fallbackBranch?: string;
|
7802
|
-
}): Promise<ResolveBranchResponse>;
|
7803
|
-
pgRollMigrationHistory({ workspace, region, database, branch }: {
|
7804
|
-
workspace: WorkspaceID;
|
7805
|
-
region: string;
|
7806
|
-
database: DBName$1;
|
7807
|
-
branch: BranchName$1;
|
7808
|
-
}): Promise<MigrationHistoryResponse>;
|
7809
|
-
applyMigration({ workspace, region, database, branch, migration }: {
|
7810
|
-
workspace: WorkspaceID;
|
7811
|
-
region: string;
|
7812
|
-
database: DBName$1;
|
7813
|
-
branch: BranchName$1;
|
7814
|
-
migration: Migration;
|
7815
|
-
}): Promise<ApplyMigrationResponse>;
|
7816
|
-
}
|
7817
|
-
declare class TableApi {
|
7818
|
-
private extraProps;
|
7819
|
-
constructor(extraProps: ApiExtraProps);
|
7820
|
-
createTable({ workspace, region, database, branch, table }: {
|
7821
|
-
workspace: WorkspaceID;
|
7822
|
-
region: string;
|
7823
|
-
database: DBName$1;
|
7824
|
-
branch: BranchName$1;
|
7825
|
-
table: TableName;
|
7826
|
-
}): Promise<CreateTableResponse>;
|
7827
|
-
deleteTable({ workspace, region, database, branch, table }: {
|
7828
|
-
workspace: WorkspaceID;
|
7829
|
-
region: string;
|
7830
|
-
database: DBName$1;
|
7831
|
-
branch: BranchName$1;
|
7832
|
-
table: TableName;
|
7833
|
-
}): Promise<DeleteTableResponse>;
|
7834
|
-
updateTable({ workspace, region, database, branch, table, update }: {
|
7835
|
-
workspace: WorkspaceID;
|
7836
|
-
region: string;
|
7837
|
-
database: DBName$1;
|
7838
|
-
branch: BranchName$1;
|
7839
|
-
table: TableName;
|
7840
|
-
update: UpdateTableRequestBody;
|
7841
|
-
}): Promise<SchemaUpdateResponse>;
|
7842
|
-
getTableSchema({ workspace, region, database, branch, table }: {
|
7843
|
-
workspace: WorkspaceID;
|
7844
|
-
region: string;
|
7845
|
-
database: DBName$1;
|
7846
|
-
branch: BranchName$1;
|
7847
|
-
table: TableName;
|
7848
|
-
}): Promise<GetTableSchemaResponse>;
|
7849
|
-
setTableSchema({ workspace, region, database, branch, table, schema }: {
|
7850
|
-
workspace: WorkspaceID;
|
7851
|
-
region: string;
|
7852
|
-
database: DBName$1;
|
7853
|
-
branch: BranchName$1;
|
7854
|
-
table: TableName;
|
7855
|
-
schema: SetTableSchemaRequestBody;
|
7856
|
-
}): Promise<SchemaUpdateResponse>;
|
7857
|
-
getTableColumns({ workspace, region, database, branch, table }: {
|
7858
|
-
workspace: WorkspaceID;
|
7859
|
-
region: string;
|
7860
|
-
database: DBName$1;
|
7861
|
-
branch: BranchName$1;
|
7862
|
-
table: TableName;
|
7863
|
-
}): Promise<GetTableColumnsResponse>;
|
7864
|
-
addTableColumn({ workspace, region, database, branch, table, column }: {
|
7865
|
-
workspace: WorkspaceID;
|
7866
|
-
region: string;
|
7867
|
-
database: DBName$1;
|
7868
|
-
branch: BranchName$1;
|
7869
|
-
table: TableName;
|
7870
|
-
column: Column;
|
7871
|
-
}): Promise<SchemaUpdateResponse>;
|
7872
|
-
getColumn({ workspace, region, database, branch, table, column }: {
|
7873
|
-
workspace: WorkspaceID;
|
7874
|
-
region: string;
|
7875
|
-
database: DBName$1;
|
7876
|
-
branch: BranchName$1;
|
7877
|
-
table: TableName;
|
7878
|
-
column: ColumnName;
|
7879
|
-
}): Promise<Column>;
|
7880
|
-
updateColumn({ workspace, region, database, branch, table, column, update }: {
|
7881
|
-
workspace: WorkspaceID;
|
7882
|
-
region: string;
|
7883
|
-
database: DBName$1;
|
7884
|
-
branch: BranchName$1;
|
7885
|
-
table: TableName;
|
7886
|
-
column: ColumnName;
|
7887
|
-
update: UpdateColumnRequestBody;
|
7888
|
-
}): Promise<SchemaUpdateResponse>;
|
7889
|
-
deleteColumn({ workspace, region, database, branch, table, column }: {
|
7890
|
-
workspace: WorkspaceID;
|
7891
|
-
region: string;
|
7892
|
-
database: DBName$1;
|
7893
|
-
branch: BranchName$1;
|
7894
|
-
table: TableName;
|
7895
|
-
column: ColumnName;
|
7896
|
-
}): Promise<SchemaUpdateResponse>;
|
7897
|
-
}
|
7898
|
-
declare class RecordsApi {
|
7899
|
-
private extraProps;
|
7900
|
-
constructor(extraProps: ApiExtraProps);
|
7901
|
-
insertRecord({ workspace, region, database, branch, table, record, columns }: {
|
7902
|
-
workspace: WorkspaceID;
|
7903
|
-
region: string;
|
7904
|
-
database: DBName$1;
|
7905
|
-
branch: BranchName$1;
|
7906
|
-
table: TableName;
|
7907
|
-
record: Record<string, any>;
|
7908
|
-
columns?: ColumnsProjection;
|
7909
|
-
}): Promise<RecordUpdateResponse>;
|
7910
|
-
getRecord({ workspace, region, database, branch, table, id, columns }: {
|
7911
|
-
workspace: WorkspaceID;
|
7912
|
-
region: string;
|
7913
|
-
database: DBName$1;
|
7914
|
-
branch: BranchName$1;
|
7915
|
-
table: TableName;
|
7916
|
-
id: RecordID;
|
7917
|
-
columns?: ColumnsProjection;
|
7918
|
-
}): Promise<XataRecord$1>;
|
7919
|
-
insertRecordWithID({ workspace, region, database, branch, table, id, record, columns, createOnly, ifVersion }: {
|
7920
|
-
workspace: WorkspaceID;
|
7921
|
-
region: string;
|
7922
|
-
database: DBName$1;
|
7923
|
-
branch: BranchName$1;
|
7924
|
-
table: TableName;
|
7925
|
-
id: RecordID;
|
7926
|
-
record: Record<string, any>;
|
7927
|
-
columns?: ColumnsProjection;
|
7928
|
-
createOnly?: boolean;
|
7929
|
-
ifVersion?: number;
|
7930
|
-
}): Promise<RecordUpdateResponse>;
|
7931
|
-
updateRecordWithID({ workspace, region, database, branch, table, id, record, columns, ifVersion }: {
|
7932
|
-
workspace: WorkspaceID;
|
7933
|
-
region: string;
|
7934
|
-
database: DBName$1;
|
7935
|
-
branch: BranchName$1;
|
7936
|
-
table: TableName;
|
7937
|
-
id: RecordID;
|
7938
|
-
record: Record<string, any>;
|
7939
|
-
columns?: ColumnsProjection;
|
7940
|
-
ifVersion?: number;
|
7941
|
-
}): Promise<RecordUpdateResponse>;
|
7942
|
-
upsertRecordWithID({ workspace, region, database, branch, table, id, record, columns, ifVersion }: {
|
7943
|
-
workspace: WorkspaceID;
|
7944
|
-
region: string;
|
7945
|
-
database: DBName$1;
|
7946
|
-
branch: BranchName$1;
|
7947
|
-
table: TableName;
|
7948
|
-
id: RecordID;
|
7949
|
-
record: Record<string, any>;
|
7950
|
-
columns?: ColumnsProjection;
|
7951
|
-
ifVersion?: number;
|
7952
|
-
}): Promise<RecordUpdateResponse>;
|
7953
|
-
deleteRecord({ workspace, region, database, branch, table, id, columns }: {
|
7954
|
-
workspace: WorkspaceID;
|
7955
|
-
region: string;
|
7956
|
-
database: DBName$1;
|
7957
|
-
branch: BranchName$1;
|
7958
|
-
table: TableName;
|
7959
|
-
id: RecordID;
|
7960
|
-
columns?: ColumnsProjection;
|
7961
|
-
}): Promise<RecordUpdateResponse>;
|
7962
|
-
bulkInsertTableRecords({ workspace, region, database, branch, table, records, columns }: {
|
7963
|
-
workspace: WorkspaceID;
|
7964
|
-
region: string;
|
7965
|
-
database: DBName$1;
|
7966
|
-
branch: BranchName$1;
|
7967
|
-
table: TableName;
|
7968
|
-
records: Record<string, any>[];
|
7969
|
-
columns?: ColumnsProjection;
|
7970
|
-
}): Promise<BulkInsertResponse>;
|
7971
|
-
branchTransaction({ workspace, region, database, branch, operations }: {
|
7972
|
-
workspace: WorkspaceID;
|
7973
|
-
region: string;
|
7974
|
-
database: DBName$1;
|
7975
|
-
branch: BranchName$1;
|
7976
|
-
operations: TransactionOperation$1[];
|
7977
|
-
}): Promise<TransactionSuccess>;
|
7978
|
-
}
|
7979
|
-
declare class FilesApi {
|
7980
|
-
private extraProps;
|
7981
|
-
constructor(extraProps: ApiExtraProps);
|
7982
|
-
getFileItem({ workspace, region, database, branch, table, record, column, fileId }: {
|
7983
|
-
workspace: WorkspaceID;
|
7984
|
-
region: string;
|
7985
|
-
database: DBName$1;
|
7986
|
-
branch: BranchName$1;
|
7987
|
-
table: TableName;
|
7988
|
-
record: RecordID;
|
7989
|
-
column: ColumnName;
|
7990
|
-
fileId: string;
|
7991
|
-
}): Promise<any>;
|
7992
|
-
putFileItem({ workspace, region, database, branch, table, record, column, fileId, file }: {
|
7993
|
-
workspace: WorkspaceID;
|
7994
|
-
region: string;
|
7995
|
-
database: DBName$1;
|
7996
|
-
branch: BranchName$1;
|
7997
|
-
table: TableName;
|
7998
|
-
record: RecordID;
|
7999
|
-
column: ColumnName;
|
8000
|
-
fileId: string;
|
8001
|
-
file: any;
|
8002
|
-
}): Promise<PutFileResponse>;
|
8003
|
-
deleteFileItem({ workspace, region, database, branch, table, record, column, fileId }: {
|
8004
|
-
workspace: WorkspaceID;
|
8005
|
-
region: string;
|
8006
|
-
database: DBName$1;
|
8007
|
-
branch: BranchName$1;
|
8008
|
-
table: TableName;
|
8009
|
-
record: RecordID;
|
8010
|
-
column: ColumnName;
|
8011
|
-
fileId: string;
|
8012
|
-
}): Promise<PutFileResponse>;
|
8013
|
-
getFile({ workspace, region, database, branch, table, record, column }: {
|
8014
|
-
workspace: WorkspaceID;
|
8015
|
-
region: string;
|
8016
|
-
database: DBName$1;
|
8017
|
-
branch: BranchName$1;
|
8018
|
-
table: TableName;
|
8019
|
-
record: RecordID;
|
8020
|
-
column: ColumnName;
|
8021
|
-
}): Promise<any>;
|
8022
|
-
putFile({ workspace, region, database, branch, table, record, column, file }: {
|
8023
|
-
workspace: WorkspaceID;
|
8024
|
-
region: string;
|
8025
|
-
database: DBName$1;
|
8026
|
-
branch: BranchName$1;
|
8027
|
-
table: TableName;
|
8028
|
-
record: RecordID;
|
8029
|
-
column: ColumnName;
|
8030
|
-
file: Blob;
|
8031
|
-
}): Promise<PutFileResponse>;
|
8032
|
-
deleteFile({ workspace, region, database, branch, table, record, column }: {
|
8033
|
-
workspace: WorkspaceID;
|
8034
|
-
region: string;
|
8035
|
-
database: DBName$1;
|
8036
|
-
branch: BranchName$1;
|
8037
|
-
table: TableName;
|
8038
|
-
record: RecordID;
|
8039
|
-
column: ColumnName;
|
8040
|
-
}): Promise<PutFileResponse>;
|
8041
|
-
fileAccess({ workspace, region, fileId, verify }: {
|
8042
|
-
workspace: WorkspaceID;
|
8043
|
-
region: string;
|
8044
|
-
fileId: string;
|
8045
|
-
verify?: FileSignature;
|
8046
|
-
}): Promise<any>;
|
8047
|
-
}
|
8048
|
-
declare class SearchAndFilterApi {
|
8049
|
-
private extraProps;
|
8050
|
-
constructor(extraProps: ApiExtraProps);
|
8051
|
-
queryTable({ workspace, region, database, branch, table, filter, sort, page, columns, consistency }: {
|
8052
|
-
workspace: WorkspaceID;
|
8053
|
-
region: string;
|
8054
|
-
database: DBName$1;
|
8055
|
-
branch: BranchName$1;
|
8056
|
-
table: TableName;
|
8057
|
-
filter?: FilterExpression;
|
8058
|
-
sort?: SortExpression;
|
8059
|
-
page?: PageConfig;
|
8060
|
-
columns?: ColumnsProjection;
|
8061
|
-
consistency?: 'strong' | 'eventual';
|
8062
|
-
}): Promise<QueryResponse>;
|
8063
|
-
searchTable({ workspace, region, database, branch, table, query, fuzziness, target, prefix, filter, highlight, boosters }: {
|
8064
|
-
workspace: WorkspaceID;
|
8065
|
-
region: string;
|
8066
|
-
database: DBName$1;
|
8067
|
-
branch: BranchName$1;
|
8068
|
-
table: TableName;
|
8069
|
-
query: string;
|
8070
|
-
fuzziness?: FuzzinessExpression;
|
8071
|
-
target?: TargetExpression;
|
8072
|
-
prefix?: PrefixExpression;
|
8073
|
-
filter?: FilterExpression;
|
8074
|
-
highlight?: HighlightExpression;
|
8075
|
-
boosters?: BoosterExpression[];
|
8076
|
-
}): Promise<SearchResponse>;
|
8077
|
-
searchBranch({ workspace, region, database, branch, tables, query, fuzziness, prefix, highlight }: {
|
8078
|
-
workspace: WorkspaceID;
|
8079
|
-
region: string;
|
8080
|
-
database: DBName$1;
|
8081
|
-
branch: BranchName$1;
|
8082
|
-
tables?: (string | {
|
8083
|
-
table: string;
|
8084
|
-
filter?: FilterExpression;
|
8085
|
-
target?: TargetExpression;
|
8086
|
-
boosters?: BoosterExpression[];
|
8087
|
-
})[];
|
8088
|
-
query: string;
|
8089
|
-
fuzziness?: FuzzinessExpression;
|
8090
|
-
prefix?: PrefixExpression;
|
8091
|
-
highlight?: HighlightExpression;
|
8092
|
-
}): Promise<SearchResponse>;
|
8093
|
-
vectorSearchTable({ workspace, region, database, branch, table, queryVector, column, similarityFunction, size, filter }: {
|
8094
|
-
workspace: WorkspaceID;
|
8095
|
-
region: string;
|
8096
|
-
database: DBName$1;
|
8097
|
-
branch: BranchName$1;
|
8098
|
-
table: TableName;
|
8099
|
-
queryVector: number[];
|
8100
|
-
column: string;
|
8101
|
-
similarityFunction?: string;
|
8102
|
-
size?: number;
|
8103
|
-
filter?: FilterExpression;
|
8104
|
-
}): Promise<SearchResponse>;
|
8105
|
-
askTable({ workspace, region, database, branch, table, options }: {
|
8106
|
-
workspace: WorkspaceID;
|
8107
|
-
region: string;
|
8108
|
-
database: DBName$1;
|
8109
|
-
branch: BranchName$1;
|
8110
|
-
table: TableName;
|
8111
|
-
options: AskTableRequestBody;
|
8112
|
-
}): Promise<AskTableResponse>;
|
8113
|
-
askTableSession({ workspace, region, database, branch, table, sessionId, message }: {
|
8114
|
-
workspace: WorkspaceID;
|
8115
|
-
region: string;
|
8116
|
-
database: DBName$1;
|
8117
|
-
branch: BranchName$1;
|
8118
|
-
table: TableName;
|
8119
|
-
sessionId: string;
|
8120
|
-
message: string;
|
8121
|
-
}): Promise<AskTableSessionResponse>;
|
8122
|
-
summarizeTable({ workspace, region, database, branch, table, filter, columns, summaries, sort, summariesFilter, page, consistency }: {
|
8123
|
-
workspace: WorkspaceID;
|
8124
|
-
region: string;
|
8125
|
-
database: DBName$1;
|
8126
|
-
branch: BranchName$1;
|
8127
|
-
table: TableName;
|
8128
|
-
filter?: FilterExpression;
|
8129
|
-
columns?: ColumnsProjection;
|
8130
|
-
summaries?: SummaryExpressionList;
|
8131
|
-
sort?: SortExpression;
|
8132
|
-
summariesFilter?: FilterExpression;
|
8133
|
-
page?: {
|
8134
|
-
size?: number;
|
8135
|
-
};
|
8136
|
-
consistency?: 'strong' | 'eventual';
|
8137
|
-
}): Promise<SummarizeResponse>;
|
8138
|
-
aggregateTable({ workspace, region, database, branch, table, filter, aggs }: {
|
8139
|
-
workspace: WorkspaceID;
|
8140
|
-
region: string;
|
8141
|
-
database: DBName$1;
|
8142
|
-
branch: BranchName$1;
|
8143
|
-
table: TableName;
|
8144
|
-
filter?: FilterExpression;
|
8145
|
-
aggs?: AggExpressionMap;
|
8146
|
-
}): Promise<AggResponse>;
|
8147
|
-
}
|
8148
|
-
declare class MigrationRequestsApi {
|
8149
|
-
private extraProps;
|
8150
|
-
constructor(extraProps: ApiExtraProps);
|
8151
|
-
queryMigrationRequests({ workspace, region, database, filter, sort, page, columns }: {
|
8152
|
-
workspace: WorkspaceID;
|
8153
|
-
region: string;
|
8154
|
-
database: DBName$1;
|
8155
|
-
filter?: FilterExpression;
|
8156
|
-
sort?: SortExpression;
|
8157
|
-
page?: PageConfig;
|
8158
|
-
columns?: ColumnsProjection;
|
8159
|
-
}): Promise<QueryMigrationRequestsResponse>;
|
8160
|
-
createMigrationRequest({ workspace, region, database, migration }: {
|
8161
|
-
workspace: WorkspaceID;
|
8162
|
-
region: string;
|
8163
|
-
database: DBName$1;
|
8164
|
-
migration: CreateMigrationRequestRequestBody;
|
8165
|
-
}): Promise<CreateMigrationRequestResponse>;
|
8166
|
-
getMigrationRequest({ workspace, region, database, migrationRequest }: {
|
8167
|
-
workspace: WorkspaceID;
|
8168
|
-
region: string;
|
8169
|
-
database: DBName$1;
|
8170
|
-
migrationRequest: MigrationRequestNumber;
|
8171
|
-
}): Promise<MigrationRequest>;
|
8172
|
-
updateMigrationRequest({ workspace, region, database, migrationRequest, update }: {
|
8173
|
-
workspace: WorkspaceID;
|
8174
|
-
region: string;
|
8175
|
-
database: DBName$1;
|
8176
|
-
migrationRequest: MigrationRequestNumber;
|
8177
|
-
update: UpdateMigrationRequestRequestBody;
|
8178
|
-
}): Promise<void>;
|
8179
|
-
listMigrationRequestsCommits({ workspace, region, database, migrationRequest, page }: {
|
8180
|
-
workspace: WorkspaceID;
|
8181
|
-
region: string;
|
8182
|
-
database: DBName$1;
|
8183
|
-
migrationRequest: MigrationRequestNumber;
|
8184
|
-
page?: {
|
8185
|
-
after?: string;
|
8186
|
-
before?: string;
|
8187
|
-
size?: number;
|
8188
|
-
};
|
8189
|
-
}): Promise<ListMigrationRequestsCommitsResponse>;
|
8190
|
-
compareMigrationRequest({ workspace, region, database, migrationRequest }: {
|
8191
|
-
workspace: WorkspaceID;
|
8192
|
-
region: string;
|
8193
|
-
database: DBName$1;
|
8194
|
-
migrationRequest: MigrationRequestNumber;
|
8195
|
-
}): Promise<SchemaCompareResponse>;
|
8196
|
-
getMigrationRequestIsMerged({ workspace, region, database, migrationRequest }: {
|
8197
|
-
workspace: WorkspaceID;
|
8198
|
-
region: string;
|
8199
|
-
database: DBName$1;
|
8200
|
-
migrationRequest: MigrationRequestNumber;
|
8201
|
-
}): Promise<GetMigrationRequestIsMergedResponse>;
|
8202
|
-
mergeMigrationRequest({ workspace, region, database, migrationRequest }: {
|
8203
|
-
workspace: WorkspaceID;
|
8204
|
-
region: string;
|
8205
|
-
database: DBName$1;
|
8206
|
-
migrationRequest: MigrationRequestNumber;
|
8207
|
-
}): Promise<BranchOp>;
|
8208
|
-
}
|
8209
|
-
declare class MigrationsApi {
|
8210
|
-
private extraProps;
|
8211
|
-
constructor(extraProps: ApiExtraProps);
|
8212
|
-
getBranchMigrationHistory({ workspace, region, database, branch, limit, startFrom }: {
|
8213
|
-
workspace: WorkspaceID;
|
8214
|
-
region: string;
|
8215
|
-
database: DBName$1;
|
8216
|
-
branch: BranchName$1;
|
8217
|
-
limit?: number;
|
8218
|
-
startFrom?: string;
|
8219
|
-
}): Promise<GetBranchMigrationHistoryResponse>;
|
8220
|
-
getBranchMigrationPlan({ workspace, region, database, branch, schema }: {
|
8221
|
-
workspace: WorkspaceID;
|
8222
|
-
region: string;
|
8223
|
-
database: DBName$1;
|
8224
|
-
branch: BranchName$1;
|
8225
|
-
schema: Schema;
|
8226
|
-
}): Promise<BranchMigrationPlan>;
|
8227
|
-
executeBranchMigrationPlan({ workspace, region, database, branch, plan }: {
|
8228
|
-
workspace: WorkspaceID;
|
8229
|
-
region: string;
|
8230
|
-
database: DBName$1;
|
8231
|
-
branch: BranchName$1;
|
8232
|
-
plan: ExecuteBranchMigrationPlanRequestBody;
|
8233
|
-
}): Promise<SchemaUpdateResponse>;
|
8234
|
-
getBranchSchemaHistory({ workspace, region, database, branch, page }: {
|
8235
|
-
workspace: WorkspaceID;
|
8236
|
-
region: string;
|
8237
|
-
database: DBName$1;
|
8238
|
-
branch: BranchName$1;
|
8239
|
-
page?: {
|
8240
|
-
after?: string;
|
8241
|
-
before?: string;
|
8242
|
-
size?: number;
|
8243
|
-
};
|
8244
|
-
}): Promise<GetBranchSchemaHistoryResponse>;
|
8245
|
-
compareBranchWithUserSchema({ workspace, region, database, branch, schema, schemaOperations, branchOperations }: {
|
8246
|
-
workspace: WorkspaceID;
|
8247
|
-
region: string;
|
8248
|
-
database: DBName$1;
|
8249
|
-
branch: BranchName$1;
|
8250
|
-
schema: Schema;
|
8251
|
-
schemaOperations?: MigrationOp[];
|
8252
|
-
branchOperations?: MigrationOp[];
|
8253
|
-
}): Promise<SchemaCompareResponse>;
|
8254
|
-
compareBranchSchemas({ workspace, region, database, branch, compare, sourceBranchOperations, targetBranchOperations }: {
|
8255
|
-
workspace: WorkspaceID;
|
8256
|
-
region: string;
|
8257
|
-
database: DBName$1;
|
8258
|
-
branch: BranchName$1;
|
8259
|
-
compare: BranchName$1;
|
8260
|
-
sourceBranchOperations?: MigrationOp[];
|
8261
|
-
targetBranchOperations?: MigrationOp[];
|
8262
|
-
}): Promise<SchemaCompareResponse>;
|
8263
|
-
updateBranchSchema({ workspace, region, database, branch, migration }: {
|
8264
|
-
workspace: WorkspaceID;
|
8265
|
-
region: string;
|
8266
|
-
database: DBName$1;
|
8267
|
-
branch: BranchName$1;
|
8268
|
-
migration: Migration;
|
8269
|
-
}): Promise<SchemaUpdateResponse>;
|
8270
|
-
previewBranchSchemaEdit({ workspace, region, database, branch, data }: {
|
8271
|
-
workspace: WorkspaceID;
|
8272
|
-
region: string;
|
8273
|
-
database: DBName$1;
|
8274
|
-
branch: BranchName$1;
|
8275
|
-
data: {
|
8276
|
-
edits?: SchemaEditScript;
|
8277
|
-
};
|
8278
|
-
}): Promise<PreviewBranchSchemaEditResponse>;
|
8279
|
-
applyBranchSchemaEdit({ workspace, region, database, branch, edits }: {
|
8280
|
-
workspace: WorkspaceID;
|
8281
|
-
region: string;
|
8282
|
-
database: DBName$1;
|
8283
|
-
branch: BranchName$1;
|
8284
|
-
edits: SchemaEditScript;
|
8285
|
-
}): Promise<SchemaUpdateResponse>;
|
8286
|
-
pushBranchMigrations({ workspace, region, database, branch, migrations }: {
|
8287
|
-
workspace: WorkspaceID;
|
8288
|
-
region: string;
|
8289
|
-
database: DBName$1;
|
8290
|
-
branch: BranchName$1;
|
8291
|
-
migrations: MigrationObject[];
|
8292
|
-
}): Promise<SchemaUpdateResponse>;
|
8293
|
-
getSchema({ workspace, region, database, branch }: {
|
8294
|
-
workspace: WorkspaceID;
|
8295
|
-
region: string;
|
8296
|
-
database: DBName$1;
|
8297
|
-
branch: BranchName$1;
|
8298
|
-
}): Promise<GetSchemaResponse>;
|
8299
|
-
}
|
8300
|
-
declare class DatabaseApi {
|
8301
|
-
private extraProps;
|
8302
|
-
constructor(extraProps: ApiExtraProps);
|
8303
|
-
getDatabaseList({ workspace }: {
|
8304
|
-
workspace: WorkspaceID;
|
8305
|
-
}): Promise<ListDatabasesResponse>;
|
8306
|
-
createDatabase({ workspace, database, data, headers }: {
|
8307
|
-
workspace: WorkspaceID;
|
8308
|
-
database: DBName$1;
|
8309
|
-
data: CreateDatabaseRequestBody;
|
8310
|
-
headers?: Record<string, string>;
|
8311
|
-
}): Promise<CreateDatabaseResponse>;
|
8312
|
-
deleteDatabase({ workspace, database }: {
|
8313
|
-
workspace: WorkspaceID;
|
8314
|
-
database: DBName$1;
|
8315
|
-
}): Promise<DeleteDatabaseResponse>;
|
8316
|
-
getDatabaseMetadata({ workspace, database }: {
|
8317
|
-
workspace: WorkspaceID;
|
8318
|
-
database: DBName$1;
|
8319
|
-
}): Promise<DatabaseMetadata>;
|
8320
|
-
updateDatabaseMetadata({ workspace, database, metadata }: {
|
8321
|
-
workspace: WorkspaceID;
|
8322
|
-
database: DBName$1;
|
8323
|
-
metadata: DatabaseMetadata;
|
8324
|
-
}): Promise<DatabaseMetadata>;
|
8325
|
-
renameDatabase({ workspace, database, newName }: {
|
8326
|
-
workspace: WorkspaceID;
|
8327
|
-
database: DBName$1;
|
8328
|
-
newName: DBName$1;
|
8329
|
-
}): Promise<DatabaseMetadata>;
|
8330
|
-
getDatabaseGithubSettings({ workspace, database }: {
|
8331
|
-
workspace: WorkspaceID;
|
8332
|
-
database: DBName$1;
|
8333
|
-
}): Promise<DatabaseGithubSettings>;
|
8334
|
-
updateDatabaseGithubSettings({ workspace, database, settings }: {
|
8335
|
-
workspace: WorkspaceID;
|
8336
|
-
database: DBName$1;
|
8337
|
-
settings: DatabaseGithubSettings;
|
8338
|
-
}): Promise<DatabaseGithubSettings>;
|
8339
|
-
deleteDatabaseGithubSettings({ workspace, database }: {
|
8340
|
-
workspace: WorkspaceID;
|
8341
|
-
database: DBName$1;
|
8342
|
-
}): Promise<void>;
|
8343
|
-
listRegions({ workspace }: {
|
8344
|
-
workspace: WorkspaceID;
|
8345
|
-
}): Promise<ListRegionsResponse>;
|
8161
|
+
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, 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_SumAgg as SumAgg, schemas_SummaryExpression as SummaryExpression, schemas_SummaryExpressionList as SummaryExpressionList, schemas_Table as Table, schemas_TableMigration as TableMigration, schemas_TableName as TableName, schemas_TableOpAdd as TableOpAdd, schemas_TableOpRemove as TableOpRemove, schemas_TableOpRename as TableOpRename, schemas_TableRename as TableRename, schemas_TargetExpression as TargetExpression, schemas_TopValuesAgg as TopValuesAgg, schemas_TransactionDeleteOp as TransactionDeleteOp, schemas_TransactionError as TransactionError, schemas_TransactionFailure as TransactionFailure, schemas_TransactionGetOp as TransactionGetOp, schemas_TransactionInsertOp as TransactionInsertOp, TransactionOperation$1 as TransactionOperation, schemas_TransactionResultColumns as TransactionResultColumns, schemas_TransactionResultDelete as TransactionResultDelete, schemas_TransactionResultGet as TransactionResultGet, schemas_TransactionResultInsert as TransactionResultInsert, schemas_TransactionResultUpdate as TransactionResultUpdate, schemas_TransactionSuccess as TransactionSuccess, schemas_TransactionUpdateOp as TransactionUpdateOp, schemas_UniqueCountAgg as UniqueCountAgg, schemas_User as User, schemas_UserID as UserID, schemas_UserWithID as UserWithID, ValueBooster$1 as ValueBooster, schemas_WeeklyTimeWindow as WeeklyTimeWindow, schemas_Workspace as Workspace, schemas_WorkspaceID as WorkspaceID, schemas_WorkspaceInvite as WorkspaceInvite, schemas_WorkspaceMember as WorkspaceMember, schemas_WorkspaceMembers as WorkspaceMembers, schemas_WorkspaceMeta as WorkspaceMeta, schemas_WorkspacePlan as WorkspacePlan, schemas_WorkspaceSettings as WorkspaceSettings, XataRecord$1 as XataRecord };
|
8346
8162
|
}
|
8347
8163
|
|
8348
8164
|
declare class XataApiPlugin implements XataPlugin {
|
8349
8165
|
build(options: XataPluginOptions): XataApiClient;
|
8350
8166
|
}
|
8351
8167
|
|
8352
|
-
type StringKeys<O> = Extract<keyof O, string>;
|
8353
|
-
type Values<O> = O[StringKeys<O>];
|
8354
|
-
type UnionToIntersection<T> = (T extends any ? (x: T) => any : never) extends (x: infer R) => any ? R : never;
|
8355
|
-
type If<Condition, Then, Else> = Condition extends true ? Then : Else;
|
8356
|
-
type IsObject<T> = T extends Record<string, any> ? true : false;
|
8357
|
-
type IsArray<T> = T extends Array<any> ? true : false;
|
8358
|
-
type RequiredBy<T, K extends keyof T> = T & {
|
8359
|
-
[P in K]-?: NonNullable<T[P]>;
|
8360
|
-
};
|
8361
|
-
type GetArrayInnerType<T extends readonly any[]> = T[number];
|
8362
|
-
type SingleOrArray<T> = T | T[];
|
8363
|
-
type Dictionary<T> = Record<string, T>;
|
8364
|
-
type OmitBy<T, K extends keyof T> = T extends any ? Omit<T, K> : never;
|
8365
|
-
type Without<T, U> = {
|
8366
|
-
[P in Exclude<keyof T, keyof U>]?: never;
|
8367
|
-
};
|
8368
|
-
type ExclusiveOr<T, U> = T | U extends object ? (Without<T, U> & U) | (Without<U, T> & T) : T | U;
|
8369
|
-
type Explode<T> = keyof T extends infer K ? K extends unknown ? {
|
8370
|
-
[I in keyof T]: I extends K ? T[I] : never;
|
8371
|
-
} : never : never;
|
8372
|
-
type AtMostOne<T> = Explode<Partial<T>>;
|
8373
|
-
type AtLeastOne<T, U = {
|
8374
|
-
[K in keyof T]: Pick<T, K>;
|
8375
|
-
}> = Partial<T> & U[keyof U];
|
8376
|
-
type ExactlyOne<T> = AtMostOne<T> & AtLeastOne<T>;
|
8377
|
-
type Fn = (...args: any[]) => any;
|
8378
|
-
type NarrowRaw<A> = (A extends [] ? [] : never) | (A extends Narrowable ? A : never) | {
|
8379
|
-
[K in keyof A]: A[K] extends Fn ? A[K] : NarrowRaw<A[K]>;
|
8380
|
-
};
|
8381
|
-
type Narrowable = string | number | bigint | boolean;
|
8382
|
-
type Try<A1, A2, Catch = never> = A1 extends A2 ? A1 : Catch;
|
8383
|
-
type Narrow<A> = Try<A, [], NarrowRaw<A>>;
|
8384
|
-
|
8385
8168
|
interface ImageTransformations {
|
8386
8169
|
/**
|
8387
8170
|
* Whether to preserve animation frames from input files. Default is true.
|
@@ -9367,13 +9150,13 @@ type XataRecordMetadata = {
|
|
9367
9150
|
declare function isIdentifiable(x: any): x is Identifiable & Record<string, unknown>;
|
9368
9151
|
declare function isXataRecord(x: any): x is XataRecord & Record<string, unknown>;
|
9369
9152
|
type NumericOperator = ExclusiveOr<{
|
9370
|
-
$increment
|
9153
|
+
$increment: number;
|
9371
9154
|
}, ExclusiveOr<{
|
9372
|
-
$decrement
|
9155
|
+
$decrement: number;
|
9373
9156
|
}, ExclusiveOr<{
|
9374
|
-
$multiply
|
9157
|
+
$multiply: number;
|
9375
9158
|
}, {
|
9376
|
-
$divide
|
9159
|
+
$divide: number;
|
9377
9160
|
}>>>;
|
9378
9161
|
type InputXataFile = Partial<XataArrayFile> | Promise<Partial<XataArrayFile>>;
|
9379
9162
|
type EditableDataFields<T> = T extends XataRecord ? {
|
@@ -11495,4 +11278,4 @@ declare class XataError extends Error {
|
|
11495
11278
|
constructor(message: string, status: number);
|
11496
11279
|
}
|
11497
11280
|
|
11498
|
-
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptAllTablesError, type AdaptAllTablesPathParams, type AdaptAllTablesVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, Buffer, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CacheImpl, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CompleteMigrationError, type CompleteMigrationPathParams, type CompleteMigrationVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteClusterError, type DeleteClusterPathParams, type DeleteClusterVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryQueryParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, type RollbackMigrationError, type RollbackMigrationPathParams, type RollbackMigrationVariables, type SQLBatchQuery, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, SimpleCache, type SimpleCacheOptions, type SqlBatchQueryError, type SqlBatchQueryPathParams, type SqlBatchQueryRequestBody, type SqlBatchQueryVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type StartMigrationError, type StartMigrationPathParams, type StartMigrationRequestBody, type StartMigrationVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, completeMigration, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteCluster, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, isXataRecord, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, rollbackMigration, searchBranch, searchTable, serialize, setTableSchema, sqlBatchQuery, sqlQuery, startMigration, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
|
11281
|
+
export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptAllTablesError, type AdaptAllTablesPathParams, type AdaptAllTablesVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, Buffer, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CacheImpl, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CompleteMigrationError, type CompleteMigrationPathParams, type CompleteMigrationRequestBody, type CompleteMigrationVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteClusterError, type DeleteClusterPathParams, type DeleteClusterVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type 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 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, SimpleCache, type SimpleCacheOptions, type SqlBatchQueryError, type SqlBatchQueryPathParams, type SqlBatchQueryRequestBody, type SqlBatchQueryVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type StartMigrationError, type StartMigrationPathParams, type StartMigrationRequestBody, type StartMigrationVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, completeMigration, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteCluster, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, dropClusterExtension, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchMoveStatus, getBranchSchemaHistory, getBranchStats, getCluster, getClusterMetrics, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationJobs, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getSchemas, getTableColumns, getTableSchema, 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, isXataRecord, 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 };
|