@sellable/mcp 0.1.557 → 0.1.559

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