@elevasis/ui 2.50.0 → 2.51.1
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 +5 -4
- package/dist/auth/index.js +3 -3
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-GUKY77FJ.js → chunk-E6NSKXYN.js} +12 -4
- package/dist/chunk-M7WWRZ5Z.js +159 -0
- package/dist/{chunk-SBNC3FRX.js → chunk-V3B26UZR.js} +10 -10
- package/dist/components/chat/index.d.ts +9 -1
- package/dist/components/chat/index.js +1 -1
- package/dist/components/index.d.ts +80 -150
- package/dist/components/index.js +3 -3
- package/dist/components/navigation/index.js +3 -3
- package/dist/features/auth/index.d.ts +80 -150
- package/dist/features/auth/index.js +4 -4
- package/dist/features/clients/index.js +3 -3
- package/dist/features/crm/index.d.ts +80 -150
- package/dist/features/crm/index.js +3 -3
- package/dist/features/dashboard/index.js +3 -3
- package/dist/features/delivery/index.d.ts +80 -150
- package/dist/features/delivery/index.js +3 -3
- package/dist/features/knowledge/index.js +3 -3
- package/dist/features/lead-gen/index.js +3 -3
- package/dist/features/monitoring/index.js +3 -3
- package/dist/features/monitoring/requests/index.js +4 -4
- package/dist/features/operations/index.js +3 -3
- 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 +3 -3
- package/dist/hooks/access/index.js +3 -3
- package/dist/hooks/delivery/index.d.ts +80 -150
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +97 -151
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/published.d.ts +97 -151
- package/dist/hooks/published.js +3 -3
- package/dist/index.d.ts +97 -151
- package/dist/index.js +3 -3
- package/dist/initialization/index.d.ts +80 -150
- package/dist/knowledge/index.d.ts +48 -2
- package/dist/knowledge/index.js +324 -83
- package/dist/layout/index.js +3 -3
- package/dist/organization/index.js +3 -3
- package/dist/profile/index.d.ts +80 -150
- package/dist/provider/index.d.ts +80 -150
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.d.ts +80 -150
- package/dist/provider/published.js +3 -3
- package/dist/supabase/index.d.ts +159 -292
- package/dist/types/index.d.ts +80 -150
- package/package.json +3 -3
- package/src/knowledge/README.md +4 -2
- package/dist/chunk-EJL4U7OZ.js +0 -79
package/dist/profile/index.d.ts
CHANGED
|
@@ -5,9 +5,6 @@ type Json = string | number | boolean | null | {
|
|
|
5
5
|
[key: string]: Json | undefined;
|
|
6
6
|
} | Json[];
|
|
7
7
|
type Database = {
|
|
8
|
-
__InternalSupabase: {
|
|
9
|
-
PostgrestVersion: "12.2.3 (519615d)";
|
|
10
|
-
};
|
|
11
8
|
public: {
|
|
12
9
|
Tables: {
|
|
13
10
|
acq_artifacts: {
|
|
@@ -1207,6 +1204,74 @@ type Database = {
|
|
|
1207
1204
|
}
|
|
1208
1205
|
];
|
|
1209
1206
|
};
|
|
1207
|
+
agent_access_grants: {
|
|
1208
|
+
Row: {
|
|
1209
|
+
allowed_origins: string[];
|
|
1210
|
+
branding: Json;
|
|
1211
|
+
capture_fields: Json;
|
|
1212
|
+
code_hash: string | null;
|
|
1213
|
+
code_salt: string | null;
|
|
1214
|
+
created_at: string;
|
|
1215
|
+
disabled_at: string | null;
|
|
1216
|
+
expires_at: string | null;
|
|
1217
|
+
id: string;
|
|
1218
|
+
max_sessions_per_visitor: number;
|
|
1219
|
+
max_turns_per_session: number;
|
|
1220
|
+
mode: string;
|
|
1221
|
+
organization_id: string;
|
|
1222
|
+
resource_id: string;
|
|
1223
|
+
slug: string;
|
|
1224
|
+
tool_policy: Json;
|
|
1225
|
+
updated_at: string;
|
|
1226
|
+
};
|
|
1227
|
+
Insert: {
|
|
1228
|
+
allowed_origins?: string[];
|
|
1229
|
+
branding?: Json;
|
|
1230
|
+
capture_fields?: Json;
|
|
1231
|
+
code_hash?: string | null;
|
|
1232
|
+
code_salt?: string | null;
|
|
1233
|
+
created_at?: string;
|
|
1234
|
+
disabled_at?: string | null;
|
|
1235
|
+
expires_at?: string | null;
|
|
1236
|
+
id?: string;
|
|
1237
|
+
max_sessions_per_visitor?: number;
|
|
1238
|
+
max_turns_per_session?: number;
|
|
1239
|
+
mode?: string;
|
|
1240
|
+
organization_id: string;
|
|
1241
|
+
resource_id: string;
|
|
1242
|
+
slug: string;
|
|
1243
|
+
tool_policy?: Json;
|
|
1244
|
+
updated_at?: string;
|
|
1245
|
+
};
|
|
1246
|
+
Update: {
|
|
1247
|
+
allowed_origins?: string[];
|
|
1248
|
+
branding?: Json;
|
|
1249
|
+
capture_fields?: Json;
|
|
1250
|
+
code_hash?: string | null;
|
|
1251
|
+
code_salt?: string | null;
|
|
1252
|
+
created_at?: string;
|
|
1253
|
+
disabled_at?: string | null;
|
|
1254
|
+
expires_at?: string | null;
|
|
1255
|
+
id?: string;
|
|
1256
|
+
max_sessions_per_visitor?: number;
|
|
1257
|
+
max_turns_per_session?: number;
|
|
1258
|
+
mode?: string;
|
|
1259
|
+
organization_id?: string;
|
|
1260
|
+
resource_id?: string;
|
|
1261
|
+
slug?: string;
|
|
1262
|
+
tool_policy?: Json;
|
|
1263
|
+
updated_at?: string;
|
|
1264
|
+
};
|
|
1265
|
+
Relationships: [
|
|
1266
|
+
{
|
|
1267
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
1268
|
+
columns: ["organization_id"];
|
|
1269
|
+
isOneToOne: false;
|
|
1270
|
+
referencedRelation: "organizations";
|
|
1271
|
+
referencedColumns: ["id"];
|
|
1272
|
+
}
|
|
1273
|
+
];
|
|
1274
|
+
};
|
|
1210
1275
|
api_keys: {
|
|
1211
1276
|
Row: {
|
|
1212
1277
|
created_at: string | null;
|
|
@@ -2114,138 +2179,6 @@ type Database = {
|
|
|
2114
2179
|
};
|
|
2115
2180
|
Relationships: [];
|
|
2116
2181
|
};
|
|
2117
|
-
agent_access_grants: {
|
|
2118
|
-
Row: {
|
|
2119
|
-
allowed_origins: string[];
|
|
2120
|
-
branding: Json;
|
|
2121
|
-
capture_fields: Json;
|
|
2122
|
-
code_hash: string | null;
|
|
2123
|
-
code_salt: string | null;
|
|
2124
|
-
created_at: string;
|
|
2125
|
-
disabled_at: string | null;
|
|
2126
|
-
expires_at: string | null;
|
|
2127
|
-
id: string;
|
|
2128
|
-
max_sessions_per_visitor: number;
|
|
2129
|
-
max_turns_per_session: number;
|
|
2130
|
-
mode: string;
|
|
2131
|
-
organization_id: string;
|
|
2132
|
-
resource_id: string;
|
|
2133
|
-
slug: string;
|
|
2134
|
-
tool_policy: Json;
|
|
2135
|
-
updated_at: string;
|
|
2136
|
-
};
|
|
2137
|
-
Insert: {
|
|
2138
|
-
allowed_origins?: string[];
|
|
2139
|
-
branding?: Json;
|
|
2140
|
-
capture_fields?: Json;
|
|
2141
|
-
code_hash?: string | null;
|
|
2142
|
-
code_salt?: string | null;
|
|
2143
|
-
created_at?: string;
|
|
2144
|
-
disabled_at?: string | null;
|
|
2145
|
-
expires_at?: string | null;
|
|
2146
|
-
id?: string;
|
|
2147
|
-
max_sessions_per_visitor?: number;
|
|
2148
|
-
max_turns_per_session?: number;
|
|
2149
|
-
mode?: string;
|
|
2150
|
-
organization_id: string;
|
|
2151
|
-
resource_id: string;
|
|
2152
|
-
slug: string;
|
|
2153
|
-
tool_policy?: Json;
|
|
2154
|
-
updated_at?: string;
|
|
2155
|
-
};
|
|
2156
|
-
Update: {
|
|
2157
|
-
allowed_origins?: string[];
|
|
2158
|
-
branding?: Json;
|
|
2159
|
-
capture_fields?: Json;
|
|
2160
|
-
code_hash?: string | null;
|
|
2161
|
-
code_salt?: string | null;
|
|
2162
|
-
created_at?: string;
|
|
2163
|
-
disabled_at?: string | null;
|
|
2164
|
-
expires_at?: string | null;
|
|
2165
|
-
id?: string;
|
|
2166
|
-
max_sessions_per_visitor?: number;
|
|
2167
|
-
max_turns_per_session?: number;
|
|
2168
|
-
mode?: string;
|
|
2169
|
-
organization_id?: string;
|
|
2170
|
-
resource_id?: string;
|
|
2171
|
-
slug?: string;
|
|
2172
|
-
tool_policy?: Json;
|
|
2173
|
-
updated_at?: string;
|
|
2174
|
-
};
|
|
2175
|
-
Relationships: [
|
|
2176
|
-
{
|
|
2177
|
-
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
2178
|
-
columns: ["organization_id"];
|
|
2179
|
-
isOneToOne: false;
|
|
2180
|
-
referencedRelation: "organizations";
|
|
2181
|
-
referencedColumns: ["id"];
|
|
2182
|
-
}
|
|
2183
|
-
];
|
|
2184
|
-
};
|
|
2185
|
-
agent_chat_capabilities: {
|
|
2186
|
-
Row: {
|
|
2187
|
-
created_at: string;
|
|
2188
|
-
expires_at: string;
|
|
2189
|
-
grant_id: string;
|
|
2190
|
-
id: string;
|
|
2191
|
-
organization_id: string;
|
|
2192
|
-
origin: string | null;
|
|
2193
|
-
resource_id: string;
|
|
2194
|
-
revoked_at: string | null;
|
|
2195
|
-
session_id: string | null;
|
|
2196
|
-
token_hash: string;
|
|
2197
|
-
visitor_id: string | null;
|
|
2198
|
-
};
|
|
2199
|
-
Insert: {
|
|
2200
|
-
created_at?: string;
|
|
2201
|
-
expires_at: string;
|
|
2202
|
-
grant_id: string;
|
|
2203
|
-
id?: string;
|
|
2204
|
-
organization_id: string;
|
|
2205
|
-
origin?: string | null;
|
|
2206
|
-
resource_id: string;
|
|
2207
|
-
revoked_at?: string | null;
|
|
2208
|
-
session_id?: string | null;
|
|
2209
|
-
token_hash: string;
|
|
2210
|
-
visitor_id?: string | null;
|
|
2211
|
-
};
|
|
2212
|
-
Update: {
|
|
2213
|
-
created_at?: string;
|
|
2214
|
-
expires_at?: string;
|
|
2215
|
-
grant_id?: string;
|
|
2216
|
-
id?: string;
|
|
2217
|
-
organization_id?: string;
|
|
2218
|
-
origin?: string | null;
|
|
2219
|
-
resource_id?: string;
|
|
2220
|
-
revoked_at?: string | null;
|
|
2221
|
-
session_id?: string | null;
|
|
2222
|
-
token_hash?: string;
|
|
2223
|
-
visitor_id?: string | null;
|
|
2224
|
-
};
|
|
2225
|
-
Relationships: [
|
|
2226
|
-
{
|
|
2227
|
-
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
2228
|
-
columns: ["grant_id"];
|
|
2229
|
-
isOneToOne: false;
|
|
2230
|
-
referencedRelation: "agent_access_grants";
|
|
2231
|
-
referencedColumns: ["id"];
|
|
2232
|
-
},
|
|
2233
|
-
{
|
|
2234
|
-
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
2235
|
-
columns: ["organization_id"];
|
|
2236
|
-
isOneToOne: false;
|
|
2237
|
-
referencedRelation: "organizations";
|
|
2238
|
-
referencedColumns: ["id"];
|
|
2239
|
-
},
|
|
2240
|
-
{
|
|
2241
|
-
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
2242
|
-
columns: ["session_id"];
|
|
2243
|
-
isOneToOne: false;
|
|
2244
|
-
referencedRelation: "sessions";
|
|
2245
|
-
referencedColumns: ["session_id"];
|
|
2246
|
-
}
|
|
2247
|
-
];
|
|
2248
|
-
};
|
|
2249
2182
|
organizations: {
|
|
2250
2183
|
Row: {
|
|
2251
2184
|
config: Json;
|
|
@@ -3144,11 +3077,11 @@ type Database = {
|
|
|
3144
3077
|
Returns: undefined;
|
|
3145
3078
|
};
|
|
3146
3079
|
auth_jwt_claims: {
|
|
3147
|
-
Args: never
|
|
3080
|
+
Args: Record<PropertyKey, never>;
|
|
3148
3081
|
Returns: Json;
|
|
3149
3082
|
};
|
|
3150
3083
|
auth_uid_safe: {
|
|
3151
|
-
Args: never
|
|
3084
|
+
Args: Record<PropertyKey, never>;
|
|
3152
3085
|
Returns: string;
|
|
3153
3086
|
};
|
|
3154
3087
|
can_assign_role_in_org: {
|
|
@@ -3159,7 +3092,7 @@ type Database = {
|
|
|
3159
3092
|
Returns: boolean;
|
|
3160
3093
|
};
|
|
3161
3094
|
current_user_is_platform_admin: {
|
|
3162
|
-
Args: never
|
|
3095
|
+
Args: Record<PropertyKey, never>;
|
|
3163
3096
|
Returns: boolean;
|
|
3164
3097
|
};
|
|
3165
3098
|
current_user_shares_org_with: {
|
|
@@ -3169,11 +3102,11 @@ type Database = {
|
|
|
3169
3102
|
Returns: boolean;
|
|
3170
3103
|
};
|
|
3171
3104
|
current_user_supabase_id: {
|
|
3172
|
-
Args: never
|
|
3105
|
+
Args: Record<PropertyKey, never>;
|
|
3173
3106
|
Returns: string;
|
|
3174
3107
|
};
|
|
3175
3108
|
detect_stalled_executions: {
|
|
3176
|
-
Args: never
|
|
3109
|
+
Args: Record<PropertyKey, never>;
|
|
3177
3110
|
Returns: undefined;
|
|
3178
3111
|
};
|
|
3179
3112
|
execute_session_turn: {
|
|
@@ -3194,7 +3127,7 @@ type Database = {
|
|
|
3194
3127
|
}[];
|
|
3195
3128
|
};
|
|
3196
3129
|
get_platform_credential_kek: {
|
|
3197
|
-
Args: never
|
|
3130
|
+
Args: Record<PropertyKey, never>;
|
|
3198
3131
|
Returns: string;
|
|
3199
3132
|
};
|
|
3200
3133
|
get_storage_org_id: {
|
|
@@ -3204,7 +3137,7 @@ type Database = {
|
|
|
3204
3137
|
Returns: string;
|
|
3205
3138
|
};
|
|
3206
3139
|
get_workos_user_id: {
|
|
3207
|
-
Args: never
|
|
3140
|
+
Args: Record<PropertyKey, never>;
|
|
3208
3141
|
Returns: string;
|
|
3209
3142
|
};
|
|
3210
3143
|
has_org_access: {
|
|
@@ -3212,10 +3145,7 @@ type Database = {
|
|
|
3212
3145
|
action?: string;
|
|
3213
3146
|
org_id: string;
|
|
3214
3147
|
system_path: string;
|
|
3215
|
-
}
|
|
3216
|
-
Returns: boolean;
|
|
3217
|
-
} | {
|
|
3218
|
-
Args: {
|
|
3148
|
+
} | {
|
|
3219
3149
|
action?: string;
|
|
3220
3150
|
system_path: string;
|
|
3221
3151
|
};
|
|
@@ -3251,15 +3181,15 @@ type Database = {
|
|
|
3251
3181
|
Returns: Json;
|
|
3252
3182
|
};
|
|
3253
3183
|
process_due_schedules: {
|
|
3254
|
-
Args: never
|
|
3184
|
+
Args: Record<PropertyKey, never>;
|
|
3255
3185
|
Returns: Json;
|
|
3256
3186
|
};
|
|
3257
3187
|
recompute_all_memberships: {
|
|
3258
|
-
Args: never
|
|
3188
|
+
Args: Record<PropertyKey, never>;
|
|
3259
3189
|
Returns: undefined;
|
|
3260
3190
|
};
|
|
3261
3191
|
repair_membership_role_assignments: {
|
|
3262
|
-
Args: never
|
|
3192
|
+
Args: Record<PropertyKey, never>;
|
|
3263
3193
|
Returns: {
|
|
3264
3194
|
membership_id: string;
|
|
3265
3195
|
organization_id: string;
|
|
@@ -3289,7 +3219,7 @@ type Database = {
|
|
|
3289
3219
|
Returns: string;
|
|
3290
3220
|
};
|
|
3291
3221
|
upsert_user_profile: {
|
|
3292
|
-
Args: never
|
|
3222
|
+
Args: Record<PropertyKey, never>;
|
|
3293
3223
|
Returns: {
|
|
3294
3224
|
profile_display_name: string;
|
|
3295
3225
|
profile_email: string;
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -108,9 +108,6 @@ type Json = string | number | boolean | null | {
|
|
|
108
108
|
[key: string]: Json | undefined;
|
|
109
109
|
} | Json[];
|
|
110
110
|
type Database = {
|
|
111
|
-
__InternalSupabase: {
|
|
112
|
-
PostgrestVersion: "12.2.3 (519615d)";
|
|
113
|
-
};
|
|
114
111
|
public: {
|
|
115
112
|
Tables: {
|
|
116
113
|
acq_artifacts: {
|
|
@@ -1310,6 +1307,74 @@ type Database = {
|
|
|
1310
1307
|
}
|
|
1311
1308
|
];
|
|
1312
1309
|
};
|
|
1310
|
+
agent_access_grants: {
|
|
1311
|
+
Row: {
|
|
1312
|
+
allowed_origins: string[];
|
|
1313
|
+
branding: Json;
|
|
1314
|
+
capture_fields: Json;
|
|
1315
|
+
code_hash: string | null;
|
|
1316
|
+
code_salt: string | null;
|
|
1317
|
+
created_at: string;
|
|
1318
|
+
disabled_at: string | null;
|
|
1319
|
+
expires_at: string | null;
|
|
1320
|
+
id: string;
|
|
1321
|
+
max_sessions_per_visitor: number;
|
|
1322
|
+
max_turns_per_session: number;
|
|
1323
|
+
mode: string;
|
|
1324
|
+
organization_id: string;
|
|
1325
|
+
resource_id: string;
|
|
1326
|
+
slug: string;
|
|
1327
|
+
tool_policy: Json;
|
|
1328
|
+
updated_at: string;
|
|
1329
|
+
};
|
|
1330
|
+
Insert: {
|
|
1331
|
+
allowed_origins?: string[];
|
|
1332
|
+
branding?: Json;
|
|
1333
|
+
capture_fields?: Json;
|
|
1334
|
+
code_hash?: string | null;
|
|
1335
|
+
code_salt?: string | null;
|
|
1336
|
+
created_at?: string;
|
|
1337
|
+
disabled_at?: string | null;
|
|
1338
|
+
expires_at?: string | null;
|
|
1339
|
+
id?: string;
|
|
1340
|
+
max_sessions_per_visitor?: number;
|
|
1341
|
+
max_turns_per_session?: number;
|
|
1342
|
+
mode?: string;
|
|
1343
|
+
organization_id: string;
|
|
1344
|
+
resource_id: string;
|
|
1345
|
+
slug: string;
|
|
1346
|
+
tool_policy?: Json;
|
|
1347
|
+
updated_at?: string;
|
|
1348
|
+
};
|
|
1349
|
+
Update: {
|
|
1350
|
+
allowed_origins?: string[];
|
|
1351
|
+
branding?: Json;
|
|
1352
|
+
capture_fields?: Json;
|
|
1353
|
+
code_hash?: string | null;
|
|
1354
|
+
code_salt?: string | null;
|
|
1355
|
+
created_at?: string;
|
|
1356
|
+
disabled_at?: string | null;
|
|
1357
|
+
expires_at?: string | null;
|
|
1358
|
+
id?: string;
|
|
1359
|
+
max_sessions_per_visitor?: number;
|
|
1360
|
+
max_turns_per_session?: number;
|
|
1361
|
+
mode?: string;
|
|
1362
|
+
organization_id?: string;
|
|
1363
|
+
resource_id?: string;
|
|
1364
|
+
slug?: string;
|
|
1365
|
+
tool_policy?: Json;
|
|
1366
|
+
updated_at?: string;
|
|
1367
|
+
};
|
|
1368
|
+
Relationships: [
|
|
1369
|
+
{
|
|
1370
|
+
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
1371
|
+
columns: ["organization_id"];
|
|
1372
|
+
isOneToOne: false;
|
|
1373
|
+
referencedRelation: "organizations";
|
|
1374
|
+
referencedColumns: ["id"];
|
|
1375
|
+
}
|
|
1376
|
+
];
|
|
1377
|
+
};
|
|
1313
1378
|
api_keys: {
|
|
1314
1379
|
Row: {
|
|
1315
1380
|
created_at: string | null;
|
|
@@ -2217,138 +2282,6 @@ type Database = {
|
|
|
2217
2282
|
};
|
|
2218
2283
|
Relationships: [];
|
|
2219
2284
|
};
|
|
2220
|
-
agent_access_grants: {
|
|
2221
|
-
Row: {
|
|
2222
|
-
allowed_origins: string[];
|
|
2223
|
-
branding: Json;
|
|
2224
|
-
capture_fields: Json;
|
|
2225
|
-
code_hash: string | null;
|
|
2226
|
-
code_salt: string | null;
|
|
2227
|
-
created_at: string;
|
|
2228
|
-
disabled_at: string | null;
|
|
2229
|
-
expires_at: string | null;
|
|
2230
|
-
id: string;
|
|
2231
|
-
max_sessions_per_visitor: number;
|
|
2232
|
-
max_turns_per_session: number;
|
|
2233
|
-
mode: string;
|
|
2234
|
-
organization_id: string;
|
|
2235
|
-
resource_id: string;
|
|
2236
|
-
slug: string;
|
|
2237
|
-
tool_policy: Json;
|
|
2238
|
-
updated_at: string;
|
|
2239
|
-
};
|
|
2240
|
-
Insert: {
|
|
2241
|
-
allowed_origins?: string[];
|
|
2242
|
-
branding?: Json;
|
|
2243
|
-
capture_fields?: Json;
|
|
2244
|
-
code_hash?: string | null;
|
|
2245
|
-
code_salt?: string | null;
|
|
2246
|
-
created_at?: string;
|
|
2247
|
-
disabled_at?: string | null;
|
|
2248
|
-
expires_at?: string | null;
|
|
2249
|
-
id?: string;
|
|
2250
|
-
max_sessions_per_visitor?: number;
|
|
2251
|
-
max_turns_per_session?: number;
|
|
2252
|
-
mode?: string;
|
|
2253
|
-
organization_id: string;
|
|
2254
|
-
resource_id: string;
|
|
2255
|
-
slug: string;
|
|
2256
|
-
tool_policy?: Json;
|
|
2257
|
-
updated_at?: string;
|
|
2258
|
-
};
|
|
2259
|
-
Update: {
|
|
2260
|
-
allowed_origins?: string[];
|
|
2261
|
-
branding?: Json;
|
|
2262
|
-
capture_fields?: Json;
|
|
2263
|
-
code_hash?: string | null;
|
|
2264
|
-
code_salt?: string | null;
|
|
2265
|
-
created_at?: string;
|
|
2266
|
-
disabled_at?: string | null;
|
|
2267
|
-
expires_at?: string | null;
|
|
2268
|
-
id?: string;
|
|
2269
|
-
max_sessions_per_visitor?: number;
|
|
2270
|
-
max_turns_per_session?: number;
|
|
2271
|
-
mode?: string;
|
|
2272
|
-
organization_id?: string;
|
|
2273
|
-
resource_id?: string;
|
|
2274
|
-
slug?: string;
|
|
2275
|
-
tool_policy?: Json;
|
|
2276
|
-
updated_at?: string;
|
|
2277
|
-
};
|
|
2278
|
-
Relationships: [
|
|
2279
|
-
{
|
|
2280
|
-
foreignKeyName: "agent_access_grants_organization_id_fkey";
|
|
2281
|
-
columns: ["organization_id"];
|
|
2282
|
-
isOneToOne: false;
|
|
2283
|
-
referencedRelation: "organizations";
|
|
2284
|
-
referencedColumns: ["id"];
|
|
2285
|
-
}
|
|
2286
|
-
];
|
|
2287
|
-
};
|
|
2288
|
-
agent_chat_capabilities: {
|
|
2289
|
-
Row: {
|
|
2290
|
-
created_at: string;
|
|
2291
|
-
expires_at: string;
|
|
2292
|
-
grant_id: string;
|
|
2293
|
-
id: string;
|
|
2294
|
-
organization_id: string;
|
|
2295
|
-
origin: string | null;
|
|
2296
|
-
resource_id: string;
|
|
2297
|
-
revoked_at: string | null;
|
|
2298
|
-
session_id: string | null;
|
|
2299
|
-
token_hash: string;
|
|
2300
|
-
visitor_id: string | null;
|
|
2301
|
-
};
|
|
2302
|
-
Insert: {
|
|
2303
|
-
created_at?: string;
|
|
2304
|
-
expires_at: string;
|
|
2305
|
-
grant_id: string;
|
|
2306
|
-
id?: string;
|
|
2307
|
-
organization_id: string;
|
|
2308
|
-
origin?: string | null;
|
|
2309
|
-
resource_id: string;
|
|
2310
|
-
revoked_at?: string | null;
|
|
2311
|
-
session_id?: string | null;
|
|
2312
|
-
token_hash: string;
|
|
2313
|
-
visitor_id?: string | null;
|
|
2314
|
-
};
|
|
2315
|
-
Update: {
|
|
2316
|
-
created_at?: string;
|
|
2317
|
-
expires_at?: string;
|
|
2318
|
-
grant_id?: string;
|
|
2319
|
-
id?: string;
|
|
2320
|
-
organization_id?: string;
|
|
2321
|
-
origin?: string | null;
|
|
2322
|
-
resource_id?: string;
|
|
2323
|
-
revoked_at?: string | null;
|
|
2324
|
-
session_id?: string | null;
|
|
2325
|
-
token_hash?: string;
|
|
2326
|
-
visitor_id?: string | null;
|
|
2327
|
-
};
|
|
2328
|
-
Relationships: [
|
|
2329
|
-
{
|
|
2330
|
-
foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
|
|
2331
|
-
columns: ["grant_id"];
|
|
2332
|
-
isOneToOne: false;
|
|
2333
|
-
referencedRelation: "agent_access_grants";
|
|
2334
|
-
referencedColumns: ["id"];
|
|
2335
|
-
},
|
|
2336
|
-
{
|
|
2337
|
-
foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
|
|
2338
|
-
columns: ["organization_id"];
|
|
2339
|
-
isOneToOne: false;
|
|
2340
|
-
referencedRelation: "organizations";
|
|
2341
|
-
referencedColumns: ["id"];
|
|
2342
|
-
},
|
|
2343
|
-
{
|
|
2344
|
-
foreignKeyName: "agent_chat_capabilities_session_id_fkey";
|
|
2345
|
-
columns: ["session_id"];
|
|
2346
|
-
isOneToOne: false;
|
|
2347
|
-
referencedRelation: "sessions";
|
|
2348
|
-
referencedColumns: ["session_id"];
|
|
2349
|
-
}
|
|
2350
|
-
];
|
|
2351
|
-
};
|
|
2352
2285
|
organizations: {
|
|
2353
2286
|
Row: {
|
|
2354
2287
|
config: Json;
|
|
@@ -3247,11 +3180,11 @@ type Database = {
|
|
|
3247
3180
|
Returns: undefined;
|
|
3248
3181
|
};
|
|
3249
3182
|
auth_jwt_claims: {
|
|
3250
|
-
Args: never
|
|
3183
|
+
Args: Record<PropertyKey, never>;
|
|
3251
3184
|
Returns: Json;
|
|
3252
3185
|
};
|
|
3253
3186
|
auth_uid_safe: {
|
|
3254
|
-
Args: never
|
|
3187
|
+
Args: Record<PropertyKey, never>;
|
|
3255
3188
|
Returns: string;
|
|
3256
3189
|
};
|
|
3257
3190
|
can_assign_role_in_org: {
|
|
@@ -3262,7 +3195,7 @@ type Database = {
|
|
|
3262
3195
|
Returns: boolean;
|
|
3263
3196
|
};
|
|
3264
3197
|
current_user_is_platform_admin: {
|
|
3265
|
-
Args: never
|
|
3198
|
+
Args: Record<PropertyKey, never>;
|
|
3266
3199
|
Returns: boolean;
|
|
3267
3200
|
};
|
|
3268
3201
|
current_user_shares_org_with: {
|
|
@@ -3272,11 +3205,11 @@ type Database = {
|
|
|
3272
3205
|
Returns: boolean;
|
|
3273
3206
|
};
|
|
3274
3207
|
current_user_supabase_id: {
|
|
3275
|
-
Args: never
|
|
3208
|
+
Args: Record<PropertyKey, never>;
|
|
3276
3209
|
Returns: string;
|
|
3277
3210
|
};
|
|
3278
3211
|
detect_stalled_executions: {
|
|
3279
|
-
Args: never
|
|
3212
|
+
Args: Record<PropertyKey, never>;
|
|
3280
3213
|
Returns: undefined;
|
|
3281
3214
|
};
|
|
3282
3215
|
execute_session_turn: {
|
|
@@ -3297,7 +3230,7 @@ type Database = {
|
|
|
3297
3230
|
}[];
|
|
3298
3231
|
};
|
|
3299
3232
|
get_platform_credential_kek: {
|
|
3300
|
-
Args: never
|
|
3233
|
+
Args: Record<PropertyKey, never>;
|
|
3301
3234
|
Returns: string;
|
|
3302
3235
|
};
|
|
3303
3236
|
get_storage_org_id: {
|
|
@@ -3307,7 +3240,7 @@ type Database = {
|
|
|
3307
3240
|
Returns: string;
|
|
3308
3241
|
};
|
|
3309
3242
|
get_workos_user_id: {
|
|
3310
|
-
Args: never
|
|
3243
|
+
Args: Record<PropertyKey, never>;
|
|
3311
3244
|
Returns: string;
|
|
3312
3245
|
};
|
|
3313
3246
|
has_org_access: {
|
|
@@ -3315,10 +3248,7 @@ type Database = {
|
|
|
3315
3248
|
action?: string;
|
|
3316
3249
|
org_id: string;
|
|
3317
3250
|
system_path: string;
|
|
3318
|
-
}
|
|
3319
|
-
Returns: boolean;
|
|
3320
|
-
} | {
|
|
3321
|
-
Args: {
|
|
3251
|
+
} | {
|
|
3322
3252
|
action?: string;
|
|
3323
3253
|
system_path: string;
|
|
3324
3254
|
};
|
|
@@ -3354,15 +3284,15 @@ type Database = {
|
|
|
3354
3284
|
Returns: Json;
|
|
3355
3285
|
};
|
|
3356
3286
|
process_due_schedules: {
|
|
3357
|
-
Args: never
|
|
3287
|
+
Args: Record<PropertyKey, never>;
|
|
3358
3288
|
Returns: Json;
|
|
3359
3289
|
};
|
|
3360
3290
|
recompute_all_memberships: {
|
|
3361
|
-
Args: never
|
|
3291
|
+
Args: Record<PropertyKey, never>;
|
|
3362
3292
|
Returns: undefined;
|
|
3363
3293
|
};
|
|
3364
3294
|
repair_membership_role_assignments: {
|
|
3365
|
-
Args: never
|
|
3295
|
+
Args: Record<PropertyKey, never>;
|
|
3366
3296
|
Returns: {
|
|
3367
3297
|
membership_id: string;
|
|
3368
3298
|
organization_id: string;
|
|
@@ -3392,7 +3322,7 @@ type Database = {
|
|
|
3392
3322
|
Returns: string;
|
|
3393
3323
|
};
|
|
3394
3324
|
upsert_user_profile: {
|
|
3395
|
-
Args: never
|
|
3325
|
+
Args: Record<PropertyKey, never>;
|
|
3396
3326
|
Returns: {
|
|
3397
3327
|
profile_display_name: string;
|
|
3398
3328
|
profile_email: string;
|
package/dist/provider/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-V3B26UZR.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -11,8 +11,8 @@ 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';
|