@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.
Files changed (55) hide show
  1. package/dist/app/index.d.ts +82 -151
  2. package/dist/app/index.js +6 -5
  3. package/dist/auth/index.js +4 -4
  4. package/dist/charts/index.js +4 -4
  5. package/dist/{chunk-SBNC3FRX.js → chunk-CPIQ5GXG.js} +394 -112
  6. package/dist/{chunk-GUKY77FJ.js → chunk-E6NSKXYN.js} +12 -4
  7. package/dist/{chunk-7FPLLSHN.js → chunk-I3CFGE3N.js} +6 -0
  8. package/dist/chunk-M7WWRZ5Z.js +159 -0
  9. package/dist/components/chat/index.d.ts +9 -1
  10. package/dist/components/chat/index.js +1 -1
  11. package/dist/components/index.d.ts +98 -155
  12. package/dist/components/index.js +4 -4
  13. package/dist/components/navigation/index.js +4 -4
  14. package/dist/execution/index.d.ts +2 -0
  15. package/dist/execution/index.js +1 -1
  16. package/dist/features/auth/index.d.ts +80 -150
  17. package/dist/features/auth/index.js +5 -5
  18. package/dist/features/clients/index.js +4 -4
  19. package/dist/features/crm/index.d.ts +80 -150
  20. package/dist/features/crm/index.js +4 -4
  21. package/dist/features/dashboard/index.js +4 -4
  22. package/dist/features/delivery/index.d.ts +80 -150
  23. package/dist/features/delivery/index.js +4 -4
  24. package/dist/features/knowledge/index.js +4 -4
  25. package/dist/features/lead-gen/index.js +4 -4
  26. package/dist/features/monitoring/index.d.ts +1 -1
  27. package/dist/features/monitoring/index.js +4 -4
  28. package/dist/features/monitoring/requests/index.js +5 -5
  29. package/dist/features/operations/index.js +4 -4
  30. package/dist/features/public-agent-chat/index.d.ts +17 -3
  31. package/dist/features/public-agent-chat/index.js +313 -113
  32. package/dist/features/settings/index.d.ts +80 -150
  33. package/dist/features/settings/index.js +4 -4
  34. package/dist/hooks/access/index.js +4 -4
  35. package/dist/hooks/delivery/index.d.ts +80 -150
  36. package/dist/hooks/delivery/index.js +4 -4
  37. package/dist/hooks/index.d.ts +98 -152
  38. package/dist/hooks/index.js +4 -4
  39. package/dist/hooks/published.d.ts +98 -152
  40. package/dist/hooks/published.js +4 -4
  41. package/dist/index.d.ts +116 -155
  42. package/dist/index.js +4 -4
  43. package/dist/initialization/index.d.ts +80 -150
  44. package/dist/knowledge/index.js +5 -5
  45. package/dist/layout/index.js +4 -4
  46. package/dist/organization/index.js +4 -4
  47. package/dist/profile/index.d.ts +80 -150
  48. package/dist/provider/index.d.ts +80 -150
  49. package/dist/provider/index.js +4 -4
  50. package/dist/provider/published.d.ts +80 -150
  51. package/dist/provider/published.js +4 -4
  52. package/dist/supabase/index.d.ts +159 -292
  53. package/dist/types/index.d.ts +81 -151
  54. package/package.json +3 -3
  55. package/dist/chunk-EJL4U7OZ.js +0 -79
@@ -54,9 +54,6 @@ type Json = string | number | boolean | null | {
54
54
  [key: string]: Json | undefined;
55
55
  } | Json[];
56
56
  type Database = {
57
- __InternalSupabase: {
58
- PostgrestVersion: "12.2.3 (519615d)";
59
- };
60
57
  public: {
61
58
  Tables: {
62
59
  acq_artifacts: {
@@ -1256,6 +1253,74 @@ type Database = {
1256
1253
  }
1257
1254
  ];
1258
1255
  };
1256
+ agent_access_grants: {
1257
+ Row: {
1258
+ allowed_origins: string[];
1259
+ branding: Json;
1260
+ capture_fields: Json;
1261
+ code_hash: string | null;
1262
+ code_salt: string | null;
1263
+ created_at: string;
1264
+ disabled_at: string | null;
1265
+ expires_at: string | null;
1266
+ id: string;
1267
+ max_sessions_per_visitor: number;
1268
+ max_turns_per_session: number;
1269
+ mode: string;
1270
+ organization_id: string;
1271
+ resource_id: string;
1272
+ slug: string;
1273
+ tool_policy: Json;
1274
+ updated_at: string;
1275
+ };
1276
+ Insert: {
1277
+ allowed_origins?: string[];
1278
+ branding?: Json;
1279
+ capture_fields?: Json;
1280
+ code_hash?: string | null;
1281
+ code_salt?: string | null;
1282
+ created_at?: string;
1283
+ disabled_at?: string | null;
1284
+ expires_at?: string | null;
1285
+ id?: string;
1286
+ max_sessions_per_visitor?: number;
1287
+ max_turns_per_session?: number;
1288
+ mode?: string;
1289
+ organization_id: string;
1290
+ resource_id: string;
1291
+ slug: string;
1292
+ tool_policy?: Json;
1293
+ updated_at?: string;
1294
+ };
1295
+ Update: {
1296
+ allowed_origins?: string[];
1297
+ branding?: Json;
1298
+ capture_fields?: Json;
1299
+ code_hash?: string | null;
1300
+ code_salt?: string | null;
1301
+ created_at?: string;
1302
+ disabled_at?: string | null;
1303
+ expires_at?: string | null;
1304
+ id?: string;
1305
+ max_sessions_per_visitor?: number;
1306
+ max_turns_per_session?: number;
1307
+ mode?: string;
1308
+ organization_id?: string;
1309
+ resource_id?: string;
1310
+ slug?: string;
1311
+ tool_policy?: Json;
1312
+ updated_at?: string;
1313
+ };
1314
+ Relationships: [
1315
+ {
1316
+ foreignKeyName: "agent_access_grants_organization_id_fkey";
1317
+ columns: ["organization_id"];
1318
+ isOneToOne: false;
1319
+ referencedRelation: "organizations";
1320
+ referencedColumns: ["id"];
1321
+ }
1322
+ ];
1323
+ };
1259
1324
  api_keys: {
1260
1325
  Row: {
1261
1326
  created_at: string | null;
@@ -2163,138 +2228,6 @@ type Database = {
2163
2228
  };
2164
2229
  Relationships: [];
2165
2230
  };
2166
- agent_access_grants: {
2167
- Row: {
2168
- allowed_origins: string[];
2169
- branding: Json;
2170
- capture_fields: Json;
2171
- code_hash: string | null;
2172
- code_salt: string | null;
2173
- created_at: string;
2174
- disabled_at: string | null;
2175
- expires_at: string | null;
2176
- id: string;
2177
- max_sessions_per_visitor: number;
2178
- max_turns_per_session: number;
2179
- mode: string;
2180
- organization_id: string;
2181
- resource_id: string;
2182
- slug: string;
2183
- tool_policy: Json;
2184
- updated_at: string;
2185
- };
2186
- Insert: {
2187
- allowed_origins?: string[];
2188
- branding?: Json;
2189
- capture_fields?: Json;
2190
- code_hash?: string | null;
2191
- code_salt?: string | null;
2192
- created_at?: string;
2193
- disabled_at?: string | null;
2194
- expires_at?: string | null;
2195
- id?: string;
2196
- max_sessions_per_visitor?: number;
2197
- max_turns_per_session?: number;
2198
- mode?: string;
2199
- organization_id: string;
2200
- resource_id: string;
2201
- slug: string;
2202
- tool_policy?: Json;
2203
- updated_at?: string;
2204
- };
2205
- Update: {
2206
- allowed_origins?: string[];
2207
- branding?: Json;
2208
- capture_fields?: Json;
2209
- code_hash?: string | null;
2210
- code_salt?: string | null;
2211
- created_at?: string;
2212
- disabled_at?: string | null;
2213
- expires_at?: string | null;
2214
- id?: string;
2215
- max_sessions_per_visitor?: number;
2216
- max_turns_per_session?: number;
2217
- mode?: string;
2218
- organization_id?: string;
2219
- resource_id?: string;
2220
- slug?: string;
2221
- tool_policy?: Json;
2222
- updated_at?: string;
2223
- };
2224
- Relationships: [
2225
- {
2226
- foreignKeyName: "agent_access_grants_organization_id_fkey";
2227
- columns: ["organization_id"];
2228
- isOneToOne: false;
2229
- referencedRelation: "organizations";
2230
- referencedColumns: ["id"];
2231
- }
2232
- ];
2233
- };
2234
- agent_chat_capabilities: {
2235
- Row: {
2236
- created_at: string;
2237
- expires_at: string;
2238
- grant_id: string;
2239
- id: string;
2240
- organization_id: string;
2241
- origin: string | null;
2242
- resource_id: string;
2243
- revoked_at: string | null;
2244
- session_id: string | null;
2245
- token_hash: string;
2246
- visitor_id: string | null;
2247
- };
2248
- Insert: {
2249
- created_at?: string;
2250
- expires_at: string;
2251
- grant_id: string;
2252
- id?: string;
2253
- organization_id: string;
2254
- origin?: string | null;
2255
- resource_id: string;
2256
- revoked_at?: string | null;
2257
- session_id?: string | null;
2258
- token_hash: string;
2259
- visitor_id?: string | null;
2260
- };
2261
- Update: {
2262
- created_at?: string;
2263
- expires_at?: string;
2264
- grant_id?: string;
2265
- id?: string;
2266
- organization_id?: string;
2267
- origin?: string | null;
2268
- resource_id?: string;
2269
- revoked_at?: string | null;
2270
- session_id?: string | null;
2271
- token_hash?: string;
2272
- visitor_id?: string | null;
2273
- };
2274
- Relationships: [
2275
- {
2276
- foreignKeyName: "agent_chat_capabilities_grant_id_fkey";
2277
- columns: ["grant_id"];
2278
- isOneToOne: false;
2279
- referencedRelation: "agent_access_grants";
2280
- referencedColumns: ["id"];
2281
- },
2282
- {
2283
- foreignKeyName: "agent_chat_capabilities_organization_id_fkey";
2284
- columns: ["organization_id"];
2285
- isOneToOne: false;
2286
- referencedRelation: "organizations";
2287
- referencedColumns: ["id"];
2288
- },
2289
- {
2290
- foreignKeyName: "agent_chat_capabilities_session_id_fkey";
2291
- columns: ["session_id"];
2292
- isOneToOne: false;
2293
- referencedRelation: "sessions";
2294
- referencedColumns: ["session_id"];
2295
- }
2296
- ];
2297
- };
2298
2231
  organizations: {
2299
2232
  Row: {
2300
2233
  config: Json;
@@ -3193,11 +3126,11 @@ type Database = {
3193
3126
  Returns: undefined;
3194
3127
  };
3195
3128
  auth_jwt_claims: {
3196
- Args: never;
3129
+ Args: Record<PropertyKey, never>;
3197
3130
  Returns: Json;
3198
3131
  };
3199
3132
  auth_uid_safe: {
3200
- Args: never;
3133
+ Args: Record<PropertyKey, never>;
3201
3134
  Returns: string;
3202
3135
  };
3203
3136
  can_assign_role_in_org: {
@@ -3208,7 +3141,7 @@ type Database = {
3208
3141
  Returns: boolean;
3209
3142
  };
3210
3143
  current_user_is_platform_admin: {
3211
- Args: never;
3144
+ Args: Record<PropertyKey, never>;
3212
3145
  Returns: boolean;
3213
3146
  };
3214
3147
  current_user_shares_org_with: {
@@ -3218,11 +3151,11 @@ type Database = {
3218
3151
  Returns: boolean;
3219
3152
  };
3220
3153
  current_user_supabase_id: {
3221
- Args: never;
3154
+ Args: Record<PropertyKey, never>;
3222
3155
  Returns: string;
3223
3156
  };
3224
3157
  detect_stalled_executions: {
3225
- Args: never;
3158
+ Args: Record<PropertyKey, never>;
3226
3159
  Returns: undefined;
3227
3160
  };
3228
3161
  execute_session_turn: {
@@ -3243,7 +3176,7 @@ type Database = {
3243
3176
  }[];
3244
3177
  };
3245
3178
  get_platform_credential_kek: {
3246
- Args: never;
3179
+ Args: Record<PropertyKey, never>;
3247
3180
  Returns: string;
3248
3181
  };
3249
3182
  get_storage_org_id: {
@@ -3253,7 +3186,7 @@ type Database = {
3253
3186
  Returns: string;
3254
3187
  };
3255
3188
  get_workos_user_id: {
3256
- Args: never;
3189
+ Args: Record<PropertyKey, never>;
3257
3190
  Returns: string;
3258
3191
  };
3259
3192
  has_org_access: {
@@ -3261,10 +3194,7 @@ type Database = {
3261
3194
  action?: string;
3262
3195
  org_id: string;
3263
3196
  system_path: string;
3264
- };
3265
- Returns: boolean;
3266
- } | {
3267
- Args: {
3197
+ } | {
3268
3198
  action?: string;
3269
3199
  system_path: string;
3270
3200
  };
@@ -3300,15 +3230,15 @@ type Database = {
3300
3230
  Returns: Json;
3301
3231
  };
3302
3232
  process_due_schedules: {
3303
- Args: never;
3233
+ Args: Record<PropertyKey, never>;
3304
3234
  Returns: Json;
3305
3235
  };
3306
3236
  recompute_all_memberships: {
3307
- Args: never;
3237
+ Args: Record<PropertyKey, never>;
3308
3238
  Returns: undefined;
3309
3239
  };
3310
3240
  repair_membership_role_assignments: {
3311
- Args: never;
3241
+ Args: Record<PropertyKey, never>;
3312
3242
  Returns: {
3313
3243
  membership_id: string;
3314
3244
  organization_id: string;
@@ -3338,7 +3268,7 @@ type Database = {
3338
3268
  Returns: string;
3339
3269
  };
3340
3270
  upsert_user_profile: {
3341
- Args: never;
3271
+ Args: Record<PropertyKey, never>;
3342
3272
  Returns: {
3343
3273
  profile_display_name: string;
3344
3274
  profile_email: string;
@@ -1,4 +1,4 @@
1
- export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ContactDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings } from '../../chunk-SBNC3FRX.js';
1
+ export { ActivityFeedWidget, CRM_ITEMS, CompanyDetailPage, ContactDetailPage, ConversationThread, CrmOverview, CrmSettingsPage, CrmSidebar, CrmSidebarMiddle, CrmSidebarTop, DEAL_STAGE_COLORS, DEAL_STAGE_OPTIONS, DealDetailPage, DealsListPage, MetricsStrip, MyTasksPanel, PIPELINE_FUNNEL_ORDER, PipelineFunnelWidget, QuickCreateActions, SAVED_VIEW_PRESETS, SavedViewsPanel, crmManifest, crmPrioritySettingsKeys, formatDealStageLabel, useCrmPipelineSummary, useCrmPrioritySettings, useCrmQuickMetrics, useRecentCrmActivity, useResetCrmPrioritySettings, useUpdateCrmPrioritySettings } 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-EJL4U7OZ.js';
15
- import '../../chunk-GUKY77FJ.js';
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-7FPLLSHN.js';
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 { Dashboard, DashboardOperationsOverview, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } from '../../chunk-SBNC3FRX.js';
1
+ export { Dashboard, DashboardOperationsOverview, OperationsOverview, RecentExecutionsByResource, ResourceOverview, UnresolvedErrorsTeaser } 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-EJL4U7OZ.js';
15
- import '../../chunk-GUKY77FJ.js';
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-7FPLLSHN.js';
19
+ import '../../chunk-I3CFGE3N.js';
20
20
  import '../../chunk-RNP5R5I3.js';
21
21
  import '../../chunk-W2SFTXMT.js';
22
22
  import '../../chunk-XOPLS4S6.js';
@@ -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;