@elevasis/ui 2.79.0 → 2.80.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (95) hide show
  1. package/dist/{CoreAuthKitInner-PSTKG4B3.js → CoreAuthKitInner-5J7P7ZDL.js} +1 -1
  2. package/dist/api/index.js +6 -6
  3. package/dist/app/index.js +18 -18
  4. package/dist/auth/index.js +10 -10
  5. package/dist/charts/index.d.ts +4 -4
  6. package/dist/charts/index.js +10 -10
  7. package/dist/{chunk-NCPNKI3V.js → chunk-2HXDI4RY.js} +1 -1
  8. package/dist/{chunk-7ICEQPBU.js → chunk-2KXSFLU2.js} +1 -1
  9. package/dist/{chunk-TVTSASST.js → chunk-34B3ACOZ.js} +9 -1
  10. package/dist/{chunk-KXNRTJAE.js → chunk-3HMRK3RC.js} +1 -1
  11. package/dist/{chunk-6AJUWYKS.js → chunk-3UO2CJTR.js} +1 -1
  12. package/dist/{chunk-SJRIO26Q.js → chunk-52G4B33T.js} +2 -2
  13. package/dist/{chunk-G3WOMHVI.js → chunk-6IWH757Q.js} +4 -3
  14. package/dist/{chunk-3ONNZ4SO.js → chunk-6MWTTBBT.js} +6 -6
  15. package/dist/{chunk-4VGPEDQF.js → chunk-7A25EJ4A.js} +121 -68
  16. package/dist/{chunk-SVZR4GYA.js → chunk-A32PJ2DO.js} +1 -1
  17. package/dist/{chunk-R42OYAQ2.js → chunk-BG7VCCFB.js} +1 -1
  18. package/dist/{chunk-QMOBXKW3.js → chunk-BXFZ676L.js} +222 -191
  19. package/dist/{chunk-5ZK7K7YP.js → chunk-CIGWHY7C.js} +23 -21
  20. package/dist/{chunk-M77G2MGW.js → chunk-CSEADI37.js} +3 -3
  21. package/dist/{chunk-3RK2NNJX.js → chunk-DFGQG32T.js} +1 -1
  22. package/dist/{chunk-VM2OWOXL.js → chunk-GY7FXTC4.js} +2 -3
  23. package/dist/{chunk-P6HHXMLJ.js → chunk-HVNDBY42.js} +10 -9
  24. package/dist/{chunk-G4IEH7NX.js → chunk-I5SYS6DT.js} +5 -5
  25. package/dist/{chunk-2GIJBHZT.js → chunk-IIMC4TRH.js} +3 -3
  26. package/dist/{chunk-QMAIUPXK.js → chunk-JDPPV2XI.js} +15 -13
  27. package/dist/{chunk-QLEY6Q7K.js → chunk-JZBMZLD3.js} +1 -1
  28. package/dist/{chunk-JZQNUQE4.js → chunk-KGUBFIMQ.js} +1 -1
  29. package/dist/{chunk-GFSOQH3N.js → chunk-MJIDC25O.js} +8 -11
  30. package/dist/{chunk-WJO6QEI7.js → chunk-MMOR2HQZ.js} +33 -78
  31. package/dist/{chunk-GWCLI2RX.js → chunk-NGRRAYMO.js} +22 -39
  32. package/dist/{chunk-A37T4NIZ.js → chunk-NKMBW7WE.js} +10 -10
  33. package/dist/{chunk-ODXLZZFR.js → chunk-Q6HRTWA6.js} +1 -1
  34. package/dist/{chunk-3KCLWJDC.js → chunk-QQKYBGBX.js} +22 -11
  35. package/dist/{chunk-ASI3FDPC.js → chunk-QSN7BWI3.js} +1 -1
  36. package/dist/{chunk-AZCDL2SS.js → chunk-SPH5WW44.js} +5 -5
  37. package/dist/{chunk-4IYWLUXA.js → chunk-T6AOVZAI.js} +14 -10
  38. package/dist/{chunk-SXZMHLH6.js → chunk-U3GB5PDF.js} +4 -4
  39. package/dist/{chunk-22TWX4XG.js → chunk-VHK5J55Q.js} +8 -8
  40. package/dist/{chunk-RMLWK3IR.js → chunk-VKA4LQ7N.js} +1 -1
  41. package/dist/{chunk-2IU6BP6F.js → chunk-W6QOWA3L.js} +11 -10
  42. package/dist/{chunk-N6K2Q5BM.js → chunk-WDABHUIL.js} +9 -21
  43. package/dist/{chunk-4ZHX5KOT.js → chunk-WOYW24U7.js} +1 -1
  44. package/dist/{chunk-MGCXAAX4.js → chunk-XEO2UG4J.js} +15 -9
  45. package/dist/{chunk-UD657ICS.js → chunk-YJ437RDY.js} +29 -16
  46. package/dist/{chunk-INCEZAM3.js → chunk-YSFLFD4U.js} +1 -1
  47. package/dist/{chunk-LDQSTEFW.js → chunk-ZU676PFP.js} +38 -14
  48. package/dist/components/index.d.ts +18 -6
  49. package/dist/components/index.js +48 -48
  50. package/dist/components/navigation/index.js +11 -11
  51. package/dist/execution/index.js +2 -2
  52. package/dist/features/auth/index.js +12 -12
  53. package/dist/features/clients/index.js +14 -15
  54. package/dist/features/content/index.js +13 -13
  55. package/dist/features/crm/index.js +16 -16
  56. package/dist/features/dashboard/index.d.ts +8 -8
  57. package/dist/features/dashboard/index.js +13 -13
  58. package/dist/features/delivery/index.js +25 -25
  59. package/dist/features/knowledge/index.js +10 -10
  60. package/dist/features/lead-gen/index.d.ts +49 -32
  61. package/dist/features/lead-gen/index.js +17 -17
  62. package/dist/features/monitoring/index.d.ts +10 -10
  63. package/dist/features/monitoring/index.js +15 -15
  64. package/dist/features/monitoring/requests/index.js +12 -12
  65. package/dist/features/notes/index.js +1 -1
  66. package/dist/features/operations/index.d.ts +12 -12
  67. package/dist/features/operations/index.js +18 -18
  68. package/dist/features/public-agent-chat/index.js +4 -4
  69. package/dist/features/seo/index.js +13 -13
  70. package/dist/features/settings/index.js +13 -13
  71. package/dist/hooks/access/index.d.ts +60 -1
  72. package/dist/hooks/access/index.js +10 -10
  73. package/dist/hooks/delivery/index.js +6 -6
  74. package/dist/hooks/published.d.ts +286 -93
  75. package/dist/hooks/published.js +23 -23
  76. package/dist/hooks/user-notes/index.js +1 -1
  77. package/dist/initialization/index.d.ts +12 -0
  78. package/dist/initialization/index.js +1 -1
  79. package/dist/knowledge/index.js +22 -20
  80. package/dist/{knowledge-search-index-6GQK55IQ.js → knowledge-search-index-YU6V3FTK.js} +4 -4
  81. package/dist/layout/index.js +14 -14
  82. package/dist/organization/index.d.ts +17 -1
  83. package/dist/organization/index.js +2 -2
  84. package/dist/profile/index.js +1 -1
  85. package/dist/provider/ElevasisServiceContext.js +1 -1
  86. package/dist/provider/index.js +10 -10
  87. package/dist/provider/published.js +10 -10
  88. package/dist/sse/index.js +14 -0
  89. package/dist/test-utils/index.js +6 -6
  90. package/dist/types/index.d.ts +12 -0
  91. package/dist/utils/index.d.ts +20 -2
  92. package/dist/utils/index.js +4 -4
  93. package/package.json +24 -14
  94. /package/dist/{chunk-Y6I3IC45.js → chunk-6XBZPKMI.js} +0 -0
  95. /package/dist/{chunk-5F3QGBEI.js → chunk-7ZUXA2NW.js} +0 -0
@@ -1,43 +1,43 @@
1
- export { ApiKeyService, DeploymentService, dealNoteKeys, projectActivityKeys, useActivateDeployment, useActivitiesRealtime, useAddCompaniesToList, useAddContactsToList, useBatchTelemetry, useCreateApiKey, useCreateDealNote, useCreateOrgRole, useDeactivateDeployment, useDealNotes, useDeleteApiKey, useDeleteDeployment, useDeleteOrgRole, useEffectivePermissions, useListApiKeys, useListDeployments, useProjectActivities, useProjectRealtime, useRemoveCompaniesFromList, useResourceErrors, useTransitionItem, useTransitionState, useUpdateApiKey, useUpdateOrgRole, useVisibleResources } from '../chunk-WJO6QEI7.js';
2
- export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateTask, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteMilestone, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateProject as useUpdateDeliveryProject, useUpdateMilestone, useUpdateTask } from '../chunk-GFSOQH3N.js';
3
- export { OrganizationMembershipService, WebhookEndpointService, useAssignRole, useCreateWebhookEndpoint, useDeactivateMembership, useDeleteWebhookEndpoint, useListWebhookEndpoints, useOrgRoles, useOrganizationMembers, usePermissionCatalog, useReactivateMembership, useRevokeRole, useUpdateWebhookEndpoint, useUserMemberships } from '../chunk-QMOBXKW3.js';
4
- export { useDealDetail, useExecuteAction } from '../chunk-M77G2MGW.js';
5
- export { CredentialService, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, useArtifacts, useCreateArtifact, useCreateCredential, useCredentials, useDeleteCredential, useDeriveActions, useListMember, useListMembers, useTransitionListCompany, useTransitionListMember, useUpdateCredential, useUpdateListStatus, useVerifyCredential } from '../chunk-MGCXAAX4.js';
1
+ export { ApiKeyService, DeploymentService, apiKeysKeys, dealNoteKeys, deploymentsKeys, projectActivityKeys, useActivateDeployment, useActivitiesRealtime, useAddCompaniesToList, useAddContactsToList, useBatchTelemetry, useCreateApiKey, useCreateDealNote, useDeactivateDeployment, useDealNotes, useDeleteApiKey, useDeleteDeployment, useListApiKeys, useListDeployments, useProjectActivities, useProjectRealtime, useRemoveCompaniesFromList, useResourceErrors, useTransitionItem, useTransitionState, useUpdateApiKey, useVisibleResources } from '../chunk-MMOR2HQZ.js';
2
+ export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateProject as useCreateDeliveryProject, useCreateMilestone, useCreateNote, useCreateTask, useDeleteProject as useDeleteDeliveryProject, useDeleteTask as useDeleteDeliveryTask, useDeleteMilestone, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateProject as useUpdateDeliveryProject, useUpdateMilestone, useUpdateTask } from '../chunk-MJIDC25O.js';
3
+ export { WebhookEndpointService, createMembership, deactivateMembership, deleteMembership, getMembership, getOrganizationMembers, getUserMemberships, listMemberships, memberRolesKeys, membershipsKeys, orgRolesKeys, reactivateMembership, repairMembershipLink, updateMembership, useAssignRole, useCreateOrgRole, useCreateWebhookEndpoint, useDeactivateMembership, useDeleteOrgRole, useDeleteWebhookEndpoint, useEffectivePermissions, useListWebhookEndpoints, useOrgRoles, useOrganizationMembers, usePermissionCatalog, useReactivateMembership, useRevokeRole, useUpdateOrgRole, useUpdateWebhookEndpoint, useUserMemberships, webhookEndpointsKeys } from '../chunk-BXFZ676L.js';
4
+ export { useDealDetail, useExecuteAction } from '../chunk-CSEADI37.js';
5
+ export { CredentialService, credentialsKeys, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, useArtifacts, useCreateArtifact, useCreateCredential, useCredentials, useDeleteCredential, useDeriveActions, useListMember, useListMembers, useTransitionListCompany, useTransitionListMember, useUpdateCredential, useUpdateListStatus, useVerifyCredential } from '../chunk-XEO2UG4J.js';
6
6
  import '../chunk-MKH2KOAO.js';
7
- export { companyKeys, contactKeys, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useUpdateCompany, useUpdateContact } from '../chunk-GWCLI2RX.js';
7
+ export { companyKeys, contactKeys, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useUpdateCompany, useUpdateContact } from '../chunk-NGRRAYMO.js';
8
8
  export { sortData, useSortedData, useTableSort } from '../chunk-2Y6AKWGU.js';
9
- export { useCheckpointTasks, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket } from '../chunk-SXZMHLH6.js';
10
- export { scheduleKeys, useCancelSchedule, useCreateSchedule, useDeleteSchedule, useGetExecutionHistory, useGetSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useScheduledTasks, useUpdateAnchor, useUpdateSchedule } from '../chunk-N6K2Q5BM.js';
9
+ export { useCheckpointTasks, useCommandViewData, useCommandViewStats, useCommandViewStore, useResourceExecutions, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket } from '../chunk-U3GB5PDF.js';
10
+ export { scheduleKeys, useCancelSchedule, useCreateSchedule, useDeleteSchedule, useGetExecutionHistory, useGetSchedule, useListSchedules, usePauseSchedule, useResumeSchedule, useScheduledTasks, useUpdateAnchor, useUpdateSchedule } from '../chunk-WDABHUIL.js';
11
11
  export { mergeSessionMessages } from '../chunk-QFGNRKIE.js';
12
- export { useActivities, useActivityFilters, useActivityTrend, useBatchDelete, useCostSummary, useErrorNotification, useExecutionHealth, useExecutionLogs, useExecutionLogsFilters, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useSuccessNotification, useTestNotification, useWarningNotification } from '../chunk-LDQSTEFW.js';
12
+ export { activityKeys, costAnalyticsKeys, monitoringKeys, notificationKeys, useActivities, useActivityFilters, useActivityTrend, useBatchDelete, useCostSummary, useErrorNotification, useExecutionHealth, useExecutionLogs, useExecutionLogsFilters, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useSuccessNotification, useTestNotification, useWarningNotification } from '../chunk-ZU676PFP.js';
13
13
  export { useTimeRangeDates } from '../chunk-YQQ5GRUR.js';
14
- import '../chunk-VM2OWOXL.js';
15
- export { useDeleteRequest, useRequest, useRequestsList, useUpdateRequestStatus } from '../chunk-2IU6BP6F.js';
14
+ import '../chunk-GY7FXTC4.js';
15
+ export { useDeleteRequest, useRequest, useRequestsList, useUpdateRequestStatus } from '../chunk-W6QOWA3L.js';
16
16
  export { useTableSelection } from '../chunk-WDBNW44Z.js';
17
- export { clientsKeys, useClient, useClientStatus, useClients, useCreateClient, useDeleteClient, useUpdateClient } from '../chunk-P6HHXMLJ.js';
18
- export { SIGNED_URL_EXPIRES_IN_SECONDS, TEMPORARY_LINK_STALE_MS, THUMBNAIL_BATCH_SIZE, chunkIntoBatches, cloudStorageKeys, measureImageDimensions, mergeThumbnailBatches, storageKeys, storageObjectRefKey, useCloudStorageFolder, useCloudStorageImageDimensions, useCloudStorageTemporaryLinks, useCloudStorageThumbnails, useStorageSignedUrls, useUploadStorageFile } from '../chunk-INCEZAM3.js';
19
- export { AccessKeys, IN_FLIGHT_EXECUTION_STATUSES, OperationsService, TERMINAL_EXECUTION_STATUSES, acquisitionListKeys, collectResourceFilterFacets, contentKeys, dealKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, labelResourceFilterFacet, observabilityKeys, operationsKeys, pickCoverSourceAsset, pickLatestRunAt, readItemSourceAssets, requestsKeys, sessionsKeys, sumStatusCounts, useAccess, useAddContentItemSourceAsset, useArchiveSession, useArchivedLogs, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewDomainFilters, useCompleteDealTask, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostTrends, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateDealTask, useCreateList, useCreateSession, useDashboardMetrics, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteSession, useDeleteTask, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionLogSSE, useExecutionPanelState, useExecutionSSE, useExecutions, useInFlightExecutions, useList, useListExecutions, useListProgress, useListRecords, useLists, useListsTelemetry, useOrganizationModelDrift, usePaginationState, usePatchTask, useRecentExecutionsByResource, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useRetryExecution, useReviewContentItem, useSSEConnection, useSession, useSessions, useStatusFilter, useSubmitAction, useSubmitRequest, useSystemHealth, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateList, useUpdateListConfig, useWorkflowExecution } from '../chunk-4VGPEDQF.js';
17
+ export { clientsKeys, useClient, useClientStatus, useClients, useCreateClient, useDeleteClient, useUpdateClient } from '../chunk-HVNDBY42.js';
18
+ export { SIGNED_URL_EXPIRES_IN_SECONDS, TEMPORARY_LINK_STALE_MS, THUMBNAIL_BATCH_SIZE, chunkIntoBatches, cloudStorageKeys, measureImageDimensions, mergeThumbnailBatches, storageKeys, storageObjectRefKey, useCloudStorageFolder, useCloudStorageImageDimensions, useCloudStorageTemporaryLinks, useCloudStorageThumbnails, useStorageSignedUrls, useUploadStorageFile } from '../chunk-YSFLFD4U.js';
19
+ export { AccessKeys, DEFAULT_TIME_RANGE, IN_FLIGHT_EXECUTION_STATUSES, OperationsService, TERMINAL_EXECUTION_STATUSES, accessKeys, acquisitionListKeys, collectResourceFilterFacets, commandQueueKeys, contentKeys, dealKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isExecutionInFlight, isSessionCapable, joinSourceAssetDetails, labelResourceFilterFacet, observabilityKeys, operationsKeys, pickCoverSourceAsset, pickLatestRunAt, readItemSourceAssets, requestsKeys, sessionsKeys, sumStatusCounts, useAccess, useAddContentItemSourceAsset, useArchiveSession, useArchivedLogs, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewDomainFilters, useCompleteDealTask, useContentDistribution, useContentDistributionMetrics, useContentDistributions, useContentItem, useContentItemAttempts, useContentItemSourceAssetDetails, useContentItemSourceAssets, useContentItems, useContentPipelineSummary, useContentSourceAsset, useContentSourceAssets, useCostBreakdown, useCostByModel, useCostTrends, useCreateContentDistribution, useCreateContentItem, useCreateContentSourceAsset, useCreateDealTask, useCreateList, useCreateSession, useDashboardMetrics, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteDeal, useDeleteExecution, useDeleteList, useDeleteSession, useDeleteTask, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorTrends, useExecuteAsync, useExecuteResource, useExecution, useExecutionLogSSE, useExecutionPanelState, useExecutionSSE, useExecutions, useInFlightExecutions, useList, useListExecutions, useListProgress, useListRecords, useLists, useListsTelemetry, useOrganizationModelDrift, usePaginationState, usePatchTask, useRecentExecutionsByResource, useRemoveContentItemSourceAsset, useReorderContentItemSourceAssets, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResolvedTimeRange, useResourceDefinition, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useRetryExecution, useReviewContentItem, useSSEConnection, useSession, useSessions, useStatusFilter, useSubmitAction, useSubmitRequest, useSystemHealth, useTopFailingResources, useUnresolveError, useUnresolvedErrors, useUpdateContentDistribution, useUpdateContentItem, useUpdateContentItemSourceAsset, useUpdateContentSourceAsset, useUpdateList, useUpdateListConfig, useWorkflowExecution } from '../chunk-7A25EJ4A.js';
20
20
  import '../chunk-4WLAVUPS.js';
21
21
  import '../chunk-RXZ3XDBM.js';
22
- import '../chunk-JZQNUQE4.js';
22
+ import '../chunk-KGUBFIMQ.js';
23
23
  import '../chunk-L7BZZ4SI.js';
24
- import '../chunk-KXNRTJAE.js';
24
+ import '../chunk-3HMRK3RC.js';
25
25
  import '../chunk-62GVNH5U.js';
26
26
  import '../chunk-P45GQ3ZW.js';
27
- import '../chunk-2GIJBHZT.js';
27
+ import '../chunk-IIMC4TRH.js';
28
28
  import '../chunk-3KMDHCAR.js';
29
29
  import '../chunk-2IFYDILW.js';
30
- export { useMergedExecution } from '../chunk-NCPNKI3V.js';
31
- import '../chunk-UD657ICS.js';
30
+ export { useMergedExecution } from '../chunk-2HXDI4RY.js';
31
+ import '../chunk-YJ437RDY.js';
32
32
  import '../chunk-DD3CCMCZ.js';
33
33
  import '../chunk-RNP5R5I3.js';
34
34
  import '../chunk-RT4KRGZT.js';
35
- import '../chunk-5ZK7K7YP.js';
36
- export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-Y6I3IC45.js';
37
- import '../chunk-5F3QGBEI.js';
35
+ import '../chunk-CIGWHY7C.js';
36
+ export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-6XBZPKMI.js';
37
+ import '../chunk-7ZUXA2NW.js';
38
38
  import '../chunk-BI5VDO2K.js';
39
39
  import '../chunk-MQZE7SUI.js';
40
- import '../chunk-TVTSASST.js';
40
+ import '../chunk-34B3ACOZ.js';
41
41
  import '../chunk-BRJ3QZ4E.js';
42
42
  import '../chunk-Q7DJKLEN.js';
43
43
  import '../chunk-I2KLQ2HA.js';
@@ -1,5 +1,5 @@
1
1
  export { useCreateUserNote, useDeleteUserNote, useUpdateUserNote, useUserNotes, userNotesKeys } from '../../chunk-ZAVMRFUP.js';
2
2
  import '../../chunk-BI5VDO2K.js';
3
3
  import '../../chunk-MQZE7SUI.js';
4
- import '../../chunk-TVTSASST.js';
4
+ import '../../chunk-34B3ACOZ.js';
5
5
  import '../../chunk-I2KLQ2HA.js';
@@ -119,6 +119,18 @@ interface MembershipWithDetails extends OrganizationMembership {
119
119
  workos_org_id: string;
120
120
  primaryDomain?: string;
121
121
  is_test?: boolean;
122
+ /**
123
+ * The organization's lifecycle status (`active | suspended | archived |
124
+ * deleting | delete_failed` -- a DB CHECK constraint, not a TS enum).
125
+ * `GET /memberships/my-memberships` annotates every row with this field
126
+ * rather than filtering non-`active` organizations out of the response,
127
+ * so a member whose organization was archived or is being deleted still
128
+ * sees it (and can be told why) instead of the row silently vanishing.
129
+ * Consumers that auto-select a membership (e.g. `OrganizationProvider`)
130
+ * must check this before entering an organization on the caller's
131
+ * behalf. Optional for backward compatibility with callers and fixtures
132
+ * that predate this field; treat a missing value as serviceable.
133
+ */
122
134
  status?: string;
123
135
  metadata?: Record<string, unknown>;
124
136
  config?: Record<string, unknown>;
@@ -5,6 +5,6 @@ import '../chunk-RNP5R5I3.js';
5
5
  import '../chunk-RT4KRGZT.js';
6
6
  import '../chunk-BI5VDO2K.js';
7
7
  import '../chunk-MQZE7SUI.js';
8
- import '../chunk-TVTSASST.js';
8
+ import '../chunk-34B3ACOZ.js';
9
9
  import '../chunk-BRJ3QZ4E.js';
10
10
  import '../chunk-I2KLQ2HA.js';
@@ -1,31 +1,31 @@
1
- import '../chunk-R42OYAQ2.js';
2
- import '../chunk-4ZHX5KOT.js';
3
- import '../chunk-6AJUWYKS.js';
4
- import '../chunk-ODXLZZFR.js';
1
+ import '../chunk-BG7VCCFB.js';
2
+ import '../chunk-WOYW24U7.js';
3
+ import '../chunk-3UO2CJTR.js';
4
+ import '../chunk-Q6HRTWA6.js';
5
5
  import { PageContainer } from '../chunk-BZZCNLT6.js';
6
- import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-4VGPEDQF.js';
7
- 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-4VGPEDQF.js';
6
+ import { getConceptDefinition, normaliseConceptKey, SemanticIcon, getKnowledgeIconToken, getKnowledgeGraphNodeCommand, IdentityDomainSchema, WorkflowResourceEntrySchema, AgentResourceEntrySchema, IntegrationResourceEntrySchema, ScriptResourceEntrySchema, findOmTreeGroup, SubshellContentContainer, getKnowledgeNodeReadCommand, getKnowledgeOntologyProjection, getPrimaryOntologyItemsForDomain, projectNavigationSurfaces, projectNavigationGroups, SurfaceDefinitionSchema, RoleSchema, getOntologyDomainLabel, getKnowledgeDomainFolderCommand, buildKnowledgeOmTreeData, findKnowledgeTreeNodeByValue, getKnowledgeTreeFolderCommand, KNOWLEDGE_DOMAINS_WITH_PANELS } from '../chunk-7A25EJ4A.js';
7
+ 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-7A25EJ4A.js';
8
8
  import { usePresetsContext } from '../chunk-4WLAVUPS.js';
9
9
  import '../chunk-RXZ3XDBM.js';
10
- import '../chunk-JZQNUQE4.js';
10
+ import '../chunk-KGUBFIMQ.js';
11
11
  import '../chunk-L7BZZ4SI.js';
12
- import '../chunk-KXNRTJAE.js';
12
+ import '../chunk-3HMRK3RC.js';
13
13
  import '../chunk-62GVNH5U.js';
14
14
  import '../chunk-P45GQ3ZW.js';
15
- import '../chunk-2GIJBHZT.js';
15
+ import '../chunk-IIMC4TRH.js';
16
16
  import '../chunk-3KMDHCAR.js';
17
17
  import '../chunk-2IFYDILW.js';
18
- import '../chunk-NCPNKI3V.js';
19
- import '../chunk-UD657ICS.js';
18
+ import '../chunk-2HXDI4RY.js';
19
+ import '../chunk-YJ437RDY.js';
20
20
  import '../chunk-DD3CCMCZ.js';
21
21
  import '../chunk-RNP5R5I3.js';
22
22
  import '../chunk-RT4KRGZT.js';
23
- import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-5ZK7K7YP.js';
24
- import '../chunk-Y6I3IC45.js';
25
- import '../chunk-5F3QGBEI.js';
23
+ import { getSystem, SystemEntrySchema, EntitySchema, ActionSchema, OntologyIdSchema, ontologyGraphNodeId, compileOrganizationOntology, parseOntologyId } from '../chunk-CIGWHY7C.js';
24
+ import '../chunk-6XBZPKMI.js';
25
+ import '../chunk-7ZUXA2NW.js';
26
26
  import '../chunk-BI5VDO2K.js';
27
27
  import '../chunk-MQZE7SUI.js';
28
- import '../chunk-TVTSASST.js';
28
+ import '../chunk-34B3ACOZ.js';
29
29
  import '../chunk-BRJ3QZ4E.js';
30
30
  import '../chunk-Q7DJKLEN.js';
31
31
  import '../chunk-I2KLQ2HA.js';
@@ -579,16 +579,18 @@ function _createMdxContent(props) {
579
579
  }), "\\n", _jsx(_components.p, {
580
580
  children: "After the execution starts, record the execution ID and source counts in the batch tracker."
581
581
  }), "\\n", _jsx(_components.h3, {
582
- children: "Local Website Crawl"
582
+ children: "Stage 02a: Website Crawl"
583
583
  }), "\\n", _jsx(_components.p, {
584
- children: "Run the local website crawler against the batch:"
584
+ children: "Run the Apify website crawl workflow against the batch:"
585
585
  }), "\\n", _jsx(_components.pre, {
586
586
  children: _jsx(_components.code, {
587
587
  className: "language-bash",
588
- children: "pnpm -C scripts/web-scraper run crawl -- {batch-id}\\n"
588
+ children: "pnpm exec elevasis exec Elevasis/lgn-02a-apify-website-crawl-workflow --input '{\\"batchId\\":\\"{batch-id}\\"}' --async\\n"
589
589
  })
590
- }), "\\n", _jsx(_components.p, {
591
- children: "The crawl should capture relevant sub-pages for LLM extraction. If vertical-specific keywords are not available in the active code path, use the default crawl coverage and note any manual crawl gaps in the tracker before extraction."
590
+ }), "\\n", _jsxs(_components.p, {
591
+ children: ["The crawl captures relevant sub-pages for LLM extraction and writes them to ", _jsx(_components.code, {
592
+ children: "enrichment_data.websiteCrawl"
593
+ }), ". Note any crawl gaps in the tracker before extraction."]
592
594
  }), "\\n", _jsx(_components.h3, {
593
595
  children: "Stage 02: Website Extract"
594
596
  }), "\\n", _jsx(_components.p, {
@@ -210,14 +210,14 @@ pnpm exec elevasis exec Elevasis/lgn-01a-google-maps-scrape-workflow --input '{"
210
210
 
211
211
  After the execution starts, record the execution ID and source counts in the batch tracker.
212
212
 
213
- Local Website Crawl
213
+ Stage 02a: Website Crawl
214
214
 
215
- Run the local website crawler against the batch:
215
+ Run the Apify website crawl workflow against the batch:
216
216
 
217
217
  bash
218
- pnpm -C scripts/web-scraper run crawl -- {batch-id}
218
+ pnpm exec elevasis exec Elevasis/lgn-02a-apify-website-crawl-workflow --input '{"batchId":"{batch-id}"}' --async
219
219
 
220
- The crawl should capture relevant sub-pages for LLM extraction. If vertical-specific keywords are not available in the active code path, use the default crawl coverage and note any manual crawl gaps in the tracker before extraction.
220
+ The crawl captures relevant sub-pages for LLM extraction and writes them to enrichmentdata.websiteCrawl. Note any crawl gaps in the tracker before extraction.
221
221
 
222
222
  Stage 02: Website Extract
223
223
 
@@ -1,30 +1,30 @@
1
- export { AppPageLayout, AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-R42OYAQ2.js';
2
- export { SubshellLoader } from '../chunk-4ZHX5KOT.js';
3
- export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-6AJUWYKS.js';
4
- export { SubshellPageLayout } from '../chunk-ODXLZZFR.js';
1
+ export { AppPageLayout, AppShellContainer, AppShellContentContainer, AppShellRightSideContainer, AppShellRightSideOuterContainer, AppTopbarAdjusterWrapper, CollapsibleSidebarGroup, CyberParticles, LinksGroup, Sidebar, SidebarContext, SidebarProvider, SubshellNavList, Topbar, TopbarActions, TopbarContainer, Vignette, subsidebarWidth, useSidebar, useSidebarCollapse } from '../chunk-BG7VCCFB.js';
2
+ export { SubshellLoader } from '../chunk-WOYW24U7.js';
3
+ export { AppShellCenteredContainer, AppShellError, AppShellLoader } from '../chunk-3UO2CJTR.js';
4
+ export { SubshellPageLayout } from '../chunk-Q6HRTWA6.js';
5
5
  export { PageContainer } from '../chunk-BZZCNLT6.js';
6
- export { SubshellContainer, SubshellContentContainer, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, topbarHeight } from '../chunk-4VGPEDQF.js';
6
+ export { SubshellContainer, SubshellContentContainer, SubshellNavItem, SubshellRightSideContainer, SubshellSidebar, SubshellSidebarLoader, SubshellSidebarSection, sidebarBottomSectionCollapsedHeight, sidebarBottomSectionHeight, sidebarCollapsedWidth, sidebarGroupChevronSize, sidebarHoverDelay, sidebarIconInnerSize, sidebarIconSize, sidebarIconStroke, sidebarItemGap, sidebarItemHeight, sidebarItemPadding, sidebarSectionPadding, sidebarSubLinkIndent, sidebarSubLinkPaddingX, sidebarSubLinkPaddingY, sidebarToggleIconSize, sidebarTransitionDuration, sidebarWidth, subshellNavItemIconSize, topbarHeight } from '../chunk-7A25EJ4A.js';
7
7
  import '../chunk-4WLAVUPS.js';
8
8
  export { AmbientBloomGrid, AppBackground, CyberBackground, FilmGrain, FloatingMotes, FloatingOrbs, PerspectiveGrid, RadiantGlow, WaveBackground } from '../chunk-RXZ3XDBM.js';
9
- import '../chunk-JZQNUQE4.js';
9
+ import '../chunk-KGUBFIMQ.js';
10
10
  import '../chunk-L7BZZ4SI.js';
11
- import '../chunk-KXNRTJAE.js';
11
+ import '../chunk-3HMRK3RC.js';
12
12
  import '../chunk-62GVNH5U.js';
13
13
  import '../chunk-P45GQ3ZW.js';
14
- import '../chunk-2GIJBHZT.js';
14
+ import '../chunk-IIMC4TRH.js';
15
15
  import '../chunk-3KMDHCAR.js';
16
16
  import '../chunk-2IFYDILW.js';
17
- import '../chunk-NCPNKI3V.js';
18
- import '../chunk-UD657ICS.js';
17
+ import '../chunk-2HXDI4RY.js';
18
+ import '../chunk-YJ437RDY.js';
19
19
  import '../chunk-DD3CCMCZ.js';
20
20
  import '../chunk-RNP5R5I3.js';
21
21
  import '../chunk-RT4KRGZT.js';
22
- import '../chunk-5ZK7K7YP.js';
23
- import '../chunk-Y6I3IC45.js';
24
- import '../chunk-5F3QGBEI.js';
22
+ import '../chunk-CIGWHY7C.js';
23
+ import '../chunk-6XBZPKMI.js';
24
+ import '../chunk-7ZUXA2NW.js';
25
25
  import '../chunk-BI5VDO2K.js';
26
26
  import '../chunk-MQZE7SUI.js';
27
- import '../chunk-TVTSASST.js';
27
+ import '../chunk-34B3ACOZ.js';
28
28
  import '../chunk-BRJ3QZ4E.js';
29
29
  import '../chunk-Q7DJKLEN.js';
30
30
  import '../chunk-I2KLQ2HA.js';
@@ -131,6 +131,18 @@ interface MembershipWithDetails extends OrganizationMembership {
131
131
  workos_org_id: string;
132
132
  primaryDomain?: string;
133
133
  is_test?: boolean;
134
+ /**
135
+ * The organization's lifecycle status (`active | suspended | archived |
136
+ * deleting | delete_failed` -- a DB CHECK constraint, not a TS enum).
137
+ * `GET /memberships/my-memberships` annotates every row with this field
138
+ * rather than filtering non-`active` organizations out of the response,
139
+ * so a member whose organization was archived or is being deleted still
140
+ * sees it (and can be told why) instead of the row silently vanishing.
141
+ * Consumers that auto-select a membership (e.g. `OrganizationProvider`)
142
+ * must check this before entering an organization on the caller's
143
+ * behalf. Optional for backward compatibility with callers and fixtures
144
+ * that predate this field; treat a missing value as serviceable.
145
+ */
134
146
  status?: string;
135
147
  metadata?: Record<string, unknown>;
136
148
  config?: Record<string, unknown>;
@@ -192,7 +204,11 @@ type ApiRequestFn = <T>(endpoint: string, options?: RequestInit) => Promise<T>;
192
204
  *
193
205
  * Behaviors:
194
206
  * - Fetches all memberships for the authenticated user via GET /memberships/my-memberships
195
- * - Selects the active org by priority: WorkOS org ID > saved preference > first membership
207
+ * - Selects the active org by priority: WorkOS org ID > saved preference > first membership,
208
+ * skipping any candidate whose `organization.status` is not serviceable (see
209
+ * {@link isOrganizationServiceable}) and falling through to the next priority
210
+ * - Sets a real `error` (rather than silently no-op'ing) when the fetch comes back with
211
+ * zero memberships, e.g. the user's only organization was just deleted
196
212
  * - Persists explicit multi-org switches to PATCH /users/me { lastVisitedOrg }
197
213
  * - Clears all state when the user signs out (user becomes null)
198
214
  */
@@ -1,9 +1,9 @@
1
- export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-UD657ICS.js';
1
+ export { OrganizationProvider, OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from '../chunk-YJ437RDY.js';
2
2
  export { OrganizationContext, useOrganization } from '../chunk-DD3CCMCZ.js';
3
3
  import '../chunk-RNP5R5I3.js';
4
4
  import '../chunk-RT4KRGZT.js';
5
5
  import '../chunk-BI5VDO2K.js';
6
6
  import '../chunk-MQZE7SUI.js';
7
- import '../chunk-TVTSASST.js';
7
+ import '../chunk-34B3ACOZ.js';
8
8
  import '../chunk-BRJ3QZ4E.js';
9
9
  import '../chunk-I2KLQ2HA.js';
@@ -2,6 +2,6 @@ import '../chunk-RNP5R5I3.js';
2
2
  export { ProfileProvider, USER_PROFILE_QUERY_KEY, UserProfileService, useProfile, useUserProfile } from '../chunk-RT4KRGZT.js';
3
3
  import '../chunk-BI5VDO2K.js';
4
4
  import '../chunk-MQZE7SUI.js';
5
- import '../chunk-TVTSASST.js';
5
+ import '../chunk-34B3ACOZ.js';
6
6
  import '../chunk-BRJ3QZ4E.js';
7
7
  import '../chunk-I2KLQ2HA.js';
@@ -1,4 +1,4 @@
1
1
  export { ElevasisServiceContext, ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
2
2
  import '../chunk-MQZE7SUI.js';
3
- import '../chunk-TVTSASST.js';
3
+ import '../chunk-34B3ACOZ.js';
4
4
  import '../chunk-I2KLQ2HA.js';
@@ -1,25 +1,25 @@
1
- export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, selectDeclaredSystems, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-4VGPEDQF.js';
1
+ export { AppearanceProvider, CrmActionsProvider, ElevasisCoreProvider, ElevasisSystemsProvider, ElevasisUIProvider, ListActionsProvider, NotificationProvider, SystemShell, createTestSystemsProvider, selectDeclaredSystems, useAppearance, useCrmActions, useElevasisSystems, useListActions, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-7A25EJ4A.js';
2
2
  import '../chunk-4WLAVUPS.js';
3
3
  import '../chunk-RXZ3XDBM.js';
4
- import '../chunk-JZQNUQE4.js';
4
+ import '../chunk-KGUBFIMQ.js';
5
5
  import '../chunk-L7BZZ4SI.js';
6
- import '../chunk-KXNRTJAE.js';
6
+ import '../chunk-3HMRK3RC.js';
7
7
  import '../chunk-62GVNH5U.js';
8
8
  import '../chunk-P45GQ3ZW.js';
9
- import '../chunk-2GIJBHZT.js';
9
+ import '../chunk-IIMC4TRH.js';
10
10
  import '../chunk-3KMDHCAR.js';
11
11
  import '../chunk-2IFYDILW.js';
12
- import '../chunk-NCPNKI3V.js';
13
- import '../chunk-UD657ICS.js';
12
+ import '../chunk-2HXDI4RY.js';
13
+ import '../chunk-YJ437RDY.js';
14
14
  import '../chunk-DD3CCMCZ.js';
15
15
  import '../chunk-RNP5R5I3.js';
16
16
  import '../chunk-RT4KRGZT.js';
17
- import '../chunk-5ZK7K7YP.js';
18
- import '../chunk-Y6I3IC45.js';
19
- import '../chunk-5F3QGBEI.js';
17
+ import '../chunk-CIGWHY7C.js';
18
+ import '../chunk-6XBZPKMI.js';
19
+ import '../chunk-7ZUXA2NW.js';
20
20
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
21
21
  import '../chunk-MQZE7SUI.js';
22
- import '../chunk-TVTSASST.js';
22
+ import '../chunk-34B3ACOZ.js';
23
23
  import '../chunk-BRJ3QZ4E.js';
24
24
  import '../chunk-Q7DJKLEN.js';
25
25
  import '../chunk-I2KLQ2HA.js';
@@ -1,25 +1,25 @@
1
- export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, selectDeclaredSystems, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-4VGPEDQF.js';
1
+ export { AppearanceProvider, ElevasisCoreProvider, ElevasisSystemsProvider, NotificationProvider, SystemShell, selectDeclaredSystems, useAppearance, useElevasisSystems, useNotificationAdapter, useOptionalElevasisSystems, useResolvedOrganizationModel } from '../chunk-7A25EJ4A.js';
2
2
  import '../chunk-4WLAVUPS.js';
3
3
  import '../chunk-RXZ3XDBM.js';
4
- import '../chunk-JZQNUQE4.js';
4
+ import '../chunk-KGUBFIMQ.js';
5
5
  import '../chunk-L7BZZ4SI.js';
6
- import '../chunk-KXNRTJAE.js';
6
+ import '../chunk-3HMRK3RC.js';
7
7
  import '../chunk-62GVNH5U.js';
8
8
  import '../chunk-P45GQ3ZW.js';
9
- import '../chunk-2GIJBHZT.js';
9
+ import '../chunk-IIMC4TRH.js';
10
10
  import '../chunk-3KMDHCAR.js';
11
11
  import '../chunk-2IFYDILW.js';
12
- import '../chunk-NCPNKI3V.js';
13
- import '../chunk-UD657ICS.js';
12
+ import '../chunk-2HXDI4RY.js';
13
+ import '../chunk-YJ437RDY.js';
14
14
  import '../chunk-DD3CCMCZ.js';
15
15
  import '../chunk-RNP5R5I3.js';
16
16
  import '../chunk-RT4KRGZT.js';
17
- import '../chunk-5ZK7K7YP.js';
18
- import '../chunk-Y6I3IC45.js';
19
- import '../chunk-5F3QGBEI.js';
17
+ import '../chunk-CIGWHY7C.js';
18
+ import '../chunk-6XBZPKMI.js';
19
+ import '../chunk-7ZUXA2NW.js';
20
20
  export { ElevasisServiceProvider, useElevasisServices } from '../chunk-BI5VDO2K.js';
21
21
  import '../chunk-MQZE7SUI.js';
22
- import '../chunk-TVTSASST.js';
22
+ import '../chunk-34B3ACOZ.js';
23
23
  import '../chunk-BRJ3QZ4E.js';
24
24
  import '../chunk-Q7DJKLEN.js';
25
25
  import '../chunk-I2KLQ2HA.js';
package/dist/sse/index.js CHANGED
@@ -1,6 +1,14 @@
1
1
  import '../chunk-I2KLQ2HA.js';
2
2
  import { fetchEventSource } from '@microsoft/fetch-event-source';
3
3
 
4
+ var FatalSSEResponseError = class extends Error {
5
+ status;
6
+ constructor(status) {
7
+ super(`Fatal response: ${status}`);
8
+ this.name = "FatalSSEResponseError";
9
+ this.status = status;
10
+ }
11
+ };
4
12
  async function fetchEventSourceWithTokenRefresh(options) {
5
13
  const {
6
14
  url,
@@ -59,6 +67,9 @@ async function fetchEventSourceWithTokenRefresh(options) {
59
67
  controller.abort();
60
68
  return;
61
69
  }
70
+ if (response.status === 403) {
71
+ throw new FatalSSEResponseError(response.status);
72
+ }
62
73
  throw new Error(`Unexpected response: ${response.status}`);
63
74
  },
64
75
  onmessage(event) {
@@ -69,6 +80,9 @@ async function fetchEventSourceWithTokenRefresh(options) {
69
80
  throw error;
70
81
  }
71
82
  onerror?.(error);
83
+ if (error instanceof FatalSSEResponseError) {
84
+ throw error;
85
+ }
72
86
  },
73
87
  onclose() {
74
88
  onclose?.();
@@ -2,15 +2,15 @@ import { server, handlers } from '../chunk-7XKCG5CT.js';
2
2
  export { handlers, server } from '../chunk-7XKCG5CT.js';
3
3
  import { mockWorkOSUser, mockUseAuth, mockUnauthenticatedUser, mockAuthenticatedUser, mockAuthLoading, createMockUseAuth } from '../chunk-N7U24M2J.js';
4
4
  export { createMockUseAuth, mockAuthLoading, mockAuthenticatedUser, mockUnauthenticatedUser, mockUseAuth, mockWorkOSUser } from '../chunk-N7U24M2J.js';
5
- import '../chunk-SVZR4GYA.js';
6
- import { ApiClientProvider } from '../chunk-JZQNUQE4.js';
5
+ import '../chunk-A32PJ2DO.js';
6
+ import { ApiClientProvider } from '../chunk-KGUBFIMQ.js';
7
7
  import '../chunk-DD3CCMCZ.js';
8
- import '../chunk-5ZK7K7YP.js';
9
- import '../chunk-Y6I3IC45.js';
10
- import '../chunk-5F3QGBEI.js';
8
+ import '../chunk-CIGWHY7C.js';
9
+ import '../chunk-6XBZPKMI.js';
10
+ import '../chunk-7ZUXA2NW.js';
11
11
  import { ElevasisServiceProvider } from '../chunk-BI5VDO2K.js';
12
12
  import '../chunk-MQZE7SUI.js';
13
- import '../chunk-TVTSASST.js';
13
+ import '../chunk-34B3ACOZ.js';
14
14
  import { __export, __reExport } from '../chunk-I2KLQ2HA.js';
15
15
  import { MantineProvider } from '@mantine/core';
16
16
  import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
@@ -5182,6 +5182,18 @@ interface MembershipWithDetails extends OrganizationMembership {
5182
5182
  workos_org_id: string;
5183
5183
  primaryDomain?: string;
5184
5184
  is_test?: boolean;
5185
+ /**
5186
+ * The organization's lifecycle status (`active | suspended | archived |
5187
+ * deleting | delete_failed` -- a DB CHECK constraint, not a TS enum).
5188
+ * `GET /memberships/my-memberships` annotates every row with this field
5189
+ * rather than filtering non-`active` organizations out of the response,
5190
+ * so a member whose organization was archived or is being deleted still
5191
+ * sees it (and can be told why) instead of the row silently vanishing.
5192
+ * Consumers that auto-select a membership (e.g. `OrganizationProvider`)
5193
+ * must check this before entering an organization on the caller's
5194
+ * behalf. Optional for backward compatibility with callers and fixtures
5195
+ * that predate this field; treat a missing value as serviceable.
5196
+ */
5185
5197
  status?: string;
5186
5198
  metadata?: Record<string, unknown>;
5187
5199
  config?: Record<string, unknown>;
@@ -409,7 +409,10 @@ declare function getResourceColor(type: ResourceDefinitionType): NodeColorType;
409
409
 
410
410
  /**
411
411
  * Type-safe error codes
412
- * MUST match API_ERROR_CODES in apps/api/src/errors/error-codes.ts
412
+ * Adding a member obliges a producer in `apps/api` and a display title in the frontend.
413
+ * Both are enforced: `apps/api/src/platform/errors/__tests__/error-code-producers.test.ts`
414
+ * keys a producer map by this union, and `getErrorTitle` in `packages/ui/src/utils/error-utils.ts`
415
+ * looks up a `Record<APIErrorCode, string>` -- an unhandled member fails to compile in both.
413
416
  */
414
417
  type APIErrorCode = 'VALIDATION_ERROR' | 'AUTHENTICATION_FAILED' | 'FORBIDDEN' | 'NOT_FOUND' | 'CONFLICT' | 'RATE_LIMIT_EXCEEDED' | 'INTERNAL_SERVER_ERROR' | 'SERVICE_UNAVAILABLE';
415
418
 
@@ -509,6 +512,21 @@ declare function getErrorTitle(code?: APIErrorCode): string;
509
512
  */
510
513
  declare function formatErrorMessage(message: string, requestId?: string, fields?: Record<string, string[]>, retryAfter?: number): string;
511
514
 
515
+ /**
516
+ * Serializes a flat filter object into a `URLSearchParams`-encoded query string.
517
+ *
518
+ * Skips `undefined` only -- `0`, `false`, and `''` are legitimate, explicitly-provided
519
+ * filter values and must survive. A field's absence is expressed by omitting it or
520
+ * passing `undefined`, never by a falsy value, so skip-undefined is the only semantic
521
+ * that cannot silently drop a caller's real input. Do not change this to a falsy skip:
522
+ * several `@repo/ui` hooks pass `limit`/`offset`/`priorityMin` as `0`, and a truthy check
523
+ * would make "explicitly zero" indistinguishable from "not provided".
524
+ *
525
+ * Extracted from two byte-identical local copies in
526
+ * `hooks/acquisition/useCompanies.ts` and `hooks/acquisition/useContacts.ts`.
527
+ */
528
+ declare function buildQueryString(params: Record<string, string | number | boolean | undefined>): string;
529
+
512
530
  /**
513
531
  * Resource Icon Resolver
514
532
  *
@@ -601,5 +619,5 @@ declare function restoreConsole(): void;
601
619
 
602
620
  declare function setupBrowserMocks(): void;
603
621
 
604
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getSystemReadinessServerErrorDetails, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail };
622
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, ResourceStatusColors, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, buildQueryString, debounce, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getSystemReadinessServerErrorDetails, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail };
605
623
  export type { SystemReadinessErrorDetails, TablerIcon };
@@ -1,5 +1,5 @@
1
- export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getSystemReadinessServerErrorDetails, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-5ZK7K7YP.js';
2
- export { REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, getTimeRangeDates, getTimeRangeLabel } from '../chunk-Y6I3IC45.js';
3
- export { ResourceStatusColors } from '../chunk-5F3QGBEI.js';
4
- import '../chunk-TVTSASST.js';
1
+ export { APIClientError, API_URL, DEBOUNCE_FILTER, DEBOUNCE_SLIDER, GC_TIME_LONG, GC_TIME_MEDIUM, GC_TIME_SHORT, LIMIT_ACTIVITY_FEED, OAUTH_FLOW_TIMEOUT, PAGE_SIZE_DEFAULT, STALE_TIME_ADMIN, STALE_TIME_DEFAULT, STALE_TIME_MONITORING, buildQueryString, formatChartAxisDate, formatDate, formatDateTime, formatErrorMessage, formatRelativeTime, formatTimeAgo, getErrorInfo, getErrorTitle, getResourceColor, getResourceIcon, getSystemReadinessServerErrorDetails, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from '../chunk-CIGWHY7C.js';
2
+ export { REFETCH_INTERVAL_DASHBOARD, REFETCH_INTERVAL_REALTIME, REFETCH_INTERVAL_RUNNING, REFETCH_INTERVAL_RUNNING_FAST, SSE_CLOSE_GRACE_PERIOD, SSE_TOKEN_REFRESH_DELAY, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY, debounce, getTimeRangeDates, getTimeRangeLabel } from '../chunk-6XBZPKMI.js';
3
+ export { ResourceStatusColors } from '../chunk-7ZUXA2NW.js';
4
+ import '../chunk-34B3ACOZ.js';
5
5
  import '../chunk-I2KLQ2HA.js';