@elevasis/ui 2.51.0 → 2.52.0
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/app/index.d.ts +82 -151
- package/dist/app/index.js +6 -5
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +4 -4
- package/dist/{chunk-SBNC3FRX.js → chunk-CPIQ5GXG.js} +394 -112
- package/dist/{chunk-GUKY77FJ.js → chunk-E6NSKXYN.js} +12 -4
- package/dist/{chunk-7FPLLSHN.js → chunk-I3CFGE3N.js} +6 -0
- package/dist/chunk-M7WWRZ5Z.js +159 -0
- package/dist/components/chat/index.d.ts +9 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.d.ts +98 -155
- package/dist/components/index.js +4 -4
- package/dist/components/navigation/index.js +4 -4
- package/dist/execution/index.d.ts +2 -0
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.d.ts +80 -150
- package/dist/features/auth/index.js +5 -5
- package/dist/features/clients/index.js +4 -4
- package/dist/features/crm/index.d.ts +80 -150
- package/dist/features/crm/index.js +4 -4
- package/dist/features/dashboard/index.js +4 -4
- package/dist/features/delivery/index.d.ts +80 -150
- package/dist/features/delivery/index.js +4 -4
- package/dist/features/knowledge/index.js +4 -4
- package/dist/features/lead-gen/index.js +4 -4
- package/dist/features/monitoring/index.d.ts +1 -1
- package/dist/features/monitoring/index.js +4 -4
- package/dist/features/monitoring/requests/index.js +5 -5
- package/dist/features/operations/index.js +4 -4
- package/dist/features/public-agent-chat/index.d.ts +17 -3
- package/dist/features/public-agent-chat/index.js +313 -113
- package/dist/features/settings/index.d.ts +80 -150
- package/dist/features/settings/index.js +4 -4
- package/dist/hooks/access/index.js +4 -4
- package/dist/hooks/delivery/index.d.ts +80 -150
- package/dist/hooks/delivery/index.js +4 -4
- package/dist/hooks/index.d.ts +98 -152
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +98 -152
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +116 -155
- package/dist/index.js +4 -4
- package/dist/initialization/index.d.ts +80 -150
- package/dist/knowledge/index.js +5 -5
- package/dist/layout/index.js +4 -4
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +80 -150
- package/dist/provider/index.d.ts +80 -150
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +80 -150
- package/dist/provider/published.js +4 -4
- package/dist/supabase/index.d.ts +159 -292
- package/dist/types/index.d.ts +81 -151
- package/package.json +3 -3
- package/dist/chunk-EJL4U7OZ.js +0 -79
|
@@ -6,9 +6,6 @@ type Json = string | number | boolean | null | {
|
|
|
6
6
|
[key: string]: Json | undefined;
|
|
7
7
|
} | Json[];
|
|
8
8
|
type Database = {
|
|
9
|
-
__InternalSupabase: {
|
|
10
|
-
PostgrestVersion: "12.2.3 (519615d)";
|
|
11
|
-
};
|
|
12
9
|
public: {
|
|
13
10
|
Tables: {
|
|
14
11
|
acq_artifacts: {
|
|
@@ -1208,6 +1205,74 @@ type Database = {
|
|
|
1208
1205
|
}
|
|
1209
1206
|
];
|
|
1210
1207
|
};
|
|
1208
|
+
agent_access_grants: {
|
|
1209
|
+
Row: {
|
|
1210
|
+
allowed_origins: string[];
|
|
1211
|
+
branding: Json;
|
|
1212
|
+
capture_fields: Json;
|
|
1213
|
+
code_hash: string | null;
|
|
1214
|
+
code_salt: string | null;
|
|
1215
|
+
created_at: string;
|
|
1216
|
+
disabled_at: string | null;
|
|
1217
|
+
expires_at: string | null;
|
|
1218
|
+
id: string;
|
|
1219
|
+
max_sessions_per_visitor: number;
|
|
1220
|
+
max_turns_per_session: number;
|
|
1221
|
+
mode: string;
|
|
1222
|
+
organization_id: string;
|
|
1223
|
+
resource_id: string;
|
|
1224
|
+
slug: string;
|
|
1225
|
+
tool_policy: Json;
|
|
1226
|
+
updated_at: string;
|
|
1227
|
+
};
|
|
1228
|
+
Insert: {
|
|
1229
|
+
allowed_origins?: string[];
|
|
1230
|
+
branding?: Json;
|
|
1231
|
+
capture_fields?: Json;
|
|
1232
|
+
code_hash?: string | null;
|
|
1233
|
+
code_salt?: string | null;
|
|
1234
|
+
created_at?: string;
|
|
1235
|
+
disabled_at?: string | null;
|
|
1236
|
+
expires_at?: string | null;
|
|
1237
|
+
id?: string;
|
|
1238
|
+
max_sessions_per_visitor?: number;
|
|
1239
|
+
max_turns_per_session?: number;
|
|
1240
|
+
mode?: string;
|
|
1241
|
+
organization_id: string;
|
|
1242
|
+
resource_id: string;
|
|
1243
|
+
slug: string;
|
|
1244
|
+
tool_policy?: Json;
|
|
1245
|
+
updated_at?: string;
|
|
1246
|
+
};
|
|
1247
|
+
Update: {
|
|
1248
|
+
allowed_origins?: string[];
|
|
1249
|
+
branding?: Json;
|
|
1250
|
+
capture_fields?: Json;
|
|
1251
|
+
code_hash?: string | null;
|
|
1252
|
+
code_salt?: string | null;
|
|
1253
|
+
created_at?: string;
|
|
1254
|
+
disabled_at?: string | null;
|
|
1255
|
+
expires_at?: string | null;
|
|
1256
|
+
id?: string;
|
|
1257
|
+
max_sessions_per_visitor?: number;
|
|
1258
|
+
max_turns_per_session?: number;
|
|
1259
|
+
mode?: string;
|
|
1260
|
+
organization_id?: string;
|
|
1261
|
+
resource_id?: string;
|
|
1262
|
+
slug?: string;
|
|
1263
|
+
tool_policy?: Json;
|
|
1264
|
+
updated_at?: string;
|
|
1265
|
+
};
|
|
1266
|
+
Relationships: [
|
|
1267
|
+
{
|
|
1268
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
1269
|
+
columns: ["organization_id"];
|
|
1270
|
+
isOneToOne: false;
|
|
1271
|
+
referencedRelation: "organizations";
|
|
1272
|
+
referencedColumns: ["id"];
|
|
1273
|
+
}
|
|
1274
|
+
];
|
|
1275
|
+
};
|
|
1211
1276
|
api_keys: {
|
|
1212
1277
|
Row: {
|
|
1213
1278
|
created_at: string | null;
|
|
@@ -2115,138 +2180,6 @@ type Database = {
|
|
|
2115
2180
|
};
|
|
2116
2181
|
Relationships: [];
|
|
2117
2182
|
};
|
|
2118
|
-
agent_access_grants: {
|
|
2119
|
-
Row: {
|
|
2120
|
-
allowed_origins: string[];
|
|
2121
|
-
branding: Json;
|
|
2122
|
-
capture_fields: Json;
|
|
2123
|
-
code_hash: string | null;
|
|
2124
|
-
code_salt: string | null;
|
|
2125
|
-
created_at: string;
|
|
2126
|
-
disabled_at: string | null;
|
|
2127
|
-
expires_at: string | null;
|
|
2128
|
-
id: string;
|
|
2129
|
-
max_sessions_per_visitor: number;
|
|
2130
|
-
max_turns_per_session: number;
|
|
2131
|
-
mode: string;
|
|
2132
|
-
organization_id: string;
|
|
2133
|
-
resource_id: string;
|
|
2134
|
-
slug: string;
|
|
2135
|
-
tool_policy: Json;
|
|
2136
|
-
updated_at: string;
|
|
2137
|
-
};
|
|
2138
|
-
Insert: {
|
|
2139
|
-
allowed_origins?: string[];
|
|
2140
|
-
branding?: Json;
|
|
2141
|
-
capture_fields?: Json;
|
|
2142
|
-
code_hash?: string | null;
|
|
2143
|
-
code_salt?: string | null;
|
|
2144
|
-
created_at?: string;
|
|
2145
|
-
disabled_at?: string | null;
|
|
2146
|
-
expires_at?: string | null;
|
|
2147
|
-
id?: string;
|
|
2148
|
-
max_sessions_per_visitor?: number;
|
|
2149
|
-
max_turns_per_session?: number;
|
|
2150
|
-
mode?: string;
|
|
2151
|
-
organization_id: string;
|
|
2152
|
-
resource_id: string;
|
|
2153
|
-
slug: string;
|
|
2154
|
-
tool_policy?: Json;
|
|
2155
|
-
updated_at?: string;
|
|
2156
|
-
};
|
|
2157
|
-
Update: {
|
|
2158
|
-
allowed_origins?: string[];
|
|
2159
|
-
branding?: Json;
|
|
2160
|
-
capture_fields?: Json;
|
|
2161
|
-
code_hash?: string | null;
|
|
2162
|
-
code_salt?: string | null;
|
|
2163
|
-
created_at?: string;
|
|
2164
|
-
disabled_at?: string | null;
|
|
2165
|
-
expires_at?: string | null;
|
|
2166
|
-
id?: string;
|
|
2167
|
-
max_sessions_per_visitor?: number;
|
|
2168
|
-
max_turns_per_session?: number;
|
|
2169
|
-
mode?: string;
|
|
2170
|
-
organization_id?: string;
|
|
2171
|
-
resource_id?: string;
|
|
2172
|
-
slug?: string;
|
|
2173
|
-
tool_policy?: Json;
|
|
2174
|
-
updated_at?: string;
|
|
2175
|
-
};
|
|
2176
|
-
Relationships: [
|
|
2177
|
-
{
|
|
2178
|
-
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
2179
|
-
columns: ["organization_id"];
|
|
2180
|
-
isOneToOne: false;
|
|
2181
|
-
referencedRelation: "organizations";
|
|
2182
|
-
referencedColumns: ["id"];
|
|
2183
|
-
}
|
|
2184
|
-
];
|
|
2185
|
-
};
|
|
2186
|
-
agent_chat_capabilities: {
|
|
2187
|
-
Row: {
|
|
2188
|
-
created_at: string;
|
|
2189
|
-
expires_at: string;
|
|
2190
|
-
grant_id: string;
|
|
2191
|
-
id: string;
|
|
2192
|
-
organization_id: string;
|
|
2193
|
-
origin: string | null;
|
|
2194
|
-
resource_id: string;
|
|
2195
|
-
revoked_at: string | null;
|
|
2196
|
-
session_id: string | null;
|
|
2197
|
-
token_hash: string;
|
|
2198
|
-
visitor_id: string | null;
|
|
2199
|
-
};
|
|
2200
|
-
Insert: {
|
|
2201
|
-
created_at?: string;
|
|
2202
|
-
expires_at: string;
|
|
2203
|
-
grant_id: string;
|
|
2204
|
-
id?: string;
|
|
2205
|
-
organization_id: string;
|
|
2206
|
-
origin?: string | null;
|
|
2207
|
-
resource_id: string;
|
|
2208
|
-
revoked_at?: string | null;
|
|
2209
|
-
session_id?: string | null;
|
|
2210
|
-
token_hash: string;
|
|
2211
|
-
visitor_id?: string | null;
|
|
2212
|
-
};
|
|
2213
|
-
Update: {
|
|
2214
|
-
created_at?: string;
|
|
2215
|
-
expires_at?: string;
|
|
2216
|
-
grant_id?: string;
|
|
2217
|
-
id?: string;
|
|
2218
|
-
organization_id?: string;
|
|
2219
|
-
origin?: string | null;
|
|
2220
|
-
resource_id?: string;
|
|
2221
|
-
revoked_at?: string | null;
|
|
2222
|
-
session_id?: string | null;
|
|
2223
|
-
token_hash?: string;
|
|
2224
|
-
visitor_id?: string | null;
|
|
2225
|
-
};
|
|
2226
|
-
Relationships: [
|
|
2227
|
-
{
|
|
2228
|
-
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
2229
|
-
columns: ["grant_id"];
|
|
2230
|
-
isOneToOne: false;
|
|
2231
|
-
referencedRelation: "agent_access_grants";
|
|
2232
|
-
referencedColumns: ["id"];
|
|
2233
|
-
},
|
|
2234
|
-
{
|
|
2235
|
-
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
2236
|
-
columns: ["organization_id"];
|
|
2237
|
-
isOneToOne: false;
|
|
2238
|
-
referencedRelation: "organizations";
|
|
2239
|
-
referencedColumns: ["id"];
|
|
2240
|
-
},
|
|
2241
|
-
{
|
|
2242
|
-
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
2243
|
-
columns: ["session_id"];
|
|
2244
|
-
isOneToOne: false;
|
|
2245
|
-
referencedRelation: "sessions";
|
|
2246
|
-
referencedColumns: ["session_id"];
|
|
2247
|
-
}
|
|
2248
|
-
];
|
|
2249
|
-
};
|
|
2250
2183
|
organizations: {
|
|
2251
2184
|
Row: {
|
|
2252
2185
|
config: Json;
|
|
@@ -3145,11 +3078,11 @@ type Database = {
|
|
|
3145
3078
|
Returns: undefined;
|
|
3146
3079
|
};
|
|
3147
3080
|
auth_jwt_claims: {
|
|
3148
|
-
Args: never
|
|
3081
|
+
Args: Record<PropertyKey, never>;
|
|
3149
3082
|
Returns: Json;
|
|
3150
3083
|
};
|
|
3151
3084
|
auth_uid_safe: {
|
|
3152
|
-
Args: never
|
|
3085
|
+
Args: Record<PropertyKey, never>;
|
|
3153
3086
|
Returns: string;
|
|
3154
3087
|
};
|
|
3155
3088
|
can_assign_role_in_org: {
|
|
@@ -3160,7 +3093,7 @@ type Database = {
|
|
|
3160
3093
|
Returns: boolean;
|
|
3161
3094
|
};
|
|
3162
3095
|
current_user_is_platform_admin: {
|
|
3163
|
-
Args: never
|
|
3096
|
+
Args: Record<PropertyKey, never>;
|
|
3164
3097
|
Returns: boolean;
|
|
3165
3098
|
};
|
|
3166
3099
|
current_user_shares_org_with: {
|
|
@@ -3170,11 +3103,11 @@ type Database = {
|
|
|
3170
3103
|
Returns: boolean;
|
|
3171
3104
|
};
|
|
3172
3105
|
current_user_supabase_id: {
|
|
3173
|
-
Args: never
|
|
3106
|
+
Args: Record<PropertyKey, never>;
|
|
3174
3107
|
Returns: string;
|
|
3175
3108
|
};
|
|
3176
3109
|
detect_stalled_executions: {
|
|
3177
|
-
Args: never
|
|
3110
|
+
Args: Record<PropertyKey, never>;
|
|
3178
3111
|
Returns: undefined;
|
|
3179
3112
|
};
|
|
3180
3113
|
execute_session_turn: {
|
|
@@ -3195,7 +3128,7 @@ type Database = {
|
|
|
3195
3128
|
}[];
|
|
3196
3129
|
};
|
|
3197
3130
|
get_platform_credential_kek: {
|
|
3198
|
-
Args: never
|
|
3131
|
+
Args: Record<PropertyKey, never>;
|
|
3199
3132
|
Returns: string;
|
|
3200
3133
|
};
|
|
3201
3134
|
get_storage_org_id: {
|
|
@@ -3205,7 +3138,7 @@ type Database = {
|
|
|
3205
3138
|
Returns: string;
|
|
3206
3139
|
};
|
|
3207
3140
|
get_workos_user_id: {
|
|
3208
|
-
Args: never
|
|
3141
|
+
Args: Record<PropertyKey, never>;
|
|
3209
3142
|
Returns: string;
|
|
3210
3143
|
};
|
|
3211
3144
|
has_org_access: {
|
|
@@ -3213,10 +3146,7 @@ type Database = {
|
|
|
3213
3146
|
action?: string;
|
|
3214
3147
|
org_id: string;
|
|
3215
3148
|
system_path: string;
|
|
3216
|
-
}
|
|
3217
|
-
Returns: boolean;
|
|
3218
|
-
} | {
|
|
3219
|
-
Args: {
|
|
3149
|
+
} | {
|
|
3220
3150
|
action?: string;
|
|
3221
3151
|
system_path: string;
|
|
3222
3152
|
};
|
|
@@ -3252,15 +3182,15 @@ type Database = {
|
|
|
3252
3182
|
Returns: Json;
|
|
3253
3183
|
};
|
|
3254
3184
|
process_due_schedules: {
|
|
3255
|
-
Args: never
|
|
3185
|
+
Args: Record<PropertyKey, never>;
|
|
3256
3186
|
Returns: Json;
|
|
3257
3187
|
};
|
|
3258
3188
|
recompute_all_memberships: {
|
|
3259
|
-
Args: never
|
|
3189
|
+
Args: Record<PropertyKey, never>;
|
|
3260
3190
|
Returns: undefined;
|
|
3261
3191
|
};
|
|
3262
3192
|
repair_membership_role_assignments: {
|
|
3263
|
-
Args: never
|
|
3193
|
+
Args: Record<PropertyKey, never>;
|
|
3264
3194
|
Returns: {
|
|
3265
3195
|
membership_id: string;
|
|
3266
3196
|
organization_id: string;
|
|
@@ -3290,7 +3220,7 @@ type Database = {
|
|
|
3290
3220
|
Returns: string;
|
|
3291
3221
|
};
|
|
3292
3222
|
upsert_user_profile: {
|
|
3293
|
-
Args: never
|
|
3223
|
+
Args: Record<PropertyKey, never>;
|
|
3294
3224
|
Returns: {
|
|
3295
3225
|
profile_display_name: string;
|
|
3296
3226
|
profile_email: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-
|
|
1
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-CPIQ5GXG.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -11,12 +11,12 @@ import '../../chunk-GMXGDO3I.js';
|
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
12
12
|
import '../../chunk-6DO4PE3O.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
+
import '../../chunk-E6NSKXYN.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-W2SFTXMT.js';
|
|
22
22
|
import '../../chunk-XOPLS4S6.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AccessKeys, useAccess } from '../../chunk-
|
|
1
|
+
export { AccessKeys, useAccess } from '../../chunk-CPIQ5GXG.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
@@ -11,12 +11,12 @@ import '../../chunk-GMXGDO3I.js';
|
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
12
12
|
import '../../chunk-6DO4PE3O.js';
|
|
13
13
|
import '../../chunk-DD3CCMCZ.js';
|
|
14
|
-
import '../../chunk-
|
|
15
|
-
import '../../chunk-
|
|
14
|
+
import '../../chunk-M7WWRZ5Z.js';
|
|
15
|
+
import '../../chunk-E6NSKXYN.js';
|
|
16
16
|
import '../../chunk-2IFYDILW.js';
|
|
17
17
|
import '../../chunk-Q7DJKLEN.js';
|
|
18
18
|
import '../../chunk-HENXLGVD.js';
|
|
19
|
-
import '../../chunk-
|
|
19
|
+
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-W2SFTXMT.js';
|
|
22
22
|
import '../../chunk-XOPLS4S6.js';
|
|
@@ -4,9 +4,6 @@ type Json = string | number | boolean | null | {
|
|
|
4
4
|
[key: string]: Json | undefined;
|
|
5
5
|
} | Json[];
|
|
6
6
|
type Database = {
|
|
7
|
-
__InternalSupabase: {
|
|
8
|
-
PostgrestVersion: "12.2.3 (519615d)";
|
|
9
|
-
};
|
|
10
7
|
public: {
|
|
11
8
|
Tables: {
|
|
12
9
|
acq_artifacts: {
|
|
@@ -1206,6 +1203,74 @@ type Database = {
|
|
|
1206
1203
|
}
|
|
1207
1204
|
];
|
|
1208
1205
|
};
|
|
1206
|
+
agent_access_grants: {
|
|
1207
|
+
Row: {
|
|
1208
|
+
allowed_origins: string[];
|
|
1209
|
+
branding: Json;
|
|
1210
|
+
capture_fields: Json;
|
|
1211
|
+
code_hash: string | null;
|
|
1212
|
+
code_salt: string | null;
|
|
1213
|
+
created_at: string;
|
|
1214
|
+
disabled_at: string | null;
|
|
1215
|
+
expires_at: string | null;
|
|
1216
|
+
id: string;
|
|
1217
|
+
max_sessions_per_visitor: number;
|
|
1218
|
+
max_turns_per_session: number;
|
|
1219
|
+
mode: string;
|
|
1220
|
+
organization_id: string;
|
|
1221
|
+
resource_id: string;
|
|
1222
|
+
slug: string;
|
|
1223
|
+
tool_policy: Json;
|
|
1224
|
+
updated_at: string;
|
|
1225
|
+
};
|
|
1226
|
+
Insert: {
|
|
1227
|
+
allowed_origins?: string[];
|
|
1228
|
+
branding?: Json;
|
|
1229
|
+
capture_fields?: Json;
|
|
1230
|
+
code_hash?: string | null;
|
|
1231
|
+
code_salt?: string | null;
|
|
1232
|
+
created_at?: string;
|
|
1233
|
+
disabled_at?: string | null;
|
|
1234
|
+
expires_at?: string | null;
|
|
1235
|
+
id?: string;
|
|
1236
|
+
max_sessions_per_visitor?: number;
|
|
1237
|
+
max_turns_per_session?: number;
|
|
1238
|
+
mode?: string;
|
|
1239
|
+
organization_id: string;
|
|
1240
|
+
resource_id: string;
|
|
1241
|
+
slug: string;
|
|
1242
|
+
tool_policy?: Json;
|
|
1243
|
+
updated_at?: string;
|
|
1244
|
+
};
|
|
1245
|
+
Update: {
|
|
1246
|
+
allowed_origins?: string[];
|
|
1247
|
+
branding?: Json;
|
|
1248
|
+
capture_fields?: Json;
|
|
1249
|
+
code_hash?: string | null;
|
|
1250
|
+
code_salt?: string | null;
|
|
1251
|
+
created_at?: string;
|
|
1252
|
+
disabled_at?: string | null;
|
|
1253
|
+
expires_at?: string | null;
|
|
1254
|
+
id?: string;
|
|
1255
|
+
max_sessions_per_visitor?: number;
|
|
1256
|
+
max_turns_per_session?: number;
|
|
1257
|
+
mode?: string;
|
|
1258
|
+
organization_id?: string;
|
|
1259
|
+
resource_id?: string;
|
|
1260
|
+
slug?: string;
|
|
1261
|
+
tool_policy?: Json;
|
|
1262
|
+
updated_at?: string;
|
|
1263
|
+
};
|
|
1264
|
+
Relationships: [
|
|
1265
|
+
{
|
|
1266
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
1267
|
+
columns: ["organization_id"];
|
|
1268
|
+
isOneToOne: false;
|
|
1269
|
+
referencedRelation: "organizations";
|
|
1270
|
+
referencedColumns: ["id"];
|
|
1271
|
+
}
|
|
1272
|
+
];
|
|
1273
|
+
};
|
|
1209
1274
|
api_keys: {
|
|
1210
1275
|
Row: {
|
|
1211
1276
|
created_at: string | null;
|
|
@@ -2113,138 +2178,6 @@ type Database = {
|
|
|
2113
2178
|
};
|
|
2114
2179
|
Relationships: [];
|
|
2115
2180
|
};
|
|
2116
|
-
agent_access_grants: {
|
|
2117
|
-
Row: {
|
|
2118
|
-
allowed_origins: string[];
|
|
2119
|
-
branding: Json;
|
|
2120
|
-
capture_fields: Json;
|
|
2121
|
-
code_hash: string | null;
|
|
2122
|
-
code_salt: string | null;
|
|
2123
|
-
created_at: string;
|
|
2124
|
-
disabled_at: string | null;
|
|
2125
|
-
expires_at: string | null;
|
|
2126
|
-
id: string;
|
|
2127
|
-
max_sessions_per_visitor: number;
|
|
2128
|
-
max_turns_per_session: number;
|
|
2129
|
-
mode: string;
|
|
2130
|
-
organization_id: string;
|
|
2131
|
-
resource_id: string;
|
|
2132
|
-
slug: string;
|
|
2133
|
-
tool_policy: Json;
|
|
2134
|
-
updated_at: string;
|
|
2135
|
-
};
|
|
2136
|
-
Insert: {
|
|
2137
|
-
allowed_origins?: string[];
|
|
2138
|
-
branding?: Json;
|
|
2139
|
-
capture_fields?: Json;
|
|
2140
|
-
code_hash?: string | null;
|
|
2141
|
-
code_salt?: string | null;
|
|
2142
|
-
created_at?: string;
|
|
2143
|
-
disabled_at?: string | null;
|
|
2144
|
-
expires_at?: string | null;
|
|
2145
|
-
id?: string;
|
|
2146
|
-
max_sessions_per_visitor?: number;
|
|
2147
|
-
max_turns_per_session?: number;
|
|
2148
|
-
mode?: string;
|
|
2149
|
-
organization_id: string;
|
|
2150
|
-
resource_id: string;
|
|
2151
|
-
slug: string;
|
|
2152
|
-
tool_policy?: Json;
|
|
2153
|
-
updated_at?: string;
|
|
2154
|
-
};
|
|
2155
|
-
Update: {
|
|
2156
|
-
allowed_origins?: string[];
|
|
2157
|
-
branding?: Json;
|
|
2158
|
-
capture_fields?: Json;
|
|
2159
|
-
code_hash?: string | null;
|
|
2160
|
-
code_salt?: string | null;
|
|
2161
|
-
created_at?: string;
|
|
2162
|
-
disabled_at?: string | null;
|
|
2163
|
-
expires_at?: string | null;
|
|
2164
|
-
id?: string;
|
|
2165
|
-
max_sessions_per_visitor?: number;
|
|
2166
|
-
max_turns_per_session?: number;
|
|
2167
|
-
mode?: string;
|
|
2168
|
-
organization_id?: string;
|
|
2169
|
-
resource_id?: string;
|
|
2170
|
-
slug?: string;
|
|
2171
|
-
tool_policy?: Json;
|
|
2172
|
-
updated_at?: string;
|
|
2173
|
-
};
|
|
2174
|
-
Relationships: [
|
|
2175
|
-
{
|
|
2176
|
-
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
2177
|
-
columns: ["organization_id"];
|
|
2178
|
-
isOneToOne: false;
|
|
2179
|
-
referencedRelation: "organizations";
|
|
2180
|
-
referencedColumns: ["id"];
|
|
2181
|
-
}
|
|
2182
|
-
];
|
|
2183
|
-
};
|
|
2184
|
-
agent_chat_capabilities: {
|
|
2185
|
-
Row: {
|
|
2186
|
-
created_at: string;
|
|
2187
|
-
expires_at: string;
|
|
2188
|
-
grant_id: string;
|
|
2189
|
-
id: string;
|
|
2190
|
-
organization_id: string;
|
|
2191
|
-
origin: string | null;
|
|
2192
|
-
resource_id: string;
|
|
2193
|
-
revoked_at: string | null;
|
|
2194
|
-
session_id: string | null;
|
|
2195
|
-
token_hash: string;
|
|
2196
|
-
visitor_id: string | null;
|
|
2197
|
-
};
|
|
2198
|
-
Insert: {
|
|
2199
|
-
created_at?: string;
|
|
2200
|
-
expires_at: string;
|
|
2201
|
-
grant_id: string;
|
|
2202
|
-
id?: string;
|
|
2203
|
-
organization_id: string;
|
|
2204
|
-
origin?: string | null;
|
|
2205
|
-
resource_id: string;
|
|
2206
|
-
revoked_at?: string | null;
|
|
2207
|
-
session_id?: string | null;
|
|
2208
|
-
token_hash: string;
|
|
2209
|
-
visitor_id?: string | null;
|
|
2210
|
-
};
|
|
2211
|
-
Update: {
|
|
2212
|
-
created_at?: string;
|
|
2213
|
-
expires_at?: string;
|
|
2214
|
-
grant_id?: string;
|
|
2215
|
-
id?: string;
|
|
2216
|
-
organization_id?: string;
|
|
2217
|
-
origin?: string | null;
|
|
2218
|
-
resource_id?: string;
|
|
2219
|
-
revoked_at?: string | null;
|
|
2220
|
-
session_id?: string | null;
|
|
2221
|
-
token_hash?: string;
|
|
2222
|
-
visitor_id?: string | null;
|
|
2223
|
-
};
|
|
2224
|
-
Relationships: [
|
|
2225
|
-
{
|
|
2226
|
-
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
2227
|
-
columns: ["grant_id"];
|
|
2228
|
-
isOneToOne: false;
|
|
2229
|
-
referencedRelation: "agent_access_grants";
|
|
2230
|
-
referencedColumns: ["id"];
|
|
2231
|
-
},
|
|
2232
|
-
{
|
|
2233
|
-
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
2234
|
-
columns: ["organization_id"];
|
|
2235
|
-
isOneToOne: false;
|
|
2236
|
-
referencedRelation: "organizations";
|
|
2237
|
-
referencedColumns: ["id"];
|
|
2238
|
-
},
|
|
2239
|
-
{
|
|
2240
|
-
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
2241
|
-
columns: ["session_id"];
|
|
2242
|
-
isOneToOne: false;
|
|
2243
|
-
referencedRelation: "sessions";
|
|
2244
|
-
referencedColumns: ["session_id"];
|
|
2245
|
-
}
|
|
2246
|
-
];
|
|
2247
|
-
};
|
|
2248
2181
|
organizations: {
|
|
2249
2182
|
Row: {
|
|
2250
2183
|
config: Json;
|
|
@@ -3143,11 +3076,11 @@ type Database = {
|
|
|
3143
3076
|
Returns: undefined;
|
|
3144
3077
|
};
|
|
3145
3078
|
auth_jwt_claims: {
|
|
3146
|
-
Args: never
|
|
3079
|
+
Args: Record<PropertyKey, never>;
|
|
3147
3080
|
Returns: Json;
|
|
3148
3081
|
};
|
|
3149
3082
|
auth_uid_safe: {
|
|
3150
|
-
Args: never
|
|
3083
|
+
Args: Record<PropertyKey, never>;
|
|
3151
3084
|
Returns: string;
|
|
3152
3085
|
};
|
|
3153
3086
|
can_assign_role_in_org: {
|
|
@@ -3158,7 +3091,7 @@ type Database = {
|
|
|
3158
3091
|
Returns: boolean;
|
|
3159
3092
|
};
|
|
3160
3093
|
current_user_is_platform_admin: {
|
|
3161
|
-
Args: never
|
|
3094
|
+
Args: Record<PropertyKey, never>;
|
|
3162
3095
|
Returns: boolean;
|
|
3163
3096
|
};
|
|
3164
3097
|
current_user_shares_org_with: {
|
|
@@ -3168,11 +3101,11 @@ type Database = {
|
|
|
3168
3101
|
Returns: boolean;
|
|
3169
3102
|
};
|
|
3170
3103
|
current_user_supabase_id: {
|
|
3171
|
-
Args: never
|
|
3104
|
+
Args: Record<PropertyKey, never>;
|
|
3172
3105
|
Returns: string;
|
|
3173
3106
|
};
|
|
3174
3107
|
detect_stalled_executions: {
|
|
3175
|
-
Args: never
|
|
3108
|
+
Args: Record<PropertyKey, never>;
|
|
3176
3109
|
Returns: undefined;
|
|
3177
3110
|
};
|
|
3178
3111
|
execute_session_turn: {
|
|
@@ -3193,7 +3126,7 @@ type Database = {
|
|
|
3193
3126
|
}[];
|
|
3194
3127
|
};
|
|
3195
3128
|
get_platform_credential_kek: {
|
|
3196
|
-
Args: never
|
|
3129
|
+
Args: Record<PropertyKey, never>;
|
|
3197
3130
|
Returns: string;
|
|
3198
3131
|
};
|
|
3199
3132
|
get_storage_org_id: {
|
|
@@ -3203,7 +3136,7 @@ type Database = {
|
|
|
3203
3136
|
Returns: string;
|
|
3204
3137
|
};
|
|
3205
3138
|
get_workos_user_id: {
|
|
3206
|
-
Args: never
|
|
3139
|
+
Args: Record<PropertyKey, never>;
|
|
3207
3140
|
Returns: string;
|
|
3208
3141
|
};
|
|
3209
3142
|
has_org_access: {
|
|
@@ -3211,10 +3144,7 @@ type Database = {
|
|
|
3211
3144
|
action?: string;
|
|
3212
3145
|
org_id: string;
|
|
3213
3146
|
system_path: string;
|
|
3214
|
-
}
|
|
3215
|
-
Returns: boolean;
|
|
3216
|
-
} | {
|
|
3217
|
-
Args: {
|
|
3147
|
+
} | {
|
|
3218
3148
|
action?: string;
|
|
3219
3149
|
system_path: string;
|
|
3220
3150
|
};
|
|
@@ -3250,15 +3180,15 @@ type Database = {
|
|
|
3250
3180
|
Returns: Json;
|
|
3251
3181
|
};
|
|
3252
3182
|
process_due_schedules: {
|
|
3253
|
-
Args: never
|
|
3183
|
+
Args: Record<PropertyKey, never>;
|
|
3254
3184
|
Returns: Json;
|
|
3255
3185
|
};
|
|
3256
3186
|
recompute_all_memberships: {
|
|
3257
|
-
Args: never
|
|
3187
|
+
Args: Record<PropertyKey, never>;
|
|
3258
3188
|
Returns: undefined;
|
|
3259
3189
|
};
|
|
3260
3190
|
repair_membership_role_assignments: {
|
|
3261
|
-
Args: never
|
|
3191
|
+
Args: Record<PropertyKey, never>;
|
|
3262
3192
|
Returns: {
|
|
3263
3193
|
membership_id: string;
|
|
3264
3194
|
organization_id: string;
|
|
@@ -3288,7 +3218,7 @@ type Database = {
|
|
|
3288
3218
|
Returns: string;
|
|
3289
3219
|
};
|
|
3290
3220
|
upsert_user_profile: {
|
|
3291
|
-
Args: never
|
|
3221
|
+
Args: Record<PropertyKey, never>;
|
|
3292
3222
|
Returns: {
|
|
3293
3223
|
profile_display_name: string;
|
|
3294
3224
|
profile_email: string;
|