@leadpoet/client 0.1.3 → 0.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/README.md +59 -35
  2. package/cli.js +47 -2
  3. package/cli.js.map +2 -2
  4. package/client.js +47 -2
  5. package/client.js.map +2 -2
  6. package/mcp.js +3969 -71
  7. package/mcp.js.map +4 -4
  8. package/package.json +13 -2
  9. package/skill/SKILL.md +83 -9
  10. package/types/scripts/leadpoet-mcp.d.ts +1 -7
  11. package/types/shared/account-monitoring.d.ts +1169 -0
  12. package/types/shared/assistant-brief.d.ts +1681 -0
  13. package/types/shared/assistant-memories.d.ts +62 -0
  14. package/types/shared/assistant-send-forecast.d.ts +442 -0
  15. package/types/shared/assistant.d.ts +238 -0
  16. package/types/shared/employee-count.d.ts +90 -0
  17. package/types/shared/gtm-context.d.ts +233 -0
  18. package/types/shared/icp-product-selection.d.ts +27 -0
  19. package/types/shared/icp-profile.d.ts +2625 -0
  20. package/types/shared/industry-taxonomy.d.ts +1 -0
  21. package/types/shared/lead-request-limits.d.ts +4 -0
  22. package/types/shared/leadpoet-client.d.ts +1315 -0
  23. package/types/shared/leadpoet-mcp-server.d.ts +39 -0
  24. package/types/shared/mcp-connect.d.ts +22 -0
  25. package/types/shared/monitor-technologies.d.ts +38 -0
  26. package/types/shared/outreach-analytics.d.ts +334 -0
  27. package/types/shared/outreach-audience-filters.d.ts +156 -0
  28. package/types/shared/outreach-audience-segments.d.ts +135 -0
  29. package/types/shared/outreach-enums.d.ts +22 -0
  30. package/types/shared/outreach-v2-contract.d.ts +253 -0
  31. package/types/shared/plan-entitlements.d.ts +75 -0
  32. package/types/shared/plan-features.d.ts +50 -0
  33. package/types/shared/request-credit-constants.d.ts +13 -0
  34. package/types/shared/website-fact-language.d.ts +9 -0
  35. package/types/shared/workspace-operations.d.ts +1975 -29
  36. package/types/shared/workspace-tool-metadata.d.ts +1083 -0
@@ -0,0 +1,2625 @@
1
+ import { z } from "zod";
2
+ export declare const ICP_PROFILE_SCHEMA_VERSION = 1;
3
+ export declare const icpProfileFieldStateSchema: z.ZodEnum<["suggested", "confirmed", "rejected", "unsupported", "user_asserted"]>;
4
+ export declare const icpProfileSourceSchema: z.ZodObject<{
5
+ type: z.ZodEnum<["website_scan", "user", "request", "import", "workspace_profile"]>;
6
+ reference_id: z.ZodOptional<z.ZodString>;
7
+ url: z.ZodOptional<z.ZodString>;
8
+ observed_at: z.ZodOptional<z.ZodString>;
9
+ }, "strict", z.ZodTypeAny, {
10
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
11
+ url?: string | undefined;
12
+ reference_id?: string | undefined;
13
+ observed_at?: string | undefined;
14
+ }, {
15
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
16
+ url?: string | undefined;
17
+ reference_id?: string | undefined;
18
+ observed_at?: string | undefined;
19
+ }>;
20
+ export declare const icpProfileSuggestionSchema: z.ZodObject<{
21
+ path: z.ZodString;
22
+ value: z.ZodUnknown;
23
+ state: z.ZodEnum<["suggested", "confirmed", "rejected", "unsupported", "user_asserted"]>;
24
+ sources: z.ZodArray<z.ZodObject<{
25
+ type: z.ZodEnum<["website_scan", "user", "request", "import", "workspace_profile"]>;
26
+ reference_id: z.ZodOptional<z.ZodString>;
27
+ url: z.ZodOptional<z.ZodString>;
28
+ observed_at: z.ZodOptional<z.ZodString>;
29
+ }, "strict", z.ZodTypeAny, {
30
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
31
+ url?: string | undefined;
32
+ reference_id?: string | undefined;
33
+ observed_at?: string | undefined;
34
+ }, {
35
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
36
+ url?: string | undefined;
37
+ reference_id?: string | undefined;
38
+ observed_at?: string | undefined;
39
+ }>, "many">;
40
+ }, "strict", z.ZodTypeAny, {
41
+ state: "confirmed" | "unsupported" | "suggested" | "rejected" | "user_asserted";
42
+ path: string;
43
+ sources: {
44
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
45
+ url?: string | undefined;
46
+ reference_id?: string | undefined;
47
+ observed_at?: string | undefined;
48
+ }[];
49
+ value?: unknown;
50
+ }, {
51
+ state: "confirmed" | "unsupported" | "suggested" | "rejected" | "user_asserted";
52
+ path: string;
53
+ sources: {
54
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
55
+ url?: string | undefined;
56
+ reference_id?: string | undefined;
57
+ observed_at?: string | undefined;
58
+ }[];
59
+ value?: unknown;
60
+ }>;
61
+ export declare const audienceLocationSelectionSchema: z.ZodObject<{
62
+ countries: z.ZodArray<z.ZodString, "many">;
63
+ states: z.ZodArray<z.ZodString, "many">;
64
+ cities: z.ZodArray<z.ZodString, "many">;
65
+ }, "strict", z.ZodTypeAny, {
66
+ countries: string[];
67
+ states: string[];
68
+ cities: string[];
69
+ }, {
70
+ countries: string[];
71
+ states: string[];
72
+ cities: string[];
73
+ }>;
74
+ export type AudienceLocationSelection = z.infer<typeof audienceLocationSelectionSchema>;
75
+ export declare const icpProfileMessageStyleSchema: z.ZodObject<{
76
+ formality: z.ZodOptional<z.ZodEnum<["formal", "balanced", "conversational"]>>;
77
+ approach: z.ZodOptional<z.ZodEnum<["direct", "balanced", "consultative"]>>;
78
+ detail: z.ZodOptional<z.ZodEnum<["short", "balanced", "explanatory"]>>;
79
+ technical_language: z.ZodOptional<z.ZodEnum<["avoid", "allow", "prefer"]>>;
80
+ warmth: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
81
+ confidence: z.ZodOptional<z.ZodEnum<["restrained", "balanced", "assertive"]>>;
82
+ punctuation: z.ZodOptional<z.ZodEnum<["restrained", "standard", "expressive"]>>;
83
+ formatting: z.ZodOptional<z.ZodEnum<["plain_text", "short_paragraphs", "bullets"]>>;
84
+ email_subject_style: z.ZodOptional<z.ZodEnum<["plain", "topic", "question", "name_drop"]>>;
85
+ locale: z.ZodOptional<z.ZodString>;
86
+ language: z.ZodOptional<z.ZodString>;
87
+ preferred_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
88
+ prohibited_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
89
+ positive_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
90
+ negative_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
91
+ }, "strict", z.ZodTypeAny, {
92
+ preferred_phrases: string[];
93
+ prohibited_phrases: string[];
94
+ positive_examples: string[];
95
+ negative_examples: string[];
96
+ detail?: "short" | "balanced" | "explanatory" | undefined;
97
+ formality?: "formal" | "balanced" | "conversational" | undefined;
98
+ approach?: "direct" | "balanced" | "consultative" | undefined;
99
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
100
+ warmth?: "low" | "high" | "medium" | undefined;
101
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
102
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
103
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
104
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
105
+ locale?: string | undefined;
106
+ language?: string | undefined;
107
+ }, {
108
+ detail?: "short" | "balanced" | "explanatory" | undefined;
109
+ formality?: "formal" | "balanced" | "conversational" | undefined;
110
+ approach?: "direct" | "balanced" | "consultative" | undefined;
111
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
112
+ warmth?: "low" | "high" | "medium" | undefined;
113
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
114
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
115
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
116
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
117
+ locale?: string | undefined;
118
+ language?: string | undefined;
119
+ preferred_phrases?: string[] | undefined;
120
+ prohibited_phrases?: string[] | undefined;
121
+ positive_examples?: string[] | undefined;
122
+ negative_examples?: string[] | undefined;
123
+ }>;
124
+ /**
125
+ * A sentence from the seller's own website, reviewed with the Product. Follow-ups
126
+ * may state it. The bounds match the campaign's frozen follow-up fact.
127
+ */
128
+ export declare const productFactSchema: z.ZodObject<{
129
+ text: z.ZodEffects<z.ZodString, string, string>;
130
+ source_url: z.ZodEffects<z.ZodString, string, string>;
131
+ }, "strict", z.ZodTypeAny, {
132
+ text: string;
133
+ source_url: string;
134
+ }, {
135
+ text: string;
136
+ source_url: string;
137
+ }>;
138
+ export type ProductFact = z.infer<typeof productFactSchema>;
139
+ /**
140
+ * The seller's own approved reply to one saved objection, matched to it by
141
+ * objectionKey. An answer whose objection is no longer saved is kept and
142
+ * ignored. Drafts may restate an answer but add no new claim to it.
143
+ */
144
+ export declare const OBJECTION_ANSWER_MAX_CHARACTERS = 1000;
145
+ export declare const MAX_OBJECTIONS = 20;
146
+ export declare const objectionAnswerSchema: z.ZodObject<{
147
+ objection: z.ZodString;
148
+ answer: z.ZodString;
149
+ }, "strict", z.ZodTypeAny, {
150
+ objection: string;
151
+ answer: string;
152
+ }, {
153
+ objection: string;
154
+ answer: string;
155
+ }>;
156
+ export type ObjectionAnswer = z.infer<typeof objectionAnswerSchema>;
157
+ /** How objections are matched: case, spacing and line breaks don't count. */
158
+ export declare const objectionKey: (text: string) => string;
159
+ export declare const objectionAnswersSchema: z.ZodEffects<z.ZodArray<z.ZodObject<{
160
+ objection: z.ZodString;
161
+ answer: z.ZodString;
162
+ }, "strict", z.ZodTypeAny, {
163
+ objection: string;
164
+ answer: string;
165
+ }, {
166
+ objection: string;
167
+ answer: string;
168
+ }>, "many">, {
169
+ objection: string;
170
+ answer: string;
171
+ }[], {
172
+ objection: string;
173
+ answer: string;
174
+ }[]>;
175
+ /** Each saved objection with its saved answer, or null when none is saved. */
176
+ export declare function pairObjectionAnswers(objections: readonly string[] | null | undefined, answers: readonly ObjectionAnswer[] | null | undefined): {
177
+ objection: string;
178
+ answer: string | null;
179
+ }[];
180
+ /**
181
+ * What a reader gets for replying, in the seller's own words: "three accounts
182
+ * that fit, each with its buying signal". It is a promise the seller keeps, so
183
+ * only the seller writes it; drafts may restate it but add nothing to it.
184
+ */
185
+ export declare const REPLY_OFFER_MIN_CHARACTERS = 10;
186
+ export declare const REPLY_OFFER_MAX_CHARACTERS = 200;
187
+ export declare const replyOfferSchema: z.ZodEffects<z.ZodString, string, string>;
188
+ export declare const icpProfileDefinitionSchema: z.ZodObject<{
189
+ schema_version: z.ZodLiteral<1>;
190
+ product_context: z.ZodObject<{
191
+ name: z.ZodOptional<z.ZodString>;
192
+ summary: z.ZodOptional<z.ZodString>;
193
+ website_url: z.ZodOptional<z.ZodString>;
194
+ facts: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
195
+ text: z.ZodEffects<z.ZodString, string, string>;
196
+ source_url: z.ZodEffects<z.ZodString, string, string>;
197
+ }, "strict", z.ZodTypeAny, {
198
+ text: string;
199
+ source_url: string;
200
+ }, {
201
+ text: string;
202
+ source_url: string;
203
+ }>, "many">, {
204
+ text: string;
205
+ source_url: string;
206
+ }[], {
207
+ text: string;
208
+ source_url: string;
209
+ }[]>>;
210
+ reply_offer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
211
+ }, "strict", z.ZodTypeAny, {
212
+ name?: string | undefined;
213
+ facts?: {
214
+ text: string;
215
+ source_url: string;
216
+ }[] | undefined;
217
+ summary?: string | undefined;
218
+ website_url?: string | undefined;
219
+ reply_offer?: string | undefined;
220
+ }, {
221
+ name?: string | undefined;
222
+ facts?: {
223
+ text: string;
224
+ source_url: string;
225
+ }[] | undefined;
226
+ summary?: string | undefined;
227
+ website_url?: string | undefined;
228
+ reply_offer?: string | undefined;
229
+ }>;
230
+ company_fit: z.ZodObject<{
231
+ description: z.ZodOptional<z.ZodString>;
232
+ location_selection: z.ZodOptional<z.ZodObject<{
233
+ countries: z.ZodArray<z.ZodString, "many">;
234
+ states: z.ZodArray<z.ZodString, "many">;
235
+ cities: z.ZodArray<z.ZodString, "many">;
236
+ }, "strict", z.ZodTypeAny, {
237
+ countries: string[];
238
+ states: string[];
239
+ cities: string[];
240
+ }, {
241
+ countries: string[];
242
+ states: string[];
243
+ cities: string[];
244
+ }>>;
245
+ required: z.ZodArray<z.ZodString, "many">;
246
+ preferred: z.ZodArray<z.ZodString, "many">;
247
+ excluded: z.ZodArray<z.ZodString, "many">;
248
+ geographies: z.ZodArray<z.ZodString, "many">;
249
+ industries: z.ZodArray<z.ZodString, "many">;
250
+ company_sizes: z.ZodArray<z.ZodString, "many">;
251
+ attributes: z.ZodArray<z.ZodString, "many">;
252
+ }, "strict", z.ZodTypeAny, {
253
+ required: string[];
254
+ industries: string[];
255
+ company_sizes: string[];
256
+ preferred: string[];
257
+ excluded: string[];
258
+ geographies: string[];
259
+ attributes: string[];
260
+ description?: string | undefined;
261
+ location_selection?: {
262
+ countries: string[];
263
+ states: string[];
264
+ cities: string[];
265
+ } | undefined;
266
+ }, {
267
+ required: string[];
268
+ industries: string[];
269
+ company_sizes: string[];
270
+ preferred: string[];
271
+ excluded: string[];
272
+ geographies: string[];
273
+ attributes: string[];
274
+ description?: string | undefined;
275
+ location_selection?: {
276
+ countries: string[];
277
+ states: string[];
278
+ cities: string[];
279
+ } | undefined;
280
+ }>;
281
+ buyer_groups: z.ZodArray<z.ZodObject<{
282
+ role: z.ZodString;
283
+ functions: z.ZodArray<z.ZodString, "many">;
284
+ seniorities: z.ZodArray<z.ZodString, "many">;
285
+ example_titles: z.ZodArray<z.ZodString, "many">;
286
+ buying_influence: z.ZodEnum<["champion", "economic_buyer", "decision_maker", "influencer", "user", "unknown"]>;
287
+ }, "strict", z.ZodTypeAny, {
288
+ role: string;
289
+ seniorities: string[];
290
+ functions: string[];
291
+ example_titles: string[];
292
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
293
+ }, {
294
+ role: string;
295
+ seniorities: string[];
296
+ functions: string[];
297
+ example_titles: string[];
298
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
299
+ }>, "many">;
300
+ problems: z.ZodArray<z.ZodString, "many">;
301
+ desired_outcomes: z.ZodArray<z.ZodString, "many">;
302
+ objections: z.ZodArray<z.ZodString, "many">;
303
+ objection_answers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
304
+ objection: z.ZodString;
305
+ answer: z.ZodString;
306
+ }, "strict", z.ZodTypeAny, {
307
+ objection: string;
308
+ answer: string;
309
+ }, {
310
+ objection: string;
311
+ answer: string;
312
+ }>, "many">, {
313
+ objection: string;
314
+ answer: string;
315
+ }[], {
316
+ objection: string;
317
+ answer: string;
318
+ }[]>>;
319
+ qualification_signal_requests: z.ZodArray<z.ZodObject<{
320
+ signal: z.ZodString;
321
+ category: z.ZodOptional<z.ZodString>;
322
+ max_age_days: z.ZodOptional<z.ZodNumber>;
323
+ }, "strict", z.ZodTypeAny, {
324
+ signal: string;
325
+ category?: string | undefined;
326
+ max_age_days?: number | undefined;
327
+ }, {
328
+ signal: string;
329
+ category?: string | undefined;
330
+ max_age_days?: number | undefined;
331
+ }>, "many">;
332
+ monitor_signal_templates: z.ZodArray<z.ZodObject<{
333
+ signal: z.ZodString;
334
+ category: z.ZodOptional<z.ZodString>;
335
+ max_age_days: z.ZodOptional<z.ZodNumber>;
336
+ }, "strict", z.ZodTypeAny, {
337
+ signal: string;
338
+ category?: string | undefined;
339
+ max_age_days?: number | undefined;
340
+ }, {
341
+ signal: string;
342
+ category?: string | undefined;
343
+ max_age_days?: number | undefined;
344
+ }>, "many">;
345
+ outreach_guidance: z.ZodObject<{
346
+ value_themes: z.ZodArray<z.ZodString, "many">;
347
+ personalization_cues: z.ZodArray<z.ZodString, "many">;
348
+ prohibited_angles: z.ZodArray<z.ZodString, "many">;
349
+ supported_cta_types: z.ZodArray<z.ZodEnum<["question", "resource", "referral", "meeting", "trial", "other"]>, "many">;
350
+ message_style: z.ZodOptional<z.ZodObject<{
351
+ formality: z.ZodOptional<z.ZodEnum<["formal", "balanced", "conversational"]>>;
352
+ approach: z.ZodOptional<z.ZodEnum<["direct", "balanced", "consultative"]>>;
353
+ detail: z.ZodOptional<z.ZodEnum<["short", "balanced", "explanatory"]>>;
354
+ technical_language: z.ZodOptional<z.ZodEnum<["avoid", "allow", "prefer"]>>;
355
+ warmth: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
356
+ confidence: z.ZodOptional<z.ZodEnum<["restrained", "balanced", "assertive"]>>;
357
+ punctuation: z.ZodOptional<z.ZodEnum<["restrained", "standard", "expressive"]>>;
358
+ formatting: z.ZodOptional<z.ZodEnum<["plain_text", "short_paragraphs", "bullets"]>>;
359
+ email_subject_style: z.ZodOptional<z.ZodEnum<["plain", "topic", "question", "name_drop"]>>;
360
+ locale: z.ZodOptional<z.ZodString>;
361
+ language: z.ZodOptional<z.ZodString>;
362
+ preferred_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
363
+ prohibited_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
364
+ positive_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
365
+ negative_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
366
+ }, "strict", z.ZodTypeAny, {
367
+ preferred_phrases: string[];
368
+ prohibited_phrases: string[];
369
+ positive_examples: string[];
370
+ negative_examples: string[];
371
+ detail?: "short" | "balanced" | "explanatory" | undefined;
372
+ formality?: "formal" | "balanced" | "conversational" | undefined;
373
+ approach?: "direct" | "balanced" | "consultative" | undefined;
374
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
375
+ warmth?: "low" | "high" | "medium" | undefined;
376
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
377
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
378
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
379
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
380
+ locale?: string | undefined;
381
+ language?: string | undefined;
382
+ }, {
383
+ detail?: "short" | "balanced" | "explanatory" | undefined;
384
+ formality?: "formal" | "balanced" | "conversational" | undefined;
385
+ approach?: "direct" | "balanced" | "consultative" | undefined;
386
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
387
+ warmth?: "low" | "high" | "medium" | undefined;
388
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
389
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
390
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
391
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
392
+ locale?: string | undefined;
393
+ language?: string | undefined;
394
+ preferred_phrases?: string[] | undefined;
395
+ prohibited_phrases?: string[] | undefined;
396
+ positive_examples?: string[] | undefined;
397
+ negative_examples?: string[] | undefined;
398
+ }>>;
399
+ }, "strict", z.ZodTypeAny, {
400
+ value_themes: string[];
401
+ personalization_cues: string[];
402
+ prohibited_angles: string[];
403
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
404
+ message_style?: {
405
+ preferred_phrases: string[];
406
+ prohibited_phrases: string[];
407
+ positive_examples: string[];
408
+ negative_examples: string[];
409
+ detail?: "short" | "balanced" | "explanatory" | undefined;
410
+ formality?: "formal" | "balanced" | "conversational" | undefined;
411
+ approach?: "direct" | "balanced" | "consultative" | undefined;
412
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
413
+ warmth?: "low" | "high" | "medium" | undefined;
414
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
415
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
416
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
417
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
418
+ locale?: string | undefined;
419
+ language?: string | undefined;
420
+ } | undefined;
421
+ }, {
422
+ value_themes: string[];
423
+ personalization_cues: string[];
424
+ prohibited_angles: string[];
425
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
426
+ message_style?: {
427
+ detail?: "short" | "balanced" | "explanatory" | undefined;
428
+ formality?: "formal" | "balanced" | "conversational" | undefined;
429
+ approach?: "direct" | "balanced" | "consultative" | undefined;
430
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
431
+ warmth?: "low" | "high" | "medium" | undefined;
432
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
433
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
434
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
435
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
436
+ locale?: string | undefined;
437
+ language?: string | undefined;
438
+ preferred_phrases?: string[] | undefined;
439
+ prohibited_phrases?: string[] | undefined;
440
+ positive_examples?: string[] | undefined;
441
+ negative_examples?: string[] | undefined;
442
+ } | undefined;
443
+ }>;
444
+ }, "strict", z.ZodTypeAny, {
445
+ schema_version: 1;
446
+ product_context: {
447
+ name?: string | undefined;
448
+ facts?: {
449
+ text: string;
450
+ source_url: string;
451
+ }[] | undefined;
452
+ summary?: string | undefined;
453
+ website_url?: string | undefined;
454
+ reply_offer?: string | undefined;
455
+ };
456
+ company_fit: {
457
+ required: string[];
458
+ industries: string[];
459
+ company_sizes: string[];
460
+ preferred: string[];
461
+ excluded: string[];
462
+ geographies: string[];
463
+ attributes: string[];
464
+ description?: string | undefined;
465
+ location_selection?: {
466
+ countries: string[];
467
+ states: string[];
468
+ cities: string[];
469
+ } | undefined;
470
+ };
471
+ buyer_groups: {
472
+ role: string;
473
+ seniorities: string[];
474
+ functions: string[];
475
+ example_titles: string[];
476
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
477
+ }[];
478
+ problems: string[];
479
+ desired_outcomes: string[];
480
+ objections: string[];
481
+ qualification_signal_requests: {
482
+ signal: string;
483
+ category?: string | undefined;
484
+ max_age_days?: number | undefined;
485
+ }[];
486
+ monitor_signal_templates: {
487
+ signal: string;
488
+ category?: string | undefined;
489
+ max_age_days?: number | undefined;
490
+ }[];
491
+ outreach_guidance: {
492
+ value_themes: string[];
493
+ personalization_cues: string[];
494
+ prohibited_angles: string[];
495
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
496
+ message_style?: {
497
+ preferred_phrases: string[];
498
+ prohibited_phrases: string[];
499
+ positive_examples: string[];
500
+ negative_examples: string[];
501
+ detail?: "short" | "balanced" | "explanatory" | undefined;
502
+ formality?: "formal" | "balanced" | "conversational" | undefined;
503
+ approach?: "direct" | "balanced" | "consultative" | undefined;
504
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
505
+ warmth?: "low" | "high" | "medium" | undefined;
506
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
507
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
508
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
509
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
510
+ locale?: string | undefined;
511
+ language?: string | undefined;
512
+ } | undefined;
513
+ };
514
+ objection_answers?: {
515
+ objection: string;
516
+ answer: string;
517
+ }[] | undefined;
518
+ }, {
519
+ schema_version: 1;
520
+ product_context: {
521
+ name?: string | undefined;
522
+ facts?: {
523
+ text: string;
524
+ source_url: string;
525
+ }[] | undefined;
526
+ summary?: string | undefined;
527
+ website_url?: string | undefined;
528
+ reply_offer?: string | undefined;
529
+ };
530
+ company_fit: {
531
+ required: string[];
532
+ industries: string[];
533
+ company_sizes: string[];
534
+ preferred: string[];
535
+ excluded: string[];
536
+ geographies: string[];
537
+ attributes: string[];
538
+ description?: string | undefined;
539
+ location_selection?: {
540
+ countries: string[];
541
+ states: string[];
542
+ cities: string[];
543
+ } | undefined;
544
+ };
545
+ buyer_groups: {
546
+ role: string;
547
+ seniorities: string[];
548
+ functions: string[];
549
+ example_titles: string[];
550
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
551
+ }[];
552
+ problems: string[];
553
+ desired_outcomes: string[];
554
+ objections: string[];
555
+ qualification_signal_requests: {
556
+ signal: string;
557
+ category?: string | undefined;
558
+ max_age_days?: number | undefined;
559
+ }[];
560
+ monitor_signal_templates: {
561
+ signal: string;
562
+ category?: string | undefined;
563
+ max_age_days?: number | undefined;
564
+ }[];
565
+ outreach_guidance: {
566
+ value_themes: string[];
567
+ personalization_cues: string[];
568
+ prohibited_angles: string[];
569
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
570
+ message_style?: {
571
+ detail?: "short" | "balanced" | "explanatory" | undefined;
572
+ formality?: "formal" | "balanced" | "conversational" | undefined;
573
+ approach?: "direct" | "balanced" | "consultative" | undefined;
574
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
575
+ warmth?: "low" | "high" | "medium" | undefined;
576
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
577
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
578
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
579
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
580
+ locale?: string | undefined;
581
+ language?: string | undefined;
582
+ preferred_phrases?: string[] | undefined;
583
+ prohibited_phrases?: string[] | undefined;
584
+ positive_examples?: string[] | undefined;
585
+ negative_examples?: string[] | undefined;
586
+ } | undefined;
587
+ };
588
+ objection_answers?: {
589
+ objection: string;
590
+ answer: string;
591
+ }[] | undefined;
592
+ }>;
593
+ export type IcpProfileDefinition = z.infer<typeof icpProfileDefinitionSchema>;
594
+ export declare const icpProfileCreateSchema: z.ZodObject<{
595
+ name: z.ZodString;
596
+ definition: z.ZodObject<{
597
+ schema_version: z.ZodLiteral<1>;
598
+ product_context: z.ZodObject<{
599
+ name: z.ZodOptional<z.ZodString>;
600
+ summary: z.ZodOptional<z.ZodString>;
601
+ website_url: z.ZodOptional<z.ZodString>;
602
+ facts: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
603
+ text: z.ZodEffects<z.ZodString, string, string>;
604
+ source_url: z.ZodEffects<z.ZodString, string, string>;
605
+ }, "strict", z.ZodTypeAny, {
606
+ text: string;
607
+ source_url: string;
608
+ }, {
609
+ text: string;
610
+ source_url: string;
611
+ }>, "many">, {
612
+ text: string;
613
+ source_url: string;
614
+ }[], {
615
+ text: string;
616
+ source_url: string;
617
+ }[]>>;
618
+ reply_offer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
619
+ }, "strict", z.ZodTypeAny, {
620
+ name?: string | undefined;
621
+ facts?: {
622
+ text: string;
623
+ source_url: string;
624
+ }[] | undefined;
625
+ summary?: string | undefined;
626
+ website_url?: string | undefined;
627
+ reply_offer?: string | undefined;
628
+ }, {
629
+ name?: string | undefined;
630
+ facts?: {
631
+ text: string;
632
+ source_url: string;
633
+ }[] | undefined;
634
+ summary?: string | undefined;
635
+ website_url?: string | undefined;
636
+ reply_offer?: string | undefined;
637
+ }>;
638
+ company_fit: z.ZodObject<{
639
+ description: z.ZodOptional<z.ZodString>;
640
+ location_selection: z.ZodOptional<z.ZodObject<{
641
+ countries: z.ZodArray<z.ZodString, "many">;
642
+ states: z.ZodArray<z.ZodString, "many">;
643
+ cities: z.ZodArray<z.ZodString, "many">;
644
+ }, "strict", z.ZodTypeAny, {
645
+ countries: string[];
646
+ states: string[];
647
+ cities: string[];
648
+ }, {
649
+ countries: string[];
650
+ states: string[];
651
+ cities: string[];
652
+ }>>;
653
+ required: z.ZodArray<z.ZodString, "many">;
654
+ preferred: z.ZodArray<z.ZodString, "many">;
655
+ excluded: z.ZodArray<z.ZodString, "many">;
656
+ geographies: z.ZodArray<z.ZodString, "many">;
657
+ industries: z.ZodArray<z.ZodString, "many">;
658
+ company_sizes: z.ZodArray<z.ZodString, "many">;
659
+ attributes: z.ZodArray<z.ZodString, "many">;
660
+ }, "strict", z.ZodTypeAny, {
661
+ required: string[];
662
+ industries: string[];
663
+ company_sizes: string[];
664
+ preferred: string[];
665
+ excluded: string[];
666
+ geographies: string[];
667
+ attributes: string[];
668
+ description?: string | undefined;
669
+ location_selection?: {
670
+ countries: string[];
671
+ states: string[];
672
+ cities: string[];
673
+ } | undefined;
674
+ }, {
675
+ required: string[];
676
+ industries: string[];
677
+ company_sizes: string[];
678
+ preferred: string[];
679
+ excluded: string[];
680
+ geographies: string[];
681
+ attributes: string[];
682
+ description?: string | undefined;
683
+ location_selection?: {
684
+ countries: string[];
685
+ states: string[];
686
+ cities: string[];
687
+ } | undefined;
688
+ }>;
689
+ buyer_groups: z.ZodArray<z.ZodObject<{
690
+ role: z.ZodString;
691
+ functions: z.ZodArray<z.ZodString, "many">;
692
+ seniorities: z.ZodArray<z.ZodString, "many">;
693
+ example_titles: z.ZodArray<z.ZodString, "many">;
694
+ buying_influence: z.ZodEnum<["champion", "economic_buyer", "decision_maker", "influencer", "user", "unknown"]>;
695
+ }, "strict", z.ZodTypeAny, {
696
+ role: string;
697
+ seniorities: string[];
698
+ functions: string[];
699
+ example_titles: string[];
700
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
701
+ }, {
702
+ role: string;
703
+ seniorities: string[];
704
+ functions: string[];
705
+ example_titles: string[];
706
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
707
+ }>, "many">;
708
+ problems: z.ZodArray<z.ZodString, "many">;
709
+ desired_outcomes: z.ZodArray<z.ZodString, "many">;
710
+ objections: z.ZodArray<z.ZodString, "many">;
711
+ objection_answers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
712
+ objection: z.ZodString;
713
+ answer: z.ZodString;
714
+ }, "strict", z.ZodTypeAny, {
715
+ objection: string;
716
+ answer: string;
717
+ }, {
718
+ objection: string;
719
+ answer: string;
720
+ }>, "many">, {
721
+ objection: string;
722
+ answer: string;
723
+ }[], {
724
+ objection: string;
725
+ answer: string;
726
+ }[]>>;
727
+ qualification_signal_requests: z.ZodArray<z.ZodObject<{
728
+ signal: z.ZodString;
729
+ category: z.ZodOptional<z.ZodString>;
730
+ max_age_days: z.ZodOptional<z.ZodNumber>;
731
+ }, "strict", z.ZodTypeAny, {
732
+ signal: string;
733
+ category?: string | undefined;
734
+ max_age_days?: number | undefined;
735
+ }, {
736
+ signal: string;
737
+ category?: string | undefined;
738
+ max_age_days?: number | undefined;
739
+ }>, "many">;
740
+ monitor_signal_templates: z.ZodArray<z.ZodObject<{
741
+ signal: z.ZodString;
742
+ category: z.ZodOptional<z.ZodString>;
743
+ max_age_days: z.ZodOptional<z.ZodNumber>;
744
+ }, "strict", z.ZodTypeAny, {
745
+ signal: string;
746
+ category?: string | undefined;
747
+ max_age_days?: number | undefined;
748
+ }, {
749
+ signal: string;
750
+ category?: string | undefined;
751
+ max_age_days?: number | undefined;
752
+ }>, "many">;
753
+ outreach_guidance: z.ZodObject<{
754
+ value_themes: z.ZodArray<z.ZodString, "many">;
755
+ personalization_cues: z.ZodArray<z.ZodString, "many">;
756
+ prohibited_angles: z.ZodArray<z.ZodString, "many">;
757
+ supported_cta_types: z.ZodArray<z.ZodEnum<["question", "resource", "referral", "meeting", "trial", "other"]>, "many">;
758
+ message_style: z.ZodOptional<z.ZodObject<{
759
+ formality: z.ZodOptional<z.ZodEnum<["formal", "balanced", "conversational"]>>;
760
+ approach: z.ZodOptional<z.ZodEnum<["direct", "balanced", "consultative"]>>;
761
+ detail: z.ZodOptional<z.ZodEnum<["short", "balanced", "explanatory"]>>;
762
+ technical_language: z.ZodOptional<z.ZodEnum<["avoid", "allow", "prefer"]>>;
763
+ warmth: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
764
+ confidence: z.ZodOptional<z.ZodEnum<["restrained", "balanced", "assertive"]>>;
765
+ punctuation: z.ZodOptional<z.ZodEnum<["restrained", "standard", "expressive"]>>;
766
+ formatting: z.ZodOptional<z.ZodEnum<["plain_text", "short_paragraphs", "bullets"]>>;
767
+ email_subject_style: z.ZodOptional<z.ZodEnum<["plain", "topic", "question", "name_drop"]>>;
768
+ locale: z.ZodOptional<z.ZodString>;
769
+ language: z.ZodOptional<z.ZodString>;
770
+ preferred_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
771
+ prohibited_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
772
+ positive_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
773
+ negative_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
774
+ }, "strict", z.ZodTypeAny, {
775
+ preferred_phrases: string[];
776
+ prohibited_phrases: string[];
777
+ positive_examples: string[];
778
+ negative_examples: string[];
779
+ detail?: "short" | "balanced" | "explanatory" | undefined;
780
+ formality?: "formal" | "balanced" | "conversational" | undefined;
781
+ approach?: "direct" | "balanced" | "consultative" | undefined;
782
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
783
+ warmth?: "low" | "high" | "medium" | undefined;
784
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
785
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
786
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
787
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
788
+ locale?: string | undefined;
789
+ language?: string | undefined;
790
+ }, {
791
+ detail?: "short" | "balanced" | "explanatory" | undefined;
792
+ formality?: "formal" | "balanced" | "conversational" | undefined;
793
+ approach?: "direct" | "balanced" | "consultative" | undefined;
794
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
795
+ warmth?: "low" | "high" | "medium" | undefined;
796
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
797
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
798
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
799
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
800
+ locale?: string | undefined;
801
+ language?: string | undefined;
802
+ preferred_phrases?: string[] | undefined;
803
+ prohibited_phrases?: string[] | undefined;
804
+ positive_examples?: string[] | undefined;
805
+ negative_examples?: string[] | undefined;
806
+ }>>;
807
+ }, "strict", z.ZodTypeAny, {
808
+ value_themes: string[];
809
+ personalization_cues: string[];
810
+ prohibited_angles: string[];
811
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
812
+ message_style?: {
813
+ preferred_phrases: string[];
814
+ prohibited_phrases: string[];
815
+ positive_examples: string[];
816
+ negative_examples: string[];
817
+ detail?: "short" | "balanced" | "explanatory" | undefined;
818
+ formality?: "formal" | "balanced" | "conversational" | undefined;
819
+ approach?: "direct" | "balanced" | "consultative" | undefined;
820
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
821
+ warmth?: "low" | "high" | "medium" | undefined;
822
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
823
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
824
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
825
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
826
+ locale?: string | undefined;
827
+ language?: string | undefined;
828
+ } | undefined;
829
+ }, {
830
+ value_themes: string[];
831
+ personalization_cues: string[];
832
+ prohibited_angles: string[];
833
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
834
+ message_style?: {
835
+ detail?: "short" | "balanced" | "explanatory" | undefined;
836
+ formality?: "formal" | "balanced" | "conversational" | undefined;
837
+ approach?: "direct" | "balanced" | "consultative" | undefined;
838
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
839
+ warmth?: "low" | "high" | "medium" | undefined;
840
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
841
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
842
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
843
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
844
+ locale?: string | undefined;
845
+ language?: string | undefined;
846
+ preferred_phrases?: string[] | undefined;
847
+ prohibited_phrases?: string[] | undefined;
848
+ positive_examples?: string[] | undefined;
849
+ negative_examples?: string[] | undefined;
850
+ } | undefined;
851
+ }>;
852
+ }, "strict", z.ZodTypeAny, {
853
+ schema_version: 1;
854
+ product_context: {
855
+ name?: string | undefined;
856
+ facts?: {
857
+ text: string;
858
+ source_url: string;
859
+ }[] | undefined;
860
+ summary?: string | undefined;
861
+ website_url?: string | undefined;
862
+ reply_offer?: string | undefined;
863
+ };
864
+ company_fit: {
865
+ required: string[];
866
+ industries: string[];
867
+ company_sizes: string[];
868
+ preferred: string[];
869
+ excluded: string[];
870
+ geographies: string[];
871
+ attributes: string[];
872
+ description?: string | undefined;
873
+ location_selection?: {
874
+ countries: string[];
875
+ states: string[];
876
+ cities: string[];
877
+ } | undefined;
878
+ };
879
+ buyer_groups: {
880
+ role: string;
881
+ seniorities: string[];
882
+ functions: string[];
883
+ example_titles: string[];
884
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
885
+ }[];
886
+ problems: string[];
887
+ desired_outcomes: string[];
888
+ objections: string[];
889
+ qualification_signal_requests: {
890
+ signal: string;
891
+ category?: string | undefined;
892
+ max_age_days?: number | undefined;
893
+ }[];
894
+ monitor_signal_templates: {
895
+ signal: string;
896
+ category?: string | undefined;
897
+ max_age_days?: number | undefined;
898
+ }[];
899
+ outreach_guidance: {
900
+ value_themes: string[];
901
+ personalization_cues: string[];
902
+ prohibited_angles: string[];
903
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
904
+ message_style?: {
905
+ preferred_phrases: string[];
906
+ prohibited_phrases: string[];
907
+ positive_examples: string[];
908
+ negative_examples: string[];
909
+ detail?: "short" | "balanced" | "explanatory" | undefined;
910
+ formality?: "formal" | "balanced" | "conversational" | undefined;
911
+ approach?: "direct" | "balanced" | "consultative" | undefined;
912
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
913
+ warmth?: "low" | "high" | "medium" | undefined;
914
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
915
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
916
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
917
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
918
+ locale?: string | undefined;
919
+ language?: string | undefined;
920
+ } | undefined;
921
+ };
922
+ objection_answers?: {
923
+ objection: string;
924
+ answer: string;
925
+ }[] | undefined;
926
+ }, {
927
+ schema_version: 1;
928
+ product_context: {
929
+ name?: string | undefined;
930
+ facts?: {
931
+ text: string;
932
+ source_url: string;
933
+ }[] | undefined;
934
+ summary?: string | undefined;
935
+ website_url?: string | undefined;
936
+ reply_offer?: string | undefined;
937
+ };
938
+ company_fit: {
939
+ required: string[];
940
+ industries: string[];
941
+ company_sizes: string[];
942
+ preferred: string[];
943
+ excluded: string[];
944
+ geographies: string[];
945
+ attributes: string[];
946
+ description?: string | undefined;
947
+ location_selection?: {
948
+ countries: string[];
949
+ states: string[];
950
+ cities: string[];
951
+ } | undefined;
952
+ };
953
+ buyer_groups: {
954
+ role: string;
955
+ seniorities: string[];
956
+ functions: string[];
957
+ example_titles: string[];
958
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
959
+ }[];
960
+ problems: string[];
961
+ desired_outcomes: string[];
962
+ objections: string[];
963
+ qualification_signal_requests: {
964
+ signal: string;
965
+ category?: string | undefined;
966
+ max_age_days?: number | undefined;
967
+ }[];
968
+ monitor_signal_templates: {
969
+ signal: string;
970
+ category?: string | undefined;
971
+ max_age_days?: number | undefined;
972
+ }[];
973
+ outreach_guidance: {
974
+ value_themes: string[];
975
+ personalization_cues: string[];
976
+ prohibited_angles: string[];
977
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
978
+ message_style?: {
979
+ detail?: "short" | "balanced" | "explanatory" | undefined;
980
+ formality?: "formal" | "balanced" | "conversational" | undefined;
981
+ approach?: "direct" | "balanced" | "consultative" | undefined;
982
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
983
+ warmth?: "low" | "high" | "medium" | undefined;
984
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
985
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
986
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
987
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
988
+ locale?: string | undefined;
989
+ language?: string | undefined;
990
+ preferred_phrases?: string[] | undefined;
991
+ prohibited_phrases?: string[] | undefined;
992
+ positive_examples?: string[] | undefined;
993
+ negative_examples?: string[] | undefined;
994
+ } | undefined;
995
+ };
996
+ objection_answers?: {
997
+ objection: string;
998
+ answer: string;
999
+ }[] | undefined;
1000
+ }>;
1001
+ source: z.ZodDefault<z.ZodEnum<["manual", "current_form"]>>;
1002
+ }, "strict", z.ZodTypeAny, {
1003
+ name: string;
1004
+ definition: {
1005
+ schema_version: 1;
1006
+ product_context: {
1007
+ name?: string | undefined;
1008
+ facts?: {
1009
+ text: string;
1010
+ source_url: string;
1011
+ }[] | undefined;
1012
+ summary?: string | undefined;
1013
+ website_url?: string | undefined;
1014
+ reply_offer?: string | undefined;
1015
+ };
1016
+ company_fit: {
1017
+ required: string[];
1018
+ industries: string[];
1019
+ company_sizes: string[];
1020
+ preferred: string[];
1021
+ excluded: string[];
1022
+ geographies: string[];
1023
+ attributes: string[];
1024
+ description?: string | undefined;
1025
+ location_selection?: {
1026
+ countries: string[];
1027
+ states: string[];
1028
+ cities: string[];
1029
+ } | undefined;
1030
+ };
1031
+ buyer_groups: {
1032
+ role: string;
1033
+ seniorities: string[];
1034
+ functions: string[];
1035
+ example_titles: string[];
1036
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1037
+ }[];
1038
+ problems: string[];
1039
+ desired_outcomes: string[];
1040
+ objections: string[];
1041
+ qualification_signal_requests: {
1042
+ signal: string;
1043
+ category?: string | undefined;
1044
+ max_age_days?: number | undefined;
1045
+ }[];
1046
+ monitor_signal_templates: {
1047
+ signal: string;
1048
+ category?: string | undefined;
1049
+ max_age_days?: number | undefined;
1050
+ }[];
1051
+ outreach_guidance: {
1052
+ value_themes: string[];
1053
+ personalization_cues: string[];
1054
+ prohibited_angles: string[];
1055
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1056
+ message_style?: {
1057
+ preferred_phrases: string[];
1058
+ prohibited_phrases: string[];
1059
+ positive_examples: string[];
1060
+ negative_examples: string[];
1061
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1062
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1063
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1064
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1065
+ warmth?: "low" | "high" | "medium" | undefined;
1066
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1067
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1068
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1069
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1070
+ locale?: string | undefined;
1071
+ language?: string | undefined;
1072
+ } | undefined;
1073
+ };
1074
+ objection_answers?: {
1075
+ objection: string;
1076
+ answer: string;
1077
+ }[] | undefined;
1078
+ };
1079
+ source: "manual" | "current_form";
1080
+ }, {
1081
+ name: string;
1082
+ definition: {
1083
+ schema_version: 1;
1084
+ product_context: {
1085
+ name?: string | undefined;
1086
+ facts?: {
1087
+ text: string;
1088
+ source_url: string;
1089
+ }[] | undefined;
1090
+ summary?: string | undefined;
1091
+ website_url?: string | undefined;
1092
+ reply_offer?: string | undefined;
1093
+ };
1094
+ company_fit: {
1095
+ required: string[];
1096
+ industries: string[];
1097
+ company_sizes: string[];
1098
+ preferred: string[];
1099
+ excluded: string[];
1100
+ geographies: string[];
1101
+ attributes: string[];
1102
+ description?: string | undefined;
1103
+ location_selection?: {
1104
+ countries: string[];
1105
+ states: string[];
1106
+ cities: string[];
1107
+ } | undefined;
1108
+ };
1109
+ buyer_groups: {
1110
+ role: string;
1111
+ seniorities: string[];
1112
+ functions: string[];
1113
+ example_titles: string[];
1114
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1115
+ }[];
1116
+ problems: string[];
1117
+ desired_outcomes: string[];
1118
+ objections: string[];
1119
+ qualification_signal_requests: {
1120
+ signal: string;
1121
+ category?: string | undefined;
1122
+ max_age_days?: number | undefined;
1123
+ }[];
1124
+ monitor_signal_templates: {
1125
+ signal: string;
1126
+ category?: string | undefined;
1127
+ max_age_days?: number | undefined;
1128
+ }[];
1129
+ outreach_guidance: {
1130
+ value_themes: string[];
1131
+ personalization_cues: string[];
1132
+ prohibited_angles: string[];
1133
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1134
+ message_style?: {
1135
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1136
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1137
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1138
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1139
+ warmth?: "low" | "high" | "medium" | undefined;
1140
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1141
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1142
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1143
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1144
+ locale?: string | undefined;
1145
+ language?: string | undefined;
1146
+ preferred_phrases?: string[] | undefined;
1147
+ prohibited_phrases?: string[] | undefined;
1148
+ positive_examples?: string[] | undefined;
1149
+ negative_examples?: string[] | undefined;
1150
+ } | undefined;
1151
+ };
1152
+ objection_answers?: {
1153
+ objection: string;
1154
+ answer: string;
1155
+ }[] | undefined;
1156
+ };
1157
+ source?: "manual" | "current_form" | undefined;
1158
+ }>;
1159
+ export declare const icpProfileSurfaceSchema: z.ZodEnum<["lead_request", "import", "outreach", "network", "intent_monitor"]>;
1160
+ export type IcpProfileSurface = z.infer<typeof icpProfileSurfaceSchema>;
1161
+ export declare const icpProfileApplyPreviewInputSchema: z.ZodObject<{
1162
+ profile_id: z.ZodString;
1163
+ profile_version_id: z.ZodString;
1164
+ surface: z.ZodEnum<["lead_request", "import", "outreach", "network", "intent_monitor"]>;
1165
+ overrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
1166
+ path: z.ZodString;
1167
+ value: z.ZodUnknown;
1168
+ }, "strict", z.ZodTypeAny, {
1169
+ path: string;
1170
+ value?: unknown;
1171
+ }, {
1172
+ path: string;
1173
+ value?: unknown;
1174
+ }>, "many">>;
1175
+ scope: z.ZodOptional<z.ZodLiteral<"audience">>;
1176
+ product_selection: z.ZodOptional<z.ZodObject<{
1177
+ id: z.ZodString;
1178
+ icp_id: z.ZodString;
1179
+ icp_version_id: z.ZodString;
1180
+ product_id: z.ZodString;
1181
+ product_version_id: z.ZodString;
1182
+ link_id: z.ZodString;
1183
+ link_version_id: z.ZodString;
1184
+ }, "strict", z.ZodTypeAny, {
1185
+ id: string;
1186
+ icp_id: string;
1187
+ icp_version_id: string;
1188
+ product_id: string;
1189
+ product_version_id: string;
1190
+ link_id: string;
1191
+ link_version_id: string;
1192
+ }, {
1193
+ id: string;
1194
+ icp_id: string;
1195
+ icp_version_id: string;
1196
+ product_id: string;
1197
+ product_version_id: string;
1198
+ link_id: string;
1199
+ link_version_id: string;
1200
+ }>>;
1201
+ }, "strict", z.ZodTypeAny, {
1202
+ profile_id: string;
1203
+ profile_version_id: string;
1204
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
1205
+ overrides: {
1206
+ path: string;
1207
+ value?: unknown;
1208
+ }[];
1209
+ scope?: "audience" | undefined;
1210
+ product_selection?: {
1211
+ id: string;
1212
+ icp_id: string;
1213
+ icp_version_id: string;
1214
+ product_id: string;
1215
+ product_version_id: string;
1216
+ link_id: string;
1217
+ link_version_id: string;
1218
+ } | undefined;
1219
+ }, {
1220
+ profile_id: string;
1221
+ profile_version_id: string;
1222
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
1223
+ scope?: "audience" | undefined;
1224
+ overrides?: {
1225
+ path: string;
1226
+ value?: unknown;
1227
+ }[] | undefined;
1228
+ product_selection?: {
1229
+ id: string;
1230
+ icp_id: string;
1231
+ icp_version_id: string;
1232
+ product_id: string;
1233
+ product_version_id: string;
1234
+ link_id: string;
1235
+ link_version_id: string;
1236
+ } | undefined;
1237
+ }>;
1238
+ export declare const icpProfilePromoteOverridesSchema: z.ZodObject<Omit<{
1239
+ profile_id: z.ZodString;
1240
+ profile_version_id: z.ZodString;
1241
+ surface: z.ZodEnum<["lead_request", "import", "outreach", "network", "intent_monitor"]>;
1242
+ overrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
1243
+ path: z.ZodString;
1244
+ value: z.ZodUnknown;
1245
+ }, "strict", z.ZodTypeAny, {
1246
+ path: string;
1247
+ value?: unknown;
1248
+ }, {
1249
+ path: string;
1250
+ value?: unknown;
1251
+ }>, "many">>;
1252
+ scope: z.ZodOptional<z.ZodLiteral<"audience">>;
1253
+ product_selection: z.ZodOptional<z.ZodObject<{
1254
+ id: z.ZodString;
1255
+ icp_id: z.ZodString;
1256
+ icp_version_id: z.ZodString;
1257
+ product_id: z.ZodString;
1258
+ product_version_id: z.ZodString;
1259
+ link_id: z.ZodString;
1260
+ link_version_id: z.ZodString;
1261
+ }, "strict", z.ZodTypeAny, {
1262
+ id: string;
1263
+ icp_id: string;
1264
+ icp_version_id: string;
1265
+ product_id: string;
1266
+ product_version_id: string;
1267
+ link_id: string;
1268
+ link_version_id: string;
1269
+ }, {
1270
+ id: string;
1271
+ icp_id: string;
1272
+ icp_version_id: string;
1273
+ product_id: string;
1274
+ product_version_id: string;
1275
+ link_id: string;
1276
+ link_version_id: string;
1277
+ }>>;
1278
+ }, "scope"> & {
1279
+ expected_current_version_id: z.ZodString;
1280
+ }, "strict", z.ZodTypeAny, {
1281
+ profile_id: string;
1282
+ profile_version_id: string;
1283
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
1284
+ overrides: {
1285
+ path: string;
1286
+ value?: unknown;
1287
+ }[];
1288
+ expected_current_version_id: string;
1289
+ product_selection?: {
1290
+ id: string;
1291
+ icp_id: string;
1292
+ icp_version_id: string;
1293
+ product_id: string;
1294
+ product_version_id: string;
1295
+ link_id: string;
1296
+ link_version_id: string;
1297
+ } | undefined;
1298
+ }, {
1299
+ profile_id: string;
1300
+ profile_version_id: string;
1301
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
1302
+ expected_current_version_id: string;
1303
+ overrides?: {
1304
+ path: string;
1305
+ value?: unknown;
1306
+ }[] | undefined;
1307
+ product_selection?: {
1308
+ id: string;
1309
+ icp_id: string;
1310
+ icp_version_id: string;
1311
+ product_id: string;
1312
+ product_version_id: string;
1313
+ link_id: string;
1314
+ link_version_id: string;
1315
+ } | undefined;
1316
+ }>;
1317
+ export declare const icpProfileApplyPreviewSchema: z.ZodObject<{
1318
+ icp_id: z.ZodString;
1319
+ profile_version_id: z.ZodString;
1320
+ surface: z.ZodEnum<["lead_request", "import", "outreach", "network", "intent_monitor"]>;
1321
+ applied: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1322
+ overrides: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1323
+ effective: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1324
+ ignored_fields: z.ZodArray<z.ZodString, "many">;
1325
+ }, "strict", z.ZodTypeAny, {
1326
+ icp_id: string;
1327
+ profile_version_id: string;
1328
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
1329
+ overrides: Record<string, unknown>;
1330
+ applied: Record<string, unknown>;
1331
+ effective: Record<string, unknown>;
1332
+ ignored_fields: string[];
1333
+ }, {
1334
+ icp_id: string;
1335
+ profile_version_id: string;
1336
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
1337
+ overrides: Record<string, unknown>;
1338
+ applied: Record<string, unknown>;
1339
+ effective: Record<string, unknown>;
1340
+ ignored_fields: string[];
1341
+ }>;
1342
+ export declare const createIcpProfileSchema: z.ZodObject<{
1343
+ name: z.ZodString;
1344
+ definition: z.ZodObject<{
1345
+ schema_version: z.ZodLiteral<1>;
1346
+ product_context: z.ZodObject<{
1347
+ name: z.ZodOptional<z.ZodString>;
1348
+ summary: z.ZodOptional<z.ZodString>;
1349
+ website_url: z.ZodOptional<z.ZodString>;
1350
+ facts: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
1351
+ text: z.ZodEffects<z.ZodString, string, string>;
1352
+ source_url: z.ZodEffects<z.ZodString, string, string>;
1353
+ }, "strict", z.ZodTypeAny, {
1354
+ text: string;
1355
+ source_url: string;
1356
+ }, {
1357
+ text: string;
1358
+ source_url: string;
1359
+ }>, "many">, {
1360
+ text: string;
1361
+ source_url: string;
1362
+ }[], {
1363
+ text: string;
1364
+ source_url: string;
1365
+ }[]>>;
1366
+ reply_offer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1367
+ }, "strict", z.ZodTypeAny, {
1368
+ name?: string | undefined;
1369
+ facts?: {
1370
+ text: string;
1371
+ source_url: string;
1372
+ }[] | undefined;
1373
+ summary?: string | undefined;
1374
+ website_url?: string | undefined;
1375
+ reply_offer?: string | undefined;
1376
+ }, {
1377
+ name?: string | undefined;
1378
+ facts?: {
1379
+ text: string;
1380
+ source_url: string;
1381
+ }[] | undefined;
1382
+ summary?: string | undefined;
1383
+ website_url?: string | undefined;
1384
+ reply_offer?: string | undefined;
1385
+ }>;
1386
+ company_fit: z.ZodObject<{
1387
+ description: z.ZodOptional<z.ZodString>;
1388
+ location_selection: z.ZodOptional<z.ZodObject<{
1389
+ countries: z.ZodArray<z.ZodString, "many">;
1390
+ states: z.ZodArray<z.ZodString, "many">;
1391
+ cities: z.ZodArray<z.ZodString, "many">;
1392
+ }, "strict", z.ZodTypeAny, {
1393
+ countries: string[];
1394
+ states: string[];
1395
+ cities: string[];
1396
+ }, {
1397
+ countries: string[];
1398
+ states: string[];
1399
+ cities: string[];
1400
+ }>>;
1401
+ required: z.ZodArray<z.ZodString, "many">;
1402
+ preferred: z.ZodArray<z.ZodString, "many">;
1403
+ excluded: z.ZodArray<z.ZodString, "many">;
1404
+ geographies: z.ZodArray<z.ZodString, "many">;
1405
+ industries: z.ZodArray<z.ZodString, "many">;
1406
+ company_sizes: z.ZodArray<z.ZodString, "many">;
1407
+ attributes: z.ZodArray<z.ZodString, "many">;
1408
+ }, "strict", z.ZodTypeAny, {
1409
+ required: string[];
1410
+ industries: string[];
1411
+ company_sizes: string[];
1412
+ preferred: string[];
1413
+ excluded: string[];
1414
+ geographies: string[];
1415
+ attributes: string[];
1416
+ description?: string | undefined;
1417
+ location_selection?: {
1418
+ countries: string[];
1419
+ states: string[];
1420
+ cities: string[];
1421
+ } | undefined;
1422
+ }, {
1423
+ required: string[];
1424
+ industries: string[];
1425
+ company_sizes: string[];
1426
+ preferred: string[];
1427
+ excluded: string[];
1428
+ geographies: string[];
1429
+ attributes: string[];
1430
+ description?: string | undefined;
1431
+ location_selection?: {
1432
+ countries: string[];
1433
+ states: string[];
1434
+ cities: string[];
1435
+ } | undefined;
1436
+ }>;
1437
+ buyer_groups: z.ZodArray<z.ZodObject<{
1438
+ role: z.ZodString;
1439
+ functions: z.ZodArray<z.ZodString, "many">;
1440
+ seniorities: z.ZodArray<z.ZodString, "many">;
1441
+ example_titles: z.ZodArray<z.ZodString, "many">;
1442
+ buying_influence: z.ZodEnum<["champion", "economic_buyer", "decision_maker", "influencer", "user", "unknown"]>;
1443
+ }, "strict", z.ZodTypeAny, {
1444
+ role: string;
1445
+ seniorities: string[];
1446
+ functions: string[];
1447
+ example_titles: string[];
1448
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1449
+ }, {
1450
+ role: string;
1451
+ seniorities: string[];
1452
+ functions: string[];
1453
+ example_titles: string[];
1454
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1455
+ }>, "many">;
1456
+ problems: z.ZodArray<z.ZodString, "many">;
1457
+ desired_outcomes: z.ZodArray<z.ZodString, "many">;
1458
+ objections: z.ZodArray<z.ZodString, "many">;
1459
+ objection_answers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
1460
+ objection: z.ZodString;
1461
+ answer: z.ZodString;
1462
+ }, "strict", z.ZodTypeAny, {
1463
+ objection: string;
1464
+ answer: string;
1465
+ }, {
1466
+ objection: string;
1467
+ answer: string;
1468
+ }>, "many">, {
1469
+ objection: string;
1470
+ answer: string;
1471
+ }[], {
1472
+ objection: string;
1473
+ answer: string;
1474
+ }[]>>;
1475
+ qualification_signal_requests: z.ZodArray<z.ZodObject<{
1476
+ signal: z.ZodString;
1477
+ category: z.ZodOptional<z.ZodString>;
1478
+ max_age_days: z.ZodOptional<z.ZodNumber>;
1479
+ }, "strict", z.ZodTypeAny, {
1480
+ signal: string;
1481
+ category?: string | undefined;
1482
+ max_age_days?: number | undefined;
1483
+ }, {
1484
+ signal: string;
1485
+ category?: string | undefined;
1486
+ max_age_days?: number | undefined;
1487
+ }>, "many">;
1488
+ monitor_signal_templates: z.ZodArray<z.ZodObject<{
1489
+ signal: z.ZodString;
1490
+ category: z.ZodOptional<z.ZodString>;
1491
+ max_age_days: z.ZodOptional<z.ZodNumber>;
1492
+ }, "strict", z.ZodTypeAny, {
1493
+ signal: string;
1494
+ category?: string | undefined;
1495
+ max_age_days?: number | undefined;
1496
+ }, {
1497
+ signal: string;
1498
+ category?: string | undefined;
1499
+ max_age_days?: number | undefined;
1500
+ }>, "many">;
1501
+ outreach_guidance: z.ZodObject<{
1502
+ value_themes: z.ZodArray<z.ZodString, "many">;
1503
+ personalization_cues: z.ZodArray<z.ZodString, "many">;
1504
+ prohibited_angles: z.ZodArray<z.ZodString, "many">;
1505
+ supported_cta_types: z.ZodArray<z.ZodEnum<["question", "resource", "referral", "meeting", "trial", "other"]>, "many">;
1506
+ message_style: z.ZodOptional<z.ZodObject<{
1507
+ formality: z.ZodOptional<z.ZodEnum<["formal", "balanced", "conversational"]>>;
1508
+ approach: z.ZodOptional<z.ZodEnum<["direct", "balanced", "consultative"]>>;
1509
+ detail: z.ZodOptional<z.ZodEnum<["short", "balanced", "explanatory"]>>;
1510
+ technical_language: z.ZodOptional<z.ZodEnum<["avoid", "allow", "prefer"]>>;
1511
+ warmth: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
1512
+ confidence: z.ZodOptional<z.ZodEnum<["restrained", "balanced", "assertive"]>>;
1513
+ punctuation: z.ZodOptional<z.ZodEnum<["restrained", "standard", "expressive"]>>;
1514
+ formatting: z.ZodOptional<z.ZodEnum<["plain_text", "short_paragraphs", "bullets"]>>;
1515
+ email_subject_style: z.ZodOptional<z.ZodEnum<["plain", "topic", "question", "name_drop"]>>;
1516
+ locale: z.ZodOptional<z.ZodString>;
1517
+ language: z.ZodOptional<z.ZodString>;
1518
+ preferred_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1519
+ prohibited_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1520
+ positive_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1521
+ negative_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1522
+ }, "strict", z.ZodTypeAny, {
1523
+ preferred_phrases: string[];
1524
+ prohibited_phrases: string[];
1525
+ positive_examples: string[];
1526
+ negative_examples: string[];
1527
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1528
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1529
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1530
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1531
+ warmth?: "low" | "high" | "medium" | undefined;
1532
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1533
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1534
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1535
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1536
+ locale?: string | undefined;
1537
+ language?: string | undefined;
1538
+ }, {
1539
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1540
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1541
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1542
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1543
+ warmth?: "low" | "high" | "medium" | undefined;
1544
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1545
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1546
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1547
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1548
+ locale?: string | undefined;
1549
+ language?: string | undefined;
1550
+ preferred_phrases?: string[] | undefined;
1551
+ prohibited_phrases?: string[] | undefined;
1552
+ positive_examples?: string[] | undefined;
1553
+ negative_examples?: string[] | undefined;
1554
+ }>>;
1555
+ }, "strict", z.ZodTypeAny, {
1556
+ value_themes: string[];
1557
+ personalization_cues: string[];
1558
+ prohibited_angles: string[];
1559
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1560
+ message_style?: {
1561
+ preferred_phrases: string[];
1562
+ prohibited_phrases: string[];
1563
+ positive_examples: string[];
1564
+ negative_examples: string[];
1565
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1566
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1567
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1568
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1569
+ warmth?: "low" | "high" | "medium" | undefined;
1570
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1571
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1572
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1573
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1574
+ locale?: string | undefined;
1575
+ language?: string | undefined;
1576
+ } | undefined;
1577
+ }, {
1578
+ value_themes: string[];
1579
+ personalization_cues: string[];
1580
+ prohibited_angles: string[];
1581
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1582
+ message_style?: {
1583
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1584
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1585
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1586
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1587
+ warmth?: "low" | "high" | "medium" | undefined;
1588
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1589
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1590
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1591
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1592
+ locale?: string | undefined;
1593
+ language?: string | undefined;
1594
+ preferred_phrases?: string[] | undefined;
1595
+ prohibited_phrases?: string[] | undefined;
1596
+ positive_examples?: string[] | undefined;
1597
+ negative_examples?: string[] | undefined;
1598
+ } | undefined;
1599
+ }>;
1600
+ }, "strict", z.ZodTypeAny, {
1601
+ schema_version: 1;
1602
+ product_context: {
1603
+ name?: string | undefined;
1604
+ facts?: {
1605
+ text: string;
1606
+ source_url: string;
1607
+ }[] | undefined;
1608
+ summary?: string | undefined;
1609
+ website_url?: string | undefined;
1610
+ reply_offer?: string | undefined;
1611
+ };
1612
+ company_fit: {
1613
+ required: string[];
1614
+ industries: string[];
1615
+ company_sizes: string[];
1616
+ preferred: string[];
1617
+ excluded: string[];
1618
+ geographies: string[];
1619
+ attributes: string[];
1620
+ description?: string | undefined;
1621
+ location_selection?: {
1622
+ countries: string[];
1623
+ states: string[];
1624
+ cities: string[];
1625
+ } | undefined;
1626
+ };
1627
+ buyer_groups: {
1628
+ role: string;
1629
+ seniorities: string[];
1630
+ functions: string[];
1631
+ example_titles: string[];
1632
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1633
+ }[];
1634
+ problems: string[];
1635
+ desired_outcomes: string[];
1636
+ objections: string[];
1637
+ qualification_signal_requests: {
1638
+ signal: string;
1639
+ category?: string | undefined;
1640
+ max_age_days?: number | undefined;
1641
+ }[];
1642
+ monitor_signal_templates: {
1643
+ signal: string;
1644
+ category?: string | undefined;
1645
+ max_age_days?: number | undefined;
1646
+ }[];
1647
+ outreach_guidance: {
1648
+ value_themes: string[];
1649
+ personalization_cues: string[];
1650
+ prohibited_angles: string[];
1651
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1652
+ message_style?: {
1653
+ preferred_phrases: string[];
1654
+ prohibited_phrases: string[];
1655
+ positive_examples: string[];
1656
+ negative_examples: string[];
1657
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1658
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1659
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1660
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1661
+ warmth?: "low" | "high" | "medium" | undefined;
1662
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1663
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1664
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1665
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1666
+ locale?: string | undefined;
1667
+ language?: string | undefined;
1668
+ } | undefined;
1669
+ };
1670
+ objection_answers?: {
1671
+ objection: string;
1672
+ answer: string;
1673
+ }[] | undefined;
1674
+ }, {
1675
+ schema_version: 1;
1676
+ product_context: {
1677
+ name?: string | undefined;
1678
+ facts?: {
1679
+ text: string;
1680
+ source_url: string;
1681
+ }[] | undefined;
1682
+ summary?: string | undefined;
1683
+ website_url?: string | undefined;
1684
+ reply_offer?: string | undefined;
1685
+ };
1686
+ company_fit: {
1687
+ required: string[];
1688
+ industries: string[];
1689
+ company_sizes: string[];
1690
+ preferred: string[];
1691
+ excluded: string[];
1692
+ geographies: string[];
1693
+ attributes: string[];
1694
+ description?: string | undefined;
1695
+ location_selection?: {
1696
+ countries: string[];
1697
+ states: string[];
1698
+ cities: string[];
1699
+ } | undefined;
1700
+ };
1701
+ buyer_groups: {
1702
+ role: string;
1703
+ seniorities: string[];
1704
+ functions: string[];
1705
+ example_titles: string[];
1706
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1707
+ }[];
1708
+ problems: string[];
1709
+ desired_outcomes: string[];
1710
+ objections: string[];
1711
+ qualification_signal_requests: {
1712
+ signal: string;
1713
+ category?: string | undefined;
1714
+ max_age_days?: number | undefined;
1715
+ }[];
1716
+ monitor_signal_templates: {
1717
+ signal: string;
1718
+ category?: string | undefined;
1719
+ max_age_days?: number | undefined;
1720
+ }[];
1721
+ outreach_guidance: {
1722
+ value_themes: string[];
1723
+ personalization_cues: string[];
1724
+ prohibited_angles: string[];
1725
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1726
+ message_style?: {
1727
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1728
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1729
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1730
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1731
+ warmth?: "low" | "high" | "medium" | undefined;
1732
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1733
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1734
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1735
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1736
+ locale?: string | undefined;
1737
+ language?: string | undefined;
1738
+ preferred_phrases?: string[] | undefined;
1739
+ prohibited_phrases?: string[] | undefined;
1740
+ positive_examples?: string[] | undefined;
1741
+ negative_examples?: string[] | undefined;
1742
+ } | undefined;
1743
+ };
1744
+ objection_answers?: {
1745
+ objection: string;
1746
+ answer: string;
1747
+ }[] | undefined;
1748
+ }>;
1749
+ source: z.ZodDefault<z.ZodEnum<["manual", "current_form"]>>;
1750
+ }, "strict", z.ZodTypeAny, {
1751
+ name: string;
1752
+ definition: {
1753
+ schema_version: 1;
1754
+ product_context: {
1755
+ name?: string | undefined;
1756
+ facts?: {
1757
+ text: string;
1758
+ source_url: string;
1759
+ }[] | undefined;
1760
+ summary?: string | undefined;
1761
+ website_url?: string | undefined;
1762
+ reply_offer?: string | undefined;
1763
+ };
1764
+ company_fit: {
1765
+ required: string[];
1766
+ industries: string[];
1767
+ company_sizes: string[];
1768
+ preferred: string[];
1769
+ excluded: string[];
1770
+ geographies: string[];
1771
+ attributes: string[];
1772
+ description?: string | undefined;
1773
+ location_selection?: {
1774
+ countries: string[];
1775
+ states: string[];
1776
+ cities: string[];
1777
+ } | undefined;
1778
+ };
1779
+ buyer_groups: {
1780
+ role: string;
1781
+ seniorities: string[];
1782
+ functions: string[];
1783
+ example_titles: string[];
1784
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1785
+ }[];
1786
+ problems: string[];
1787
+ desired_outcomes: string[];
1788
+ objections: string[];
1789
+ qualification_signal_requests: {
1790
+ signal: string;
1791
+ category?: string | undefined;
1792
+ max_age_days?: number | undefined;
1793
+ }[];
1794
+ monitor_signal_templates: {
1795
+ signal: string;
1796
+ category?: string | undefined;
1797
+ max_age_days?: number | undefined;
1798
+ }[];
1799
+ outreach_guidance: {
1800
+ value_themes: string[];
1801
+ personalization_cues: string[];
1802
+ prohibited_angles: string[];
1803
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1804
+ message_style?: {
1805
+ preferred_phrases: string[];
1806
+ prohibited_phrases: string[];
1807
+ positive_examples: string[];
1808
+ negative_examples: string[];
1809
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1810
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1811
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1812
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1813
+ warmth?: "low" | "high" | "medium" | undefined;
1814
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1815
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1816
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1817
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1818
+ locale?: string | undefined;
1819
+ language?: string | undefined;
1820
+ } | undefined;
1821
+ };
1822
+ objection_answers?: {
1823
+ objection: string;
1824
+ answer: string;
1825
+ }[] | undefined;
1826
+ };
1827
+ source: "manual" | "current_form";
1828
+ }, {
1829
+ name: string;
1830
+ definition: {
1831
+ schema_version: 1;
1832
+ product_context: {
1833
+ name?: string | undefined;
1834
+ facts?: {
1835
+ text: string;
1836
+ source_url: string;
1837
+ }[] | undefined;
1838
+ summary?: string | undefined;
1839
+ website_url?: string | undefined;
1840
+ reply_offer?: string | undefined;
1841
+ };
1842
+ company_fit: {
1843
+ required: string[];
1844
+ industries: string[];
1845
+ company_sizes: string[];
1846
+ preferred: string[];
1847
+ excluded: string[];
1848
+ geographies: string[];
1849
+ attributes: string[];
1850
+ description?: string | undefined;
1851
+ location_selection?: {
1852
+ countries: string[];
1853
+ states: string[];
1854
+ cities: string[];
1855
+ } | undefined;
1856
+ };
1857
+ buyer_groups: {
1858
+ role: string;
1859
+ seniorities: string[];
1860
+ functions: string[];
1861
+ example_titles: string[];
1862
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
1863
+ }[];
1864
+ problems: string[];
1865
+ desired_outcomes: string[];
1866
+ objections: string[];
1867
+ qualification_signal_requests: {
1868
+ signal: string;
1869
+ category?: string | undefined;
1870
+ max_age_days?: number | undefined;
1871
+ }[];
1872
+ monitor_signal_templates: {
1873
+ signal: string;
1874
+ category?: string | undefined;
1875
+ max_age_days?: number | undefined;
1876
+ }[];
1877
+ outreach_guidance: {
1878
+ value_themes: string[];
1879
+ personalization_cues: string[];
1880
+ prohibited_angles: string[];
1881
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
1882
+ message_style?: {
1883
+ detail?: "short" | "balanced" | "explanatory" | undefined;
1884
+ formality?: "formal" | "balanced" | "conversational" | undefined;
1885
+ approach?: "direct" | "balanced" | "consultative" | undefined;
1886
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
1887
+ warmth?: "low" | "high" | "medium" | undefined;
1888
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
1889
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
1890
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
1891
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
1892
+ locale?: string | undefined;
1893
+ language?: string | undefined;
1894
+ preferred_phrases?: string[] | undefined;
1895
+ prohibited_phrases?: string[] | undefined;
1896
+ positive_examples?: string[] | undefined;
1897
+ negative_examples?: string[] | undefined;
1898
+ } | undefined;
1899
+ };
1900
+ objection_answers?: {
1901
+ objection: string;
1902
+ answer: string;
1903
+ }[] | undefined;
1904
+ };
1905
+ source?: "manual" | "current_form" | undefined;
1906
+ }>;
1907
+ export declare const updateIcpProfileDraftSchema: z.ZodObject<{
1908
+ draft_revision: z.ZodNumber;
1909
+ definition: z.ZodObject<{
1910
+ schema_version: z.ZodLiteral<1>;
1911
+ product_context: z.ZodObject<{
1912
+ name: z.ZodOptional<z.ZodString>;
1913
+ summary: z.ZodOptional<z.ZodString>;
1914
+ website_url: z.ZodOptional<z.ZodString>;
1915
+ facts: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
1916
+ text: z.ZodEffects<z.ZodString, string, string>;
1917
+ source_url: z.ZodEffects<z.ZodString, string, string>;
1918
+ }, "strict", z.ZodTypeAny, {
1919
+ text: string;
1920
+ source_url: string;
1921
+ }, {
1922
+ text: string;
1923
+ source_url: string;
1924
+ }>, "many">, {
1925
+ text: string;
1926
+ source_url: string;
1927
+ }[], {
1928
+ text: string;
1929
+ source_url: string;
1930
+ }[]>>;
1931
+ reply_offer: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
1932
+ }, "strict", z.ZodTypeAny, {
1933
+ name?: string | undefined;
1934
+ facts?: {
1935
+ text: string;
1936
+ source_url: string;
1937
+ }[] | undefined;
1938
+ summary?: string | undefined;
1939
+ website_url?: string | undefined;
1940
+ reply_offer?: string | undefined;
1941
+ }, {
1942
+ name?: string | undefined;
1943
+ facts?: {
1944
+ text: string;
1945
+ source_url: string;
1946
+ }[] | undefined;
1947
+ summary?: string | undefined;
1948
+ website_url?: string | undefined;
1949
+ reply_offer?: string | undefined;
1950
+ }>;
1951
+ company_fit: z.ZodObject<{
1952
+ description: z.ZodOptional<z.ZodString>;
1953
+ location_selection: z.ZodOptional<z.ZodObject<{
1954
+ countries: z.ZodArray<z.ZodString, "many">;
1955
+ states: z.ZodArray<z.ZodString, "many">;
1956
+ cities: z.ZodArray<z.ZodString, "many">;
1957
+ }, "strict", z.ZodTypeAny, {
1958
+ countries: string[];
1959
+ states: string[];
1960
+ cities: string[];
1961
+ }, {
1962
+ countries: string[];
1963
+ states: string[];
1964
+ cities: string[];
1965
+ }>>;
1966
+ required: z.ZodArray<z.ZodString, "many">;
1967
+ preferred: z.ZodArray<z.ZodString, "many">;
1968
+ excluded: z.ZodArray<z.ZodString, "many">;
1969
+ geographies: z.ZodArray<z.ZodString, "many">;
1970
+ industries: z.ZodArray<z.ZodString, "many">;
1971
+ company_sizes: z.ZodArray<z.ZodString, "many">;
1972
+ attributes: z.ZodArray<z.ZodString, "many">;
1973
+ }, "strict", z.ZodTypeAny, {
1974
+ required: string[];
1975
+ industries: string[];
1976
+ company_sizes: string[];
1977
+ preferred: string[];
1978
+ excluded: string[];
1979
+ geographies: string[];
1980
+ attributes: string[];
1981
+ description?: string | undefined;
1982
+ location_selection?: {
1983
+ countries: string[];
1984
+ states: string[];
1985
+ cities: string[];
1986
+ } | undefined;
1987
+ }, {
1988
+ required: string[];
1989
+ industries: string[];
1990
+ company_sizes: string[];
1991
+ preferred: string[];
1992
+ excluded: string[];
1993
+ geographies: string[];
1994
+ attributes: string[];
1995
+ description?: string | undefined;
1996
+ location_selection?: {
1997
+ countries: string[];
1998
+ states: string[];
1999
+ cities: string[];
2000
+ } | undefined;
2001
+ }>;
2002
+ buyer_groups: z.ZodArray<z.ZodObject<{
2003
+ role: z.ZodString;
2004
+ functions: z.ZodArray<z.ZodString, "many">;
2005
+ seniorities: z.ZodArray<z.ZodString, "many">;
2006
+ example_titles: z.ZodArray<z.ZodString, "many">;
2007
+ buying_influence: z.ZodEnum<["champion", "economic_buyer", "decision_maker", "influencer", "user", "unknown"]>;
2008
+ }, "strict", z.ZodTypeAny, {
2009
+ role: string;
2010
+ seniorities: string[];
2011
+ functions: string[];
2012
+ example_titles: string[];
2013
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
2014
+ }, {
2015
+ role: string;
2016
+ seniorities: string[];
2017
+ functions: string[];
2018
+ example_titles: string[];
2019
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
2020
+ }>, "many">;
2021
+ problems: z.ZodArray<z.ZodString, "many">;
2022
+ desired_outcomes: z.ZodArray<z.ZodString, "many">;
2023
+ objections: z.ZodArray<z.ZodString, "many">;
2024
+ objection_answers: z.ZodOptional<z.ZodEffects<z.ZodArray<z.ZodObject<{
2025
+ objection: z.ZodString;
2026
+ answer: z.ZodString;
2027
+ }, "strict", z.ZodTypeAny, {
2028
+ objection: string;
2029
+ answer: string;
2030
+ }, {
2031
+ objection: string;
2032
+ answer: string;
2033
+ }>, "many">, {
2034
+ objection: string;
2035
+ answer: string;
2036
+ }[], {
2037
+ objection: string;
2038
+ answer: string;
2039
+ }[]>>;
2040
+ qualification_signal_requests: z.ZodArray<z.ZodObject<{
2041
+ signal: z.ZodString;
2042
+ category: z.ZodOptional<z.ZodString>;
2043
+ max_age_days: z.ZodOptional<z.ZodNumber>;
2044
+ }, "strict", z.ZodTypeAny, {
2045
+ signal: string;
2046
+ category?: string | undefined;
2047
+ max_age_days?: number | undefined;
2048
+ }, {
2049
+ signal: string;
2050
+ category?: string | undefined;
2051
+ max_age_days?: number | undefined;
2052
+ }>, "many">;
2053
+ monitor_signal_templates: z.ZodArray<z.ZodObject<{
2054
+ signal: z.ZodString;
2055
+ category: z.ZodOptional<z.ZodString>;
2056
+ max_age_days: z.ZodOptional<z.ZodNumber>;
2057
+ }, "strict", z.ZodTypeAny, {
2058
+ signal: string;
2059
+ category?: string | undefined;
2060
+ max_age_days?: number | undefined;
2061
+ }, {
2062
+ signal: string;
2063
+ category?: string | undefined;
2064
+ max_age_days?: number | undefined;
2065
+ }>, "many">;
2066
+ outreach_guidance: z.ZodObject<{
2067
+ value_themes: z.ZodArray<z.ZodString, "many">;
2068
+ personalization_cues: z.ZodArray<z.ZodString, "many">;
2069
+ prohibited_angles: z.ZodArray<z.ZodString, "many">;
2070
+ supported_cta_types: z.ZodArray<z.ZodEnum<["question", "resource", "referral", "meeting", "trial", "other"]>, "many">;
2071
+ message_style: z.ZodOptional<z.ZodObject<{
2072
+ formality: z.ZodOptional<z.ZodEnum<["formal", "balanced", "conversational"]>>;
2073
+ approach: z.ZodOptional<z.ZodEnum<["direct", "balanced", "consultative"]>>;
2074
+ detail: z.ZodOptional<z.ZodEnum<["short", "balanced", "explanatory"]>>;
2075
+ technical_language: z.ZodOptional<z.ZodEnum<["avoid", "allow", "prefer"]>>;
2076
+ warmth: z.ZodOptional<z.ZodEnum<["low", "medium", "high"]>>;
2077
+ confidence: z.ZodOptional<z.ZodEnum<["restrained", "balanced", "assertive"]>>;
2078
+ punctuation: z.ZodOptional<z.ZodEnum<["restrained", "standard", "expressive"]>>;
2079
+ formatting: z.ZodOptional<z.ZodEnum<["plain_text", "short_paragraphs", "bullets"]>>;
2080
+ email_subject_style: z.ZodOptional<z.ZodEnum<["plain", "topic", "question", "name_drop"]>>;
2081
+ locale: z.ZodOptional<z.ZodString>;
2082
+ language: z.ZodOptional<z.ZodString>;
2083
+ preferred_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2084
+ prohibited_phrases: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2085
+ positive_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2086
+ negative_examples: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2087
+ }, "strict", z.ZodTypeAny, {
2088
+ preferred_phrases: string[];
2089
+ prohibited_phrases: string[];
2090
+ positive_examples: string[];
2091
+ negative_examples: string[];
2092
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2093
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2094
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2095
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2096
+ warmth?: "low" | "high" | "medium" | undefined;
2097
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2098
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2099
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2100
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2101
+ locale?: string | undefined;
2102
+ language?: string | undefined;
2103
+ }, {
2104
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2105
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2106
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2107
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2108
+ warmth?: "low" | "high" | "medium" | undefined;
2109
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2110
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2111
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2112
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2113
+ locale?: string | undefined;
2114
+ language?: string | undefined;
2115
+ preferred_phrases?: string[] | undefined;
2116
+ prohibited_phrases?: string[] | undefined;
2117
+ positive_examples?: string[] | undefined;
2118
+ negative_examples?: string[] | undefined;
2119
+ }>>;
2120
+ }, "strict", z.ZodTypeAny, {
2121
+ value_themes: string[];
2122
+ personalization_cues: string[];
2123
+ prohibited_angles: string[];
2124
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
2125
+ message_style?: {
2126
+ preferred_phrases: string[];
2127
+ prohibited_phrases: string[];
2128
+ positive_examples: string[];
2129
+ negative_examples: string[];
2130
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2131
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2132
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2133
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2134
+ warmth?: "low" | "high" | "medium" | undefined;
2135
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2136
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2137
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2138
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2139
+ locale?: string | undefined;
2140
+ language?: string | undefined;
2141
+ } | undefined;
2142
+ }, {
2143
+ value_themes: string[];
2144
+ personalization_cues: string[];
2145
+ prohibited_angles: string[];
2146
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
2147
+ message_style?: {
2148
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2149
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2150
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2151
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2152
+ warmth?: "low" | "high" | "medium" | undefined;
2153
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2154
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2155
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2156
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2157
+ locale?: string | undefined;
2158
+ language?: string | undefined;
2159
+ preferred_phrases?: string[] | undefined;
2160
+ prohibited_phrases?: string[] | undefined;
2161
+ positive_examples?: string[] | undefined;
2162
+ negative_examples?: string[] | undefined;
2163
+ } | undefined;
2164
+ }>;
2165
+ }, "strict", z.ZodTypeAny, {
2166
+ schema_version: 1;
2167
+ product_context: {
2168
+ name?: string | undefined;
2169
+ facts?: {
2170
+ text: string;
2171
+ source_url: string;
2172
+ }[] | undefined;
2173
+ summary?: string | undefined;
2174
+ website_url?: string | undefined;
2175
+ reply_offer?: string | undefined;
2176
+ };
2177
+ company_fit: {
2178
+ required: string[];
2179
+ industries: string[];
2180
+ company_sizes: string[];
2181
+ preferred: string[];
2182
+ excluded: string[];
2183
+ geographies: string[];
2184
+ attributes: string[];
2185
+ description?: string | undefined;
2186
+ location_selection?: {
2187
+ countries: string[];
2188
+ states: string[];
2189
+ cities: string[];
2190
+ } | undefined;
2191
+ };
2192
+ buyer_groups: {
2193
+ role: string;
2194
+ seniorities: string[];
2195
+ functions: string[];
2196
+ example_titles: string[];
2197
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
2198
+ }[];
2199
+ problems: string[];
2200
+ desired_outcomes: string[];
2201
+ objections: string[];
2202
+ qualification_signal_requests: {
2203
+ signal: string;
2204
+ category?: string | undefined;
2205
+ max_age_days?: number | undefined;
2206
+ }[];
2207
+ monitor_signal_templates: {
2208
+ signal: string;
2209
+ category?: string | undefined;
2210
+ max_age_days?: number | undefined;
2211
+ }[];
2212
+ outreach_guidance: {
2213
+ value_themes: string[];
2214
+ personalization_cues: string[];
2215
+ prohibited_angles: string[];
2216
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
2217
+ message_style?: {
2218
+ preferred_phrases: string[];
2219
+ prohibited_phrases: string[];
2220
+ positive_examples: string[];
2221
+ negative_examples: string[];
2222
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2223
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2224
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2225
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2226
+ warmth?: "low" | "high" | "medium" | undefined;
2227
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2228
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2229
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2230
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2231
+ locale?: string | undefined;
2232
+ language?: string | undefined;
2233
+ } | undefined;
2234
+ };
2235
+ objection_answers?: {
2236
+ objection: string;
2237
+ answer: string;
2238
+ }[] | undefined;
2239
+ }, {
2240
+ schema_version: 1;
2241
+ product_context: {
2242
+ name?: string | undefined;
2243
+ facts?: {
2244
+ text: string;
2245
+ source_url: string;
2246
+ }[] | undefined;
2247
+ summary?: string | undefined;
2248
+ website_url?: string | undefined;
2249
+ reply_offer?: string | undefined;
2250
+ };
2251
+ company_fit: {
2252
+ required: string[];
2253
+ industries: string[];
2254
+ company_sizes: string[];
2255
+ preferred: string[];
2256
+ excluded: string[];
2257
+ geographies: string[];
2258
+ attributes: string[];
2259
+ description?: string | undefined;
2260
+ location_selection?: {
2261
+ countries: string[];
2262
+ states: string[];
2263
+ cities: string[];
2264
+ } | undefined;
2265
+ };
2266
+ buyer_groups: {
2267
+ role: string;
2268
+ seniorities: string[];
2269
+ functions: string[];
2270
+ example_titles: string[];
2271
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
2272
+ }[];
2273
+ problems: string[];
2274
+ desired_outcomes: string[];
2275
+ objections: string[];
2276
+ qualification_signal_requests: {
2277
+ signal: string;
2278
+ category?: string | undefined;
2279
+ max_age_days?: number | undefined;
2280
+ }[];
2281
+ monitor_signal_templates: {
2282
+ signal: string;
2283
+ category?: string | undefined;
2284
+ max_age_days?: number | undefined;
2285
+ }[];
2286
+ outreach_guidance: {
2287
+ value_themes: string[];
2288
+ personalization_cues: string[];
2289
+ prohibited_angles: string[];
2290
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
2291
+ message_style?: {
2292
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2293
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2294
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2295
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2296
+ warmth?: "low" | "high" | "medium" | undefined;
2297
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2298
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2299
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2300
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2301
+ locale?: string | undefined;
2302
+ language?: string | undefined;
2303
+ preferred_phrases?: string[] | undefined;
2304
+ prohibited_phrases?: string[] | undefined;
2305
+ positive_examples?: string[] | undefined;
2306
+ negative_examples?: string[] | undefined;
2307
+ } | undefined;
2308
+ };
2309
+ objection_answers?: {
2310
+ objection: string;
2311
+ answer: string;
2312
+ }[] | undefined;
2313
+ }>;
2314
+ suggestions: z.ZodArray<z.ZodObject<{
2315
+ path: z.ZodString;
2316
+ value: z.ZodUnknown;
2317
+ state: z.ZodEnum<["suggested", "confirmed", "rejected", "unsupported", "user_asserted"]>;
2318
+ sources: z.ZodArray<z.ZodObject<{
2319
+ type: z.ZodEnum<["website_scan", "user", "request", "import", "workspace_profile"]>;
2320
+ reference_id: z.ZodOptional<z.ZodString>;
2321
+ url: z.ZodOptional<z.ZodString>;
2322
+ observed_at: z.ZodOptional<z.ZodString>;
2323
+ }, "strict", z.ZodTypeAny, {
2324
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
2325
+ url?: string | undefined;
2326
+ reference_id?: string | undefined;
2327
+ observed_at?: string | undefined;
2328
+ }, {
2329
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
2330
+ url?: string | undefined;
2331
+ reference_id?: string | undefined;
2332
+ observed_at?: string | undefined;
2333
+ }>, "many">;
2334
+ }, "strict", z.ZodTypeAny, {
2335
+ state: "confirmed" | "unsupported" | "suggested" | "rejected" | "user_asserted";
2336
+ path: string;
2337
+ sources: {
2338
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
2339
+ url?: string | undefined;
2340
+ reference_id?: string | undefined;
2341
+ observed_at?: string | undefined;
2342
+ }[];
2343
+ value?: unknown;
2344
+ }, {
2345
+ state: "confirmed" | "unsupported" | "suggested" | "rejected" | "user_asserted";
2346
+ path: string;
2347
+ sources: {
2348
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
2349
+ url?: string | undefined;
2350
+ reference_id?: string | undefined;
2351
+ observed_at?: string | undefined;
2352
+ }[];
2353
+ value?: unknown;
2354
+ }>, "many">;
2355
+ provenance: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2356
+ }, "strict", z.ZodTypeAny, {
2357
+ definition: {
2358
+ schema_version: 1;
2359
+ product_context: {
2360
+ name?: string | undefined;
2361
+ facts?: {
2362
+ text: string;
2363
+ source_url: string;
2364
+ }[] | undefined;
2365
+ summary?: string | undefined;
2366
+ website_url?: string | undefined;
2367
+ reply_offer?: string | undefined;
2368
+ };
2369
+ company_fit: {
2370
+ required: string[];
2371
+ industries: string[];
2372
+ company_sizes: string[];
2373
+ preferred: string[];
2374
+ excluded: string[];
2375
+ geographies: string[];
2376
+ attributes: string[];
2377
+ description?: string | undefined;
2378
+ location_selection?: {
2379
+ countries: string[];
2380
+ states: string[];
2381
+ cities: string[];
2382
+ } | undefined;
2383
+ };
2384
+ buyer_groups: {
2385
+ role: string;
2386
+ seniorities: string[];
2387
+ functions: string[];
2388
+ example_titles: string[];
2389
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
2390
+ }[];
2391
+ problems: string[];
2392
+ desired_outcomes: string[];
2393
+ objections: string[];
2394
+ qualification_signal_requests: {
2395
+ signal: string;
2396
+ category?: string | undefined;
2397
+ max_age_days?: number | undefined;
2398
+ }[];
2399
+ monitor_signal_templates: {
2400
+ signal: string;
2401
+ category?: string | undefined;
2402
+ max_age_days?: number | undefined;
2403
+ }[];
2404
+ outreach_guidance: {
2405
+ value_themes: string[];
2406
+ personalization_cues: string[];
2407
+ prohibited_angles: string[];
2408
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
2409
+ message_style?: {
2410
+ preferred_phrases: string[];
2411
+ prohibited_phrases: string[];
2412
+ positive_examples: string[];
2413
+ negative_examples: string[];
2414
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2415
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2416
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2417
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2418
+ warmth?: "low" | "high" | "medium" | undefined;
2419
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2420
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2421
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2422
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2423
+ locale?: string | undefined;
2424
+ language?: string | undefined;
2425
+ } | undefined;
2426
+ };
2427
+ objection_answers?: {
2428
+ objection: string;
2429
+ answer: string;
2430
+ }[] | undefined;
2431
+ };
2432
+ draft_revision: number;
2433
+ suggestions: {
2434
+ state: "confirmed" | "unsupported" | "suggested" | "rejected" | "user_asserted";
2435
+ path: string;
2436
+ sources: {
2437
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
2438
+ url?: string | undefined;
2439
+ reference_id?: string | undefined;
2440
+ observed_at?: string | undefined;
2441
+ }[];
2442
+ value?: unknown;
2443
+ }[];
2444
+ provenance: Record<string, unknown>;
2445
+ }, {
2446
+ definition: {
2447
+ schema_version: 1;
2448
+ product_context: {
2449
+ name?: string | undefined;
2450
+ facts?: {
2451
+ text: string;
2452
+ source_url: string;
2453
+ }[] | undefined;
2454
+ summary?: string | undefined;
2455
+ website_url?: string | undefined;
2456
+ reply_offer?: string | undefined;
2457
+ };
2458
+ company_fit: {
2459
+ required: string[];
2460
+ industries: string[];
2461
+ company_sizes: string[];
2462
+ preferred: string[];
2463
+ excluded: string[];
2464
+ geographies: string[];
2465
+ attributes: string[];
2466
+ description?: string | undefined;
2467
+ location_selection?: {
2468
+ countries: string[];
2469
+ states: string[];
2470
+ cities: string[];
2471
+ } | undefined;
2472
+ };
2473
+ buyer_groups: {
2474
+ role: string;
2475
+ seniorities: string[];
2476
+ functions: string[];
2477
+ example_titles: string[];
2478
+ buying_influence: "user" | "unknown" | "champion" | "economic_buyer" | "decision_maker" | "influencer";
2479
+ }[];
2480
+ problems: string[];
2481
+ desired_outcomes: string[];
2482
+ objections: string[];
2483
+ qualification_signal_requests: {
2484
+ signal: string;
2485
+ category?: string | undefined;
2486
+ max_age_days?: number | undefined;
2487
+ }[];
2488
+ monitor_signal_templates: {
2489
+ signal: string;
2490
+ category?: string | undefined;
2491
+ max_age_days?: number | undefined;
2492
+ }[];
2493
+ outreach_guidance: {
2494
+ value_themes: string[];
2495
+ personalization_cues: string[];
2496
+ prohibited_angles: string[];
2497
+ supported_cta_types: ("meeting" | "question" | "referral" | "resource" | "other" | "trial")[];
2498
+ message_style?: {
2499
+ detail?: "short" | "balanced" | "explanatory" | undefined;
2500
+ formality?: "formal" | "balanced" | "conversational" | undefined;
2501
+ approach?: "direct" | "balanced" | "consultative" | undefined;
2502
+ technical_language?: "avoid" | "allow" | "prefer" | undefined;
2503
+ warmth?: "low" | "high" | "medium" | undefined;
2504
+ confidence?: "balanced" | "restrained" | "assertive" | undefined;
2505
+ punctuation?: "standard" | "restrained" | "expressive" | undefined;
2506
+ formatting?: "plain_text" | "short_paragraphs" | "bullets" | undefined;
2507
+ email_subject_style?: "question" | "topic" | "name_drop" | "plain" | undefined;
2508
+ locale?: string | undefined;
2509
+ language?: string | undefined;
2510
+ preferred_phrases?: string[] | undefined;
2511
+ prohibited_phrases?: string[] | undefined;
2512
+ positive_examples?: string[] | undefined;
2513
+ negative_examples?: string[] | undefined;
2514
+ } | undefined;
2515
+ };
2516
+ objection_answers?: {
2517
+ objection: string;
2518
+ answer: string;
2519
+ }[] | undefined;
2520
+ };
2521
+ draft_revision: number;
2522
+ suggestions: {
2523
+ state: "confirmed" | "unsupported" | "suggested" | "rejected" | "user_asserted";
2524
+ path: string;
2525
+ sources: {
2526
+ type: "user" | "request" | "website_scan" | "import" | "workspace_profile";
2527
+ url?: string | undefined;
2528
+ reference_id?: string | undefined;
2529
+ observed_at?: string | undefined;
2530
+ }[];
2531
+ value?: unknown;
2532
+ }[];
2533
+ provenance: Record<string, unknown>;
2534
+ }>;
2535
+ export declare const publishIcpProfileSchema: z.ZodObject<{
2536
+ draft_revision: z.ZodNumber;
2537
+ expected_current_version_id: z.ZodNullable<z.ZodString>;
2538
+ }, "strict", z.ZodTypeAny, {
2539
+ expected_current_version_id: string | null;
2540
+ draft_revision: number;
2541
+ }, {
2542
+ expected_current_version_id: string | null;
2543
+ draft_revision: number;
2544
+ }>;
2545
+ export declare const promoteIcpProfileOverridesSchema: z.ZodObject<Omit<{
2546
+ profile_id: z.ZodString;
2547
+ profile_version_id: z.ZodString;
2548
+ surface: z.ZodEnum<["lead_request", "import", "outreach", "network", "intent_monitor"]>;
2549
+ overrides: z.ZodDefault<z.ZodArray<z.ZodObject<{
2550
+ path: z.ZodString;
2551
+ value: z.ZodUnknown;
2552
+ }, "strict", z.ZodTypeAny, {
2553
+ path: string;
2554
+ value?: unknown;
2555
+ }, {
2556
+ path: string;
2557
+ value?: unknown;
2558
+ }>, "many">>;
2559
+ scope: z.ZodOptional<z.ZodLiteral<"audience">>;
2560
+ product_selection: z.ZodOptional<z.ZodObject<{
2561
+ id: z.ZodString;
2562
+ icp_id: z.ZodString;
2563
+ icp_version_id: z.ZodString;
2564
+ product_id: z.ZodString;
2565
+ product_version_id: z.ZodString;
2566
+ link_id: z.ZodString;
2567
+ link_version_id: z.ZodString;
2568
+ }, "strict", z.ZodTypeAny, {
2569
+ id: string;
2570
+ icp_id: string;
2571
+ icp_version_id: string;
2572
+ product_id: string;
2573
+ product_version_id: string;
2574
+ link_id: string;
2575
+ link_version_id: string;
2576
+ }, {
2577
+ id: string;
2578
+ icp_id: string;
2579
+ icp_version_id: string;
2580
+ product_id: string;
2581
+ product_version_id: string;
2582
+ link_id: string;
2583
+ link_version_id: string;
2584
+ }>>;
2585
+ }, "scope"> & {
2586
+ expected_current_version_id: z.ZodString;
2587
+ }, "strict", z.ZodTypeAny, {
2588
+ profile_id: string;
2589
+ profile_version_id: string;
2590
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
2591
+ overrides: {
2592
+ path: string;
2593
+ value?: unknown;
2594
+ }[];
2595
+ expected_current_version_id: string;
2596
+ product_selection?: {
2597
+ id: string;
2598
+ icp_id: string;
2599
+ icp_version_id: string;
2600
+ product_id: string;
2601
+ product_version_id: string;
2602
+ link_id: string;
2603
+ link_version_id: string;
2604
+ } | undefined;
2605
+ }, {
2606
+ profile_id: string;
2607
+ profile_version_id: string;
2608
+ surface: "outreach" | "network" | "import" | "lead_request" | "intent_monitor";
2609
+ expected_current_version_id: string;
2610
+ overrides?: {
2611
+ path: string;
2612
+ value?: unknown;
2613
+ }[] | undefined;
2614
+ product_selection?: {
2615
+ id: string;
2616
+ icp_id: string;
2617
+ icp_version_id: string;
2618
+ product_id: string;
2619
+ product_version_id: string;
2620
+ link_id: string;
2621
+ link_version_id: string;
2622
+ } | undefined;
2623
+ }>;
2624
+ export type IcpProfileApplyPreviewInput = z.infer<typeof icpProfileApplyPreviewInputSchema>;
2625
+ export type IcpProfileApplyPreview = z.infer<typeof icpProfileApplyPreviewSchema>;