@elevasis/ui 2.49.0 → 2.51.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/api/index.js +4 -3
- package/dist/app/index.d.ts +132 -0
- package/dist/app/index.js +8 -6
- package/dist/auth/index.js +8 -6
- package/dist/charts/index.js +8 -6
- package/dist/{chunk-SOGPJFO6.js → chunk-4UA62IDF.js} +1 -1
- package/dist/{chunk-OFLWSKSC.js → chunk-7Q5THR43.js} +1 -1
- package/dist/chunk-EJL4U7OZ.js +79 -0
- package/dist/chunk-FVOMKZ7S.js +118 -0
- package/dist/{chunk-Y3HPUATG.js → chunk-SBNC3FRX.js} +117 -118
- package/dist/{chunk-CDZB24OR.js → chunk-XOPLS4S6.js} +1 -85
- package/dist/components/index.d.ts +132 -0
- package/dist/components/index.js +8 -6
- package/dist/components/navigation/index.js +8 -6
- package/dist/features/auth/index.d.ts +132 -0
- package/dist/features/auth/index.js +9 -7
- package/dist/features/clients/index.js +8 -6
- package/dist/features/crm/index.d.ts +132 -0
- package/dist/features/crm/index.js +8 -6
- package/dist/features/dashboard/index.js +8 -6
- package/dist/features/delivery/index.d.ts +132 -0
- package/dist/features/delivery/index.js +8 -6
- package/dist/features/knowledge/index.js +8 -6
- package/dist/features/lead-gen/index.js +8 -6
- package/dist/features/monitoring/index.js +8 -6
- package/dist/features/monitoring/requests/index.js +9 -7
- package/dist/features/operations/index.d.ts +2 -2
- package/dist/features/operations/index.js +8 -6
- package/dist/features/public-agent-chat/index.d.ts +161 -0
- package/dist/features/public-agent-chat/index.js +413 -0
- package/dist/features/settings/index.d.ts +132 -0
- package/dist/features/settings/index.js +8 -6
- package/dist/hooks/access/index.js +8 -6
- package/dist/hooks/delivery/index.d.ts +132 -0
- package/dist/hooks/delivery/index.js +8 -6
- package/dist/hooks/index.d.ts +135 -1
- package/dist/hooks/index.js +8 -6
- package/dist/hooks/published.d.ts +135 -1
- package/dist/hooks/published.js +8 -6
- package/dist/index.d.ts +135 -1
- package/dist/index.js +9 -7
- package/dist/initialization/index.d.ts +132 -0
- package/dist/knowledge/index.d.ts +48 -2
- package/dist/knowledge/index.js +583 -108
- package/dist/{knowledge-search-index-MHOBQTT3.js → knowledge-search-index-JOPRYZN6.js} +600 -561
- package/dist/layout/index.js +8 -6
- package/dist/organization/index.js +8 -6
- package/dist/profile/index.d.ts +132 -0
- package/dist/provider/index.d.ts +132 -0
- package/dist/provider/index.js +8 -6
- package/dist/provider/published.d.ts +132 -0
- package/dist/provider/published.js +8 -6
- package/dist/supabase/index.d.ts +258 -0
- package/dist/test-utils/index.js +4 -3
- package/dist/types/index.d.ts +135 -3
- package/dist/utils/index.js +2 -1
- package/package.json +10 -5
- package/src/knowledge/README.md +4 -2
|
@@ -2114,6 +2114,138 @@ type Database = {
|
|
|
2114
2114
|
};
|
|
2115
2115
|
Relationships: [];
|
|
2116
2116
|
};
|
|
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
|
+
};
|
|
2117
2249
|
organizations: {
|
|
2118
2250
|
Row: {
|
|
2119
2251
|
config: Json;
|
|
@@ -1512,6 +1512,52 @@ interface KnowledgeBrowserProps {
|
|
|
1512
1512
|
*/
|
|
1513
1513
|
declare function KnowledgeBrowser({ graph, knowledgeNodes, organizationModel, initialNodeId, onNavigateToNode, onSelectNode }: KnowledgeBrowserProps): react_jsx_runtime.JSX.Element;
|
|
1514
1514
|
|
|
1515
|
+
interface KnowledgeItemRouteId {
|
|
1516
|
+
domainKey: string;
|
|
1517
|
+
itemId: string;
|
|
1518
|
+
}
|
|
1519
|
+
type KnowledgeRouteTarget = {
|
|
1520
|
+
kind: 'domain';
|
|
1521
|
+
domainKey: string;
|
|
1522
|
+
} | {
|
|
1523
|
+
kind: 'group';
|
|
1524
|
+
groupKey: string;
|
|
1525
|
+
label?: string;
|
|
1526
|
+
domainKeys: readonly string[];
|
|
1527
|
+
} | {
|
|
1528
|
+
kind: 'folder';
|
|
1529
|
+
folderId: string;
|
|
1530
|
+
} | {
|
|
1531
|
+
kind: 'item';
|
|
1532
|
+
domainKey: string;
|
|
1533
|
+
itemId: string;
|
|
1534
|
+
} | {
|
|
1535
|
+
kind: 'knowledge';
|
|
1536
|
+
node: OrgKnowledgeNode;
|
|
1537
|
+
} | {
|
|
1538
|
+
kind: 'graph';
|
|
1539
|
+
node: OrganizationGraphNode;
|
|
1540
|
+
} | {
|
|
1541
|
+
kind: 'unresolved';
|
|
1542
|
+
nodeId: string;
|
|
1543
|
+
};
|
|
1544
|
+
declare function decodeKnowledgeRouteNodeId(nodeId: string): string;
|
|
1545
|
+
declare function formatKnowledgeRouteTitle(id: string): string;
|
|
1546
|
+
declare function formatKnowledgeDomainLabel(domainKey: string): string;
|
|
1547
|
+
declare function parseKnowledgeItemRouteId(nodeId: string): KnowledgeItemRouteId | undefined;
|
|
1548
|
+
declare function resolveKnowledgeGraphNodeByRouteId(graph: OrganizationGraph, routeNodeId: string): OrganizationGraphNode | undefined;
|
|
1549
|
+
declare function resolveKnowledgeRouteTarget(graph: OrganizationGraph, knowledgeNodes: OrgKnowledgeNode[], nodeId: string | undefined): KnowledgeRouteTarget | null;
|
|
1550
|
+
declare function getKnowledgeRouteBreadcrumbLabel(nodeId: string, graph: OrganizationGraph): string | undefined;
|
|
1551
|
+
|
|
1552
|
+
interface KnowledgeNodeDetailRouteViewProps {
|
|
1553
|
+
nodeId: string;
|
|
1554
|
+
graph: OrganizationGraph;
|
|
1555
|
+
knowledgeNodes: OrgKnowledgeNode[];
|
|
1556
|
+
organizationModel: OrganizationModel;
|
|
1557
|
+
onNavigateToNode?: (nodeId: string) => void;
|
|
1558
|
+
}
|
|
1559
|
+
declare function KnowledgeNodeDetailRouteView({ nodeId, graph, knowledgeNodes, organizationModel, onNavigateToNode }: KnowledgeNodeDetailRouteViewProps): react_jsx_runtime.JSX.Element;
|
|
1560
|
+
|
|
1515
1561
|
/**
|
|
1516
1562
|
* Identifies how to dispatch a favorited entry on click. Maps onto the
|
|
1517
1563
|
* `onSelect*` callback surface that `KnowledgeTree` already exposes.
|
|
@@ -2030,5 +2076,5 @@ interface NodeDescribeShellProps {
|
|
|
2030
2076
|
}
|
|
2031
2077
|
declare function NodeDescribeShell({ header, content, relationships, footer }: NodeDescribeShellProps): react_jsx_runtime.JSX.Element;
|
|
2032
2078
|
|
|
2033
|
-
export { DescribeNodeView, DomainPanelDispatcher, EdgeRelationshipGroup, FILTERABLE_DOMAIN_KEYS, GenericDescribeView, KNOWLEDGE_ALLOWLIST, KNOWLEDGE_BODIES, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KNOWLEDGE_ITEMS, KindChip, KnowledgeBrowser, KnowledgeMDXProvider, KnowledgeNodeList, KnowledgeNodeView, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, OrganizationDescribeView, RelatedKnowledgeSection, ResourceDescribeView, SemanticIcon, SystemDescribeView, buildKnowledgeOmTreeData, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, getKnowledgeIconToken, getSemanticIconComponent, getSharedOrganizationGraph, resolveSemanticIconComponent, useKnowledgeAllowlist };
|
|
2034
|
-
export type { DescribeNodeViewProps, DomainPanelDispatcherProps, DomainPanelKey, EdgeRelationshipGroupProps, GenericDescribeViewProps, KindChipProps, KindChipTone, KnowledgeBrowserProps, KnowledgeFacetStates, KnowledgeNodeListProps, KnowledgeNodeViewProps, KnowledgeSearchBarProps, KnowledgeTreeNodeData, KnowledgeTreeProps, NodeDescribeShellProps, NodeHeaderProps, NodeMetadataFooterProps, OrganizationDescribeViewProps, RelatedKnowledgeSectionProps, ResourceDescribeViewProps, SemanticIconProps, SemanticIconRegistry, SemanticIconToken, SystemDescribeViewProps };
|
|
2079
|
+
export { DescribeNodeView, DomainPanelDispatcher, EdgeRelationshipGroup, FILTERABLE_DOMAIN_KEYS, GenericDescribeView, KNOWLEDGE_ALLOWLIST, KNOWLEDGE_BODIES, KNOWLEDGE_DOMAINS_WITH_PANELS, KNOWLEDGE_ICON_TOKEN_BY_KIND, KNOWLEDGE_ITEMS, KindChip, KnowledgeBrowser, KnowledgeMDXProvider, KnowledgeNodeDetailRouteView, KnowledgeNodeList, KnowledgeNodeView, KnowledgeSearchBar, KnowledgeTree, NodeDescribeShell, NodeHeader, NodeMetadataFooter, OM_NESTED_TREE_GROUPS, OM_TREE_GROUPS, OrganizationDescribeView, RelatedKnowledgeSection, ResourceDescribeView, SemanticIcon, SystemDescribeView, buildKnowledgeOmTreeData, decodeKnowledgeRouteNodeId, extendSemanticIconRegistry, findKnowledgeTreeNodeByValue, findOmTreeGroup, formatKnowledgeDomainLabel, formatKnowledgeRouteTitle, getKnowledgeIconToken, getKnowledgeRouteBreadcrumbLabel, getSemanticIconComponent, getSharedOrganizationGraph, parseKnowledgeItemRouteId, resolveKnowledgeGraphNodeByRouteId, resolveKnowledgeRouteTarget, resolveSemanticIconComponent, useKnowledgeAllowlist };
|
|
2080
|
+
export type { DescribeNodeViewProps, DomainPanelDispatcherProps, DomainPanelKey, EdgeRelationshipGroupProps, GenericDescribeViewProps, KindChipProps, KindChipTone, KnowledgeBrowserProps, KnowledgeFacetStates, KnowledgeItemRouteId, KnowledgeNodeDetailRouteViewProps, KnowledgeNodeListProps, KnowledgeNodeViewProps, KnowledgeRouteTarget, KnowledgeSearchBarProps, KnowledgeTreeNodeData, KnowledgeTreeProps, NodeDescribeShellProps, NodeHeaderProps, NodeMetadataFooterProps, OrganizationDescribeViewProps, RelatedKnowledgeSectionProps, ResourceDescribeViewProps, SemanticIconProps, SemanticIconRegistry, SemanticIconToken, SystemDescribeViewProps };
|