@fluxbase/sdk 2026.2.3-rc.9 → 2026.2.3
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.cjs +513 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +563 -2
- package/dist/index.d.ts +563 -2
- package/dist/index.js +513 -6
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -25,6 +25,12 @@ interface FluxbaseClientOptions {
|
|
|
25
25
|
*/
|
|
26
26
|
persist?: boolean;
|
|
27
27
|
};
|
|
28
|
+
/**
|
|
29
|
+
* Whether this is a service role client
|
|
30
|
+
* When true, enables service_role features like onBehalfOf for job submission
|
|
31
|
+
* @internal
|
|
32
|
+
*/
|
|
33
|
+
serviceRole?: boolean;
|
|
28
34
|
/**
|
|
29
35
|
* Global headers to include in all requests
|
|
30
36
|
*/
|
|
@@ -1498,6 +1504,29 @@ interface Schema {
|
|
|
1498
1504
|
interface ListSchemasResponse {
|
|
1499
1505
|
schemas: Schema[];
|
|
1500
1506
|
}
|
|
1507
|
+
/**
|
|
1508
|
+
* Property definition within a JSONB schema
|
|
1509
|
+
*/
|
|
1510
|
+
interface JSONBProperty {
|
|
1511
|
+
/** Property type (string, number, boolean, object, array, null) */
|
|
1512
|
+
type: string;
|
|
1513
|
+
/** Human-readable description of the property */
|
|
1514
|
+
description?: string;
|
|
1515
|
+
/** Nested properties for object types */
|
|
1516
|
+
properties?: Record<string, JSONBProperty>;
|
|
1517
|
+
/** Item schema for array types */
|
|
1518
|
+
items?: JSONBProperty;
|
|
1519
|
+
}
|
|
1520
|
+
/**
|
|
1521
|
+
* Schema definition for a JSONB column
|
|
1522
|
+
* Allows AI agents to understand the structure of JSONB data
|
|
1523
|
+
*/
|
|
1524
|
+
interface JSONBSchema {
|
|
1525
|
+
/** Map of property names to their definitions */
|
|
1526
|
+
properties?: Record<string, JSONBProperty>;
|
|
1527
|
+
/** List of required property names */
|
|
1528
|
+
required?: string[];
|
|
1529
|
+
}
|
|
1501
1530
|
/**
|
|
1502
1531
|
* Table column information
|
|
1503
1532
|
*/
|
|
@@ -1507,6 +1536,10 @@ interface Column {
|
|
|
1507
1536
|
nullable: boolean;
|
|
1508
1537
|
default_value?: string;
|
|
1509
1538
|
is_primary_key?: boolean;
|
|
1539
|
+
/** Column description from PostgreSQL comment */
|
|
1540
|
+
description?: string;
|
|
1541
|
+
/** JSONB schema if this is a JSONB/JSON column with schema annotation */
|
|
1542
|
+
jsonb_schema?: JSONBSchema;
|
|
1510
1543
|
}
|
|
1511
1544
|
/**
|
|
1512
1545
|
* Database table information
|
|
@@ -2744,6 +2777,188 @@ interface SearchKnowledgeBaseResponse {
|
|
|
2744
2777
|
count: number;
|
|
2745
2778
|
query: string;
|
|
2746
2779
|
}
|
|
2780
|
+
/**
|
|
2781
|
+
* Entity type classification (matching backend EntityType)
|
|
2782
|
+
*/
|
|
2783
|
+
type EntityType = "person" | "organization" | "location" | "concept" | "product" | "event" | "table" | "url" | "api_endpoint" | "datetime" | "code_reference" | "error" | "other";
|
|
2784
|
+
/**
|
|
2785
|
+
* Extracted entity from knowledge base documents
|
|
2786
|
+
*/
|
|
2787
|
+
interface Entity {
|
|
2788
|
+
id: string;
|
|
2789
|
+
knowledge_base_id: string;
|
|
2790
|
+
entity_type: EntityType;
|
|
2791
|
+
name: string;
|
|
2792
|
+
canonical_name: string;
|
|
2793
|
+
aliases: string[];
|
|
2794
|
+
metadata: Record<string, unknown>;
|
|
2795
|
+
document_count?: number;
|
|
2796
|
+
created_at: string;
|
|
2797
|
+
updated_at: string;
|
|
2798
|
+
}
|
|
2799
|
+
/**
|
|
2800
|
+
* Relationship between two entities
|
|
2801
|
+
*/
|
|
2802
|
+
interface EntityRelationship {
|
|
2803
|
+
id: string;
|
|
2804
|
+
knowledge_base_id: string;
|
|
2805
|
+
source_entity_id: string;
|
|
2806
|
+
target_entity_id: string;
|
|
2807
|
+
relationship_type: string;
|
|
2808
|
+
confidence?: number;
|
|
2809
|
+
metadata: Record<string, unknown>;
|
|
2810
|
+
created_at: string;
|
|
2811
|
+
source_entity?: Entity;
|
|
2812
|
+
target_entity?: Entity;
|
|
2813
|
+
}
|
|
2814
|
+
/**
|
|
2815
|
+
* Knowledge graph data with entities and relationships
|
|
2816
|
+
*/
|
|
2817
|
+
interface KnowledgeGraphData {
|
|
2818
|
+
entities: Entity[];
|
|
2819
|
+
relationships: EntityRelationship[];
|
|
2820
|
+
entity_count: number;
|
|
2821
|
+
relationship_count: number;
|
|
2822
|
+
}
|
|
2823
|
+
/**
|
|
2824
|
+
* Request to update a document
|
|
2825
|
+
*/
|
|
2826
|
+
interface UpdateDocumentRequest {
|
|
2827
|
+
title?: string;
|
|
2828
|
+
tags?: string[];
|
|
2829
|
+
metadata?: Record<string, string>;
|
|
2830
|
+
}
|
|
2831
|
+
/**
|
|
2832
|
+
* Request to delete documents by filter
|
|
2833
|
+
*/
|
|
2834
|
+
interface DeleteDocumentsByFilterRequest {
|
|
2835
|
+
tags?: string[];
|
|
2836
|
+
metadata?: Record<string, string>;
|
|
2837
|
+
metadata_filter?: Record<string, string>;
|
|
2838
|
+
}
|
|
2839
|
+
/**
|
|
2840
|
+
* Response from deleting documents by filter
|
|
2841
|
+
*/
|
|
2842
|
+
interface DeleteDocumentsByFilterResponse {
|
|
2843
|
+
deleted_count: number;
|
|
2844
|
+
}
|
|
2845
|
+
/**
|
|
2846
|
+
* Knowledge base capabilities and limits
|
|
2847
|
+
*/
|
|
2848
|
+
interface KnowledgeBaseCapabilities {
|
|
2849
|
+
ocr_enabled: boolean;
|
|
2850
|
+
ocr_available: boolean;
|
|
2851
|
+
ocr_languages: string[];
|
|
2852
|
+
supported_file_types: string[];
|
|
2853
|
+
}
|
|
2854
|
+
/**
|
|
2855
|
+
* Options for exporting a table to a knowledge base
|
|
2856
|
+
*/
|
|
2857
|
+
interface ExportTableOptions {
|
|
2858
|
+
schema: string;
|
|
2859
|
+
table: string;
|
|
2860
|
+
columns?: string[];
|
|
2861
|
+
include_sample_rows?: boolean;
|
|
2862
|
+
sample_row_count?: number;
|
|
2863
|
+
include_foreign_keys?: boolean;
|
|
2864
|
+
include_indexes?: boolean;
|
|
2865
|
+
}
|
|
2866
|
+
/**
|
|
2867
|
+
* Result of exporting a table to a knowledge base
|
|
2868
|
+
*/
|
|
2869
|
+
interface ExportTableResult {
|
|
2870
|
+
document_id: string;
|
|
2871
|
+
entity_id: string;
|
|
2872
|
+
relationship_ids?: string[];
|
|
2873
|
+
}
|
|
2874
|
+
/**
|
|
2875
|
+
* Column information for a table
|
|
2876
|
+
*/
|
|
2877
|
+
interface TableColumn {
|
|
2878
|
+
name: string;
|
|
2879
|
+
data_type: string;
|
|
2880
|
+
is_nullable: boolean;
|
|
2881
|
+
default_value?: string;
|
|
2882
|
+
is_primary_key: boolean;
|
|
2883
|
+
is_foreign_key: boolean;
|
|
2884
|
+
is_unique: boolean;
|
|
2885
|
+
max_length?: number;
|
|
2886
|
+
position: number;
|
|
2887
|
+
/** Column description from PostgreSQL comment */
|
|
2888
|
+
description?: string;
|
|
2889
|
+
/** JSONB schema if this is a JSONB/JSON column with schema annotation */
|
|
2890
|
+
jsonb_schema?: JSONBSchema;
|
|
2891
|
+
}
|
|
2892
|
+
/**
|
|
2893
|
+
* Foreign key information for a table
|
|
2894
|
+
*/
|
|
2895
|
+
interface TableForeignKey {
|
|
2896
|
+
name: string;
|
|
2897
|
+
column_name: string;
|
|
2898
|
+
referenced_schema: string;
|
|
2899
|
+
referenced_table: string;
|
|
2900
|
+
referenced_column: string;
|
|
2901
|
+
on_delete: string;
|
|
2902
|
+
on_update: string;
|
|
2903
|
+
}
|
|
2904
|
+
/**
|
|
2905
|
+
* Index information for a table
|
|
2906
|
+
*/
|
|
2907
|
+
interface TableIndex {
|
|
2908
|
+
name: string;
|
|
2909
|
+
columns: string[];
|
|
2910
|
+
is_unique: boolean;
|
|
2911
|
+
is_primary: boolean;
|
|
2912
|
+
}
|
|
2913
|
+
/**
|
|
2914
|
+
* Detailed table information including columns
|
|
2915
|
+
*/
|
|
2916
|
+
interface TableDetails {
|
|
2917
|
+
schema: string;
|
|
2918
|
+
name: string;
|
|
2919
|
+
type: string;
|
|
2920
|
+
columns: TableColumn[];
|
|
2921
|
+
primary_key: string[];
|
|
2922
|
+
foreign_keys: TableForeignKey[];
|
|
2923
|
+
indexes: TableIndex[];
|
|
2924
|
+
rls_enabled: boolean;
|
|
2925
|
+
}
|
|
2926
|
+
/**
|
|
2927
|
+
* Saved export configuration (preset) for a table
|
|
2928
|
+
*/
|
|
2929
|
+
interface TableExportSyncConfig {
|
|
2930
|
+
id: string;
|
|
2931
|
+
knowledge_base_id: string;
|
|
2932
|
+
schema_name: string;
|
|
2933
|
+
table_name: string;
|
|
2934
|
+
columns?: string[];
|
|
2935
|
+
include_foreign_keys: boolean;
|
|
2936
|
+
include_indexes: boolean;
|
|
2937
|
+
last_sync_at?: string;
|
|
2938
|
+
last_sync_status?: string;
|
|
2939
|
+
last_sync_error?: string;
|
|
2940
|
+
created_at: string;
|
|
2941
|
+
updated_at: string;
|
|
2942
|
+
}
|
|
2943
|
+
/**
|
|
2944
|
+
* Request to create a table export preset
|
|
2945
|
+
*/
|
|
2946
|
+
interface CreateTableExportSyncConfig {
|
|
2947
|
+
schema_name: string;
|
|
2948
|
+
table_name: string;
|
|
2949
|
+
columns?: string[];
|
|
2950
|
+
include_foreign_keys?: boolean;
|
|
2951
|
+
include_indexes?: boolean;
|
|
2952
|
+
export_now?: boolean;
|
|
2953
|
+
}
|
|
2954
|
+
/**
|
|
2955
|
+
* Request to update a table export preset
|
|
2956
|
+
*/
|
|
2957
|
+
interface UpdateTableExportSyncConfig {
|
|
2958
|
+
columns?: string[];
|
|
2959
|
+
include_foreign_keys?: boolean;
|
|
2960
|
+
include_indexes?: boolean;
|
|
2961
|
+
}
|
|
2747
2962
|
/**
|
|
2748
2963
|
* Individual service health status
|
|
2749
2964
|
*/
|
|
@@ -4900,7 +5115,17 @@ declare class FluxbaseFunctions {
|
|
|
4900
5115
|
*/
|
|
4901
5116
|
declare class FluxbaseJobs {
|
|
4902
5117
|
private fetch;
|
|
4903
|
-
|
|
5118
|
+
private cachedRole;
|
|
5119
|
+
private readonly ROLE_CACHE_TTL;
|
|
5120
|
+
private isServiceRole;
|
|
5121
|
+
constructor(fetch: FluxbaseFetch, isServiceRole?: boolean);
|
|
5122
|
+
/**
|
|
5123
|
+
* Get the current user's role from user_profiles table
|
|
5124
|
+
* This is used to auto-populate the onBehalfOf parameter when submitting jobs
|
|
5125
|
+
*
|
|
5126
|
+
* @returns Promise resolving to the user's role or null if not found
|
|
5127
|
+
*/
|
|
5128
|
+
private getCurrentUserRole;
|
|
4904
5129
|
/**
|
|
4905
5130
|
* Submit a new job for execution
|
|
4906
5131
|
*
|
|
@@ -4950,6 +5175,9 @@ declare class FluxbaseJobs {
|
|
|
4950
5175
|
* Submit job on behalf of another user (service_role only).
|
|
4951
5176
|
* The job will be created with the specified user's identity,
|
|
4952
5177
|
* allowing them to see the job and its logs via RLS.
|
|
5178
|
+
*
|
|
5179
|
+
* If not provided, the current user's identity and role from user_profiles
|
|
5180
|
+
* will be automatically included.
|
|
4953
5181
|
*/
|
|
4954
5182
|
onBehalfOf?: OnBehalfOf;
|
|
4955
5183
|
}): Promise<{
|
|
@@ -9091,6 +9319,339 @@ declare class FluxbaseAdminAI {
|
|
|
9091
9319
|
data: null;
|
|
9092
9320
|
error: Error | null;
|
|
9093
9321
|
}>;
|
|
9322
|
+
/**
|
|
9323
|
+
* Update a document in a knowledge base
|
|
9324
|
+
*
|
|
9325
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9326
|
+
* @param documentId - Document ID
|
|
9327
|
+
* @param updates - Fields to update
|
|
9328
|
+
* @returns Promise resolving to { data, error } tuple with updated document
|
|
9329
|
+
*
|
|
9330
|
+
* @example
|
|
9331
|
+
* ```typescript
|
|
9332
|
+
* const { data, error } = await client.admin.ai.updateDocument('kb-uuid', 'doc-uuid', {
|
|
9333
|
+
* title: 'Updated Title',
|
|
9334
|
+
* tags: ['updated', 'tag'],
|
|
9335
|
+
* metadata: { category: 'updated' },
|
|
9336
|
+
* })
|
|
9337
|
+
* ```
|
|
9338
|
+
*/
|
|
9339
|
+
updateDocument(knowledgeBaseId: string, documentId: string, updates: UpdateDocumentRequest): Promise<{
|
|
9340
|
+
data: KnowledgeBaseDocument | null;
|
|
9341
|
+
error: Error | null;
|
|
9342
|
+
}>;
|
|
9343
|
+
/**
|
|
9344
|
+
* Delete documents from a knowledge base by filter
|
|
9345
|
+
*
|
|
9346
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9347
|
+
* @param filter - Filter criteria for deletion
|
|
9348
|
+
* @returns Promise resolving to { data, error } tuple with deletion count
|
|
9349
|
+
*
|
|
9350
|
+
* @example
|
|
9351
|
+
* ```typescript
|
|
9352
|
+
* // Delete by tags
|
|
9353
|
+
* const { data, error } = await client.admin.ai.deleteDocumentsByFilter('kb-uuid', {
|
|
9354
|
+
* tags: ['deprecated', 'archive'],
|
|
9355
|
+
* })
|
|
9356
|
+
*
|
|
9357
|
+
* // Delete by metadata
|
|
9358
|
+
* const { data, error } = await client.admin.ai.deleteDocumentsByFilter('kb-uuid', {
|
|
9359
|
+
* metadata: { source: 'legacy-system' },
|
|
9360
|
+
* })
|
|
9361
|
+
*
|
|
9362
|
+
* if (data) {
|
|
9363
|
+
* console.log(`Deleted ${data.deleted_count} documents`)
|
|
9364
|
+
* }
|
|
9365
|
+
* ```
|
|
9366
|
+
*/
|
|
9367
|
+
deleteDocumentsByFilter(knowledgeBaseId: string, filter: DeleteDocumentsByFilterRequest): Promise<{
|
|
9368
|
+
data: DeleteDocumentsByFilterResponse | null;
|
|
9369
|
+
error: Error | null;
|
|
9370
|
+
}>;
|
|
9371
|
+
/**
|
|
9372
|
+
* Get knowledge base system capabilities
|
|
9373
|
+
*
|
|
9374
|
+
* Returns information about OCR support, supported file types, etc.
|
|
9375
|
+
*
|
|
9376
|
+
* @returns Promise resolving to { data, error } tuple with capabilities
|
|
9377
|
+
*
|
|
9378
|
+
* @example
|
|
9379
|
+
* ```typescript
|
|
9380
|
+
* const { data, error } = await client.admin.ai.getCapabilities()
|
|
9381
|
+
* if (data) {
|
|
9382
|
+
* console.log('OCR available:', data.ocr_available)
|
|
9383
|
+
* console.log('Supported types:', data.supported_file_types)
|
|
9384
|
+
* }
|
|
9385
|
+
* ```
|
|
9386
|
+
*/
|
|
9387
|
+
getCapabilities(): Promise<{
|
|
9388
|
+
data: KnowledgeBaseCapabilities | null;
|
|
9389
|
+
error: Error | null;
|
|
9390
|
+
}>;
|
|
9391
|
+
/**
|
|
9392
|
+
* List entities in a knowledge base
|
|
9393
|
+
*
|
|
9394
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9395
|
+
* @param entityType - Optional entity type filter
|
|
9396
|
+
* @returns Promise resolving to { data, error } tuple with array of entities
|
|
9397
|
+
*
|
|
9398
|
+
* @example
|
|
9399
|
+
* ```typescript
|
|
9400
|
+
* // List all entities
|
|
9401
|
+
* const { data, error } = await client.admin.ai.listEntities('kb-uuid')
|
|
9402
|
+
*
|
|
9403
|
+
* // Filter by type
|
|
9404
|
+
* const { data, error } = await client.admin.ai.listEntities('kb-uuid', 'person')
|
|
9405
|
+
*
|
|
9406
|
+
* if (data) {
|
|
9407
|
+
* console.log('Entities:', data.map(e => e.name))
|
|
9408
|
+
* }
|
|
9409
|
+
* ```
|
|
9410
|
+
*/
|
|
9411
|
+
listEntities(knowledgeBaseId: string, entityType?: string): Promise<{
|
|
9412
|
+
data: Entity[] | null;
|
|
9413
|
+
error: Error | null;
|
|
9414
|
+
}>;
|
|
9415
|
+
/**
|
|
9416
|
+
* Search for entities in a knowledge base
|
|
9417
|
+
*
|
|
9418
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9419
|
+
* @param query - Search query
|
|
9420
|
+
* @param types - Optional entity type filters
|
|
9421
|
+
* @returns Promise resolving to { data, error } tuple with matching entities
|
|
9422
|
+
*
|
|
9423
|
+
* @example
|
|
9424
|
+
* ```typescript
|
|
9425
|
+
* // Search all entity types
|
|
9426
|
+
* const { data, error } = await client.admin.ai.searchEntities('kb-uuid', 'John')
|
|
9427
|
+
*
|
|
9428
|
+
* // Search specific types
|
|
9429
|
+
* const { data, error } = await client.admin.ai.searchEntities('kb-uuid', 'Apple', ['organization', 'product'])
|
|
9430
|
+
*
|
|
9431
|
+
* if (data) {
|
|
9432
|
+
* console.log('Found entities:', data.map(e => `${e.name} (${e.entity_type})`))
|
|
9433
|
+
* }
|
|
9434
|
+
* ```
|
|
9435
|
+
*/
|
|
9436
|
+
searchEntities(knowledgeBaseId: string, query: string, types?: string[]): Promise<{
|
|
9437
|
+
data: Entity[] | null;
|
|
9438
|
+
error: Error | null;
|
|
9439
|
+
}>;
|
|
9440
|
+
/**
|
|
9441
|
+
* Get relationships for a specific entity
|
|
9442
|
+
*
|
|
9443
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9444
|
+
* @param entityId - Entity ID
|
|
9445
|
+
* @returns Promise resolving to { data, error } tuple with entity relationships
|
|
9446
|
+
*
|
|
9447
|
+
* @example
|
|
9448
|
+
* ```typescript
|
|
9449
|
+
* const { data, error } = await client.admin.ai.getEntityRelationships('kb-uuid', 'entity-uuid')
|
|
9450
|
+
* if (data) {
|
|
9451
|
+
* console.log('Relationships:', data.map(r => `${r.relationship_type} -> ${r.target_entity?.name}`))
|
|
9452
|
+
* }
|
|
9453
|
+
* ```
|
|
9454
|
+
*/
|
|
9455
|
+
getEntityRelationships(knowledgeBaseId: string, entityId: string): Promise<{
|
|
9456
|
+
data: EntityRelationship[] | null;
|
|
9457
|
+
error: Error | null;
|
|
9458
|
+
}>;
|
|
9459
|
+
/**
|
|
9460
|
+
* Get the knowledge graph for a knowledge base
|
|
9461
|
+
*
|
|
9462
|
+
* Returns all entities and relationships for visualization.
|
|
9463
|
+
*
|
|
9464
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9465
|
+
* @returns Promise resolving to { data, error } tuple with graph data
|
|
9466
|
+
*
|
|
9467
|
+
* @example
|
|
9468
|
+
* ```typescript
|
|
9469
|
+
* const { data, error } = await client.admin.ai.getKnowledgeGraph('kb-uuid')
|
|
9470
|
+
* if (data) {
|
|
9471
|
+
* console.log('Graph:', data.entity_count, 'entities,', data.relationship_count, 'relationships')
|
|
9472
|
+
* // Use with visualization libraries like D3.js, Cytoscape.js, etc.
|
|
9473
|
+
* }
|
|
9474
|
+
* ```
|
|
9475
|
+
*/
|
|
9476
|
+
getKnowledgeGraph(knowledgeBaseId: string): Promise<{
|
|
9477
|
+
data: KnowledgeGraphData | null;
|
|
9478
|
+
error: Error | null;
|
|
9479
|
+
}>;
|
|
9480
|
+
/**
|
|
9481
|
+
* List all chatbots that use a specific knowledge base
|
|
9482
|
+
*
|
|
9483
|
+
* Reverse lookup to find which chatbots are linked to a knowledge base.
|
|
9484
|
+
*
|
|
9485
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9486
|
+
* @returns Promise resolving to { data, error } tuple with array of chatbot summaries
|
|
9487
|
+
*
|
|
9488
|
+
* @example
|
|
9489
|
+
* ```typescript
|
|
9490
|
+
* const { data, error } = await client.admin.ai.listChatbotsUsingKB('kb-uuid')
|
|
9491
|
+
* if (data) {
|
|
9492
|
+
* console.log('Used by chatbots:', data.map(c => c.name))
|
|
9493
|
+
* }
|
|
9494
|
+
* ```
|
|
9495
|
+
*/
|
|
9496
|
+
listChatbotsUsingKB(knowledgeBaseId: string): Promise<{
|
|
9497
|
+
data: AIChatbotSummary[] | null;
|
|
9498
|
+
error: Error | null;
|
|
9499
|
+
}>;
|
|
9500
|
+
/**
|
|
9501
|
+
* Export a database table to a knowledge base
|
|
9502
|
+
*
|
|
9503
|
+
* The table schema will be exported as a markdown document and indexed.
|
|
9504
|
+
* Optionally filter which columns to export for security or relevance.
|
|
9505
|
+
*
|
|
9506
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9507
|
+
* @param options - Export options including column selection
|
|
9508
|
+
* @returns Promise resolving to { data, error } tuple with export result
|
|
9509
|
+
*
|
|
9510
|
+
* @example
|
|
9511
|
+
* ```typescript
|
|
9512
|
+
* // Export all columns
|
|
9513
|
+
* const { data, error } = await client.admin.ai.exportTable('kb-uuid', {
|
|
9514
|
+
* schema: 'public',
|
|
9515
|
+
* table: 'users',
|
|
9516
|
+
* include_foreign_keys: true,
|
|
9517
|
+
* })
|
|
9518
|
+
*
|
|
9519
|
+
* // Export specific columns (recommended for sensitive data)
|
|
9520
|
+
* const { data, error } = await client.admin.ai.exportTable('kb-uuid', {
|
|
9521
|
+
* schema: 'public',
|
|
9522
|
+
* table: 'users',
|
|
9523
|
+
* columns: ['id', 'name', 'email', 'created_at'],
|
|
9524
|
+
* })
|
|
9525
|
+
* ```
|
|
9526
|
+
*/
|
|
9527
|
+
exportTable(knowledgeBaseId: string, options: ExportTableOptions): Promise<{
|
|
9528
|
+
data: ExportTableResult | null;
|
|
9529
|
+
error: Error | null;
|
|
9530
|
+
}>;
|
|
9531
|
+
/**
|
|
9532
|
+
* Get detailed table information including columns
|
|
9533
|
+
*
|
|
9534
|
+
* Use this to discover available columns before exporting.
|
|
9535
|
+
*
|
|
9536
|
+
* @param schema - Schema name (e.g., 'public')
|
|
9537
|
+
* @param table - Table name
|
|
9538
|
+
* @returns Promise resolving to { data, error } tuple with table details
|
|
9539
|
+
*
|
|
9540
|
+
* @example
|
|
9541
|
+
* ```typescript
|
|
9542
|
+
* const { data, error } = await client.admin.ai.getTableDetails('public', 'users')
|
|
9543
|
+
* if (data) {
|
|
9544
|
+
* console.log('Columns:', data.columns.map(c => c.name))
|
|
9545
|
+
* console.log('Primary key:', data.primary_key)
|
|
9546
|
+
* }
|
|
9547
|
+
* ```
|
|
9548
|
+
*/
|
|
9549
|
+
getTableDetails(schema: string, table: string): Promise<{
|
|
9550
|
+
data: TableDetails | null;
|
|
9551
|
+
error: Error | null;
|
|
9552
|
+
}>;
|
|
9553
|
+
/**
|
|
9554
|
+
* Create a table export preset
|
|
9555
|
+
*
|
|
9556
|
+
* Saves a table export configuration for easy re-export. Use triggerTableExportSync
|
|
9557
|
+
* to re-export when the schema changes.
|
|
9558
|
+
*
|
|
9559
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9560
|
+
* @param config - Export preset configuration
|
|
9561
|
+
* @returns Promise resolving to { data, error } tuple with created preset
|
|
9562
|
+
*
|
|
9563
|
+
* @example
|
|
9564
|
+
* ```typescript
|
|
9565
|
+
* const { data, error } = await client.admin.ai.createTableExportSync('kb-uuid', {
|
|
9566
|
+
* schema_name: 'public',
|
|
9567
|
+
* table_name: 'products',
|
|
9568
|
+
* columns: ['id', 'name', 'description', 'price'],
|
|
9569
|
+
* include_foreign_keys: true,
|
|
9570
|
+
* export_now: true, // Trigger initial export
|
|
9571
|
+
* })
|
|
9572
|
+
* ```
|
|
9573
|
+
*/
|
|
9574
|
+
createTableExportSync(knowledgeBaseId: string, config: CreateTableExportSyncConfig): Promise<{
|
|
9575
|
+
data: TableExportSyncConfig | null;
|
|
9576
|
+
error: Error | null;
|
|
9577
|
+
}>;
|
|
9578
|
+
/**
|
|
9579
|
+
* List table export presets for a knowledge base
|
|
9580
|
+
*
|
|
9581
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9582
|
+
* @returns Promise resolving to { data, error } tuple with array of presets
|
|
9583
|
+
*
|
|
9584
|
+
* @example
|
|
9585
|
+
* ```typescript
|
|
9586
|
+
* const { data, error } = await client.admin.ai.listTableExportSyncs('kb-uuid')
|
|
9587
|
+
* if (data) {
|
|
9588
|
+
* data.forEach(config => {
|
|
9589
|
+
* console.log(`${config.schema_name}.${config.table_name}`)
|
|
9590
|
+
* })
|
|
9591
|
+
* }
|
|
9592
|
+
* ```
|
|
9593
|
+
*/
|
|
9594
|
+
listTableExportSyncs(knowledgeBaseId: string): Promise<{
|
|
9595
|
+
data: TableExportSyncConfig[] | null;
|
|
9596
|
+
error: Error | null;
|
|
9597
|
+
}>;
|
|
9598
|
+
/**
|
|
9599
|
+
* Update a table export preset
|
|
9600
|
+
*
|
|
9601
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9602
|
+
* @param syncId - Preset ID
|
|
9603
|
+
* @param updates - Fields to update
|
|
9604
|
+
* @returns Promise resolving to { data, error } tuple with updated preset
|
|
9605
|
+
*
|
|
9606
|
+
* @example
|
|
9607
|
+
* ```typescript
|
|
9608
|
+
* const { data, error } = await client.admin.ai.updateTableExportSync('kb-uuid', 'sync-id', {
|
|
9609
|
+
* columns: ['id', 'name', 'email', 'updated_at'],
|
|
9610
|
+
* })
|
|
9611
|
+
* ```
|
|
9612
|
+
*/
|
|
9613
|
+
updateTableExportSync(knowledgeBaseId: string, syncId: string, updates: UpdateTableExportSyncConfig): Promise<{
|
|
9614
|
+
data: TableExportSyncConfig | null;
|
|
9615
|
+
error: Error | null;
|
|
9616
|
+
}>;
|
|
9617
|
+
/**
|
|
9618
|
+
* Delete a table export sync configuration
|
|
9619
|
+
*
|
|
9620
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9621
|
+
* @param syncId - Sync config ID
|
|
9622
|
+
* @returns Promise resolving to { data, error } tuple
|
|
9623
|
+
*
|
|
9624
|
+
* @example
|
|
9625
|
+
* ```typescript
|
|
9626
|
+
* const { data, error } = await client.admin.ai.deleteTableExportSync('kb-uuid', 'sync-id')
|
|
9627
|
+
* ```
|
|
9628
|
+
*/
|
|
9629
|
+
deleteTableExportSync(knowledgeBaseId: string, syncId: string): Promise<{
|
|
9630
|
+
data: null;
|
|
9631
|
+
error: Error | null;
|
|
9632
|
+
}>;
|
|
9633
|
+
/**
|
|
9634
|
+
* Manually trigger a table export sync
|
|
9635
|
+
*
|
|
9636
|
+
* Immediately re-exports the table to the knowledge base,
|
|
9637
|
+
* regardless of the sync mode.
|
|
9638
|
+
*
|
|
9639
|
+
* @param knowledgeBaseId - Knowledge base ID
|
|
9640
|
+
* @param syncId - Sync config ID
|
|
9641
|
+
* @returns Promise resolving to { data, error } tuple with export result
|
|
9642
|
+
*
|
|
9643
|
+
* @example
|
|
9644
|
+
* ```typescript
|
|
9645
|
+
* const { data, error } = await client.admin.ai.triggerTableExportSync('kb-uuid', 'sync-id')
|
|
9646
|
+
* if (data) {
|
|
9647
|
+
* console.log('Exported document:', data.document_id)
|
|
9648
|
+
* }
|
|
9649
|
+
* ```
|
|
9650
|
+
*/
|
|
9651
|
+
triggerTableExportSync(knowledgeBaseId: string, syncId: string): Promise<{
|
|
9652
|
+
data: ExportTableResult | null;
|
|
9653
|
+
error: Error | null;
|
|
9654
|
+
}>;
|
|
9094
9655
|
}
|
|
9095
9656
|
|
|
9096
9657
|
/**
|
|
@@ -12051,4 +12612,4 @@ declare function isBoolean(value: unknown): value is boolean;
|
|
|
12051
12612
|
*/
|
|
12052
12613
|
declare function assertType<T>(value: unknown, validator: (v: unknown) => v is T, errorMessage?: string): asserts value is T;
|
|
12053
12614
|
|
|
12054
|
-
export { type AIChatClientMessage, type AIChatEvent, type AIChatEventType, type AIChatMessageRole, type AIChatOptions, type AIChatServerMessage, type AIChatbot, type AIChatbotLookupResponse, type AIChatbotSummary, type AIConversation, type AIConversationMessage, type AIProvider, type AIProviderType, type AIUsageStats, type AIUserConversationDetail, type AIUserConversationSummary, type AIUserMessage, type AIUserQueryResult, type AIUserUsageStats, type APIKey, APIKeysManager, type AcceptInvitationRequest, type AcceptInvitationResponse, type AdminAuthResponse, type AdminBucket, type AdminListBucketsResponse, type AdminListObjectsResponse, type AdminLoginRequest, type AdminMeResponse, type AdminRefreshRequest, type AdminRefreshResponse, type AdminSetupRequest, type AdminSetupStatusResponse, type AdminStorageObject, type AdminUser, type AppSettings, AppSettingsManager, type ApplyMigrationRequest, type ApplyPendingRequest, type AuthConfig, type AuthResponse, type AuthResponseData, type AuthSession, type AuthSettings, AuthSettingsManager, type AuthenticationSettings, type Branch, type BranchActivity, type BranchPoolStats, type BranchStatus, type BranchType, type BroadcastCallback, type BroadcastMessage, type BundleOptions, type BundleResult, type CaptchaConfig, type CaptchaProvider, type ChatbotSpec, type ChunkedUploadSession, type ClientKey, ClientKeysManager, type Column, type CreateAIProviderRequest, type CreateAPIKeyRequest, type CreateAPIKeyResponse, type CreateBranchOptions, type CreateClientKeyRequest, type CreateClientKeyResponse, type CreateColumnRequest, type CreateFunctionRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateMigrationRequest, type CreateOAuthProviderRequest, type CreateOAuthProviderResponse, type CreateSchemaRequest, type CreateSchemaResponse, type CreateTableRequest, type CreateTableResponse, type CreateUserSettingRequest, type CreateWebhookRequest, DDLManager, type DataCloneMode, type DataResponse, type DeleteAPIKeyResponse, type DeleteClientKeyResponse, type DeleteOAuthProviderResponse, type DeleteTableResponse, type DeleteUserResponse, type DeleteWebhookResponse, type DownloadOptions, type DownloadProgress, type EdgeFunction, type EdgeFunctionExecution, type EmailProviderSettings, type EmailSettingOverride, type EmailSettings, EmailSettingsManager, type EmailTemplate, EmailTemplateManager, type EmailTemplateType, type EmbedRequest, type EmbedResponse, type EnableRealtimeRequest, type EnableRealtimeResponse, type EnrichedUser, type ExecutionLog, type ExecutionLogCallback, type ExecutionLogConfig, type ExecutionLogEvent, type ExecutionLogLevel, ExecutionLogsChannel, type ExecutionType, type FeatureSettings, type FileObject, type FilterOperator, FluxbaseAI, FluxbaseAIChat, FluxbaseAdmin, FluxbaseAdminAI, FluxbaseAdminFunctions, FluxbaseAdminJobs, FluxbaseAdminMigrations, FluxbaseAdminRPC, FluxbaseAdminRealtime, FluxbaseAdminStorage, FluxbaseAuth, type FluxbaseAuthResponse, FluxbaseBranching, FluxbaseClient, type FluxbaseClientOptions, type FluxbaseError, FluxbaseFetch, FluxbaseFunctions, FluxbaseGraphQL, FluxbaseJobs, FluxbaseManagement, FluxbaseOAuth, FluxbaseRPC, FluxbaseRealtime, type FluxbaseResponse, FluxbaseSettings, FluxbaseStorage, FluxbaseVector, type FunctionInvokeOptions, type FunctionSpec, type GetImpersonationResponse, type GraphQLError, type GraphQLErrorLocation, type GraphQLRequestOptions, type GraphQLResponse, type HealthResponse, type HttpMethod, type ImageFitMode, type ImageFormat, type ImpersonateAnonRequest, type ImpersonateServiceRequest, type ImpersonateUserRequest, ImpersonationManager, type ImpersonationSession, type ImpersonationTargetUser, type ImpersonationType, type IntrospectionDirective, type IntrospectionEnumValue, type IntrospectionField, type IntrospectionInputValue, type IntrospectionSchema, type IntrospectionType, type IntrospectionTypeRef, type Invitation, InvitationsManager, type InviteUserRequest, type InviteUserResponse, type ListAPIKeysResponse, type ListBranchesOptions, type ListBranchesResponse, type ListClientKeysResponse, type ListConversationsOptions, type ListConversationsResult, type ListEmailTemplatesResponse, type ListImpersonationSessionsOptions, type ListImpersonationSessionsResponse, type ListInvitationsOptions, type ListInvitationsResponse, type ListOAuthProvidersResponse, type ListOptions, type ListRealtimeTablesResponse, type ListSchemasResponse, type ListSystemSettingsResponse, type ListTablesResponse, type ListUsersOptions, type ListUsersResponse, type ListWebhookDeliveriesResponse, type ListWebhooksResponse, type MailgunSettings, type Migration, type MigrationExecution, type OAuthLogoutOptions, type OAuthLogoutResponse, type OAuthProvider, OAuthProviderManager, type OAuthProviderPublic, type OrderBy, type OrderDirection, type PostgresChangesConfig, type PostgrestError, type PostgrestResponse, type PresenceCallback, type PresenceState, QueryBuilder, type QueryFilter, type RPCExecution, type RPCExecutionFilters, type RPCExecutionLog, type RPCExecutionStatus, type RPCInvokeResponse, type RPCProcedure, type RPCProcedureSpec, type RPCProcedureSummary, type RealtimeBroadcastPayload, type RealtimeCallback, type RealtimeChangePayload, RealtimeChannel, type RealtimeChannelConfig, type RealtimeMessage, type RealtimePostgresChangesPayload, type RealtimePresencePayload, type RealtimeTableStatus, type RequestOptions, type ResetUserPasswordResponse, type ResumableDownloadData, type ResumableDownloadOptions, type ResumableUploadOptions, type ResumableUploadProgress, type RevokeAPIKeyResponse, type RevokeClientKeyResponse, type RevokeInvitationResponse, type RollbackMigrationRequest, type SAMLLoginOptions, type SAMLLoginResponse, type SAMLProvider, type SAMLProvidersResponse, type SAMLSession, type SESSettings, type SMTPSettings, type Schema, SchemaQueryBuilder, type SecuritySettings, type SendEmailRequest, type SendGridSettings, type SessionResponse, SettingsClient, type SignInCredentials, type SignInWith2FAResponse, type SignUpCredentials, type SignedUrlOptions, type SignedUrlResponse, type StartImpersonationResponse, type StopImpersonationResponse, StorageBucket, type StorageObject, type StreamDownloadData, type StreamUploadOptions, type SupabaseAuthResponse, type SupabaseResponse, type SyncChatbotsOptions, type SyncChatbotsResult, type SyncError, type SyncFunctionsOptions, type SyncFunctionsResult, type SyncMigrationsOptions, type SyncMigrationsResult, type SyncRPCOptions, type SyncRPCResult, type SystemSetting, SystemSettingsManager, type Table, type TestEmailSettingsResponse, type TestEmailTemplateRequest, type TestWebhookResponse, type TransformOptions, type TwoFactorEnableResponse, type TwoFactorSetupResponse, type TwoFactorStatusResponse, type TwoFactorVerifyRequest, type UpdateAIProviderRequest, type UpdateAPIKeyRequest, type UpdateAppSettingsRequest, type UpdateAuthSettingsRequest, type UpdateAuthSettingsResponse, type UpdateClientKeyRequest, type UpdateConversationOptions, type UpdateEmailProviderSettingsRequest, type UpdateEmailTemplateRequest, type UpdateFunctionRequest, type UpdateMigrationRequest, type UpdateOAuthProviderRequest, type UpdateOAuthProviderResponse, type UpdateRPCProcedureRequest, type UpdateRealtimeConfigRequest, type UpdateSystemSettingRequest, type UpdateUserAttributes, type UpdateUserRoleRequest, type UpdateWebhookRequest, type UploadOptions, type UploadProgress, type UpsertOptions, type User, type UserResponse, type UserSetting, type UserSettingWithSource, type ValidateInvitationResponse, type VectorMetric, type VectorOrderOptions, type VectorSearchOptions, type VectorSearchResult, type VoidResponse, type WeakPassword, type Webhook, type WebhookDelivery, WebhooksManager, assertType, bundleCode, createClient, denoExternalPlugin, hasPostgrestError, isArray, isAuthError, isAuthSuccess, isBoolean, isFluxbaseError, isFluxbaseSuccess, isNumber, isObject, isPostgrestSuccess, isString, loadImportMap };
|
|
12615
|
+
export { type AIChatClientMessage, type AIChatEvent, type AIChatEventType, type AIChatMessageRole, type AIChatOptions, type AIChatServerMessage, type AIChatbot, type AIChatbotLookupResponse, type AIChatbotSummary, type AIConversation, type AIConversationMessage, type AIProvider, type AIProviderType, type AIUsageStats, type AIUserConversationDetail, type AIUserConversationSummary, type AIUserMessage, type AIUserQueryResult, type AIUserUsageStats, type APIKey, APIKeysManager, type AcceptInvitationRequest, type AcceptInvitationResponse, type AdminAuthResponse, type AdminBucket, type AdminListBucketsResponse, type AdminListObjectsResponse, type AdminLoginRequest, type AdminMeResponse, type AdminRefreshRequest, type AdminRefreshResponse, type AdminSetupRequest, type AdminSetupStatusResponse, type AdminStorageObject, type AdminUser, type AppSettings, AppSettingsManager, type ApplyMigrationRequest, type ApplyPendingRequest, type AuthConfig, type AuthResponse, type AuthResponseData, type AuthSession, type AuthSettings, AuthSettingsManager, type AuthenticationSettings, type Branch, type BranchActivity, type BranchPoolStats, type BranchStatus, type BranchType, type BroadcastCallback, type BroadcastMessage, type BundleOptions, type BundleResult, type CaptchaConfig, type CaptchaProvider, type ChatbotSpec, type ChunkedUploadSession, type ClientKey, ClientKeysManager, type Column, type CreateAIProviderRequest, type CreateAPIKeyRequest, type CreateAPIKeyResponse, type CreateBranchOptions, type CreateClientKeyRequest, type CreateClientKeyResponse, type CreateColumnRequest, type CreateFunctionRequest, type CreateInvitationRequest, type CreateInvitationResponse, type CreateMigrationRequest, type CreateOAuthProviderRequest, type CreateOAuthProviderResponse, type CreateSchemaRequest, type CreateSchemaResponse, type CreateTableExportSyncConfig, type CreateTableRequest, type CreateTableResponse, type CreateUserSettingRequest, type CreateWebhookRequest, DDLManager, type DataCloneMode, type DataResponse, type DeleteAPIKeyResponse, type DeleteClientKeyResponse, type DeleteOAuthProviderResponse, type DeleteTableResponse, type DeleteUserResponse, type DeleteWebhookResponse, type DownloadOptions, type DownloadProgress, type EdgeFunction, type EdgeFunctionExecution, type EmailProviderSettings, type EmailSettingOverride, type EmailSettings, EmailSettingsManager, type EmailTemplate, EmailTemplateManager, type EmailTemplateType, type EmbedRequest, type EmbedResponse, type EnableRealtimeRequest, type EnableRealtimeResponse, type EnrichedUser, type ExecutionLog, type ExecutionLogCallback, type ExecutionLogConfig, type ExecutionLogEvent, type ExecutionLogLevel, ExecutionLogsChannel, type ExecutionType, type ExportTableOptions, type ExportTableResult, type FeatureSettings, type FileObject, type FilterOperator, FluxbaseAI, FluxbaseAIChat, FluxbaseAdmin, FluxbaseAdminAI, FluxbaseAdminFunctions, FluxbaseAdminJobs, FluxbaseAdminMigrations, FluxbaseAdminRPC, FluxbaseAdminRealtime, FluxbaseAdminStorage, FluxbaseAuth, type FluxbaseAuthResponse, FluxbaseBranching, FluxbaseClient, type FluxbaseClientOptions, type FluxbaseError, FluxbaseFetch, FluxbaseFunctions, FluxbaseGraphQL, FluxbaseJobs, FluxbaseManagement, FluxbaseOAuth, FluxbaseRPC, FluxbaseRealtime, type FluxbaseResponse, FluxbaseSettings, FluxbaseStorage, FluxbaseVector, type FunctionInvokeOptions, type FunctionSpec, type GetImpersonationResponse, type GraphQLError, type GraphQLErrorLocation, type GraphQLRequestOptions, type GraphQLResponse, type HealthResponse, type HttpMethod, type ImageFitMode, type ImageFormat, type ImpersonateAnonRequest, type ImpersonateServiceRequest, type ImpersonateUserRequest, ImpersonationManager, type ImpersonationSession, type ImpersonationTargetUser, type ImpersonationType, type IntrospectionDirective, type IntrospectionEnumValue, type IntrospectionField, type IntrospectionInputValue, type IntrospectionSchema, type IntrospectionType, type IntrospectionTypeRef, type Invitation, InvitationsManager, type InviteUserRequest, type InviteUserResponse, type ListAPIKeysResponse, type ListBranchesOptions, type ListBranchesResponse, type ListClientKeysResponse, type ListConversationsOptions, type ListConversationsResult, type ListEmailTemplatesResponse, type ListImpersonationSessionsOptions, type ListImpersonationSessionsResponse, type ListInvitationsOptions, type ListInvitationsResponse, type ListOAuthProvidersResponse, type ListOptions, type ListRealtimeTablesResponse, type ListSchemasResponse, type ListSystemSettingsResponse, type ListTablesResponse, type ListUsersOptions, type ListUsersResponse, type ListWebhookDeliveriesResponse, type ListWebhooksResponse, type MailgunSettings, type Migration, type MigrationExecution, type OAuthLogoutOptions, type OAuthLogoutResponse, type OAuthProvider, OAuthProviderManager, type OAuthProviderPublic, type OrderBy, type OrderDirection, type PostgresChangesConfig, type PostgrestError, type PostgrestResponse, type PresenceCallback, type PresenceState, QueryBuilder, type QueryFilter, type RPCExecution, type RPCExecutionFilters, type RPCExecutionLog, type RPCExecutionStatus, type RPCInvokeResponse, type RPCProcedure, type RPCProcedureSpec, type RPCProcedureSummary, type RealtimeBroadcastPayload, type RealtimeCallback, type RealtimeChangePayload, RealtimeChannel, type RealtimeChannelConfig, type RealtimeMessage, type RealtimePostgresChangesPayload, type RealtimePresencePayload, type RealtimeTableStatus, type RequestOptions, type ResetUserPasswordResponse, type ResumableDownloadData, type ResumableDownloadOptions, type ResumableUploadOptions, type ResumableUploadProgress, type RevokeAPIKeyResponse, type RevokeClientKeyResponse, type RevokeInvitationResponse, type RollbackMigrationRequest, type SAMLLoginOptions, type SAMLLoginResponse, type SAMLProvider, type SAMLProvidersResponse, type SAMLSession, type SESSettings, type SMTPSettings, type Schema, SchemaQueryBuilder, type SecuritySettings, type SendEmailRequest, type SendGridSettings, type SessionResponse, SettingsClient, type SignInCredentials, type SignInWith2FAResponse, type SignUpCredentials, type SignedUrlOptions, type SignedUrlResponse, type StartImpersonationResponse, type StopImpersonationResponse, StorageBucket, type StorageObject, type StreamDownloadData, type StreamUploadOptions, type SupabaseAuthResponse, type SupabaseResponse, type SyncChatbotsOptions, type SyncChatbotsResult, type SyncError, type SyncFunctionsOptions, type SyncFunctionsResult, type SyncMigrationsOptions, type SyncMigrationsResult, type SyncRPCOptions, type SyncRPCResult, type SystemSetting, SystemSettingsManager, type Table, type TableColumn, type TableDetails, type TableExportSyncConfig, type TableForeignKey, type TableIndex, type TestEmailSettingsResponse, type TestEmailTemplateRequest, type TestWebhookResponse, type TransformOptions, type TwoFactorEnableResponse, type TwoFactorSetupResponse, type TwoFactorStatusResponse, type TwoFactorVerifyRequest, type UpdateAIProviderRequest, type UpdateAPIKeyRequest, type UpdateAppSettingsRequest, type UpdateAuthSettingsRequest, type UpdateAuthSettingsResponse, type UpdateClientKeyRequest, type UpdateConversationOptions, type UpdateEmailProviderSettingsRequest, type UpdateEmailTemplateRequest, type UpdateFunctionRequest, type UpdateMigrationRequest, type UpdateOAuthProviderRequest, type UpdateOAuthProviderResponse, type UpdateRPCProcedureRequest, type UpdateRealtimeConfigRequest, type UpdateSystemSettingRequest, type UpdateTableExportSyncConfig, type UpdateUserAttributes, type UpdateUserRoleRequest, type UpdateWebhookRequest, type UploadOptions, type UploadProgress, type UpsertOptions, type User, type UserResponse, type UserSetting, type UserSettingWithSource, type ValidateInvitationResponse, type VectorMetric, type VectorOrderOptions, type VectorSearchOptions, type VectorSearchResult, type VoidResponse, type WeakPassword, type Webhook, type WebhookDelivery, WebhooksManager, assertType, bundleCode, createClient, denoExternalPlugin, hasPostgrestError, isArray, isAuthError, isAuthSuccess, isBoolean, isFluxbaseError, isFluxbaseSuccess, isNumber, isObject, isPostgrestSuccess, isString, loadImportMap };
|