@fluxbase/sdk 2026.2.8 → 2026.3.2-rc.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.d.cts CHANGED
@@ -6941,7 +6941,7 @@ declare class OAuthProviderManager {
6941
6941
  * client_id: 'client-id',
6942
6942
  * client_secret: 'client-secret',
6943
6943
  * redirect_url: 'https://yourapp.com/auth/callback',
6944
- * scopes: ['openid', 'profile', 'email'],
6944
+ * scopes: ['openid', 'profile', 'email', 'offline_access'],
6945
6945
  * is_custom: true,
6946
6946
  * authorization_url: 'https://sso.example.com/oauth/authorize',
6947
6947
  * token_url: 'https://sso.example.com/oauth/token',
@@ -10534,6 +10534,409 @@ declare class FluxbaseAdmin {
10534
10534
  resetUserPassword(userId: string, type?: "app" | "dashboard"): Promise<DataResponse<ResetUserPasswordResponse>>;
10535
10535
  }
10536
10536
 
10537
+ /**
10538
+ * Secrets Management module for Fluxbase SDK
10539
+ *
10540
+ * Provides methods for managing secrets that are injected into edge functions
10541
+ * and background jobs at runtime. Secrets are encrypted at rest and scoped
10542
+ * to either global or namespace level.
10543
+ *
10544
+ * @example
10545
+ * ```typescript
10546
+ * // Create a secret
10547
+ * const secret = await client.secrets.create({
10548
+ * name: 'API_KEY',
10549
+ * value: 'sk-your-api-key',
10550
+ * scope: 'global'
10551
+ * })
10552
+ *
10553
+ * // Get secret by name
10554
+ * const secret = await client.secrets.get('API_KEY')
10555
+ *
10556
+ * // Update secret by name
10557
+ * await client.secrets.update('API_KEY', { value: 'new-value' })
10558
+ *
10559
+ * // List all secrets
10560
+ * const secrets = await client.secrets.list()
10561
+ * ```
10562
+ *
10563
+ * @category Secrets
10564
+ */
10565
+
10566
+ /**
10567
+ * Represents a stored secret (metadata only, never includes value)
10568
+ */
10569
+ interface Secret {
10570
+ id: string;
10571
+ name: string;
10572
+ scope: 'global' | 'namespace';
10573
+ namespace?: string;
10574
+ description?: string;
10575
+ version: number;
10576
+ expires_at?: string;
10577
+ created_at: string;
10578
+ updated_at: string;
10579
+ created_by?: string;
10580
+ updated_by?: string;
10581
+ }
10582
+ /**
10583
+ * Summary of a secret for list responses
10584
+ */
10585
+ interface SecretSummary {
10586
+ id: string;
10587
+ name: string;
10588
+ scope: 'global' | 'namespace';
10589
+ namespace?: string;
10590
+ description?: string;
10591
+ version: number;
10592
+ expires_at?: string;
10593
+ is_expired: boolean;
10594
+ created_at: string;
10595
+ updated_at: string;
10596
+ created_by?: string;
10597
+ updated_by?: string;
10598
+ }
10599
+ /**
10600
+ * Represents a historical version of a secret
10601
+ */
10602
+ interface SecretVersion {
10603
+ id: string;
10604
+ secret_id: string;
10605
+ version: number;
10606
+ created_at: string;
10607
+ created_by?: string;
10608
+ }
10609
+ /**
10610
+ * Statistics about secrets
10611
+ */
10612
+ interface SecretStats {
10613
+ total: number;
10614
+ expiring_soon: number;
10615
+ expired: number;
10616
+ }
10617
+ /**
10618
+ * Request to create a new secret
10619
+ */
10620
+ interface CreateSecretRequest {
10621
+ name: string;
10622
+ value: string;
10623
+ scope?: 'global' | 'namespace';
10624
+ namespace?: string;
10625
+ description?: string;
10626
+ expires_at?: string;
10627
+ }
10628
+ /**
10629
+ * Request to update an existing secret
10630
+ */
10631
+ interface UpdateSecretRequest {
10632
+ value?: string;
10633
+ description?: string;
10634
+ expires_at?: string;
10635
+ }
10636
+ /**
10637
+ * Options for listing secrets
10638
+ */
10639
+ interface ListSecretsOptions {
10640
+ scope?: 'global' | 'namespace';
10641
+ namespace?: string;
10642
+ }
10643
+ /**
10644
+ * Options for name-based secret operations
10645
+ */
10646
+ interface SecretByNameOptions {
10647
+ namespace?: string;
10648
+ }
10649
+ /**
10650
+ * Secrets Manager for managing edge function and job secrets
10651
+ *
10652
+ * Provides both name-based (recommended) and UUID-based operations.
10653
+ * Name-based operations are more convenient for most use cases.
10654
+ *
10655
+ * @example
10656
+ * ```typescript
10657
+ * const client = createClient({ url: 'http://localhost:8080' })
10658
+ * await client.auth.login({ email: 'user@example.com', password: 'password' })
10659
+ *
10660
+ * // Create a global secret
10661
+ * const secret = await client.secrets.create({
10662
+ * name: 'STRIPE_KEY',
10663
+ * value: 'sk_live_xxx',
10664
+ * description: 'Stripe production API key'
10665
+ * })
10666
+ *
10667
+ * // Create a namespace-scoped secret
10668
+ * await client.secrets.create({
10669
+ * name: 'DATABASE_URL',
10670
+ * value: 'postgres://...',
10671
+ * scope: 'namespace',
10672
+ * namespace: 'production'
10673
+ * })
10674
+ *
10675
+ * // Get secret by name
10676
+ * const secret = await client.secrets.get('STRIPE_KEY')
10677
+ *
10678
+ * // Get namespace-scoped secret
10679
+ * const secret = await client.secrets.get('DATABASE_URL', { namespace: 'production' })
10680
+ *
10681
+ * // Update secret
10682
+ * await client.secrets.update('STRIPE_KEY', { value: 'sk_live_new_key' })
10683
+ *
10684
+ * // List all secrets
10685
+ * const secrets = await client.secrets.list()
10686
+ *
10687
+ * // Get version history
10688
+ * const versions = await client.secrets.getVersions('STRIPE_KEY')
10689
+ *
10690
+ * // Rollback to previous version
10691
+ * await client.secrets.rollback('STRIPE_KEY', 1)
10692
+ *
10693
+ * // Delete secret
10694
+ * await client.secrets.delete('STRIPE_KEY')
10695
+ * ```
10696
+ *
10697
+ * @category Secrets
10698
+ */
10699
+ declare class SecretsManager {
10700
+ private fetch;
10701
+ constructor(fetch: FluxbaseFetch);
10702
+ /**
10703
+ * Create a new secret
10704
+ *
10705
+ * Creates a new secret with the specified name, value, and scope.
10706
+ * The value is encrypted at rest and never returned by the API.
10707
+ *
10708
+ * @param request - Secret creation request
10709
+ * @returns Promise resolving to the created secret (metadata only)
10710
+ *
10711
+ * @example
10712
+ * ```typescript
10713
+ * // Create a global secret
10714
+ * const secret = await client.secrets.create({
10715
+ * name: 'SENDGRID_API_KEY',
10716
+ * value: 'SG.xxx',
10717
+ * description: 'SendGrid API key for transactional emails'
10718
+ * })
10719
+ *
10720
+ * // Create a namespace-scoped secret
10721
+ * const secret = await client.secrets.create({
10722
+ * name: 'DATABASE_URL',
10723
+ * value: 'postgres://user:pass@host:5432/db',
10724
+ * scope: 'namespace',
10725
+ * namespace: 'production',
10726
+ * description: 'Production database URL'
10727
+ * })
10728
+ *
10729
+ * // Create a secret with expiration
10730
+ * const secret = await client.secrets.create({
10731
+ * name: 'TEMP_TOKEN',
10732
+ * value: 'xyz123',
10733
+ * expires_at: '2025-12-31T23:59:59Z'
10734
+ * })
10735
+ * ```
10736
+ */
10737
+ create(request: CreateSecretRequest): Promise<Secret>;
10738
+ /**
10739
+ * Get a secret by name (metadata only, never includes value)
10740
+ *
10741
+ * @param name - Secret name
10742
+ * @param options - Optional namespace for namespace-scoped secrets
10743
+ * @returns Promise resolving to the secret
10744
+ *
10745
+ * @example
10746
+ * ```typescript
10747
+ * // Get a global secret
10748
+ * const secret = await client.secrets.get('API_KEY')
10749
+ *
10750
+ * // Get a namespace-scoped secret
10751
+ * const secret = await client.secrets.get('DATABASE_URL', { namespace: 'production' })
10752
+ * ```
10753
+ */
10754
+ get(name: string, options?: SecretByNameOptions): Promise<Secret>;
10755
+ /**
10756
+ * Update a secret by name
10757
+ *
10758
+ * Updates the secret's value, description, or expiration.
10759
+ * Only provided fields will be updated.
10760
+ *
10761
+ * @param name - Secret name
10762
+ * @param request - Update request
10763
+ * @param options - Optional namespace for namespace-scoped secrets
10764
+ * @returns Promise resolving to the updated secret
10765
+ *
10766
+ * @example
10767
+ * ```typescript
10768
+ * // Update secret value
10769
+ * const secret = await client.secrets.update('API_KEY', { value: 'new-value' })
10770
+ *
10771
+ * // Update description
10772
+ * const secret = await client.secrets.update('API_KEY', { description: 'Updated description' })
10773
+ *
10774
+ * // Update namespace-scoped secret
10775
+ * const secret = await client.secrets.update('DATABASE_URL',
10776
+ * { value: 'postgres://new-host:5432/db' },
10777
+ * { namespace: 'production' }
10778
+ * )
10779
+ * ```
10780
+ */
10781
+ update(name: string, request: UpdateSecretRequest, options?: SecretByNameOptions): Promise<Secret>;
10782
+ /**
10783
+ * Delete a secret by name
10784
+ *
10785
+ * Permanently deletes the secret and all its versions.
10786
+ *
10787
+ * @param name - Secret name
10788
+ * @param options - Optional namespace for namespace-scoped secrets
10789
+ * @returns Promise resolving when deletion is complete
10790
+ *
10791
+ * @example
10792
+ * ```typescript
10793
+ * // Delete a global secret
10794
+ * await client.secrets.delete('OLD_API_KEY')
10795
+ *
10796
+ * // Delete a namespace-scoped secret
10797
+ * await client.secrets.delete('DATABASE_URL', { namespace: 'staging' })
10798
+ * ```
10799
+ */
10800
+ delete(name: string, options?: SecretByNameOptions): Promise<void>;
10801
+ /**
10802
+ * Get version history for a secret by name
10803
+ *
10804
+ * Returns all historical versions of the secret (values are never included).
10805
+ *
10806
+ * @param name - Secret name
10807
+ * @param options - Optional namespace for namespace-scoped secrets
10808
+ * @returns Promise resolving to array of secret versions
10809
+ *
10810
+ * @example
10811
+ * ```typescript
10812
+ * const versions = await client.secrets.getVersions('API_KEY')
10813
+ *
10814
+ * versions.forEach(v => {
10815
+ * console.log(`Version ${v.version} created at ${v.created_at}`)
10816
+ * })
10817
+ * ```
10818
+ */
10819
+ getVersions(name: string, options?: SecretByNameOptions): Promise<SecretVersion[]>;
10820
+ /**
10821
+ * Rollback a secret to a previous version by name
10822
+ *
10823
+ * Restores the secret to a previous version's value.
10824
+ * This creates a new version with the old value.
10825
+ *
10826
+ * @param name - Secret name
10827
+ * @param version - Version number to rollback to
10828
+ * @param options - Optional namespace for namespace-scoped secrets
10829
+ * @returns Promise resolving to the updated secret
10830
+ *
10831
+ * @example
10832
+ * ```typescript
10833
+ * // Rollback to version 2
10834
+ * const secret = await client.secrets.rollback('API_KEY', 2)
10835
+ * console.log(`Secret now at version ${secret.version}`)
10836
+ * ```
10837
+ */
10838
+ rollback(name: string, version: number, options?: SecretByNameOptions): Promise<Secret>;
10839
+ /**
10840
+ * List all secrets (metadata only, never includes values)
10841
+ *
10842
+ * @param options - Filter options for scope and namespace
10843
+ * @returns Promise resolving to array of secret summaries
10844
+ *
10845
+ * @example
10846
+ * ```typescript
10847
+ * // List all secrets
10848
+ * const secrets = await client.secrets.list()
10849
+ *
10850
+ * // List only global secrets
10851
+ * const secrets = await client.secrets.list({ scope: 'global' })
10852
+ *
10853
+ * // List secrets for a specific namespace
10854
+ * const secrets = await client.secrets.list({ namespace: 'production' })
10855
+ *
10856
+ * secrets.forEach(s => {
10857
+ * console.log(`${s.name}: version ${s.version}, expired: ${s.is_expired}`)
10858
+ * })
10859
+ * ```
10860
+ */
10861
+ list(options?: ListSecretsOptions): Promise<SecretSummary[]>;
10862
+ /**
10863
+ * Get statistics about secrets
10864
+ *
10865
+ * @returns Promise resolving to secret statistics
10866
+ *
10867
+ * @example
10868
+ * ```typescript
10869
+ * const stats = await client.secrets.stats()
10870
+ * console.log(`Total: ${stats.total}, Expiring soon: ${stats.expiring_soon}, Expired: ${stats.expired}`)
10871
+ * ```
10872
+ */
10873
+ stats(): Promise<SecretStats>;
10874
+ /**
10875
+ * Get a secret by ID (metadata only)
10876
+ *
10877
+ * @param id - Secret UUID
10878
+ * @returns Promise resolving to the secret
10879
+ *
10880
+ * @example
10881
+ * ```typescript
10882
+ * const secret = await client.secrets.getById('550e8400-e29b-41d4-a716-446655440000')
10883
+ * ```
10884
+ */
10885
+ getById(id: string): Promise<Secret>;
10886
+ /**
10887
+ * Update a secret by ID
10888
+ *
10889
+ * @param id - Secret UUID
10890
+ * @param request - Update request
10891
+ * @returns Promise resolving to the updated secret
10892
+ *
10893
+ * @example
10894
+ * ```typescript
10895
+ * const secret = await client.secrets.updateById('550e8400-e29b-41d4-a716-446655440000', {
10896
+ * value: 'new-value'
10897
+ * })
10898
+ * ```
10899
+ */
10900
+ updateById(id: string, request: UpdateSecretRequest): Promise<Secret>;
10901
+ /**
10902
+ * Delete a secret by ID
10903
+ *
10904
+ * @param id - Secret UUID
10905
+ * @returns Promise resolving when deletion is complete
10906
+ *
10907
+ * @example
10908
+ * ```typescript
10909
+ * await client.secrets.deleteById('550e8400-e29b-41d4-a716-446655440000')
10910
+ * ```
10911
+ */
10912
+ deleteById(id: string): Promise<void>;
10913
+ /**
10914
+ * Get version history for a secret by ID
10915
+ *
10916
+ * @param id - Secret UUID
10917
+ * @returns Promise resolving to array of secret versions
10918
+ *
10919
+ * @example
10920
+ * ```typescript
10921
+ * const versions = await client.secrets.getVersionsById('550e8400-e29b-41d4-a716-446655440000')
10922
+ * ```
10923
+ */
10924
+ getVersionsById(id: string): Promise<SecretVersion[]>;
10925
+ /**
10926
+ * Rollback a secret to a previous version by ID
10927
+ *
10928
+ * @param id - Secret UUID
10929
+ * @param version - Version number to rollback to
10930
+ * @returns Promise resolving to the updated secret
10931
+ *
10932
+ * @example
10933
+ * ```typescript
10934
+ * const secret = await client.secrets.rollbackById('550e8400-e29b-41d4-a716-446655440000', 2)
10935
+ * ```
10936
+ */
10937
+ rollbackById(id: string, version: number): Promise<Secret>;
10938
+ }
10939
+
10537
10940
  /**
10538
10941
  * AI Chat module for interacting with AI chatbots
10539
10942
  * Provides WebSocket-based chat functionality with streaming support
@@ -12124,6 +12527,8 @@ declare class FluxbaseClient<Database = unknown, _SchemaName extends string & ke
12124
12527
  management: FluxbaseManagement;
12125
12528
  /** Settings module for reading public application settings (respects RLS policies) */
12126
12529
  settings: SettingsClient;
12530
+ /** Secrets module for managing edge function and job secrets */
12531
+ secrets: SecretsManager;
12127
12532
  /** AI module for chatbots and conversation history */
12128
12533
  ai: FluxbaseAI;
12129
12534
  /**
@@ -12608,4 +13013,4 @@ declare function isBoolean(value: unknown): value is boolean;
12608
13013
  */
12609
13014
  declare function assertType<T>(value: unknown, validator: (v: unknown) => v is T, errorMessage?: string): asserts value is T;
12610
13015
 
12611
- 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 };
13016
+ 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 CreateSecretRequest, 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 ListSecretsOptions, 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 Secret, type SecretByNameOptions, type SecretStats, type SecretSummary, type SecretVersion, SecretsManager, 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 UpdateSecretRequest, 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 };