@elevasis/ui 2.51.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.
Files changed (51) hide show
  1. package/dist/app/index.d.ts +82 -151
  2. package/dist/app/index.js +5 -4
  3. package/dist/auth/index.js +3 -3
  4. package/dist/charts/index.js +3 -3
  5. package/dist/{chunk-GUKY77FJ.js → chunk-E6NSKXYN.js} +12 -4
  6. package/dist/chunk-M7WWRZ5Z.js +159 -0
  7. package/dist/{chunk-SBNC3FRX.js → chunk-V3B26UZR.js} +10 -10
  8. package/dist/components/chat/index.d.ts +9 -1
  9. package/dist/components/chat/index.js +1 -1
  10. package/dist/components/index.d.ts +80 -150
  11. package/dist/components/index.js +3 -3
  12. package/dist/components/navigation/index.js +3 -3
  13. package/dist/features/auth/index.d.ts +80 -150
  14. package/dist/features/auth/index.js +4 -4
  15. package/dist/features/clients/index.js +3 -3
  16. package/dist/features/crm/index.d.ts +80 -150
  17. package/dist/features/crm/index.js +3 -3
  18. package/dist/features/dashboard/index.js +3 -3
  19. package/dist/features/delivery/index.d.ts +80 -150
  20. package/dist/features/delivery/index.js +3 -3
  21. package/dist/features/knowledge/index.js +3 -3
  22. package/dist/features/lead-gen/index.js +3 -3
  23. package/dist/features/monitoring/index.js +3 -3
  24. package/dist/features/monitoring/requests/index.js +4 -4
  25. package/dist/features/operations/index.js +3 -3
  26. package/dist/features/public-agent-chat/index.d.ts +17 -3
  27. package/dist/features/public-agent-chat/index.js +313 -113
  28. package/dist/features/settings/index.d.ts +80 -150
  29. package/dist/features/settings/index.js +3 -3
  30. package/dist/hooks/access/index.js +3 -3
  31. package/dist/hooks/delivery/index.d.ts +80 -150
  32. package/dist/hooks/delivery/index.js +3 -3
  33. package/dist/hooks/index.d.ts +97 -151
  34. package/dist/hooks/index.js +3 -3
  35. package/dist/hooks/published.d.ts +97 -151
  36. package/dist/hooks/published.js +3 -3
  37. package/dist/index.d.ts +97 -151
  38. package/dist/index.js +3 -3
  39. package/dist/initialization/index.d.ts +80 -150
  40. package/dist/knowledge/index.js +4 -4
  41. package/dist/layout/index.js +3 -3
  42. package/dist/organization/index.js +3 -3
  43. package/dist/profile/index.d.ts +80 -150
  44. package/dist/provider/index.d.ts +80 -150
  45. package/dist/provider/index.js +3 -3
  46. package/dist/provider/published.d.ts +80 -150
  47. package/dist/provider/published.js +3 -3
  48. package/dist/supabase/index.d.ts +159 -292
  49. package/dist/types/index.d.ts +80 -150
  50. package/package.json +5 -5
  51. package/dist/chunk-EJL4U7OZ.js +0 -79
@@ -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;
@@ -1,5 +1,5 @@
1
- import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, PageContainer, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, PolicySchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-SBNC3FRX.js';
2
- export { FILTERABLE_DOMAIN_KEYS, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-SBNC3FRX.js';
1
+ import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, PageContainer, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, PolicySchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-V3B26UZR.js';
2
+ export { FILTERABLE_DOMAIN_KEYS, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KnowledgeSearchBar, KnowledgeTree, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, SemanticIcon, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent } from '../chunk-V3B26UZR.js';
3
3
  import { usePresetsContext } from '../chunk-NZ2F5RQ4.js';
4
4
  import '../chunk-OJJK27GC.js';
5
5
  import '../chunk-ZTWA5H77.js';
@@ -12,8 +12,8 @@ import '../chunk-GMXGDO3I.js';
12
12
  import '../chunk-S3XR4II4.js';
13
13
  import '../chunk-6DO4PE3O.js';
14
14
  import '../chunk-DD3CCMCZ.js';
15
- import '../chunk-EJL4U7OZ.js';
16
- import '../chunk-GUKY77FJ.js';
15
+ import '../chunk-M7WWRZ5Z.js';
16
+ import '../chunk-E6NSKXYN.js';
17
17
  import '../chunk-2IFYDILW.js';
18
18
  import '../chunk-Q7DJKLEN.js';
19
19
  import '../chunk-HENXLGVD.js';
@@ -1,4 +1,4 @@
1
- export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-SBNC3FRX.js';
1
+ export { AppShellCenteredContainer, AppShellContainer, AppShellContentContainer, AppShellError, AppShellLoader, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, PageContainer, Sidebar, SidebarContext, SidebarProvider, SubshellContainer, SubshellContentContainer, SubshellLoader, SubshellNavList, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-V3B26UZR.js';
2
2
  import '../chunk-NZ2F5RQ4.js';
3
3
  export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-OJJK27GC.js';
4
4
  import '../chunk-ZTWA5H77.js';
@@ -11,8 +11,8 @@ export { SubshellNavItem, SubshellSidebarSection, sidebarBottomSectionCollapsedH
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';
@@ -1,4 +1,4 @@
1
- export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-SBNC3FRX.js';
1
+ export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } 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
  export { OrganizationContext, useOrganization } from '../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';
@@ -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;