@xata.io/client 0.0.0-next.v8f0b7eb0f7b8e6548d2d4a1f2d5c089e8e46863e → 0.0.0-next.vb1fd79681a510951394a3f7028704cbfba2e74b6

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/dist/index.d.ts CHANGED
@@ -4,6 +4,7 @@ declare abstract class XataPlugin {
4
4
  type XataPluginOptions = ApiExtraProps & {
5
5
  host: HostProvider;
6
6
  tables: Table[];
7
+ branch: string;
7
8
  };
8
9
 
9
10
  type AttributeDictionary = Record<string, string | number | boolean | undefined>;
@@ -170,7 +171,6 @@ type Branch = {
170
171
  * The cluster where this branch resides. Value of 'shared-cluster' for branches in shared clusters
171
172
  *
172
173
  * @minLength 1
173
- * @x-internal true
174
174
  */
175
175
  clusterID?: string;
176
176
  createdAt: DateTime$1;
@@ -224,7 +224,7 @@ type ColumnFile = {
224
224
  };
225
225
  type Column = {
226
226
  name: string;
227
- type: 'bool' | 'int' | 'float' | 'string' | 'text' | 'email' | 'multiple' | 'link' | 'datetime' | 'vector' | 'file[]' | 'file' | 'json';
227
+ type: string;
228
228
  link?: ColumnLink;
229
229
  vector?: ColumnVector;
230
230
  file?: ColumnFile;
@@ -1712,6 +1712,7 @@ type Workspace = WorkspaceMeta & {
1712
1712
  };
1713
1713
  type WorkspaceSettings = {
1714
1714
  postgresEnabled: boolean;
1715
+ dedicatedClusters: boolean;
1715
1716
  };
1716
1717
  type WorkspaceMember = {
1717
1718
  userId: UserID;
@@ -1876,6 +1877,13 @@ type ClusterConfiguration = {
1876
1877
  * @format int64
1877
1878
  */
1878
1879
  replicas?: number;
1880
+ /**
1881
+ * @format int64
1882
+ * @default 1
1883
+ * @maximum 3
1884
+ * @minimum 1
1885
+ */
1886
+ instanceCount?: number;
1879
1887
  /**
1880
1888
  * @default false
1881
1889
  */
@@ -1894,7 +1902,7 @@ type ClusterCreateDetails = {
1894
1902
  /**
1895
1903
  * @maxLength 63
1896
1904
  * @minLength 1
1897
- * @pattern [a-zA-Z0-9_-~:]+
1905
+ * @pattern [a-z0-9]([-a-z0-9]*[a-z0-9])?(\\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*
1898
1906
  */
1899
1907
  name: string;
1900
1908
  configuration: ClusterConfiguration;
@@ -1946,6 +1954,10 @@ type ClusterConfigurationResponse = {
1946
1954
  * @format int64
1947
1955
  */
1948
1956
  replicas: number;
1957
+ /**
1958
+ * @format int64
1959
+ */
1960
+ instanceCount: number;
1949
1961
  /**
1950
1962
  * @default false
1951
1963
  */
@@ -2004,7 +2016,7 @@ type DatabaseMetadata = {
2004
2016
  */
2005
2017
  newMigrations?: boolean;
2006
2018
  /**
2007
- * @x-internal true
2019
+ * The default cluster ID where branches from this database reside. Value of 'shared-cluster' for branches in shared clusters.
2008
2020
  */
2009
2021
  defaultClusterID?: string;
2010
2022
  /**
@@ -3339,7 +3351,7 @@ type ApplyMigrationRequestBody = {
3339
3351
  operations: {
3340
3352
  [key: string]: any;
3341
3353
  }[];
3342
- adaptTable?: boolean;
3354
+ adaptTables?: boolean;
3343
3355
  };
3344
3356
  type ApplyMigrationVariables = {
3345
3357
  body: ApplyMigrationRequestBody;
@@ -3378,6 +3390,31 @@ type AdaptTableVariables = {
3378
3390
  * Adapt a table to be used from Xata, this will add the Xata metadata fields to the table, making it accessible through the data API.
3379
3391
  */
3380
3392
  declare const adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
3393
+ type AdaptAllTablesPathParams = {
3394
+ /**
3395
+ * The DBBranchName matches the pattern `{db_name}:{branch_name}`.
3396
+ */
3397
+ dbBranchName: DBBranchName;
3398
+ workspace: string;
3399
+ region: string;
3400
+ };
3401
+ type AdaptAllTablesError = ErrorWrapper<{
3402
+ status: 400;
3403
+ payload: BadRequestError$1;
3404
+ } | {
3405
+ status: 401;
3406
+ payload: AuthError$1;
3407
+ } | {
3408
+ status: 404;
3409
+ payload: SimpleError$1;
3410
+ }>;
3411
+ type AdaptAllTablesVariables = {
3412
+ pathParams: AdaptAllTablesPathParams;
3413
+ } & DataPlaneFetcherExtraProps;
3414
+ /**
3415
+ * Adapt all xata incompatible tables present in the branch, this will add the Xata metadata fields to the table, making them accessible through the data API.
3416
+ */
3417
+ declare const adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal) => Promise<ApplyMigrationResponse>;
3381
3418
  type GetBranchMigrationJobStatusPathParams = {
3382
3419
  /**
3383
3420
  * The DBBranchName matches the pattern `{db_name}:{branch_name}`.
@@ -6927,6 +6964,7 @@ declare const operationsByTag: {
6927
6964
  migrations: {
6928
6965
  applyMigration: (variables: ApplyMigrationVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
6929
6966
  adaptTable: (variables: AdaptTableVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
6967
+ adaptAllTables: (variables: AdaptAllTablesVariables, signal?: AbortSignal | undefined) => Promise<ApplyMigrationResponse>;
6930
6968
  getBranchMigrationJobStatus: (variables: GetBranchMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
6931
6969
  getMigrationJobStatus: (variables: GetMigrationJobStatusVariables, signal?: AbortSignal | undefined) => Promise<MigrationJobStatusResponse>;
6932
6970
  getMigrationHistory: (variables: GetMigrationHistoryVariables, signal?: AbortSignal | undefined) => Promise<MigrationHistoryResponse>;
@@ -7061,6 +7099,8 @@ declare function buildProviderString(provider: HostProvider): string;
7061
7099
  declare function parseWorkspacesUrlParts(url: string): {
7062
7100
  workspace: string;
7063
7101
  region: string;
7102
+ database: string;
7103
+ branch?: string;
7064
7104
  host: HostAliases;
7065
7105
  } | null;
7066
7106
 
@@ -7434,6 +7474,580 @@ interface ImageTransformations {
7434
7474
  declare function transformImage(url: string, ...transformations: ImageTransformations[]): string;
7435
7475
  declare function transformImage(url: string | undefined, ...transformations: ImageTransformations[]): string | undefined;
7436
7476
 
7477
+ declare class Buffer extends Uint8Array {
7478
+ /**
7479
+ * Allocates a new buffer containing the given `str`.
7480
+ *
7481
+ * @param str String to store in buffer.
7482
+ * @param encoding Encoding to use, optional. Default is `utf8`.
7483
+ */
7484
+ constructor(str: string, encoding?: Encoding);
7485
+ /**
7486
+ * Allocates a new buffer of `size` octets.
7487
+ *
7488
+ * @param size Count of octets to allocate.
7489
+ */
7490
+ constructor(size: number);
7491
+ /**
7492
+ * Allocates a new buffer containing the given `array` of octets.
7493
+ *
7494
+ * @param array The octets to store.
7495
+ */
7496
+ constructor(array: Uint8Array);
7497
+ /**
7498
+ * Allocates a new buffer containing the given `array` of octet values.
7499
+ *
7500
+ * @param array
7501
+ */
7502
+ constructor(array: number[]);
7503
+ /**
7504
+ * Allocates a new buffer containing the given `array` of octet values.
7505
+ *
7506
+ * @param array
7507
+ * @param encoding
7508
+ */
7509
+ constructor(array: number[], encoding: Encoding);
7510
+ /**
7511
+ * Copies the passed `buffer` data onto a new `Buffer` instance.
7512
+ *
7513
+ * @param buffer
7514
+ */
7515
+ constructor(buffer: Buffer);
7516
+ /**
7517
+ * When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
7518
+ * the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
7519
+ * range within the `arrayBuffer` that will be shared by the Buffer.
7520
+ *
7521
+ * @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
7522
+ * @param byteOffset
7523
+ * @param length
7524
+ */
7525
+ constructor(buffer: ArrayBuffer, byteOffset?: number, length?: number);
7526
+ /**
7527
+ * Return JSON representation of the buffer.
7528
+ */
7529
+ toJSON(): {
7530
+ type: 'Buffer';
7531
+ data: number[];
7532
+ };
7533
+ /**
7534
+ * Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
7535
+ * parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
7536
+ * only part of `string` will be written. However, partially encoded characters will not be written.
7537
+ *
7538
+ * @param string String to write to `buf`.
7539
+ * @param encoding The character encoding of `string`. Default: `utf8`.
7540
+ */
7541
+ write(string: string, encoding?: Encoding): number;
7542
+ /**
7543
+ * Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
7544
+ * parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
7545
+ * only part of `string` will be written. However, partially encoded characters will not be written.
7546
+ *
7547
+ * @param string String to write to `buf`.
7548
+ * @param offset Number of bytes to skip before starting to write `string`. Default: `0`.
7549
+ * @param length Maximum number of bytes to write: Default: `buf.length - offset`.
7550
+ * @param encoding The character encoding of `string`. Default: `utf8`.
7551
+ */
7552
+ write(string: string, offset?: number, length?: number, encoding?: Encoding): number;
7553
+ /**
7554
+ * Decodes the buffer to a string according to the specified character encoding.
7555
+ * Passing `start` and `end` will decode only a subset of the buffer.
7556
+ *
7557
+ * Note that if the encoding is `utf8` and a byte sequence in the input is not valid UTF-8, then each invalid byte
7558
+ * will be replaced with `U+FFFD`.
7559
+ *
7560
+ * @param encoding
7561
+ * @param start
7562
+ * @param end
7563
+ */
7564
+ toString(encoding?: Encoding, start?: number, end?: number): string;
7565
+ /**
7566
+ * Returns true if this buffer's is equal to the provided buffer, meaning they share the same exact data.
7567
+ *
7568
+ * @param otherBuffer
7569
+ */
7570
+ equals(otherBuffer: Buffer): boolean;
7571
+ /**
7572
+ * Compares the buffer with `otherBuffer` and returns a number indicating whether the buffer comes before, after,
7573
+ * or is the same as `otherBuffer` in sort order. Comparison is based on the actual sequence of bytes in each
7574
+ * buffer.
7575
+ *
7576
+ * - `0` is returned if `otherBuffer` is the same as this buffer.
7577
+ * - `1` is returned if `otherBuffer` should come before this buffer when sorted.
7578
+ * - `-1` is returned if `otherBuffer` should come after this buffer when sorted.
7579
+ *
7580
+ * @param otherBuffer The buffer to compare to.
7581
+ * @param targetStart The offset within `otherBuffer` at which to begin comparison.
7582
+ * @param targetEnd The offset within `otherBuffer` at which to end comparison (exclusive).
7583
+ * @param sourceStart The offset within this buffer at which to begin comparison.
7584
+ * @param sourceEnd The offset within this buffer at which to end the comparison (exclusive).
7585
+ */
7586
+ compare(otherBuffer: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
7587
+ /**
7588
+ * Copies data from a region of this buffer to a region in `targetBuffer`, even if the `targetBuffer` memory
7589
+ * region overlaps with this buffer.
7590
+ *
7591
+ * @param targetBuffer The target buffer to copy into.
7592
+ * @param targetStart The offset within `targetBuffer` at which to begin writing.
7593
+ * @param sourceStart The offset within this buffer at which to begin copying.
7594
+ * @param sourceEnd The offset within this buffer at which to end copying (exclusive).
7595
+ */
7596
+ copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
7597
+ /**
7598
+ * Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start`
7599
+ * and `end` indices. This is the same behavior as `buf.subarray()`.
7600
+ *
7601
+ * This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of Buffer. To copy
7602
+ * the slice, use `Uint8Array.prototype.slice()`.
7603
+ *
7604
+ * @param start
7605
+ * @param end
7606
+ */
7607
+ slice(start?: number, end?: number): Buffer;
7608
+ /**
7609
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
7610
+ * of accuracy. Behavior is undefined when value is anything other than an unsigned integer.
7611
+ *
7612
+ * @param value Number to write.
7613
+ * @param offset Number of bytes to skip before starting to write.
7614
+ * @param byteLength Number of bytes to write, between 0 and 6.
7615
+ * @param noAssert
7616
+ * @returns `offset` plus the number of bytes written.
7617
+ */
7618
+ writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7619
+ /**
7620
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits of
7621
+ * accuracy. Behavior is undefined when `value` is anything other than an unsigned integer.
7622
+ *
7623
+ * @param value Number to write.
7624
+ * @param offset Number of bytes to skip before starting to write.
7625
+ * @param byteLength Number of bytes to write, between 0 and 6.
7626
+ * @param noAssert
7627
+ * @returns `offset` plus the number of bytes written.
7628
+ */
7629
+ writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7630
+ /**
7631
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
7632
+ * of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
7633
+ *
7634
+ * @param value Number to write.
7635
+ * @param offset Number of bytes to skip before starting to write.
7636
+ * @param byteLength Number of bytes to write, between 0 and 6.
7637
+ * @param noAssert
7638
+ * @returns `offset` plus the number of bytes written.
7639
+ */
7640
+ writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7641
+ /**
7642
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits
7643
+ * of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
7644
+ *
7645
+ * @param value Number to write.
7646
+ * @param offset Number of bytes to skip before starting to write.
7647
+ * @param byteLength Number of bytes to write, between 0 and 6.
7648
+ * @param noAssert
7649
+ * @returns `offset` plus the number of bytes written.
7650
+ */
7651
+ writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7652
+ /**
7653
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
7654
+ * unsigned, little-endian integer supporting up to 48 bits of accuracy.
7655
+ *
7656
+ * @param offset Number of bytes to skip before starting to read.
7657
+ * @param byteLength Number of bytes to read, between 0 and 6.
7658
+ * @param noAssert
7659
+ */
7660
+ readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
7661
+ /**
7662
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
7663
+ * unsigned, big-endian integer supporting up to 48 bits of accuracy.
7664
+ *
7665
+ * @param offset Number of bytes to skip before starting to read.
7666
+ * @param byteLength Number of bytes to read, between 0 and 6.
7667
+ * @param noAssert
7668
+ */
7669
+ readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
7670
+ /**
7671
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
7672
+ * little-endian, two's complement signed value supporting up to 48 bits of accuracy.
7673
+ *
7674
+ * @param offset Number of bytes to skip before starting to read.
7675
+ * @param byteLength Number of bytes to read, between 0 and 6.
7676
+ * @param noAssert
7677
+ */
7678
+ readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
7679
+ /**
7680
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
7681
+ * big-endian, two's complement signed value supporting up to 48 bits of accuracy.
7682
+ *
7683
+ * @param offset Number of bytes to skip before starting to read.
7684
+ * @param byteLength Number of bytes to read, between 0 and 6.
7685
+ * @param noAssert
7686
+ */
7687
+ readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
7688
+ /**
7689
+ * Reads an unsigned 8-bit integer from `buf` at the specified `offset`.
7690
+ *
7691
+ * @param offset Number of bytes to skip before starting to read.
7692
+ * @param noAssert
7693
+ */
7694
+ readUInt8(offset: number, noAssert?: boolean): number;
7695
+ /**
7696
+ * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
7697
+ *
7698
+ * @param offset Number of bytes to skip before starting to read.
7699
+ * @param noAssert
7700
+ */
7701
+ readUInt16LE(offset: number, noAssert?: boolean): number;
7702
+ /**
7703
+ * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified `offset`.
7704
+ *
7705
+ * @param offset Number of bytes to skip before starting to read.
7706
+ * @param noAssert
7707
+ */
7708
+ readUInt16BE(offset: number, noAssert?: boolean): number;
7709
+ /**
7710
+ * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified `offset`.
7711
+ *
7712
+ * @param offset Number of bytes to skip before starting to read.
7713
+ * @param noAssert
7714
+ */
7715
+ readUInt32LE(offset: number, noAssert?: boolean): number;
7716
+ /**
7717
+ * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified `offset`.
7718
+ *
7719
+ * @param offset Number of bytes to skip before starting to read.
7720
+ * @param noAssert
7721
+ */
7722
+ readUInt32BE(offset: number, noAssert?: boolean): number;
7723
+ /**
7724
+ * Reads a signed 8-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer` are interpreted
7725
+ * as two's complement signed values.
7726
+ *
7727
+ * @param offset Number of bytes to skip before starting to read.
7728
+ * @param noAssert
7729
+ */
7730
+ readInt8(offset: number, noAssert?: boolean): number;
7731
+ /**
7732
+ * Reads a signed, little-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7733
+ * are interpreted as two's complement signed values.
7734
+ *
7735
+ * @param offset Number of bytes to skip before starting to read.
7736
+ * @param noAssert
7737
+ */
7738
+ readInt16LE(offset: number, noAssert?: boolean): number;
7739
+ /**
7740
+ * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7741
+ * are interpreted as two's complement signed values.
7742
+ *
7743
+ * @param offset Number of bytes to skip before starting to read.
7744
+ * @param noAssert
7745
+ */
7746
+ readInt16BE(offset: number, noAssert?: boolean): number;
7747
+ /**
7748
+ * Reads a signed, little-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7749
+ * are interpreted as two's complement signed values.
7750
+ *
7751
+ * @param offset Number of bytes to skip before starting to read.
7752
+ * @param noAssert
7753
+ */
7754
+ readInt32LE(offset: number, noAssert?: boolean): number;
7755
+ /**
7756
+ * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7757
+ * are interpreted as two's complement signed values.
7758
+ *
7759
+ * @param offset Number of bytes to skip before starting to read.
7760
+ * @param noAssert
7761
+ */
7762
+ readInt32BE(offset: number, noAssert?: boolean): number;
7763
+ /**
7764
+ * Interprets `buf` as an array of unsigned 16-bit integers and swaps the byte order in-place.
7765
+ * Throws a `RangeError` if `buf.length` is not a multiple of 2.
7766
+ */
7767
+ swap16(): Buffer;
7768
+ /**
7769
+ * Interprets `buf` as an array of unsigned 32-bit integers and swaps the byte order in-place.
7770
+ * Throws a `RangeError` if `buf.length` is not a multiple of 4.
7771
+ */
7772
+ swap32(): Buffer;
7773
+ /**
7774
+ * Interprets `buf` as an array of unsigned 64-bit integers and swaps the byte order in-place.
7775
+ * Throws a `RangeError` if `buf.length` is not a multiple of 8.
7776
+ */
7777
+ swap64(): Buffer;
7778
+ /**
7779
+ * Swaps two octets.
7780
+ *
7781
+ * @param b
7782
+ * @param n
7783
+ * @param m
7784
+ */
7785
+ private _swap;
7786
+ /**
7787
+ * Writes `value` to `buf` at the specified `offset`. The `value` must be a valid unsigned 8-bit integer.
7788
+ * Behavior is undefined when `value` is anything other than an unsigned 8-bit integer.
7789
+ *
7790
+ * @param value Number to write.
7791
+ * @param offset Number of bytes to skip before starting to write.
7792
+ * @param noAssert
7793
+ * @returns `offset` plus the number of bytes written.
7794
+ */
7795
+ writeUInt8(value: number, offset: number, noAssert?: boolean): number;
7796
+ /**
7797
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit
7798
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
7799
+ *
7800
+ * @param value Number to write.
7801
+ * @param offset Number of bytes to skip before starting to write.
7802
+ * @param noAssert
7803
+ * @returns `offset` plus the number of bytes written.
7804
+ */
7805
+ writeUInt16LE(value: number | string, offset: number, noAssert?: boolean): number;
7806
+ /**
7807
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit
7808
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
7809
+ *
7810
+ * @param value Number to write.
7811
+ * @param offset Number of bytes to skip before starting to write.
7812
+ * @param noAssert
7813
+ * @returns `offset` plus the number of bytes written.
7814
+ */
7815
+ writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
7816
+ /**
7817
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit
7818
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
7819
+ *
7820
+ * @param value Number to write.
7821
+ * @param offset Number of bytes to skip before starting to write.
7822
+ * @param noAssert
7823
+ * @returns `offset` plus the number of bytes written.
7824
+ */
7825
+ writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
7826
+ /**
7827
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit
7828
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
7829
+ *
7830
+ * @param value Number to write.
7831
+ * @param offset Number of bytes to skip before starting to write.
7832
+ * @param noAssert
7833
+ * @returns `offset` plus the number of bytes written.
7834
+ */
7835
+ writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
7836
+ /**
7837
+ * Writes `value` to `buf` at the specified `offset`. The `value` must be a valid signed 8-bit integer.
7838
+ * Behavior is undefined when `value` is anything other than a signed 8-bit integer.
7839
+ *
7840
+ * @param value Number to write.
7841
+ * @param offset Number of bytes to skip before starting to write.
7842
+ * @param noAssert
7843
+ * @returns `offset` plus the number of bytes written.
7844
+ */
7845
+ writeInt8(value: number, offset: number, noAssert?: boolean): number;
7846
+ /**
7847
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit
7848
+ * integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
7849
+ *
7850
+ * @param value Number to write.
7851
+ * @param offset Number of bytes to skip before starting to write.
7852
+ * @param noAssert
7853
+ * @returns `offset` plus the number of bytes written.
7854
+ */
7855
+ writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
7856
+ /**
7857
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit
7858
+ * integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
7859
+ *
7860
+ * @param value Number to write.
7861
+ * @param offset Number of bytes to skip before starting to write.
7862
+ * @param noAssert
7863
+ * @returns `offset` plus the number of bytes written.
7864
+ */
7865
+ writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
7866
+ /**
7867
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit
7868
+ * integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
7869
+ *
7870
+ * @param value Number to write.
7871
+ * @param offset Number of bytes to skip before starting to write.
7872
+ * @param noAssert
7873
+ * @returns `offset` plus the number of bytes written.
7874
+ */
7875
+ writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
7876
+ /**
7877
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit
7878
+ * integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
7879
+ *
7880
+ * @param value Number to write.
7881
+ * @param offset Number of bytes to skip before starting to write.
7882
+ * @param noAssert
7883
+ * @returns `offset` plus the number of bytes written.
7884
+ */
7885
+ writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
7886
+ /**
7887
+ * Fills `buf` with the specified `value`. If the `offset` and `end` are not given, the entire `buf` will be
7888
+ * filled. The `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or integer. If the resulting
7889
+ * integer is greater than `255` (decimal), then `buf` will be filled with `value & 255`.
7890
+ *
7891
+ * If the final write of a `fill()` operation falls on a multi-byte character, then only the bytes of that
7892
+ * character that fit into `buf` are written.
7893
+ *
7894
+ * If `value` contains invalid characters, it is truncated; if no valid fill data remains, an exception is thrown.
7895
+ *
7896
+ * @param value
7897
+ * @param encoding
7898
+ */
7899
+ fill(value: any, offset?: number, end?: number, encoding?: Encoding): this;
7900
+ /**
7901
+ * Returns the index of the specified value.
7902
+ *
7903
+ * If `value` is:
7904
+ * - a string, `value` is interpreted according to the character encoding in `encoding`.
7905
+ * - a `Buffer` or `Uint8Array`, `value` will be used in its entirety. To compare a partial Buffer, use `slice()`.
7906
+ * - a number, `value` will be interpreted as an unsigned 8-bit integer value between `0` and `255`.
7907
+ *
7908
+ * Any other types will throw a `TypeError`.
7909
+ *
7910
+ * @param value What to search for.
7911
+ * @param byteOffset Where to begin searching in `buf`. If negative, then calculated from the end.
7912
+ * @param encoding If `value` is a string, this is the encoding used to search.
7913
+ * @returns The index of the first occurrence of `value` in `buf`, or `-1` if not found.
7914
+ */
7915
+ indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
7916
+ /**
7917
+ * Gets the last index of the specified value.
7918
+ *
7919
+ * @see indexOf()
7920
+ * @param value
7921
+ * @param byteOffset
7922
+ * @param encoding
7923
+ */
7924
+ lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
7925
+ private _bidirectionalIndexOf;
7926
+ /**
7927
+ * Equivalent to `buf.indexOf() !== -1`.
7928
+ *
7929
+ * @param value
7930
+ * @param byteOffset
7931
+ * @param encoding
7932
+ */
7933
+ includes(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): boolean;
7934
+ /**
7935
+ * Allocates a new Buffer using an `array` of octet values.
7936
+ *
7937
+ * @param array
7938
+ */
7939
+ static from(array: number[]): Buffer;
7940
+ /**
7941
+ * When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
7942
+ * the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
7943
+ * range within the `arrayBuffer` that will be shared by the Buffer.
7944
+ *
7945
+ * @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
7946
+ * @param byteOffset
7947
+ * @param length
7948
+ */
7949
+ static from(buffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
7950
+ /**
7951
+ * Copies the passed `buffer` data onto a new Buffer instance.
7952
+ *
7953
+ * @param buffer
7954
+ */
7955
+ static from(buffer: Buffer | Uint8Array): Buffer;
7956
+ /**
7957
+ * Creates a new Buffer containing the given string `str`. If provided, the `encoding` parameter identifies the
7958
+ * character encoding.
7959
+ *
7960
+ * @param str String to store in buffer.
7961
+ * @param encoding Encoding to use, optional. Default is `utf8`.
7962
+ */
7963
+ static from(str: string, encoding?: Encoding): Buffer;
7964
+ /**
7965
+ * Returns true if `obj` is a Buffer.
7966
+ *
7967
+ * @param obj
7968
+ */
7969
+ static isBuffer(obj: any): obj is Buffer;
7970
+ /**
7971
+ * Returns true if `encoding` is a supported encoding.
7972
+ *
7973
+ * @param encoding
7974
+ */
7975
+ static isEncoding(encoding: string): encoding is Encoding;
7976
+ /**
7977
+ * Gives the actual byte length of a string for an encoding. This is not the same as `string.length` since that
7978
+ * returns the number of characters in the string.
7979
+ *
7980
+ * @param string The string to test.
7981
+ * @param encoding The encoding to use for calculation. Defaults is `utf8`.
7982
+ */
7983
+ static byteLength(string: string | Buffer | ArrayBuffer, encoding?: Encoding): number;
7984
+ /**
7985
+ * Returns a Buffer which is the result of concatenating all the buffers in the list together.
7986
+ *
7987
+ * - If the list has no items, or if the `totalLength` is 0, then it returns a zero-length buffer.
7988
+ * - If the list has exactly one item, then the first item is returned.
7989
+ * - If the list has more than one item, then a new buffer is created.
7990
+ *
7991
+ * It is faster to provide the `totalLength` if it is known. However, it will be calculated if not provided at
7992
+ * a small computational expense.
7993
+ *
7994
+ * @param list An array of Buffer objects to concatenate.
7995
+ * @param totalLength Total length of the buffers when concatenated.
7996
+ */
7997
+ static concat(list: Uint8Array[], totalLength?: number): Buffer;
7998
+ /**
7999
+ * The same as `buf1.compare(buf2)`.
8000
+ */
8001
+ static compare(buf1: Uint8Array, buf2: Uint8Array): number;
8002
+ /**
8003
+ * Allocates a new buffer of `size` octets.
8004
+ *
8005
+ * @param size The number of octets to allocate.
8006
+ * @param fill If specified, the buffer will be initialized by calling `buf.fill(fill)`, or with zeroes otherwise.
8007
+ * @param encoding The encoding used for the call to `buf.fill()` while initializing.
8008
+ */
8009
+ static alloc(size: number, fill?: string | Buffer | number, encoding?: Encoding): Buffer;
8010
+ /**
8011
+ * Allocates a new buffer of `size` octets without initializing memory. The contents of the buffer are unknown.
8012
+ *
8013
+ * @param size
8014
+ */
8015
+ static allocUnsafe(size: number): Buffer;
8016
+ /**
8017
+ * Returns true if the given `obj` is an instance of `type`.
8018
+ *
8019
+ * @param obj
8020
+ * @param type
8021
+ */
8022
+ private static _isInstance;
8023
+ private static _checked;
8024
+ private static _blitBuffer;
8025
+ private static _utf8Write;
8026
+ private static _asciiWrite;
8027
+ private static _base64Write;
8028
+ private static _ucs2Write;
8029
+ private static _hexWrite;
8030
+ private static _utf8ToBytes;
8031
+ private static _base64ToBytes;
8032
+ private static _asciiToBytes;
8033
+ private static _utf16leToBytes;
8034
+ private static _hexSlice;
8035
+ private static _base64Slice;
8036
+ private static _utf8Slice;
8037
+ private static _decodeCodePointsArray;
8038
+ private static _asciiSlice;
8039
+ private static _latin1Slice;
8040
+ private static _utf16leSlice;
8041
+ private static _arrayIndexOf;
8042
+ private static _checkOffset;
8043
+ private static _checkInt;
8044
+ private static _getEncoding;
8045
+ }
8046
+ /**
8047
+ * The encodings that are supported in both native and polyfilled `Buffer` instances.
8048
+ */
8049
+ type Encoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'binary' | 'hex' | 'latin1' | 'base64';
8050
+
7437
8051
  type XataFileEditableFields = Partial<Pick<XataArrayFile, keyof InputFileEntry>>;
7438
8052
  type XataFileFields = Partial<Pick<XataArrayFile, {
7439
8053
  [K in StringKeys<XataArrayFile>]: XataArrayFile[K] extends Function ? never : K;
@@ -9337,7 +9951,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
9337
9951
  } : {
9338
9952
  [K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
9339
9953
  } : never : never;
9340
- type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' ? string : Type extends 'int' | 'float' ? number : Type extends 'bool' ? boolean : Type extends 'datetime' ? Date : Type extends 'multiple' ? string[] : Type extends 'vector' ? number[] : Type extends 'file' ? XataFile : Type extends 'file[]' ? XataArrayFile[] : Type extends 'json' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : never;
9954
+ type InnerType<Type, Tables, LinkedTable> = Type extends 'string' | 'text' | 'email' | 'character' | 'varchar' | 'character varying' | `varchar(${number})` | `character(${number})` ? string : Type extends 'int' | 'float' | 'bigint' | 'int8' | 'integer' | 'int4' | 'smallint' | 'double precision' | 'float8' | 'real' | 'numeric' ? number : Type extends 'bool' | 'boolean' ? boolean : Type extends 'datetime' | 'timestamptz' ? Date : Type extends 'multiple' | 'text[]' ? string[] : Type extends 'vector' | 'real[]' | 'float[]' | 'double precision[]' | 'float8[]' | 'numeric[]' ? number[] : Type extends 'int[]' | 'bigint[]' | 'int8[]' | 'integer[]' | 'int4[]' | 'smallint[]' ? number[] : Type extends 'bool[]' | 'boolean[]' ? boolean[] : Type extends 'file' | 'xata_file' ? XataFile : Type extends 'file[]' | 'xata_file_array' ? XataArrayFile[] : Type extends 'json' | 'jsonb' ? JSONValue<any> : Type extends 'link' ? TableType<Tables, LinkedTable> & XataRecord : string;
9341
9955
 
9342
9956
  /**
9343
9957
  * Operator to restrict results to only values that are greater than the given value.
@@ -9390,11 +10004,11 @@ declare const le: <T extends ComparableType>(value: T) => ComparableTypeFilter<T
9390
10004
  /**
9391
10005
  * Operator to restrict results to only values that are not null.
9392
10006
  */
9393
- declare const exists: <T>(column?: FilterColumns<T> | undefined) => ExistanceFilter<T>;
10007
+ declare const exists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
9394
10008
  /**
9395
10009
  * Operator to restrict results to only values that are null.
9396
10010
  */
9397
- declare const notExists: <T>(column?: FilterColumns<T> | undefined) => ExistanceFilter<T>;
10011
+ declare const notExists: <T>(column?: FilterColumns<T>) => ExistanceFilter<T>;
9398
10012
  /**
9399
10013
  * Operator to restrict results to only values that start with the given prefix.
9400
10014
  */
@@ -9560,7 +10174,15 @@ type SQLQueryResultArray = {
9560
10174
  warning?: string;
9561
10175
  };
9562
10176
  type SQLQueryResult<T, Mode extends SQLResponseType = 'json'> = Mode extends 'json' ? SQLQueryResultJSON<T> : Mode extends 'array' ? SQLQueryResultArray : never;
9563
- type SQLPluginResult = <T, Query extends SQLQuery = SQLQuery>(query: Query, ...parameters: any[]) => Promise<SQLQueryResult<T, Query extends SQLQueryParams<any> ? Query['responseType'] extends SQLResponseType ? NonNullable<Query['responseType']> : 'json' : 'json'>>;
10177
+ type SQLPluginFunction = <T, Query extends SQLQuery = SQLQuery>(query: Query, ...parameters: any[]) => Promise<SQLQueryResult<T, Query extends SQLQueryParams<any> ? Query['responseType'] extends SQLResponseType ? NonNullable<Query['responseType']> : 'json' : 'json'>>;
10178
+ type SQLPluginResult = SQLPluginFunction & {
10179
+ /**
10180
+ * Connection string to use when connecting to the database.
10181
+ * It includes the workspace, region, database and branch.
10182
+ * Connects with the same credentials as the Xata client.
10183
+ */
10184
+ connectionString: string;
10185
+ };
9564
10186
  declare class SQLPlugin extends XataPlugin {
9565
10187
  build(pluginOptions: XataPluginOptions): SQLPluginResult;
9566
10188
  }
@@ -9675,7 +10297,7 @@ type BaseClientOptions = {
9675
10297
  clientName?: string;
9676
10298
  xataAgentExtra?: Record<string, string>;
9677
10299
  };
9678
- declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins | undefined) => ClientConstructor<Plugins>;
10300
+ declare const buildClient: <Plugins extends Record<string, XataPlugin> = {}>(plugins?: Plugins) => ClientConstructor<Plugins>;
9679
10301
  interface ClientConstructor<Plugins extends Record<string, XataPlugin>> {
9680
10302
  new <Schemas extends Record<string, XataRecord> = {}>(options?: Partial<BaseClientOptions>, schemaTables?: readonly BaseSchema[]): Omit<{
9681
10303
  db: Awaited<ReturnType<SchemaPlugin<Schemas>['build']>>;
@@ -9726,4 +10348,4 @@ declare class XataError extends Error {
9726
10348
  constructor(message: string, status: number);
9727
10349
  }
9728
10350
 
9729
- export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, getAPIKey, getAuthorizationCode, getBranch, getBranchDetails, getBranchList, getBranchMetadata, getBranchMigrationHistory, getBranchMigrationJobStatus, getBranchMigrationPlan, getBranchSchemaHistory, getBranchStats, getCluster, getColumn, getDatabaseGithubSettings, getDatabaseList, getDatabaseMetadata, getDatabaseSettings, getDatabaseURL, getFile, getFileItem, getGitBranchesMapping, getHostUrl, getMigrationHistory, getMigrationJobStatus, getMigrationRequest, getMigrationRequestIsMerged, getPreviewBranch, getRecord, getSchema, getTableColumns, getTableSchema, getUser, getUserAPIKeys, getUserOAuthAccessTokens, getUserOAuthClients, getWorkspace, getWorkspaceMembersList, getWorkspaceSettings, getWorkspacesList, grantAuthorizationCode, greaterEquals, greaterThan, greaterThanEquals, gt, gte, iContains, iPattern, includes, includesAll, includesAny, includesNone, insertRecord, insertRecordWithID, inviteWorkspaceMember, is, isCursorPaginationOptions, isHostProviderAlias, isHostProviderBuilder, isIdentifiable, isNot, isValidExpandedColumn, isValidSelectableColumns, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };
10351
+ export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptAllTablesError, type AdaptAllTablesPathParams, type AdaptAllTablesVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, Buffer, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, 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, le, lessEquals, lessThan, lessThanEquals, listClusters, listMigrationRequestsCommits, listRegions, lt, lte, mergeMigrationRequest, notExists, operationsByTag, parseProviderString, parseWorkspacesUrlParts, pattern, previewBranchSchemaEdit, pushBranchMigrations, putFile, putFileItem, queryMigrationRequests, queryTable, removeGitBranchesEntry, removeWorkspaceMember, renameDatabase, resendWorkspaceMemberInvite, resolveBranch, searchBranch, searchTable, serialize, setTableSchema, sqlQuery, startsWith, summarizeTable, transformImage, updateBranchMetadata, updateBranchSchema, updateCluster, updateColumn, updateDatabaseGithubSettings, updateDatabaseMetadata, updateDatabaseSettings, updateMigrationRequest, updateOAuthAccessToken, updateRecordWithID, updateTable, updateUser, updateWorkspace, updateWorkspaceMemberInvite, updateWorkspaceMemberRole, updateWorkspaceSettings, upsertRecordWithID, vectorSearchTable };