@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
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIClientError } from './chunk-
|
|
1
|
+
import { APIClientError } from './chunk-XQHZBA65.js';
|
|
2
2
|
import { OrganizationContext } from './chunk-DD3CCMCZ.js';
|
|
3
3
|
import { createContext, useContext, useMemo, useCallback } from 'react';
|
|
4
4
|
import { jsx } from 'react/jsx-runtime';
|
|
@@ -1,20 +1,49 @@
|
|
|
1
|
-
import { DisplayMetadataSchema, ModelIdSchema, DescriptionSchema, LEAD_GEN_STAGE_CATALOG } from './chunk-
|
|
1
|
+
import { DisplayMetadataSchema, ModelIdSchema, DescriptionSchema, LEAD_GEN_STAGE_CATALOG } from './chunk-CQZ3DNQY.js';
|
|
2
2
|
import { z } from 'zod';
|
|
3
3
|
|
|
4
4
|
var ProspectingLifecycleStageSchema = DisplayMetadataSchema.extend({
|
|
5
5
|
id: ModelIdSchema,
|
|
6
|
-
order: z.number().
|
|
6
|
+
order: z.number().min(0)
|
|
7
|
+
});
|
|
8
|
+
var RecordColumnConfigSchema = z.object({
|
|
9
|
+
key: ModelIdSchema,
|
|
10
|
+
label: z.string().trim().min(1).max(120),
|
|
11
|
+
path: z.string().trim().min(1).max(500),
|
|
12
|
+
width: z.union([z.number().positive(), z.string().trim().min(1).max(100)]).optional(),
|
|
13
|
+
renderType: z.enum(["text", "badge", "datetime", "count", "json"]).optional(),
|
|
14
|
+
badgeColor: z.string().trim().min(1).max(40).optional()
|
|
15
|
+
});
|
|
16
|
+
var RecordColumnsConfigSchema = z.object({
|
|
17
|
+
company: z.array(RecordColumnConfigSchema).optional(),
|
|
18
|
+
contact: z.array(RecordColumnConfigSchema).optional()
|
|
19
|
+
}).refine((columns) => Boolean(columns.company?.length || columns.contact?.length), {
|
|
20
|
+
message: "recordColumns must include at least one entity column set"
|
|
21
|
+
});
|
|
22
|
+
var CredentialRequirementSchema = z.object({
|
|
23
|
+
key: ModelIdSchema,
|
|
24
|
+
provider: ModelIdSchema,
|
|
25
|
+
credentialType: z.enum(["api-key", "api-key-secret", "oauth", "webhook-secret"]),
|
|
26
|
+
label: z.string().trim().min(1).max(120),
|
|
27
|
+
required: z.boolean(),
|
|
28
|
+
selectionMode: z.enum(["single", "multiple"]).optional(),
|
|
29
|
+
inputPath: z.string().trim().min(1).max(500),
|
|
30
|
+
verifyOnRun: z.boolean().optional()
|
|
7
31
|
});
|
|
8
32
|
var ProspectingBuildTemplateStepSchema = DisplayMetadataSchema.extend({
|
|
9
33
|
id: ModelIdSchema,
|
|
10
34
|
primaryEntity: z.enum(["company", "contact"]),
|
|
11
35
|
outputs: z.array(z.enum(["company", "contact", "export"])).min(1),
|
|
12
36
|
stageKey: ModelIdSchema,
|
|
37
|
+
recordEntity: z.enum(["company", "contact"]).optional(),
|
|
38
|
+
recordsStageKey: ModelIdSchema.optional(),
|
|
39
|
+
recordSourceStageKey: ModelIdSchema.optional(),
|
|
13
40
|
dependsOn: z.array(ModelIdSchema).optional(),
|
|
14
41
|
dependencyMode: z.literal("per-record-eligibility"),
|
|
15
42
|
capabilityKey: ModelIdSchema,
|
|
16
43
|
defaultBatchSize: z.number().int().positive(),
|
|
17
|
-
maxBatchSize: z.number().int().positive()
|
|
44
|
+
maxBatchSize: z.number().int().positive(),
|
|
45
|
+
recordColumns: RecordColumnsConfigSchema.optional(),
|
|
46
|
+
credentialRequirements: z.array(CredentialRequirementSchema).optional()
|
|
18
47
|
}).refine((step) => step.defaultBatchSize <= step.maxBatchSize, {
|
|
19
48
|
message: "defaultBatchSize must be less than or equal to maxBatchSize",
|
|
20
49
|
path: ["defaultBatchSize"]
|
|
@@ -23,6 +52,62 @@ var ProspectingBuildTemplateSchema = DisplayMetadataSchema.extend({
|
|
|
23
52
|
id: ModelIdSchema,
|
|
24
53
|
steps: z.array(ProspectingBuildTemplateStepSchema).min(1)
|
|
25
54
|
});
|
|
55
|
+
var DTC_RECORD_COLUMNS = {
|
|
56
|
+
populated: {
|
|
57
|
+
company: [
|
|
58
|
+
{ key: "name", label: "Company", path: "company.name" },
|
|
59
|
+
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
60
|
+
{ key: "employee-count", label: "Employees", path: "company.numEmployees", renderType: "count" },
|
|
61
|
+
{ key: "apollo-industry", label: "Apollo industry", path: "company.category" },
|
|
62
|
+
{ key: "location", label: "Location", path: "company.locationState" }
|
|
63
|
+
]
|
|
64
|
+
},
|
|
65
|
+
crawled: {
|
|
66
|
+
company: [
|
|
67
|
+
{ key: "name", label: "Company", path: "company.name" },
|
|
68
|
+
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
69
|
+
{ key: "page-count", label: "Pages", path: "company.enrichmentData.websiteCrawl.pageCount", renderType: "count" },
|
|
70
|
+
{ key: "crawl-status", label: "Crawl status", path: "processingState.crawled.status", renderType: "badge" }
|
|
71
|
+
]
|
|
72
|
+
},
|
|
73
|
+
extracted: {
|
|
74
|
+
company: [
|
|
75
|
+
{ key: "name", label: "Company", path: "company.name" },
|
|
76
|
+
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
77
|
+
{ key: "description", label: "Description", path: "company.enrichmentData.websiteCrawl.companyDescription" },
|
|
78
|
+
{ key: "services", label: "Services", path: "company.enrichmentData.websiteCrawl.services", renderType: "json" },
|
|
79
|
+
{ key: "automation-gaps", label: "Automation gaps", path: "company.enrichmentData.websiteCrawl.automationGaps", renderType: "json" },
|
|
80
|
+
{ key: "contact-count", label: "Contacts", path: "company.enrichmentData.websiteCrawl.emailCount", renderType: "count" }
|
|
81
|
+
]
|
|
82
|
+
},
|
|
83
|
+
qualified: {
|
|
84
|
+
company: [
|
|
85
|
+
{ key: "name", label: "Company", path: "company.name" },
|
|
86
|
+
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
87
|
+
{ key: "score", label: "Score", path: "company.qualificationScore", renderType: "badge", badgeColor: "green" },
|
|
88
|
+
{ key: "signals", label: "Signals", path: "company.qualificationSignals", renderType: "json" },
|
|
89
|
+
{ key: "disqualified-reason", label: "Disqualified reason", path: "processingState.qualified.data.disqualifiedReason" }
|
|
90
|
+
]
|
|
91
|
+
},
|
|
92
|
+
decisionMakers: {
|
|
93
|
+
contact: [
|
|
94
|
+
{ key: "name", label: "Name", path: "contact.name" },
|
|
95
|
+
{ key: "title", label: "Title", path: "contact.title" },
|
|
96
|
+
{ key: "email", label: "Email", path: "contact.email" },
|
|
97
|
+
{ key: "linkedin", label: "LinkedIn", path: "contact.linkedinUrl" },
|
|
98
|
+
{ key: "priority-score", label: "Priority", path: "contact.enrichmentData.apollo.priorityScore", renderType: "badge" }
|
|
99
|
+
]
|
|
100
|
+
},
|
|
101
|
+
uploaded: {
|
|
102
|
+
company: [
|
|
103
|
+
{ key: "name", label: "Company", path: "company.name" },
|
|
104
|
+
{ key: "domain", label: "Domain", path: "company.domain" },
|
|
105
|
+
{ key: "contacts", label: "Contacts", path: "company.enrichmentData.approvedLeadListExport.contacts", renderType: "json" },
|
|
106
|
+
{ key: "score", label: "Score", path: "company.qualificationScore", renderType: "badge", badgeColor: "green" },
|
|
107
|
+
{ key: "approval", label: "Approval", path: "company.enrichmentData.approvedLeadListExport.approvalStatus", renderType: "badge" }
|
|
108
|
+
]
|
|
109
|
+
}
|
|
110
|
+
};
|
|
26
111
|
z.object({
|
|
27
112
|
id: ModelIdSchema,
|
|
28
113
|
label: z.string(),
|
|
@@ -54,6 +139,12 @@ var CAPABILITY_REGISTRY = [
|
|
|
54
139
|
description: "Check email deliverability before outreach.",
|
|
55
140
|
resourceId: "lgn-05-email-verification-workflow"
|
|
56
141
|
},
|
|
142
|
+
{
|
|
143
|
+
id: "lead-gen.company.apify-crawl",
|
|
144
|
+
label: "Crawl websites",
|
|
145
|
+
description: "Crawl company websites via Apify and store raw page markdown in enrichmentData.websiteCrawl.pages for downstream LLM analysis.",
|
|
146
|
+
resourceId: "lgn-02a-apify-website-crawl-workflow"
|
|
147
|
+
},
|
|
57
148
|
{
|
|
58
149
|
id: "lead-gen.company.website-extract",
|
|
59
150
|
label: "Extract website signals",
|
|
@@ -200,7 +291,45 @@ var PROSPECTING_STEPS = {
|
|
|
200
291
|
dependencyMode: "per-record-eligibility",
|
|
201
292
|
capabilityKey: "lead-gen.company.apollo-import",
|
|
202
293
|
defaultBatchSize: 250,
|
|
203
|
-
maxBatchSize: 1e3
|
|
294
|
+
maxBatchSize: 1e3,
|
|
295
|
+
recordColumns: DTC_RECORD_COLUMNS.populated,
|
|
296
|
+
credentialRequirements: [
|
|
297
|
+
{
|
|
298
|
+
key: "apollo",
|
|
299
|
+
provider: "apollo",
|
|
300
|
+
credentialType: "api-key-secret",
|
|
301
|
+
label: "Apollo API key",
|
|
302
|
+
required: true,
|
|
303
|
+
selectionMode: "single",
|
|
304
|
+
inputPath: "credential"
|
|
305
|
+
}
|
|
306
|
+
]
|
|
307
|
+
},
|
|
308
|
+
apifyCrawl: {
|
|
309
|
+
id: "apify-crawl",
|
|
310
|
+
label: "Websites crawled",
|
|
311
|
+
description: "Crawl company websites via Apify and store raw page markdown in enrichmentData.websiteCrawl.pages for downstream LLM analysis. Overwrites the synthetic seed Apollo Import wrote with real page content.",
|
|
312
|
+
primaryEntity: "company",
|
|
313
|
+
outputs: ["company"],
|
|
314
|
+
stageKey: "crawled",
|
|
315
|
+
dependsOn: ["import-apollo-search"],
|
|
316
|
+
dependencyMode: "per-record-eligibility",
|
|
317
|
+
capabilityKey: "lead-gen.company.apify-crawl",
|
|
318
|
+
defaultBatchSize: 50,
|
|
319
|
+
maxBatchSize: 100,
|
|
320
|
+
recordColumns: DTC_RECORD_COLUMNS.crawled,
|
|
321
|
+
credentialRequirements: [
|
|
322
|
+
{
|
|
323
|
+
key: "apify",
|
|
324
|
+
provider: "apify",
|
|
325
|
+
credentialType: "api-key-secret",
|
|
326
|
+
label: "Apify API token",
|
|
327
|
+
required: true,
|
|
328
|
+
selectionMode: "single",
|
|
329
|
+
inputPath: "credential",
|
|
330
|
+
verifyOnRun: true
|
|
331
|
+
}
|
|
332
|
+
]
|
|
204
333
|
},
|
|
205
334
|
analyzeWebsites: {
|
|
206
335
|
id: "analyze-websites",
|
|
@@ -209,11 +338,12 @@ var PROSPECTING_STEPS = {
|
|
|
209
338
|
primaryEntity: "company",
|
|
210
339
|
outputs: ["company"],
|
|
211
340
|
stageKey: "extracted",
|
|
212
|
-
dependsOn: ["
|
|
341
|
+
dependsOn: ["apify-crawl"],
|
|
213
342
|
dependencyMode: "per-record-eligibility",
|
|
214
343
|
capabilityKey: "lead-gen.company.website-extract",
|
|
215
344
|
defaultBatchSize: 50,
|
|
216
|
-
maxBatchSize: 100
|
|
345
|
+
maxBatchSize: 100,
|
|
346
|
+
recordColumns: DTC_RECORD_COLUMNS.extracted
|
|
217
347
|
},
|
|
218
348
|
scoreDtcFit: {
|
|
219
349
|
id: "score-dtc-fit",
|
|
@@ -226,7 +356,8 @@ var PROSPECTING_STEPS = {
|
|
|
226
356
|
dependencyMode: "per-record-eligibility",
|
|
227
357
|
capabilityKey: "lead-gen.company.dtc-subscription-qualify",
|
|
228
358
|
defaultBatchSize: 100,
|
|
229
|
-
maxBatchSize: 250
|
|
359
|
+
maxBatchSize: 250,
|
|
360
|
+
recordColumns: DTC_RECORD_COLUMNS.qualified
|
|
230
361
|
},
|
|
231
362
|
enrichDecisionMakers: {
|
|
232
363
|
id: "enrich-decision-makers",
|
|
@@ -235,37 +366,52 @@ var PROSPECTING_STEPS = {
|
|
|
235
366
|
primaryEntity: "company",
|
|
236
367
|
outputs: ["contact"],
|
|
237
368
|
stageKey: "decision-makers-enriched",
|
|
369
|
+
recordEntity: "contact",
|
|
238
370
|
dependsOn: ["score-dtc-fit"],
|
|
239
371
|
dependencyMode: "per-record-eligibility",
|
|
240
372
|
capabilityKey: "lead-gen.contact.apollo-decision-maker-enrich",
|
|
241
373
|
defaultBatchSize: 100,
|
|
242
|
-
maxBatchSize: 250
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
maxBatchSize: 500
|
|
374
|
+
maxBatchSize: 250,
|
|
375
|
+
recordColumns: DTC_RECORD_COLUMNS.decisionMakers,
|
|
376
|
+
credentialRequirements: [
|
|
377
|
+
{
|
|
378
|
+
key: "apollo",
|
|
379
|
+
provider: "apollo",
|
|
380
|
+
credentialType: "api-key-secret",
|
|
381
|
+
label: "Apollo API key",
|
|
382
|
+
required: true,
|
|
383
|
+
selectionMode: "single",
|
|
384
|
+
inputPath: "credential"
|
|
385
|
+
}
|
|
386
|
+
]
|
|
256
387
|
},
|
|
257
388
|
reviewAndExport: {
|
|
258
389
|
id: "review-and-export",
|
|
259
390
|
label: "Reviewed and exported",
|
|
260
|
-
description: "Operator QC approves or rejects
|
|
391
|
+
description: "Operator QC approves or rejects qualified companies, then approved records are exported as a lead list with unverified emails.",
|
|
261
392
|
primaryEntity: "company",
|
|
262
393
|
outputs: ["export"],
|
|
263
394
|
stageKey: "uploaded",
|
|
264
|
-
|
|
395
|
+
recordsStageKey: "uploaded",
|
|
396
|
+
recordSourceStageKey: "qualified",
|
|
397
|
+
dependsOn: ["enrich-decision-makers"],
|
|
265
398
|
dependencyMode: "per-record-eligibility",
|
|
266
399
|
capabilityKey: "lead-gen.export.list",
|
|
267
400
|
defaultBatchSize: 100,
|
|
268
|
-
maxBatchSize: 250
|
|
401
|
+
maxBatchSize: 250,
|
|
402
|
+
recordColumns: DTC_RECORD_COLUMNS.uploaded,
|
|
403
|
+
credentialRequirements: [
|
|
404
|
+
{
|
|
405
|
+
key: "clickup",
|
|
406
|
+
provider: "clickup",
|
|
407
|
+
credentialType: "api-key-secret",
|
|
408
|
+
label: "ClickUp API token",
|
|
409
|
+
required: true,
|
|
410
|
+
selectionMode: "single",
|
|
411
|
+
inputPath: "clickupCredential",
|
|
412
|
+
verifyOnRun: true
|
|
413
|
+
}
|
|
414
|
+
]
|
|
269
415
|
}
|
|
270
416
|
}
|
|
271
417
|
};
|
|
@@ -287,7 +433,7 @@ function toProspectingLifecycleStage(stage) {
|
|
|
287
433
|
};
|
|
288
434
|
}
|
|
289
435
|
function leadGenStagesForEntity(entity) {
|
|
290
|
-
return Object.values(LEAD_GEN_STAGE_CATALOG).filter((stage) => stage.entity === entity).sort((a, b) => a.order - b.order).map(toProspectingLifecycleStage);
|
|
436
|
+
return Object.values(LEAD_GEN_STAGE_CATALOG).filter((stage) => stage.entity === entity || stage.additionalEntities?.includes(entity)).sort((a, b) => a.order - b.order).map(toProspectingLifecycleStage);
|
|
291
437
|
}
|
|
292
438
|
var DEFAULT_ORGANIZATION_MODEL_PROSPECTING = {
|
|
293
439
|
listEntityId: "leadgen.list",
|
|
@@ -317,10 +463,10 @@ var DEFAULT_ORGANIZATION_MODEL_PROSPECTING = {
|
|
|
317
463
|
description: "Prospecting pipeline for DTC subscription or subscription-ready brands where Apollo is the source and contact-enrichment layer, Elevasis handles company research and fit scoring, and approved leads export as an approved lead list.",
|
|
318
464
|
steps: [
|
|
319
465
|
PROSPECTING_STEPS.dtcApolloClickup.importApolloSearch,
|
|
466
|
+
PROSPECTING_STEPS.dtcApolloClickup.apifyCrawl,
|
|
320
467
|
PROSPECTING_STEPS.dtcApolloClickup.analyzeWebsites,
|
|
321
468
|
PROSPECTING_STEPS.dtcApolloClickup.scoreDtcFit,
|
|
322
469
|
PROSPECTING_STEPS.dtcApolloClickup.enrichDecisionMakers,
|
|
323
|
-
PROSPECTING_STEPS.dtcApolloClickup.verifyEmails,
|
|
324
470
|
PROSPECTING_STEPS.dtcApolloClickup.reviewAndExport
|
|
325
471
|
]
|
|
326
472
|
}
|
|
@@ -25,11 +25,11 @@ function detectLayout(viteRoot) {
|
|
|
25
25
|
return {
|
|
26
26
|
mode: "monorepo",
|
|
27
27
|
projectRoot,
|
|
28
|
-
omSourcePath: resolve(projectRoot, "packages/elevasis-core/src/organization-model.ts"),
|
|
28
|
+
omSourcePath: resolve(projectRoot, "packages/elevasis-core/src/organization-model/index.ts"),
|
|
29
29
|
// monorepo mode does not consume mdxNodesDir; field kept for type uniformity
|
|
30
30
|
mdxNodesDir: resolve(projectRoot, "packages/elevasis-core/knowledge-nodes-unused"),
|
|
31
31
|
generatedDir: resolve(projectRoot, "packages/ui/src/knowledge/_generated"),
|
|
32
|
-
watchPaths: [resolve(projectRoot, "packages/elevasis-core/src/organization-model
|
|
32
|
+
watchPaths: [resolve(projectRoot, "packages/elevasis-core/src/organization-model")]
|
|
33
33
|
};
|
|
34
34
|
}
|
|
35
35
|
const parent = resolve(dir, "..");
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { useInitialization } from './chunk-
|
|
1
|
+
import { useInitialization } from './chunk-533DUEQY.js';
|
|
2
2
|
import { useAuthContext } from './chunk-BRJ3QZ4E.js';
|
|
3
3
|
import { useRef, useCallback, useEffect } from 'react';
|
|
4
4
|
import { useQueryClient } from '@tanstack/react-query';
|
|
@@ -1,28 +1,8 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
|
|
1
|
+
import { CustomModal } from './chunk-R66W5UDG.js';
|
|
3
2
|
import { cloneElement } from 'react';
|
|
3
|
+
import { Center, Space, Text, Button, Title, TextInput } from '@mantine/core';
|
|
4
|
+
import { jsxs, jsx, Fragment } from 'react/jsx-runtime';
|
|
4
5
|
|
|
5
|
-
// src/components/modal/CustomModal.tsx
|
|
6
|
-
var FULL_SIZE = "80%";
|
|
7
|
-
var CustomModal = ({ children, opened, onClose, loading, style, size }) => {
|
|
8
|
-
const canClose = loading === true ? false : true;
|
|
9
|
-
const resolvedSize = size === "full" ? FULL_SIZE : size;
|
|
10
|
-
return /* @__PURE__ */ jsx(
|
|
11
|
-
Modal,
|
|
12
|
-
{
|
|
13
|
-
opened,
|
|
14
|
-
onClose,
|
|
15
|
-
padding: "xs",
|
|
16
|
-
withCloseButton: false,
|
|
17
|
-
closeOnClickOutside: canClose,
|
|
18
|
-
closeOnEscape: canClose,
|
|
19
|
-
centered: true,
|
|
20
|
-
style,
|
|
21
|
-
size: resolvedSize,
|
|
22
|
-
children
|
|
23
|
-
}
|
|
24
|
-
);
|
|
25
|
-
};
|
|
26
6
|
var ConfirmationModal = ({
|
|
27
7
|
opened,
|
|
28
8
|
onClose,
|
|
@@ -104,4 +84,4 @@ var ConfirmationInputModal = ({
|
|
|
104
84
|
] });
|
|
105
85
|
};
|
|
106
86
|
|
|
107
|
-
export { ConfirmationInputModal, ConfirmationModal
|
|
87
|
+
export { ConfirmationInputModal, ConfirmationModal };
|