salesprompter-cli 0.1.55 → 0.1.56

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 (3) hide show
  1. package/README.md +1 -1
  2. package/dist/cli.js +15 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -68,7 +68,7 @@ salesprompter contacts:resolve-emails --in ./contacts.tsv --out-dir ./email-run
68
68
  # Collect a Sales Navigator people search into the active workspace
69
69
  salesprompter leads:collect \
70
70
  --linkedin-url "$SALES_NAV_PEOPLE_URL" \
71
- --max-results 1000
71
+ --max-results 2000
72
72
 
73
73
  # Enrich one or more stored imports: Sales Navigator company -> official domain -> Hunter email
74
74
  # This updates workspace data only. It does not create or start outreach.
package/dist/cli.js CHANGED
@@ -13383,9 +13383,15 @@ program
13383
13383
  }
13384
13384
  });
13385
13385
  });
13386
+ const SALES_NAVIGATOR_PEOPLE_MAX_RESULTS = 2_000;
13386
13387
  async function runSalesNavigatorPeopleCollectCommand(options) {
13387
13388
  const linkedInUrl = z.string().url().parse(options.linkedinUrl);
13388
- const maxResults = z.coerce.number().int().min(1).max(100000).parse(options.maxResults);
13389
+ const maxResults = z.coerce
13390
+ .number()
13391
+ .int()
13392
+ .min(1)
13393
+ .max(SALES_NAVIGATOR_PEOPLE_MAX_RESULTS)
13394
+ .parse(options.maxResults);
13389
13395
  const pageSize = z.coerce.number().int().min(1).max(100).parse(options.pageSize);
13390
13396
  const normalizedSourceUrl = (() => {
13391
13397
  const source = new URL(linkedInUrl);
@@ -14241,7 +14247,12 @@ async function runSalesNavigatorImportEnrichmentCommand(options) {
14241
14247
  async function runAffiliateLaunchCommand(options) {
14242
14248
  const affiliateLink = z.string().url().parse(options.affiliateLink);
14243
14249
  const linkedInUrl = z.string().url().parse(options.linkedinUrl);
14244
- const maxResults = z.coerce.number().int().min(1).max(1000).parse(options.maxResults);
14250
+ const maxResults = z.coerce
14251
+ .number()
14252
+ .int()
14253
+ .min(1)
14254
+ .max(SALES_NAVIGATOR_PEOPLE_MAX_RESULTS)
14255
+ .parse(options.maxResults);
14245
14256
  const session = await requireAuthSession();
14246
14257
  const isSalesNavigatorPeopleSearch = new URL(linkedInUrl).pathname.includes("/sales/search/people");
14247
14258
  let localResults;
@@ -14314,7 +14325,7 @@ function addAffiliateAudienceOptions(command) {
14314
14325
  return command
14315
14326
  .requiredOption("--affiliate-link <url>", "Affiliate link to promote")
14316
14327
  .requiredOption("--linkedin-url <url>", "Sales Navigator people or LinkedIn content search URL")
14317
- .option("--max-results <number>", "Maximum audience results", "1000")
14328
+ .option("--max-results <number>", "Maximum audience results (people searches: 2000)", String(SALES_NAVIGATOR_PEOPLE_MAX_RESULTS))
14318
14329
  .option("--curl-file <path>", "Optional copied Sales Navigator Lead Search curl request")
14319
14330
  .option("--browser-relay-port <number>", "Use the signed-in browser through a loopback relay")
14320
14331
  .option("--page-size <number>", "Direct Sales Navigator page size", "100")
@@ -14328,7 +14339,7 @@ program
14328
14339
  .alias("leads:collect")
14329
14340
  .description("Collect a Sales Navigator people search into the active workspace.")
14330
14341
  .requiredOption("--linkedin-url <url>", "Sales Navigator people search URL")
14331
- .option("--max-results <number>", "Maximum people to collect", "1000")
14342
+ .option("--max-results <number>", "Maximum people to collect", String(SALES_NAVIGATOR_PEOPLE_MAX_RESULTS))
14332
14343
  .option("--curl-file <path>", "Optional copied Sales Navigator Lead Search curl request")
14333
14344
  .option("--browser-relay-port <number>", "Use the signed-in browser through a loopback relay")
14334
14345
  .option("--page-size <number>", "Direct Sales Navigator page size", "100")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "salesprompter-cli",
3
- "version": "0.1.55",
3
+ "version": "0.1.56",
4
4
  "description": "Sales workflow CLI for guided lead generation, enrichment, scoring, and sync.",
5
5
  "author": "Daniel Sinewe <hello@danielsinewe.com>",
6
6
  "type": "module",