@xata.io/client 0.0.0-next.v534362888c93b458fd4536898c3b687b59a5e171 → 0.0.0-next.v54eadc62ebcfec4618df94777d47668348ac5b53

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
@@ -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;
@@ -1979,6 +1979,13 @@ type ClusterMetadata = {
1979
1979
  branches: number;
1980
1980
  configuration: ClusterConfigurationResponse;
1981
1981
  };
1982
+ /**
1983
+ * @x-internal true
1984
+ */
1985
+ type ClusterUpdateMetadata = {
1986
+ id: ClusterID;
1987
+ state: string;
1988
+ };
1982
1989
  /**
1983
1990
  * @x-internal true
1984
1991
  */
@@ -1988,13 +1995,6 @@ type ClusterUpdateDetails = {
1988
1995
  */
1989
1996
  command: string;
1990
1997
  };
1991
- /**
1992
- * @x-internal true
1993
- */
1994
- type ClusterUpdateMetadata = {
1995
- id: ClusterID;
1996
- state: string;
1997
- };
1998
1998
  /**
1999
1999
  * Metadata of databases
2000
2000
  */
@@ -2977,6 +2977,30 @@ type UpdateClusterVariables = {
2977
2977
  * Update cluster for given cluster ID
2978
2978
  */
2979
2979
  declare const updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal) => Promise<ClusterUpdateMetadata>;
2980
+ type DeleteClusterPathParams = {
2981
+ /**
2982
+ * Workspace ID
2983
+ */
2984
+ workspaceId: WorkspaceID;
2985
+ /**
2986
+ * Cluster ID
2987
+ */
2988
+ clusterId: ClusterID;
2989
+ };
2990
+ type DeleteClusterError = ErrorWrapper$1<{
2991
+ status: 400;
2992
+ payload: BadRequestError;
2993
+ } | {
2994
+ status: 401;
2995
+ payload: AuthError;
2996
+ }>;
2997
+ type DeleteClusterVariables = {
2998
+ pathParams: DeleteClusterPathParams;
2999
+ } & ControlPlaneFetcherExtraProps;
3000
+ /**
3001
+ * Delete cluster with given cluster ID
3002
+ */
3003
+ declare const deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal) => Promise<ClusterUpdateMetadata>;
2980
3004
  type GetDatabaseListPathParams = {
2981
3005
  /**
2982
3006
  * Workspace ID
@@ -7070,6 +7094,7 @@ declare const operationsByTag: {
7070
7094
  createCluster: (variables: CreateClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterResponse>;
7071
7095
  getCluster: (variables: GetClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterMetadata>;
7072
7096
  updateCluster: (variables: UpdateClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterUpdateMetadata>;
7097
+ deleteCluster: (variables: DeleteClusterVariables, signal?: AbortSignal | undefined) => Promise<ClusterUpdateMetadata>;
7073
7098
  };
7074
7099
  databases: {
7075
7100
  getDatabaseList: (variables: GetDatabaseListVariables, signal?: AbortSignal | undefined) => Promise<ListDatabasesResponse>;
@@ -7474,6 +7499,580 @@ interface ImageTransformations {
7474
7499
  declare function transformImage(url: string, ...transformations: ImageTransformations[]): string;
7475
7500
  declare function transformImage(url: string | undefined, ...transformations: ImageTransformations[]): string | undefined;
7476
7501
 
7502
+ declare class Buffer extends Uint8Array {
7503
+ /**
7504
+ * Allocates a new buffer containing the given `str`.
7505
+ *
7506
+ * @param str String to store in buffer.
7507
+ * @param encoding Encoding to use, optional. Default is `utf8`.
7508
+ */
7509
+ constructor(str: string, encoding?: Encoding);
7510
+ /**
7511
+ * Allocates a new buffer of `size` octets.
7512
+ *
7513
+ * @param size Count of octets to allocate.
7514
+ */
7515
+ constructor(size: number);
7516
+ /**
7517
+ * Allocates a new buffer containing the given `array` of octets.
7518
+ *
7519
+ * @param array The octets to store.
7520
+ */
7521
+ constructor(array: Uint8Array);
7522
+ /**
7523
+ * Allocates a new buffer containing the given `array` of octet values.
7524
+ *
7525
+ * @param array
7526
+ */
7527
+ constructor(array: number[]);
7528
+ /**
7529
+ * Allocates a new buffer containing the given `array` of octet values.
7530
+ *
7531
+ * @param array
7532
+ * @param encoding
7533
+ */
7534
+ constructor(array: number[], encoding: Encoding);
7535
+ /**
7536
+ * Copies the passed `buffer` data onto a new `Buffer` instance.
7537
+ *
7538
+ * @param buffer
7539
+ */
7540
+ constructor(buffer: Buffer);
7541
+ /**
7542
+ * When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
7543
+ * the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
7544
+ * range within the `arrayBuffer` that will be shared by the Buffer.
7545
+ *
7546
+ * @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
7547
+ * @param byteOffset
7548
+ * @param length
7549
+ */
7550
+ constructor(buffer: ArrayBuffer, byteOffset?: number, length?: number);
7551
+ /**
7552
+ * Return JSON representation of the buffer.
7553
+ */
7554
+ toJSON(): {
7555
+ type: 'Buffer';
7556
+ data: number[];
7557
+ };
7558
+ /**
7559
+ * Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
7560
+ * parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
7561
+ * only part of `string` will be written. However, partially encoded characters will not be written.
7562
+ *
7563
+ * @param string String to write to `buf`.
7564
+ * @param encoding The character encoding of `string`. Default: `utf8`.
7565
+ */
7566
+ write(string: string, encoding?: Encoding): number;
7567
+ /**
7568
+ * Writes `string` to the buffer at `offset` according to the character encoding in `encoding`. The `length`
7569
+ * parameter is the number of bytes to write. If the buffer does not contain enough space to fit the entire string,
7570
+ * only part of `string` will be written. However, partially encoded characters will not be written.
7571
+ *
7572
+ * @param string String to write to `buf`.
7573
+ * @param offset Number of bytes to skip before starting to write `string`. Default: `0`.
7574
+ * @param length Maximum number of bytes to write: Default: `buf.length - offset`.
7575
+ * @param encoding The character encoding of `string`. Default: `utf8`.
7576
+ */
7577
+ write(string: string, offset?: number, length?: number, encoding?: Encoding): number;
7578
+ /**
7579
+ * Decodes the buffer to a string according to the specified character encoding.
7580
+ * Passing `start` and `end` will decode only a subset of the buffer.
7581
+ *
7582
+ * Note that if the encoding is `utf8` and a byte sequence in the input is not valid UTF-8, then each invalid byte
7583
+ * will be replaced with `U+FFFD`.
7584
+ *
7585
+ * @param encoding
7586
+ * @param start
7587
+ * @param end
7588
+ */
7589
+ toString(encoding?: Encoding, start?: number, end?: number): string;
7590
+ /**
7591
+ * Returns true if this buffer's is equal to the provided buffer, meaning they share the same exact data.
7592
+ *
7593
+ * @param otherBuffer
7594
+ */
7595
+ equals(otherBuffer: Buffer): boolean;
7596
+ /**
7597
+ * Compares the buffer with `otherBuffer` and returns a number indicating whether the buffer comes before, after,
7598
+ * or is the same as `otherBuffer` in sort order. Comparison is based on the actual sequence of bytes in each
7599
+ * buffer.
7600
+ *
7601
+ * - `0` is returned if `otherBuffer` is the same as this buffer.
7602
+ * - `1` is returned if `otherBuffer` should come before this buffer when sorted.
7603
+ * - `-1` is returned if `otherBuffer` should come after this buffer when sorted.
7604
+ *
7605
+ * @param otherBuffer The buffer to compare to.
7606
+ * @param targetStart The offset within `otherBuffer` at which to begin comparison.
7607
+ * @param targetEnd The offset within `otherBuffer` at which to end comparison (exclusive).
7608
+ * @param sourceStart The offset within this buffer at which to begin comparison.
7609
+ * @param sourceEnd The offset within this buffer at which to end the comparison (exclusive).
7610
+ */
7611
+ compare(otherBuffer: Uint8Array, targetStart?: number, targetEnd?: number, sourceStart?: number, sourceEnd?: number): number;
7612
+ /**
7613
+ * Copies data from a region of this buffer to a region in `targetBuffer`, even if the `targetBuffer` memory
7614
+ * region overlaps with this buffer.
7615
+ *
7616
+ * @param targetBuffer The target buffer to copy into.
7617
+ * @param targetStart The offset within `targetBuffer` at which to begin writing.
7618
+ * @param sourceStart The offset within this buffer at which to begin copying.
7619
+ * @param sourceEnd The offset within this buffer at which to end copying (exclusive).
7620
+ */
7621
+ copy(targetBuffer: Uint8Array, targetStart?: number, sourceStart?: number, sourceEnd?: number): number;
7622
+ /**
7623
+ * Returns a new `Buffer` that references the same memory as the original, but offset and cropped by the `start`
7624
+ * and `end` indices. This is the same behavior as `buf.subarray()`.
7625
+ *
7626
+ * This method is not compatible with the `Uint8Array.prototype.slice()`, which is a superclass of Buffer. To copy
7627
+ * the slice, use `Uint8Array.prototype.slice()`.
7628
+ *
7629
+ * @param start
7630
+ * @param end
7631
+ */
7632
+ slice(start?: number, end?: number): Buffer;
7633
+ /**
7634
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
7635
+ * of accuracy. Behavior is undefined when value is anything other than an unsigned integer.
7636
+ *
7637
+ * @param value Number to write.
7638
+ * @param offset Number of bytes to skip before starting to write.
7639
+ * @param byteLength Number of bytes to write, between 0 and 6.
7640
+ * @param noAssert
7641
+ * @returns `offset` plus the number of bytes written.
7642
+ */
7643
+ writeUIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7644
+ /**
7645
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits of
7646
+ * accuracy. Behavior is undefined when `value` is anything other than an unsigned integer.
7647
+ *
7648
+ * @param value Number to write.
7649
+ * @param offset Number of bytes to skip before starting to write.
7650
+ * @param byteLength Number of bytes to write, between 0 and 6.
7651
+ * @param noAssert
7652
+ * @returns `offset` plus the number of bytes written.
7653
+ */
7654
+ writeUIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7655
+ /**
7656
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as little-endian. Supports up to 48 bits
7657
+ * of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
7658
+ *
7659
+ * @param value Number to write.
7660
+ * @param offset Number of bytes to skip before starting to write.
7661
+ * @param byteLength Number of bytes to write, between 0 and 6.
7662
+ * @param noAssert
7663
+ * @returns `offset` plus the number of bytes written.
7664
+ */
7665
+ writeIntLE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7666
+ /**
7667
+ * Writes `byteLength` bytes of `value` to `buf` at the specified `offset` as big-endian. Supports up to 48 bits
7668
+ * of accuracy. Behavior is undefined when `value` is anything other than a signed integer.
7669
+ *
7670
+ * @param value Number to write.
7671
+ * @param offset Number of bytes to skip before starting to write.
7672
+ * @param byteLength Number of bytes to write, between 0 and 6.
7673
+ * @param noAssert
7674
+ * @returns `offset` plus the number of bytes written.
7675
+ */
7676
+ writeIntBE(value: number, offset: number, byteLength: number, noAssert?: boolean): number;
7677
+ /**
7678
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
7679
+ * unsigned, little-endian integer supporting up to 48 bits of accuracy.
7680
+ *
7681
+ * @param offset Number of bytes to skip before starting to read.
7682
+ * @param byteLength Number of bytes to read, between 0 and 6.
7683
+ * @param noAssert
7684
+ */
7685
+ readUIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
7686
+ /**
7687
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as an
7688
+ * unsigned, big-endian integer supporting up to 48 bits of accuracy.
7689
+ *
7690
+ * @param offset Number of bytes to skip before starting to read.
7691
+ * @param byteLength Number of bytes to read, between 0 and 6.
7692
+ * @param noAssert
7693
+ */
7694
+ readUIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
7695
+ /**
7696
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
7697
+ * little-endian, two's complement signed value supporting up to 48 bits of accuracy.
7698
+ *
7699
+ * @param offset Number of bytes to skip before starting to read.
7700
+ * @param byteLength Number of bytes to read, between 0 and 6.
7701
+ * @param noAssert
7702
+ */
7703
+ readIntLE(offset: number, byteLength: number, noAssert?: boolean): number;
7704
+ /**
7705
+ * Reads `byteLength` number of bytes from `buf` at the specified `offset` and interprets the result as a
7706
+ * big-endian, two's complement signed value supporting up to 48 bits of accuracy.
7707
+ *
7708
+ * @param offset Number of bytes to skip before starting to read.
7709
+ * @param byteLength Number of bytes to read, between 0 and 6.
7710
+ * @param noAssert
7711
+ */
7712
+ readIntBE(offset: number, byteLength: number, noAssert?: boolean): number;
7713
+ /**
7714
+ * Reads an unsigned 8-bit integer from `buf` at the specified `offset`.
7715
+ *
7716
+ * @param offset Number of bytes to skip before starting to read.
7717
+ * @param noAssert
7718
+ */
7719
+ readUInt8(offset: number, noAssert?: boolean): number;
7720
+ /**
7721
+ * Reads an unsigned, little-endian 16-bit integer from `buf` at the specified `offset`.
7722
+ *
7723
+ * @param offset Number of bytes to skip before starting to read.
7724
+ * @param noAssert
7725
+ */
7726
+ readUInt16LE(offset: number, noAssert?: boolean): number;
7727
+ /**
7728
+ * Reads an unsigned, big-endian 16-bit integer from `buf` at the specified `offset`.
7729
+ *
7730
+ * @param offset Number of bytes to skip before starting to read.
7731
+ * @param noAssert
7732
+ */
7733
+ readUInt16BE(offset: number, noAssert?: boolean): number;
7734
+ /**
7735
+ * Reads an unsigned, little-endian 32-bit integer from `buf` at the specified `offset`.
7736
+ *
7737
+ * @param offset Number of bytes to skip before starting to read.
7738
+ * @param noAssert
7739
+ */
7740
+ readUInt32LE(offset: number, noAssert?: boolean): number;
7741
+ /**
7742
+ * Reads an unsigned, big-endian 32-bit integer from `buf` at the specified `offset`.
7743
+ *
7744
+ * @param offset Number of bytes to skip before starting to read.
7745
+ * @param noAssert
7746
+ */
7747
+ readUInt32BE(offset: number, noAssert?: boolean): number;
7748
+ /**
7749
+ * Reads a signed 8-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer` are interpreted
7750
+ * as two's complement signed values.
7751
+ *
7752
+ * @param offset Number of bytes to skip before starting to read.
7753
+ * @param noAssert
7754
+ */
7755
+ readInt8(offset: number, noAssert?: boolean): number;
7756
+ /**
7757
+ * Reads a signed, little-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7758
+ * are interpreted as two's complement signed values.
7759
+ *
7760
+ * @param offset Number of bytes to skip before starting to read.
7761
+ * @param noAssert
7762
+ */
7763
+ readInt16LE(offset: number, noAssert?: boolean): number;
7764
+ /**
7765
+ * Reads a signed, big-endian 16-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7766
+ * are interpreted as two's complement signed values.
7767
+ *
7768
+ * @param offset Number of bytes to skip before starting to read.
7769
+ * @param noAssert
7770
+ */
7771
+ readInt16BE(offset: number, noAssert?: boolean): number;
7772
+ /**
7773
+ * Reads a signed, little-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7774
+ * are interpreted as two's complement signed values.
7775
+ *
7776
+ * @param offset Number of bytes to skip before starting to read.
7777
+ * @param noAssert
7778
+ */
7779
+ readInt32LE(offset: number, noAssert?: boolean): number;
7780
+ /**
7781
+ * Reads a signed, big-endian 32-bit integer from `buf` at the specified `offset`. Integers read from a `Buffer`
7782
+ * are interpreted as two's complement signed values.
7783
+ *
7784
+ * @param offset Number of bytes to skip before starting to read.
7785
+ * @param noAssert
7786
+ */
7787
+ readInt32BE(offset: number, noAssert?: boolean): number;
7788
+ /**
7789
+ * Interprets `buf` as an array of unsigned 16-bit integers and swaps the byte order in-place.
7790
+ * Throws a `RangeError` if `buf.length` is not a multiple of 2.
7791
+ */
7792
+ swap16(): Buffer;
7793
+ /**
7794
+ * Interprets `buf` as an array of unsigned 32-bit integers and swaps the byte order in-place.
7795
+ * Throws a `RangeError` if `buf.length` is not a multiple of 4.
7796
+ */
7797
+ swap32(): Buffer;
7798
+ /**
7799
+ * Interprets `buf` as an array of unsigned 64-bit integers and swaps the byte order in-place.
7800
+ * Throws a `RangeError` if `buf.length` is not a multiple of 8.
7801
+ */
7802
+ swap64(): Buffer;
7803
+ /**
7804
+ * Swaps two octets.
7805
+ *
7806
+ * @param b
7807
+ * @param n
7808
+ * @param m
7809
+ */
7810
+ private _swap;
7811
+ /**
7812
+ * Writes `value` to `buf` at the specified `offset`. The `value` must be a valid unsigned 8-bit integer.
7813
+ * Behavior is undefined when `value` is anything other than an unsigned 8-bit integer.
7814
+ *
7815
+ * @param value Number to write.
7816
+ * @param offset Number of bytes to skip before starting to write.
7817
+ * @param noAssert
7818
+ * @returns `offset` plus the number of bytes written.
7819
+ */
7820
+ writeUInt8(value: number, offset: number, noAssert?: boolean): number;
7821
+ /**
7822
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 16-bit
7823
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
7824
+ *
7825
+ * @param value Number to write.
7826
+ * @param offset Number of bytes to skip before starting to write.
7827
+ * @param noAssert
7828
+ * @returns `offset` plus the number of bytes written.
7829
+ */
7830
+ writeUInt16LE(value: number | string, offset: number, noAssert?: boolean): number;
7831
+ /**
7832
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 16-bit
7833
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 16-bit integer.
7834
+ *
7835
+ * @param value Number to write.
7836
+ * @param offset Number of bytes to skip before starting to write.
7837
+ * @param noAssert
7838
+ * @returns `offset` plus the number of bytes written.
7839
+ */
7840
+ writeUInt16BE(value: number, offset: number, noAssert?: boolean): number;
7841
+ /**
7842
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid unsigned 32-bit
7843
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
7844
+ *
7845
+ * @param value Number to write.
7846
+ * @param offset Number of bytes to skip before starting to write.
7847
+ * @param noAssert
7848
+ * @returns `offset` plus the number of bytes written.
7849
+ */
7850
+ writeUInt32LE(value: number, offset: number, noAssert?: boolean): number;
7851
+ /**
7852
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid unsigned 32-bit
7853
+ * integer. Behavior is undefined when `value` is anything other than an unsigned 32-bit integer.
7854
+ *
7855
+ * @param value Number to write.
7856
+ * @param offset Number of bytes to skip before starting to write.
7857
+ * @param noAssert
7858
+ * @returns `offset` plus the number of bytes written.
7859
+ */
7860
+ writeUInt32BE(value: number, offset: number, noAssert?: boolean): number;
7861
+ /**
7862
+ * Writes `value` to `buf` at the specified `offset`. The `value` must be a valid signed 8-bit integer.
7863
+ * Behavior is undefined when `value` is anything other than a signed 8-bit integer.
7864
+ *
7865
+ * @param value Number to write.
7866
+ * @param offset Number of bytes to skip before starting to write.
7867
+ * @param noAssert
7868
+ * @returns `offset` plus the number of bytes written.
7869
+ */
7870
+ writeInt8(value: number, offset: number, noAssert?: boolean): number;
7871
+ /**
7872
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 16-bit
7873
+ * integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
7874
+ *
7875
+ * @param value Number to write.
7876
+ * @param offset Number of bytes to skip before starting to write.
7877
+ * @param noAssert
7878
+ * @returns `offset` plus the number of bytes written.
7879
+ */
7880
+ writeInt16LE(value: number, offset: number, noAssert?: boolean): number;
7881
+ /**
7882
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 16-bit
7883
+ * integer. Behavior is undefined when `value` is anything other than a signed 16-bit integer.
7884
+ *
7885
+ * @param value Number to write.
7886
+ * @param offset Number of bytes to skip before starting to write.
7887
+ * @param noAssert
7888
+ * @returns `offset` plus the number of bytes written.
7889
+ */
7890
+ writeInt16BE(value: number, offset: number, noAssert?: boolean): number;
7891
+ /**
7892
+ * Writes `value` to `buf` at the specified `offset` as little-endian. The `value` must be a valid signed 32-bit
7893
+ * integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
7894
+ *
7895
+ * @param value Number to write.
7896
+ * @param offset Number of bytes to skip before starting to write.
7897
+ * @param noAssert
7898
+ * @returns `offset` plus the number of bytes written.
7899
+ */
7900
+ writeInt32LE(value: number, offset: number, noAssert?: boolean): number;
7901
+ /**
7902
+ * Writes `value` to `buf` at the specified `offset` as big-endian. The `value` must be a valid signed 32-bit
7903
+ * integer. Behavior is undefined when `value` is anything other than a signed 32-bit integer.
7904
+ *
7905
+ * @param value Number to write.
7906
+ * @param offset Number of bytes to skip before starting to write.
7907
+ * @param noAssert
7908
+ * @returns `offset` plus the number of bytes written.
7909
+ */
7910
+ writeInt32BE(value: number, offset: number, noAssert?: boolean): number;
7911
+ /**
7912
+ * Fills `buf` with the specified `value`. If the `offset` and `end` are not given, the entire `buf` will be
7913
+ * filled. The `value` is coerced to a `uint32` value if it is not a string, `Buffer`, or integer. If the resulting
7914
+ * integer is greater than `255` (decimal), then `buf` will be filled with `value & 255`.
7915
+ *
7916
+ * If the final write of a `fill()` operation falls on a multi-byte character, then only the bytes of that
7917
+ * character that fit into `buf` are written.
7918
+ *
7919
+ * If `value` contains invalid characters, it is truncated; if no valid fill data remains, an exception is thrown.
7920
+ *
7921
+ * @param value
7922
+ * @param encoding
7923
+ */
7924
+ fill(value: any, offset?: number, end?: number, encoding?: Encoding): this;
7925
+ /**
7926
+ * Returns the index of the specified value.
7927
+ *
7928
+ * If `value` is:
7929
+ * - a string, `value` is interpreted according to the character encoding in `encoding`.
7930
+ * - a `Buffer` or `Uint8Array`, `value` will be used in its entirety. To compare a partial Buffer, use `slice()`.
7931
+ * - a number, `value` will be interpreted as an unsigned 8-bit integer value between `0` and `255`.
7932
+ *
7933
+ * Any other types will throw a `TypeError`.
7934
+ *
7935
+ * @param value What to search for.
7936
+ * @param byteOffset Where to begin searching in `buf`. If negative, then calculated from the end.
7937
+ * @param encoding If `value` is a string, this is the encoding used to search.
7938
+ * @returns The index of the first occurrence of `value` in `buf`, or `-1` if not found.
7939
+ */
7940
+ indexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
7941
+ /**
7942
+ * Gets the last index of the specified value.
7943
+ *
7944
+ * @see indexOf()
7945
+ * @param value
7946
+ * @param byteOffset
7947
+ * @param encoding
7948
+ */
7949
+ lastIndexOf(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): number;
7950
+ private _bidirectionalIndexOf;
7951
+ /**
7952
+ * Equivalent to `buf.indexOf() !== -1`.
7953
+ *
7954
+ * @param value
7955
+ * @param byteOffset
7956
+ * @param encoding
7957
+ */
7958
+ includes(value: string | number | Buffer, byteOffset?: number, encoding?: Encoding): boolean;
7959
+ /**
7960
+ * Allocates a new Buffer using an `array` of octet values.
7961
+ *
7962
+ * @param array
7963
+ */
7964
+ static from(array: number[]): Buffer;
7965
+ /**
7966
+ * When passed a reference to the .buffer property of a TypedArray instance, the newly created Buffer will share
7967
+ * the same allocated memory as the TypedArray. The optional `byteOffset` and `length` arguments specify a memory
7968
+ * range within the `arrayBuffer` that will be shared by the Buffer.
7969
+ *
7970
+ * @param buffer The .buffer property of a TypedArray or a new ArrayBuffer().
7971
+ * @param byteOffset
7972
+ * @param length
7973
+ */
7974
+ static from(buffer: ArrayBuffer, byteOffset?: number, length?: number): Buffer;
7975
+ /**
7976
+ * Copies the passed `buffer` data onto a new Buffer instance.
7977
+ *
7978
+ * @param buffer
7979
+ */
7980
+ static from(buffer: Buffer | Uint8Array): Buffer;
7981
+ /**
7982
+ * Creates a new Buffer containing the given string `str`. If provided, the `encoding` parameter identifies the
7983
+ * character encoding.
7984
+ *
7985
+ * @param str String to store in buffer.
7986
+ * @param encoding Encoding to use, optional. Default is `utf8`.
7987
+ */
7988
+ static from(str: string, encoding?: Encoding): Buffer;
7989
+ /**
7990
+ * Returns true if `obj` is a Buffer.
7991
+ *
7992
+ * @param obj
7993
+ */
7994
+ static isBuffer(obj: any): obj is Buffer;
7995
+ /**
7996
+ * Returns true if `encoding` is a supported encoding.
7997
+ *
7998
+ * @param encoding
7999
+ */
8000
+ static isEncoding(encoding: string): encoding is Encoding;
8001
+ /**
8002
+ * Gives the actual byte length of a string for an encoding. This is not the same as `string.length` since that
8003
+ * returns the number of characters in the string.
8004
+ *
8005
+ * @param string The string to test.
8006
+ * @param encoding The encoding to use for calculation. Defaults is `utf8`.
8007
+ */
8008
+ static byteLength(string: string | Buffer | ArrayBuffer, encoding?: Encoding): number;
8009
+ /**
8010
+ * Returns a Buffer which is the result of concatenating all the buffers in the list together.
8011
+ *
8012
+ * - If the list has no items, or if the `totalLength` is 0, then it returns a zero-length buffer.
8013
+ * - If the list has exactly one item, then the first item is returned.
8014
+ * - If the list has more than one item, then a new buffer is created.
8015
+ *
8016
+ * It is faster to provide the `totalLength` if it is known. However, it will be calculated if not provided at
8017
+ * a small computational expense.
8018
+ *
8019
+ * @param list An array of Buffer objects to concatenate.
8020
+ * @param totalLength Total length of the buffers when concatenated.
8021
+ */
8022
+ static concat(list: Uint8Array[], totalLength?: number): Buffer;
8023
+ /**
8024
+ * The same as `buf1.compare(buf2)`.
8025
+ */
8026
+ static compare(buf1: Uint8Array, buf2: Uint8Array): number;
8027
+ /**
8028
+ * Allocates a new buffer of `size` octets.
8029
+ *
8030
+ * @param size The number of octets to allocate.
8031
+ * @param fill If specified, the buffer will be initialized by calling `buf.fill(fill)`, or with zeroes otherwise.
8032
+ * @param encoding The encoding used for the call to `buf.fill()` while initializing.
8033
+ */
8034
+ static alloc(size: number, fill?: string | Buffer | number, encoding?: Encoding): Buffer;
8035
+ /**
8036
+ * Allocates a new buffer of `size` octets without initializing memory. The contents of the buffer are unknown.
8037
+ *
8038
+ * @param size
8039
+ */
8040
+ static allocUnsafe(size: number): Buffer;
8041
+ /**
8042
+ * Returns true if the given `obj` is an instance of `type`.
8043
+ *
8044
+ * @param obj
8045
+ * @param type
8046
+ */
8047
+ private static _isInstance;
8048
+ private static _checked;
8049
+ private static _blitBuffer;
8050
+ private static _utf8Write;
8051
+ private static _asciiWrite;
8052
+ private static _base64Write;
8053
+ private static _ucs2Write;
8054
+ private static _hexWrite;
8055
+ private static _utf8ToBytes;
8056
+ private static _base64ToBytes;
8057
+ private static _asciiToBytes;
8058
+ private static _utf16leToBytes;
8059
+ private static _hexSlice;
8060
+ private static _base64Slice;
8061
+ private static _utf8Slice;
8062
+ private static _decodeCodePointsArray;
8063
+ private static _asciiSlice;
8064
+ private static _latin1Slice;
8065
+ private static _utf16leSlice;
8066
+ private static _arrayIndexOf;
8067
+ private static _checkOffset;
8068
+ private static _checkInt;
8069
+ private static _getEncoding;
8070
+ }
8071
+ /**
8072
+ * The encodings that are supported in both native and polyfilled `Buffer` instances.
8073
+ */
8074
+ type Encoding = 'ascii' | 'utf8' | 'utf16le' | 'ucs2' | 'binary' | 'hex' | 'latin1' | 'base64';
8075
+
7477
8076
  type XataFileEditableFields = Partial<Pick<XataArrayFile, keyof InputFileEntry>>;
7478
8077
  type XataFileFields = Partial<Pick<XataArrayFile, {
7479
8078
  [K in StringKeys<XataArrayFile>]: XataArrayFile[K] extends Function ? never : K;
@@ -9377,7 +9976,7 @@ type PropertyType<Tables, Properties, PropertyName extends PropertyKey> = Proper
9377
9976
  } : {
9378
9977
  [K in PropertyName]?: InnerType<Type, Tables, LinkedTable> | null;
9379
9978
  } : never : never;
9380
- 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;
9979
+ 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;
9381
9980
 
9382
9981
  /**
9383
9982
  * Operator to restrict results to only values that are greater than the given value.
@@ -9774,4 +10373,4 @@ declare class XataError extends Error {
9774
10373
  constructor(message: string, status: number);
9775
10374
  }
9776
10375
 
9777
- 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, 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 };
10376
+ export { type AcceptWorkspaceMemberInviteError, type AcceptWorkspaceMemberInvitePathParams, type AcceptWorkspaceMemberInviteVariables, type AdaptAllTablesError, type AdaptAllTablesPathParams, type AdaptAllTablesVariables, type AdaptTableError, type AdaptTablePathParams, type AdaptTableVariables, type AddGitBranchesEntryError, type AddGitBranchesEntryPathParams, type AddGitBranchesEntryRequestBody, type AddGitBranchesEntryResponse, type AddGitBranchesEntryVariables, type AddTableColumnError, type AddTableColumnPathParams, type AddTableColumnVariables, type AggregateTableError, type AggregateTablePathParams, type AggregateTableRequestBody, type AggregateTableVariables, type ApiExtraProps, type ApplyBranchSchemaEditError, type ApplyBranchSchemaEditPathParams, type ApplyBranchSchemaEditRequestBody, type ApplyBranchSchemaEditVariables, type ApplyMigrationError, type ApplyMigrationPathParams, type ApplyMigrationRequestBody, type ApplyMigrationVariables, type AskOptions, type AskResult, type AskTableError, type AskTablePathParams, type AskTableRequestBody, type AskTableResponse, type AskTableSessionError, type AskTableSessionPathParams, type AskTableSessionRequestBody, type AskTableSessionResponse, type AskTableSessionVariables, type AskTableVariables, BaseClient, type BaseClientOptions, type BaseData, type BaseSchema, type BinaryFile, type BranchTransactionError, type BranchTransactionPathParams, type BranchTransactionRequestBody, type BranchTransactionVariables, Buffer, type BulkInsertTableRecordsError, type BulkInsertTableRecordsPathParams, type BulkInsertTableRecordsQueryParams, type BulkInsertTableRecordsRequestBody, type BulkInsertTableRecordsVariables, type CancelWorkspaceMemberInviteError, type CancelWorkspaceMemberInvitePathParams, type CancelWorkspaceMemberInviteVariables, type ClientConstructor, type ColumnsByValue, type CompareBranchSchemasError, type CompareBranchSchemasPathParams, type CompareBranchSchemasRequestBody, type CompareBranchSchemasVariables, type CompareBranchWithUserSchemaError, type CompareBranchWithUserSchemaPathParams, type CompareBranchWithUserSchemaRequestBody, type CompareBranchWithUserSchemaVariables, type CompareMigrationRequestError, type CompareMigrationRequestPathParams, type CompareMigrationRequestVariables, type CopyBranchError, type CopyBranchPathParams, type CopyBranchRequestBody, type CopyBranchVariables, type CreateBranchError, type CreateBranchPathParams, type CreateBranchQueryParams, type CreateBranchRequestBody, type CreateBranchResponse, type CreateBranchVariables, type CreateClusterError, type CreateClusterPathParams, type CreateClusterVariables, type CreateDatabaseError, type CreateDatabasePathParams, type CreateDatabaseRequestBody, type CreateDatabaseResponse, type CreateDatabaseVariables, type CreateMigrationRequestError, type CreateMigrationRequestPathParams, type CreateMigrationRequestRequestBody, type CreateMigrationRequestResponse, type CreateMigrationRequestVariables, type CreateTableError, type CreateTablePathParams, type CreateTableResponse, type CreateTableVariables, type CreateUserAPIKeyError, type CreateUserAPIKeyPathParams, type CreateUserAPIKeyResponse, type CreateUserAPIKeyVariables, type CreateWorkspaceError, type CreateWorkspaceVariables, type CursorNavigationOptions, type DeleteBranchError, type DeleteBranchPathParams, type DeleteBranchResponse, type DeleteBranchVariables, type DeleteClusterError, type DeleteClusterPathParams, type DeleteClusterVariables, type DeleteColumnError, type DeleteColumnPathParams, type DeleteColumnVariables, type DeleteDatabaseError, type DeleteDatabaseGithubSettingsError, type DeleteDatabaseGithubSettingsPathParams, type DeleteDatabaseGithubSettingsVariables, type DeleteDatabasePathParams, type DeleteDatabaseResponse, type DeleteDatabaseVariables, type DeleteFileError, type DeleteFileItemError, type DeleteFileItemPathParams, type DeleteFileItemVariables, type DeleteFilePathParams, type DeleteFileVariables, type DeleteOAuthAccessTokenError, type DeleteOAuthAccessTokenPathParams, type DeleteOAuthAccessTokenVariables, type DeleteRecordError, type DeleteRecordPathParams, type DeleteRecordQueryParams, type DeleteRecordVariables, type DeleteTableError, type DeleteTablePathParams, type DeleteTableResponse, type DeleteTableVariables, type DeleteTransactionOperation, type DeleteUserAPIKeyError, type DeleteUserAPIKeyPathParams, type DeleteUserAPIKeyVariables, type DeleteUserError, type DeleteUserOAuthClientError, type DeleteUserOAuthClientPathParams, type DeleteUserOAuthClientVariables, type DeleteUserVariables, type DeleteWorkspaceError, type DeleteWorkspacePathParams, type DeleteWorkspaceVariables, type DeserializedType, type DownloadDestination, type EditableData, type ExecuteBranchMigrationPlanError, type ExecuteBranchMigrationPlanPathParams, type ExecuteBranchMigrationPlanRequestBody, type ExecuteBranchMigrationPlanVariables, type FetchImpl, FetcherError, type FetcherExtraProps, type FileAccessError, type FileAccessPathParams, type FileAccessQueryParams, type FileAccessVariables, type FileUploadError, type FileUploadPathParams, type FileUploadQueryParams, type FileUploadVariables, FilesPlugin, type FilesPluginResult, type GetAuthorizationCodeError, type GetAuthorizationCodeQueryParams, type GetAuthorizationCodeVariables, type GetBranchDetailsError, type GetBranchDetailsPathParams, type GetBranchDetailsVariables, type GetBranchListError, type GetBranchListPathParams, type GetBranchListVariables, type GetBranchMetadataError, type GetBranchMetadataPathParams, type GetBranchMetadataVariables, type GetBranchMigrationHistoryError, type GetBranchMigrationHistoryPathParams, type GetBranchMigrationHistoryRequestBody, type GetBranchMigrationHistoryResponse, type GetBranchMigrationHistoryVariables, type GetBranchMigrationJobStatusError, type GetBranchMigrationJobStatusPathParams, type GetBranchMigrationJobStatusVariables, type GetBranchMigrationPlanError, type GetBranchMigrationPlanPathParams, type GetBranchMigrationPlanVariables, type GetBranchSchemaHistoryError, type GetBranchSchemaHistoryPathParams, type GetBranchSchemaHistoryRequestBody, type GetBranchSchemaHistoryResponse, type GetBranchSchemaHistoryVariables, type GetBranchStatsError, type GetBranchStatsPathParams, type GetBranchStatsResponse, type GetBranchStatsVariables, type GetClusterError, type GetClusterPathParams, type GetClusterVariables, type GetColumnError, type GetColumnPathParams, type GetColumnVariables, type GetDatabaseGithubSettingsError, type GetDatabaseGithubSettingsPathParams, type GetDatabaseGithubSettingsVariables, type GetDatabaseListError, type GetDatabaseListPathParams, type GetDatabaseListVariables, type GetDatabaseMetadataError, type GetDatabaseMetadataPathParams, type GetDatabaseMetadataVariables, type GetDatabaseSettingsError, type GetDatabaseSettingsPathParams, type GetDatabaseSettingsVariables, type GetFileError, type GetFileItemError, type GetFileItemPathParams, type GetFileItemVariables, type GetFilePathParams, type GetFileVariables, type GetGitBranchesMappingError, type GetGitBranchesMappingPathParams, type GetGitBranchesMappingVariables, type GetMigrationHistoryError, type GetMigrationHistoryPathParams, type GetMigrationHistoryVariables, type GetMigrationJobStatusError, type GetMigrationJobStatusPathParams, type GetMigrationJobStatusVariables, type GetMigrationRequestError, type GetMigrationRequestIsMergedError, type GetMigrationRequestIsMergedPathParams, type GetMigrationRequestIsMergedResponse, type GetMigrationRequestIsMergedVariables, type GetMigrationRequestPathParams, type GetMigrationRequestVariables, type GetRecordError, type GetRecordPathParams, type GetRecordQueryParams, type GetRecordVariables, type GetSchemaError, type GetSchemaPathParams, type GetSchemaResponse, type GetSchemaVariables, type GetTableColumnsError, type GetTableColumnsPathParams, type GetTableColumnsResponse, type GetTableColumnsVariables, type GetTableSchemaError, type GetTableSchemaPathParams, type GetTableSchemaResponse, type GetTableSchemaVariables, type GetTransactionOperation, type GetUserAPIKeysError, type GetUserAPIKeysResponse, type GetUserAPIKeysVariables, type GetUserError, type GetUserOAuthAccessTokensError, type GetUserOAuthAccessTokensResponse, type GetUserOAuthAccessTokensVariables, type GetUserOAuthClientsError, type GetUserOAuthClientsResponse, type GetUserOAuthClientsVariables, type GetUserVariables, type GetWorkspaceError, type GetWorkspaceMembersListError, type GetWorkspaceMembersListPathParams, type GetWorkspaceMembersListVariables, type GetWorkspacePathParams, type GetWorkspaceSettingsError, type GetWorkspaceSettingsPathParams, type GetWorkspaceSettingsVariables, type GetWorkspaceVariables, type GetWorkspacesListError, type GetWorkspacesListResponse, type GetWorkspacesListVariables, type GrantAuthorizationCodeError, type GrantAuthorizationCodeVariables, type HostProvider, type Identifiable, type ImageTransformations, type InsertRecordError, type InsertRecordPathParams, type InsertRecordQueryParams, type InsertRecordVariables, type InsertRecordWithIDError, type InsertRecordWithIDPathParams, type InsertRecordWithIDQueryParams, type InsertRecordWithIDVariables, type InsertTransactionOperation, type InviteWorkspaceMemberError, type InviteWorkspaceMemberPathParams, type InviteWorkspaceMemberRequestBody, type InviteWorkspaceMemberVariables, type JSONData, type KeywordAskOptions, type Link, type ListClustersError, type ListClustersPathParams, type ListClustersQueryParams, type ListClustersVariables, type ListMigrationRequestsCommitsError, type ListMigrationRequestsCommitsPathParams, type ListMigrationRequestsCommitsRequestBody, type ListMigrationRequestsCommitsResponse, type ListMigrationRequestsCommitsVariables, type ListRegionsError, type ListRegionsPathParams, type ListRegionsVariables, type MergeMigrationRequestError, type MergeMigrationRequestPathParams, type MergeMigrationRequestVariables, type OffsetNavigationOptions, operationsByTag as Operations, PAGINATION_DEFAULT_OFFSET, PAGINATION_DEFAULT_SIZE, PAGINATION_MAX_OFFSET, PAGINATION_MAX_SIZE, Page, PageRecordArray, type Paginable, type PaginationQueryMeta, type PreviewBranchSchemaEditError, type PreviewBranchSchemaEditPathParams, type PreviewBranchSchemaEditRequestBody, type PreviewBranchSchemaEditResponse, type PreviewBranchSchemaEditVariables, type PushBranchMigrationsError, type PushBranchMigrationsPathParams, type PushBranchMigrationsRequestBody, type PushBranchMigrationsVariables, type PutFileError, type PutFileItemError, type PutFileItemPathParams, type PutFileItemVariables, type PutFilePathParams, type PutFileVariables, Query, type QueryMigrationRequestsError, type QueryMigrationRequestsPathParams, type QueryMigrationRequestsRequestBody, type QueryMigrationRequestsResponse, type QueryMigrationRequestsVariables, type QueryTableError, type QueryTablePathParams, type QueryTableRequestBody, type QueryTableVariables, RecordArray, RecordColumnTypes, type RemoveGitBranchesEntryError, type RemoveGitBranchesEntryPathParams, type RemoveGitBranchesEntryQueryParams, type RemoveGitBranchesEntryVariables, type RemoveWorkspaceMemberError, type RemoveWorkspaceMemberPathParams, type RemoveWorkspaceMemberVariables, type RenameDatabaseError, type RenameDatabasePathParams, type RenameDatabaseRequestBody, type RenameDatabaseVariables, Repository, type ResendWorkspaceMemberInviteError, type ResendWorkspaceMemberInvitePathParams, type ResendWorkspaceMemberInviteVariables, type ResolveBranchError, type ResolveBranchPathParams, type ResolveBranchQueryParams, type ResolveBranchResponse, type ResolveBranchVariables, responses as Responses, RestRepository, SQLPlugin, type SQLPluginResult, type SQLQuery, type SQLQueryParams, type SQLQueryResult, type SchemaDefinition, type SchemaInference, SchemaPlugin, type SchemaPluginResult, schemas as Schemas, type SearchBranchError, type SearchBranchPathParams, type SearchBranchRequestBody, type SearchBranchVariables, type SearchOptions, SearchPlugin, type SearchPluginResult, type SearchTableError, type SearchTablePathParams, type SearchTableRequestBody, type SearchTableVariables, type SearchXataRecord, type SelectableColumn, type SelectableColumnWithObjectNotation, type SelectedPick, type SerializedString, Serializer, type SerializerResult, type SetTableSchemaError, type SetTableSchemaPathParams, type SetTableSchemaRequestBody, type SetTableSchemaVariables, type SqlQueryError, type SqlQueryPathParams, type SqlQueryRequestBody, type SqlQueryVariables, type SummarizeTableError, type SummarizeTablePathParams, type SummarizeTableRequestBody, type SummarizeTableVariables, type TotalCount, type TransactionOperation, TransactionPlugin, type TransactionPluginResult, type TransactionResults, type UpdateBranchMetadataError, type UpdateBranchMetadataPathParams, type UpdateBranchMetadataVariables, type UpdateBranchSchemaError, type UpdateBranchSchemaPathParams, type UpdateBranchSchemaVariables, type UpdateClusterError, type UpdateClusterPathParams, type UpdateClusterVariables, type UpdateColumnError, type UpdateColumnPathParams, type UpdateColumnRequestBody, type UpdateColumnVariables, type UpdateDatabaseGithubSettingsError, type UpdateDatabaseGithubSettingsPathParams, type UpdateDatabaseGithubSettingsVariables, type UpdateDatabaseMetadataError, type UpdateDatabaseMetadataPathParams, type UpdateDatabaseMetadataRequestBody, type UpdateDatabaseMetadataVariables, type UpdateDatabaseSettingsError, type UpdateDatabaseSettingsPathParams, type UpdateDatabaseSettingsRequestBody, type UpdateDatabaseSettingsVariables, type UpdateMigrationRequestError, type UpdateMigrationRequestPathParams, type UpdateMigrationRequestRequestBody, type UpdateMigrationRequestVariables, type UpdateOAuthAccessTokenError, type UpdateOAuthAccessTokenPathParams, type UpdateOAuthAccessTokenRequestBody, type UpdateOAuthAccessTokenVariables, type UpdateRecordWithIDError, type UpdateRecordWithIDPathParams, type UpdateRecordWithIDQueryParams, type UpdateRecordWithIDVariables, type UpdateTableError, type UpdateTablePathParams, type UpdateTableRequestBody, type UpdateTableVariables, type UpdateTransactionOperation, type UpdateUserError, type UpdateUserVariables, type UpdateWorkspaceError, type UpdateWorkspaceMemberInviteError, type UpdateWorkspaceMemberInvitePathParams, type UpdateWorkspaceMemberInviteRequestBody, type UpdateWorkspaceMemberInviteVariables, type UpdateWorkspaceMemberRoleError, type UpdateWorkspaceMemberRolePathParams, type UpdateWorkspaceMemberRoleRequestBody, type UpdateWorkspaceMemberRoleVariables, type UpdateWorkspacePathParams, type UpdateWorkspaceSettingsError, type UpdateWorkspaceSettingsPathParams, type UpdateWorkspaceSettingsRequestBody, type UpdateWorkspaceSettingsVariables, type UpdateWorkspaceVariables, type UploadDestination, type UpsertRecordWithIDError, type UpsertRecordWithIDPathParams, type UpsertRecordWithIDQueryParams, type UpsertRecordWithIDVariables, type ValueAtColumn, type VectorAskOptions, type VectorSearchTableError, type VectorSearchTablePathParams, type VectorSearchTableRequestBody, type VectorSearchTableVariables, XataApiClient, type XataApiClientOptions, XataApiPlugin, type XataArrayFile, XataError, XataFile, XataPlugin, type XataPluginOptions, type XataRecord, acceptWorkspaceMemberInvite, adaptAllTables, adaptTable, addGitBranchesEntry, addTableColumn, aggregateTable, applyBranchSchemaEdit, applyMigration, askTable, askTableSession, branchTransaction, buildClient, buildPreviewBranchName, buildProviderString, bulkInsertTableRecords, cancelWorkspaceMemberInvite, compareBranchSchemas, compareBranchWithUserSchema, compareMigrationRequest, contains, copyBranch, createBranch, createCluster, createDatabase, createMigrationRequest, createTable, createUserAPIKey, createWorkspace, deleteBranch, deleteCluster, deleteColumn, deleteDatabase, deleteDatabaseGithubSettings, deleteFile, deleteFileItem, deleteOAuthAccessToken, deleteRecord, deleteTable, deleteUser, deleteUserAPIKey, deleteUserOAuthClient, deleteWorkspace, deserialize, endsWith, equals, executeBranchMigrationPlan, exists, fileAccess, fileUpload, ge, 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 };