@sellable/mcp 0.1.556 → 0.1.557

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 (63) hide show
  1. package/README.md +13 -2
  2. package/agents/registry.json +2 -2
  3. package/dist/api.js +3 -6
  4. package/dist/auth.d.ts +0 -6
  5. package/dist/auth.js +2 -44
  6. package/dist/refill-run-client.d.ts +0 -5
  7. package/dist/refill-run-client.js +0 -15
  8. package/dist/refill-run-loop.d.ts +1 -12
  9. package/dist/refill-run-loop.js +13 -158
  10. package/dist/server.js +23 -0
  11. package/dist/tools/auth.d.ts +0 -5
  12. package/dist/tools/auth.js +12 -49
  13. package/dist/tools/campaign-message-preparation.d.ts +0 -62
  14. package/dist/tools/campaign-message-preparation.js +0 -41
  15. package/dist/tools/campaigns.js +2 -2
  16. package/dist/tools/csv-dnc.js +2 -2
  17. package/dist/tools/evergreen-refill-plan.d.ts +0 -3
  18. package/dist/tools/evergreen-refill-plan.js +7 -29
  19. package/dist/tools/find-leads-runs.d.ts +151 -0
  20. package/dist/tools/find-leads-runs.js +98 -0
  21. package/dist/tools/leads.d.ts +317 -32
  22. package/dist/tools/leads.js +171 -10
  23. package/dist/tools/model-quality.js +4 -6
  24. package/dist/tools/prompts.d.ts +3 -3
  25. package/dist/tools/prompts.js +7 -15
  26. package/dist/tools/provider-preflight.d.ts +65 -2
  27. package/dist/tools/provider-preflight.js +97 -10
  28. package/dist/tools/readiness.d.ts +89 -5
  29. package/dist/tools/readiness.js +66 -0
  30. package/dist/tools/refill-executors.d.ts +0 -38
  31. package/dist/tools/refill-executors.js +3 -222
  32. package/dist/tools/refill-sends-v2.d.ts +1 -118
  33. package/dist/tools/refill-sends-v2.js +2 -310
  34. package/dist/tools/refill-sends.d.ts +32 -678
  35. package/dist/tools/refill-sends.js +13 -274
  36. package/dist/tools/refill-target-plan.js +14 -486
  37. package/dist/tools/registry.d.ts +330 -115
  38. package/dist/tools/registry.js +7 -1
  39. package/dist/tools/scheduler-fill-capacity.js +1 -1
  40. package/dist/tools/scheduler-run.d.ts +0 -71
  41. package/dist/tools/scheduler-run.js +1 -203
  42. package/dist/tools/setup-evergreen-campaigns.js +1 -1
  43. package/dist/tools/workspace-context.d.ts +1 -1
  44. package/dist/tools/workspace-context.js +3 -8
  45. package/dist/tools/workspace-export.js +2 -2
  46. package/dist/tools/workspaces.d.ts +2 -48
  47. package/dist/tools/workspaces.js +5 -48
  48. package/package.json +1 -1
  49. package/skills/create-campaign/SKILL.md +3 -3
  50. package/skills/create-campaign-v2/SKILL.md +1 -1
  51. package/skills/create-evergreen-campaigns/SKILL.md +16 -16
  52. package/skills/find-leads/SKILL.md +48 -630
  53. package/skills/find-leads-v2/SKILL.md +70 -0
  54. package/skills/find-leads-v2/core/flow.v1.json +31 -0
  55. package/skills/refill-sends/SKILL.md +353 -91
  56. package/skills/refill-sends-v2/SKILL.md +6 -6
  57. package/skills/refill-sends-v2-workflow/SKILL.md +5 -5
  58. package/skills/refill-sends-v2-workflow/core/flow.v1.json +8 -8
  59. package/skills/refill-sends-workflow/SKILL.md +743 -100
  60. package/skills/refill-sends-workflow/core/flow.v1.json +1 -185
  61. package/dist/refill-contract.d.ts +0 -157
  62. package/dist/refill-contract.js +0 -487
  63. package/skills/refill-sends-workflow/core/contract.v2.json +0 -543
@@ -27,6 +27,7 @@ export declare function selectSignalPostsForImport<T extends SignalPostForImport
27
27
  export type GetProviderPromptInput = {
28
28
  provider: "apollo" | "sales-nav" | "prospeo" | "signal-discovery";
29
29
  campaignOfferId?: string;
30
+ findLeadsRunId?: string;
30
31
  confirmed?: boolean;
31
32
  };
32
33
  export type ApolloSearchInput = {
@@ -64,6 +65,9 @@ export type SalesNavSearchInput = {
64
65
  page?: number;
65
66
  searchId?: string;
66
67
  campaignOfferId?: string;
68
+ findLeadsRunId?: string;
69
+ runVersion?: number;
70
+ targetLeadCount?: number;
67
71
  searchName?: string;
68
72
  currentStep?: string | null;
69
73
  confirmed?: boolean;
@@ -74,6 +78,9 @@ export type ProspeoSearchInput = {
74
78
  page?: number;
75
79
  searchId?: string;
76
80
  campaignOfferId?: string;
81
+ findLeadsRunId?: string;
82
+ runVersion?: number;
83
+ targetLeadCount?: number;
77
84
  searchName?: string;
78
85
  domainFilterId?: string;
79
86
  currentStep?: string | null;
@@ -139,6 +146,8 @@ export type SignalSearchInput = {
139
146
  postUrl?: string;
140
147
  companyUrl?: string;
141
148
  campaignOfferId?: string;
149
+ findLeadsRunId?: string;
150
+ runVersion?: number;
142
151
  currentStep?: string | null;
143
152
  currentStepTransition?: "revise-source-after-validation";
144
153
  page?: number;
@@ -149,13 +158,16 @@ export type SignalSearchInput = {
149
158
  workspaceId?: string;
150
159
  };
151
160
  export type ImportLeadsInput = {
152
- campaignOfferId: string;
161
+ campaignOfferId?: string;
162
+ findLeadsRunId?: string;
163
+ runVersion?: number;
153
164
  workspaceId?: string;
154
165
  currentStep?: string | null;
155
166
  confirmed?: boolean;
156
167
  provider?: "apollo" | "sales-nav" | "prospeo" | "signal-discovery";
157
168
  sourceLeadListId?: string;
158
169
  searchId?: string;
170
+ signalTabId?: string;
159
171
  targetLeadCount?: number;
160
172
  mode?: "add" | "replace";
161
173
  searchName?: string;
@@ -195,7 +207,10 @@ export type ConfirmLeadListInput = {
195
207
  targetLeadCount?: number;
196
208
  };
197
209
  export type SelectPromisingPostsInput = {
198
- campaignOfferId: string;
210
+ campaignOfferId?: string;
211
+ findLeadsRunId?: string;
212
+ signalTabId?: string;
213
+ runVersion?: number;
199
214
  selections: Array<{
200
215
  postId: string;
201
216
  reason: string;
@@ -229,6 +244,10 @@ export declare const leadToolDefinitions: ({
229
244
  type: string;
230
245
  description: string;
231
246
  };
247
+ findLeadsRunId: {
248
+ type: string;
249
+ description: string;
250
+ };
232
251
  confirmed: {
233
252
  type: string;
234
253
  description: string;
@@ -253,6 +272,8 @@ export declare const leadToolDefinitions: ({
253
272
  contactFilters?: undefined;
254
273
  page?: undefined;
255
274
  searchId?: undefined;
275
+ runVersion?: undefined;
276
+ targetLeadCount?: undefined;
256
277
  searchName?: undefined;
257
278
  companySearchMode?: undefined;
258
279
  uploadedDomains?: undefined;
@@ -293,7 +314,7 @@ export declare const leadToolDefinitions: ({
293
314
  headlineICPCriteria?: undefined;
294
315
  rubricGuidelines?: undefined;
295
316
  sourceLeadListId?: undefined;
296
- targetLeadCount?: undefined;
317
+ signalTabId?: undefined;
297
318
  mode?: undefined;
298
319
  targetEngagerCount?: undefined;
299
320
  maxPostsToScrape?: undefined;
@@ -313,6 +334,8 @@ export declare const leadToolDefinitions: ({
313
334
  scrapePlanMode?: undefined;
314
335
  };
315
336
  required: string[];
337
+ oneOf?: undefined;
338
+ additionalProperties?: undefined;
316
339
  };
317
340
  } | {
318
341
  name: string;
@@ -431,6 +454,18 @@ export declare const leadToolDefinitions: ({
431
454
  type: string;
432
455
  description: string;
433
456
  };
457
+ findLeadsRunId: {
458
+ type: string;
459
+ description: string;
460
+ };
461
+ runVersion: {
462
+ type: string;
463
+ description: string;
464
+ };
465
+ targetLeadCount: {
466
+ type: string;
467
+ description: string;
468
+ };
434
469
  searchName: {
435
470
  type: string;
436
471
  description: string;
@@ -491,7 +526,7 @@ export declare const leadToolDefinitions: ({
491
526
  headlineICPCriteria?: undefined;
492
527
  rubricGuidelines?: undefined;
493
528
  sourceLeadListId?: undefined;
494
- targetLeadCount?: undefined;
529
+ signalTabId?: undefined;
495
530
  mode?: undefined;
496
531
  targetEngagerCount?: undefined;
497
532
  maxPostsToScrape?: undefined;
@@ -511,6 +546,8 @@ export declare const leadToolDefinitions: ({
511
546
  scrapePlanMode?: undefined;
512
547
  };
513
548
  required: never[];
549
+ oneOf?: undefined;
550
+ additionalProperties?: undefined;
514
551
  };
515
552
  } | {
516
553
  name: string;
@@ -529,6 +566,7 @@ export declare const leadToolDefinitions: ({
529
566
  };
530
567
  provider?: undefined;
531
568
  campaignOfferId?: undefined;
569
+ findLeadsRunId?: undefined;
532
570
  confirmed?: undefined;
533
571
  searchMode?: undefined;
534
572
  organization_num_employees_ranges?: undefined;
@@ -550,6 +588,8 @@ export declare const leadToolDefinitions: ({
550
588
  contactFilters?: undefined;
551
589
  page?: undefined;
552
590
  searchId?: undefined;
591
+ runVersion?: undefined;
592
+ targetLeadCount?: undefined;
553
593
  searchName?: undefined;
554
594
  companySearchMode?: undefined;
555
595
  uploadedDomains?: undefined;
@@ -588,7 +628,7 @@ export declare const leadToolDefinitions: ({
588
628
  headlineICPCriteria?: undefined;
589
629
  rubricGuidelines?: undefined;
590
630
  sourceLeadListId?: undefined;
591
- targetLeadCount?: undefined;
631
+ signalTabId?: undefined;
592
632
  mode?: undefined;
593
633
  targetEngagerCount?: undefined;
594
634
  maxPostsToScrape?: undefined;
@@ -608,6 +648,8 @@ export declare const leadToolDefinitions: ({
608
648
  scrapePlanMode?: undefined;
609
649
  };
610
650
  required: string[];
651
+ oneOf?: undefined;
652
+ additionalProperties?: undefined;
611
653
  };
612
654
  } | {
613
655
  name: string;
@@ -690,6 +732,18 @@ export declare const leadToolDefinitions: ({
690
732
  type: string;
691
733
  description: string;
692
734
  };
735
+ findLeadsRunId: {
736
+ type: string;
737
+ description: string;
738
+ };
739
+ runVersion: {
740
+ type: string;
741
+ description: string;
742
+ };
743
+ targetLeadCount: {
744
+ type: string;
745
+ description: string;
746
+ };
693
747
  searchName: {
694
748
  type: string;
695
749
  description: string;
@@ -757,7 +811,7 @@ export declare const leadToolDefinitions: ({
757
811
  headlineICPCriteria?: undefined;
758
812
  rubricGuidelines?: undefined;
759
813
  sourceLeadListId?: undefined;
760
- targetLeadCount?: undefined;
814
+ signalTabId?: undefined;
761
815
  mode?: undefined;
762
816
  targetEngagerCount?: undefined;
763
817
  maxPostsToScrape?: undefined;
@@ -777,6 +831,8 @@ export declare const leadToolDefinitions: ({
777
831
  scrapePlanMode?: undefined;
778
832
  };
779
833
  required: string[];
834
+ oneOf?: undefined;
835
+ additionalProperties?: undefined;
780
836
  };
781
837
  } | {
782
838
  name: string;
@@ -812,6 +868,7 @@ export declare const leadToolDefinitions: ({
812
868
  description: string;
813
869
  };
814
870
  provider?: undefined;
871
+ findLeadsRunId?: undefined;
815
872
  searchMode?: undefined;
816
873
  organization_num_employees_ranges?: undefined;
817
874
  organization_locations?: undefined;
@@ -832,6 +889,8 @@ export declare const leadToolDefinitions: ({
832
889
  contactFilters?: undefined;
833
890
  page?: undefined;
834
891
  searchId?: undefined;
892
+ runVersion?: undefined;
893
+ targetLeadCount?: undefined;
835
894
  searchName?: undefined;
836
895
  companySearchMode?: undefined;
837
896
  uploadedDomains?: undefined;
@@ -868,7 +927,7 @@ export declare const leadToolDefinitions: ({
868
927
  headlineICPCriteria?: undefined;
869
928
  rubricGuidelines?: undefined;
870
929
  sourceLeadListId?: undefined;
871
- targetLeadCount?: undefined;
930
+ signalTabId?: undefined;
872
931
  mode?: undefined;
873
932
  targetEngagerCount?: undefined;
874
933
  maxPostsToScrape?: undefined;
@@ -888,6 +947,8 @@ export declare const leadToolDefinitions: ({
888
947
  scrapePlanMode?: undefined;
889
948
  };
890
949
  required: string[];
950
+ oneOf?: undefined;
951
+ additionalProperties?: undefined;
891
952
  };
892
953
  } | {
893
954
  name: string;
@@ -935,6 +996,7 @@ export declare const leadToolDefinitions: ({
935
996
  description: string;
936
997
  };
937
998
  provider?: undefined;
999
+ findLeadsRunId?: undefined;
938
1000
  searchMode?: undefined;
939
1001
  organization_num_employees_ranges?: undefined;
940
1002
  organization_locations?: undefined;
@@ -955,6 +1017,8 @@ export declare const leadToolDefinitions: ({
955
1017
  contactFilters?: undefined;
956
1018
  page?: undefined;
957
1019
  searchId?: undefined;
1020
+ runVersion?: undefined;
1021
+ targetLeadCount?: undefined;
958
1022
  searchName?: undefined;
959
1023
  companySearchMode?: undefined;
960
1024
  uploadedDomains?: undefined;
@@ -988,7 +1052,7 @@ export declare const leadToolDefinitions: ({
988
1052
  headlineICPCriteria?: undefined;
989
1053
  rubricGuidelines?: undefined;
990
1054
  sourceLeadListId?: undefined;
991
- targetLeadCount?: undefined;
1055
+ signalTabId?: undefined;
992
1056
  mode?: undefined;
993
1057
  targetEngagerCount?: undefined;
994
1058
  maxPostsToScrape?: undefined;
@@ -1008,6 +1072,8 @@ export declare const leadToolDefinitions: ({
1008
1072
  scrapePlanMode?: undefined;
1009
1073
  };
1010
1074
  required: string[];
1075
+ oneOf?: undefined;
1076
+ additionalProperties?: undefined;
1011
1077
  };
1012
1078
  } | {
1013
1079
  name: string;
@@ -1042,6 +1108,7 @@ export declare const leadToolDefinitions: ({
1042
1108
  };
1043
1109
  provider?: undefined;
1044
1110
  campaignOfferId?: undefined;
1111
+ findLeadsRunId?: undefined;
1045
1112
  confirmed?: undefined;
1046
1113
  searchMode?: undefined;
1047
1114
  organization_num_employees_ranges?: undefined;
@@ -1062,6 +1129,8 @@ export declare const leadToolDefinitions: ({
1062
1129
  companyFilters?: undefined;
1063
1130
  contactFilters?: undefined;
1064
1131
  searchId?: undefined;
1132
+ runVersion?: undefined;
1133
+ targetLeadCount?: undefined;
1065
1134
  searchName?: undefined;
1066
1135
  companySearchMode?: undefined;
1067
1136
  uploadedDomains?: undefined;
@@ -1097,7 +1166,7 @@ export declare const leadToolDefinitions: ({
1097
1166
  headlineICPCriteria?: undefined;
1098
1167
  rubricGuidelines?: undefined;
1099
1168
  sourceLeadListId?: undefined;
1100
- targetLeadCount?: undefined;
1169
+ signalTabId?: undefined;
1101
1170
  mode?: undefined;
1102
1171
  targetEngagerCount?: undefined;
1103
1172
  maxPostsToScrape?: undefined;
@@ -1117,6 +1186,8 @@ export declare const leadToolDefinitions: ({
1117
1186
  scrapePlanMode?: undefined;
1118
1187
  };
1119
1188
  required: never[];
1189
+ oneOf?: undefined;
1190
+ additionalProperties?: undefined;
1120
1191
  };
1121
1192
  } | {
1122
1193
  name: string;
@@ -1158,6 +1229,7 @@ export declare const leadToolDefinitions: ({
1158
1229
  };
1159
1230
  provider?: undefined;
1160
1231
  campaignOfferId?: undefined;
1232
+ findLeadsRunId?: undefined;
1161
1233
  searchMode?: undefined;
1162
1234
  organization_num_employees_ranges?: undefined;
1163
1235
  organization_locations?: undefined;
@@ -1178,6 +1250,8 @@ export declare const leadToolDefinitions: ({
1178
1250
  contactFilters?: undefined;
1179
1251
  page?: undefined;
1180
1252
  searchId?: undefined;
1253
+ runVersion?: undefined;
1254
+ targetLeadCount?: undefined;
1181
1255
  searchName?: undefined;
1182
1256
  companySearchMode?: undefined;
1183
1257
  uploadedDomains?: undefined;
@@ -1211,7 +1285,7 @@ export declare const leadToolDefinitions: ({
1211
1285
  headlineICPCriteria?: undefined;
1212
1286
  rubricGuidelines?: undefined;
1213
1287
  sourceLeadListId?: undefined;
1214
- targetLeadCount?: undefined;
1288
+ signalTabId?: undefined;
1215
1289
  mode?: undefined;
1216
1290
  targetEngagerCount?: undefined;
1217
1291
  maxPostsToScrape?: undefined;
@@ -1231,6 +1305,8 @@ export declare const leadToolDefinitions: ({
1231
1305
  scrapePlanMode?: undefined;
1232
1306
  };
1233
1307
  required: never[];
1308
+ oneOf?: undefined;
1309
+ additionalProperties?: undefined;
1234
1310
  };
1235
1311
  } | {
1236
1312
  name: string;
@@ -1254,6 +1330,7 @@ export declare const leadToolDefinitions: ({
1254
1330
  };
1255
1331
  provider?: undefined;
1256
1332
  campaignOfferId?: undefined;
1333
+ findLeadsRunId?: undefined;
1257
1334
  confirmed?: undefined;
1258
1335
  searchMode?: undefined;
1259
1336
  organization_num_employees_ranges?: undefined;
@@ -1275,6 +1352,8 @@ export declare const leadToolDefinitions: ({
1275
1352
  contactFilters?: undefined;
1276
1353
  page?: undefined;
1277
1354
  searchId?: undefined;
1355
+ runVersion?: undefined;
1356
+ targetLeadCount?: undefined;
1278
1357
  searchName?: undefined;
1279
1358
  companySearchMode?: undefined;
1280
1359
  uploadedDomains?: undefined;
@@ -1313,7 +1392,7 @@ export declare const leadToolDefinitions: ({
1313
1392
  headlineICPCriteria?: undefined;
1314
1393
  rubricGuidelines?: undefined;
1315
1394
  sourceLeadListId?: undefined;
1316
- targetLeadCount?: undefined;
1395
+ signalTabId?: undefined;
1317
1396
  mode?: undefined;
1318
1397
  targetEngagerCount?: undefined;
1319
1398
  maxPostsToScrape?: undefined;
@@ -1333,6 +1412,8 @@ export declare const leadToolDefinitions: ({
1333
1412
  scrapePlanMode?: undefined;
1334
1413
  };
1335
1414
  required: never[];
1415
+ oneOf?: undefined;
1416
+ additionalProperties?: undefined;
1336
1417
  };
1337
1418
  } | {
1338
1419
  name: string;
@@ -2155,6 +2236,7 @@ export declare const leadToolDefinitions: ({
2155
2236
  description: string;
2156
2237
  };
2157
2238
  provider?: undefined;
2239
+ findLeadsRunId?: undefined;
2158
2240
  searchMode?: undefined;
2159
2241
  organization_num_employees_ranges?: undefined;
2160
2242
  organization_locations?: undefined;
@@ -2173,6 +2255,8 @@ export declare const leadToolDefinitions: ({
2173
2255
  companyFilters?: undefined;
2174
2256
  contactFilters?: undefined;
2175
2257
  searchId?: undefined;
2258
+ runVersion?: undefined;
2259
+ targetLeadCount?: undefined;
2176
2260
  searchName?: undefined;
2177
2261
  companySearchMode?: undefined;
2178
2262
  uploadedDomains?: undefined;
@@ -2207,7 +2291,7 @@ export declare const leadToolDefinitions: ({
2207
2291
  headlineICPCriteria?: undefined;
2208
2292
  rubricGuidelines?: undefined;
2209
2293
  sourceLeadListId?: undefined;
2210
- targetLeadCount?: undefined;
2294
+ signalTabId?: undefined;
2211
2295
  mode?: undefined;
2212
2296
  targetEngagerCount?: undefined;
2213
2297
  maxPostsToScrape?: undefined;
@@ -2227,6 +2311,8 @@ export declare const leadToolDefinitions: ({
2227
2311
  scrapePlanMode?: undefined;
2228
2312
  };
2229
2313
  required: never[];
2314
+ oneOf?: undefined;
2315
+ additionalProperties?: undefined;
2230
2316
  };
2231
2317
  } | {
2232
2318
  name: string;
@@ -2262,6 +2348,7 @@ export declare const leadToolDefinitions: ({
2262
2348
  description: string;
2263
2349
  };
2264
2350
  provider?: undefined;
2351
+ findLeadsRunId?: undefined;
2265
2352
  searchMode?: undefined;
2266
2353
  organization_num_employees_ranges?: undefined;
2267
2354
  organization_locations?: undefined;
@@ -2282,6 +2369,8 @@ export declare const leadToolDefinitions: ({
2282
2369
  contactFilters?: undefined;
2283
2370
  page?: undefined;
2284
2371
  searchId?: undefined;
2372
+ runVersion?: undefined;
2373
+ targetLeadCount?: undefined;
2285
2374
  searchName?: undefined;
2286
2375
  companySearchMode?: undefined;
2287
2376
  uploadedDomains?: undefined;
@@ -2318,7 +2407,7 @@ export declare const leadToolDefinitions: ({
2318
2407
  headlineICPCriteria?: undefined;
2319
2408
  rubricGuidelines?: undefined;
2320
2409
  sourceLeadListId?: undefined;
2321
- targetLeadCount?: undefined;
2410
+ signalTabId?: undefined;
2322
2411
  mode?: undefined;
2323
2412
  targetEngagerCount?: undefined;
2324
2413
  maxPostsToScrape?: undefined;
@@ -2338,6 +2427,8 @@ export declare const leadToolDefinitions: ({
2338
2427
  scrapePlanMode?: undefined;
2339
2428
  };
2340
2429
  required: string[];
2430
+ oneOf?: undefined;
2431
+ additionalProperties?: undefined;
2341
2432
  };
2342
2433
  } | {
2343
2434
  name: string;
@@ -3296,6 +3387,18 @@ export declare const leadToolDefinitions: ({
3296
3387
  type: string;
3297
3388
  description: string;
3298
3389
  };
3390
+ findLeadsRunId: {
3391
+ type: string;
3392
+ description: string;
3393
+ };
3394
+ runVersion: {
3395
+ type: string;
3396
+ description: string;
3397
+ };
3398
+ targetLeadCount: {
3399
+ type: string;
3400
+ description: string;
3401
+ };
3299
3402
  workspaceId: {
3300
3403
  type: string;
3301
3404
  description: string;
@@ -3370,7 +3473,7 @@ export declare const leadToolDefinitions: ({
3370
3473
  headlineICPCriteria?: undefined;
3371
3474
  rubricGuidelines?: undefined;
3372
3475
  sourceLeadListId?: undefined;
3373
- targetLeadCount?: undefined;
3476
+ signalTabId?: undefined;
3374
3477
  mode?: undefined;
3375
3478
  targetEngagerCount?: undefined;
3376
3479
  maxPostsToScrape?: undefined;
@@ -3390,6 +3493,8 @@ export declare const leadToolDefinitions: ({
3390
3493
  scrapePlanMode?: undefined;
3391
3494
  };
3392
3495
  required: string[];
3496
+ oneOf?: undefined;
3497
+ additionalProperties?: undefined;
3393
3498
  };
3394
3499
  } | {
3395
3500
  name: string;
@@ -3441,6 +3546,14 @@ export declare const leadToolDefinitions: ({
3441
3546
  type: string;
3442
3547
  description: string;
3443
3548
  };
3549
+ findLeadsRunId: {
3550
+ type: string;
3551
+ description: string;
3552
+ };
3553
+ runVersion: {
3554
+ type: string;
3555
+ description: string;
3556
+ };
3444
3557
  currentStep: {
3445
3558
  type: string[];
3446
3559
  description: string;
@@ -3498,6 +3611,7 @@ export declare const leadToolDefinitions: ({
3498
3611
  companyFilters?: undefined;
3499
3612
  contactFilters?: undefined;
3500
3613
  searchId?: undefined;
3614
+ targetLeadCount?: undefined;
3501
3615
  searchName?: undefined;
3502
3616
  companySearchMode?: undefined;
3503
3617
  uploadedDomains?: undefined;
@@ -3528,7 +3642,7 @@ export declare const leadToolDefinitions: ({
3528
3642
  workspaceId?: undefined;
3529
3643
  domainFilterId?: undefined;
3530
3644
  sourceLeadListId?: undefined;
3531
- targetLeadCount?: undefined;
3645
+ signalTabId?: undefined;
3532
3646
  mode?: undefined;
3533
3647
  targetEngagerCount?: undefined;
3534
3648
  maxPostsToScrape?: undefined;
@@ -3548,6 +3662,8 @@ export declare const leadToolDefinitions: ({
3548
3662
  scrapePlanMode?: undefined;
3549
3663
  };
3550
3664
  required: never[];
3665
+ oneOf?: undefined;
3666
+ additionalProperties?: undefined;
3551
3667
  };
3552
3668
  } | {
3553
3669
  name: string;
@@ -3559,6 +3675,14 @@ export declare const leadToolDefinitions: ({
3559
3675
  type: string;
3560
3676
  description: string;
3561
3677
  };
3678
+ findLeadsRunId: {
3679
+ type: string;
3680
+ description: string;
3681
+ };
3682
+ runVersion: {
3683
+ type: string;
3684
+ description: string;
3685
+ };
3562
3686
  workspaceId: {
3563
3687
  type: string;
3564
3688
  description: string;
@@ -3580,6 +3704,10 @@ export declare const leadToolDefinitions: ({
3580
3704
  type: string;
3581
3705
  description: string;
3582
3706
  };
3707
+ signalTabId: {
3708
+ type: string;
3709
+ description: string;
3710
+ };
3583
3711
  targetLeadCount: {
3584
3712
  type: string;
3585
3713
  description: string;
@@ -3695,7 +3823,14 @@ export declare const leadToolDefinitions: ({
3695
3823
  selectionMode?: undefined;
3696
3824
  scrapePlanMode?: undefined;
3697
3825
  };
3698
- required: string[];
3826
+ oneOf: {
3827
+ required: string[];
3828
+ not: {
3829
+ required: string[];
3830
+ };
3831
+ }[];
3832
+ additionalProperties: boolean;
3833
+ required?: undefined;
3699
3834
  };
3700
3835
  } | {
3701
3836
  name: string;
@@ -3720,6 +3855,7 @@ export declare const leadToolDefinitions: ({
3720
3855
  enum: string[];
3721
3856
  description: string;
3722
3857
  };
3858
+ findLeadsRunId?: undefined;
3723
3859
  confirmed?: undefined;
3724
3860
  searchMode?: undefined;
3725
3861
  organization_num_employees_ranges?: undefined;
@@ -3741,6 +3877,8 @@ export declare const leadToolDefinitions: ({
3741
3877
  contactFilters?: undefined;
3742
3878
  page?: undefined;
3743
3879
  searchId?: undefined;
3880
+ runVersion?: undefined;
3881
+ targetLeadCount?: undefined;
3744
3882
  searchName?: undefined;
3745
3883
  companySearchMode?: undefined;
3746
3884
  uploadedDomains?: undefined;
@@ -3780,7 +3918,7 @@ export declare const leadToolDefinitions: ({
3780
3918
  headlineICPCriteria?: undefined;
3781
3919
  rubricGuidelines?: undefined;
3782
3920
  sourceLeadListId?: undefined;
3783
- targetLeadCount?: undefined;
3921
+ signalTabId?: undefined;
3784
3922
  mode?: undefined;
3785
3923
  targetEngagerCount?: undefined;
3786
3924
  maxPostsToScrape?: undefined;
@@ -3799,6 +3937,8 @@ export declare const leadToolDefinitions: ({
3799
3937
  scrapePlanMode?: undefined;
3800
3938
  };
3801
3939
  required: string[];
3940
+ oneOf?: undefined;
3941
+ additionalProperties?: undefined;
3802
3942
  };
3803
3943
  } | {
3804
3944
  name: string;
@@ -3810,6 +3950,18 @@ export declare const leadToolDefinitions: ({
3810
3950
  type: string;
3811
3951
  description: string;
3812
3952
  };
3953
+ findLeadsRunId: {
3954
+ type: string;
3955
+ description: string;
3956
+ };
3957
+ signalTabId: {
3958
+ type: string;
3959
+ description: string;
3960
+ };
3961
+ runVersion: {
3962
+ type: string;
3963
+ description: string;
3964
+ };
3813
3965
  workspaceId: {
3814
3966
  type: string;
3815
3967
  description: string;
@@ -3937,6 +4089,8 @@ export declare const leadToolDefinitions: ({
3937
4089
  scrapePlanMode?: undefined;
3938
4090
  };
3939
4091
  required: string[];
4092
+ oneOf?: undefined;
4093
+ additionalProperties?: undefined;
3940
4094
  };
3941
4095
  } | {
3942
4096
  name: string;
@@ -4000,6 +4154,7 @@ export declare const leadToolDefinitions: ({
4000
4154
  description: string;
4001
4155
  };
4002
4156
  provider?: undefined;
4157
+ findLeadsRunId?: undefined;
4003
4158
  confirmed?: undefined;
4004
4159
  searchMode?: undefined;
4005
4160
  organization_num_employees_ranges?: undefined;
@@ -4021,6 +4176,8 @@ export declare const leadToolDefinitions: ({
4021
4176
  contactFilters?: undefined;
4022
4177
  page?: undefined;
4023
4178
  searchId?: undefined;
4179
+ runVersion?: undefined;
4180
+ targetLeadCount?: undefined;
4024
4181
  searchName?: undefined;
4025
4182
  companySearchMode?: undefined;
4026
4183
  uploadedDomains?: undefined;
@@ -4059,7 +4216,7 @@ export declare const leadToolDefinitions: ({
4059
4216
  currentStepTransition?: undefined;
4060
4217
  rubricGuidelines?: undefined;
4061
4218
  sourceLeadListId?: undefined;
4062
- targetLeadCount?: undefined;
4219
+ signalTabId?: undefined;
4063
4220
  mode?: undefined;
4064
4221
  allowInvalidSignalPosts?: undefined;
4065
4222
  tableId?: undefined;
@@ -4074,6 +4231,8 @@ export declare const leadToolDefinitions: ({
4074
4231
  includeRawImportResult?: undefined;
4075
4232
  };
4076
4233
  required: string[];
4234
+ oneOf?: undefined;
4235
+ additionalProperties?: undefined;
4077
4236
  };
4078
4237
  } | {
4079
4238
  name: string;
@@ -4099,6 +4258,7 @@ export declare const leadToolDefinitions: ({
4099
4258
  description: string;
4100
4259
  };
4101
4260
  provider?: undefined;
4261
+ findLeadsRunId?: undefined;
4102
4262
  confirmed?: undefined;
4103
4263
  searchMode?: undefined;
4104
4264
  organization_num_employees_ranges?: undefined;
@@ -4120,6 +4280,8 @@ export declare const leadToolDefinitions: ({
4120
4280
  contactFilters?: undefined;
4121
4281
  page?: undefined;
4122
4282
  searchId?: undefined;
4283
+ runVersion?: undefined;
4284
+ targetLeadCount?: undefined;
4123
4285
  searchName?: undefined;
4124
4286
  companySearchMode?: undefined;
4125
4287
  uploadedDomains?: undefined;
@@ -4158,7 +4320,7 @@ export declare const leadToolDefinitions: ({
4158
4320
  currentStepTransition?: undefined;
4159
4321
  rubricGuidelines?: undefined;
4160
4322
  sourceLeadListId?: undefined;
4161
- targetLeadCount?: undefined;
4323
+ signalTabId?: undefined;
4162
4324
  mode?: undefined;
4163
4325
  targetEngagerCount?: undefined;
4164
4326
  maxPostsToScrape?: undefined;
@@ -4178,6 +4340,8 @@ export declare const leadToolDefinitions: ({
4178
4340
  scrapePlanMode?: undefined;
4179
4341
  };
4180
4342
  required: string[];
4343
+ oneOf?: undefined;
4344
+ additionalProperties?: undefined;
4181
4345
  };
4182
4346
  })[];
4183
4347
  export declare function searchApollo(input: ApolloSearchInput): Promise<unknown>;
@@ -4282,7 +4446,7 @@ export declare function loadCsvLinkedinLeads(input: LoadCsvLinkedinLeadsInput):
4282
4446
  selectedLeadListIdUpdated: boolean;
4283
4447
  rowsInserted: number;
4284
4448
  jobId: string | null;
4285
- importStatus: string | null;
4449
+ importStatus: any;
4286
4450
  validCount: number;
4287
4451
  invalidCount: number;
4288
4452
  duplicateCount: number;
@@ -4576,6 +4740,45 @@ export declare function searchSignals(input: SignalSearchInput): Promise<{
4576
4740
  notes: string[];
4577
4741
  }>;
4578
4742
  export declare function importLeads(input: ImportLeadsInput): Promise<{
4743
+ runId: string;
4744
+ leadListId: string;
4745
+ provider: "signal-discovery" | "sales-nav" | "prospeo";
4746
+ searchId: string | null;
4747
+ jobId: any;
4748
+ status: any;
4749
+ counts: {
4750
+ requested: number;
4751
+ rows: any;
4752
+ };
4753
+ retryable: any;
4754
+ replay: boolean;
4755
+ existingLeadListId?: undefined;
4756
+ reusedExistingSourceList?: undefined;
4757
+ message?: undefined;
4758
+ suggestedToolCalls?: undefined;
4759
+ error?: undefined;
4760
+ needsModeSelection?: undefined;
4761
+ modeOptions?: undefined;
4762
+ invalidPostCount?: undefined;
4763
+ invalidPosts?: undefined;
4764
+ validSelectedPostCount?: undefined;
4765
+ recommendedValidPostCount?: undefined;
4766
+ estimatedValidEngagers?: undefined;
4767
+ targetEngagerCount?: undefined;
4768
+ needsInvalidPostConfirmation?: undefined;
4769
+ estimatedEngagers?: undefined;
4770
+ selectedPostCount?: undefined;
4771
+ availableSelectedPostCount?: undefined;
4772
+ maxPostsToScrape?: undefined;
4773
+ limitedSelectedPosts?: undefined;
4774
+ invalidSelectedPostCount?: undefined;
4775
+ warnings?: undefined;
4776
+ targetLeadCount?: undefined;
4777
+ existingCount?: undefined;
4778
+ createdLeadList?: undefined;
4779
+ selectedLeadListIdUpdated?: undefined;
4780
+ jobResult?: undefined;
4781
+ } | {
4579
4782
  provider: string;
4580
4783
  leadListId: string;
4581
4784
  existingLeadListId: string;
@@ -4589,6 +4792,13 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4589
4792
  provider: string;
4590
4793
  };
4591
4794
  }[];
4795
+ runId?: undefined;
4796
+ searchId?: undefined;
4797
+ jobId?: undefined;
4798
+ status?: undefined;
4799
+ counts?: undefined;
4800
+ retryable?: undefined;
4801
+ replay?: undefined;
4592
4802
  error?: undefined;
4593
4803
  needsModeSelection?: undefined;
4594
4804
  modeOptions?: undefined;
@@ -4599,7 +4809,6 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4599
4809
  estimatedValidEngagers?: undefined;
4600
4810
  targetEngagerCount?: undefined;
4601
4811
  needsInvalidPostConfirmation?: undefined;
4602
- jobId?: undefined;
4603
4812
  estimatedEngagers?: undefined;
4604
4813
  selectedPostCount?: undefined;
4605
4814
  availableSelectedPostCount?: undefined;
@@ -4620,12 +4829,15 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4620
4829
  tool: string;
4621
4830
  args: {
4622
4831
  sourceLeadListId: string;
4623
- campaignOfferId: string;
4832
+ campaignOfferId?: string;
4833
+ findLeadsRunId?: string;
4834
+ runVersion?: number;
4624
4835
  workspaceId?: string;
4625
4836
  currentStep?: string | null;
4626
4837
  confirmed?: boolean;
4627
4838
  provider?: "apollo" | "sales-nav" | "prospeo" | "signal-discovery";
4628
4839
  searchId?: string;
4840
+ signalTabId?: string;
4629
4841
  targetLeadCount?: number;
4630
4842
  mode?: "add" | "replace";
4631
4843
  searchName?: string;
@@ -4637,8 +4849,15 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4637
4849
  rubricGuidelines?: string[];
4638
4850
  };
4639
4851
  }[];
4640
- provider?: undefined;
4852
+ runId?: undefined;
4641
4853
  leadListId?: undefined;
4854
+ provider?: undefined;
4855
+ searchId?: undefined;
4856
+ jobId?: undefined;
4857
+ status?: undefined;
4858
+ counts?: undefined;
4859
+ retryable?: undefined;
4860
+ replay?: undefined;
4642
4861
  reusedExistingSourceList?: undefined;
4643
4862
  needsModeSelection?: undefined;
4644
4863
  modeOptions?: undefined;
@@ -4649,7 +4868,6 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4649
4868
  estimatedValidEngagers?: undefined;
4650
4869
  targetEngagerCount?: undefined;
4651
4870
  needsInvalidPostConfirmation?: undefined;
4652
- jobId?: undefined;
4653
4871
  estimatedEngagers?: undefined;
4654
4872
  selectedPostCount?: undefined;
4655
4873
  availableSelectedPostCount?: undefined;
@@ -4674,12 +4892,15 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4674
4892
  args: {
4675
4893
  sourceLeadListId: string;
4676
4894
  mode: string;
4677
- campaignOfferId: string;
4895
+ campaignOfferId?: string;
4896
+ findLeadsRunId?: string;
4897
+ runVersion?: number;
4678
4898
  workspaceId?: string;
4679
4899
  currentStep?: string | null;
4680
4900
  confirmed?: boolean;
4681
4901
  provider?: "apollo" | "sales-nav" | "prospeo" | "signal-discovery";
4682
4902
  searchId?: string;
4903
+ signalTabId?: string;
4683
4904
  targetLeadCount?: number;
4684
4905
  searchName?: string;
4685
4906
  leadListName?: string;
@@ -4690,6 +4911,13 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4690
4911
  rubricGuidelines?: string[];
4691
4912
  };
4692
4913
  }[];
4914
+ runId?: undefined;
4915
+ searchId?: undefined;
4916
+ jobId?: undefined;
4917
+ status?: undefined;
4918
+ counts?: undefined;
4919
+ retryable?: undefined;
4920
+ replay?: undefined;
4693
4921
  reusedExistingSourceList?: undefined;
4694
4922
  error?: undefined;
4695
4923
  invalidPostCount?: undefined;
@@ -4699,7 +4927,6 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4699
4927
  estimatedValidEngagers?: undefined;
4700
4928
  targetEngagerCount?: undefined;
4701
4929
  needsInvalidPostConfirmation?: undefined;
4702
- jobId?: undefined;
4703
4930
  estimatedEngagers?: undefined;
4704
4931
  selectedPostCount?: undefined;
4705
4932
  availableSelectedPostCount?: undefined;
@@ -4729,13 +4956,19 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4729
4956
  estimatedValidEngagers: number;
4730
4957
  targetEngagerCount: number | null;
4731
4958
  suggestedToolCalls: never[];
4959
+ runId?: undefined;
4732
4960
  leadListId?: undefined;
4961
+ searchId?: undefined;
4962
+ jobId?: undefined;
4963
+ status?: undefined;
4964
+ counts?: undefined;
4965
+ retryable?: undefined;
4966
+ replay?: undefined;
4733
4967
  existingLeadListId?: undefined;
4734
4968
  reusedExistingSourceList?: undefined;
4735
4969
  needsModeSelection?: undefined;
4736
4970
  modeOptions?: undefined;
4737
4971
  needsInvalidPostConfirmation?: undefined;
4738
- jobId?: undefined;
4739
4972
  estimatedEngagers?: undefined;
4740
4973
  selectedPostCount?: undefined;
4741
4974
  availableSelectedPostCount?: undefined;
@@ -4771,10 +5004,13 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4771
5004
  provider: string;
4772
5005
  confirmed: boolean;
4773
5006
  allowInvalidSignalPosts: boolean;
5007
+ findLeadsRunId?: string;
5008
+ runVersion?: number;
4774
5009
  workspaceId?: string;
4775
5010
  currentStep?: string | null;
4776
5011
  sourceLeadListId?: string;
4777
5012
  searchId?: string;
5013
+ signalTabId?: string;
4778
5014
  targetLeadCount?: number;
4779
5015
  mode?: "add" | "replace";
4780
5016
  searchName?: string;
@@ -4785,13 +5021,19 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4785
5021
  rubricGuidelines?: string[];
4786
5022
  };
4787
5023
  }[];
5024
+ runId?: undefined;
4788
5025
  leadListId?: undefined;
5026
+ searchId?: undefined;
5027
+ jobId?: undefined;
5028
+ status?: undefined;
5029
+ counts?: undefined;
5030
+ retryable?: undefined;
5031
+ replay?: undefined;
4789
5032
  existingLeadListId?: undefined;
4790
5033
  reusedExistingSourceList?: undefined;
4791
5034
  error?: undefined;
4792
5035
  needsModeSelection?: undefined;
4793
5036
  modeOptions?: undefined;
4794
- jobId?: undefined;
4795
5037
  estimatedEngagers?: undefined;
4796
5038
  selectedPostCount?: undefined;
4797
5039
  availableSelectedPostCount?: undefined;
@@ -4818,6 +5060,12 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4818
5060
  warnings: string[];
4819
5061
  targetLeadCount: number | null;
4820
5062
  message: string;
5063
+ runId?: undefined;
5064
+ searchId?: undefined;
5065
+ status?: undefined;
5066
+ counts?: undefined;
5067
+ retryable?: undefined;
5068
+ replay?: undefined;
4821
5069
  existingLeadListId?: undefined;
4822
5070
  reusedExistingSourceList?: undefined;
4823
5071
  suggestedToolCalls?: undefined;
@@ -4847,12 +5095,15 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4847
5095
  args: {
4848
5096
  sourceLeadListId: string;
4849
5097
  mode: string;
4850
- campaignOfferId: string;
5098
+ campaignOfferId?: string;
5099
+ findLeadsRunId?: string;
5100
+ runVersion?: number;
4851
5101
  workspaceId?: string;
4852
5102
  currentStep?: string | null;
4853
5103
  confirmed?: boolean;
4854
5104
  provider?: "apollo" | "sales-nav" | "prospeo" | "signal-discovery";
4855
5105
  searchId?: string;
5106
+ signalTabId?: string;
4856
5107
  targetLeadCount?: number;
4857
5108
  searchName?: string;
4858
5109
  leadListName?: string;
@@ -4863,6 +5114,13 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4863
5114
  rubricGuidelines?: string[];
4864
5115
  };
4865
5116
  }[];
5117
+ runId?: undefined;
5118
+ searchId?: undefined;
5119
+ jobId?: undefined;
5120
+ status?: undefined;
5121
+ counts?: undefined;
5122
+ retryable?: undefined;
5123
+ replay?: undefined;
4866
5124
  reusedExistingSourceList?: undefined;
4867
5125
  error?: undefined;
4868
5126
  invalidPostCount?: undefined;
@@ -4872,7 +5130,6 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4872
5130
  estimatedValidEngagers?: undefined;
4873
5131
  targetEngagerCount?: undefined;
4874
5132
  needsInvalidPostConfirmation?: undefined;
4875
- jobId?: undefined;
4876
5133
  estimatedEngagers?: undefined;
4877
5134
  selectedPostCount?: undefined;
4878
5135
  availableSelectedPostCount?: undefined;
@@ -4893,6 +5150,12 @@ export declare function importLeads(input: ImportLeadsInput): Promise<{
4893
5150
  jobId: string | undefined;
4894
5151
  targetLeadCount: number | null;
4895
5152
  message: string;
5153
+ runId?: undefined;
5154
+ searchId?: undefined;
5155
+ status?: undefined;
5156
+ counts?: undefined;
5157
+ retryable?: undefined;
5158
+ replay?: undefined;
4896
5159
  existingLeadListId?: undefined;
4897
5160
  reusedExistingSourceList?: undefined;
4898
5161
  suggestedToolCalls?: undefined;
@@ -4977,7 +5240,7 @@ export declare function confirmLeadList(input: ConfirmLeadListInput): Promise<{
4977
5240
  partial: boolean;
4978
5241
  sourceRowCountAtConfirmation: number;
4979
5242
  targetLeadCount: number | null;
4980
- importStatus: string | null;
5243
+ importStatus: any;
4981
5244
  warning: string | null;
4982
5245
  };
4983
5246
  message: string;
@@ -5026,9 +5289,27 @@ export declare function selectPromisingPosts(input: SelectPromisingPostsInput):
5026
5289
  unselectedCount: number;
5027
5290
  criteriaCount: number;
5028
5291
  message: string;
5292
+ runId?: undefined;
5293
+ leadListId?: undefined;
5294
+ signalTabId?: undefined;
5295
+ selectionMode?: undefined;
5296
+ nextStep?: undefined;
5297
+ recommendedPostCount?: undefined;
5298
+ recommendedTargetEngagerCount?: undefined;
5299
+ scrapePlanMode?: undefined;
5300
+ } | {
5301
+ success: boolean;
5302
+ runId: string;
5303
+ leadListId: string;
5304
+ signalTabId: string;
5305
+ selectedCount: number;
5306
+ unselectedCount: number;
5307
+ criteriaCount: number;
5308
+ selectionMode: "replace" | "add";
5309
+ nextStep: string;
5310
+ message?: undefined;
5029
5311
  recommendedPostCount?: undefined;
5030
5312
  recommendedTargetEngagerCount?: undefined;
5031
- selectionMode?: undefined;
5032
5313
  scrapePlanMode?: undefined;
5033
5314
  } | {
5034
5315
  success: boolean;
@@ -5040,6 +5321,10 @@ export declare function selectPromisingPosts(input: SelectPromisingPostsInput):
5040
5321
  unselectedCount: number;
5041
5322
  criteriaCount: number;
5042
5323
  message: string;
5324
+ runId?: undefined;
5325
+ leadListId?: undefined;
5326
+ signalTabId?: undefined;
5327
+ nextStep?: undefined;
5043
5328
  }>;
5044
5329
  export declare function setHeadlineICPCriteria(input: SetHeadlineICPCriteriaInput): Promise<{
5045
5330
  success: boolean;