@elevasis/ui 2.64.1 → 2.65.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 +2 -2
- package/dist/app/index.d.ts +20 -0
- package/dist/app/index.js +4 -4
- package/dist/auth/index.js +4 -4
- package/dist/charts/index.js +4 -4
- package/dist/{chunk-PGAA4G3T.js → chunk-3WVZRN37.js} +40 -17
- package/dist/{chunk-DRQPEMJI.js → chunk-4DV4ECMG.js} +3 -0
- package/dist/{chunk-KRWALB24.js → chunk-6SSQGWK7.js} +1 -1
- package/dist/{chunk-I3CFGE3N.js → chunk-BLXJEIQS.js} +1 -1
- package/dist/{chunk-FVOMKZ7S.js → chunk-Y6I3IC45.js} +3 -6
- package/dist/components/index.d.ts +52 -0
- package/dist/components/index.js +4 -4
- package/dist/components/navigation/index.js +4 -4
- package/dist/execution/index.js +2 -2
- package/dist/features/auth/index.d.ts +87 -2
- package/dist/features/auth/index.js +142 -7
- package/dist/features/clients/index.js +4 -4
- package/dist/features/crm/index.d.ts +20 -0
- package/dist/features/crm/index.js +4 -4
- package/dist/features/dashboard/index.js +4 -4
- package/dist/features/delivery/index.d.ts +20 -0
- 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.js +4 -4
- package/dist/features/monitoring/requests/index.js +5 -5
- package/dist/features/operations/index.d.ts +36 -1
- package/dist/features/operations/index.js +4 -4
- package/dist/features/public-agent-chat/index.js +1 -1
- package/dist/features/settings/index.d.ts +20 -0
- package/dist/features/settings/index.js +4 -4
- package/dist/hooks/access/index.js +4 -4
- package/dist/hooks/delivery/index.d.ts +20 -0
- package/dist/hooks/delivery/index.js +4 -4
- package/dist/hooks/index.d.ts +53 -1
- package/dist/hooks/index.js +4 -4
- package/dist/hooks/published.d.ts +53 -1
- package/dist/hooks/published.js +4 -4
- package/dist/index.d.ts +53 -1
- package/dist/index.js +4 -4
- package/dist/initialization/index.d.ts +34 -0
- package/dist/knowledge/index.js +5 -5
- package/dist/layout/index.js +4 -4
- package/dist/organization/index.d.ts +14 -0
- package/dist/organization/index.js +4 -4
- package/dist/profile/index.d.ts +20 -0
- package/dist/provider/index.d.ts +20 -0
- package/dist/provider/index.js +4 -4
- package/dist/provider/published.d.ts +20 -0
- package/dist/provider/published.js +4 -4
- package/dist/supabase/index.d.ts +40 -0
- package/dist/test-utils/index.d.ts +5 -0
- package/dist/test-utils/index.js +4 -4
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +1 -1
- package/dist/types/index.d.ts +180 -0
- package/dist/utils/index.js +2 -2
- package/package.json +6 -4
|
@@ -2745,6 +2745,7 @@ type Database = {
|
|
|
2745
2745
|
deleted_at: string | null;
|
|
2746
2746
|
ended_at: string | null;
|
|
2747
2747
|
memory_snapshot: Json;
|
|
2748
|
+
memory_version: number;
|
|
2748
2749
|
metadata: Json | null;
|
|
2749
2750
|
organization_id: string;
|
|
2750
2751
|
resource_id: string;
|
|
@@ -2761,6 +2762,7 @@ type Database = {
|
|
|
2761
2762
|
deleted_at?: string | null;
|
|
2762
2763
|
ended_at?: string | null;
|
|
2763
2764
|
memory_snapshot: Json;
|
|
2765
|
+
memory_version?: number;
|
|
2764
2766
|
metadata?: Json | null;
|
|
2765
2767
|
organization_id: string;
|
|
2766
2768
|
resource_id: string;
|
|
@@ -2777,6 +2779,7 @@ type Database = {
|
|
|
2777
2779
|
deleted_at?: string | null;
|
|
2778
2780
|
ended_at?: string | null;
|
|
2779
2781
|
memory_snapshot?: Json;
|
|
2782
|
+
memory_version?: number;
|
|
2780
2783
|
metadata?: Json | null;
|
|
2781
2784
|
organization_id?: string;
|
|
2782
2785
|
resource_id?: string;
|
|
@@ -3114,9 +3117,14 @@ type Database = {
|
|
|
3114
3117
|
p_session_id: string;
|
|
3115
3118
|
};
|
|
3116
3119
|
Returns: {
|
|
3120
|
+
context_window_size: number;
|
|
3117
3121
|
created_at: string;
|
|
3122
|
+
cumulative_input_tokens: number;
|
|
3123
|
+
cumulative_output_tokens: number;
|
|
3124
|
+
deleted_at: string;
|
|
3118
3125
|
ended_at: string;
|
|
3119
3126
|
memory_snapshot: Json;
|
|
3127
|
+
memory_version: number;
|
|
3120
3128
|
metadata: Json;
|
|
3121
3129
|
organization_id: string;
|
|
3122
3130
|
resource_id: string;
|
|
@@ -3158,6 +3166,18 @@ type Database = {
|
|
|
3158
3166
|
};
|
|
3159
3167
|
Returns: boolean;
|
|
3160
3168
|
};
|
|
3169
|
+
increment_session_tokens: {
|
|
3170
|
+
Args: {
|
|
3171
|
+
p_input_tokens: number;
|
|
3172
|
+
p_output_tokens: number;
|
|
3173
|
+
p_session_id: string;
|
|
3174
|
+
};
|
|
3175
|
+
Returns: {
|
|
3176
|
+
context_window_size: number;
|
|
3177
|
+
cumulative_input_tokens: number;
|
|
3178
|
+
cumulative_output_tokens: number;
|
|
3179
|
+
}[];
|
|
3180
|
+
};
|
|
3161
3181
|
is_org_member: {
|
|
3162
3182
|
Args: {
|
|
3163
3183
|
org_id: string;
|
|
@@ -3267,10 +3287,24 @@ interface OrganizationMembership {
|
|
|
3267
3287
|
createdAt: string;
|
|
3268
3288
|
updatedAt: string;
|
|
3269
3289
|
}
|
|
3290
|
+
/**
|
|
3291
|
+
* How a membership row relates to the two systems that describe it.
|
|
3292
|
+
*
|
|
3293
|
+
* - `linked` — an `org_memberships` row that carries a `workos_membership_id`
|
|
3294
|
+
* - `pre_provisioned` — an `org_memberships` row with no `workos_membership_id`;
|
|
3295
|
+
* the invitee was provisioned but has not completed signup
|
|
3296
|
+
* - `workos_only` — a WorkOS membership with no `org_memberships` row (a sync gap)
|
|
3297
|
+
*/
|
|
3298
|
+
type MembershipProvisioningState = 'linked' | 'pre_provisioned' | 'workos_only';
|
|
3270
3299
|
/**
|
|
3271
3300
|
* Extended membership with user and organization details for UI
|
|
3272
3301
|
*/
|
|
3273
3302
|
interface MembershipWithDetails extends OrganizationMembership {
|
|
3303
|
+
/**
|
|
3304
|
+
* Set by `GET /memberships`. Optional so existing consumers are unaffected;
|
|
3305
|
+
* treat `undefined` as "not reported by this endpoint".
|
|
3306
|
+
*/
|
|
3307
|
+
provisioningState?: MembershipProvisioningState;
|
|
3274
3308
|
user?: {
|
|
3275
3309
|
id: string;
|
|
3276
3310
|
email: string;
|
package/dist/knowledge/index.js
CHANGED
|
@@ -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-
|
|
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-
|
|
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-3WVZRN37.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-3WVZRN37.js';
|
|
3
3
|
import { usePresetsContext } from '../chunk-4OEVLV66.js';
|
|
4
4
|
import '../chunk-RBGVNPA6.js';
|
|
5
5
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -17,12 +17,12 @@ import '../chunk-JFBZ6XDW.js';
|
|
|
17
17
|
import '../chunk-2IFYDILW.js';
|
|
18
18
|
import '../chunk-Q7DJKLEN.js';
|
|
19
19
|
import '../chunk-HENXLGVD.js';
|
|
20
|
-
import '../chunk-
|
|
20
|
+
import '../chunk-BLXJEIQS.js';
|
|
21
21
|
import '../chunk-RNP5R5I3.js';
|
|
22
22
|
import '../chunk-EIXSQONC.js';
|
|
23
23
|
import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-I7BZVVVU.js';
|
|
24
|
-
import '../chunk-
|
|
25
|
-
import '../chunk-
|
|
24
|
+
import '../chunk-Y6I3IC45.js';
|
|
25
|
+
import '../chunk-6SSQGWK7.js';
|
|
26
26
|
import '../chunk-BI5VDO2K.js';
|
|
27
27
|
import '../chunk-MQZE7SUI.js';
|
|
28
28
|
import '../chunk-TVTSASST.js';
|
package/dist/layout/index.js
CHANGED
|
@@ -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-
|
|
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-3WVZRN37.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-RBGVNPA6.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -16,12 +16,12 @@ import '../chunk-JFBZ6XDW.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-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../chunk-6SSQGWK7.js';
|
|
25
25
|
import '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
|
@@ -52,10 +52,24 @@ interface OrganizationMembership {
|
|
|
52
52
|
createdAt: string;
|
|
53
53
|
updatedAt: string;
|
|
54
54
|
}
|
|
55
|
+
/**
|
|
56
|
+
* How a membership row relates to the two systems that describe it.
|
|
57
|
+
*
|
|
58
|
+
* - `linked` — an `org_memberships` row that carries a `workos_membership_id`
|
|
59
|
+
* - `pre_provisioned` — an `org_memberships` row with no `workos_membership_id`;
|
|
60
|
+
* the invitee was provisioned but has not completed signup
|
|
61
|
+
* - `workos_only` — a WorkOS membership with no `org_memberships` row (a sync gap)
|
|
62
|
+
*/
|
|
63
|
+
type MembershipProvisioningState = 'linked' | 'pre_provisioned' | 'workos_only';
|
|
55
64
|
/**
|
|
56
65
|
* Extended membership with user and organization details for UI
|
|
57
66
|
*/
|
|
58
67
|
interface MembershipWithDetails extends OrganizationMembership {
|
|
68
|
+
/**
|
|
69
|
+
* Set by `GET /memberships`. Optional so existing consumers are unaffected;
|
|
70
|
+
* treat `undefined` as "not reported by this endpoint".
|
|
71
|
+
*/
|
|
72
|
+
provisioningState?: MembershipProvisioningState;
|
|
59
73
|
user?: {
|
|
60
74
|
id: string;
|
|
61
75
|
email: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-
|
|
1
|
+
export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-3WVZRN37.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -16,12 +16,12 @@ import '../chunk-JFBZ6XDW.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-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../chunk-6SSQGWK7.js';
|
|
25
25
|
import '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
package/dist/profile/index.d.ts
CHANGED
|
@@ -2745,6 +2745,7 @@ type Database = {
|
|
|
2745
2745
|
deleted_at: string | null;
|
|
2746
2746
|
ended_at: string | null;
|
|
2747
2747
|
memory_snapshot: Json;
|
|
2748
|
+
memory_version: number;
|
|
2748
2749
|
metadata: Json | null;
|
|
2749
2750
|
organization_id: string;
|
|
2750
2751
|
resource_id: string;
|
|
@@ -2761,6 +2762,7 @@ type Database = {
|
|
|
2761
2762
|
deleted_at?: string | null;
|
|
2762
2763
|
ended_at?: string | null;
|
|
2763
2764
|
memory_snapshot: Json;
|
|
2765
|
+
memory_version?: number;
|
|
2764
2766
|
metadata?: Json | null;
|
|
2765
2767
|
organization_id: string;
|
|
2766
2768
|
resource_id: string;
|
|
@@ -2777,6 +2779,7 @@ type Database = {
|
|
|
2777
2779
|
deleted_at?: string | null;
|
|
2778
2780
|
ended_at?: string | null;
|
|
2779
2781
|
memory_snapshot?: Json;
|
|
2782
|
+
memory_version?: number;
|
|
2780
2783
|
metadata?: Json | null;
|
|
2781
2784
|
organization_id?: string;
|
|
2782
2785
|
resource_id?: string;
|
|
@@ -3114,9 +3117,14 @@ type Database = {
|
|
|
3114
3117
|
p_session_id: string;
|
|
3115
3118
|
};
|
|
3116
3119
|
Returns: {
|
|
3120
|
+
context_window_size: number;
|
|
3117
3121
|
created_at: string;
|
|
3122
|
+
cumulative_input_tokens: number;
|
|
3123
|
+
cumulative_output_tokens: number;
|
|
3124
|
+
deleted_at: string;
|
|
3118
3125
|
ended_at: string;
|
|
3119
3126
|
memory_snapshot: Json;
|
|
3127
|
+
memory_version: number;
|
|
3120
3128
|
metadata: Json;
|
|
3121
3129
|
organization_id: string;
|
|
3122
3130
|
resource_id: string;
|
|
@@ -3158,6 +3166,18 @@ type Database = {
|
|
|
3158
3166
|
};
|
|
3159
3167
|
Returns: boolean;
|
|
3160
3168
|
};
|
|
3169
|
+
increment_session_tokens: {
|
|
3170
|
+
Args: {
|
|
3171
|
+
p_input_tokens: number;
|
|
3172
|
+
p_output_tokens: number;
|
|
3173
|
+
p_session_id: string;
|
|
3174
|
+
};
|
|
3175
|
+
Returns: {
|
|
3176
|
+
context_window_size: number;
|
|
3177
|
+
cumulative_input_tokens: number;
|
|
3178
|
+
cumulative_output_tokens: number;
|
|
3179
|
+
}[];
|
|
3180
|
+
};
|
|
3161
3181
|
is_org_member: {
|
|
3162
3182
|
Args: {
|
|
3163
3183
|
org_id: string;
|
package/dist/provider/index.d.ts
CHANGED
|
@@ -2848,6 +2848,7 @@ type Database = {
|
|
|
2848
2848
|
deleted_at: string | null;
|
|
2849
2849
|
ended_at: string | null;
|
|
2850
2850
|
memory_snapshot: Json;
|
|
2851
|
+
memory_version: number;
|
|
2851
2852
|
metadata: Json | null;
|
|
2852
2853
|
organization_id: string;
|
|
2853
2854
|
resource_id: string;
|
|
@@ -2864,6 +2865,7 @@ type Database = {
|
|
|
2864
2865
|
deleted_at?: string | null;
|
|
2865
2866
|
ended_at?: string | null;
|
|
2866
2867
|
memory_snapshot: Json;
|
|
2868
|
+
memory_version?: number;
|
|
2867
2869
|
metadata?: Json | null;
|
|
2868
2870
|
organization_id: string;
|
|
2869
2871
|
resource_id: string;
|
|
@@ -2880,6 +2882,7 @@ type Database = {
|
|
|
2880
2882
|
deleted_at?: string | null;
|
|
2881
2883
|
ended_at?: string | null;
|
|
2882
2884
|
memory_snapshot?: Json;
|
|
2885
|
+
memory_version?: number;
|
|
2883
2886
|
metadata?: Json | null;
|
|
2884
2887
|
organization_id?: string;
|
|
2885
2888
|
resource_id?: string;
|
|
@@ -3217,9 +3220,14 @@ type Database = {
|
|
|
3217
3220
|
p_session_id: string;
|
|
3218
3221
|
};
|
|
3219
3222
|
Returns: {
|
|
3223
|
+
context_window_size: number;
|
|
3220
3224
|
created_at: string;
|
|
3225
|
+
cumulative_input_tokens: number;
|
|
3226
|
+
cumulative_output_tokens: number;
|
|
3227
|
+
deleted_at: string;
|
|
3221
3228
|
ended_at: string;
|
|
3222
3229
|
memory_snapshot: Json;
|
|
3230
|
+
memory_version: number;
|
|
3223
3231
|
metadata: Json;
|
|
3224
3232
|
organization_id: string;
|
|
3225
3233
|
resource_id: string;
|
|
@@ -3261,6 +3269,18 @@ type Database = {
|
|
|
3261
3269
|
};
|
|
3262
3270
|
Returns: boolean;
|
|
3263
3271
|
};
|
|
3272
|
+
increment_session_tokens: {
|
|
3273
|
+
Args: {
|
|
3274
|
+
p_input_tokens: number;
|
|
3275
|
+
p_output_tokens: number;
|
|
3276
|
+
p_session_id: string;
|
|
3277
|
+
};
|
|
3278
|
+
Returns: {
|
|
3279
|
+
context_window_size: number;
|
|
3280
|
+
cumulative_input_tokens: number;
|
|
3281
|
+
cumulative_output_tokens: number;
|
|
3282
|
+
}[];
|
|
3283
|
+
};
|
|
3264
3284
|
is_org_member: {
|
|
3265
3285
|
Args: {
|
|
3266
3286
|
org_id: 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-3WVZRN37.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -16,12 +16,12 @@ import '../chunk-JFBZ6XDW.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-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../chunk-6SSQGWK7.js';
|
|
25
25
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
|
@@ -2847,6 +2847,7 @@ type Database = {
|
|
|
2847
2847
|
deleted_at: string | null;
|
|
2848
2848
|
ended_at: string | null;
|
|
2849
2849
|
memory_snapshot: Json;
|
|
2850
|
+
memory_version: number;
|
|
2850
2851
|
metadata: Json | null;
|
|
2851
2852
|
organization_id: string;
|
|
2852
2853
|
resource_id: string;
|
|
@@ -2863,6 +2864,7 @@ type Database = {
|
|
|
2863
2864
|
deleted_at?: string | null;
|
|
2864
2865
|
ended_at?: string | null;
|
|
2865
2866
|
memory_snapshot: Json;
|
|
2867
|
+
memory_version?: number;
|
|
2866
2868
|
metadata?: Json | null;
|
|
2867
2869
|
organization_id: string;
|
|
2868
2870
|
resource_id: string;
|
|
@@ -2879,6 +2881,7 @@ type Database = {
|
|
|
2879
2881
|
deleted_at?: string | null;
|
|
2880
2882
|
ended_at?: string | null;
|
|
2881
2883
|
memory_snapshot?: Json;
|
|
2884
|
+
memory_version?: number;
|
|
2882
2885
|
metadata?: Json | null;
|
|
2883
2886
|
organization_id?: string;
|
|
2884
2887
|
resource_id?: string;
|
|
@@ -3216,9 +3219,14 @@ type Database = {
|
|
|
3216
3219
|
p_session_id: string;
|
|
3217
3220
|
};
|
|
3218
3221
|
Returns: {
|
|
3222
|
+
context_window_size: number;
|
|
3219
3223
|
created_at: string;
|
|
3224
|
+
cumulative_input_tokens: number;
|
|
3225
|
+
cumulative_output_tokens: number;
|
|
3226
|
+
deleted_at: string;
|
|
3220
3227
|
ended_at: string;
|
|
3221
3228
|
memory_snapshot: Json;
|
|
3229
|
+
memory_version: number;
|
|
3222
3230
|
metadata: Json;
|
|
3223
3231
|
organization_id: string;
|
|
3224
3232
|
resource_id: string;
|
|
@@ -3260,6 +3268,18 @@ type Database = {
|
|
|
3260
3268
|
};
|
|
3261
3269
|
Returns: boolean;
|
|
3262
3270
|
};
|
|
3271
|
+
increment_session_tokens: {
|
|
3272
|
+
Args: {
|
|
3273
|
+
p_input_tokens: number;
|
|
3274
|
+
p_output_tokens: number;
|
|
3275
|
+
p_session_id: string;
|
|
3276
|
+
};
|
|
3277
|
+
Returns: {
|
|
3278
|
+
context_window_size: number;
|
|
3279
|
+
cumulative_input_tokens: number;
|
|
3280
|
+
cumulative_output_tokens: number;
|
|
3281
|
+
}[];
|
|
3282
|
+
};
|
|
3263
3283
|
is_org_member: {
|
|
3264
3284
|
Args: {
|
|
3265
3285
|
org_id: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-
|
|
1
|
+
export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems } from '../chunk-3WVZRN37.js';
|
|
2
2
|
import '../chunk-4OEVLV66.js';
|
|
3
3
|
import '../chunk-RBGVNPA6.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
@@ -16,12 +16,12 @@ import '../chunk-JFBZ6XDW.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-BLXJEIQS.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../chunk-EIXSQONC.js';
|
|
22
22
|
import '../chunk-I7BZVVVU.js';
|
|
23
|
-
import '../chunk-
|
|
24
|
-
import '../chunk-
|
|
23
|
+
import '../chunk-Y6I3IC45.js';
|
|
24
|
+
import '../chunk-6SSQGWK7.js';
|
|
25
25
|
export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
|
|
26
26
|
import '../chunk-MQZE7SUI.js';
|
|
27
27
|
import '../chunk-TVTSASST.js';
|
package/dist/supabase/index.d.ts
CHANGED
|
@@ -2744,6 +2744,7 @@ type Database = {
|
|
|
2744
2744
|
deleted_at: string | null;
|
|
2745
2745
|
ended_at: string | null;
|
|
2746
2746
|
memory_snapshot: Json;
|
|
2747
|
+
memory_version: number;
|
|
2747
2748
|
metadata: Json | null;
|
|
2748
2749
|
organization_id: string;
|
|
2749
2750
|
resource_id: string;
|
|
@@ -2760,6 +2761,7 @@ type Database = {
|
|
|
2760
2761
|
deleted_at?: string | null;
|
|
2761
2762
|
ended_at?: string | null;
|
|
2762
2763
|
memory_snapshot: Json;
|
|
2764
|
+
memory_version?: number;
|
|
2763
2765
|
metadata?: Json | null;
|
|
2764
2766
|
organization_id: string;
|
|
2765
2767
|
resource_id: string;
|
|
@@ -2776,6 +2778,7 @@ type Database = {
|
|
|
2776
2778
|
deleted_at?: string | null;
|
|
2777
2779
|
ended_at?: string | null;
|
|
2778
2780
|
memory_snapshot?: Json;
|
|
2781
|
+
memory_version?: number;
|
|
2779
2782
|
metadata?: Json | null;
|
|
2780
2783
|
organization_id?: string;
|
|
2781
2784
|
resource_id?: string;
|
|
@@ -3113,9 +3116,14 @@ type Database = {
|
|
|
3113
3116
|
p_session_id: string;
|
|
3114
3117
|
};
|
|
3115
3118
|
Returns: {
|
|
3119
|
+
context_window_size: number;
|
|
3116
3120
|
created_at: string;
|
|
3121
|
+
cumulative_input_tokens: number;
|
|
3122
|
+
cumulative_output_tokens: number;
|
|
3123
|
+
deleted_at: string;
|
|
3117
3124
|
ended_at: string;
|
|
3118
3125
|
memory_snapshot: Json;
|
|
3126
|
+
memory_version: number;
|
|
3119
3127
|
metadata: Json;
|
|
3120
3128
|
organization_id: string;
|
|
3121
3129
|
resource_id: string;
|
|
@@ -3157,6 +3165,18 @@ type Database = {
|
|
|
3157
3165
|
};
|
|
3158
3166
|
Returns: boolean;
|
|
3159
3167
|
};
|
|
3168
|
+
increment_session_tokens: {
|
|
3169
|
+
Args: {
|
|
3170
|
+
p_input_tokens: number;
|
|
3171
|
+
p_output_tokens: number;
|
|
3172
|
+
p_session_id: string;
|
|
3173
|
+
};
|
|
3174
|
+
Returns: {
|
|
3175
|
+
context_window_size: number;
|
|
3176
|
+
cumulative_input_tokens: number;
|
|
3177
|
+
cumulative_output_tokens: number;
|
|
3178
|
+
}[];
|
|
3179
|
+
};
|
|
3160
3180
|
is_org_member: {
|
|
3161
3181
|
Args: {
|
|
3162
3182
|
org_id: string;
|
|
@@ -5842,6 +5862,7 @@ declare const useSupabase: () => _supabase_supabase_js.SupabaseClient<Database,
|
|
|
5842
5862
|
deleted_at: string | null;
|
|
5843
5863
|
ended_at: string | null;
|
|
5844
5864
|
memory_snapshot: Json;
|
|
5865
|
+
memory_version: number;
|
|
5845
5866
|
metadata: Json | null;
|
|
5846
5867
|
organization_id: string;
|
|
5847
5868
|
resource_id: string;
|
|
@@ -5858,6 +5879,7 @@ declare const useSupabase: () => _supabase_supabase_js.SupabaseClient<Database,
|
|
|
5858
5879
|
deleted_at?: string | null;
|
|
5859
5880
|
ended_at?: string | null;
|
|
5860
5881
|
memory_snapshot: Json;
|
|
5882
|
+
memory_version?: number;
|
|
5861
5883
|
metadata?: Json | null;
|
|
5862
5884
|
organization_id: string;
|
|
5863
5885
|
resource_id: string;
|
|
@@ -5874,6 +5896,7 @@ declare const useSupabase: () => _supabase_supabase_js.SupabaseClient<Database,
|
|
|
5874
5896
|
deleted_at?: string | null;
|
|
5875
5897
|
ended_at?: string | null;
|
|
5876
5898
|
memory_snapshot?: Json;
|
|
5899
|
+
memory_version?: number;
|
|
5877
5900
|
metadata?: Json | null;
|
|
5878
5901
|
organization_id?: string;
|
|
5879
5902
|
resource_id?: string;
|
|
@@ -6197,9 +6220,14 @@ declare const useSupabase: () => _supabase_supabase_js.SupabaseClient<Database,
|
|
|
6197
6220
|
p_session_id: string;
|
|
6198
6221
|
};
|
|
6199
6222
|
Returns: {
|
|
6223
|
+
context_window_size: number;
|
|
6200
6224
|
created_at: string;
|
|
6225
|
+
cumulative_input_tokens: number;
|
|
6226
|
+
cumulative_output_tokens: number;
|
|
6227
|
+
deleted_at: string;
|
|
6201
6228
|
ended_at: string;
|
|
6202
6229
|
memory_snapshot: Json;
|
|
6230
|
+
memory_version: number;
|
|
6203
6231
|
metadata: Json;
|
|
6204
6232
|
organization_id: string;
|
|
6205
6233
|
resource_id: string;
|
|
@@ -6241,6 +6269,18 @@ declare const useSupabase: () => _supabase_supabase_js.SupabaseClient<Database,
|
|
|
6241
6269
|
};
|
|
6242
6270
|
Returns: boolean;
|
|
6243
6271
|
};
|
|
6272
|
+
increment_session_tokens: {
|
|
6273
|
+
Args: {
|
|
6274
|
+
p_input_tokens: number;
|
|
6275
|
+
p_output_tokens: number;
|
|
6276
|
+
p_session_id: string;
|
|
6277
|
+
};
|
|
6278
|
+
Returns: {
|
|
6279
|
+
context_window_size: number;
|
|
6280
|
+
cumulative_input_tokens: number;
|
|
6281
|
+
cumulative_output_tokens: number;
|
|
6282
|
+
}[];
|
|
6283
|
+
};
|
|
6244
6284
|
is_org_member: {
|
|
6245
6285
|
Args: {
|
|
6246
6286
|
org_id: string;
|
|
@@ -87,6 +87,7 @@ declare const mockUseAuth: {
|
|
|
87
87
|
user: typeof mockWorkOSUser | null;
|
|
88
88
|
isLoading: boolean;
|
|
89
89
|
signIn: vitest.Mock<(...args: any[]) => any>;
|
|
90
|
+
signUp: vitest.Mock<(...args: any[]) => any>;
|
|
90
91
|
signOut: vitest.Mock<(...args: any[]) => any>;
|
|
91
92
|
getAccessToken: vitest.Mock<(...args: any[]) => any>;
|
|
92
93
|
organizationId: string;
|
|
@@ -96,6 +97,7 @@ declare function createMockUseAuth(overrides?: Partial<typeof mockUseAuth>): {
|
|
|
96
97
|
user: typeof mockWorkOSUser | null;
|
|
97
98
|
isLoading: boolean;
|
|
98
99
|
signIn: vitest.Mock<(...args: any[]) => any>;
|
|
100
|
+
signUp: vitest.Mock<(...args: any[]) => any>;
|
|
99
101
|
signOut: vitest.Mock<(...args: any[]) => any>;
|
|
100
102
|
getAccessToken: vitest.Mock<(...args: any[]) => any>;
|
|
101
103
|
organizationId: string;
|
|
@@ -105,6 +107,7 @@ declare const mockAuthenticatedUser: () => {
|
|
|
105
107
|
user: typeof mockWorkOSUser | null;
|
|
106
108
|
isLoading: boolean;
|
|
107
109
|
signIn: vitest.Mock<(...args: any[]) => any>;
|
|
110
|
+
signUp: vitest.Mock<(...args: any[]) => any>;
|
|
108
111
|
signOut: vitest.Mock<(...args: any[]) => any>;
|
|
109
112
|
getAccessToken: vitest.Mock<(...args: any[]) => any>;
|
|
110
113
|
organizationId: string;
|
|
@@ -114,6 +117,7 @@ declare const mockUnauthenticatedUser: () => {
|
|
|
114
117
|
user: typeof mockWorkOSUser | null;
|
|
115
118
|
isLoading: boolean;
|
|
116
119
|
signIn: vitest.Mock<(...args: any[]) => any>;
|
|
120
|
+
signUp: vitest.Mock<(...args: any[]) => any>;
|
|
117
121
|
signOut: vitest.Mock<(...args: any[]) => any>;
|
|
118
122
|
getAccessToken: vitest.Mock<(...args: any[]) => any>;
|
|
119
123
|
organizationId: string;
|
|
@@ -123,6 +127,7 @@ declare const mockAuthLoading: () => {
|
|
|
123
127
|
user: typeof mockWorkOSUser | null;
|
|
124
128
|
isLoading: boolean;
|
|
125
129
|
signIn: vitest.Mock<(...args: any[]) => any>;
|
|
130
|
+
signUp: vitest.Mock<(...args: any[]) => any>;
|
|
126
131
|
signOut: vitest.Mock<(...args: any[]) => any>;
|
|
127
132
|
getAccessToken: vitest.Mock<(...args: any[]) => any>;
|
|
128
133
|
organizationId: string;
|
package/dist/test-utils/index.js
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { server, handlers } from '../chunk-7XKCG5CT.js';
|
|
2
2
|
export { handlers, server } from '../chunk-7XKCG5CT.js';
|
|
3
|
-
import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-
|
|
4
|
-
export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-
|
|
3
|
+
import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-4DV4ECMG.js';
|
|
4
|
+
export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-4DV4ECMG.js';
|
|
5
5
|
import '../chunk-M535KHLW.js';
|
|
6
6
|
import { ApiClientProvider } from '../chunk-XNW3O6QW.js';
|
|
7
7
|
import '../chunk-DD3CCMCZ.js';
|
|
8
8
|
import '../chunk-I7BZVVVU.js';
|
|
9
|
-
import '../chunk-
|
|
10
|
-
import '../chunk-
|
|
9
|
+
import '../chunk-Y6I3IC45.js';
|
|
10
|
+
import '../chunk-6SSQGWK7.js';
|
|
11
11
|
import { ElevasisServiceProvider } from '../chunk-BI5VDO2K.js';
|
|
12
12
|
import '../chunk-MQZE7SUI.js';
|
|
13
13
|
import '../chunk-TVTSASST.js';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { setupBrowserMocks } from '../chunk-HJ4CJIWN.js';
|
|
2
|
-
import { mockUseAuth } from '../chunk-
|
|
2
|
+
import { mockUseAuth } from '../chunk-4DV4ECMG.js';
|
|
3
3
|
import '../chunk-I2KLQ2HA.js';
|
|
4
4
|
import '@testing-library/jest-dom/vitest';
|
|
5
5
|
import { cleanup } from '@testing-library/react';
|
package/dist/test-utils/setup.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { server } from '../chunk-7XKCG5CT.js';
|
|
2
2
|
import { setupBrowserMocks } from '../chunk-HJ4CJIWN.js';
|
|
3
|
-
import { mockUseAuth } from '../chunk-
|
|
3
|
+
import { mockUseAuth } from '../chunk-4DV4ECMG.js';
|
|
4
4
|
import '../chunk-I2KLQ2HA.js';
|
|
5
5
|
import '@testing-library/jest-dom/vitest';
|
|
6
6
|
import { cleanup } from '@testing-library/react';
|