@elevasis/ui 2.35.0 → 2.36.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/app/index.d.ts +25 -18
- package/dist/app/index.js +2 -2
- package/dist/{chunk-26HFM4MH.js → chunk-F6EFC2MJ.js} +1555 -1903
- package/dist/{chunk-VDOOGGBA.js → chunk-K4UZU3TU.js} +2 -2
- package/dist/{chunk-4U3XAWCN.js → chunk-O2Q4VMRN.js} +134 -495
- package/dist/components/index.d.ts +7 -4
- package/dist/components/index.js +2 -2
- package/dist/components/navigation/index.js +2 -2
- package/dist/execution/index.d.ts +2 -2
- package/dist/features/auth/index.d.ts +3 -0
- package/dist/features/auth/index.js +2 -2
- package/dist/features/clients/index.js +2 -2
- package/dist/features/crm/index.d.ts +3 -0
- package/dist/features/crm/index.js +2 -2
- package/dist/features/dashboard/index.d.ts +3 -3
- package/dist/features/dashboard/index.js +2 -2
- package/dist/features/delivery/index.d.ts +3 -0
- package/dist/features/delivery/index.js +2 -2
- package/dist/features/knowledge/index.js +3 -3
- package/dist/features/lead-gen/index.d.ts +286 -48
- package/dist/features/lead-gen/index.js +2 -2
- package/dist/features/monitoring/index.js +2 -2
- package/dist/features/monitoring/requests/index.js +2 -2
- package/dist/features/operations/index.d.ts +30 -30
- package/dist/features/operations/index.js +2 -2
- package/dist/features/settings/index.d.ts +3 -0
- package/dist/features/settings/index.js +2 -2
- package/dist/hooks/delivery/index.d.ts +3 -0
- package/dist/hooks/delivery/index.js +2 -2
- package/dist/hooks/index.d.ts +29 -16
- package/dist/hooks/index.js +2 -2
- package/dist/hooks/operations/command-view/utils/transformCommandViewData.d.ts +13 -13
- package/dist/hooks/published.d.ts +29 -16
- package/dist/hooks/published.js +2 -2
- package/dist/index.d.ts +51 -34
- package/dist/index.js +2 -2
- package/dist/initialization/index.d.ts +3 -0
- package/dist/knowledge/index.d.ts +21 -21
- package/dist/knowledge/index.js +6 -6
- package/dist/{knowledge-search-index-ORIJCEZX.js → knowledge-search-index-NBCTFIOH.js} +2 -2
- package/dist/organization/index.js +2 -2
- package/dist/profile/index.d.ts +3 -0
- package/dist/provider/index.d.ts +25 -18
- package/dist/provider/index.js +2 -2
- package/dist/provider/published.d.ts +25 -18
- package/dist/provider/published.js +2 -2
- package/dist/sse/index.js +26 -5
- package/dist/supabase/index.d.ts +6 -0
- package/dist/types/index.d.ts +16 -13
- package/dist/utils/index.d.ts +3 -3
- package/package.json +4 -4
|
@@ -83,9 +83,237 @@ declare const CredentialRequirementSchema: z$1.ZodObject<{
|
|
|
83
83
|
inputPath: z$1.ZodString;
|
|
84
84
|
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
85
85
|
}, z$1.core.$strip>;
|
|
86
|
+
declare const ProspectingBuildTemplateSchema: z$1.ZodObject<{
|
|
87
|
+
label: z$1.ZodString;
|
|
88
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
89
|
+
color: z$1.ZodOptional<z$1.ZodString>;
|
|
90
|
+
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
91
|
+
message: "message";
|
|
92
|
+
error: "error";
|
|
93
|
+
agent: "agent";
|
|
94
|
+
workflow: "workflow";
|
|
95
|
+
"google-sheets": "google-sheets";
|
|
96
|
+
dashboard: "dashboard";
|
|
97
|
+
calendar: "calendar";
|
|
98
|
+
sales: "sales";
|
|
99
|
+
crm: "crm";
|
|
100
|
+
"lead-gen": "lead-gen";
|
|
101
|
+
projects: "projects";
|
|
102
|
+
clients: "clients";
|
|
103
|
+
operations: "operations";
|
|
104
|
+
monitoring: "monitoring";
|
|
105
|
+
knowledge: "knowledge";
|
|
106
|
+
settings: "settings";
|
|
107
|
+
admin: "admin";
|
|
108
|
+
archive: "archive";
|
|
109
|
+
business: "business";
|
|
110
|
+
finance: "finance";
|
|
111
|
+
platform: "platform";
|
|
112
|
+
seo: "seo";
|
|
113
|
+
playbook: "playbook";
|
|
114
|
+
strategy: "strategy";
|
|
115
|
+
reference: "reference";
|
|
116
|
+
integration: "integration";
|
|
117
|
+
database: "database";
|
|
118
|
+
user: "user";
|
|
119
|
+
team: "team";
|
|
120
|
+
gmail: "gmail";
|
|
121
|
+
attio: "attio";
|
|
122
|
+
overview: "overview";
|
|
123
|
+
"command-view": "command-view";
|
|
124
|
+
"command-queue": "command-queue";
|
|
125
|
+
pipeline: "pipeline";
|
|
126
|
+
lists: "lists";
|
|
127
|
+
resources: "resources";
|
|
128
|
+
approve: "approve";
|
|
129
|
+
reject: "reject";
|
|
130
|
+
retry: "retry";
|
|
131
|
+
edit: "edit";
|
|
132
|
+
view: "view";
|
|
133
|
+
launch: "launch";
|
|
134
|
+
escalate: "escalate";
|
|
135
|
+
promote: "promote";
|
|
136
|
+
submit: "submit";
|
|
137
|
+
email: "email";
|
|
138
|
+
success: "success";
|
|
139
|
+
warning: "warning";
|
|
140
|
+
info: "info";
|
|
141
|
+
pending: "pending";
|
|
142
|
+
bolt: "bolt";
|
|
143
|
+
building: "building";
|
|
144
|
+
briefcase: "briefcase";
|
|
145
|
+
apps: "apps";
|
|
146
|
+
graph: "graph";
|
|
147
|
+
shield: "shield";
|
|
148
|
+
users: "users";
|
|
149
|
+
"chart-bar": "chart-bar";
|
|
150
|
+
search: "search";
|
|
151
|
+
}>, z$1.ZodString]>>;
|
|
152
|
+
id: z$1.ZodString;
|
|
153
|
+
steps: z$1.ZodArray<z$1.ZodObject<{
|
|
154
|
+
label: z$1.ZodString;
|
|
155
|
+
description: z$1.ZodOptional<z$1.ZodString>;
|
|
156
|
+
color: z$1.ZodOptional<z$1.ZodString>;
|
|
157
|
+
icon: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodEnum<{
|
|
158
|
+
message: "message";
|
|
159
|
+
error: "error";
|
|
160
|
+
agent: "agent";
|
|
161
|
+
workflow: "workflow";
|
|
162
|
+
"google-sheets": "google-sheets";
|
|
163
|
+
dashboard: "dashboard";
|
|
164
|
+
calendar: "calendar";
|
|
165
|
+
sales: "sales";
|
|
166
|
+
crm: "crm";
|
|
167
|
+
"lead-gen": "lead-gen";
|
|
168
|
+
projects: "projects";
|
|
169
|
+
clients: "clients";
|
|
170
|
+
operations: "operations";
|
|
171
|
+
monitoring: "monitoring";
|
|
172
|
+
knowledge: "knowledge";
|
|
173
|
+
settings: "settings";
|
|
174
|
+
admin: "admin";
|
|
175
|
+
archive: "archive";
|
|
176
|
+
business: "business";
|
|
177
|
+
finance: "finance";
|
|
178
|
+
platform: "platform";
|
|
179
|
+
seo: "seo";
|
|
180
|
+
playbook: "playbook";
|
|
181
|
+
strategy: "strategy";
|
|
182
|
+
reference: "reference";
|
|
183
|
+
integration: "integration";
|
|
184
|
+
database: "database";
|
|
185
|
+
user: "user";
|
|
186
|
+
team: "team";
|
|
187
|
+
gmail: "gmail";
|
|
188
|
+
attio: "attio";
|
|
189
|
+
overview: "overview";
|
|
190
|
+
"command-view": "command-view";
|
|
191
|
+
"command-queue": "command-queue";
|
|
192
|
+
pipeline: "pipeline";
|
|
193
|
+
lists: "lists";
|
|
194
|
+
resources: "resources";
|
|
195
|
+
approve: "approve";
|
|
196
|
+
reject: "reject";
|
|
197
|
+
retry: "retry";
|
|
198
|
+
edit: "edit";
|
|
199
|
+
view: "view";
|
|
200
|
+
launch: "launch";
|
|
201
|
+
escalate: "escalate";
|
|
202
|
+
promote: "promote";
|
|
203
|
+
submit: "submit";
|
|
204
|
+
email: "email";
|
|
205
|
+
success: "success";
|
|
206
|
+
warning: "warning";
|
|
207
|
+
info: "info";
|
|
208
|
+
pending: "pending";
|
|
209
|
+
bolt: "bolt";
|
|
210
|
+
building: "building";
|
|
211
|
+
briefcase: "briefcase";
|
|
212
|
+
apps: "apps";
|
|
213
|
+
graph: "graph";
|
|
214
|
+
shield: "shield";
|
|
215
|
+
users: "users";
|
|
216
|
+
"chart-bar": "chart-bar";
|
|
217
|
+
search: "search";
|
|
218
|
+
}>, z$1.ZodString]>>;
|
|
219
|
+
id: z$1.ZodString;
|
|
220
|
+
primaryEntity: z$1.ZodEnum<{
|
|
221
|
+
company: "company";
|
|
222
|
+
contact: "contact";
|
|
223
|
+
}>;
|
|
224
|
+
outputs: z$1.ZodArray<z$1.ZodEnum<{
|
|
225
|
+
company: "company";
|
|
226
|
+
contact: "contact";
|
|
227
|
+
export: "export";
|
|
228
|
+
}>>;
|
|
229
|
+
stageKey: z$1.ZodString;
|
|
230
|
+
recordEntity: z$1.ZodOptional<z$1.ZodEnum<{
|
|
231
|
+
company: "company";
|
|
232
|
+
contact: "contact";
|
|
233
|
+
}>>;
|
|
234
|
+
recordsStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
235
|
+
recordSourceStageKey: z$1.ZodOptional<z$1.ZodString>;
|
|
236
|
+
dependsOn: z$1.ZodOptional<z$1.ZodArray<z$1.ZodString>>;
|
|
237
|
+
dependencyMode: z$1.ZodLiteral<"per-record-eligibility">;
|
|
238
|
+
actionKey: z$1.ZodString;
|
|
239
|
+
defaultBatchSize: z$1.ZodNumber;
|
|
240
|
+
maxBatchSize: z$1.ZodNumber;
|
|
241
|
+
recordColumns: z$1.ZodOptional<z$1.ZodObject<{
|
|
242
|
+
company: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
243
|
+
key: z$1.ZodString;
|
|
244
|
+
label: z$1.ZodString;
|
|
245
|
+
path: z$1.ZodString;
|
|
246
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
247
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
248
|
+
text: "text";
|
|
249
|
+
badge: "badge";
|
|
250
|
+
datetime: "datetime";
|
|
251
|
+
count: "count";
|
|
252
|
+
json: "json";
|
|
253
|
+
}>>;
|
|
254
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
255
|
+
}, z$1.core.$strip>>>;
|
|
256
|
+
contact: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
257
|
+
key: z$1.ZodString;
|
|
258
|
+
label: z$1.ZodString;
|
|
259
|
+
path: z$1.ZodString;
|
|
260
|
+
width: z$1.ZodOptional<z$1.ZodUnion<readonly [z$1.ZodNumber, z$1.ZodString]>>;
|
|
261
|
+
renderType: z$1.ZodOptional<z$1.ZodEnum<{
|
|
262
|
+
text: "text";
|
|
263
|
+
badge: "badge";
|
|
264
|
+
datetime: "datetime";
|
|
265
|
+
count: "count";
|
|
266
|
+
json: "json";
|
|
267
|
+
}>>;
|
|
268
|
+
badgeColor: z$1.ZodOptional<z$1.ZodString>;
|
|
269
|
+
}, z$1.core.$strip>>>;
|
|
270
|
+
}, z$1.core.$strip>>;
|
|
271
|
+
credentialRequirements: z$1.ZodOptional<z$1.ZodArray<z$1.ZodObject<{
|
|
272
|
+
key: z$1.ZodString;
|
|
273
|
+
provider: z$1.ZodString;
|
|
274
|
+
credentialType: z$1.ZodEnum<{
|
|
275
|
+
"api-key": "api-key";
|
|
276
|
+
"api-key-secret": "api-key-secret";
|
|
277
|
+
oauth: "oauth";
|
|
278
|
+
"webhook-secret": "webhook-secret";
|
|
279
|
+
}>;
|
|
280
|
+
label: z$1.ZodString;
|
|
281
|
+
required: z$1.ZodBoolean;
|
|
282
|
+
selectionMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
283
|
+
single: "single";
|
|
284
|
+
multiple: "multiple";
|
|
285
|
+
}>>;
|
|
286
|
+
inputPath: z$1.ZodString;
|
|
287
|
+
verifyOnRun: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
288
|
+
}, z$1.core.$strip>>>;
|
|
289
|
+
}, z$1.core.$strip>>;
|
|
290
|
+
}, z$1.core.$strip>;
|
|
86
291
|
type RecordColumnConfig = z$1.infer<typeof RecordColumnConfigSchema>;
|
|
87
292
|
type CredentialRequirement = z$1.infer<typeof CredentialRequirementSchema>;
|
|
88
293
|
|
|
294
|
+
/** One entry in the lead-gen stage catalog. */
|
|
295
|
+
interface LeadGenStageCatalogEntry {
|
|
296
|
+
/** Matches the status key written into processing_state jsonb (e.g. 'scraped'). */
|
|
297
|
+
key: string;
|
|
298
|
+
/** Human-readable label for UI display. */
|
|
299
|
+
label: string;
|
|
300
|
+
/** Short description of what this stage represents. */
|
|
301
|
+
description: string;
|
|
302
|
+
/** Canonical pipeline order for UI sorting. Lower = earlier in the funnel. */
|
|
303
|
+
order: number;
|
|
304
|
+
/** Which entity's processing_state jsonb carries this stage status. */
|
|
305
|
+
entity: 'company' | 'contact';
|
|
306
|
+
/** Additional entities allowed to write/read this processing_state key. */
|
|
307
|
+
additionalEntities?: Array<'company' | 'contact'>;
|
|
308
|
+
/**
|
|
309
|
+
* Optional read-side override for Records views when a company-scoped step
|
|
310
|
+
* produces records on a different entity.
|
|
311
|
+
*/
|
|
312
|
+
recordEntity?: 'company' | 'contact';
|
|
313
|
+
/** Stage key to read from recordEntity.processing_state for Records views. */
|
|
314
|
+
recordStageKey?: string;
|
|
315
|
+
}
|
|
316
|
+
|
|
89
317
|
declare const TransitionItemRequestSchema: z$1.ZodObject<{
|
|
90
318
|
pipelineKey: z$1.ZodString;
|
|
91
319
|
stageKey: z$1.ZodString;
|
|
@@ -227,6 +455,10 @@ declare const AcqListResponseSchema: z$1.ZodObject<{
|
|
|
227
455
|
enabled: z$1.ZodOptional<z$1.ZodBoolean>;
|
|
228
456
|
order: z$1.ZodOptional<z$1.ZodNumber>;
|
|
229
457
|
}, z$1.core.$strip>>>;
|
|
458
|
+
dataMode: z$1.ZodOptional<z$1.ZodEnum<{
|
|
459
|
+
mock: "mock";
|
|
460
|
+
live: "live";
|
|
461
|
+
}>>;
|
|
230
462
|
}, z$1.core.$strip>;
|
|
231
463
|
}, z$1.core.$strip>;
|
|
232
464
|
/**
|
|
@@ -392,9 +624,9 @@ declare const AcqContactResponseSchema: z$1.ZodObject<{
|
|
|
392
624
|
updatedAt: z$1.ZodString;
|
|
393
625
|
}, z$1.core.$strip>;
|
|
394
626
|
declare const AcqArtifactOwnerKindSchema: z$1.ZodEnum<{
|
|
395
|
-
list: "list";
|
|
396
627
|
company: "company";
|
|
397
628
|
contact: "contact";
|
|
629
|
+
list: "list";
|
|
398
630
|
deal: "deal";
|
|
399
631
|
list_member: "list_member";
|
|
400
632
|
}>;
|
|
@@ -436,6 +668,8 @@ interface Action {
|
|
|
436
668
|
payloadSchema?: z$1.ZodTypeAny;
|
|
437
669
|
}
|
|
438
670
|
|
|
671
|
+
type ProspectingBuildTemplate = z$1.infer<typeof ProspectingBuildTemplateSchema>;
|
|
672
|
+
|
|
439
673
|
type SystemSidebarComponent = ComponentType;
|
|
440
674
|
type SystemIconComponent = ComponentType<{
|
|
441
675
|
size?: number;
|
|
@@ -893,7 +1127,7 @@ declare function useDeleteContacts(): _tanstack_react_query.UseMutationResult<vo
|
|
|
893
1127
|
|
|
894
1128
|
declare const leadGenArtifactKeys: {
|
|
895
1129
|
all: readonly ["lead-gen-artifacts"];
|
|
896
|
-
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "
|
|
1130
|
+
list: (organizationId: string | null, ownerKind: AcqArtifactOwnerKind, ownerId: string) => readonly ["lead-gen-artifacts", string | null, "company" | "contact" | "list" | "deal" | "list_member", string];
|
|
897
1131
|
};
|
|
898
1132
|
interface UseArtifactsParams {
|
|
899
1133
|
ownerKind: AcqArtifactOwnerKind;
|
|
@@ -925,7 +1159,7 @@ declare function useCreateArtifact(): _tanstack_react_query.UseMutationResult<{
|
|
|
925
1159
|
createdAt: string;
|
|
926
1160
|
version: number;
|
|
927
1161
|
}, Error, {
|
|
928
|
-
ownerKind: "
|
|
1162
|
+
ownerKind: "company" | "contact" | "list" | "deal" | "list_member";
|
|
929
1163
|
ownerId: string;
|
|
930
1164
|
kind: string;
|
|
931
1165
|
content: Record<string, unknown>;
|
|
@@ -1082,20 +1316,6 @@ declare function useListProgress(listId: string, options?: UseListProgressOption
|
|
|
1082
1316
|
|
|
1083
1317
|
declare function useDeleteLists(): _tanstack_react_query.UseMutationResult<void, Error, string[], unknown>;
|
|
1084
1318
|
|
|
1085
|
-
declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
|
|
1086
|
-
|
|
1087
|
-
declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
|
|
1088
|
-
|
|
1089
|
-
declare function LeadGenListDetailPage({ listId }: {
|
|
1090
|
-
listId: string;
|
|
1091
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1092
|
-
|
|
1093
|
-
declare function ListBuilderIndexPage(): react_jsx_runtime.JSX.Element;
|
|
1094
|
-
|
|
1095
|
-
declare function ListBuilderPage({ listId }: {
|
|
1096
|
-
listId: string;
|
|
1097
|
-
}): react_jsx_runtime.JSX.Element;
|
|
1098
|
-
|
|
1099
1319
|
/**
|
|
1100
1320
|
* All valid dotted paths into T.
|
|
1101
1321
|
* Arrays of primitives are treated as leaf (return K only).
|
|
@@ -1106,7 +1326,7 @@ type FieldPath<T> = T extends object ? {
|
|
|
1106
1326
|
[K in keyof T & string]: T[K] extends ReadonlyArray<unknown> | unknown[] ? K : T[K] extends object | undefined ? K | `${K}.${FieldPath<NonNullable<T[K]>>}` : K;
|
|
1107
1327
|
}[keyof T & string] : never;
|
|
1108
1328
|
/** Discriminated string union of supported Mantine components. */
|
|
1109
|
-
type StepConfigComponent = 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
1329
|
+
type StepConfigComponent = 'checkboxgroup' | 'segmented' | 'tags' | 'multiselect' | 'select' | 'textinput' | 'textarea' | 'numberinput' | 'switch' | 'json';
|
|
1110
1330
|
/** Rendering hint for a single field within a section. */
|
|
1111
1331
|
interface StepConfigFieldHint<T> {
|
|
1112
1332
|
/** Typed dotted path into T — typo = TS error. */
|
|
@@ -1202,30 +1422,6 @@ declare function useListActions(): ListBuilderRegistry;
|
|
|
1202
1422
|
declare function findListActionByAction(registry: ListBuilderRegistry, actionKey: LeadGenActionKey): ListBuilderWorkflow | undefined;
|
|
1203
1423
|
declare function getListActionWorkflowId(action: ListBuilderWorkflow): string;
|
|
1204
1424
|
|
|
1205
|
-
interface MembersPanelSelection {
|
|
1206
|
-
selectedCompanyIds: string[];
|
|
1207
|
-
selectedContactIds: string[];
|
|
1208
|
-
}
|
|
1209
|
-
|
|
1210
|
-
interface RunWorkflowModalProps {
|
|
1211
|
-
opened: boolean;
|
|
1212
|
-
onClose: () => void;
|
|
1213
|
-
list: AcqListResponse;
|
|
1214
|
-
actions: ListBuilderRegistry;
|
|
1215
|
-
selection: MembersPanelSelection;
|
|
1216
|
-
initialResourceId?: string | null;
|
|
1217
|
-
title?: string;
|
|
1218
|
-
description?: string;
|
|
1219
|
-
lockResourceSelection?: boolean;
|
|
1220
|
-
onResourceChange?: (resourceId: string | null) => void;
|
|
1221
|
-
onSubmitted?: (resourceId: string, executionId: string) => void;
|
|
1222
|
-
}
|
|
1223
|
-
declare function RunWorkflowModal({ opened, onClose, list, actions, selection, initialResourceId, title, description, lockResourceSelection, onResourceChange, onSubmitted }: RunWorkflowModalProps): react_jsx_runtime.JSX.Element;
|
|
1224
|
-
|
|
1225
|
-
declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
|
|
1226
|
-
|
|
1227
|
-
declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
|
|
1228
|
-
|
|
1229
1425
|
declare const ORPHAN_STAGE_ORDER = 9999;
|
|
1230
1426
|
type BuildStepPrimaryEntity = BuildPlanSnapshotStep['primaryEntity'];
|
|
1231
1427
|
type BuildStepOutput = BuildPlanSnapshotStep['outputs'][number];
|
|
@@ -1235,6 +1431,28 @@ interface MvpBuildStepDefinition extends Omit<BuildPlanSnapshotStep, 'actionKey'
|
|
|
1235
1431
|
actionKey: LeadGenActionKey;
|
|
1236
1432
|
emptyBlockedText: string;
|
|
1237
1433
|
}
|
|
1434
|
+
/**
|
|
1435
|
+
* Tenant-injected lead-gen build configuration. Shared `@elevasis/ui` lead-gen
|
|
1436
|
+
* surfaces are tenant-model-agnostic: the consuming app derives this config from
|
|
1437
|
+
* its resolved Organization Model (via `useLeadGenConfig`) and passes it into the
|
|
1438
|
+
* pure build-state functions. All fields are optional so legacy/test call sites
|
|
1439
|
+
* keep working with tenant-agnostic empty defaults.
|
|
1440
|
+
*
|
|
1441
|
+
* - `stageCatalog` -- resolved lead-gen stage catalog (`getLeadGenStageCatalog(model)`),
|
|
1442
|
+
* drives stage ordering. Empty => orphan order.
|
|
1443
|
+
* - `exportWorkflowId` -- tenant export workflow resourceId used to detect approved
|
|
1444
|
+
* export runs for the `uploaded` stage. Omitted => id-based export detection is off
|
|
1445
|
+
* (the action-driven path still applies).
|
|
1446
|
+
* - `defaultBuildSteps` -- fallback build steps for legacy lists with no
|
|
1447
|
+
* `buildPlanSnapshot`. Omitted => no fallback steps.
|
|
1448
|
+
*/
|
|
1449
|
+
interface LeadGenBuildConfig {
|
|
1450
|
+
stageCatalog?: Record<string, LeadGenStageCatalogEntry>;
|
|
1451
|
+
exportWorkflowId?: string;
|
|
1452
|
+
defaultBuildSteps?: MvpBuildStepDefinition[];
|
|
1453
|
+
defaultBuildTemplateId?: string;
|
|
1454
|
+
buildTemplates?: ProspectingBuildTemplate[];
|
|
1455
|
+
}
|
|
1238
1456
|
interface BuildStepState extends MvpBuildStepDefinition {
|
|
1239
1457
|
status: ListBuildStepStatus;
|
|
1240
1458
|
ready: number;
|
|
@@ -1250,11 +1468,31 @@ interface BuildResolution {
|
|
|
1250
1468
|
recommendedStep: BuildStepState | null;
|
|
1251
1469
|
recommendedAction: ListBuildRecommendedAction | null;
|
|
1252
1470
|
}
|
|
1253
|
-
declare function sortStageKeys(keys: string[]): string[];
|
|
1254
|
-
declare function resolveBuildPlanSteps(list: AcqListResponse): MvpBuildStepDefinition[];
|
|
1471
|
+
declare function sortStageKeys(keys: string[], stageCatalog?: Record<string, LeadGenStageCatalogEntry>): string[];
|
|
1472
|
+
declare function resolveBuildPlanSteps(list: AcqListResponse, defaultBuildSteps?: MvpBuildStepDefinition[], buildTemplates?: ProspectingBuildTemplate[]): MvpBuildStepDefinition[];
|
|
1255
1473
|
declare function getStepActionLabel(kind: ListBuildActionKind | 'none'): "Retry failed" | "Run next batch" | "Advanced" | "No action";
|
|
1256
|
-
declare function deriveBusinessProgress(list: AcqListResponse, progress: ListProgress, actions?: ListBuilderRegistry, executions?: ListExecutionSummaryInput[]): ListProgress;
|
|
1257
|
-
declare function resolveBuildState(list: AcqListResponse, progress: ListProgress, actions: ListBuilderRegistry): BuildResolution;
|
|
1474
|
+
declare function deriveBusinessProgress(list: AcqListResponse, progress: ListProgress, actions?: ListBuilderRegistry, executions?: ListExecutionSummaryInput[], config?: LeadGenBuildConfig): ListProgress;
|
|
1475
|
+
declare function resolveBuildState(list: AcqListResponse, progress: ListProgress, actions: ListBuilderRegistry, config?: LeadGenBuildConfig): BuildResolution;
|
|
1476
|
+
|
|
1477
|
+
declare function useLeadGenConfig(): LeadGenBuildConfig;
|
|
1478
|
+
|
|
1479
|
+
declare function LeadGenOverviewPage(): react_jsx_runtime.JSX.Element;
|
|
1480
|
+
|
|
1481
|
+
declare function LeadGenListsPage(): react_jsx_runtime.JSX.Element;
|
|
1482
|
+
|
|
1483
|
+
declare function LeadGenListDetailPage({ listId }: {
|
|
1484
|
+
listId: string;
|
|
1485
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1486
|
+
|
|
1487
|
+
declare function ListBuilderIndexPage(): react_jsx_runtime.JSX.Element;
|
|
1488
|
+
|
|
1489
|
+
declare function ListBuilderPage({ listId }: {
|
|
1490
|
+
listId: string;
|
|
1491
|
+
}): react_jsx_runtime.JSX.Element;
|
|
1492
|
+
|
|
1493
|
+
declare function LeadGenCompaniesPage(): react_jsx_runtime.JSX.Element;
|
|
1494
|
+
|
|
1495
|
+
declare function LeadGenContactsPage(): react_jsx_runtime.JSX.Element;
|
|
1258
1496
|
|
|
1259
|
-
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,
|
|
1260
|
-
export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
|
|
1497
|
+
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, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, 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 };
|
|
1498
|
+
export type { AcqCompanyWithCount, AcqContactWithCompany, BuildResolution, BuildStepPrimaryEntity, BuildStepState, LeadGenActionKey, LeadGenBuildConfig, LeadGenCompanyListItem, LeadGenContactListItem, LeadGenRouteLink, LeadGenSidebarMiddleProps, LeadGenStageKey, ListActionDefinition, ListActionFormContext, ListActionSelectionMode, ListBuildActionKind, ListBuildRecommendedAction, ListBuildStepStatus, ListBuilderRegistry, ListBuilderWorkflow, ListBuilderWorkflowCategory, MvpBuildStepDefinition, StatefulItem, TransitionListCompanyInput, TransitionListMemberInput, UpdateListStatusInput, UseArtifactsParams };
|
|
@@ -1,4 +1,4 @@
|
|
|
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,
|
|
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, getListActionWorkflowId, getStateKeyColor, getStatusColor, getStepActionLabel, 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-F6EFC2MJ.js';
|
|
2
2
|
import '../../chunk-CXY7FMUM.js';
|
|
3
3
|
import '../../chunk-SIQ3P4OR.js';
|
|
4
4
|
import '../../chunk-3KMDHCAR.js';
|
|
@@ -8,7 +8,7 @@ import '../../chunk-ZTWA5H77.js';
|
|
|
8
8
|
import '../../chunk-AUDNF2Q7.js';
|
|
9
9
|
import '../../chunk-6M6OLGQY.js';
|
|
10
10
|
import '../../chunk-BRXELOHC.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-O2Q4VMRN.js';
|
|
12
12
|
import '../../chunk-LUYVRATI.js';
|
|
13
13
|
import '../../chunk-NYBEU5TE.js';
|
|
14
14
|
import '../../chunk-WLOQ4IBG.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-
|
|
1
|
+
export { ActivityFeed, ActivityLog, CostAnalytics, ErrorDetailsModal, ExecutionHealth, ExecutionLogsPage, NotificationCenter, monitoringManifest } from '../../chunk-F6EFC2MJ.js';
|
|
2
2
|
import '../../chunk-CXY7FMUM.js';
|
|
3
3
|
import '../../chunk-SIQ3P4OR.js';
|
|
4
4
|
import '../../chunk-3KMDHCAR.js';
|
|
@@ -8,7 +8,7 @@ import '../../chunk-ZTWA5H77.js';
|
|
|
8
8
|
import '../../chunk-AUDNF2Q7.js';
|
|
9
9
|
import '../../chunk-6M6OLGQY.js';
|
|
10
10
|
import '../../chunk-BRXELOHC.js';
|
|
11
|
-
import '../../chunk-
|
|
11
|
+
import '../../chunk-O2Q4VMRN.js';
|
|
12
12
|
import '../../chunk-LUYVRATI.js';
|
|
13
13
|
import '../../chunk-NYBEU5TE.js';
|
|
14
14
|
import '../../chunk-WLOQ4IBG.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ConfirmationModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, FilterBar, TableSelectionToolbar, CustomModal, useRequest } from '../../../chunk-
|
|
1
|
+
import { ConfirmationModal, usePaginationState, useRequestsList, useUpdateRequestStatus, useDeleteRequest, useTableSelection, FilterBar, TableSelectionToolbar, CustomModal, useRequest } from '../../../chunk-F6EFC2MJ.js';
|
|
2
2
|
import '../../../chunk-CXY7FMUM.js';
|
|
3
3
|
import { PageTitleCaption, CardHeader, ContextViewer, JsonViewer } from '../../../chunk-SIQ3P4OR.js';
|
|
4
4
|
import '../../../chunk-3KMDHCAR.js';
|
|
@@ -8,7 +8,7 @@ import '../../../chunk-ZTWA5H77.js';
|
|
|
8
8
|
import '../../../chunk-AUDNF2Q7.js';
|
|
9
9
|
import '../../../chunk-6M6OLGQY.js';
|
|
10
10
|
import '../../../chunk-BRXELOHC.js';
|
|
11
|
-
import '../../../chunk-
|
|
11
|
+
import '../../../chunk-O2Q4VMRN.js';
|
|
12
12
|
import '../../../chunk-LUYVRATI.js';
|
|
13
13
|
import '../../../chunk-NYBEU5TE.js';
|
|
14
14
|
import '../../../chunk-WLOQ4IBG.js';
|