@elevasis/ui 2.60.0 → 2.61.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/index.js +3 -3
- package/dist/app/index.d.ts +6 -5
- package/dist/app/index.js +3 -3
- package/dist/auth/index.js +3 -3
- package/dist/charts/index.js +3 -3
- package/dist/{chunk-XOPLS4S6.js → chunk-774JOHIM.js} +60 -20
- package/dist/{chunk-7Q5THR43.js → chunk-DRQA53N4.js} +1 -1
- package/dist/{chunk-4N5GYO6R.js → chunk-WFX6ERBL.js} +231 -166
- package/dist/{chunk-4UA62IDF.js → chunk-YM6LMYOE.js} +1 -1
- package/dist/components/index.d.ts +128 -17
- package/dist/components/index.js +3 -3
- package/dist/components/navigation/index.js +3 -3
- package/dist/features/auth/index.js +4 -4
- package/dist/features/clients/index.js +3 -3
- package/dist/features/crm/index.js +3 -3
- package/dist/features/dashboard/index.d.ts +6 -5
- package/dist/features/dashboard/index.js +3 -3
- package/dist/features/delivery/index.js +3 -3
- package/dist/features/knowledge/index.js +3 -3
- package/dist/features/lead-gen/index.d.ts +189 -18
- package/dist/features/lead-gen/index.js +3 -3
- package/dist/features/monitoring/index.js +3 -3
- package/dist/features/monitoring/requests/index.js +4 -4
- package/dist/features/operations/index.d.ts +6 -5
- package/dist/features/operations/index.js +3 -3
- package/dist/features/public-agent-chat/index.js +29 -8
- package/dist/features/settings/index.js +3 -3
- package/dist/hooks/access/index.js +3 -3
- package/dist/hooks/delivery/index.js +3 -3
- package/dist/hooks/index.d.ts +13 -15
- package/dist/hooks/index.js +3 -3
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +6 -5
- package/dist/hooks/published.d.ts +13 -15
- package/dist/hooks/published.js +3 -3
- package/dist/index.d.ts +188 -28
- package/dist/index.js +4 -4
- package/dist/knowledge/index.d.ts +6 -5
- package/dist/knowledge/index.js +4 -4
- package/dist/layout/index.js +3 -3
- package/dist/organization/index.js +3 -3
- package/dist/provider/index.d.ts +59 -6
- package/dist/provider/index.js +3 -3
- package/dist/provider/published.d.ts +6 -5
- package/dist/provider/published.js +3 -3
- package/dist/test-utils/index.js +3 -3
- package/dist/types/index.d.ts +6 -5
- package/dist/utils/index.d.ts +6 -5
- package/dist/utils/index.js +1 -1
- package/package.json +4 -4
|
@@ -778,12 +778,13 @@ declare const SystemApiInterfaceSchema: z$1.ZodObject<{
|
|
|
778
778
|
archived: "archived";
|
|
779
779
|
disabled: "disabled";
|
|
780
780
|
}>>;
|
|
781
|
-
readinessProfile: z$1.ZodOptional<z$1.
|
|
782
|
-
"sales.lead-gen.api": "sales.lead-gen.api";
|
|
783
|
-
"sales.crm.api": "sales.crm.api";
|
|
784
|
-
"sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
|
|
785
|
-
}>>;
|
|
781
|
+
readinessProfile: z$1.ZodOptional<z$1.ZodString>;
|
|
786
782
|
resourceIds: z$1.ZodOptional<z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>>;
|
|
783
|
+
readinessContract: z$1.ZodOptional<z$1.ZodObject<{
|
|
784
|
+
requiredObjects: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
785
|
+
requiredCatalogs: z$1.ZodDefault<z$1.ZodArray<z$1.ZodString>>;
|
|
786
|
+
requiredKinds: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
787
|
+
}, z$1.core.$strict>>;
|
|
787
788
|
}, z$1.core.$strict>;
|
|
788
789
|
type JsonPrimitive = string | number | boolean | null;
|
|
789
790
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
@@ -1978,7 +1979,113 @@ interface OrganizationGraphSystemBridge {
|
|
|
1978
1979
|
systemId?: string;
|
|
1979
1980
|
}
|
|
1980
1981
|
|
|
1981
|
-
|
|
1982
|
+
interface LeadGenOverviewPageSlots {
|
|
1983
|
+
/**
|
|
1984
|
+
* Optional content rendered after the page title, before the main body.
|
|
1985
|
+
* Renders inside a Mantine Group. Default: nothing rendered.
|
|
1986
|
+
*/
|
|
1987
|
+
headerActions?: ReactNode;
|
|
1988
|
+
/**
|
|
1989
|
+
* Optional extra tab nodes rendered inside the main content area.
|
|
1990
|
+
* Default: nothing rendered.
|
|
1991
|
+
*/
|
|
1992
|
+
tabs?: ReactNode;
|
|
1993
|
+
/**
|
|
1994
|
+
* Optional content rendered below the main page stack.
|
|
1995
|
+
* Default: nothing rendered.
|
|
1996
|
+
*/
|
|
1997
|
+
footer?: ReactNode;
|
|
1998
|
+
}
|
|
1999
|
+
declare function LeadGenOverviewPage({ headerActions, tabs, footer }?: LeadGenOverviewPageSlots): react_jsx_runtime.JSX.Element;
|
|
2000
|
+
|
|
2001
|
+
interface LeadGenListDetailPageSlots {
|
|
2002
|
+
/**
|
|
2003
|
+
* Optional content rendered after the page title row.
|
|
2004
|
+
* Use this instead of a route-wrapper bolt-on for things like an export
|
|
2005
|
+
* button that should appear at the top of the detail page.
|
|
2006
|
+
* Default: nothing rendered.
|
|
2007
|
+
*/
|
|
2008
|
+
headerActions?: React.ReactNode;
|
|
2009
|
+
/**
|
|
2010
|
+
* Optional content rendered below the tab list and above the first
|
|
2011
|
+
* tab panel. Rarely needed; prefer `headerActions` for most use cases.
|
|
2012
|
+
* Default: nothing rendered.
|
|
2013
|
+
*/
|
|
2014
|
+
tabs?: React.ReactNode;
|
|
2015
|
+
/**
|
|
2016
|
+
* Optional content rendered after the main page stack (below the modal).
|
|
2017
|
+
* Default: nothing rendered.
|
|
2018
|
+
*/
|
|
2019
|
+
footer?: React.ReactNode;
|
|
2020
|
+
}
|
|
2021
|
+
declare function LeadGenListDetailPage({ listId, headerActions, tabs, footer }: {
|
|
2022
|
+
listId: string;
|
|
2023
|
+
} & LeadGenListDetailPageSlots): react_jsx_runtime.JSX.Element;
|
|
2024
|
+
|
|
2025
|
+
interface LeadGenCompaniesPageSlots {
|
|
2026
|
+
/**
|
|
2027
|
+
* Extra columns appended after the default company columns.
|
|
2028
|
+
* Mirrors the `step.recordColumns` seam used by the list-detail build tab.
|
|
2029
|
+
* Each column is rendered using the same `renderRecordValue` / `valueAtPath`
|
|
2030
|
+
* helpers — `path` is resolved against the company row object.
|
|
2031
|
+
* Default: no extra columns.
|
|
2032
|
+
*/
|
|
2033
|
+
extraColumns?: RecordColumnConfig[];
|
|
2034
|
+
/**
|
|
2035
|
+
* When true, `extraColumns` replaces the default column set entirely
|
|
2036
|
+
* rather than appending. Default: false (append).
|
|
2037
|
+
*/
|
|
2038
|
+
replaceDefaultColumns?: boolean;
|
|
2039
|
+
}
|
|
2040
|
+
declare function LeadGenCompaniesPage({ extraColumns, replaceDefaultColumns }?: LeadGenCompaniesPageSlots): react_jsx_runtime.JSX.Element;
|
|
2041
|
+
|
|
2042
|
+
interface LeadGenContactsPageSlots {
|
|
2043
|
+
/**
|
|
2044
|
+
* Extra columns appended after the default contact columns.
|
|
2045
|
+
* Mirrors the `step.recordColumns` seam used by the list-detail build tab.
|
|
2046
|
+
* Each column is rendered using the same path-resolution pattern.
|
|
2047
|
+
* Default: no extra columns.
|
|
2048
|
+
*/
|
|
2049
|
+
extraColumns?: RecordColumnConfig[];
|
|
2050
|
+
/**
|
|
2051
|
+
* When true, `extraColumns` replaces the default column set entirely
|
|
2052
|
+
* rather than appending. Default: false (append).
|
|
2053
|
+
*/
|
|
2054
|
+
replaceDefaultColumns?: boolean;
|
|
2055
|
+
}
|
|
2056
|
+
declare function LeadGenContactsPage({ extraColumns, replaceDefaultColumns }?: LeadGenContactsPageSlots): react_jsx_runtime.JSX.Element;
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* Optional page component overrides / slot injections for lead-gen pages.
|
|
2060
|
+
* Each key maps to a page surface; the value is an object of optional
|
|
2061
|
+
* slot props (all absent → byte-identical default render).
|
|
2062
|
+
*
|
|
2063
|
+
* Extend this map as more pages gain slot support.
|
|
2064
|
+
*/
|
|
2065
|
+
interface LeadGenPageOverrides {
|
|
2066
|
+
/** Slot props injected into `LeadGenOverviewPage`. */
|
|
2067
|
+
overview?: LeadGenOverviewPageSlots;
|
|
2068
|
+
/** Slot props injected into `LeadGenListDetailPage`. */
|
|
2069
|
+
listDetail?: LeadGenListDetailPageSlots;
|
|
2070
|
+
/** Column config / slot props injected into `LeadGenCompaniesPage`. */
|
|
2071
|
+
companies?: LeadGenCompaniesPageSlots;
|
|
2072
|
+
/** Column config / slot props injected into `LeadGenContactsPage`. */
|
|
2073
|
+
contacts?: LeadGenContactsPageSlots;
|
|
2074
|
+
}
|
|
2075
|
+
/**
|
|
2076
|
+
* Extended `SystemModule` for the lead-gen feature that carries optional
|
|
2077
|
+
* page overrides alongside the standard manifest fields.
|
|
2078
|
+
*/
|
|
2079
|
+
interface LeadGenSystemModule extends SystemModule {
|
|
2080
|
+
/**
|
|
2081
|
+
* Optional page override map. Absent → no override (default renders apply).
|
|
2082
|
+
* Replaces the need for route-wrapper bolt-ons in tenant projects.
|
|
2083
|
+
*/
|
|
2084
|
+
pages?: LeadGenPageOverrides;
|
|
2085
|
+
}
|
|
2086
|
+
/** @deprecated Use `LeadGenSystemModule` for typed page overrides. */
|
|
2087
|
+
type LeadGenManifest = LeadGenSystemModule;
|
|
2088
|
+
declare const leadGenManifest: LeadGenSystemModule;
|
|
1982
2089
|
|
|
1983
2090
|
interface LeadGenRouteLink {
|
|
1984
2091
|
label: string;
|
|
@@ -2690,13 +2797,73 @@ interface ListActionDefinition {
|
|
|
2690
2797
|
selectionMode?: ListActionSelectionMode;
|
|
2691
2798
|
renderForm?: (context: ListActionFormContext) => ReactNode;
|
|
2692
2799
|
}
|
|
2800
|
+
/**
|
|
2801
|
+
* A header action rendered in the page header area (e.g. an export button).
|
|
2802
|
+
* Absent → nothing rendered. This is the extension point replacing the
|
|
2803
|
+
* Nirvana route-wrapper bolt-on pattern.
|
|
2804
|
+
*/
|
|
2805
|
+
interface LeadGenHeaderAction {
|
|
2806
|
+
/** Stable key for React reconciliation. */
|
|
2807
|
+
key: string;
|
|
2808
|
+
/** Render the action node. Called inside a Mantine Group. */
|
|
2809
|
+
render: () => ReactNode;
|
|
2810
|
+
}
|
|
2811
|
+
/**
|
|
2812
|
+
* A row-level action rendered per record (e.g. an inline action button).
|
|
2813
|
+
* Generic context keeps the registry decoupled from row-type specifics.
|
|
2814
|
+
*/
|
|
2815
|
+
interface LeadGenRowAction<TRow = unknown> {
|
|
2816
|
+
key: string;
|
|
2817
|
+
render: (row: TRow) => ReactNode;
|
|
2818
|
+
}
|
|
2819
|
+
/** A bulk action rendered when one or more rows are selected. */
|
|
2820
|
+
interface LeadGenBulkAction<TRow = unknown> {
|
|
2821
|
+
key: string;
|
|
2822
|
+
label: string;
|
|
2823
|
+
onAction: (rows: TRow[]) => void;
|
|
2824
|
+
}
|
|
2825
|
+
/**
|
|
2826
|
+
* The generalized UI action registry. Extends the existing `listActions`
|
|
2827
|
+
* (ListBuilderRegistry for workflow steps) with optional header/row/bulk
|
|
2828
|
+
* action slots. All fields are optional — omitting any slot preserves
|
|
2829
|
+
* the existing default render exactly.
|
|
2830
|
+
*/
|
|
2831
|
+
interface LeadGenActionRegistry {
|
|
2832
|
+
/** Workflow-step registry (the original listActions / ListBuilderRegistry). */
|
|
2833
|
+
listActions?: ListBuilderRegistry;
|
|
2834
|
+
/** Actions rendered in the page header area. */
|
|
2835
|
+
headerActions?: readonly LeadGenHeaderAction[];
|
|
2836
|
+
/** Per-row actions rendered in data grids. */
|
|
2837
|
+
rowActions?: readonly LeadGenRowAction[];
|
|
2838
|
+
/** Bulk actions rendered when records are selected. */
|
|
2839
|
+
bulkActions?: readonly LeadGenBulkAction[];
|
|
2840
|
+
}
|
|
2693
2841
|
|
|
2694
2842
|
declare const EMPTY_LIST_ACTIONS: ListBuilderRegistry;
|
|
2695
|
-
declare function ListActionsProvider({ registry, children }: {
|
|
2843
|
+
declare function ListActionsProvider({ registry, actionRegistry, children }: {
|
|
2844
|
+
/**
|
|
2845
|
+
* Workflow-step registry (original API). Still accepted for backward
|
|
2846
|
+
* compatibility. If `actionRegistry` is also provided, its `listActions`
|
|
2847
|
+
* field takes precedence.
|
|
2848
|
+
*/
|
|
2696
2849
|
registry?: ListBuilderRegistry;
|
|
2850
|
+
/**
|
|
2851
|
+
* Full UI action registry (header / row / bulk + listActions).
|
|
2852
|
+
* Supersedes the plain `registry` prop when provided.
|
|
2853
|
+
*/
|
|
2854
|
+
actionRegistry?: LeadGenActionRegistry;
|
|
2697
2855
|
children: ReactNode;
|
|
2698
2856
|
}): react_jsx_runtime.JSX.Element;
|
|
2857
|
+
/** Returns the workflow-step registry. Backward-compatible with existing consumers. */
|
|
2699
2858
|
declare function useListActions(): ListBuilderRegistry;
|
|
2859
|
+
/** Returns the full UI action registry (header / row / bulk + listActions). */
|
|
2860
|
+
declare function useLeadGenActionRegistry(): LeadGenActionRegistry;
|
|
2861
|
+
/** Returns header actions registered for the lead-gen UI. */
|
|
2862
|
+
declare function useLeadGenHeaderActions(): readonly LeadGenHeaderAction[];
|
|
2863
|
+
/** Returns per-row actions registered for the lead-gen UI. */
|
|
2864
|
+
declare function useLeadGenRowActions(): readonly LeadGenRowAction[];
|
|
2865
|
+
/** Returns bulk actions registered for the lead-gen UI. */
|
|
2866
|
+
declare function useLeadGenBulkActions(): readonly LeadGenBulkAction[];
|
|
2700
2867
|
declare function findListActionByAction(registry: ListBuilderRegistry, actionKey: LeadGenActionKey): ListBuilderWorkflow | undefined;
|
|
2701
2868
|
declare function getListActionWorkflowId(action: ListBuilderWorkflow): string;
|
|
2702
2869
|
|
|
@@ -2770,23 +2937,27 @@ declare function getLeadGenExportWorkflowId(model: OrganizationModel): string |
|
|
|
2770
2937
|
declare function getLeadGenApiInterfaceReadiness(model: OrganizationModel | undefined): LeadGenApiInterfaceReadiness;
|
|
2771
2938
|
declare function useLeadGenConfig(): LeadGenConfig;
|
|
2772
2939
|
|
|
2773
|
-
declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
|
|
2774
|
-
|
|
2775
2940
|
declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
|
|
2776
2941
|
|
|
2777
|
-
declare function LeadGenListDetailPage({ listId }: {
|
|
2778
|
-
listId: string;
|
|
2779
|
-
}): react_jsx_runtime.JSX.Element;
|
|
2780
|
-
|
|
2781
2942
|
declare function ListBuilderIndexPage(): react_jsx_runtime.JSX.Element;
|
|
2782
2943
|
|
|
2783
2944
|
declare function ListBuilderPage({ listId }: {
|
|
2784
2945
|
listId: string;
|
|
2785
2946
|
}): react_jsx_runtime.JSX.Element;
|
|
2786
2947
|
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2948
|
+
/**
|
|
2949
|
+
* Displays a warning alert when the lead-gen System Interface readiness check
|
|
2950
|
+
* has not yet passed. Extracted from the inline block in LeadGenListDetailPage
|
|
2951
|
+
* and reusable across any lead-gen page surface.
|
|
2952
|
+
*
|
|
2953
|
+
* Renders nothing when `canUseApiActions` is true (readiness check passed).
|
|
2954
|
+
*/
|
|
2955
|
+
declare function LeadGenReadinessAlert({ canUseApiActions, reason }: {
|
|
2956
|
+
/** Whether the lead-gen API is currently available (readiness check passed). */
|
|
2957
|
+
canUseApiActions: boolean;
|
|
2958
|
+
/** Optional reason string surfaced from the System Interface readiness check. */
|
|
2959
|
+
reason?: string;
|
|
2960
|
+
}): react_jsx_runtime.JSX.Element | null;
|
|
2790
2961
|
|
|
2791
|
-
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
|
|
2792
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenApiInterfaceReadiness, LeadGenBuildConfig, LeadGenCompanyListItem, LeadGenConfig, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
|
|
2962
|
+
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenReadinessAlert, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenConfig, useLeadGenHeaderActions, useLeadGenRowActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus };
|
|
2963
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenActionRegistry, LeadGenApiInterfaceReadiness, LeadGenBuildConfig, LeadGenBulkAction, LeadGenCompaniesPageSlots, LeadGenCompanyListItem, LeadGenConfig, LeadGenContactListItem, LeadGenContactsPageSlots, LeadGenHeaderAction, LeadGenListDetailPageSlots, LeadGenManifest, LeadGenOverviewPageSlots, LeadGenPageOverrides, LeadGenRouteLink, LeadGenRowAction, LeadGenSidebarMiddleProps, LeadGenStageKey, LeadGenSystemModule, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenConfig, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-
|
|
1
|
+
export { EMPTY_LIST_ACTIONS, LEAD_GEN_ITEMS, LEAD_GEN_ROUTE_LINKS, LeadGenCompaniesPage, LeadGenContactsPage, LeadGenListDetailPage, LeadGenListsPage, LeadGenOverviewPage, LeadGenReadinessAlert, LeadGenRouteShell, LeadGenSidebar, LeadGenSidebarMiddle, LeadGenSidebarTop, ListActionsProvider, ListBuilderIndexPage, ListBuilderPage, ORPHAN_STAGE_ORDER, companyKeys as acquisitionCompanyKeys, contactKeys as acquisitionContactKeys, companyKeys, contactKeys, deriveBusinessProgress, findListActionByAction, formatDate, getEnrichmentColor, getEnrichmentStatus, getLeadGenApiInterfaceReadiness, getLeadGenExportWorkflowId, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, isLeadGenExportAction, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, leadGenManifest, resolveBuildPlanSteps, resolveBuildState, sortStageKeys, useArtifacts, useCompanies, useCompany, useCompanyFacets, useContact, useContacts, useCreateArtifact, useCreateCompany, useCreateContact, useDeleteCompanies, useDeleteContacts, useDeleteLists, useDeriveActions, useLeadGenActionRegistry, useLeadGenBulkActions, useLeadGenConfig, useLeadGenHeaderActions, useLeadGenRowActions, useListActions, useListMember, useListMembers, useListProgress, useTransitionListCompany, useTransitionListMember, useUpdateCompany, useUpdateContact, useUpdateListStatus } from '../../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-DRQA53N4.js';
|
|
9
9
|
import '../../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-EIXSQONC.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-774JOHIM.js';
|
|
23
23
|
import '../../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../../chunk-KRWALB24.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-
|
|
1
|
+
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-DRQA53N4.js';
|
|
9
9
|
import '../../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-EIXSQONC.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-774JOHIM.js';
|
|
23
23
|
import '../../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../../chunk-KRWALB24.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-
|
|
2
|
-
export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-
|
|
1
|
+
import { ConfirmationModal, RequestModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, PageTitleCaption, FilterBar, TableSelectionToolbar, CustomModal, useRequest, ContextViewer, JsonViewer } from '../../../chunk-WFX6ERBL.js';
|
|
2
|
+
export { RequestActionIcon, RequestModal, requestTopbarActionManifest } from '../../../chunk-WFX6ERBL.js';
|
|
3
3
|
import '../../../chunk-NZ2F5RQ4.js';
|
|
4
4
|
import '../../../chunk-OJJK27GC.js';
|
|
5
5
|
import '../../../chunk-ZTWA5H77.js';
|
|
6
6
|
import '../../../chunk-AUDNF2Q7.js';
|
|
7
7
|
import '../../../chunk-6M6OLGQY.js';
|
|
8
8
|
import '../../../chunk-MKH2KOAO.js';
|
|
9
|
-
import '../../../chunk-
|
|
9
|
+
import '../../../chunk-DRQA53N4.js';
|
|
10
10
|
import '../../../chunk-T4LA4RY2.js';
|
|
11
11
|
import '../../../chunk-GMXGDO3I.js';
|
|
12
12
|
import { CardHeader } from '../../../chunk-S3XR4II4.js';
|
|
@@ -20,7 +20,7 @@ import '../../../chunk-HENXLGVD.js';
|
|
|
20
20
|
import '../../../chunk-I3CFGE3N.js';
|
|
21
21
|
import '../../../chunk-RNP5R5I3.js';
|
|
22
22
|
import '../../../chunk-EIXSQONC.js';
|
|
23
|
-
import { formatTimeAgo } from '../../../chunk-
|
|
23
|
+
import { formatTimeAgo } from '../../../chunk-774JOHIM.js';
|
|
24
24
|
import '../../../chunk-FVOMKZ7S.js';
|
|
25
25
|
import '../../../chunk-KRWALB24.js';
|
|
26
26
|
import '../../../chunk-BI5VDO2K.js';
|
|
@@ -483,12 +483,13 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
|
|
|
483
483
|
archived: "archived";
|
|
484
484
|
disabled: "disabled";
|
|
485
485
|
}>>;
|
|
486
|
-
readinessProfile: z.ZodOptional<z.
|
|
487
|
-
"sales.lead-gen.api": "sales.lead-gen.api";
|
|
488
|
-
"sales.crm.api": "sales.crm.api";
|
|
489
|
-
"sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
|
|
490
|
-
}>>;
|
|
486
|
+
readinessProfile: z.ZodOptional<z.ZodString>;
|
|
491
487
|
resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
488
|
+
readinessContract: z.ZodOptional<z.ZodObject<{
|
|
489
|
+
requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
490
|
+
requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
491
|
+
requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
492
|
+
}, z.core.$strict>>;
|
|
492
493
|
}, z.core.$strict>;
|
|
493
494
|
type JsonPrimitive = string | number | boolean | null;
|
|
494
495
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-
|
|
1
|
+
export { AgentExecutionPanel, AgentSessionGroup, CommandQueueDetailPage, CommandQueuePage, CommandQueueShell, CommandViewPage, DashboardOperationsOverview, ExecuteWorkflowModal, ExecutionPanel, OperationsOverview, OperationsSidebar, OperationsSidebarMiddle, OperationsSidebarTop, OrganizationGraphPage, ResourceDetailPage, ResourcesPage, ResourcesSidebar, SessionChatArea, SessionChatInterface, SessionChatPage, SessionConversationView, SessionDetailsPanel, SessionExecutionLogs, SessionHeader, SessionListItem, SessionsPage, SessionsSidebar, SystemOpsView, WorkflowExecutionPanel, aggregateSystemMetrics, formatResourceAttribution, operationsManifest } from '../../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-DRQA53N4.js';
|
|
9
9
|
import '../../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-EIXSQONC.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-774JOHIM.js';
|
|
23
23
|
import '../../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../../chunk-KRWALB24.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
@@ -462,6 +462,9 @@ function PublicAgentChatFrame({
|
|
|
462
462
|
}
|
|
463
463
|
);
|
|
464
464
|
}
|
|
465
|
+
function mergeIntakeMetadata(metadata, intakeValues) {
|
|
466
|
+
return Object.keys(intakeValues).length > 0 ? { ...intakeValues, ...metadata } : metadata;
|
|
467
|
+
}
|
|
465
468
|
function PublicAgentChat({
|
|
466
469
|
apiUrl,
|
|
467
470
|
slug,
|
|
@@ -528,7 +531,7 @@ function PublicAgentChat({
|
|
|
528
531
|
}, [apiUrl, slug, renderIntro]);
|
|
529
532
|
const pendingFirstMessageRef = useRef(null);
|
|
530
533
|
const authorize = useCallback(
|
|
531
|
-
async (code) => {
|
|
534
|
+
async (code, onSuccessStatus = "ready") => {
|
|
532
535
|
if (!grant) return;
|
|
533
536
|
try {
|
|
534
537
|
setError(null);
|
|
@@ -545,7 +548,7 @@ function PublicAgentChat({
|
|
|
545
548
|
}
|
|
546
549
|
);
|
|
547
550
|
setCapabilityToken(authorization.capabilityToken);
|
|
548
|
-
setStatus(
|
|
551
|
+
setStatus(onSuccessStatus);
|
|
549
552
|
} catch (requestError) {
|
|
550
553
|
setError(requestError instanceof Error ? requestError.message : "Unable to start agent chat");
|
|
551
554
|
setStatus(grant.requiresCode ? "code-required" : "error");
|
|
@@ -555,6 +558,7 @@ function PublicAgentChat({
|
|
|
555
558
|
);
|
|
556
559
|
const createSession = useCallback(
|
|
557
560
|
async (boundCapabilityToken) => {
|
|
561
|
+
const mergedMetadata = mergeIntakeMetadata(metadata, intakeValues);
|
|
558
562
|
const createdSession = await fetchJson(
|
|
559
563
|
`${apiUrl}/api/public/agent-chat/${encodeURIComponent(slug)}/sessions`,
|
|
560
564
|
{
|
|
@@ -562,7 +566,7 @@ function PublicAgentChat({
|
|
|
562
566
|
headers: { "Content-Type": "application/json" },
|
|
563
567
|
body: JSON.stringify({
|
|
564
568
|
capabilityToken: boundCapabilityToken,
|
|
565
|
-
...
|
|
569
|
+
...mergedMetadata ? { metadata: mergedMetadata } : {}
|
|
566
570
|
})
|
|
567
571
|
}
|
|
568
572
|
);
|
|
@@ -571,7 +575,7 @@ function PublicAgentChat({
|
|
|
571
575
|
onSessionReady?.(createdSession);
|
|
572
576
|
return createdSession;
|
|
573
577
|
},
|
|
574
|
-
[apiUrl, slug, metadata, onSessionReady]
|
|
578
|
+
[apiUrl, slug, metadata, intakeValues, onSessionReady]
|
|
575
579
|
);
|
|
576
580
|
const startSession = useCallback(
|
|
577
581
|
async (code) => {
|
|
@@ -591,7 +595,7 @@ function PublicAgentChat({
|
|
|
591
595
|
}
|
|
592
596
|
);
|
|
593
597
|
setCapabilityToken(authorization.capabilityToken);
|
|
594
|
-
const mergedMetadata =
|
|
598
|
+
const mergedMetadata = mergeIntakeMetadata(metadata, intakeValues);
|
|
595
599
|
const createdSession = await fetchJson(
|
|
596
600
|
`${apiUrl}/api/public/agent-chat/${encodeURIComponent(slug)}/sessions`,
|
|
597
601
|
{
|
|
@@ -614,6 +618,21 @@ function PublicAgentChat({
|
|
|
614
618
|
},
|
|
615
619
|
[apiUrl, grant, intakeValues, metadata, onSessionReady, slug, visitorId]
|
|
616
620
|
);
|
|
621
|
+
const beginSession = useCallback(async () => {
|
|
622
|
+
if (capabilityToken) {
|
|
623
|
+
try {
|
|
624
|
+
setError(null);
|
|
625
|
+
setStatus("authorizing");
|
|
626
|
+
await createSession(capabilityToken);
|
|
627
|
+
setStatus("ready");
|
|
628
|
+
} catch (requestError) {
|
|
629
|
+
setError(requestError instanceof Error ? requestError.message : "Unable to start agent chat");
|
|
630
|
+
setStatus(grant?.requiresCode ? "code-required" : "error");
|
|
631
|
+
}
|
|
632
|
+
return;
|
|
633
|
+
}
|
|
634
|
+
await startSession();
|
|
635
|
+
}, [capabilityToken, createSession, startSession, grant]);
|
|
617
636
|
useEffect(() => {
|
|
618
637
|
if (!grant || grant.requiresCode || renderIntro || hasIntroContent(grant) || resolveCaptureFields(grant).length > 0 || autoStartedRef.current) {
|
|
619
638
|
return;
|
|
@@ -699,7 +718,9 @@ function PublicAgentChat({
|
|
|
699
718
|
{
|
|
700
719
|
onSubmit: (event) => {
|
|
701
720
|
event.preventDefault();
|
|
702
|
-
|
|
721
|
+
if (!grant) return;
|
|
722
|
+
const next = renderIntro || hasIntroContent(grant) || resolveCaptureFields(grant).length > 0 ? "intro" : "ready";
|
|
723
|
+
void authorize(accessCode, next);
|
|
703
724
|
},
|
|
704
725
|
children: /* @__PURE__ */ jsxs(Stack, { children: [
|
|
705
726
|
/* @__PURE__ */ jsxs(Group, { gap: "xs", children: [
|
|
@@ -731,7 +752,7 @@ function PublicAgentChat({
|
|
|
731
752
|
if (renderIntro) {
|
|
732
753
|
const ctx = {
|
|
733
754
|
start: () => {
|
|
734
|
-
void
|
|
755
|
+
void beginSession();
|
|
735
756
|
},
|
|
736
757
|
starting: status === "authorizing",
|
|
737
758
|
title: displayTitle,
|
|
@@ -799,7 +820,7 @@ function PublicAgentChat({
|
|
|
799
820
|
Button,
|
|
800
821
|
{
|
|
801
822
|
onClick: () => {
|
|
802
|
-
void
|
|
823
|
+
void beginSession();
|
|
803
824
|
},
|
|
804
825
|
leftSection: /* @__PURE__ */ jsx(IconSend, { size: 16 }),
|
|
805
826
|
children: ctaLabel
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-
|
|
1
|
+
export { AccountSettings, AppearanceSettings, CreateWebhookEndpointModal, EditCredentialModal, EditWebhookEndpointModal, MemberAccessModal, MyRolesPage, OAuthIntegrationsCard, OrgMembersList, OrganizationSettings, WebhookEndpointList, WebhookEndpointSettings, settingsManifest } from '../../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-DRQA53N4.js';
|
|
9
9
|
import '../../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-EIXSQONC.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-774JOHIM.js';
|
|
23
23
|
import '../../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../../chunk-KRWALB24.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AccessKeys, useAccess } from '../../chunk-
|
|
1
|
+
export { AccessKeys, useAccess } from '../../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-DRQA53N4.js';
|
|
9
9
|
import '../../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-EIXSQONC.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-774JOHIM.js';
|
|
23
23
|
import '../../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../../chunk-KRWALB24.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-
|
|
1
|
+
export { milestoneKeys, noteKeys, projectKeys, taskKeys, useCreateMilestone, useCreateNote, useCreateProject, useCreateTask, useDeleteMilestone, useDeleteProject, useDeleteTask2 as useDeleteTask, useMilestones, useProject, useProjectMilestones, useProjectNotes, useProjectTasks, useProjects, useTasks, useUpdateMilestone, useUpdateProject, useUpdateTask } from '../../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../../chunk-OJJK27GC.js';
|
|
4
4
|
import '../../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../../chunk-
|
|
8
|
+
import '../../chunk-DRQA53N4.js';
|
|
9
9
|
import '../../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../../chunk-HENXLGVD.js';
|
|
|
19
19
|
import '../../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../../chunk-EIXSQONC.js';
|
|
22
|
-
import '../../chunk-
|
|
22
|
+
import '../../chunk-774JOHIM.js';
|
|
23
23
|
import '../../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../../chunk-KRWALB24.js';
|
|
25
25
|
import '../../chunk-BI5VDO2K.js';
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -3538,12 +3538,13 @@ declare const SystemApiInterfaceSchema: z.ZodObject<{
|
|
|
3538
3538
|
archived: "archived";
|
|
3539
3539
|
disabled: "disabled";
|
|
3540
3540
|
}>>;
|
|
3541
|
-
readinessProfile: z.ZodOptional<z.
|
|
3542
|
-
"sales.lead-gen.api": "sales.lead-gen.api";
|
|
3543
|
-
"sales.crm.api": "sales.crm.api";
|
|
3544
|
-
"sales.lead-gen.crm-handoff": "sales.lead-gen.crm-handoff";
|
|
3545
|
-
}>>;
|
|
3541
|
+
readinessProfile: z.ZodOptional<z.ZodString>;
|
|
3546
3542
|
resourceIds: z.ZodOptional<z.ZodDefault<z.ZodArray<z.ZodString>>>;
|
|
3543
|
+
readinessContract: z.ZodOptional<z.ZodObject<{
|
|
3544
|
+
requiredObjects: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3545
|
+
requiredCatalogs: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
3546
|
+
requiredKinds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3547
|
+
}, z.core.$strict>>;
|
|
3547
3548
|
}, z.core.$strict>;
|
|
3548
3549
|
type JsonPrimitive = string | number | boolean | null;
|
|
3549
3550
|
type JsonValue = JsonPrimitive | JsonValue[] | {
|
|
@@ -4589,21 +4590,18 @@ interface AcqDealTask {
|
|
|
4589
4590
|
/**
|
|
4590
4591
|
* Live-scan aggregate telemetry for a single list, computed on demand from
|
|
4591
4592
|
* the list junction tables and current contact deliverability state.
|
|
4592
|
-
* `stageCounts` are attempted counts from list-row processing_state
|
|
4593
|
+
* `stageCounts` are attempted counts from list-row processing_state, keyed
|
|
4594
|
+
* by the tenant's declared lead-gen stage catalog IDs. The canonical Elevasis
|
|
4595
|
+
* pipeline stages (`populated`, `extracted`, `qualified`, `discovered`,
|
|
4596
|
+
* `verified`, `personalized`, `uploaded`) are included when declared in the
|
|
4597
|
+
* tenant's stage catalog; tenants may declare additional or different stages.
|
|
4593
4598
|
*/
|
|
4594
4599
|
interface ListTelemetry {
|
|
4595
4600
|
listId: string;
|
|
4596
4601
|
totalCompanies: number;
|
|
4597
4602
|
totalContacts: number;
|
|
4598
|
-
|
|
4599
|
-
|
|
4600
|
-
extracted: number;
|
|
4601
|
-
qualified: number;
|
|
4602
|
-
discovered: number;
|
|
4603
|
-
verified: number;
|
|
4604
|
-
personalized: number;
|
|
4605
|
-
uploaded: number;
|
|
4606
|
-
};
|
|
4603
|
+
/** Stage attempt counts keyed by the tenant's declared stage catalog IDs. */
|
|
4604
|
+
stageCounts: Record<string, number>;
|
|
4607
4605
|
deliverability: {
|
|
4608
4606
|
valid: number;
|
|
4609
4607
|
risky: number;
|
package/dist/hooks/index.js
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, 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, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-
|
|
1
|
+
export { AccessKeys, ApiKeyService, CredentialService, DeploymentService, OperationsService, OrganizationMembershipService, WebhookEndpointService, acquisitionListKeys, clientsKeys, collectResourceFilterFacets, companyKeys, contactKeys, dealKeys, dealNoteKeys, dealTaskKeys, executionsKeys, filterByDomainFilters, getResourceFilterFacetIds, isSessionCapable, labelResourceFilterFacet, leadGenArtifactKeys, leadGenListCompanyKeys, leadGenListMemberKeys, milestoneKeys, noteKeys, observabilityKeys, operationsKeys, projectActivityKeys, projectKeys, requestsKeys, scheduleKeys, sessionsKeys, sortData, taskKeys, useAccess, useActivateDeployment, useActivities, useActivitiesRealtime, useActivityFilters, useActivityTrend, useAddCompaniesToList, useAddContactsToList, useArchiveSession, useArchivedLogs, useArtifacts, useAssignRole, useBatchDelete, useBatchTelemetry, useBatchedResourcesHealth, useBulkDeleteExecutions, useBusinessImpact, useCancelExecution, useCancelSchedule, useCheckpointTasks, useClient, useClientStatus, useClients, useCommandQueue, useCommandQueueTask, useCommandQueueTotals, useCommandViewData, useCommandViewDomainFilters, useCommandViewStats, useCommandViewStore, useCompanies, useCompany, useCompanyFacets, useCompleteDealTask, useContact, useContacts, useCostBreakdown, useCostByModel, useCostSummary, useCostTrends, useCreateApiKey, useCreateArtifact, useCreateClient, useCreateCompany, useCreateContact, useCreateCredential, useCreateDealNote, useCreateDealTask, useCreateProject as useCreateDeliveryProject, useCreateList, useCreateMilestone, useCreateNote, useCreateOrgRole, useCreateSchedule, useCreateSession, useCreateTask, useCreateWebhookEndpoint, useCredentials, useDashboardMetrics, useDeactivateDeployment, useDeactivateMembership, useDealDetail, useDealNotes, useDealTasks, useDealTasksDue, useDeals, useDealsLookup, useDealsSummary, useDeleteApiKey, useDeleteClient, useDeleteCompanies, useDeleteContacts, useDeleteCredential, useDeleteDeal, useDeleteProject as useDeleteDeliveryProject, useDeleteTask2 as useDeleteDeliveryTask, useDeleteDeployment, useDeleteExecution, useDeleteList, useDeleteMilestone, useDeleteOrgRole, useDeleteRequest, useDeleteSchedule, useDeleteSession, useDeleteTask, useDeleteWebhookEndpoint, useDeriveActions, useEffectivePermissions, useEndSession, useErrorAnalysis, useErrorDetail, useErrorDetails, useErrorDistribution, useErrorNotification, useErrorTrends, useExecuteAction, useExecuteAsync, useExecuteResource, useExecution, useExecutionHealth, useExecutionLogSSE, useExecutionLogs, useExecutionLogsFilters, useExecutionPanelState, useExecutionSSE, useExecutions, useGetExecutionHistory, useGetSchedule, useInFlightExecutions, useList, useListApiKeys, useListDeployments, useListExecutions, useListMember, useListMembers, useListProgress, useListRecords, useListSchedules, useListWebhookEndpoints, useLists, useListsTelemetry, useMarkAllAsRead, useMarkAsRead, useMilestones, useNotificationCount as useNotificationCountSSE, useNotifications, useOrgRoles, useOrganizationMembers, usePaginationState, usePatchTask, usePauseSchedule, usePermissionCatalog, useProject, useProjectActivities, useProjectMilestones, useProjectNotes, useProjectRealtime, useProjectTasks, useProjects, 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, useSubmitRequest, useSuccessNotification, useSystemHealth, useTableSelection, useTableSort, useTasks, useTestNotification, useTimeRangeDates, useTopFailingResources, useTransitionItem, useTransitionListCompany, useTransitionListMember, useTransitionState, useUnresolveError, useUnresolvedErrors, useUpdateAnchor, useUpdateApiKey, useUpdateClient, useUpdateCompany, useUpdateContact, useUpdateCredential, useUpdateProject as useUpdateDeliveryProject, useUpdateList, useUpdateListConfig, useUpdateListStatus, useUpdateMilestone, useUpdateOrgRole, useUpdateRequestStatus, useUpdateSchedule, useUpdateTask, useUpdateWebhookEndpoint, useUserMemberships, useVerifyCredential, useVisibleResources, useWarningNotification, useWorkflowExecution } from '../chunk-WFX6ERBL.js';
|
|
2
2
|
import '../chunk-NZ2F5RQ4.js';
|
|
3
3
|
import '../chunk-OJJK27GC.js';
|
|
4
4
|
import '../chunk-ZTWA5H77.js';
|
|
5
5
|
import '../chunk-AUDNF2Q7.js';
|
|
6
6
|
import '../chunk-6M6OLGQY.js';
|
|
7
7
|
import '../chunk-MKH2KOAO.js';
|
|
8
|
-
import '../chunk-
|
|
8
|
+
import '../chunk-DRQA53N4.js';
|
|
9
9
|
import '../chunk-T4LA4RY2.js';
|
|
10
10
|
import '../chunk-GMXGDO3I.js';
|
|
11
11
|
import '../chunk-S3XR4II4.js';
|
|
@@ -19,7 +19,7 @@ import '../chunk-HENXLGVD.js';
|
|
|
19
19
|
export { useMergedExecution } from '../chunk-I3CFGE3N.js';
|
|
20
20
|
import '../chunk-RNP5R5I3.js';
|
|
21
21
|
import '../chunk-EIXSQONC.js';
|
|
22
|
-
import '../chunk-
|
|
22
|
+
import '../chunk-774JOHIM.js';
|
|
23
23
|
export { REFETCH_INTERVAL_RUNNING, WS_MAX_RETRIES_BEFORE_ERROR, WS_RECONNECT_BASE_DELAY, WS_RECONNECT_MAX_DELAY } from '../chunk-FVOMKZ7S.js';
|
|
24
24
|
import '../chunk-KRWALB24.js';
|
|
25
25
|
import '../chunk-BI5VDO2K.js';
|