@elevasis/ui 2.29.0 → 2.31.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/{CoreAuthKitInner-QC62UHTZ.js → CoreAuthKitInner-KSEGSB67.js} +1 -1
- package/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +176 -1
- package/dist/app/index.js +11 -11
- package/dist/auth/context.js +1 -1
- package/dist/auth/index.js +5 -5
- package/dist/charts/index.d.ts +2 -1
- package/dist/charts/index.js +9 -9
- package/dist/{chunk-XTVZFT7U.js → chunk-2Q2JQSQO.js} +1 -1
- package/dist/{chunk-LH4GPYDX.js → chunk-3BAPR3KA.js} +19 -3
- package/dist/{chunk-HLFFKKT3.js → chunk-3FV6HBXS.js} +17 -17
- package/dist/{chunk-WKJ47GIW.js → chunk-533DUEQY.js} +1 -1
- package/dist/{chunk-SZWXQHKO.js → chunk-542WPQU2.js} +9 -8
- package/dist/{chunk-5CW2HXQA.js → chunk-5LJAEZMA.js} +7 -28
- package/dist/{chunk-V3HUIZJX.js → chunk-6IXOKUBC.js} +1 -1
- package/dist/{chunk-VKMNWHTL.js → chunk-6YT4IKJ7.js} +3 -3
- package/dist/{chunk-CEHUFNAL.js → chunk-7HMCB26R.js} +12 -12
- package/dist/chunk-7KC4P3AU.js +357 -0
- package/dist/{chunk-OWESKPTJ.js → chunk-CQZ3DNQY.js} +30 -11
- package/dist/{chunk-ROSMICXG.js → chunk-CXY7FMUM.js} +35 -20
- package/dist/{chunk-I2KLQ2HA.js → chunk-DZTG5IAC.js} +7 -1
- package/dist/{chunk-JCGD4GM6.js → chunk-GRDLB6LM.js} +1 -0
- package/dist/{chunk-FGDUK74A.js → chunk-HQGF4ATG.js} +10 -56
- package/dist/{chunk-HOIT677G.js → chunk-HUJCU55S.js} +1 -1
- package/dist/{chunk-OIMPGKDB.js → chunk-HYNYEBHM.js} +4 -4
- package/dist/{chunk-GESXCQWY.js → chunk-JA5ECJJB.js} +1 -1
- package/dist/{chunk-KU7ZDWQ7.js → chunk-JBWJ6WHZ.js} +1 -1
- package/dist/{chunk-HNFQCOD2.js → chunk-JKSUN5GN.js} +1107 -370
- package/dist/{chunk-5WWZXCS5.js → chunk-KJ3QUBNU.js} +9 -2
- package/dist/{chunk-OHGNCWJP.js → chunk-L2NVFLXU.js} +3 -3
- package/dist/{chunk-6WXDE5LZ.js → chunk-L3BVJWML.js} +1 -1
- package/dist/{chunk-3DUOPXOJ.js → chunk-MVFCLZSK.js} +691 -222
- package/dist/{chunk-A7R2URMV.js → chunk-ND42LPY4.js} +44 -10
- package/dist/{chunk-CLUP5H3C.js → chunk-O2QOPJI5.js} +360 -126
- package/dist/{chunk-VMJVQAFZ.js → chunk-OAVTMITG.js} +1 -1
- package/dist/{chunk-X2SUMO3P.js → chunk-P55BJZZW.js} +2 -1
- package/dist/{chunk-QNL7UI5G.js → chunk-Q6OYNEGR.js} +6 -6
- package/dist/{chunk-Y3YJKKEB.js → chunk-QDEETKYT.js} +5 -2
- package/dist/{chunk-XBMCDGHA.js → chunk-QHEWXU7I.js} +1 -1
- package/dist/chunk-R2XR4FCV.js +48 -0
- package/dist/chunk-R66W5UDG.js +26 -0
- package/dist/{chunk-65RQE3XF.js → chunk-SHQXMW4F.js} +1051 -380
- package/dist/{chunk-AK5E6ILJ.js → chunk-T3IPHEYJ.js} +1893 -305
- package/dist/{chunk-7E3FUTND.js → chunk-TOIXUWR6.js} +1 -1
- package/dist/{chunk-FFDAE2QI.js → chunk-TVRQ6AQI.js} +172 -26
- package/dist/{chunk-CN2HC4D4.js → chunk-UFTM5SZZ.js} +2 -2
- package/dist/{chunk-WFTNY755.js → chunk-VKIZUUPM.js} +1 -1
- package/dist/{chunk-KVJ3LFH2.js → chunk-VNFR57DF.js} +4 -24
- package/dist/{chunk-S66IQSSR.js → chunk-WF227UBV.js} +1 -1
- package/dist/{chunk-6NHCE7JM.js → chunk-Y4FWCG7Y.js} +159 -314
- package/dist/components/chat/index.d.ts +2 -1
- package/dist/components/chat/index.js +2 -2
- package/dist/components/index.d.ts +205 -11
- package/dist/components/index.js +51 -48
- package/dist/components/navigation/index.js +9 -9
- package/dist/execution/index.d.ts +2 -1
- package/dist/execution/index.js +1 -1
- package/dist/features/auth/index.d.ts +121 -0
- package/dist/features/auth/index.js +6 -6
- package/dist/features/clients/index.css +611 -0
- package/dist/features/clients/index.d.ts +86 -0
- package/dist/features/clients/index.js +719 -0
- package/dist/features/crm/index.d.ts +148 -2
- package/dist/features/crm/index.js +27 -25
- package/dist/features/dashboard/index.d.ts +36 -1
- package/dist/features/dashboard/index.js +23 -23
- package/dist/features/delivery/index.d.ts +121 -0
- package/dist/features/delivery/index.js +27 -25
- package/dist/features/knowledge/index.js +52 -29
- package/dist/features/lead-gen/index.d.ts +116 -12
- package/dist/features/lead-gen/index.js +28 -26
- package/dist/features/monitoring/index.js +26 -25
- package/dist/features/monitoring/requests/index.js +23 -22
- package/dist/features/operations/index.d.ts +38 -2
- package/dist/features/operations/index.js +32 -31
- package/dist/features/seo/index.js +1 -1
- package/dist/features/settings/index.d.ts +121 -0
- package/dist/features/settings/index.js +25 -24
- package/dist/graph/index.js +1 -1
- package/dist/hooks/delivery/index.d.ts +140 -0
- package/dist/hooks/delivery/index.js +4 -4
- package/dist/hooks/index.d.ts +844 -21
- package/dist/hooks/index.js +21 -21
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +82 -1
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.js +1 -1
- package/dist/hooks/published.d.ts +844 -21
- package/dist/hooks/published.js +21 -21
- package/dist/index.d.ts +1056 -27
- package/dist/index.js +22 -22
- package/dist/initialization/index.d.ts +121 -0
- package/dist/initialization/index.js +5 -5
- package/dist/knowledge/index.d.ts +151 -1
- package/dist/knowledge/index.js +1692 -1039
- package/dist/layout/index.d.ts +6 -0
- package/dist/layout/index.js +4 -4
- package/dist/organization/index.js +5 -5
- package/dist/profile/index.d.ts +121 -0
- package/dist/profile/index.js +3 -3
- package/dist/provider/ElevasisServiceContext.d.ts +11 -5
- package/dist/provider/ElevasisServiceContext.js +2 -2
- package/dist/provider/index.d.ts +337 -7
- package/dist/provider/index.js +18 -18
- package/dist/provider/published.d.ts +337 -7
- package/dist/provider/published.js +14 -14
- package/dist/router/context.js +1 -1
- package/dist/router/index.js +1 -1
- package/dist/sse/index.js +1 -1
- package/dist/supabase/index.d.ts +232 -0
- package/dist/supabase/index.js +1 -1
- package/dist/test-utils/index.d.ts +3 -0
- package/dist/test-utils/index.js +31 -7
- package/dist/test-utils/setup-integration.js +1 -1
- package/dist/test-utils/setup.js +2 -2
- package/dist/theme/index.js +4 -4
- package/dist/theme/presets/index.js +2 -2
- package/dist/typeform/index.js +1 -1
- package/dist/typeform/schemas.js +1 -1
- package/dist/types/index.d.ts +204 -1
- package/dist/utils/index.d.ts +36 -1
- package/dist/utils/index.js +2 -2
- package/dist/vite/index.js +3 -3
- package/dist/vite-plugin-knowledge/index.js +2 -2
- package/dist/zustand/index.js +1 -1
- package/package.json +14 -5
- /package/dist/{chunk-HXZQWMKE.js → chunk-XQHZBA65.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import './chunk-XCYKC6OZ.js';
|
|
2
|
-
export { useAvailablePresets } from './chunk-
|
|
2
|
+
export { useAvailablePresets } from './chunk-QHEWXU7I.js';
|
|
3
3
|
export { GRAPH_CONSTANTS, calculateGraphHeight, useConnectionHighlight, useDirectedChainHighlighting, useFitViewTrigger, useGraphHighlighting, useNodeSelection } from './chunk-22UVE3RA.js';
|
|
4
4
|
export { AGENT_CONSTANTS, CONTAINER_CONSTANTS, SHARED_VIZ_CONSTANTS, STATUS_COLORS, TIMELINE_CONSTANTS, WORKFLOW_CONSTANTS, calculateBarPosition, formatDuration, getEdgeColor, getEdgeOpacity, getResourceStatusColor, getStatusColors, getStatusIcon, shouldAnimateEdge, useAgentIterationData, useExecutionPath, useReactFlowAgent, useTimelineData, useUnifiedWorkflowLayout, useWorkflowStepsLayout } from './chunk-E4WQGJNS.js';
|
|
5
5
|
import './chunk-7M2VOCYN.js';
|
|
6
|
-
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, operationsKeys, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useHasPermission, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProjectActivities, useProjectRealtime, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVisibleResources, useWarningNotification, useWorkflowExecution } from './chunk-
|
|
7
|
-
export { observabilityKeys, useErrorTrends } from './chunk-
|
|
8
|
-
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-
|
|
6
|
+
export { ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, operationsKeys, projectActivityKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateList, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useHasPermission, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, useOrganizationPermissions, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProjectActivities, useProjectRealtime, useReactivateMembership, useRecentExecutionsByResource, useRemoveCompaniesFromList, useRequest, useRequestsList, useResolveAllErrors, useResolveError, useResolveErrorsByExecution, useResourceDefinition, useResourceErrors, useResourceExecutions, useResourceSearch, useResources, useResourcesDomainFilters, useResourcesHealth, useResumeSchedule, useRetryExecution, useRevokeRole, useSSEConnection, useScheduledTasks, useSession, useSessionExecution, useSessionExecutions, useSessionMessages, useSessionWebSocket, useSessions, useSortedData, useStatusFilter, useSubmitAction, useSuccessNotification, useTableSelection, useTableSort, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMemberConfig, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from './chunk-JKSUN5GN.js';
|
|
7
|
+
export { observabilityKeys, useErrorTrends } from './chunk-6YT4IKJ7.js';
|
|
8
|
+
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-7HMCB26R.js';
|
|
9
9
|
import './chunk-BRXELOHC.js';
|
|
10
10
|
export { useMergedExecution } from './chunk-3ZMAGTWF.js';
|
|
11
|
-
export { createTestFeaturesProvider } from './chunk-
|
|
12
|
-
export { ElevasisUIProvider } from './chunk-
|
|
13
|
-
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from './chunk-
|
|
14
|
-
export { generateShades, getPreset, PRESETS as presets } from './chunk-
|
|
11
|
+
export { createTestFeaturesProvider } from './chunk-OAVTMITG.js';
|
|
12
|
+
export { ElevasisUIProvider } from './chunk-HYNYEBHM.js';
|
|
13
|
+
export { PresetsProvider, TOKEN_VAR_MAP, componentThemes, createCssVariablesResolver, mantineThemeOverride, usePresetsContext } from './chunk-3BAPR3KA.js';
|
|
14
|
+
export { generateShades, getPreset, PRESETS as presets } from './chunk-3FV6HBXS.js';
|
|
15
15
|
import './chunk-WLOQ4IBG.js';
|
|
16
|
-
export { FeatureShell } from './chunk-
|
|
17
|
-
|
|
16
|
+
export { FeatureShell } from './chunk-QDEETKYT.js';
|
|
17
|
+
export { ElevasisFeaturesProvider, createFeatureAccessHook, useElevasisFeatures, useOptionalElevasisFeatures } from './chunk-6IXOKUBC.js';
|
|
18
|
+
import './chunk-L3BVJWML.js';
|
|
18
19
|
import './chunk-3KMDHCAR.js';
|
|
19
|
-
export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from './chunk-
|
|
20
|
+
export { CrmActionsProvider, ElevasisCoreProvider, ListActionsProvider, NotificationProvider, useCrmActions, useListActions, useNotificationAdapter } from './chunk-CQZ3DNQY.js';
|
|
20
21
|
import './chunk-SZHARWKU.js';
|
|
21
|
-
export { ElevasisFeaturesProvider, createFeatureAccessHook, useElevasisFeatures, useOptionalElevasisFeatures } from './chunk-V3HUIZJX.js';
|
|
22
22
|
import './chunk-TKAYX2SP.js';
|
|
23
23
|
import './chunk-NYBEU5TE.js';
|
|
24
|
-
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-
|
|
24
|
+
export { ApiClientProvider, useApiClient, useApiClientContext } from './chunk-TOIXUWR6.js';
|
|
25
25
|
export { ScrollToTop, TanStackRouterBridge } from './chunk-2IFYDILW.js';
|
|
26
26
|
export { RouterProvider, useRouterContext } from './chunk-Q7DJKLEN.js';
|
|
27
|
-
export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-
|
|
28
|
-
export { OrganizationProvider } from './chunk-
|
|
27
|
+
export { OrganizationSwitcher, OrganizationSwitcherConnected, createOrganizationsSlice, createUseOrgInitialization, createUseOrganizations } from './chunk-JA5ECJJB.js';
|
|
28
|
+
export { OrganizationProvider } from './chunk-HUJCU55S.js';
|
|
29
29
|
export { AppearanceProvider, useAppearance } from './chunk-E565XMTQ.js';
|
|
30
|
-
export { createUseAppInitialization } from './chunk-
|
|
30
|
+
export { createUseAppInitialization } from './chunk-JBWJ6WHZ.js';
|
|
31
31
|
import './chunk-DT3QYZVU.js';
|
|
32
32
|
import './chunk-RNP5R5I3.js';
|
|
33
|
-
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, 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, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from './chunk-
|
|
33
|
+
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, 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, getTimeRangeDates, getTimeRangeLabel, isAPIClientError, restoreConsole, setupBrowserMocks, suppressKnownWarnings, validateEmail } from './chunk-XQHZBA65.js';
|
|
34
34
|
export { ResourceStatusColors } from './chunk-KRWALB24.js';
|
|
35
|
-
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-
|
|
36
|
-
export { InitializationContext, InitializationProvider, useInitialization } from './chunk-
|
|
35
|
+
export { AdminGuard, ProtectedRoute, useSessionCheck as useRefocusSessionCheck, useSessionCheck, useStableAccessToken } from './chunk-VKIZUUPM.js';
|
|
36
|
+
export { InitializationContext, InitializationProvider, useInitialization } from './chunk-533DUEQY.js';
|
|
37
37
|
export { OrganizationContext, useOrganization } from './chunk-DD3CCMCZ.js';
|
|
38
|
-
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-
|
|
39
|
-
export { ElevasisServiceProvider, useElevasisServices } from './chunk-
|
|
38
|
+
export { ProfileProvider, UserProfileService, useProfile, useUserProfile } from './chunk-2Q2JQSQO.js';
|
|
39
|
+
export { ElevasisServiceProvider, useElevasisServices } from './chunk-KJ3QUBNU.js';
|
|
40
40
|
export { AuthProvider, useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
41
|
-
import './chunk-
|
|
41
|
+
import './chunk-DZTG5IAC.js';
|
|
@@ -62,6 +62,7 @@ type Database = {
|
|
|
62
62
|
batch_id: string | null;
|
|
63
63
|
category: string | null;
|
|
64
64
|
category_pain: string | null;
|
|
65
|
+
client_id: string | null;
|
|
65
66
|
created_at: string;
|
|
66
67
|
domain: string | null;
|
|
67
68
|
enrichment_data: Json | null;
|
|
@@ -88,6 +89,7 @@ type Database = {
|
|
|
88
89
|
batch_id?: string | null;
|
|
89
90
|
category?: string | null;
|
|
90
91
|
category_pain?: string | null;
|
|
92
|
+
client_id?: string | null;
|
|
91
93
|
created_at?: string;
|
|
92
94
|
domain?: string | null;
|
|
93
95
|
enrichment_data?: Json | null;
|
|
@@ -114,6 +116,7 @@ type Database = {
|
|
|
114
116
|
batch_id?: string | null;
|
|
115
117
|
category?: string | null;
|
|
116
118
|
category_pain?: string | null;
|
|
119
|
+
client_id?: string | null;
|
|
117
120
|
created_at?: string;
|
|
118
121
|
domain?: string | null;
|
|
119
122
|
enrichment_data?: Json | null;
|
|
@@ -137,6 +140,13 @@ type Database = {
|
|
|
137
140
|
website?: string | null;
|
|
138
141
|
};
|
|
139
142
|
Relationships: [
|
|
143
|
+
{
|
|
144
|
+
foreignKeyName: "acq_companies_client_id_fkey";
|
|
145
|
+
columns: ["client_id"];
|
|
146
|
+
isOneToOne: false;
|
|
147
|
+
referencedRelation: "clients";
|
|
148
|
+
referencedColumns: ["id"];
|
|
149
|
+
},
|
|
140
150
|
{
|
|
141
151
|
foreignKeyName: "acq_companies_organization_id_fkey";
|
|
142
152
|
columns: ["organization_id"];
|
|
@@ -151,6 +161,7 @@ type Database = {
|
|
|
151
161
|
batch_id: string | null;
|
|
152
162
|
brochure_first_viewed_at: string | null;
|
|
153
163
|
brochure_view_count: number;
|
|
164
|
+
client_id: string | null;
|
|
154
165
|
company_id: string | null;
|
|
155
166
|
created_at: string;
|
|
156
167
|
email: string;
|
|
@@ -179,6 +190,7 @@ type Database = {
|
|
|
179
190
|
batch_id?: string | null;
|
|
180
191
|
brochure_first_viewed_at?: string | null;
|
|
181
192
|
brochure_view_count?: number;
|
|
193
|
+
client_id?: string | null;
|
|
182
194
|
company_id?: string | null;
|
|
183
195
|
created_at?: string;
|
|
184
196
|
email: string;
|
|
@@ -207,6 +219,7 @@ type Database = {
|
|
|
207
219
|
batch_id?: string | null;
|
|
208
220
|
brochure_first_viewed_at?: string | null;
|
|
209
221
|
brochure_view_count?: number;
|
|
222
|
+
client_id?: string | null;
|
|
210
223
|
company_id?: string | null;
|
|
211
224
|
created_at?: string;
|
|
212
225
|
email?: string;
|
|
@@ -232,6 +245,13 @@ type Database = {
|
|
|
232
245
|
updated_at?: string;
|
|
233
246
|
};
|
|
234
247
|
Relationships: [
|
|
248
|
+
{
|
|
249
|
+
foreignKeyName: "acq_contacts_client_id_fkey";
|
|
250
|
+
columns: ["client_id"];
|
|
251
|
+
isOneToOne: false;
|
|
252
|
+
referencedRelation: "clients";
|
|
253
|
+
referencedColumns: ["id"];
|
|
254
|
+
},
|
|
235
255
|
{
|
|
236
256
|
foreignKeyName: "acq_contacts_company_id_fkey";
|
|
237
257
|
columns: ["company_id"];
|
|
@@ -475,8 +495,10 @@ type Database = {
|
|
|
475
495
|
acq_deals: {
|
|
476
496
|
Row: {
|
|
477
497
|
activity_log: Json;
|
|
498
|
+
client_id: string | null;
|
|
478
499
|
closed_lost_at: string | null;
|
|
479
500
|
closed_lost_reason: string | null;
|
|
501
|
+
company_id: string | null;
|
|
480
502
|
contact_email: string;
|
|
481
503
|
contact_id: string | null;
|
|
482
504
|
created_at: string;
|
|
@@ -512,8 +534,10 @@ type Database = {
|
|
|
512
534
|
};
|
|
513
535
|
Insert: {
|
|
514
536
|
activity_log?: Json;
|
|
537
|
+
client_id?: string | null;
|
|
515
538
|
closed_lost_at?: string | null;
|
|
516
539
|
closed_lost_reason?: string | null;
|
|
540
|
+
company_id?: string | null;
|
|
517
541
|
contact_email: string;
|
|
518
542
|
contact_id?: string | null;
|
|
519
543
|
created_at?: string;
|
|
@@ -549,8 +573,10 @@ type Database = {
|
|
|
549
573
|
};
|
|
550
574
|
Update: {
|
|
551
575
|
activity_log?: Json;
|
|
576
|
+
client_id?: string | null;
|
|
552
577
|
closed_lost_at?: string | null;
|
|
553
578
|
closed_lost_reason?: string | null;
|
|
579
|
+
company_id?: string | null;
|
|
554
580
|
contact_email?: string;
|
|
555
581
|
contact_id?: string | null;
|
|
556
582
|
created_at?: string;
|
|
@@ -585,6 +611,20 @@ type Database = {
|
|
|
585
611
|
updated_at?: string;
|
|
586
612
|
};
|
|
587
613
|
Relationships: [
|
|
614
|
+
{
|
|
615
|
+
foreignKeyName: "acq_deals_client_id_fkey";
|
|
616
|
+
columns: ["client_id"];
|
|
617
|
+
isOneToOne: false;
|
|
618
|
+
referencedRelation: "clients";
|
|
619
|
+
referencedColumns: ["id"];
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
foreignKeyName: "acq_deals_company_id_fkey";
|
|
623
|
+
columns: ["company_id"];
|
|
624
|
+
isOneToOne: false;
|
|
625
|
+
referencedRelation: "acq_companies";
|
|
626
|
+
referencedColumns: ["id"];
|
|
627
|
+
},
|
|
588
628
|
{
|
|
589
629
|
foreignKeyName: "acq_deals_contact_id_fkey";
|
|
590
630
|
columns: ["contact_id"];
|
|
@@ -1202,6 +1242,77 @@ type Database = {
|
|
|
1202
1242
|
}
|
|
1203
1243
|
];
|
|
1204
1244
|
};
|
|
1245
|
+
clients: {
|
|
1246
|
+
Row: {
|
|
1247
|
+
converted_at: string | null;
|
|
1248
|
+
created_at: string;
|
|
1249
|
+
id: string;
|
|
1250
|
+
metadata: Json;
|
|
1251
|
+
name: string;
|
|
1252
|
+
organization_id: string;
|
|
1253
|
+
primary_company_id: string | null;
|
|
1254
|
+
primary_contact_id: string | null;
|
|
1255
|
+
source_deal_id: string | null;
|
|
1256
|
+
status: string;
|
|
1257
|
+
updated_at: string;
|
|
1258
|
+
};
|
|
1259
|
+
Insert: {
|
|
1260
|
+
converted_at?: string | null;
|
|
1261
|
+
created_at?: string;
|
|
1262
|
+
id?: string;
|
|
1263
|
+
metadata?: Json;
|
|
1264
|
+
name: string;
|
|
1265
|
+
organization_id: string;
|
|
1266
|
+
primary_company_id?: string | null;
|
|
1267
|
+
primary_contact_id?: string | null;
|
|
1268
|
+
source_deal_id?: string | null;
|
|
1269
|
+
status?: string;
|
|
1270
|
+
updated_at?: string;
|
|
1271
|
+
};
|
|
1272
|
+
Update: {
|
|
1273
|
+
converted_at?: string | null;
|
|
1274
|
+
created_at?: string;
|
|
1275
|
+
id?: string;
|
|
1276
|
+
metadata?: Json;
|
|
1277
|
+
name?: string;
|
|
1278
|
+
organization_id?: string;
|
|
1279
|
+
primary_company_id?: string | null;
|
|
1280
|
+
primary_contact_id?: string | null;
|
|
1281
|
+
source_deal_id?: string | null;
|
|
1282
|
+
status?: string;
|
|
1283
|
+
updated_at?: string;
|
|
1284
|
+
};
|
|
1285
|
+
Relationships: [
|
|
1286
|
+
{
|
|
1287
|
+
foreignKeyName: "clients_organization_id_fkey";
|
|
1288
|
+
columns: ["organization_id"];
|
|
1289
|
+
isOneToOne: false;
|
|
1290
|
+
referencedRelation: "organizations";
|
|
1291
|
+
referencedColumns: ["id"];
|
|
1292
|
+
},
|
|
1293
|
+
{
|
|
1294
|
+
foreignKeyName: "clients_primary_company_id_fkey";
|
|
1295
|
+
columns: ["primary_company_id"];
|
|
1296
|
+
isOneToOne: false;
|
|
1297
|
+
referencedRelation: "acq_companies";
|
|
1298
|
+
referencedColumns: ["id"];
|
|
1299
|
+
},
|
|
1300
|
+
{
|
|
1301
|
+
foreignKeyName: "clients_primary_contact_id_fkey";
|
|
1302
|
+
columns: ["primary_contact_id"];
|
|
1303
|
+
isOneToOne: false;
|
|
1304
|
+
referencedRelation: "acq_contacts";
|
|
1305
|
+
referencedColumns: ["id"];
|
|
1306
|
+
},
|
|
1307
|
+
{
|
|
1308
|
+
foreignKeyName: "clients_source_deal_id_fkey";
|
|
1309
|
+
columns: ["source_deal_id"];
|
|
1310
|
+
isOneToOne: false;
|
|
1311
|
+
referencedRelation: "acq_deals";
|
|
1312
|
+
referencedColumns: ["id"];
|
|
1313
|
+
}
|
|
1314
|
+
];
|
|
1315
|
+
};
|
|
1205
1316
|
command_queue: {
|
|
1206
1317
|
Row: {
|
|
1207
1318
|
action_payload: Json | null;
|
|
@@ -2171,6 +2282,7 @@ type Database = {
|
|
|
2171
2282
|
Row: {
|
|
2172
2283
|
actual_end_date: string | null;
|
|
2173
2284
|
client_company_id: string | null;
|
|
2285
|
+
client_id: string | null;
|
|
2174
2286
|
contract_value: number | null;
|
|
2175
2287
|
created_at: string;
|
|
2176
2288
|
deal_id: string | null;
|
|
@@ -2188,6 +2300,7 @@ type Database = {
|
|
|
2188
2300
|
Insert: {
|
|
2189
2301
|
actual_end_date?: string | null;
|
|
2190
2302
|
client_company_id?: string | null;
|
|
2303
|
+
client_id?: string | null;
|
|
2191
2304
|
contract_value?: number | null;
|
|
2192
2305
|
created_at?: string;
|
|
2193
2306
|
deal_id?: string | null;
|
|
@@ -2205,6 +2318,7 @@ type Database = {
|
|
|
2205
2318
|
Update: {
|
|
2206
2319
|
actual_end_date?: string | null;
|
|
2207
2320
|
client_company_id?: string | null;
|
|
2321
|
+
client_id?: string | null;
|
|
2208
2322
|
contract_value?: number | null;
|
|
2209
2323
|
created_at?: string;
|
|
2210
2324
|
deal_id?: string | null;
|
|
@@ -2241,6 +2355,13 @@ type Database = {
|
|
|
2241
2355
|
referencedRelation: "acq_companies";
|
|
2242
2356
|
referencedColumns: ["id"];
|
|
2243
2357
|
},
|
|
2358
|
+
{
|
|
2359
|
+
foreignKeyName: "prj_projects_client_id_fkey";
|
|
2360
|
+
columns: ["client_id"];
|
|
2361
|
+
isOneToOne: false;
|
|
2362
|
+
referencedRelation: "clients";
|
|
2363
|
+
referencedColumns: ["id"];
|
|
2364
|
+
},
|
|
2244
2365
|
{
|
|
2245
2366
|
foreignKeyName: "prj_projects_deal_id_fkey";
|
|
2246
2367
|
columns: ["deal_id"];
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
export { createUseAppInitialization } from '../chunk-
|
|
1
|
+
export { createUseAppInitialization } from '../chunk-JBWJ6WHZ.js';
|
|
2
2
|
import '../chunk-RNP5R5I3.js';
|
|
3
|
-
export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-
|
|
3
|
+
export { InitializationContext, InitializationProvider, useInitialization } from '../chunk-533DUEQY.js';
|
|
4
4
|
import '../chunk-DD3CCMCZ.js';
|
|
5
|
-
import '../chunk-
|
|
6
|
-
import '../chunk-
|
|
5
|
+
import '../chunk-2Q2JQSQO.js';
|
|
6
|
+
import '../chunk-KJ3QUBNU.js';
|
|
7
7
|
import '../chunk-BRJ3QZ4E.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-DZTG5IAC.js';
|
|
@@ -54,6 +54,7 @@ declare const OrgKnowledgeNodeSchema: z.ZodObject<{
|
|
|
54
54
|
"knowledge.reference": "knowledge.reference";
|
|
55
55
|
"feature.dashboard": "feature.dashboard";
|
|
56
56
|
"feature.calendar": "feature.calendar";
|
|
57
|
+
"feature.business": "feature.business";
|
|
57
58
|
"feature.sales": "feature.sales";
|
|
58
59
|
"feature.crm": "feature.crm";
|
|
59
60
|
"feature.finance": "feature.finance";
|
|
@@ -130,6 +131,7 @@ declare const OrganizationModelIconTokenSchema: z.ZodUnion<readonly [z.ZodEnum<{
|
|
|
130
131
|
"knowledge.reference": "knowledge.reference";
|
|
131
132
|
"feature.dashboard": "feature.dashboard";
|
|
132
133
|
"feature.calendar": "feature.calendar";
|
|
134
|
+
"feature.business": "feature.business";
|
|
133
135
|
"feature.sales": "feature.sales";
|
|
134
136
|
"feature.crm": "feature.crm";
|
|
135
137
|
"feature.finance": "feature.finance";
|
|
@@ -206,6 +208,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
206
208
|
"knowledge.reference": "knowledge.reference";
|
|
207
209
|
"feature.dashboard": "feature.dashboard";
|
|
208
210
|
"feature.calendar": "feature.calendar";
|
|
211
|
+
"feature.business": "feature.business";
|
|
209
212
|
"feature.sales": "feature.sales";
|
|
210
213
|
"feature.crm": "feature.crm";
|
|
211
214
|
"feature.finance": "feature.finance";
|
|
@@ -307,6 +310,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
307
310
|
"knowledge.reference": "knowledge.reference";
|
|
308
311
|
"feature.dashboard": "feature.dashboard";
|
|
309
312
|
"feature.calendar": "feature.calendar";
|
|
313
|
+
"feature.business": "feature.business";
|
|
310
314
|
"feature.sales": "feature.sales";
|
|
311
315
|
"feature.crm": "feature.crm";
|
|
312
316
|
"feature.finance": "feature.finance";
|
|
@@ -399,6 +403,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
399
403
|
"knowledge.reference": "knowledge.reference";
|
|
400
404
|
"feature.dashboard": "feature.dashboard";
|
|
401
405
|
"feature.calendar": "feature.calendar";
|
|
406
|
+
"feature.business": "feature.business";
|
|
402
407
|
"feature.sales": "feature.sales";
|
|
403
408
|
"feature.crm": "feature.crm";
|
|
404
409
|
"feature.finance": "feature.finance";
|
|
@@ -488,6 +493,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
488
493
|
"knowledge.reference": "knowledge.reference";
|
|
489
494
|
"feature.dashboard": "feature.dashboard";
|
|
490
495
|
"feature.calendar": "feature.calendar";
|
|
496
|
+
"feature.business": "feature.business";
|
|
491
497
|
"feature.sales": "feature.sales";
|
|
492
498
|
"feature.crm": "feature.crm";
|
|
493
499
|
"feature.finance": "feature.finance";
|
|
@@ -561,6 +567,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
561
567
|
"knowledge.reference": "knowledge.reference";
|
|
562
568
|
"feature.dashboard": "feature.dashboard";
|
|
563
569
|
"feature.calendar": "feature.calendar";
|
|
570
|
+
"feature.business": "feature.business";
|
|
564
571
|
"feature.sales": "feature.sales";
|
|
565
572
|
"feature.crm": "feature.crm";
|
|
566
573
|
"feature.finance": "feature.finance";
|
|
@@ -635,6 +642,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
635
642
|
"knowledge.reference": "knowledge.reference";
|
|
636
643
|
"feature.dashboard": "feature.dashboard";
|
|
637
644
|
"feature.calendar": "feature.calendar";
|
|
645
|
+
"feature.business": "feature.business";
|
|
638
646
|
"feature.sales": "feature.sales";
|
|
639
647
|
"feature.crm": "feature.crm";
|
|
640
648
|
"feature.finance": "feature.finance";
|
|
@@ -706,6 +714,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
706
714
|
"knowledge.reference": "knowledge.reference";
|
|
707
715
|
"feature.dashboard": "feature.dashboard";
|
|
708
716
|
"feature.calendar": "feature.calendar";
|
|
717
|
+
"feature.business": "feature.business";
|
|
709
718
|
"feature.sales": "feature.sales";
|
|
710
719
|
"feature.crm": "feature.crm";
|
|
711
720
|
"feature.finance": "feature.finance";
|
|
@@ -765,11 +774,65 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
765
774
|
export: "export";
|
|
766
775
|
}>>;
|
|
767
776
|
stageKey: z.ZodString;
|
|
777
|
+
recordEntity: z.ZodOptional<z.ZodEnum<{
|
|
778
|
+
company: "company";
|
|
779
|
+
contact: "contact";
|
|
780
|
+
}>>;
|
|
781
|
+
recordsStageKey: z.ZodOptional<z.ZodString>;
|
|
782
|
+
recordSourceStageKey: z.ZodOptional<z.ZodString>;
|
|
768
783
|
dependsOn: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
769
784
|
dependencyMode: z.ZodLiteral<"per-record-eligibility">;
|
|
770
785
|
capabilityKey: z.ZodString;
|
|
771
786
|
defaultBatchSize: z.ZodNumber;
|
|
772
787
|
maxBatchSize: z.ZodNumber;
|
|
788
|
+
recordColumns: z.ZodOptional<z.ZodObject<{
|
|
789
|
+
company: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
790
|
+
key: z.ZodString;
|
|
791
|
+
label: z.ZodString;
|
|
792
|
+
path: z.ZodString;
|
|
793
|
+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
794
|
+
renderType: z.ZodOptional<z.ZodEnum<{
|
|
795
|
+
text: "text";
|
|
796
|
+
badge: "badge";
|
|
797
|
+
datetime: "datetime";
|
|
798
|
+
count: "count";
|
|
799
|
+
json: "json";
|
|
800
|
+
}>>;
|
|
801
|
+
badgeColor: z.ZodOptional<z.ZodString>;
|
|
802
|
+
}, z.core.$strip>>>;
|
|
803
|
+
contact: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
804
|
+
key: z.ZodString;
|
|
805
|
+
label: z.ZodString;
|
|
806
|
+
path: z.ZodString;
|
|
807
|
+
width: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>;
|
|
808
|
+
renderType: z.ZodOptional<z.ZodEnum<{
|
|
809
|
+
text: "text";
|
|
810
|
+
badge: "badge";
|
|
811
|
+
datetime: "datetime";
|
|
812
|
+
count: "count";
|
|
813
|
+
json: "json";
|
|
814
|
+
}>>;
|
|
815
|
+
badgeColor: z.ZodOptional<z.ZodString>;
|
|
816
|
+
}, z.core.$strip>>>;
|
|
817
|
+
}, z.core.$strip>>;
|
|
818
|
+
credentialRequirements: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
819
|
+
key: z.ZodString;
|
|
820
|
+
provider: z.ZodString;
|
|
821
|
+
credentialType: z.ZodEnum<{
|
|
822
|
+
"api-key": "api-key";
|
|
823
|
+
"api-key-secret": "api-key-secret";
|
|
824
|
+
oauth: "oauth";
|
|
825
|
+
"webhook-secret": "webhook-secret";
|
|
826
|
+
}>;
|
|
827
|
+
label: z.ZodString;
|
|
828
|
+
required: z.ZodBoolean;
|
|
829
|
+
selectionMode: z.ZodOptional<z.ZodEnum<{
|
|
830
|
+
single: "single";
|
|
831
|
+
multiple: "multiple";
|
|
832
|
+
}>>;
|
|
833
|
+
inputPath: z.ZodString;
|
|
834
|
+
verifyOnRun: z.ZodOptional<z.ZodBoolean>;
|
|
835
|
+
}, z.core.$strip>>>;
|
|
773
836
|
}, z.core.$strip>>;
|
|
774
837
|
}, z.core.$strip>>;
|
|
775
838
|
}, z.core.$strip>;
|
|
@@ -799,6 +862,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
799
862
|
"knowledge.reference": "knowledge.reference";
|
|
800
863
|
"feature.dashboard": "feature.dashboard";
|
|
801
864
|
"feature.calendar": "feature.calendar";
|
|
865
|
+
"feature.business": "feature.business";
|
|
802
866
|
"feature.sales": "feature.sales";
|
|
803
867
|
"feature.crm": "feature.crm";
|
|
804
868
|
"feature.finance": "feature.finance";
|
|
@@ -872,6 +936,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
872
936
|
"knowledge.reference": "knowledge.reference";
|
|
873
937
|
"feature.dashboard": "feature.dashboard";
|
|
874
938
|
"feature.calendar": "feature.calendar";
|
|
939
|
+
"feature.business": "feature.business";
|
|
875
940
|
"feature.sales": "feature.sales";
|
|
876
941
|
"feature.crm": "feature.crm";
|
|
877
942
|
"feature.finance": "feature.finance";
|
|
@@ -945,6 +1010,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
945
1010
|
"knowledge.reference": "knowledge.reference";
|
|
946
1011
|
"feature.dashboard": "feature.dashboard";
|
|
947
1012
|
"feature.calendar": "feature.calendar";
|
|
1013
|
+
"feature.business": "feature.business";
|
|
948
1014
|
"feature.sales": "feature.sales";
|
|
949
1015
|
"feature.crm": "feature.crm";
|
|
950
1016
|
"feature.finance": "feature.finance";
|
|
@@ -1077,7 +1143,26 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1077
1143
|
title: z.ZodString;
|
|
1078
1144
|
responsibilities: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1079
1145
|
reportsToId: z.ZodOptional<z.ZodString>;
|
|
1080
|
-
heldBy: z.ZodOptional<z.
|
|
1146
|
+
heldBy: z.ZodOptional<z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1147
|
+
kind: z.ZodLiteral<"human">;
|
|
1148
|
+
userId: z.ZodString;
|
|
1149
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1150
|
+
kind: z.ZodLiteral<"agent">;
|
|
1151
|
+
agentId: z.ZodString;
|
|
1152
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1153
|
+
kind: z.ZodLiteral<"team">;
|
|
1154
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
1155
|
+
}, z.core.$strip>], "kind">, z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1156
|
+
kind: z.ZodLiteral<"human">;
|
|
1157
|
+
userId: z.ZodString;
|
|
1158
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1159
|
+
kind: z.ZodLiteral<"agent">;
|
|
1160
|
+
agentId: z.ZodString;
|
|
1161
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1162
|
+
kind: z.ZodLiteral<"team">;
|
|
1163
|
+
memberIds: z.ZodArray<z.ZodString>;
|
|
1164
|
+
}, z.core.$strip>], "kind">>]>>;
|
|
1165
|
+
responsibleFor: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1081
1166
|
}, z.core.$strip>>>;
|
|
1082
1167
|
}, z.core.$strip>>;
|
|
1083
1168
|
goals: z.ZodDefault<z.ZodObject<{
|
|
@@ -1095,6 +1180,70 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1095
1180
|
}, z.core.$strip>>>;
|
|
1096
1181
|
}, z.core.$strip>>>;
|
|
1097
1182
|
}, z.core.$strip>>;
|
|
1183
|
+
systems: z.ZodDefault<z.ZodObject<{
|
|
1184
|
+
systems: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1185
|
+
id: z.ZodString;
|
|
1186
|
+
title: z.ZodString;
|
|
1187
|
+
description: z.ZodString;
|
|
1188
|
+
kind: z.ZodEnum<{
|
|
1189
|
+
platform: "platform";
|
|
1190
|
+
product: "product";
|
|
1191
|
+
operational: "operational";
|
|
1192
|
+
diagnostic: "diagnostic";
|
|
1193
|
+
}>;
|
|
1194
|
+
responsibleRoleId: z.ZodOptional<z.ZodString>;
|
|
1195
|
+
governedByKnowledge: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1196
|
+
drivesGoals: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
1197
|
+
status: z.ZodEnum<{
|
|
1198
|
+
active: "active";
|
|
1199
|
+
deprecated: "deprecated";
|
|
1200
|
+
archived: "archived";
|
|
1201
|
+
}>;
|
|
1202
|
+
}, z.core.$strip>>>;
|
|
1203
|
+
}, z.core.$strip>>;
|
|
1204
|
+
resources: z.ZodDefault<z.ZodObject<{
|
|
1205
|
+
entries: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1206
|
+
id: z.ZodString;
|
|
1207
|
+
systemId: z.ZodString;
|
|
1208
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1209
|
+
status: z.ZodEnum<{
|
|
1210
|
+
active: "active";
|
|
1211
|
+
deprecated: "deprecated";
|
|
1212
|
+
archived: "archived";
|
|
1213
|
+
}>;
|
|
1214
|
+
kind: z.ZodLiteral<"workflow">;
|
|
1215
|
+
capabilityKey: z.ZodOptional<z.ZodString>;
|
|
1216
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1217
|
+
id: z.ZodString;
|
|
1218
|
+
systemId: z.ZodString;
|
|
1219
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1220
|
+
status: z.ZodEnum<{
|
|
1221
|
+
active: "active";
|
|
1222
|
+
deprecated: "deprecated";
|
|
1223
|
+
archived: "archived";
|
|
1224
|
+
}>;
|
|
1225
|
+
kind: z.ZodLiteral<"agent">;
|
|
1226
|
+
agentKind: z.ZodEnum<{
|
|
1227
|
+
orchestrator: "orchestrator";
|
|
1228
|
+
specialist: "specialist";
|
|
1229
|
+
utility: "utility";
|
|
1230
|
+
system: "system";
|
|
1231
|
+
}>;
|
|
1232
|
+
actsAsRoleId: z.ZodOptional<z.ZodString>;
|
|
1233
|
+
sessionCapable: z.ZodBoolean;
|
|
1234
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1235
|
+
id: z.ZodString;
|
|
1236
|
+
systemId: z.ZodString;
|
|
1237
|
+
ownerRoleId: z.ZodOptional<z.ZodString>;
|
|
1238
|
+
status: z.ZodEnum<{
|
|
1239
|
+
active: "active";
|
|
1240
|
+
deprecated: "deprecated";
|
|
1241
|
+
archived: "archived";
|
|
1242
|
+
}>;
|
|
1243
|
+
kind: z.ZodLiteral<"integration">;
|
|
1244
|
+
provider: z.ZodString;
|
|
1245
|
+
}, z.core.$strip>], "kind">>>;
|
|
1246
|
+
}, z.core.$strip>>;
|
|
1098
1247
|
statuses: z.ZodDefault<z.ZodObject<{
|
|
1099
1248
|
entries: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
1100
1249
|
id: z.ZodString;
|
|
@@ -1155,6 +1304,7 @@ declare const OrganizationModelSchema: z.ZodObject<{
|
|
|
1155
1304
|
"knowledge.reference": "knowledge.reference";
|
|
1156
1305
|
"feature.dashboard": "feature.dashboard";
|
|
1157
1306
|
"feature.calendar": "feature.calendar";
|
|
1307
|
+
"feature.business": "feature.business";
|
|
1158
1308
|
"feature.sales": "feature.sales";
|
|
1159
1309
|
"feature.crm": "feature.crm";
|
|
1160
1310
|
"feature.finance": "feature.finance";
|