@curviate/cli 0.62.0 → 0.64.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.
Files changed (59) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist/{account-KHGIDS7C.js → account-55QRBRX2.js} +76 -18
  3. package/dist/{analytics-PCKJMU2Z.js → analytics-DOGKBULH.js} +6 -6
  4. package/dist/{beta-consent-WBT4UPXA.js → beta-consent-3EPBXPPQ.js} +4 -4
  5. package/dist/{billing-EVZOOTM5.js → billing-2A7EZWZX.js} +6 -6
  6. package/dist/{chunk-34A5CHXH.js → chunk-2JL554FW.js} +11 -11
  7. package/dist/{chunk-7HYLUMA2.js → chunk-33GDPBLY.js} +1 -1
  8. package/dist/{chunk-VRS37BII.js → chunk-3M52GHII.js} +5 -5
  9. package/dist/{chunk-QLKGOIWS.js → chunk-65UYYCWD.js} +7 -0
  10. package/dist/{chunk-2JHRIBHB.js → chunk-66HEPUAX.js} +33 -4
  11. package/dist/{chunk-KI7N6UTH.js → chunk-AFP5F3I6.js} +1 -1
  12. package/dist/{chunk-PHSP5WZP.js → chunk-FUPVALUL.js} +25 -3
  13. package/dist/{chunk-WBOYMBTN.js → chunk-KSRNDK2N.js} +118 -12
  14. package/dist/{chunk-MMDUAADN.js → chunk-PITCPTWX.js} +2 -2
  15. package/dist/{chunk-66MWBCOR.js → chunk-QFG3DRHY.js} +2 -2
  16. package/dist/{chunk-R5IWR5D3.js → chunk-WISP4QXZ.js} +1 -1
  17. package/dist/{chunk-RNQ2TGTR.js → chunk-YE2WKE3R.js} +5 -5
  18. package/dist/{chunk-NUQTAH66.js → chunk-YW6CYOX6.js} +5 -5
  19. package/dist/cli.js +26 -26
  20. package/dist/{comment-KSTMPDPW.js → comment-CERAB2Z5.js} +6 -6
  21. package/dist/{company-RZH4IOB3.js → company-WC6SGDTE.js} +6 -6
  22. package/dist/{company-record-AIOQFNYA.js → company-record-GVOCKW7U.js} +9 -9
  23. package/dist/{config-2ZPYE7IM.js → config-RC377EZ7.js} +2 -2
  24. package/dist/{connect-D7LTT2TN.js → connect-V63CQIO7.js} +5 -5
  25. package/dist/{contact-3JE6UMAW.js → contact-4OH5AVMI.js} +8 -8
  26. package/dist/{contact-groups-G44SEWGV.js → contact-groups-OILNTYGH.js} +8 -8
  27. package/dist/{contact-import-I2CSUJM4.js → contact-import-X5EUG77K.js} +19 -11
  28. package/dist/{core-VY7AWN5A.js → core-FM222KR6.js} +16 -16
  29. package/dist/{do-not-contact-WM3PXFUW.js → do-not-contact-SA6IXJIE.js} +9 -9
  30. package/dist/{doctor-3V26HZ64.js → doctor-6XQRPRBT.js} +4 -4
  31. package/dist/{domain-BDGB2IGY.js → domain-N7BBT5WI.js} +5 -5
  32. package/dist/{draft-HSYD6AEU.js → draft-6KPWHEPU.js} +4 -4
  33. package/dist/{enrollment-6AGTQFQN.js → enrollment-PCE6OGCV.js} +5 -5
  34. package/dist/{export-VFENGCZ2.js → export-WC64TMKR.js} +4 -4
  35. package/dist/{feed-M6NTLLSN.js → feed-WC2UCUSC.js} +5 -5
  36. package/dist/{group-FDD3QDBT.js → group-FSZU62CS.js} +5 -5
  37. package/dist/{inbox-BWNR3N4L.js → inbox-O422BPE5.js} +5 -5
  38. package/dist/{inboxes-2C5Z3XPV.js → inboxes-NBLCSHHK.js} +5 -5
  39. package/dist/{incoming-SAJXKQ7R.js → incoming-S5Q7YJM3.js} +5 -5
  40. package/dist/{job-XFJFYZRQ.js → job-CJUFB5DB.js} +5 -5
  41. package/dist/{login-UROMY3OS.js → login-5A4KOIBU.js} +2 -2
  42. package/dist/{mailbox-AFP65FCW.js → mailbox-OZI2NREM.js} +10 -9
  43. package/dist/{message-DCLIKQ5V.js → message-WAHQQHTF.js} +6 -6
  44. package/dist/{motion-LEIFCNMP.js → motion-SZSJ4WZI.js} +6 -6
  45. package/dist/{network-CJ7O4JK6.js → network-3CQGZMQF.js} +5 -5
  46. package/dist/{notification-WEUR4B7W.js → notification-OUZ44XYA.js} +5 -5
  47. package/dist/{notifications-UZKV5RHZ.js → notifications-BNLH3ESH.js} +5 -5
  48. package/dist/{post-YUNPJZZM.js → post-2IABIGUC.js} +6 -6
  49. package/dist/{profile-D7VC227S.js → profile-FTNWMCKB.js} +6 -6
  50. package/dist/{recruiter-WS4IFAHV.js → recruiter-OZSLGPYO.js} +16 -8
  51. package/dist/{sales-nav-Z5VWWMTU.js → sales-nav-RZF65ZRA.js} +16 -8
  52. package/dist/{search-MQZAJXBF.js → search-YTZQ4XUN.js} +25 -11
  53. package/dist/{setup-Q4YCWD6T.js → setup-67FMKDKO.js} +4 -4
  54. package/dist/{signal-BYCWA7B3.js → signal-XCCCE434.js} +5 -5
  55. package/dist/{team-52T56NUY.js → team-EC5CFT7D.js} +5 -5
  56. package/dist/{tier-VMGEMTXH.js → tier-M6LZVGH3.js} +5 -5
  57. package/dist/{unibox-IIIVB7JT.js → unibox-U3RPEUJI.js} +5 -5
  58. package/dist/{webhook-44LDBVZI.js → webhook-EAXWPNQZ.js} +5 -5
  59. package/package.json +2 -2
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  online,
4
4
  preview
5
- } from "./chunk-34A5CHXH.js";
5
+ } from "./chunk-2JL554FW.js";
6
6
  import {
7
7
  sendChunked
8
- } from "./chunk-7HYLUMA2.js";
8
+ } from "./chunk-33GDPBLY.js";
9
9
  import {
10
10
  fail,
11
11
  listFlag,
12
12
  outputOpts,
13
13
  usage
14
- } from "./chunk-MMDUAADN.js";
14
+ } from "./chunk-PITCPTWX.js";
15
15
  import {
16
16
  intFlag
17
17
  } from "./chunk-NNV2OYEF.js";
@@ -23,19 +23,20 @@ import {
23
23
  readablePage,
24
24
  rejectPaginationModifiersWithoutAll,
25
25
  streamAll
26
- } from "./chunk-PHSP5WZP.js";
26
+ } from "./chunk-FUPVALUL.js";
27
27
  import {
28
+ isJsonMode,
28
29
  renderSuccess,
29
30
  writeNdjsonItem
30
- } from "./chunk-2JHRIBHB.js";
31
+ } from "./chunk-66HEPUAX.js";
31
32
  import {
32
33
  withWireNotes
33
- } from "./chunk-66MWBCOR.js";
34
+ } from "./chunk-QFG3DRHY.js";
34
35
  import {
35
36
  GLOBAL_FLAGS,
36
37
  WRITE_SINGLE_FLAGS,
37
38
  readOnly
38
- } from "./chunk-QLKGOIWS.js";
39
+ } from "./chunk-65UYYCWD.js";
39
40
  import {
40
41
  readFileFlag
41
42
  } from "./chunk-JKOQX46J.js";
@@ -246,7 +247,7 @@ async function runSourceImport(c, f) {
246
247
  if (f.preview) return preview("leads.imports.create", {}, body);
247
248
  try {
248
249
  const imp = await c.leads.imports.create(body);
249
- renderSuccess(readableObject(imp), outputOpts(f), process);
250
+ renderSuccess(readableObject(imp), importOpts(f, importHuman), process);
250
251
  if (!outputOpts(f).json) process.stderr.write(`Follow it with \`curviate lead imports get ${String(imp["id"])}\`; pause, resume or stop it with \`curviate lead imports pause|resume|stop\`.
251
252
  `);
252
253
  } catch (err) {
@@ -398,7 +399,7 @@ var importCmd = defineCommand({
398
399
  });
399
400
  var ID = { type: "positional", description: "Import id (imp_...)." };
400
401
  var importsList = defineCommand({
401
- meta: { name: "list", description: "List your Team's imports, newest first: status, counts and failure.", risk: "read", examples: ["curviate lead imports list"] },
402
+ meta: { name: "list", description: "List your Team's imports, newest first: status, counts and failure; an import from a LinkedIn source also its `progress` line without --json (the wait, when its next page is read, how long is left), and `next_page_at`, `waiting`, `estimate` as `lead imports get` describes.", risk: "read", examples: ["curviate lead imports list"] },
402
403
  args: { ...readOnly(GLOBAL_FLAGS) },
403
404
  run: online(async (c, f) => {
404
405
  rejectPaginationModifiersWithoutAll(f, process);
@@ -411,17 +412,112 @@ var importsList = defineCommand({
411
412
  const next = (p) => c.leads.imports.list(p);
412
413
  for await (const item of streamAll(next, params, { maxPages: readMaxPagesFlag(f, process), out: process, pageDelayMs: pageDelayFromFlags(f) })) writeNdjsonItem(process, item, f.fields);
413
414
  } else {
414
- renderSuccess(readablePage(await c.leads.imports.list(params)), outputOpts(f), process);
415
+ renderSuccess(readablePage(await c.leads.imports.list(params)), importOpts(f, importsHuman), process);
415
416
  }
416
417
  } catch (err) {
417
418
  await fail(err, f);
418
419
  }
419
420
  })
420
421
  });
422
+ var UNITS = [["minute", 60, 90 * 60], ["hour", 3600, 36 * 3600], ["day", 86400, Infinity]];
423
+ var unitOf = (s) => UNITS.find(([, , below]) => s < below);
424
+ var plural = (n, unit) => `${n.toLocaleString("en-GB")} ${unit}${n === 1 ? "" : "s"}`;
425
+ var amount = (s, size) => Math.max(1, Math.round(s / size));
426
+ var HM = new Intl.DateTimeFormat("en-GB", { hour: "2-digit", minute: "2-digit" });
427
+ var WD = new Intl.DateTimeFormat("en-GB", { weekday: "short", day: "numeric", month: "short" });
428
+ var dayKey = (t) => new Date(t).toDateString();
429
+ function durationText(seconds) {
430
+ const [unit, size] = unitOf(seconds);
431
+ return plural(amount(seconds, size), unit);
432
+ }
433
+ function estimateText(min, max) {
434
+ if (max < 60) return "Less than a minute";
435
+ const [ua, sa] = unitOf(min), [ub, sb] = unitOf(max);
436
+ const a = amount(min, sa), b = amount(max, sb);
437
+ if (ua !== ub) return `About ${plural(a, ua)} to ${plural(b, ub)}`;
438
+ return a === b ? `About ${plural(a, ua)}` : `About ${a.toLocaleString("en-GB")} to ${plural(b, ub)}`;
439
+ }
440
+ function whenText(iso, now) {
441
+ const at = Date.parse(iso);
442
+ if (Number.isNaN(at)) return iso;
443
+ const ms = at - now;
444
+ if (ms < 6e4) return "in under a minute";
445
+ if (ms < 90 * 6e4) return `in ${durationText(ms / 1e3)}`;
446
+ if (dayKey(at) === dayKey(now)) return `at ${HM.format(at)}`;
447
+ if (dayKey(at) === dayKey(now + 864e5)) return `tomorrow at ${HM.format(at)}`;
448
+ return `on ${WD.format(at)} at ${HM.format(at)}`;
449
+ }
450
+ var LIMIT = { hour: "Hourly search limit reached", month: "Monthly search limit reached" };
451
+ function importStatusLine(imp, now = Date.now()) {
452
+ const im = imp ?? {};
453
+ if (im.format !== "source") return null;
454
+ const w = im.waiting && typeof im.waiting === "object" ? im.waiting : null;
455
+ const iso = (v) => typeof v === "string" ? v : null;
456
+ const nextAt = iso(im.next_page_at), until = iso(w?.until);
457
+ const next = nextAt ? `Next page ${whenText(nextAt, now)}` : null;
458
+ const e = im.estimate;
459
+ const left = e && typeof e.seconds_min === "number" && typeof e.seconds_max === "number" && e.seconds_max > 0 ? `${estimateText(e.seconds_min, e.seconds_max)} left` : null;
460
+ const join = (...parts) => parts.filter(Boolean).join(". ");
461
+ const started = iso(im.started_at), finished = iso(im.finished_at);
462
+ const took = started && finished ? ` in ${durationText(Math.max(1, (Date.parse(finished) - Date.parse(started)) / 1e3))}` : "";
463
+ switch (im.status) {
464
+ case "queued":
465
+ if (w?.kind === "import_ahead") return join(`Starts after the import ahead of it${typeof w.import_id === "string" ? ` (${w.import_id})` : ""}`, nextAt ? `First page ${whenText(nextAt, now)}` : null, left);
466
+ return join("Starts in a moment", left);
467
+ case "running":
468
+ if (!w) return join(next, left) || "Reading";
469
+ switch (w.kind) {
470
+ case "account_unavailable":
471
+ return "Resumes once the Account is reconnected";
472
+ case "active_hours":
473
+ return join("Outside the Account's Active hours", next, left);
474
+ case "budget":
475
+ return join(LIMIT[String(w.budget)] ?? "Daily search limit reached", next, left);
476
+ case "pushback":
477
+ return join("Paused: LinkedIn slowed this search down", next, left);
478
+ case "search_limited":
479
+ return join(`LinkedIn shows this Account only a few search results for now. Resumes when that lifts${until ? `, at the latest ${whenText(until, now)}` : ""}`, left);
480
+ case "halt":
481
+ return join("Held by a safety pause", until ? `Resumes ${whenText(until, now)}` : null, left);
482
+ default:
483
+ return join(`Waiting (${String(w.kind)})`, next ?? (until ? `Resumes ${whenText(until, now)}` : null), left);
484
+ }
485
+ case "paused":
486
+ return "Paused. Nothing is read until you resume it";
487
+ case "stopped":
488
+ return `Stopped. The ${typeof im.counts?.found === "number" ? im.counts.found.toLocaleString("en-GB") : "people"} found stay in the list`;
489
+ case "completed":
490
+ return im.finish_reason === "max_reached" ? `Done${took}: reached its maximum` : im.finish_reason === "no_new_leads" ? `Done${took}: three pages in a row brought nobody new` : `Done${took}: read every result`;
491
+ case "failed":
492
+ return typeof im.failure?.message === "string" ? im.failure.message : "Failed";
493
+ default:
494
+ return null;
495
+ }
496
+ }
497
+ function importHuman(imp) {
498
+ if (!imp || typeof imp !== "object" || Array.isArray(imp)) return imp;
499
+ const line = importStatusLine(imp);
500
+ const out = {};
501
+ for (const [k, v] of Object.entries(imp)) {
502
+ if (k === "estimate" && v && typeof v === "object") {
503
+ out[k] = Object.fromEntries(Object.entries(v).filter(([key]) => !key.startsWith("working_days_")));
504
+ } else out[k] = v;
505
+ if (k === "status" && line) out["progress"] = line;
506
+ }
507
+ return out;
508
+ }
509
+ var importsHuman = (page) => {
510
+ const p = page;
511
+ return Array.isArray(p?.items) ? { ...p, items: p.items.map(importHuman) } : page;
512
+ };
513
+ var importOpts = (f, slim) => {
514
+ const o = outputOpts(f);
515
+ return isJsonMode(o) ? o : { ...o, slim };
516
+ };
421
517
  var importsGet = defineCommand({
422
518
  meta: {
423
519
  name: "get",
424
- description: "One import: its status, counts, the columns it mapped or ignored, and its failure; an import from a LinkedIn source also carries `waiting` (why no page is read now: active_hours, budget or pushback, with `until`) and `estimate`. With --outcome, its rows instead: one per row of the file with what happened (created, updated, unchanged, skipped), the reason and the field. Import records are kept for a limited time.",
520
+ description: 'One import: its status, counts, the columns it mapped or ignored, and its failure. An import from a LinkedIn source also carries `next_page_at` (when its next page is read), `waiting` (why no page is read now, with `until`: active_hours, outside the Account\'s Active hours; budget, a search limit of the Account is reached, named by `budget`: hour, day, lines or month; pushback, LinkedIn slowed this search down; search_limited, LinkedIn shows this Account only a few search results for now; halt, a safety pause; account_unavailable, the Account needs reconnecting; import_ahead, queued behind `import_id`, another import of the same Account) and `estimate` (`seconds_min`, `seconds_max`: how long it still runs; `working_days_*` are deprecated). Without --json, `progress` says it in one line, for example "Daily search limit reached. Next page tomorrow at 09:00. About 2 to 3 days left". Nothing to retry and no need to poll: it resumes by itself; look again at `next_page_at`. Only a reconnect needs you, and a search limit you may raise with `curviate account safety update`. `counts.updated`: Leads the import filled at least one field on. With --outcome, its rows instead: one per row of the file with what happened (created, updated, unchanged, skipped), the reason and the field. Import records are kept for a limited time.',
425
521
  risk: "read",
426
522
  examples: ["curviate lead imports get imp_YOUR_IMPORT_ID", "curviate lead imports get imp_YOUR_IMPORT_ID --outcome skipped"]
427
523
  },
@@ -433,7 +529,13 @@ var importsGet = defineCommand({
433
529
  run: online(async (c, f) => {
434
530
  const id = String(f.id ?? "");
435
531
  try {
436
- if (f.outcome === void 0) return renderSuccess(readableObject(await c.leads.imports.get(id)), outputOpts(f), process);
532
+ if (f.outcome === void 0) {
533
+ const imp = readableObject(await c.leads.imports.get(id));
534
+ renderSuccess(imp, importOpts(f, importHuman), process);
535
+ const line = importStatusLine(imp);
536
+ if (line && isJsonMode(outputOpts(f))) process.stderr.write(line + "\n");
537
+ return;
538
+ }
437
539
  rejectPaginationModifiersWithoutAll(f, process);
438
540
  const params = { outcome: listFlag("outcome", f.outcome).join(",") };
439
541
  if (f.limit !== void 0) params["limit"] = intFlag("limit", f.limit, 1, 100);
@@ -491,6 +593,10 @@ export {
491
593
  csvRecords,
492
594
  chunkRows,
493
595
  RETRY_AFTER_BOUND_S,
596
+ durationText,
597
+ estimateText,
598
+ whenText,
599
+ importStatusLine,
494
600
  contactImportCommand,
495
601
  contactImportsCommand
496
602
  };
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  renderError,
4
4
  renderUnexpectedError
5
- } from "./chunk-2JHRIBHB.js";
5
+ } from "./chunk-66HEPUAX.js";
6
6
  import {
7
7
  createClient,
8
8
  resolveEffectiveConfig
9
- } from "./chunk-66MWBCOR.js";
9
+ } from "./chunk-QFG3DRHY.js";
10
10
 
11
11
  // src/lib/root-command.ts
12
12
  var outputOpts = (f) => ({
@@ -5,7 +5,7 @@ import {
5
5
  getTeamFlag,
6
6
  getWriteKind,
7
7
  isPoll
8
- } from "./chunk-QLKGOIWS.js";
8
+ } from "./chunk-65UYYCWD.js";
9
9
  import {
10
10
  STDIN_SENTINEL,
11
11
  assertNoStdinPlaceholder,
@@ -274,7 +274,7 @@ import { AsyncLocalStorage } from "async_hooks";
274
274
  import { Curviate, CurviateError as CurviateError2 } from "@curviate/sdk";
275
275
 
276
276
  // package.json
277
- var version = "0.62.0";
277
+ var version = "0.64.0";
278
278
 
279
279
  // src/lib/client.ts
280
280
  function headerStrings(headers) {
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-PHSP5WZP.js";
4
+ } from "./chunk-FUPVALUL.js";
5
5
  import {
6
6
  assertNoStdinPlaceholder
7
7
  } from "./chunk-ZYURL5VK.js";
@@ -13,7 +13,7 @@ import {
13
13
  outputOpts,
14
14
  rootClient,
15
15
  usage
16
- } from "./chunk-MMDUAADN.js";
16
+ } from "./chunk-PITCPTWX.js";
17
17
  import {
18
18
  intFlag
19
19
  } from "./chunk-NNV2OYEF.js";
@@ -24,19 +24,19 @@ import {
24
24
  readablePage,
25
25
  rejectPaginationModifiersWithoutAll,
26
26
  streamAll
27
- } from "./chunk-PHSP5WZP.js";
27
+ } from "./chunk-FUPVALUL.js";
28
28
  import {
29
29
  renderSuccess,
30
30
  writeNdjsonItem
31
- } from "./chunk-2JHRIBHB.js";
31
+ } from "./chunk-66HEPUAX.js";
32
32
  import {
33
33
  downloadBinary
34
- } from "./chunk-66MWBCOR.js";
34
+ } from "./chunk-QFG3DRHY.js";
35
35
  import {
36
36
  GLOBAL_FLAGS,
37
37
  READ_SINGLE_FLAGS,
38
38
  readOnly
39
- } from "./chunk-QLKGOIWS.js";
39
+ } from "./chunk-65UYYCWD.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
42
  } from "./chunk-Z647LR4F.js";
@@ -7,7 +7,7 @@ import {
7
7
  outputOpts,
8
8
  rootClient,
9
9
  usage
10
- } from "./chunk-MMDUAADN.js";
10
+ } from "./chunk-PITCPTWX.js";
11
11
  import {
12
12
  buildPreviewOutput
13
13
  } from "./chunk-TCUYH5GO.js";
@@ -21,20 +21,20 @@ import {
21
21
  readablePage,
22
22
  rejectPaginationModifiersWithoutAll,
23
23
  streamAll
24
- } from "./chunk-PHSP5WZP.js";
24
+ } from "./chunk-FUPVALUL.js";
25
25
  import {
26
26
  renderSuccess,
27
27
  writeNdjsonItem
28
- } from "./chunk-2JHRIBHB.js";
28
+ } from "./chunk-66HEPUAX.js";
29
29
  import {
30
30
  downloadBinary
31
- } from "./chunk-66MWBCOR.js";
31
+ } from "./chunk-QFG3DRHY.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  READ_SINGLE_FLAGS,
35
35
  WRITE_SINGLE_FLAGS,
36
36
  readOnly
37
- } from "./chunk-QLKGOIWS.js";
37
+ } from "./chunk-65UYYCWD.js";
38
38
  import {
39
39
  DESCRIPTIONS
40
40
  } from "./chunk-Z647LR4F.js";
package/dist/cli.js CHANGED
@@ -12,7 +12,7 @@ import {
12
12
  setBetaOverride,
13
13
  setTeamFlag,
14
14
  setWriteKind
15
- } from "./chunk-QLKGOIWS.js";
15
+ } from "./chunk-65UYYCWD.js";
16
16
  import {
17
17
  lazy
18
18
  } from "./chunk-Z647LR4F.js";
@@ -45,34 +45,34 @@ var main = defineCommand({
45
45
  // Subcommand registry, names and descriptions are static for help rendering;
46
46
  // the handler implementation is loaded lazily on first invocation.
47
47
  subCommands: {
48
- setup: lazy("setup", () => import("./setup-Q4YCWD6T.js").then((m) => m.setupCommand)),
49
- doctor: lazy("doctor", () => import("./doctor-3V26HZ64.js").then((m) => m.doctorCommand)),
50
- login: lazy("login", () => import("./login-UROMY3OS.js").then((m) => m.loginCommand)),
51
- config: lazy("config", () => import("./config-2ZPYE7IM.js").then((m) => m.configCommand)),
52
- account: lazy("account", () => import("./account-KHGIDS7C.js").then((m) => m.accountCommand)),
53
- campaign: lazy("campaign", () => import("./motion-LEIFCNMP.js").then((m) => m.campaignCommand)),
54
- enrollment: lazy("enrollment", () => import("./enrollment-6AGTQFQN.js").then((m) => m.enrollmentCommand)),
55
- lead: lazy("lead", () => import("./contact-3JE6UMAW.js").then((m) => m.contactCommand)),
56
- company: lazy("companyRecord", () => import("./company-record-AIOQFNYA.js").then((m) => m.companyRecordCommand)),
57
- signal: lazy("signal", () => import("./signal-BYCWA7B3.js").then((m) => m.signalCommand)),
58
- "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-WM3PXFUW.js").then((m) => m.doNotContactCommand)),
59
- mailbox: lazy("mailbox", () => import("./mailbox-AFP65FCW.js").then((m) => m.mailboxCommand)),
60
- domain: lazy("domain", () => import("./domain-BDGB2IGY.js").then((m) => m.domainCommand)),
61
- unibox: lazy("unibox", () => import("./unibox-IIIVB7JT.js").then((m) => m.uniboxCommand)),
62
- network: lazy("network", () => import("./network-CJ7O4JK6.js").then((m) => m.networkCommand)),
63
- analytics: lazy("analytics", () => import("./analytics-PCKJMU2Z.js").then((m) => m.analyticsCommand)),
64
- notification: lazy("notification", () => import("./notifications-UZKV5RHZ.js").then((m) => m.notificationsCommand)),
65
- export: lazy("export", () => import("./export-VFENGCZ2.js").then((m) => m.exportCommand)),
66
- billing: lazy("billing", () => import("./billing-EVZOOTM5.js").then((m) => m.billingCommand)),
67
- tier: lazy("tier", () => import("./tier-VMGEMTXH.js").then((m) => m.tierCommand)),
68
- team: lazy("team", () => import("./team-52T56NUY.js").then((m) => m.teamCommand)),
69
- incoming: lazy("incoming", () => import("./incoming-SAJXKQ7R.js").then((m) => m.incomingCommand)),
70
- beta: lazy("beta", () => import("./beta-consent-WBT4UPXA.js").then((m) => m.betaCommand)),
71
- webhook: lazy("webhook", () => import("./webhook-44LDBVZI.js").then((m) => m.webhookCommand)),
48
+ setup: lazy("setup", () => import("./setup-67FMKDKO.js").then((m) => m.setupCommand)),
49
+ doctor: lazy("doctor", () => import("./doctor-6XQRPRBT.js").then((m) => m.doctorCommand)),
50
+ login: lazy("login", () => import("./login-5A4KOIBU.js").then((m) => m.loginCommand)),
51
+ config: lazy("config", () => import("./config-RC377EZ7.js").then((m) => m.configCommand)),
52
+ account: lazy("account", () => import("./account-55QRBRX2.js").then((m) => m.accountCommand)),
53
+ campaign: lazy("campaign", () => import("./motion-SZSJ4WZI.js").then((m) => m.campaignCommand)),
54
+ enrollment: lazy("enrollment", () => import("./enrollment-PCE6OGCV.js").then((m) => m.enrollmentCommand)),
55
+ lead: lazy("lead", () => import("./contact-4OH5AVMI.js").then((m) => m.contactCommand)),
56
+ company: lazy("companyRecord", () => import("./company-record-GVOCKW7U.js").then((m) => m.companyRecordCommand)),
57
+ signal: lazy("signal", () => import("./signal-XCCCE434.js").then((m) => m.signalCommand)),
58
+ "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-SA6IXJIE.js").then((m) => m.doNotContactCommand)),
59
+ mailbox: lazy("mailbox", () => import("./mailbox-OZI2NREM.js").then((m) => m.mailboxCommand)),
60
+ domain: lazy("domain", () => import("./domain-N7BBT5WI.js").then((m) => m.domainCommand)),
61
+ unibox: lazy("unibox", () => import("./unibox-U3RPEUJI.js").then((m) => m.uniboxCommand)),
62
+ network: lazy("network", () => import("./network-3CQGZMQF.js").then((m) => m.networkCommand)),
63
+ analytics: lazy("analytics", () => import("./analytics-DOGKBULH.js").then((m) => m.analyticsCommand)),
64
+ notification: lazy("notification", () => import("./notifications-BNLH3ESH.js").then((m) => m.notificationsCommand)),
65
+ export: lazy("export", () => import("./export-WC64TMKR.js").then((m) => m.exportCommand)),
66
+ billing: lazy("billing", () => import("./billing-2A7EZWZX.js").then((m) => m.billingCommand)),
67
+ tier: lazy("tier", () => import("./tier-M6LZVGH3.js").then((m) => m.tierCommand)),
68
+ team: lazy("team", () => import("./team-EC5CFT7D.js").then((m) => m.teamCommand)),
69
+ incoming: lazy("incoming", () => import("./incoming-S5Q7YJM3.js").then((m) => m.incomingCommand)),
70
+ beta: lazy("beta", () => import("./beta-consent-3EPBXPPQ.js").then((m) => m.betaCommand)),
71
+ webhook: lazy("webhook", () => import("./webhook-EAXWPNQZ.js").then((m) => m.webhookCommand)),
72
72
  // The LinkedIn building blocks. Reserved product groups
73
73
  // (unibox, network, analytics, team) land
74
74
  // between `enrollment` and `webhook` with their owning specs.
75
- core: lazy("core", () => import("./core-VY7AWN5A.js").then((m) => m.coreCommand))
75
+ core: lazy("core", () => import("./core-FM222KR6.js").then((m) => m.coreCommand))
76
76
  },
77
77
  async run() {
78
78
  const { showHelp } = await import("./examples-G4IC5TJU.js");
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-KI7N6UTH.js";
4
+ } from "./chunk-AFP5F3I6.js";
5
5
  import "./chunk-UEAX6KUB.js";
6
6
  import {
7
7
  AS_ACCOUNT,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-JY26SUNH.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-R5IWR5D3.js";
19
+ } from "./chunk-WISP4QXZ.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -27,22 +27,22 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-PHSP5WZP.js";
30
+ } from "./chunk-FUPVALUL.js";
31
31
  import {
32
32
  renderError,
33
33
  renderSuccess,
34
34
  renderUnexpectedError,
35
35
  writeNdjsonItem
36
- } from "./chunk-2JHRIBHB.js";
36
+ } from "./chunk-66HEPUAX.js";
37
37
  import {
38
38
  createClient,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-66MWBCOR.js";
40
+ } from "./chunk-QFG3DRHY.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  WRITE_SINGLE_FLAGS,
44
44
  readOnly
45
- } from "./chunk-QLKGOIWS.js";
45
+ } from "./chunk-65UYYCWD.js";
46
46
  import {
47
47
  DESCRIPTIONS
48
48
  } from "./chunk-Z647LR4F.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-L7JH3W56.js";
7
7
  import {
8
8
  sentAsNotice
9
- } from "./chunk-VRS37BII.js";
9
+ } from "./chunk-3M52GHII.js";
10
10
  import "./chunk-UWO2D4HW.js";
11
11
  import {
12
12
  resolveIdentifier
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-JY26SUNH.js";
32
32
  import {
33
33
  requireAccount
34
- } from "./chunk-R5IWR5D3.js";
34
+ } from "./chunk-WISP4QXZ.js";
35
35
  import {
36
36
  buildPreviewOutput
37
37
  } from "./chunk-TCUYH5GO.js";
@@ -44,23 +44,23 @@ import {
44
44
  readablePage,
45
45
  rejectPaginationModifiersWithoutAll,
46
46
  streamAll
47
- } from "./chunk-PHSP5WZP.js";
47
+ } from "./chunk-FUPVALUL.js";
48
48
  import {
49
49
  renderError,
50
50
  renderSuccess,
51
51
  renderUnexpectedError,
52
52
  writeNdjsonItem
53
- } from "./chunk-2JHRIBHB.js";
53
+ } from "./chunk-66HEPUAX.js";
54
54
  import {
55
55
  createClient,
56
56
  resolveEffectiveConfig
57
- } from "./chunk-66MWBCOR.js";
57
+ } from "./chunk-QFG3DRHY.js";
58
58
  import {
59
59
  GLOBAL_FLAGS,
60
60
  READ_SINGLE_FLAGS,
61
61
  WRITE_FLAGS,
62
62
  readOnly
63
- } from "./chunk-QLKGOIWS.js";
63
+ } from "./chunk-65UYYCWD.js";
64
64
  import {
65
65
  DESCRIPTIONS
66
66
  } from "./chunk-Z647LR4F.js";
@@ -1,34 +1,34 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  csvRecords
4
- } from "./chunk-WBOYMBTN.js";
5
- import "./chunk-34A5CHXH.js";
6
- import "./chunk-R5IWR5D3.js";
4
+ } from "./chunk-KSRNDK2N.js";
5
+ import "./chunk-2JL554FW.js";
6
+ import "./chunk-WISP4QXZ.js";
7
7
  import "./chunk-GOICALYQ.js";
8
- import "./chunk-7HYLUMA2.js";
8
+ import "./chunk-33GDPBLY.js";
9
9
  import {
10
10
  fail,
11
11
  listFlag,
12
12
  outputOpts,
13
13
  rootClient,
14
14
  usage
15
- } from "./chunk-MMDUAADN.js";
15
+ } from "./chunk-PITCPTWX.js";
16
16
  import {
17
17
  buildPreviewOutput
18
18
  } from "./chunk-TCUYH5GO.js";
19
19
  import "./chunk-NNV2OYEF.js";
20
20
  import {
21
21
  readableObject
22
- } from "./chunk-PHSP5WZP.js";
22
+ } from "./chunk-FUPVALUL.js";
23
23
  import {
24
24
  renderSuccess
25
- } from "./chunk-2JHRIBHB.js";
26
- import "./chunk-66MWBCOR.js";
25
+ } from "./chunk-66HEPUAX.js";
26
+ import "./chunk-QFG3DRHY.js";
27
27
  import {
28
28
  READ_SINGLE_FLAGS,
29
29
  WRITE_SINGLE_FLAGS,
30
30
  readOnly
31
- } from "./chunk-QLKGOIWS.js";
31
+ } from "./chunk-65UYYCWD.js";
32
32
  import {
33
33
  DESCRIPTIONS
34
34
  } from "./chunk-Z647LR4F.js";
@@ -12,10 +12,10 @@ import {
12
12
  setActiveProfile,
13
13
  updateProfileField,
14
14
  withoutUserinfo
15
- } from "./chunk-66MWBCOR.js";
15
+ } from "./chunk-QFG3DRHY.js";
16
16
  import {
17
17
  GLOBAL_FLAGS
18
- } from "./chunk-QLKGOIWS.js";
18
+ } from "./chunk-65UYYCWD.js";
19
19
  import {
20
20
  DESCRIPTIONS
21
21
  } from "./chunk-Z647LR4F.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-EIPQUQK2.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-R5IWR5D3.js";
18
+ } from "./chunk-WISP4QXZ.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -26,22 +26,22 @@ import {
26
26
  readablePage,
27
27
  rejectPaginationModifiersWithoutAll,
28
28
  streamAll
29
- } from "./chunk-PHSP5WZP.js";
29
+ } from "./chunk-FUPVALUL.js";
30
30
  import {
31
31
  renderError,
32
32
  renderSuccess,
33
33
  renderUnexpectedError,
34
34
  writeNdjsonItem
35
- } from "./chunk-2JHRIBHB.js";
35
+ } from "./chunk-66HEPUAX.js";
36
36
  import {
37
37
  createClient,
38
38
  resolveEffectiveConfig
39
- } from "./chunk-66MWBCOR.js";
39
+ } from "./chunk-QFG3DRHY.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  WRITE_FLAGS,
43
43
  readOnly
44
- } from "./chunk-QLKGOIWS.js";
44
+ } from "./chunk-65UYYCWD.js";
45
45
  import {
46
46
  DESCRIPTIONS
47
47
  } from "./chunk-Z647LR4F.js";
@@ -7,17 +7,17 @@ import {
7
7
  online,
8
8
  positionals,
9
9
  preview
10
- } from "./chunk-34A5CHXH.js";
11
- import "./chunk-R5IWR5D3.js";
10
+ } from "./chunk-2JL554FW.js";
11
+ import "./chunk-WISP4QXZ.js";
12
12
  import "./chunk-GOICALYQ.js";
13
- import "./chunk-7HYLUMA2.js";
14
- import "./chunk-MMDUAADN.js";
13
+ import "./chunk-33GDPBLY.js";
14
+ import "./chunk-PITCPTWX.js";
15
15
  import "./chunk-TCUYH5GO.js";
16
16
  import "./chunk-NNV2OYEF.js";
17
- import "./chunk-PHSP5WZP.js";
18
- import "./chunk-2JHRIBHB.js";
19
- import "./chunk-66MWBCOR.js";
20
- import "./chunk-QLKGOIWS.js";
17
+ import "./chunk-FUPVALUL.js";
18
+ import "./chunk-66HEPUAX.js";
19
+ import "./chunk-QFG3DRHY.js";
20
+ import "./chunk-65UYYCWD.js";
21
21
  import "./chunk-Z647LR4F.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
23
  import "./chunk-DLYVUDNF.js";
@@ -8,18 +8,18 @@ import {
8
8
  online,
9
9
  preview,
10
10
  readFilter
11
- } from "./chunk-34A5CHXH.js";
12
- import "./chunk-R5IWR5D3.js";
11
+ } from "./chunk-2JL554FW.js";
12
+ import "./chunk-WISP4QXZ.js";
13
13
  import "./chunk-GOICALYQ.js";
14
14
  import {
15
15
  sendInChunks
16
- } from "./chunk-7HYLUMA2.js";
16
+ } from "./chunk-33GDPBLY.js";
17
17
  import {
18
18
  fail,
19
19
  listFlag,
20
20
  outputOpts,
21
21
  usage
22
- } from "./chunk-MMDUAADN.js";
22
+ } from "./chunk-PITCPTWX.js";
23
23
  import "./chunk-TCUYH5GO.js";
24
24
  import {
25
25
  intFlag
@@ -32,18 +32,18 @@ import {
32
32
  readablePage,
33
33
  rejectPaginationModifiersWithoutAll,
34
34
  streamAll
35
- } from "./chunk-PHSP5WZP.js";
35
+ } from "./chunk-FUPVALUL.js";
36
36
  import {
37
37
  renderSuccess,
38
38
  writeNdjsonItem
39
- } from "./chunk-2JHRIBHB.js";
40
- import "./chunk-66MWBCOR.js";
39
+ } from "./chunk-66HEPUAX.js";
40
+ import "./chunk-QFG3DRHY.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_SINGLE_FLAGS,
45
45
  readOnly
46
- } from "./chunk-QLKGOIWS.js";
46
+ } from "./chunk-65UYYCWD.js";
47
47
  import "./chunk-Z647LR4F.js";
48
48
  import "./chunk-ZYURL5VK.js";
49
49
  import "./chunk-DLYVUDNF.js";