@fluxbase/sdk 2026.1.1-rc.1 → 2026.1.1-rc.11
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 +76 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +198 -74
- package/dist/index.d.ts +198 -74
- package/dist/index.js +76 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -96,8 +96,8 @@ interface AuthResponse {
|
|
|
96
96
|
*/
|
|
97
97
|
interface Factor {
|
|
98
98
|
id: string;
|
|
99
|
-
type:
|
|
100
|
-
status:
|
|
99
|
+
type: "totp" | "phone";
|
|
100
|
+
status: "verified" | "unverified";
|
|
101
101
|
created_at: string;
|
|
102
102
|
updated_at: string;
|
|
103
103
|
friendly_name?: string;
|
|
@@ -115,7 +115,7 @@ interface TOTPSetup {
|
|
|
115
115
|
*/
|
|
116
116
|
interface TwoFactorSetupResponse {
|
|
117
117
|
id: string;
|
|
118
|
-
type:
|
|
118
|
+
type: "totp";
|
|
119
119
|
totp: TOTPSetup;
|
|
120
120
|
}
|
|
121
121
|
/**
|
|
@@ -163,7 +163,7 @@ interface FluxbaseError extends Error {
|
|
|
163
163
|
code?: string;
|
|
164
164
|
details?: unknown;
|
|
165
165
|
}
|
|
166
|
-
type HttpMethod =
|
|
166
|
+
type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE" | "HEAD";
|
|
167
167
|
interface RequestOptions {
|
|
168
168
|
method: HttpMethod;
|
|
169
169
|
headers?: Record<string, string>;
|
|
@@ -189,7 +189,7 @@ interface PostgrestResponse<T> {
|
|
|
189
189
|
* - 'planned': Uses PostgreSQL's query planner estimate (faster, less accurate)
|
|
190
190
|
* - 'estimated': Uses statistics-based estimate (fastest, least accurate)
|
|
191
191
|
*/
|
|
192
|
-
type CountType =
|
|
192
|
+
type CountType = "exact" | "planned" | "estimated";
|
|
193
193
|
/**
|
|
194
194
|
* Options for select queries (Supabase-compatible)
|
|
195
195
|
*/
|
|
@@ -205,19 +205,19 @@ interface SelectOptions {
|
|
|
205
205
|
*/
|
|
206
206
|
head?: boolean;
|
|
207
207
|
}
|
|
208
|
-
type FilterOperator =
|
|
208
|
+
type FilterOperator = "eq" | "neq" | "gt" | "gte" | "lt" | "lte" | "like" | "ilike" | "is" | "in" | "cs" | "cd" | "ov" | "sl" | "sr" | "nxr" | "nxl" | "adj" | "not" | "fts" | "plfts" | "wfts" | "st_intersects" | "st_contains" | "st_within" | "st_dwithin" | "st_distance" | "st_touches" | "st_crosses" | "st_overlaps" | "between" | "not.between" | "vec_l2" | "vec_cos" | "vec_ip";
|
|
209
209
|
interface QueryFilter {
|
|
210
210
|
column: string;
|
|
211
211
|
operator: FilterOperator;
|
|
212
212
|
value: unknown;
|
|
213
213
|
}
|
|
214
|
-
type OrderDirection =
|
|
214
|
+
type OrderDirection = "asc" | "desc";
|
|
215
215
|
interface OrderBy {
|
|
216
216
|
column: string;
|
|
217
217
|
direction: OrderDirection;
|
|
218
|
-
nulls?:
|
|
218
|
+
nulls?: "first" | "last";
|
|
219
219
|
/** Vector operator for similarity ordering (vec_l2, vec_cos, vec_ip) */
|
|
220
|
-
vectorOp?:
|
|
220
|
+
vectorOp?: "vec_l2" | "vec_cos" | "vec_ip";
|
|
221
221
|
/** Vector value for similarity ordering */
|
|
222
222
|
vectorValue?: number[];
|
|
223
223
|
}
|
|
@@ -243,7 +243,7 @@ interface UpsertOptions {
|
|
|
243
243
|
defaultToNull?: boolean;
|
|
244
244
|
}
|
|
245
245
|
interface RealtimeMessage {
|
|
246
|
-
type:
|
|
246
|
+
type: "subscribe" | "unsubscribe" | "heartbeat" | "broadcast" | "presence" | "ack" | "error" | "postgres_changes" | "access_token";
|
|
247
247
|
channel?: string;
|
|
248
248
|
event?: string;
|
|
249
249
|
schema?: string;
|
|
@@ -260,7 +260,7 @@ interface RealtimeMessage {
|
|
|
260
260
|
token?: string;
|
|
261
261
|
}
|
|
262
262
|
interface PostgresChangesConfig {
|
|
263
|
-
event:
|
|
263
|
+
event: "INSERT" | "UPDATE" | "DELETE" | "*";
|
|
264
264
|
schema: string;
|
|
265
265
|
table: string;
|
|
266
266
|
filter?: string;
|
|
@@ -271,7 +271,7 @@ interface PostgresChangesConfig {
|
|
|
271
271
|
*/
|
|
272
272
|
interface RealtimePostgresChangesPayload<T = unknown> {
|
|
273
273
|
/** Event type (Supabase-compatible field name) */
|
|
274
|
-
eventType:
|
|
274
|
+
eventType: "INSERT" | "UPDATE" | "DELETE" | "*";
|
|
275
275
|
/** Database schema */
|
|
276
276
|
schema: string;
|
|
277
277
|
/** Table name */
|
|
@@ -290,7 +290,7 @@ interface RealtimePostgresChangesPayload<T = unknown> {
|
|
|
290
290
|
*/
|
|
291
291
|
interface RealtimeChangePayload {
|
|
292
292
|
/** @deprecated Use eventType instead */
|
|
293
|
-
type:
|
|
293
|
+
type: "INSERT" | "UPDATE" | "DELETE";
|
|
294
294
|
schema: string;
|
|
295
295
|
table: string;
|
|
296
296
|
/** @deprecated Use 'new' instead */
|
|
@@ -324,7 +324,7 @@ interface PresenceState {
|
|
|
324
324
|
* Realtime presence payload structure
|
|
325
325
|
*/
|
|
326
326
|
interface RealtimePresencePayload {
|
|
327
|
-
event:
|
|
327
|
+
event: "sync" | "join" | "leave";
|
|
328
328
|
key?: string;
|
|
329
329
|
newPresences?: PresenceState[];
|
|
330
330
|
leftPresences?: PresenceState[];
|
|
@@ -338,7 +338,7 @@ type PresenceCallback = (payload: RealtimePresencePayload) => void;
|
|
|
338
338
|
* Broadcast message structure
|
|
339
339
|
*/
|
|
340
340
|
interface BroadcastMessage {
|
|
341
|
-
type:
|
|
341
|
+
type: "broadcast";
|
|
342
342
|
event: string;
|
|
343
343
|
payload: unknown;
|
|
344
344
|
}
|
|
@@ -556,7 +556,7 @@ interface ChunkedUploadSession {
|
|
|
556
556
|
/** Array of completed chunk indices (0-indexed) */
|
|
557
557
|
completedChunks: number[];
|
|
558
558
|
/** Session status */
|
|
559
|
-
status:
|
|
559
|
+
status: "active" | "completing" | "completed" | "aborted" | "expired";
|
|
560
560
|
/** Session expiration time */
|
|
561
561
|
expiresAt: string;
|
|
562
562
|
/** Session creation time */
|
|
@@ -564,11 +564,11 @@ interface ChunkedUploadSession {
|
|
|
564
564
|
}
|
|
565
565
|
interface ShareFileOptions {
|
|
566
566
|
userId: string;
|
|
567
|
-
permission:
|
|
567
|
+
permission: "read" | "write";
|
|
568
568
|
}
|
|
569
569
|
interface FileShare {
|
|
570
570
|
user_id: string;
|
|
571
|
-
permission:
|
|
571
|
+
permission: "read" | "write";
|
|
572
572
|
created_at: string;
|
|
573
573
|
}
|
|
574
574
|
interface BucketSettings {
|
|
@@ -656,23 +656,6 @@ interface OAuthLogoutResponse {
|
|
|
656
656
|
/** Warning message if something failed but logout still proceeded */
|
|
657
657
|
warning?: string;
|
|
658
658
|
}
|
|
659
|
-
/**
|
|
660
|
-
* SAML Identity Provider configuration
|
|
661
|
-
*/
|
|
662
|
-
interface SAMLProvider {
|
|
663
|
-
/** Unique provider identifier (slug name) */
|
|
664
|
-
id: string;
|
|
665
|
-
/** Display name of the provider */
|
|
666
|
-
name: string;
|
|
667
|
-
/** Whether the provider is enabled */
|
|
668
|
-
enabled: boolean;
|
|
669
|
-
/** Provider's entity ID (used for SP metadata) */
|
|
670
|
-
entity_id: string;
|
|
671
|
-
/** SSO endpoint URL */
|
|
672
|
-
sso_url: string;
|
|
673
|
-
/** Single Logout endpoint URL (optional) */
|
|
674
|
-
slo_url?: string;
|
|
675
|
-
}
|
|
676
659
|
/**
|
|
677
660
|
* Response containing list of SAML providers
|
|
678
661
|
*/
|
|
@@ -716,7 +699,7 @@ interface SAMLSession {
|
|
|
716
699
|
/** Session creation time */
|
|
717
700
|
created_at: string;
|
|
718
701
|
}
|
|
719
|
-
type OTPType =
|
|
702
|
+
type OTPType = "signup" | "invite" | "magiclink" | "recovery" | "email_change" | "sms" | "phone_change" | "email";
|
|
720
703
|
interface SignInWithOtpCredentials {
|
|
721
704
|
email?: string;
|
|
722
705
|
phone?: string;
|
|
@@ -738,7 +721,7 @@ interface VerifyOtpParams {
|
|
|
738
721
|
};
|
|
739
722
|
}
|
|
740
723
|
interface ResendOtpParams {
|
|
741
|
-
type:
|
|
724
|
+
type: "signup" | "sms" | "email";
|
|
742
725
|
email?: string;
|
|
743
726
|
phone?: string;
|
|
744
727
|
options?: {
|
|
@@ -772,7 +755,7 @@ interface ReauthenticateResponse {
|
|
|
772
755
|
nonce: string;
|
|
773
756
|
}
|
|
774
757
|
interface SignInWithIdTokenCredentials {
|
|
775
|
-
provider:
|
|
758
|
+
provider: "google" | "apple";
|
|
776
759
|
token: string;
|
|
777
760
|
nonce?: string;
|
|
778
761
|
options?: {
|
|
@@ -845,7 +828,7 @@ interface ListUsersOptions {
|
|
|
845
828
|
exclude_admins?: boolean;
|
|
846
829
|
search?: string;
|
|
847
830
|
limit?: number;
|
|
848
|
-
type?:
|
|
831
|
+
type?: "app" | "dashboard";
|
|
849
832
|
}
|
|
850
833
|
interface InviteUserRequest {
|
|
851
834
|
email: string;
|
|
@@ -984,7 +967,7 @@ interface Invitation {
|
|
|
984
967
|
}
|
|
985
968
|
interface CreateInvitationRequest {
|
|
986
969
|
email: string;
|
|
987
|
-
role:
|
|
970
|
+
role: "dashboard_admin" | "dashboard_user";
|
|
988
971
|
expiry_duration?: number;
|
|
989
972
|
}
|
|
990
973
|
interface CreateInvitationResponse {
|
|
@@ -1060,7 +1043,7 @@ interface CustomSetting {
|
|
|
1060
1043
|
id: string;
|
|
1061
1044
|
key: string;
|
|
1062
1045
|
value: Record<string, unknown>;
|
|
1063
|
-
value_type:
|
|
1046
|
+
value_type: "string" | "number" | "boolean" | "json";
|
|
1064
1047
|
description?: string;
|
|
1065
1048
|
editable_by: string[];
|
|
1066
1049
|
metadata?: Record<string, unknown>;
|
|
@@ -1146,7 +1129,7 @@ interface SESSettings {
|
|
|
1146
1129
|
*/
|
|
1147
1130
|
interface EmailSettings {
|
|
1148
1131
|
enabled: boolean;
|
|
1149
|
-
provider:
|
|
1132
|
+
provider: "smtp" | "sendgrid" | "mailgun" | "ses";
|
|
1150
1133
|
from_address?: string;
|
|
1151
1134
|
from_name?: string;
|
|
1152
1135
|
reply_to_address?: string;
|
|
@@ -1194,7 +1177,7 @@ interface UpdateAppSettingsRequest {
|
|
|
1194
1177
|
/**
|
|
1195
1178
|
* Email template type
|
|
1196
1179
|
*/
|
|
1197
|
-
type EmailTemplateType =
|
|
1180
|
+
type EmailTemplateType = "magic_link" | "verify_email" | "reset_password" | "invite_user";
|
|
1198
1181
|
/**
|
|
1199
1182
|
* Email template structure
|
|
1200
1183
|
*/
|
|
@@ -1243,7 +1226,7 @@ interface EmailSettingOverride {
|
|
|
1243
1226
|
*/
|
|
1244
1227
|
interface EmailProviderSettings {
|
|
1245
1228
|
enabled: boolean;
|
|
1246
|
-
provider:
|
|
1229
|
+
provider: "smtp" | "sendgrid" | "mailgun" | "ses";
|
|
1247
1230
|
from_address: string;
|
|
1248
1231
|
from_name: string;
|
|
1249
1232
|
smtp_host: string;
|
|
@@ -1268,7 +1251,7 @@ interface EmailProviderSettings {
|
|
|
1268
1251
|
*/
|
|
1269
1252
|
interface UpdateEmailProviderSettingsRequest {
|
|
1270
1253
|
enabled?: boolean;
|
|
1271
|
-
provider?:
|
|
1254
|
+
provider?: "smtp" | "sendgrid" | "mailgun" | "ses";
|
|
1272
1255
|
from_address?: string;
|
|
1273
1256
|
from_name?: string;
|
|
1274
1257
|
smtp_host?: string;
|
|
@@ -1390,6 +1373,8 @@ interface AuthSettings {
|
|
|
1390
1373
|
password_require_special: boolean;
|
|
1391
1374
|
session_timeout_minutes: number;
|
|
1392
1375
|
max_sessions_per_user: number;
|
|
1376
|
+
disable_dashboard_password_login: boolean;
|
|
1377
|
+
disable_app_password_login: boolean;
|
|
1393
1378
|
/** Settings overridden by environment variables (read-only, cannot be modified via API) */
|
|
1394
1379
|
_overrides?: Record<string, SettingOverride>;
|
|
1395
1380
|
}
|
|
@@ -1407,6 +1392,8 @@ interface UpdateAuthSettingsRequest {
|
|
|
1407
1392
|
password_require_special?: boolean;
|
|
1408
1393
|
session_timeout_minutes?: number;
|
|
1409
1394
|
max_sessions_per_user?: number;
|
|
1395
|
+
disable_dashboard_password_login?: boolean;
|
|
1396
|
+
disable_app_password_login?: boolean;
|
|
1410
1397
|
}
|
|
1411
1398
|
/**
|
|
1412
1399
|
* Response after updating authentication settings
|
|
@@ -1500,7 +1487,7 @@ interface ListTablesResponse {
|
|
|
1500
1487
|
/**
|
|
1501
1488
|
* Impersonation type
|
|
1502
1489
|
*/
|
|
1503
|
-
type ImpersonationType =
|
|
1490
|
+
type ImpersonationType = "user" | "anon" | "service";
|
|
1504
1491
|
/**
|
|
1505
1492
|
* Target user information for impersonation
|
|
1506
1493
|
*/
|
|
@@ -1594,11 +1581,11 @@ interface ListImpersonationSessionsResponse {
|
|
|
1594
1581
|
* - inside: Resize to fit within target, only scale down
|
|
1595
1582
|
* - outside: Resize to be at least as large as target
|
|
1596
1583
|
*/
|
|
1597
|
-
type ImageFitMode =
|
|
1584
|
+
type ImageFitMode = "cover" | "contain" | "fill" | "inside" | "outside";
|
|
1598
1585
|
/**
|
|
1599
1586
|
* Output format for image transformations
|
|
1600
1587
|
*/
|
|
1601
|
-
type ImageFormat =
|
|
1588
|
+
type ImageFormat = "webp" | "jpg" | "png" | "avif";
|
|
1602
1589
|
/**
|
|
1603
1590
|
* Options for on-the-fly image transformations
|
|
1604
1591
|
* Applied to storage downloads via query parameters
|
|
@@ -1622,7 +1609,7 @@ interface TransformOptions {
|
|
|
1622
1609
|
* - turnstile: Cloudflare's invisible CAPTCHA
|
|
1623
1610
|
* - cap: Self-hosted proof-of-work CAPTCHA (https://capjs.js.org/)
|
|
1624
1611
|
*/
|
|
1625
|
-
type CaptchaProvider =
|
|
1612
|
+
type CaptchaProvider = "hcaptcha" | "recaptcha_v3" | "turnstile" | "cap";
|
|
1626
1613
|
/**
|
|
1627
1614
|
* Public CAPTCHA configuration returned from the server
|
|
1628
1615
|
* Used by clients to know which CAPTCHA provider to load
|
|
@@ -1639,10 +1626,79 @@ interface CaptchaConfig {
|
|
|
1639
1626
|
/** Cap server URL - only present when provider is 'cap' */
|
|
1640
1627
|
cap_server_url?: string;
|
|
1641
1628
|
}
|
|
1629
|
+
/**
|
|
1630
|
+
* Public OAuth provider information
|
|
1631
|
+
*/
|
|
1632
|
+
interface OAuthProviderPublic {
|
|
1633
|
+
/** Provider identifier (e.g., "google", "github") */
|
|
1634
|
+
provider: string;
|
|
1635
|
+
/** Display name for UI */
|
|
1636
|
+
display_name: string;
|
|
1637
|
+
/** Authorization URL to initiate OAuth flow */
|
|
1638
|
+
authorize_url: string;
|
|
1639
|
+
}
|
|
1640
|
+
/**
|
|
1641
|
+
* SAML Identity Provider configuration
|
|
1642
|
+
*/
|
|
1643
|
+
interface SAMLProvider {
|
|
1644
|
+
/** Unique provider identifier (slug name) */
|
|
1645
|
+
id: string;
|
|
1646
|
+
/** Display name of the provider */
|
|
1647
|
+
name: string;
|
|
1648
|
+
/** Whether the provider is enabled */
|
|
1649
|
+
enabled: boolean;
|
|
1650
|
+
/** Provider's entity ID (used for SP metadata) */
|
|
1651
|
+
entity_id: string;
|
|
1652
|
+
/** SSO endpoint URL */
|
|
1653
|
+
sso_url: string;
|
|
1654
|
+
/** Single Logout endpoint URL (optional) */
|
|
1655
|
+
slo_url?: string;
|
|
1656
|
+
}
|
|
1657
|
+
/**
|
|
1658
|
+
* Public SAML provider information
|
|
1659
|
+
*/
|
|
1660
|
+
interface SAMLProvider {
|
|
1661
|
+
/** Provider identifier */
|
|
1662
|
+
provider: string;
|
|
1663
|
+
/** Display name for UI */
|
|
1664
|
+
display_name: string;
|
|
1665
|
+
}
|
|
1666
|
+
/**
|
|
1667
|
+
* Comprehensive authentication configuration
|
|
1668
|
+
* Returns all public auth settings from the server
|
|
1669
|
+
*/
|
|
1670
|
+
interface AuthConfig {
|
|
1671
|
+
/** Whether user signup is enabled */
|
|
1672
|
+
signup_enabled: boolean;
|
|
1673
|
+
/** Whether email verification is required after signup */
|
|
1674
|
+
require_email_verification: boolean;
|
|
1675
|
+
/** Whether magic link authentication is enabled */
|
|
1676
|
+
magic_link_enabled: boolean;
|
|
1677
|
+
/** Whether password login is enabled for app users */
|
|
1678
|
+
password_login_enabled: boolean;
|
|
1679
|
+
/** Whether MFA/2FA is available (always true, users opt-in) */
|
|
1680
|
+
mfa_available: boolean;
|
|
1681
|
+
/** Minimum password length requirement */
|
|
1682
|
+
password_min_length: number;
|
|
1683
|
+
/** Whether passwords must contain uppercase letters */
|
|
1684
|
+
password_require_uppercase: boolean;
|
|
1685
|
+
/** Whether passwords must contain lowercase letters */
|
|
1686
|
+
password_require_lowercase: boolean;
|
|
1687
|
+
/** Whether passwords must contain numbers */
|
|
1688
|
+
password_require_number: boolean;
|
|
1689
|
+
/** Whether passwords must contain special characters */
|
|
1690
|
+
password_require_special: boolean;
|
|
1691
|
+
/** Available OAuth providers for authentication */
|
|
1692
|
+
oauth_providers: OAuthProviderPublic[];
|
|
1693
|
+
/** Available SAML providers for enterprise SSO */
|
|
1694
|
+
saml_providers: SAMLProvider[];
|
|
1695
|
+
/** CAPTCHA configuration */
|
|
1696
|
+
captcha: CaptchaConfig | null;
|
|
1697
|
+
}
|
|
1642
1698
|
/**
|
|
1643
1699
|
* Auth state change events
|
|
1644
1700
|
*/
|
|
1645
|
-
type AuthChangeEvent =
|
|
1701
|
+
type AuthChangeEvent = "SIGNED_IN" | "SIGNED_OUT" | "TOKEN_REFRESHED" | "USER_UPDATED" | "PASSWORD_RECOVERY" | "MFA_CHALLENGE_VERIFIED";
|
|
1646
1702
|
/**
|
|
1647
1703
|
* Callback for auth state changes
|
|
1648
1704
|
*/
|
|
@@ -1672,7 +1728,7 @@ interface FunctionInvokeOptions {
|
|
|
1672
1728
|
* HTTP method to use
|
|
1673
1729
|
* @default 'POST'
|
|
1674
1730
|
*/
|
|
1675
|
-
method?:
|
|
1731
|
+
method?: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
|
|
1676
1732
|
/**
|
|
1677
1733
|
* Namespace of the function to invoke
|
|
1678
1734
|
* If not provided, the first function with the given name is used (alphabetically by namespace)
|
|
@@ -1742,7 +1798,7 @@ interface EdgeFunctionExecution {
|
|
|
1742
1798
|
id: string;
|
|
1743
1799
|
function_id: string;
|
|
1744
1800
|
trigger_type: string;
|
|
1745
|
-
status:
|
|
1801
|
+
status: "success" | "error";
|
|
1746
1802
|
status_code?: number;
|
|
1747
1803
|
duration_ms?: number;
|
|
1748
1804
|
result?: string;
|
|
@@ -1802,7 +1858,7 @@ interface SyncError {
|
|
|
1802
1858
|
/** Error message */
|
|
1803
1859
|
error: string;
|
|
1804
1860
|
/** Operation that failed */
|
|
1805
|
-
action:
|
|
1861
|
+
action: "create" | "update" | "delete" | "bundle";
|
|
1806
1862
|
}
|
|
1807
1863
|
/**
|
|
1808
1864
|
* Result of a function sync operation
|
|
@@ -1901,7 +1957,7 @@ interface UpdateJobFunctionRequest {
|
|
|
1901
1957
|
/**
|
|
1902
1958
|
* Job execution status
|
|
1903
1959
|
*/
|
|
1904
|
-
type JobStatus =
|
|
1960
|
+
type JobStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "timeout";
|
|
1905
1961
|
/**
|
|
1906
1962
|
* Job execution record
|
|
1907
1963
|
*/
|
|
@@ -1967,7 +2023,7 @@ interface JobStats {
|
|
|
1967
2023
|
interface JobWorker {
|
|
1968
2024
|
id: string;
|
|
1969
2025
|
hostname: string;
|
|
1970
|
-
status:
|
|
2026
|
+
status: "active" | "idle" | "dead";
|
|
1971
2027
|
current_jobs: number;
|
|
1972
2028
|
total_completed: number;
|
|
1973
2029
|
started_at: string;
|
|
@@ -2044,7 +2100,7 @@ interface Migration {
|
|
|
2044
2100
|
up_sql: string;
|
|
2045
2101
|
down_sql?: string;
|
|
2046
2102
|
version: number;
|
|
2047
|
-
status:
|
|
2103
|
+
status: "pending" | "applied" | "failed" | "rolled_back";
|
|
2048
2104
|
created_by?: string;
|
|
2049
2105
|
applied_by?: string;
|
|
2050
2106
|
created_at: string;
|
|
@@ -2076,8 +2132,8 @@ interface UpdateMigrationRequest {
|
|
|
2076
2132
|
interface MigrationExecution {
|
|
2077
2133
|
id: string;
|
|
2078
2134
|
migration_id: string;
|
|
2079
|
-
action:
|
|
2080
|
-
status:
|
|
2135
|
+
action: "apply" | "rollback";
|
|
2136
|
+
status: "success" | "failed";
|
|
2081
2137
|
duration_ms?: number;
|
|
2082
2138
|
error_message?: string;
|
|
2083
2139
|
logs?: string;
|
|
@@ -2147,7 +2203,7 @@ interface SyncMigrationsResult {
|
|
|
2147
2203
|
/**
|
|
2148
2204
|
* AI provider type
|
|
2149
2205
|
*/
|
|
2150
|
-
type AIProviderType =
|
|
2206
|
+
type AIProviderType = "openai" | "azure" | "ollama";
|
|
2151
2207
|
/**
|
|
2152
2208
|
* AI provider configuration
|
|
2153
2209
|
*/
|
|
@@ -2157,6 +2213,10 @@ interface AIProvider {
|
|
|
2157
2213
|
display_name: string;
|
|
2158
2214
|
provider_type: AIProviderType;
|
|
2159
2215
|
is_default: boolean;
|
|
2216
|
+
/** When true, this provider is explicitly used for embeddings. null means auto (follow default provider) */
|
|
2217
|
+
use_for_embeddings: boolean | null;
|
|
2218
|
+
/** Embedding model for this provider. null means use provider-specific default */
|
|
2219
|
+
embedding_model: string | null;
|
|
2160
2220
|
enabled: boolean;
|
|
2161
2221
|
config: Record<string, string>;
|
|
2162
2222
|
/** True if provider was configured via environment variables or fluxbase.yaml */
|
|
@@ -2176,6 +2236,8 @@ interface CreateAIProviderRequest {
|
|
|
2176
2236
|
provider_type: AIProviderType;
|
|
2177
2237
|
is_default?: boolean;
|
|
2178
2238
|
enabled?: boolean;
|
|
2239
|
+
/** Embedding model for this provider. null or omit to use provider-specific default */
|
|
2240
|
+
embedding_model?: string | null;
|
|
2179
2241
|
config: Record<string, string | number | boolean>;
|
|
2180
2242
|
}
|
|
2181
2243
|
/**
|
|
@@ -2186,6 +2248,8 @@ interface UpdateAIProviderRequest {
|
|
|
2186
2248
|
display_name?: string;
|
|
2187
2249
|
config?: Record<string, string | number | boolean>;
|
|
2188
2250
|
enabled?: boolean;
|
|
2251
|
+
/** Embedding model for this provider. null to reset to provider-specific default */
|
|
2252
|
+
embedding_model?: string | null;
|
|
2189
2253
|
}
|
|
2190
2254
|
/**
|
|
2191
2255
|
* AI chatbot summary (list view)
|
|
@@ -2282,12 +2346,12 @@ interface SyncChatbotsResult {
|
|
|
2282
2346
|
/**
|
|
2283
2347
|
* AI chat message role
|
|
2284
2348
|
*/
|
|
2285
|
-
type AIChatMessageRole =
|
|
2349
|
+
type AIChatMessageRole = "user" | "assistant" | "system" | "tool";
|
|
2286
2350
|
/**
|
|
2287
2351
|
* AI chat message for WebSocket
|
|
2288
2352
|
*/
|
|
2289
2353
|
interface AIChatClientMessage {
|
|
2290
|
-
type:
|
|
2354
|
+
type: "start_chat" | "message" | "cancel";
|
|
2291
2355
|
chatbot?: string;
|
|
2292
2356
|
namespace?: string;
|
|
2293
2357
|
conversation_id?: string;
|
|
@@ -2298,7 +2362,7 @@ interface AIChatClientMessage {
|
|
|
2298
2362
|
* AI chat server message
|
|
2299
2363
|
*/
|
|
2300
2364
|
interface AIChatServerMessage {
|
|
2301
|
-
type:
|
|
2365
|
+
type: "chat_started" | "progress" | "content" | "query_result" | "done" | "error" | "cancelled";
|
|
2302
2366
|
conversation_id?: string;
|
|
2303
2367
|
message_id?: string;
|
|
2304
2368
|
chatbot?: string;
|
|
@@ -2330,7 +2394,7 @@ interface AIConversation {
|
|
|
2330
2394
|
user_id?: string;
|
|
2331
2395
|
session_id?: string;
|
|
2332
2396
|
title?: string;
|
|
2333
|
-
status:
|
|
2397
|
+
status: "active" | "archived";
|
|
2334
2398
|
turn_count: number;
|
|
2335
2399
|
total_prompt_tokens: number;
|
|
2336
2400
|
total_completion_tokens: number;
|
|
@@ -2394,7 +2458,7 @@ interface AIUserUsageStats {
|
|
|
2394
2458
|
*/
|
|
2395
2459
|
interface AIUserMessage {
|
|
2396
2460
|
id: string;
|
|
2397
|
-
role:
|
|
2461
|
+
role: "user" | "assistant";
|
|
2398
2462
|
content: string;
|
|
2399
2463
|
timestamp: string;
|
|
2400
2464
|
query_results?: AIUserQueryResult[];
|
|
@@ -2495,7 +2559,7 @@ interface UpdateKnowledgeBaseRequest {
|
|
|
2495
2559
|
/**
|
|
2496
2560
|
* Document status
|
|
2497
2561
|
*/
|
|
2498
|
-
type DocumentStatus =
|
|
2562
|
+
type DocumentStatus = "pending" | "processing" | "indexed" | "failed";
|
|
2499
2563
|
/**
|
|
2500
2564
|
* Document in a knowledge base
|
|
2501
2565
|
*/
|
|
@@ -2746,7 +2810,7 @@ interface RPCProcedure extends RPCProcedureSummary {
|
|
|
2746
2810
|
/**
|
|
2747
2811
|
* RPC execution status
|
|
2748
2812
|
*/
|
|
2749
|
-
type RPCExecutionStatus =
|
|
2813
|
+
type RPCExecutionStatus = "pending" | "running" | "completed" | "failed" | "cancelled" | "timeout";
|
|
2750
2814
|
/**
|
|
2751
2815
|
* RPC execution record
|
|
2752
2816
|
*/
|
|
@@ -2878,7 +2942,7 @@ interface RPCExecutionFilters {
|
|
|
2878
2942
|
* - cosine: Cosine distance - lower is more similar (1 - cosine similarity)
|
|
2879
2943
|
* - inner_product: Negative inner product - lower is more similar
|
|
2880
2944
|
*/
|
|
2881
|
-
type VectorMetric =
|
|
2945
|
+
type VectorMetric = "l2" | "cosine" | "inner_product";
|
|
2882
2946
|
/**
|
|
2883
2947
|
* Options for vector similarity ordering
|
|
2884
2948
|
*/
|
|
@@ -2898,6 +2962,8 @@ interface EmbedRequest {
|
|
|
2898
2962
|
texts?: string[];
|
|
2899
2963
|
/** Embedding model to use (defaults to configured model) */
|
|
2900
2964
|
model?: string;
|
|
2965
|
+
/** Provider ID to use for embedding (admin-only, defaults to configured embedding provider) */
|
|
2966
|
+
provider?: string;
|
|
2901
2967
|
}
|
|
2902
2968
|
/**
|
|
2903
2969
|
* Response from vector embedding generation
|
|
@@ -2952,11 +3018,11 @@ interface VectorSearchResult<T = Record<string, unknown>> {
|
|
|
2952
3018
|
/**
|
|
2953
3019
|
* Log level for execution logs
|
|
2954
3020
|
*/
|
|
2955
|
-
type ExecutionLogLevel =
|
|
3021
|
+
type ExecutionLogLevel = "debug" | "info" | "warn" | "error";
|
|
2956
3022
|
/**
|
|
2957
3023
|
* Execution type for log subscriptions
|
|
2958
3024
|
*/
|
|
2959
|
-
type ExecutionType =
|
|
3025
|
+
type ExecutionType = "function" | "job" | "rpc";
|
|
2960
3026
|
/**
|
|
2961
3027
|
* Execution log event received from realtime subscription
|
|
2962
3028
|
*/
|
|
@@ -2992,15 +3058,15 @@ interface ExecutionLogConfig {
|
|
|
2992
3058
|
/**
|
|
2993
3059
|
* Branch status
|
|
2994
3060
|
*/
|
|
2995
|
-
type BranchStatus =
|
|
3061
|
+
type BranchStatus = "creating" | "ready" | "migrating" | "error" | "deleting" | "deleted";
|
|
2996
3062
|
/**
|
|
2997
3063
|
* Branch type
|
|
2998
3064
|
*/
|
|
2999
|
-
type BranchType =
|
|
3065
|
+
type BranchType = "main" | "preview" | "persistent";
|
|
3000
3066
|
/**
|
|
3001
3067
|
* Data clone mode when creating a branch
|
|
3002
3068
|
*/
|
|
3003
|
-
type DataCloneMode =
|
|
3069
|
+
type DataCloneMode = "schema_only" | "full_clone" | "seed_data";
|
|
3004
3070
|
/**
|
|
3005
3071
|
* Database branch information
|
|
3006
3072
|
*/
|
|
@@ -3094,7 +3160,7 @@ interface BranchActivity {
|
|
|
3094
3160
|
/** Action performed */
|
|
3095
3161
|
action: string;
|
|
3096
3162
|
/** Activity status */
|
|
3097
|
-
status:
|
|
3163
|
+
status: "success" | "failed" | "pending";
|
|
3098
3164
|
/** Additional details */
|
|
3099
3165
|
details?: Record<string, unknown>;
|
|
3100
3166
|
/** User who performed the action */
|
|
@@ -3707,6 +3773,29 @@ declare class FluxbaseAuth {
|
|
|
3707
3773
|
* @returns Promise with CAPTCHA configuration (provider, site key, enabled endpoints)
|
|
3708
3774
|
*/
|
|
3709
3775
|
getCaptchaConfig(): Promise<DataResponse<CaptchaConfig>>;
|
|
3776
|
+
/**
|
|
3777
|
+
* Get comprehensive authentication configuration from the server
|
|
3778
|
+
* Returns all public auth settings including signup status, OAuth providers,
|
|
3779
|
+
* SAML providers, password requirements, and CAPTCHA config in a single request.
|
|
3780
|
+
*
|
|
3781
|
+
* Use this to:
|
|
3782
|
+
* - Conditionally render signup forms based on signup_enabled
|
|
3783
|
+
* - Display available OAuth/SAML provider buttons
|
|
3784
|
+
* - Show password requirements to users
|
|
3785
|
+
* - Configure CAPTCHA widgets
|
|
3786
|
+
*
|
|
3787
|
+
* @returns Promise with complete authentication configuration
|
|
3788
|
+
* @example
|
|
3789
|
+
* ```typescript
|
|
3790
|
+
* const { data, error } = await client.auth.getAuthConfig();
|
|
3791
|
+
* if (data) {
|
|
3792
|
+
* console.log('Signup enabled:', data.signup_enabled);
|
|
3793
|
+
* console.log('OAuth providers:', data.oauth_providers);
|
|
3794
|
+
* console.log('Password min length:', data.password_min_length);
|
|
3795
|
+
* }
|
|
3796
|
+
* ```
|
|
3797
|
+
*/
|
|
3798
|
+
getAuthConfig(): Promise<DataResponse<AuthConfig>>;
|
|
3710
3799
|
/**
|
|
3711
3800
|
* Sign out the current user
|
|
3712
3801
|
*/
|
|
@@ -8344,6 +8433,41 @@ declare class FluxbaseAdminAI {
|
|
|
8344
8433
|
data: null;
|
|
8345
8434
|
error: Error | null;
|
|
8346
8435
|
}>;
|
|
8436
|
+
/**
|
|
8437
|
+
* Set a provider as the embedding provider
|
|
8438
|
+
*
|
|
8439
|
+
* @param id - Provider ID
|
|
8440
|
+
* @returns Promise resolving to { data, error } tuple
|
|
8441
|
+
*
|
|
8442
|
+
* @example
|
|
8443
|
+
* ```typescript
|
|
8444
|
+
* const { data, error } = await client.admin.ai.setEmbeddingProvider('uuid')
|
|
8445
|
+
* ```
|
|
8446
|
+
*/
|
|
8447
|
+
setEmbeddingProvider(id: string): Promise<{
|
|
8448
|
+
data: {
|
|
8449
|
+
id: string;
|
|
8450
|
+
use_for_embeddings: boolean;
|
|
8451
|
+
} | null;
|
|
8452
|
+
error: Error | null;
|
|
8453
|
+
}>;
|
|
8454
|
+
/**
|
|
8455
|
+
* Clear explicit embedding provider preference (revert to default)
|
|
8456
|
+
*
|
|
8457
|
+
* @param id - Provider ID to clear
|
|
8458
|
+
* @returns Promise resolving to { data, error } tuple
|
|
8459
|
+
*
|
|
8460
|
+
* @example
|
|
8461
|
+
* ```typescript
|
|
8462
|
+
* const { data, error } = await client.admin.ai.clearEmbeddingProvider('uuid')
|
|
8463
|
+
* ```
|
|
8464
|
+
*/
|
|
8465
|
+
clearEmbeddingProvider(id: string): Promise<{
|
|
8466
|
+
data: {
|
|
8467
|
+
use_for_embeddings: boolean;
|
|
8468
|
+
} | null;
|
|
8469
|
+
error: Error | null;
|
|
8470
|
+
}>;
|
|
8347
8471
|
/**
|
|
8348
8472
|
* List all knowledge bases
|
|
8349
8473
|
*
|
|
@@ -11385,4 +11509,4 @@ declare function isBoolean(value: unknown): value is boolean;
|
|
|
11385
11509
|
*/
|
|
11386
11510
|
declare function assertType<T>(value: unknown, validator: (v: unknown) => v is T, errorMessage?: string): asserts value is T;
|
|
11387
11511
|
|
|
11388
|
-
export { type AIChatClientMessage, type AIChatEvent, type AIChatEventType, type AIChatMessageRole, type AIChatOptions, type AIChatServerMessage, type AIChatbot, 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 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 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 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, 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 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 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 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 UpdateSystemSettingRequest, type UpdateUserAttributes, type UpdateUserRoleRequest, type UpdateWebhookRequest, type UploadOptions, type UploadProgress, type UpsertOptions, type User, type UserResponse, 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 };
|
|
11512
|
+
export { type AIChatClientMessage, type AIChatEvent, type AIChatEventType, type AIChatMessageRole, type AIChatOptions, type AIChatServerMessage, type AIChatbot, 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 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 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, 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 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 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 UpdateSystemSettingRequest, type UpdateUserAttributes, type UpdateUserRoleRequest, type UpdateWebhookRequest, type UploadOptions, type UploadProgress, type UpsertOptions, type User, type UserResponse, 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 };
|