@cognilead/mcp-server 0.1.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +27 -15
- package/dist/api-client.d.ts +3 -1
- package/dist/api-client.d.ts.map +1 -1
- package/dist/api-client.js +8 -2
- package/dist/api-client.js.map +1 -1
- package/dist/auth.js +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +127 -12
- package/dist/index.js.map +1 -1
- package/dist/prompts.d.ts +24 -0
- package/dist/prompts.d.ts.map +1 -0
- package/dist/prompts.js +99 -0
- package/dist/prompts.js.map +1 -0
- package/dist/rate-limit.d.ts.map +1 -1
- package/dist/rate-limit.js +0 -1
- package/dist/rate-limit.js.map +1 -1
- package/dist/resources.d.ts +15 -0
- package/dist/resources.d.ts.map +1 -0
- package/dist/resources.js +75 -0
- package/dist/resources.js.map +1 -0
- package/dist/schemas.d.ts +152 -49
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +98 -20
- package/dist/schemas.js.map +1 -1
- package/dist/tools/check-deliverability.d.ts +2 -0
- package/dist/tools/check-deliverability.d.ts.map +1 -0
- package/dist/tools/check-deliverability.js +165 -0
- package/dist/tools/check-deliverability.js.map +1 -0
- package/dist/tools/create-topup-link.d.ts +2 -0
- package/dist/tools/create-topup-link.d.ts.map +1 -0
- package/dist/tools/create-topup-link.js +15 -0
- package/dist/tools/create-topup-link.js.map +1 -0
- package/dist/tools/get-billing-usage.d.ts +2 -0
- package/dist/tools/get-billing-usage.d.ts.map +1 -0
- package/dist/tools/get-billing-usage.js +12 -0
- package/dist/tools/get-billing-usage.js.map +1 -0
- package/dist/tools/get-deliverability.d.ts +2 -0
- package/dist/tools/get-deliverability.d.ts.map +1 -0
- package/dist/tools/get-deliverability.js +12 -0
- package/dist/tools/get-deliverability.js.map +1 -0
- package/dist/tools/get-subscription.d.ts +2 -0
- package/dist/tools/get-subscription.d.ts.map +1 -0
- package/dist/tools/get-subscription.js +12 -0
- package/dist/tools/get-subscription.js.map +1 -0
- package/dist/tools/health.d.ts +2 -0
- package/dist/tools/health.d.ts.map +1 -0
- package/dist/tools/health.js +12 -0
- package/dist/tools/health.js.map +1 -0
- package/dist/tools/ingest-lead.js +1 -1
- package/dist/tools/ingest-lead.js.map +1 -1
- package/dist/tools/list-api-keys.d.ts +2 -0
- package/dist/tools/list-api-keys.d.ts.map +1 -0
- package/dist/tools/list-api-keys.js +13 -0
- package/dist/tools/list-api-keys.js.map +1 -0
- package/dist/tools/list-leads.d.ts +2 -0
- package/dist/tools/list-leads.d.ts.map +1 -0
- package/dist/tools/list-leads.js +19 -0
- package/dist/tools/list-leads.js.map +1 -0
- package/dist/tools/list-sends.d.ts +2 -0
- package/dist/tools/list-sends.d.ts.map +1 -0
- package/dist/tools/list-sends.js +18 -0
- package/dist/tools/list-sends.js.map +1 -0
- package/dist/tools/list-suppressions.d.ts +2 -0
- package/dist/tools/list-suppressions.d.ts.map +1 -0
- package/dist/tools/list-suppressions.js +19 -0
- package/dist/tools/list-suppressions.js.map +1 -0
- package/dist/tools/list-webhooks.d.ts +2 -0
- package/dist/tools/list-webhooks.d.ts.map +1 -0
- package/dist/tools/list-webhooks.js +12 -0
- package/dist/tools/list-webhooks.js.map +1 -0
- package/dist/tools/run-campaign.d.ts.map +1 -1
- package/dist/tools/run-campaign.js +8 -2
- package/dist/tools/run-campaign.js.map +1 -1
- package/dist/tools/score-signal.d.ts.map +1 -1
- package/dist/tools/score-signal.js +0 -1
- package/dist/tools/score-signal.js.map +1 -1
- package/package.json +4 -3
- package/dist/tools/check-registry-flags.d.ts +0 -2
- package/dist/tools/check-registry-flags.d.ts.map +0 -1
- package/dist/tools/check-registry-flags.js +0 -31
- package/dist/tools/check-registry-flags.js.map +0 -1
- package/dist/tools/evidence-export.d.ts +0 -7
- package/dist/tools/evidence-export.d.ts.map +0 -1
- package/dist/tools/evidence-export.js +0 -42
- package/dist/tools/evidence-export.js.map +0 -1
- package/dist/tools/find-companies-with-triggers.d.ts +0 -2
- package/dist/tools/find-companies-with-triggers.d.ts.map +0 -1
- package/dist/tools/find-companies-with-triggers.js +0 -29
- package/dist/tools/find-companies-with-triggers.js.map +0 -1
- package/dist/tools/generate-seo-content.d.ts +0 -2
- package/dist/tools/generate-seo-content.d.ts.map +0 -1
- package/dist/tools/generate-seo-content.js +0 -14
- package/dist/tools/generate-seo-content.js.map +0 -1
- package/dist/tools/get-business-sheet.d.ts +0 -2
- package/dist/tools/get-business-sheet.d.ts.map +0 -1
- package/dist/tools/get-business-sheet.js +0 -24
- package/dist/tools/get-business-sheet.js.map +0 -1
- package/dist/tools/rank-companies-in-vertical.d.ts +0 -2
- package/dist/tools/rank-companies-in-vertical.d.ts.map +0 -1
- package/dist/tools/rank-companies-in-vertical.js +0 -33
- package/dist/tools/rank-companies-in-vertical.js.map +0 -1
- package/dist/tools/score-dd-risk.d.ts +0 -2
- package/dist/tools/score-dd-risk.d.ts.map +0 -1
- package/dist/tools/score-dd-risk.js +0 -22
- package/dist/tools/score-dd-risk.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"resources.js","sourceRoot":"","sources":["../src/resources.ts"],"names":[],"mappings":"AAAA,8DAA8D;AAC9D,EAAE;AACF,4EAA4E;AAC5E,6EAA6E;AAC7E,8EAA8E;AAC9E,8EAA8E;AAC9E,eAAe;AAEf,OAAO,EAAE,MAAM,EAAE,MAAM,iBAAiB,CAAA;AASxC,MAAM,CAAC,MAAM,SAAS,GAAkB;IACtC;QACE,GAAG,EAAE,kBAAkB;QACvB,IAAI,EAAE,+BAA+B;QACrC,WAAW,EACT,6JAA6J;QAC/J,QAAQ,EAAE,kBAAkB;KAC7B;IACD;QACE,GAAG,EAAE,0BAA0B;QAC/B,IAAI,EAAE,cAAc;QACpB,WAAW,EACT,+IAA+I;QACjJ,QAAQ,EAAE,kBAAkB;KAC7B;IACD;QACE,GAAG,EAAE,0BAA0B;QAC/B,IAAI,EAAE,kBA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AAC,sBAAsB,CAAC,CAAC,CAAA;QAC1D,KAAK,4BAA4B;YAC/B,OAAO,MAAM,CAAC,GAAG,EAAE,MAAM,MAAM,CAAC,2BAA2B,CAAC,CAAC,CAAA;QAC/D;YACE,MAAM,IAAI,KAAK,CAAC,yBAAyB,GAAG,EAAE,CAAC,CAAA;IACnD,CAAC;AACH,CAAC"}
|
package/dist/schemas.d.ts
CHANGED
|
@@ -59,7 +59,7 @@ export declare const DraftPitchJsonSchema: {
|
|
|
59
59
|
};
|
|
60
60
|
readonly target_product: {
|
|
61
61
|
readonly type: "string";
|
|
62
|
-
readonly description: "Your product being pitched, e.g.
|
|
62
|
+
readonly description: "Your product being pitched, e.g. payprimitives, medisuisse";
|
|
63
63
|
};
|
|
64
64
|
readonly signal: {
|
|
65
65
|
readonly type: "object";
|
|
@@ -179,8 +179,11 @@ export declare const IngestLeadInput: z.ZodObject<{
|
|
|
179
179
|
jurisdiction: z.ZodString;
|
|
180
180
|
technical_hook_text: z.ZodNullable<z.ZodString>;
|
|
181
181
|
technical_hook_verified: z.ZodBoolean;
|
|
182
|
-
signal_ids: z.ZodArray<z.ZodString, "many">;
|
|
183
182
|
fit_score: z.ZodNullable<z.ZodNumber>;
|
|
183
|
+
campaign_id: z.ZodOptional<z.ZodString>;
|
|
184
|
+
context: z.ZodOptional<z.ZodString>;
|
|
185
|
+
/** Opt into the PAID enrichment step — see IngestLeadJsonSchema. */
|
|
186
|
+
enrich: z.ZodOptional<z.ZodBoolean>;
|
|
184
187
|
}, "strip", z.ZodTypeAny, {
|
|
185
188
|
company_domain: string;
|
|
186
189
|
company_name: string;
|
|
@@ -190,8 +193,10 @@ export declare const IngestLeadInput: z.ZodObject<{
|
|
|
190
193
|
contact_role_class: "unknown" | "eng_lead" | "cto" | "founder" | "recruit" | null;
|
|
191
194
|
technical_hook_text: string | null;
|
|
192
195
|
technical_hook_verified: boolean;
|
|
193
|
-
signal_ids: string[];
|
|
194
196
|
fit_score: number | null;
|
|
197
|
+
campaign_id?: string | undefined;
|
|
198
|
+
context?: string | undefined;
|
|
199
|
+
enrich?: boolean | undefined;
|
|
195
200
|
}, {
|
|
196
201
|
company_domain: string;
|
|
197
202
|
company_name: string;
|
|
@@ -201,13 +206,15 @@ export declare const IngestLeadInput: z.ZodObject<{
|
|
|
201
206
|
contact_role_class: "unknown" | "eng_lead" | "cto" | "founder" | "recruit" | null;
|
|
202
207
|
technical_hook_text: string | null;
|
|
203
208
|
technical_hook_verified: boolean;
|
|
204
|
-
signal_ids: string[];
|
|
205
209
|
fit_score: number | null;
|
|
210
|
+
campaign_id?: string | undefined;
|
|
211
|
+
context?: string | undefined;
|
|
212
|
+
enrich?: boolean | undefined;
|
|
206
213
|
}>;
|
|
207
214
|
export type IngestLeadInput = z.infer<typeof IngestLeadInput>;
|
|
208
215
|
export declare const IngestLeadJsonSchema: {
|
|
209
216
|
readonly type: "object";
|
|
210
|
-
readonly required: readonly ["company_domain", "company_name", "target_product", "best_contact_email", "contact_role_class", "jurisdiction", "technical_hook_text", "technical_hook_verified", "
|
|
217
|
+
readonly required: readonly ["company_domain", "company_name", "target_product", "best_contact_email", "contact_role_class", "jurisdiction", "technical_hook_text", "technical_hook_verified", "fit_score"];
|
|
211
218
|
readonly properties: {
|
|
212
219
|
readonly company_domain: {
|
|
213
220
|
readonly type: "string";
|
|
@@ -240,17 +247,25 @@ export declare const IngestLeadJsonSchema: {
|
|
|
240
247
|
readonly technical_hook_verified: {
|
|
241
248
|
readonly type: "boolean";
|
|
242
249
|
};
|
|
243
|
-
readonly signal_ids: {
|
|
244
|
-
readonly type: "array";
|
|
245
|
-
readonly items: {
|
|
246
|
-
readonly type: "string";
|
|
247
|
-
};
|
|
248
|
-
};
|
|
249
250
|
readonly fit_score: {
|
|
250
251
|
readonly type: readonly ["integer", "null"];
|
|
251
252
|
readonly minimum: 0;
|
|
252
253
|
readonly maximum: 100;
|
|
253
254
|
};
|
|
255
|
+
readonly campaign_id: {
|
|
256
|
+
readonly type: "string";
|
|
257
|
+
readonly minLength: 1;
|
|
258
|
+
readonly description: "Continue past registration into personalize → dispatch.";
|
|
259
|
+
};
|
|
260
|
+
readonly context: {
|
|
261
|
+
readonly type: "string";
|
|
262
|
+
readonly maxLength: 4000;
|
|
263
|
+
readonly description: "Free-text \"why now\" note the pitch must cite.";
|
|
264
|
+
};
|
|
265
|
+
readonly enrich: {
|
|
266
|
+
readonly type: "boolean";
|
|
267
|
+
readonly description: "Opt into the PAID enrichment step: CogniLead buys the \"why now\" fact from an enrichment vendor when you have no context of your own. Billed per enriched lead, and only on a citable result — a miss costs nothing. Returns 503 enrichment_unavailable if no provider is configured.";
|
|
268
|
+
};
|
|
254
269
|
};
|
|
255
270
|
readonly additionalProperties: false;
|
|
256
271
|
};
|
|
@@ -324,61 +339,149 @@ export declare const SuppressJsonSchema: {
|
|
|
324
339
|
readonly additionalProperties: false;
|
|
325
340
|
readonly description: "Either email or domain must be provided.";
|
|
326
341
|
};
|
|
327
|
-
export declare const
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
topic: z.ZodString;
|
|
331
|
-
target_keywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
332
|
-
audience: z.ZodOptional<z.ZodString>;
|
|
333
|
-
existing_content: z.ZodOptional<z.ZodString>;
|
|
342
|
+
export declare const CreateTopupLinkInput: z.ZodObject<{
|
|
343
|
+
customer_id: z.ZodString;
|
|
344
|
+
amount_usd: z.ZodNumber;
|
|
334
345
|
}, "strip", z.ZodTypeAny, {
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
topic: string;
|
|
338
|
-
target_keywords?: string[] | undefined;
|
|
339
|
-
audience?: string | undefined;
|
|
340
|
-
existing_content?: string | undefined;
|
|
346
|
+
customer_id: string;
|
|
347
|
+
amount_usd: number;
|
|
341
348
|
}, {
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
topic: string;
|
|
345
|
-
target_keywords?: string[] | undefined;
|
|
346
|
-
audience?: string | undefined;
|
|
347
|
-
existing_content?: string | undefined;
|
|
349
|
+
customer_id: string;
|
|
350
|
+
amount_usd: number;
|
|
348
351
|
}>;
|
|
349
|
-
export type
|
|
350
|
-
export declare const
|
|
352
|
+
export type CreateTopupLinkInput = z.infer<typeof CreateTopupLinkInput>;
|
|
353
|
+
export declare const CreateTopupLinkJsonSchema: {
|
|
351
354
|
readonly type: "object";
|
|
352
|
-
readonly required: readonly ["
|
|
355
|
+
readonly required: readonly ["customer_id", "amount_usd"];
|
|
353
356
|
readonly properties: {
|
|
354
|
-
readonly
|
|
357
|
+
readonly customer_id: {
|
|
355
358
|
readonly type: "string";
|
|
356
|
-
readonly
|
|
359
|
+
readonly minLength: 1;
|
|
360
|
+
readonly description: "The end-customer id (e.g. 'cus_...').";
|
|
357
361
|
};
|
|
358
|
-
readonly
|
|
362
|
+
readonly amount_usd: {
|
|
363
|
+
readonly type: "number";
|
|
364
|
+
readonly exclusiveMinimum: 0;
|
|
365
|
+
readonly description: "Top-up amount in USD (1–100000).";
|
|
366
|
+
};
|
|
367
|
+
};
|
|
368
|
+
readonly additionalProperties: false;
|
|
369
|
+
};
|
|
370
|
+
export declare const CheckDeliverabilityInput: z.ZodObject<{
|
|
371
|
+
domain: z.ZodString;
|
|
372
|
+
}, "strip", z.ZodTypeAny, {
|
|
373
|
+
domain: string;
|
|
374
|
+
}, {
|
|
375
|
+
domain: string;
|
|
376
|
+
}>;
|
|
377
|
+
export type CheckDeliverabilityInput = z.infer<typeof CheckDeliverabilityInput>;
|
|
378
|
+
export declare const CheckDeliverabilityJsonSchema: {
|
|
379
|
+
readonly type: "object";
|
|
380
|
+
readonly required: readonly ["domain"];
|
|
381
|
+
readonly properties: {
|
|
382
|
+
readonly domain: {
|
|
359
383
|
readonly type: "string";
|
|
360
|
-
readonly minLength:
|
|
361
|
-
readonly description: "
|
|
384
|
+
readonly minLength: 3;
|
|
385
|
+
readonly description: "Bare domain to check, e.g. acme.com (no protocol, no path).";
|
|
362
386
|
};
|
|
363
|
-
|
|
387
|
+
};
|
|
388
|
+
readonly additionalProperties: false;
|
|
389
|
+
};
|
|
390
|
+
export declare const ListLeadsInput: z.ZodObject<{
|
|
391
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
392
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
393
|
+
}, "strip", z.ZodTypeAny, {
|
|
394
|
+
limit?: number | undefined;
|
|
395
|
+
cursor?: string | undefined;
|
|
396
|
+
}, {
|
|
397
|
+
limit?: number | undefined;
|
|
398
|
+
cursor?: string | undefined;
|
|
399
|
+
}>;
|
|
400
|
+
export type ListLeadsInput = z.infer<typeof ListLeadsInput>;
|
|
401
|
+
export declare const ListLeadsJsonSchema: {
|
|
402
|
+
readonly type: "object";
|
|
403
|
+
readonly properties: {
|
|
404
|
+
readonly limit: {
|
|
405
|
+
readonly type: "integer";
|
|
406
|
+
readonly minimum: 1;
|
|
407
|
+
readonly maximum: 200;
|
|
408
|
+
readonly description: "Max rows to return (default server-side).";
|
|
409
|
+
};
|
|
410
|
+
readonly cursor: {
|
|
364
411
|
readonly type: "string";
|
|
365
|
-
readonly
|
|
366
|
-
readonly description: "Primary topic or page intent.";
|
|
412
|
+
readonly description: "Opaque cursor from a prior response next_cursor.";
|
|
367
413
|
};
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
414
|
+
};
|
|
415
|
+
readonly additionalProperties: false;
|
|
416
|
+
};
|
|
417
|
+
export declare const ListSendsInput: z.ZodObject<{
|
|
418
|
+
lead_id: z.ZodString;
|
|
419
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
420
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
421
|
+
}, "strip", z.ZodTypeAny, {
|
|
422
|
+
lead_id: string;
|
|
423
|
+
limit?: number | undefined;
|
|
424
|
+
cursor?: string | undefined;
|
|
425
|
+
}, {
|
|
426
|
+
lead_id: string;
|
|
427
|
+
limit?: number | undefined;
|
|
428
|
+
cursor?: string | undefined;
|
|
429
|
+
}>;
|
|
430
|
+
export type ListSendsInput = z.infer<typeof ListSendsInput>;
|
|
431
|
+
export declare const ListSendsJsonSchema: {
|
|
432
|
+
readonly type: "object";
|
|
433
|
+
readonly required: readonly ["lead_id"];
|
|
434
|
+
readonly properties: {
|
|
435
|
+
readonly limit: {
|
|
436
|
+
readonly type: "integer";
|
|
437
|
+
readonly minimum: 1;
|
|
438
|
+
readonly maximum: 200;
|
|
439
|
+
readonly description: "Max rows to return (default server-side).";
|
|
373
440
|
};
|
|
374
|
-
readonly
|
|
441
|
+
readonly cursor: {
|
|
375
442
|
readonly type: "string";
|
|
443
|
+
readonly description: "Opaque cursor from a prior response next_cursor.";
|
|
376
444
|
};
|
|
377
|
-
readonly
|
|
445
|
+
readonly lead_id: {
|
|
378
446
|
readonly type: "string";
|
|
379
|
-
readonly
|
|
447
|
+
readonly minLength: 1;
|
|
448
|
+
readonly description: "Lead id to list sends for.";
|
|
380
449
|
};
|
|
381
450
|
};
|
|
382
451
|
readonly additionalProperties: false;
|
|
383
452
|
};
|
|
453
|
+
export declare const ListSuppressionsInput: z.ZodObject<{
|
|
454
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
455
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
456
|
+
}, "strip", z.ZodTypeAny, {
|
|
457
|
+
limit?: number | undefined;
|
|
458
|
+
cursor?: string | undefined;
|
|
459
|
+
}, {
|
|
460
|
+
limit?: number | undefined;
|
|
461
|
+
cursor?: string | undefined;
|
|
462
|
+
}>;
|
|
463
|
+
export type ListSuppressionsInput = z.infer<typeof ListSuppressionsInput>;
|
|
464
|
+
export declare const ListSuppressionsJsonSchema: {
|
|
465
|
+
readonly type: "object";
|
|
466
|
+
readonly properties: {
|
|
467
|
+
readonly limit: {
|
|
468
|
+
readonly type: "integer";
|
|
469
|
+
readonly minimum: 1;
|
|
470
|
+
readonly maximum: 200;
|
|
471
|
+
readonly description: "Max rows to return (default server-side).";
|
|
472
|
+
};
|
|
473
|
+
readonly cursor: {
|
|
474
|
+
readonly type: "string";
|
|
475
|
+
readonly description: "Opaque cursor from a prior response next_cursor.";
|
|
476
|
+
};
|
|
477
|
+
};
|
|
478
|
+
readonly additionalProperties: false;
|
|
479
|
+
};
|
|
480
|
+
export declare const EmptyInput: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
481
|
+
export type EmptyInput = z.infer<typeof EmptyInput>;
|
|
482
|
+
export declare const EmptyJsonSchema: {
|
|
483
|
+
readonly type: "object";
|
|
484
|
+
readonly properties: {};
|
|
485
|
+
readonly additionalProperties: false;
|
|
486
|
+
};
|
|
384
487
|
//# sourceMappingURL=schemas.d.ts.map
|
package/dist/schemas.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAevB,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM1B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AAE7D,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA6BvB,CAAA;AAIV,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAM3B,CAAA;AACF,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAE/D,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAsBxB,CAAA;AAKV,eAAO,MAAM,eAAe
|
|
1
|
+
{"version":3,"file":"schemas.d.ts","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AASA,OAAO,EAAE,CAAC,EAAE,MA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;;;;;;;;EAG/B,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;CAgB5B,CAAA;AAKV,eAAO,MAAM,wBAAwB;;;;;;EAEnC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAE/E,eAAO,MAAM,6BAA6B;;;;;;;;;;;CAWhC,CAAA;AAeV,eAAO,MAAM,cAAc;;;;;;;;;EAA6C,CAAA;AACxE,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;CAItB,CAAA;AAIV,eAAO,MAAM,cAAc;;;;;;;;;;;;EAIzB,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,cAAc,CAAC,CAAA;AAE3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;CAQtB,CAAA;AAIV,eAAO,MAAM,qBAAqB;;;;;;;;;EAA6C,CAAA;AAC/E,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAEzE,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;CAI7B,CAAA;AAIV,eAAO,MAAM,UAAU,gDAAe,CAAA;AACtC,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,UAAU,CAAC,CAAA;AAEnD,eAAO,MAAM,eAAe;;;;CAIlB,CAAA"}
|
package/dist/schemas.js
CHANGED
|
@@ -31,7 +31,7 @@ export const DraftPitchJsonSchema = {
|
|
|
31
31
|
company_name: { type: 'string', minLength: 1 },
|
|
32
32
|
target_product: {
|
|
33
33
|
type: 'string',
|
|
34
|
-
description: 'Your product being pitched, e.g.
|
|
34
|
+
description: 'Your product being pitched, e.g. payprimitives, medisuisse',
|
|
35
35
|
},
|
|
36
36
|
signal: {
|
|
37
37
|
type: 'object',
|
|
@@ -97,8 +97,11 @@ export const IngestLeadInput = z.object({
|
|
|
97
97
|
jurisdiction: Iso3166,
|
|
98
98
|
technical_hook_text: z.string().nullable(),
|
|
99
99
|
technical_hook_verified: z.boolean(),
|
|
100
|
-
signal_ids: z.array(z.string()),
|
|
101
100
|
fit_score: z.number().int().min(0).max(100).nullable(),
|
|
101
|
+
campaign_id: z.string().min(1).optional(),
|
|
102
|
+
context: z.string().max(4000).optional(),
|
|
103
|
+
/** Opt into the PAID enrichment step — see IngestLeadJsonSchema. */
|
|
104
|
+
enrich: z.boolean().optional(),
|
|
102
105
|
});
|
|
103
106
|
export const IngestLeadJsonSchema = {
|
|
104
107
|
type: 'object',
|
|
@@ -111,7 +114,6 @@ export const IngestLeadJsonSchema = {
|
|
|
111
114
|
'jurisdiction',
|
|
112
115
|
'technical_hook_text',
|
|
113
116
|
'technical_hook_verified',
|
|
114
|
-
'signal_ids',
|
|
115
117
|
'fit_score',
|
|
116
118
|
],
|
|
117
119
|
properties: {
|
|
@@ -126,8 +128,21 @@ export const IngestLeadJsonSchema = {
|
|
|
126
128
|
jurisdiction: { type: 'string', minLength: 2, maxLength: 2 },
|
|
127
129
|
technical_hook_text: { type: ['string', 'null'] },
|
|
128
130
|
technical_hook_verified: { type: 'boolean' },
|
|
129
|
-
signal_ids: { type: 'array', items: { type: 'string' } },
|
|
130
131
|
fit_score: { type: ['integer', 'null'], minimum: 0, maximum: 100 },
|
|
132
|
+
campaign_id: {
|
|
133
|
+
type: 'string',
|
|
134
|
+
minLength: 1,
|
|
135
|
+
description: 'Continue past registration into personalize → dispatch.',
|
|
136
|
+
},
|
|
137
|
+
context: {
|
|
138
|
+
type: 'string',
|
|
139
|
+
maxLength: 4000,
|
|
140
|
+
description: 'Free-text "why now" note the pitch must cite.',
|
|
141
|
+
},
|
|
142
|
+
enrich: {
|
|
143
|
+
type: 'boolean',
|
|
144
|
+
description: 'Opt into the PAID enrichment step: CogniLead buys the "why now" fact from an enrichment vendor when you have no context of your own. Billed per enriched lead, and only on a citable result — a miss costs nothing. Returns 503 enrichment_unavailable if no provider is configured.',
|
|
145
|
+
},
|
|
131
146
|
},
|
|
132
147
|
additionalProperties: false,
|
|
133
148
|
};
|
|
@@ -181,26 +196,89 @@ export const SuppressJsonSchema = {
|
|
|
181
196
|
additionalProperties: false,
|
|
182
197
|
description: 'Either email or domain must be provided.',
|
|
183
198
|
};
|
|
184
|
-
// ───
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
199
|
+
// ─── create_topup_link ──────────────────────────────────────────────────
|
|
200
|
+
// Gated. Starts a Stripe Checkout to top up an end-customer's prepaid credit
|
|
201
|
+
// balance; returns a { url } for the human to fund.
|
|
202
|
+
export const CreateTopupLinkInput = z.object({
|
|
203
|
+
customer_id: z.string().min(1),
|
|
204
|
+
amount_usd: z.number().positive(),
|
|
205
|
+
});
|
|
206
|
+
export const CreateTopupLinkJsonSchema = {
|
|
207
|
+
type: 'object',
|
|
208
|
+
required: ['customer_id', 'amount_usd'],
|
|
209
|
+
properties: {
|
|
210
|
+
customer_id: {
|
|
211
|
+
type: 'string',
|
|
212
|
+
minLength: 1,
|
|
213
|
+
description: "The end-customer id (e.g. 'cus_...').",
|
|
214
|
+
},
|
|
215
|
+
amount_usd: {
|
|
216
|
+
type: 'number',
|
|
217
|
+
exclusiveMinimum: 0,
|
|
218
|
+
description: 'Top-up amount in USD (1–100000).',
|
|
219
|
+
},
|
|
220
|
+
},
|
|
221
|
+
additionalProperties: false,
|
|
222
|
+
};
|
|
223
|
+
// ─── check_deliverability ───────────────────────────────────────────────
|
|
224
|
+
// Free, local DNS check (SPF + DMARC). No API key.
|
|
225
|
+
export const CheckDeliverabilityInput = z.object({
|
|
226
|
+
domain: z.string().min(3),
|
|
227
|
+
});
|
|
228
|
+
export const CheckDeliverabilityJsonSchema = {
|
|
229
|
+
type: 'object',
|
|
230
|
+
required: ['domain'],
|
|
231
|
+
properties: {
|
|
232
|
+
domain: {
|
|
233
|
+
type: 'string',
|
|
234
|
+
minLength: 3,
|
|
235
|
+
description: 'Bare domain to check, e.g. acme.com (no protocol, no path).',
|
|
236
|
+
},
|
|
237
|
+
},
|
|
238
|
+
additionalProperties: false,
|
|
239
|
+
};
|
|
240
|
+
// ─── read-only list/get tools ───────────────────────────────────────────
|
|
241
|
+
// Cursor-paginated list endpoints share a {limit?, cursor?} shape.
|
|
242
|
+
const Limit = z.number().int().min(1).max(200).optional();
|
|
243
|
+
const Cursor = z.string().min(1).optional();
|
|
244
|
+
const PaginationJsonProps = {
|
|
245
|
+
limit: { type: 'integer', minimum: 1, maximum: 200, description: 'Max rows to return (default server-side).' },
|
|
246
|
+
cursor: { type: 'string', description: 'Opaque cursor from a prior response next_cursor.' },
|
|
247
|
+
};
|
|
248
|
+
// ─── list_leads ─────────────────────────────────────────────────────────
|
|
249
|
+
export const ListLeadsInput = z.object({ limit: Limit, cursor: Cursor });
|
|
250
|
+
export const ListLeadsJsonSchema = {
|
|
251
|
+
type: 'object',
|
|
252
|
+
properties: { ...PaginationJsonProps },
|
|
253
|
+
additionalProperties: false,
|
|
254
|
+
};
|
|
255
|
+
// ─── list_sends ─────────────────────────────────────────────────────────
|
|
256
|
+
export const ListSendsInput = z.object({
|
|
257
|
+
lead_id: z.string().min(1),
|
|
258
|
+
limit: Limit,
|
|
259
|
+
cursor: Cursor,
|
|
192
260
|
});
|
|
193
|
-
export const
|
|
261
|
+
export const ListSendsJsonSchema = {
|
|
194
262
|
type: 'object',
|
|
195
|
-
required: ['
|
|
263
|
+
required: ['lead_id'],
|
|
196
264
|
properties: {
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
topic: { type: 'string', minLength: 1, description: 'Primary topic or page intent.' },
|
|
200
|
-
target_keywords: { type: 'array', items: { type: 'string' } },
|
|
201
|
-
audience: { type: 'string' },
|
|
202
|
-
existing_content: { type: 'string', description: 'For kind=recommendations: the page text to audit.' },
|
|
265
|
+
lead_id: { type: 'string', minLength: 1, description: 'Lead id to list sends for.' },
|
|
266
|
+
...PaginationJsonProps,
|
|
203
267
|
},
|
|
204
268
|
additionalProperties: false,
|
|
205
269
|
};
|
|
270
|
+
// ─── list_suppressions ──────────────────────────────────────────────────
|
|
271
|
+
export const ListSuppressionsInput = z.object({ limit: Limit, cursor: Cursor });
|
|
272
|
+
export const ListSuppressionsJsonSchema = {
|
|
273
|
+
type: 'object',
|
|
274
|
+
properties: { ...PaginationJsonProps },
|
|
275
|
+
additionalProperties: false,
|
|
276
|
+
};
|
|
277
|
+
// ─── no-input gated reads (billing/subscription/webhooks/keys) ───────────
|
|
278
|
+
export const EmptyInput = z.object({});
|
|
279
|
+
export const EmptyJsonSchema = {
|
|
280
|
+
type: 'object',
|
|
281
|
+
properties: {},
|
|
282
|
+
additionalProperties: false,
|
|
283
|
+
};
|
|
206
284
|
//# sourceMappingURL=schemas.js.map
|
package/dist/schemas.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schemas.js","sourceRoot":"","sources":["../src/schemas.ts"],"names":[],"mappings":"AAAA,sEAAsE;AACtE,0EAA0E;AAC1E,0EAA0E;AAC1E,yEAAyE;AACzE,EAAE;AACF,2EAA2E;AAC3E,uEAAuE;AACvE,4BAA4B;AAE5B,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,2EAA2E;AAE3E,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3B,MAAM,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,EAAE;IACpC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;IAClD,W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