@elevasis/ui 2.27.0 → 2.28.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 (68) hide show
  1. package/dist/api/index.js +2 -2
  2. package/dist/app/index.d.ts +6 -12
  3. package/dist/app/index.js +4 -4
  4. package/dist/charts/index.js +3 -3
  5. package/dist/{chunk-YO2YORW4.js → chunk-3HCTCMAS.js} +3 -3
  6. package/dist/{chunk-LWKZ3BCC.js → chunk-5R27NFOI.js} +4 -4
  7. package/dist/{chunk-JPGX3533.js → chunk-AYSO5A3R.js} +2 -2
  8. package/dist/{chunk-ONFKASZI.js → chunk-CT5IR4ZA.js} +1 -1
  9. package/dist/{chunk-RIFTUOPE.js → chunk-GJXAAYZ3.js} +1 -1
  10. package/dist/{chunk-OGXKOMUT.js → chunk-HNN3QALL.js} +2 -2
  11. package/dist/{chunk-KEFWANZY.js → chunk-JCGD4GM6.js} +5 -1
  12. package/dist/chunk-JS7VBTC4.js +250 -0
  13. package/dist/{chunk-G66QFZXD.js → chunk-K4Q5QUHZ.js} +15 -9
  14. package/dist/{chunk-UPMX5GJI.js → chunk-M6OJ43NL.js} +32 -5
  15. package/dist/{chunk-WUVR4QY6.js → chunk-MCRKFDKB.js} +4 -4
  16. package/dist/{chunk-ZFLM2YVW.js → chunk-MJMFIWEB.js} +1 -1
  17. package/dist/{chunk-G26INIF3.js → chunk-MZCDRBSI.js} +1 -1
  18. package/dist/{chunk-YHBPR67D.js → chunk-N63RKL3L.js} +4 -4
  19. package/dist/{chunk-W2ZTLH7Y.js → chunk-NU5FNTOB.js} +29 -21
  20. package/dist/{chunk-OHXU5WWK.js → chunk-PBNIW7KV.js} +12 -6
  21. package/dist/{chunk-QD4X4H5A.js → chunk-SRNIHB7Y.js} +1 -1
  22. package/dist/{chunk-XZSEPJZQ.js → chunk-TVJROM2V.js} +5 -5
  23. package/dist/{chunk-JKBGDFX2.js → chunk-UOHOKDKL.js} +378 -254
  24. package/dist/{chunk-UY5I2KOZ.js → chunk-YNYGUVGW.js} +8 -8
  25. package/dist/{chunk-SGS4CQ2B.js → chunk-ZPXV5KI3.js} +1 -1
  26. package/dist/components/index.d.ts +16 -14
  27. package/dist/components/index.js +25 -25
  28. package/dist/features/auth/index.d.ts +6 -12
  29. package/dist/features/auth/index.js +1 -0
  30. package/dist/features/crm/index.d.ts +16 -14
  31. package/dist/features/crm/index.js +9 -9
  32. package/dist/features/dashboard/index.d.ts +16 -3
  33. package/dist/features/dashboard/index.js +10 -10
  34. package/dist/features/delivery/index.d.ts +6 -12
  35. package/dist/features/delivery/index.js +9 -9
  36. package/dist/features/knowledge/index.js +20 -12
  37. package/dist/features/lead-gen/index.d.ts +171 -24
  38. package/dist/features/lead-gen/index.js +10 -10
  39. package/dist/features/monitoring/index.js +11 -11
  40. package/dist/features/monitoring/requests/index.js +8 -8
  41. package/dist/features/operations/index.d.ts +16 -3
  42. package/dist/features/operations/index.js +15 -15
  43. package/dist/features/settings/index.d.ts +6 -12
  44. package/dist/features/settings/index.js +9 -9
  45. package/dist/hooks/delivery/index.d.ts +6 -12
  46. package/dist/hooks/delivery/index.js +2 -2
  47. package/dist/hooks/index.d.ts +110 -28
  48. package/dist/hooks/index.js +8 -8
  49. package/dist/hooks/published.d.ts +110 -28
  50. package/dist/hooks/published.js +8 -8
  51. package/dist/index.d.ts +148 -28
  52. package/dist/index.js +8 -8
  53. package/dist/initialization/index.d.ts +6 -12
  54. package/dist/knowledge/index.d.ts +43 -0
  55. package/dist/knowledge/index.js +49 -12
  56. package/dist/profile/index.d.ts +6 -12
  57. package/dist/provider/index.d.ts +44 -12
  58. package/dist/provider/index.js +6 -6
  59. package/dist/provider/published.d.ts +44 -12
  60. package/dist/provider/published.js +5 -5
  61. package/dist/supabase/index.d.ts +12 -24
  62. package/dist/test-utils/index.js +2 -2
  63. package/dist/typeform/index.d.ts +5 -1
  64. package/dist/typeform/index.js +52 -7
  65. package/dist/types/index.d.ts +7 -13
  66. package/dist/utils/index.js +1 -1
  67. package/package.json +5 -5
  68. package/dist/chunk-4KTLOK7K.js +0 -230
@@ -5,12 +5,12 @@ import { SubshellNavItem } from './chunk-X4WBGKJQ.js';
5
5
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
6
6
  import { FilterBar } from './chunk-PDHTXPSF.js';
7
7
  import { CustomModal } from './chunk-KVJ3LFH2.js';
8
- import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-YHBPR67D.js';
9
- import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-G26INIF3.js';
10
- import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-RIFTUOPE.js';
8
+ import { useProjectRealtime, useTableSort, sortData, usePaginationState, useTableSelection, useProjectActivities } from './chunk-N63RKL3L.js';
9
+ import { useCreateTask, useCreateMilestone, useProjectMilestones, useUpdateTask, useProjects, useDeleteProject, useProject, useProjectNotes, useUpdateMilestone, useCreateNote, showApiErrorNotification, projectKeys } from './chunk-MZCDRBSI.js';
10
+ import { StatusBadge, EmptyState, PageTitleCaption, CenteredErrorState, StatCard, CardHeader } from './chunk-GJXAAYZ3.js';
11
11
  import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
12
12
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
13
- import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-QD4X4H5A.js';
13
+ import { PAGE_SIZE_DEFAULT, formatTimeAgo, formatDate, formatRelativeTime } from './chunk-SRNIHB7Y.js';
14
14
  import { useElevasisServices } from './chunk-5WWZXCS5.js';
15
15
  import { useState, useMemo, useCallback } from 'react';
16
16
  import { Stack, Text, Group, Checkbox, ActionIcon, TextInput, Button, Modal, Title, Textarea, Select, SimpleGrid, Card, ThemeIcon, RingProgress, Paper, Timeline, Badge, Collapse, Center, Loader, Table, Pagination, Alert, CopyButton, Tooltip, Space, Tabs, Divider, Anchor, Chip } from '@mantine/core';
@@ -1,4 +1,4 @@
1
- import { FeatureUnavailableState } from './chunk-RIFTUOPE.js';
1
+ import { FeatureUnavailableState } from './chunk-GJXAAYZ3.js';
2
2
  import { useElevasisFeatures } from './chunk-V3HUIZJX.js';
3
3
  import { SubshellContainer, SubshellSidebar, SubshellRightSideContainer } from './chunk-TKAYX2SP.js';
4
4
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
@@ -1,4 +1,4 @@
1
- import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-QD4X4H5A.js';
1
+ import { getErrorInfo, formatErrorMessage, getErrorTitle } from './chunk-SRNIHB7Y.js';
2
2
  import { useElevasisServices } from './chunk-5WWZXCS5.js';
3
3
  import { useQuery, useQueryClient, useMutation } from '@tanstack/react-query';
4
4
  import { notifications } from '@mantine/notifications';
@@ -1,10 +1,10 @@
1
1
  import { observabilityKeys } from './chunk-VKMNWHTL.js';
2
- import { showApiErrorNotification, showSuccessNotification, projectKeys, noteKeys, taskKeys, milestoneKeys } from './chunk-G26INIF3.js';
2
+ import { showApiErrorNotification, showSuccessNotification, projectKeys, noteKeys, taskKeys, milestoneKeys } from './chunk-MZCDRBSI.js';
3
3
  import { useSupabase } from './chunk-BRXELOHC.js';
4
- import { useNotificationAdapter, deriveActions } from './chunk-W2ZTLH7Y.js';
4
+ import { useNotificationAdapter, deriveActions } from './chunk-NU5FNTOB.js';
5
5
  import { useOptionalElevasisFeatures } from './chunk-V3HUIZJX.js';
6
- import { HTTP_HEADERS } from './chunk-SGS4CQ2B.js';
7
- import { ResourceTypeSchema, NonEmptyStringSchema, OriginResourceTypeSchema, UuidSchema, CredentialNameSchema, STALE_TIME_DEFAULT, REFETCH_INTERVAL_DASHBOARD, STALE_TIME_MONITORING, getTimeRangeDates, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_ADMIN, APIClientError, GC_TIME_MEDIUM, GC_TIME_SHORT } from './chunk-QD4X4H5A.js';
6
+ import { HTTP_HEADERS } from './chunk-ZPXV5KI3.js';
7
+ import { ResourceTypeSchema, NonEmptyStringSchema, OriginResourceTypeSchema, UuidSchema, CredentialNameSchema, STALE_TIME_DEFAULT, REFETCH_INTERVAL_DASHBOARD, STALE_TIME_MONITORING, getTimeRangeDates, REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, STALE_TIME_ADMIN, APIClientError, GC_TIME_MEDIUM, GC_TIME_SHORT } from './chunk-SRNIHB7Y.js';
8
8
  import { useStableAccessToken } from './chunk-WFTNY755.js';
9
9
  import { useInitialization } from './chunk-WKJ47GIW.js';
10
10
  import { useOrganization } from './chunk-DD3CCMCZ.js';
@@ -1,6 +1,6 @@
1
- import { ApiClientProvider, useApiClient } from './chunk-SGS4CQ2B.js';
1
+ import { ApiClientProvider, useApiClient } from './chunk-ZPXV5KI3.js';
2
2
  import { OrganizationProvider } from './chunk-HOIT677G.js';
3
- import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-QD4X4H5A.js';
3
+ import { getErrorInfo, getErrorTitle, formatErrorMessage } from './chunk-SRNIHB7Y.js';
4
4
  import { InitializationProvider } from './chunk-WKJ47GIW.js';
5
5
  import { useOrganization } from './chunk-DD3CCMCZ.js';
6
6
  import { ProfileProvider } from './chunk-XTVZFT7U.js';
@@ -40,6 +40,7 @@ function useNotificationAdapter() {
40
40
  }
41
41
  var ORGANIZATION_MODEL_ICON_TOKENS = [
42
42
  "nav.dashboard",
43
+ "nav.calendar",
43
44
  "nav.sales",
44
45
  "nav.crm",
45
46
  "nav.lead-gen",
@@ -54,6 +55,7 @@ var ORGANIZATION_MODEL_ICON_TOKENS = [
54
55
  "knowledge.strategy",
55
56
  "knowledge.reference",
56
57
  "feature.dashboard",
58
+ "feature.calendar",
57
59
  "feature.sales",
58
60
  "feature.crm",
59
61
  "feature.finance",
@@ -77,6 +79,7 @@ var ORGANIZATION_MODEL_ICON_TOKENS = [
77
79
  "integration.google-sheets",
78
80
  "integration.attio",
79
81
  "surface.dashboard",
82
+ "surface.calendar",
80
83
  "surface.overview",
81
84
  "surface.command-view",
82
85
  "surface.command-queue",
@@ -343,15 +346,15 @@ var LEAD_GEN_STAGE_CATALOG = {
343
346
  },
344
347
  populated: {
345
348
  key: "populated",
346
- label: "Populated",
347
- description: "Company record populated with structured data from scrape results.",
349
+ label: "Companies found",
350
+ description: "Companies have been found and added to the lead-gen list.",
348
351
  order: 2,
349
352
  entity: "company"
350
353
  },
351
354
  extracted: {
352
355
  key: "extracted",
353
- label: "Extracted",
354
- description: "Website content extracted and parsed for company intelligence.",
356
+ label: "Websites analyzed",
357
+ description: "Company websites have been analyzed for business signals.",
355
358
  order: 3,
356
359
  entity: "company"
357
360
  },
@@ -362,27 +365,34 @@ var LEAD_GEN_STAGE_CATALOG = {
362
365
  order: 4,
363
366
  entity: "company"
364
367
  },
368
+ "decision-makers-enriched": {
369
+ key: "decision-makers-enriched",
370
+ label: "Decision-makers found",
371
+ description: "Decision-maker contacts discovered and attached to a qualified company.",
372
+ order: 6,
373
+ entity: "company"
374
+ },
365
375
  // Prospecting — contact discovery
366
376
  discovered: {
367
377
  key: "discovered",
368
- label: "Discovered",
369
- description: "Contact email address discovered via an email-discovery workflow.",
378
+ label: "Decision-makers found",
379
+ description: "Decision-maker contact details have been found.",
370
380
  order: 5,
371
381
  entity: "contact"
372
382
  },
373
383
  verified: {
374
384
  key: "verified",
375
- label: "Verified",
376
- description: "Contact email address verified as deliverable (email verification workflow).",
377
- order: 6,
385
+ label: "Emails verified",
386
+ description: "Contact email addresses have been checked for deliverability.",
387
+ order: 7,
378
388
  entity: "contact"
379
389
  },
380
390
  // Qualification
381
391
  qualified: {
382
392
  key: "qualified",
383
- label: "Qualified",
384
- description: "Company passed the ICP qualification rubric (company-qualification workflow).",
385
- order: 7,
393
+ label: "Companies qualified",
394
+ description: "Companies have been scored against the qualification criteria.",
395
+ order: 8,
386
396
  entity: "company"
387
397
  },
388
398
  // Outreach
@@ -390,21 +400,21 @@ var LEAD_GEN_STAGE_CATALOG = {
390
400
  key: "personalized",
391
401
  label: "Personalized",
392
402
  description: "Outreach message personalized for the contact (Instantly personalization workflow).",
393
- order: 8,
403
+ order: 9,
394
404
  entity: "contact"
395
405
  },
396
406
  uploaded: {
397
407
  key: "uploaded",
398
- label: "Uploaded",
399
- description: "Contact uploaded to an Instantly campaign for outreach.",
400
- order: 9,
408
+ label: "Reviewed and exported",
409
+ description: "Approved records have been reviewed and exported for handoff.",
410
+ order: 10,
401
411
  entity: "contact"
402
412
  },
403
413
  interested: {
404
414
  key: "interested",
405
415
  label: "Interested",
406
416
  description: "Contact replied with a positive signal (Instantly reply-handler transition).",
407
- order: 10,
417
+ order: 11,
408
418
  entity: "contact"
409
419
  }
410
420
  };
@@ -464,8 +474,6 @@ function parseMs(value) {
464
474
  const ms = new Date(value).getTime();
465
475
  return Number.isNaN(ms) ? null : ms;
466
476
  }
467
-
468
- // ../core/src/business/acquisition/derive-actions.ts
469
477
  var SendReplyActionPayloadSchema = z.object({
470
478
  replyBody: z.string().trim().min(1).max(1e4)
471
479
  }).strict();
@@ -1,13 +1,13 @@
1
- import { SemanticIcon } from './chunk-KEFWANZY.js';
1
+ import { SemanticIcon } from './chunk-JCGD4GM6.js';
2
2
  import { SubshellSidebarLoader } from './chunk-XQQEKWTL.js';
3
- import { OrganizationModelProspectingSchema } from './chunk-4KTLOK7K.js';
3
+ import { OrganizationModelProspectingSchema } from './chunk-JS7VBTC4.js';
4
4
  import { useCyberColors, CyberDonut } from './chunk-CW3UNAF2.js';
5
5
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
6
- import { collectResourceFilterFacets, useCommandViewStore, useCommandViewData, useCommandViewStats, usePaginationState, useResourceExecutions, useCheckpointTasks } from './chunk-YHBPR67D.js';
7
- import { EmptyState, APIErrorAlert } from './chunk-RIFTUOPE.js';
8
- import { LabelSchema, ColorTokenSchema, IconNameSchema, PathSchema, DescriptionSchema, DisplayMetadataSchema, ModelIdSchema, ReferenceIdsSchema, OrganizationModelSalesSchema } from './chunk-W2ZTLH7Y.js';
6
+ import { collectResourceFilterFacets, useCommandViewStore, useCommandViewData, useCommandViewStats, usePaginationState, useResourceExecutions, useCheckpointTasks } from './chunk-N63RKL3L.js';
7
+ import { EmptyState, APIErrorAlert } from './chunk-GJXAAYZ3.js';
8
+ import { LabelSchema, ColorTokenSchema, IconNameSchema, PathSchema, DescriptionSchema, DisplayMetadataSchema, ModelIdSchema, ReferenceIdsSchema, OrganizationModelSalesSchema } from './chunk-NU5FNTOB.js';
9
9
  import { useElevasisFeatures } from './chunk-V3HUIZJX.js';
10
- import { getNodeId } from './chunk-QD4X4H5A.js';
10
+ import { getNodeId } from './chunk-SRNIHB7Y.js';
11
11
  import { useRef, useEffect, useMemo } from 'react';
12
12
  import { Paper, Stack, Group, Text, Button, Badge, SimpleGrid, Divider, Select, NumberInput, MultiSelect, Switch, Card, Checkbox, UnstyledButton, useMantineTheme, Box, Title, Space, Center, Loader, Pagination, TextInput, SegmentedControl } from '@mantine/core';
13
13
  import { IconShare2, IconTopologyStar3, IconRefresh, IconCircleX, IconCircleCheck, IconCircleDashed, IconSitemap, IconExternalLink, IconSearch } from '@tabler/icons-react';
@@ -514,6 +514,8 @@ var DEFAULT_ORGANIZATION_MODEL_STATUSES = {
514
514
  var KnowledgeLinkSchema = z.object({
515
515
  nodeId: NodeIdStringSchema
516
516
  });
517
+ var KnowledgeSkillBindingSchema = z.string().trim().min(1).max(120);
518
+ var KnowledgeDomainBindingSchema = z.string().trim().min(1).max(80);
517
519
  var OrgKnowledgeKindSchema = z.enum(["playbook", "strategy", "reference"]);
518
520
  var OrgKnowledgeNodeSchema = z.object({
519
521
  id: ModelIdSchema,
@@ -528,6 +530,10 @@ var OrgKnowledgeNodeSchema = z.object({
528
530
  * Each link emits a `governs` edge: knowledge-node -> target node.
529
531
  */
530
532
  links: z.array(KnowledgeLinkSchema).default([]),
533
+ /** Operator skill or command bindings relevant to this node. */
534
+ skills: z.array(KnowledgeSkillBindingSchema).optional(),
535
+ /** Domain key used to derive fast graph->skill registries. */
536
+ domain: KnowledgeDomainBindingSchema.optional(),
531
537
  /** Identifiers of the roles or members who own this knowledge node. */
532
538
  ownerIds: z.array(ModelIdSchema).default([]),
533
539
  /** ISO date string (YYYY-MM-DD or full ISO 8601) of last meaningful update. */
@@ -175,7 +175,7 @@ var CredentialNameSchema = z.string().trim().toLowerCase().min(1, "Credential na
175
175
  /^[a-z0-9]+(-[a-z0-9]+)+$/,
176
176
  "Credential name must be lowercase letters, numbers, and hyphens in format: service-environment (e.g., gmail-prod, attio-dev)"
177
177
  );
178
- z.enum(["google-sheets", "dropbox"]);
178
+ z.enum(["google-sheets", "google-calendar", "dropbox"]);
179
179
  z.string().min(10, "Authorization code too short").max(1e3, "Authorization code too long");
180
180
  z.string().min(10, "State parameter too short").max(2048, "State parameter too long");
181
181
  z.string().trim().transform((str) => str.replace(/[<>'"]/g, ""));
@@ -4,13 +4,13 @@ import { SubshellNavItem } from './chunk-X4WBGKJQ.js';
4
4
  import { SubshellSidebarSection } from './chunk-IIMU5YAJ.js';
5
5
  import { FilterBar } from './chunk-PDHTXPSF.js';
6
6
  import { CustomModal } from './chunk-KVJ3LFH2.js';
7
- import { useDealTasksDue, useDealsLookup, useCreateDealTask, useDealsSummary, useDeleteDeal, usePaginationState, useDeals, useTableSort, sortData, useTableSelection, useDealDetail, useCompany, dealKeys, useExecuteAction } from './chunk-YHBPR67D.js';
8
- import { showApiErrorNotification, showSuccessNotification } from './chunk-G26INIF3.js';
9
- import { CenteredErrorState, CardHeader, StatCard, PageTitleCaption, EmptyState, ActivityTimeline } from './chunk-RIFTUOPE.js';
10
- import { useCrmActions, DEFAULT_CRM_PRIORITY_RULE_CONFIG, deriveActions, CRM_PRIORITY_BUCKETS } from './chunk-W2ZTLH7Y.js';
7
+ import { useDealTasksDue, useDealsLookup, useCreateDealTask, useDealsSummary, useDeleteDeal, usePaginationState, useDeals, useTableSort, sortData, useTableSelection, useDealDetail, useCompany, dealKeys, useExecuteAction } from './chunk-N63RKL3L.js';
8
+ import { showApiErrorNotification, showSuccessNotification } from './chunk-MZCDRBSI.js';
9
+ import { CenteredErrorState, CardHeader, StatCard, PageTitleCaption, EmptyState, ActivityTimeline } from './chunk-GJXAAYZ3.js';
10
+ import { useCrmActions, DEFAULT_CRM_PRIORITY_RULE_CONFIG, deriveActions, CRM_PRIORITY_BUCKETS } from './chunk-NU5FNTOB.js';
11
11
  import { SubshellContentContainer } from './chunk-TKAYX2SP.js';
12
12
  import { useRouterContext } from './chunk-Q7DJKLEN.js';
13
- import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-QD4X4H5A.js';
13
+ import { PAGE_SIZE_DEFAULT, formatTimeAgo } from './chunk-SRNIHB7Y.js';
14
14
  import { useElevasisServices } from './chunk-5WWZXCS5.js';
15
15
  import { Box, Stack, Group, Text, Badge, Center, Loader, UnstyledButton, Button, Modal, Title, Select, TextInput, Textarea, Paper, Alert, Table, SimpleGrid, Tabs, Checkbox, Tooltip, Pagination, Code, Card, Switch, NumberInput, ColorSwatch, Popover, ActionIcon, CopyButton, Divider } from '@mantine/core';
16
16
  import { IconLayoutGrid, IconColumns, IconFileInvoice, IconAddressBook, IconTrophy, IconClockExclamation, IconUser, IconPlus, IconChecklist, IconHistory, IconAlertCircle, IconCurrencyDollar, IconChartBar, IconBriefcase, IconSearch, IconTargetArrow, IconAlertTriangle, IconMessages, IconArrowLeft, IconFileText, IconInbox, IconBolt, IconBuilding, IconSettings, IconRestore, IconInfoCircle, IconMailForward, IconCheckbox, IconCalendar, IconMail, IconPhone, IconArrowRight, IconNote, IconCheck, IconCopy } from '@tabler/icons-react';