@curviate/cli 0.52.0 → 0.54.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 (61) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/README.md +2 -2
  3. package/dist/{account-2IHGWLU7.js → account-DW5N5MJ6.js} +9 -9
  4. package/dist/{analytics-SBHNCE24.js → analytics-T2K3OWVQ.js} +6 -6
  5. package/dist/{beta-consent-QJBRBON3.js → beta-consent-O736ONE7.js} +5 -5
  6. package/dist/{billing-KL6GL5PF.js → billing-NTBL32EX.js} +6 -6
  7. package/dist/{chunk-44COK554.js → chunk-5B4T6BMN.js} +22 -18
  8. package/dist/{chunk-PHKICMO7.js → chunk-62YAYAUI.js} +6 -0
  9. package/dist/{chunk-6BDA6B32.js → chunk-A3UNS44U.js} +5 -5
  10. package/dist/{chunk-UXFLLYFY.js → chunk-ACKKHLUH.js} +2 -2
  11. package/dist/{chunk-OQKN3U74.js → chunk-FBLCSVIU.js} +19 -10
  12. package/dist/{chunk-XDG3TOKG.js → chunk-FUX3BRYP.js} +2 -1
  13. package/dist/{chunk-OUY3GVWJ.js → chunk-HOMRAZ6S.js} +1 -1
  14. package/dist/{chunk-QA777QEJ.js → chunk-KXJJFHSD.js} +1 -1
  15. package/dist/{chunk-6SBO4WXA.js → chunk-N4IYTFIY.js} +1 -1
  16. package/dist/{chunk-UA4DEQ3K.js → chunk-N76WNJ5T.js} +2 -2
  17. package/dist/{chunk-JGPR6AGO.js → chunk-Q57PZJLX.js} +12 -12
  18. package/dist/{chunk-RYWWSZUH.js → chunk-QLKGOIWS.js} +2 -2
  19. package/dist/{chunk-AQVE6HO5.js → chunk-R4HS2MWM.js} +1 -1
  20. package/dist/{chunk-SIOEKNCN.js → chunk-UFHT2KZG.js} +1 -1
  21. package/dist/{chunk-GXEHHSM7.js → chunk-V3HHYTBY.js} +1 -1
  22. package/dist/cli.js +25 -25
  23. package/dist/{comment-ABRBF7J4.js → comment-ATVJOTWV.js} +6 -6
  24. package/dist/{company-WQPWHAZJ.js → company-BRKFROPE.js} +7 -7
  25. package/dist/{config-RFXNYRRC.js → config-E223SS5K.js} +3 -3
  26. package/dist/{connect-R7A6RJJJ.js → connect-XVDQ5FTT.js} +7 -7
  27. package/dist/{contact-FHR4RAXL.js → contact-4HOUOVD7.js} +8 -8
  28. package/dist/{contact-groups-AAJT4TZ6.js → contact-groups-ENA3VGGL.js} +13 -12
  29. package/dist/{contact-import-3KASFYC5.js → contact-import-4EKVDFPV.js} +10 -10
  30. package/dist/core-6VDDV2NM.js +46 -0
  31. package/dist/{do-not-contact-QMFIJOAA.js → do-not-contact-S2WGHSQL.js} +12 -12
  32. package/dist/{doctor-4TNHUBYZ.js → doctor-OFIUGRUG.js} +4 -4
  33. package/dist/{document-RXBOZG6M.js → document-MDE2WJYX.js} +1 -1
  34. package/dist/{draft-F56TKIQ3.js → draft-DD3DTXBM.js} +4 -4
  35. package/dist/{enrollment-WCG5MX65.js → enrollment-ESCHKQ5X.js} +6 -6
  36. package/dist/{examples-ICAGL2S5.js → examples-KAMXHRLE.js} +1 -1
  37. package/dist/{export-UVUY3IMF.js → export-GUAGB7TF.js} +5 -5
  38. package/dist/{feed-6NN2YWOQ.js → feed-ZC4FY4BA.js} +5 -5
  39. package/dist/{group-BXL4QDZL.js → group-42ZE7K3K.js} +5 -5
  40. package/dist/{inbox-GOO5UA3J.js → inbox-2YS7CTXH.js} +5 -5
  41. package/dist/{inboxes-GGN7SULO.js → inboxes-5RB3BGCQ.js} +5 -5
  42. package/dist/{incoming-AZPAGR3L.js → incoming-ATZN6JJA.js} +6 -6
  43. package/dist/{job-R5TGUKTB.js → job-WD3Z3P3Q.js} +6 -6
  44. package/dist/{login-LZH3HY2J.js → login-JQ57YHEJ.js} +3 -3
  45. package/dist/{message-YY2BB47Z.js → message-WGS2IIDC.js} +6 -6
  46. package/dist/{motion-2RCKZSK5.js → motion-BRVBJJJP.js} +17 -13
  47. package/dist/{network-5VDLBVU7.js → network-CODIWCJQ.js} +6 -6
  48. package/dist/{notification-DVHDC2IA.js → notification-RLVF4NLJ.js} +5 -5
  49. package/dist/{notifications-GZKDD7SV.js → notifications-HGEHM5KW.js} +6 -6
  50. package/dist/{post-JKXMJZXS.js → post-3GH2IPO6.js} +6 -6
  51. package/dist/{profile-CYFEDUEC.js → profile-6RFJQMIB.js} +7 -7
  52. package/dist/{recruiter-MRJDGK6O.js → recruiter-GK3UNS62.js} +8 -8
  53. package/dist/{sales-nav-5ABDKON4.js → sales-nav-SLS3ABF4.js} +7 -7
  54. package/dist/{search-JDNUGHRX.js → search-45WRT5T3.js} +8 -8
  55. package/dist/{setup-EXPWIHTM.js → setup-5QZOM2Q2.js} +4 -4
  56. package/dist/{team-5XD2O5UO.js → team-WM3RKOQ2.js} +6 -6
  57. package/dist/{tier-CNDUZKXE.js → tier-5AMLO5KE.js} +9 -11
  58. package/dist/{unibox-MAAEROM5.js → unibox-TTCF7YVO.js} +8 -7
  59. package/dist/{webhook-XVTE3ZVM.js → webhook-UCCCSKDO.js} +6 -6
  60. package/package.json +2 -2
  61. package/dist/core-GANWZKQZ.js +0 -46
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-UXFLLYFY.js";
4
+ } from "./chunk-ACKKHLUH.js";
5
5
  import {
6
6
  writeAtomic
7
7
  } from "./chunk-GOICALYQ.js";
8
8
  import {
9
9
  sendInChunks
10
- } from "./chunk-SIOEKNCN.js";
10
+ } from "./chunk-UFHT2KZG.js";
11
11
  import {
12
12
  fail,
13
13
  listFlag,
14
14
  outputOpts,
15
15
  rootClient,
16
16
  usage
17
- } from "./chunk-OUY3GVWJ.js";
17
+ } from "./chunk-HOMRAZ6S.js";
18
18
  import {
19
19
  buildPreviewOutput
20
20
  } from "./chunk-TCUYH5GO.js";
@@ -29,24 +29,24 @@ import {
29
29
  readablePage,
30
30
  rejectPaginationModifiersWithoutAll,
31
31
  streamAll
32
- } from "./chunk-QA777QEJ.js";
32
+ } from "./chunk-KXJJFHSD.js";
33
33
  import {
34
34
  renderSuccess,
35
35
  writeNdjsonItem
36
36
  } from "./chunk-QM57YDJE.js";
37
37
  import {
38
38
  downloadBinary
39
- } from "./chunk-UA4DEQ3K.js";
39
+ } from "./chunk-N76WNJ5T.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  READ_SINGLE_FLAGS,
43
43
  WRITE_SINGLE_FLAGS,
44
44
  readOnly
45
- } from "./chunk-RYWWSZUH.js";
45
+ } from "./chunk-QLKGOIWS.js";
46
46
  import {
47
47
  DESCRIPTIONS,
48
48
  lazy
49
- } from "./chunk-AQVE6HO5.js";
49
+ } from "./chunk-R4HS2MWM.js";
50
50
 
51
51
  // src/commands/contact.ts
52
52
  import { defineCommand } from "citty";
@@ -501,15 +501,15 @@ var contactCommand = defineCommand({
501
501
  create: createCmd,
502
502
  update: updateCmd,
503
503
  delete: deleteCmd,
504
- import: lazy("contactImport", () => import("./contact-import-3KASFYC5.js").then((m) => m.contactImportCommand)),
504
+ import: lazy("contactImport", () => import("./contact-import-4EKVDFPV.js").then((m) => m.contactImportCommand)),
505
505
  export: exportCmd,
506
506
  enrich: enrichCmd,
507
- lists: lazy("contactLists", () => import("./contact-groups-AAJT4TZ6.js").then((m) => m.contactListsCommand)),
508
- tags: lazy("contactTags", () => import("./contact-groups-AAJT4TZ6.js").then((m) => m.contactTagsCommand)),
509
- imports: lazy("contactImports", () => import("./contact-import-3KASFYC5.js").then((m) => m.contactImportsCommand))
507
+ lists: lazy("contactLists", () => import("./contact-groups-ENA3VGGL.js").then((m) => m.contactListsCommand)),
508
+ tags: lazy("contactTags", () => import("./contact-groups-ENA3VGGL.js").then((m) => m.contactTagsCommand)),
509
+ imports: lazy("contactImports", () => import("./contact-import-4EKVDFPV.js").then((m) => m.contactImportsCommand))
510
510
  },
511
511
  async run() {
512
- const { showHelp } = await import("./examples-ICAGL2S5.js");
512
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
513
513
  await showHelp(contactCommand, ["curviate", "contact"]);
514
514
  }
515
515
  });
@@ -47,12 +47,12 @@ var GLOBAL_FLAGS = {
47
47
  },
48
48
  all: {
49
49
  type: "boolean",
50
- description: "Stream all pages as NDJSON.",
50
+ description: 'Stream pages as NDJSON until the results run out or --max-pages is reached (default 100 pages). Not exhaustive: a capped stream ends with a {"object":"stream_truncated","pages_fetched":N,"has_more":true} line on stdout, prints a "Streaming truncated" note on stderr, and still exits 0; raise --max-pages to fetch more.',
51
51
  default: false
52
52
  },
53
53
  "max-pages": {
54
54
  type: "string",
55
- description: "Maximum number of pages to fetch when --all is used. Refused (exit 2) without --all."
55
+ description: "Maximum number of pages to fetch when --all is used (default 100). A stream that hits the cap ends with stream_truncated (exit 0). Refused (exit 2) without --all."
56
56
  },
57
57
  "page-delay": {
58
58
  type: "string",
@@ -21,7 +21,7 @@ var DESCRIPTIONS = {
21
21
  network: "Network: each Account's LinkedIn Connections, synced and stored by Curviate. List, export, read the sync status, ask for a resync. Your Team's data, for the Accounts you may operate.",
22
22
  analytics: "Motion outcomes and the budget your Accounts used. Read-only; Motion numbers cover your Accounts and your team's shared Accounts, core activity the Accounts you may operate.",
23
23
  export: "Background export jobs started by `curviate analytics export --job`: read the status, download the file. Only the person who started one can.",
24
- tier: "Your Team's Tier now, what it bought, any trial, override or pending change, the features it includes, and early access. Every role may read it.",
24
+ tier: "Your Team's Tier now, what it bought, any trial or override, and the features it includes. Every role may read it.",
25
25
  team: "Teams: list yours and switch the one calls act in, read or rename it, manage members and invites, set its logo, create a Team, lend seats between your Teams. Owners and Managers manage (a Manager invites Members only); every role reads.",
26
26
  incoming: "Incoming events: a private URL any tool posts to. Curviate finds the Contact in the post and moves the Enrollments waiting for that event (`until event.<name>`). Your Team's data.",
27
27
  beta: "Beta consent for your Team: whether beta operations run without --beta on each call. Owners change it.",
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  fail,
4
4
  outputOpts
5
- } from "./chunk-OUY3GVWJ.js";
5
+ } from "./chunk-HOMRAZ6S.js";
6
6
 
7
7
  // src/lib/chunks.ts
8
8
  async function sendInChunks(ids, size, send, f) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  readableId
7
- } from "./chunk-QA777QEJ.js";
7
+ } from "./chunk-KXJJFHSD.js";
8
8
 
9
9
  // src/lib/member-id.ts
10
10
  var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
package/dist/cli.js CHANGED
@@ -12,10 +12,10 @@ import {
12
12
  setBetaOverride,
13
13
  setTeamFlag,
14
14
  setWriteKind
15
- } from "./chunk-RYWWSZUH.js";
15
+ } from "./chunk-QLKGOIWS.js";
16
16
  import {
17
17
  lazy
18
- } from "./chunk-AQVE6HO5.js";
18
+ } from "./chunk-R4HS2MWM.js";
19
19
  import {
20
20
  editDistance
21
21
  } from "./chunk-FDJMAF7D.js";
@@ -45,33 +45,33 @@ 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-EXPWIHTM.js").then((m) => m.setupCommand)),
49
- doctor: lazy("doctor", () => import("./doctor-4TNHUBYZ.js").then((m) => m.doctorCommand)),
50
- login: lazy("login", () => import("./login-LZH3HY2J.js").then((m) => m.loginCommand)),
51
- config: lazy("config", () => import("./config-RFXNYRRC.js").then((m) => m.configCommand)),
52
- account: lazy("account", () => import("./account-2IHGWLU7.js").then((m) => m.accountCommand)),
53
- motion: lazy("motion", () => import("./motion-2RCKZSK5.js").then((m) => m.motionCommand)),
54
- enrollment: lazy("enrollment", () => import("./enrollment-WCG5MX65.js").then((m) => m.enrollmentCommand)),
55
- contact: lazy("contact", () => import("./contact-FHR4RAXL.js").then((m) => m.contactCommand)),
56
- "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-QMFIJOAA.js").then((m) => m.doNotContactCommand)),
57
- unibox: lazy("unibox", () => import("./unibox-MAAEROM5.js").then((m) => m.uniboxCommand)),
58
- network: lazy("network", () => import("./network-5VDLBVU7.js").then((m) => m.networkCommand)),
59
- analytics: lazy("analytics", () => import("./analytics-SBHNCE24.js").then((m) => m.analyticsCommand)),
60
- notification: lazy("notification", () => import("./notifications-GZKDD7SV.js").then((m) => m.notificationsCommand)),
61
- export: lazy("export", () => import("./export-UVUY3IMF.js").then((m) => m.exportCommand)),
62
- billing: lazy("billing", () => import("./billing-KL6GL5PF.js").then((m) => m.billingCommand)),
63
- tier: lazy("tier", () => import("./tier-CNDUZKXE.js").then((m) => m.tierCommand)),
64
- team: lazy("team", () => import("./team-5XD2O5UO.js").then((m) => m.teamCommand)),
65
- incoming: lazy("incoming", () => import("./incoming-AZPAGR3L.js").then((m) => m.incomingCommand)),
66
- beta: lazy("beta", () => import("./beta-consent-QJBRBON3.js").then((m) => m.betaCommand)),
67
- webhook: lazy("webhook", () => import("./webhook-XVTE3ZVM.js").then((m) => m.webhookCommand)),
48
+ setup: lazy("setup", () => import("./setup-5QZOM2Q2.js").then((m) => m.setupCommand)),
49
+ doctor: lazy("doctor", () => import("./doctor-OFIUGRUG.js").then((m) => m.doctorCommand)),
50
+ login: lazy("login", () => import("./login-JQ57YHEJ.js").then((m) => m.loginCommand)),
51
+ config: lazy("config", () => import("./config-E223SS5K.js").then((m) => m.configCommand)),
52
+ account: lazy("account", () => import("./account-DW5N5MJ6.js").then((m) => m.accountCommand)),
53
+ motion: lazy("motion", () => import("./motion-BRVBJJJP.js").then((m) => m.motionCommand)),
54
+ enrollment: lazy("enrollment", () => import("./enrollment-ESCHKQ5X.js").then((m) => m.enrollmentCommand)),
55
+ contact: lazy("contact", () => import("./contact-4HOUOVD7.js").then((m) => m.contactCommand)),
56
+ "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-S2WGHSQL.js").then((m) => m.doNotContactCommand)),
57
+ unibox: lazy("unibox", () => import("./unibox-TTCF7YVO.js").then((m) => m.uniboxCommand)),
58
+ network: lazy("network", () => import("./network-CODIWCJQ.js").then((m) => m.networkCommand)),
59
+ analytics: lazy("analytics", () => import("./analytics-T2K3OWVQ.js").then((m) => m.analyticsCommand)),
60
+ notification: lazy("notification", () => import("./notifications-HGEHM5KW.js").then((m) => m.notificationsCommand)),
61
+ export: lazy("export", () => import("./export-GUAGB7TF.js").then((m) => m.exportCommand)),
62
+ billing: lazy("billing", () => import("./billing-NTBL32EX.js").then((m) => m.billingCommand)),
63
+ tier: lazy("tier", () => import("./tier-5AMLO5KE.js").then((m) => m.tierCommand)),
64
+ team: lazy("team", () => import("./team-WM3RKOQ2.js").then((m) => m.teamCommand)),
65
+ incoming: lazy("incoming", () => import("./incoming-ATZN6JJA.js").then((m) => m.incomingCommand)),
66
+ beta: lazy("beta", () => import("./beta-consent-O736ONE7.js").then((m) => m.betaCommand)),
67
+ webhook: lazy("webhook", () => import("./webhook-UCCCSKDO.js").then((m) => m.webhookCommand)),
68
68
  // The LinkedIn building blocks. Reserved product groups
69
69
  // (unibox, network, analytics, team) land
70
70
  // between `enrollment` and `webhook` with their owning specs.
71
- core: lazy("core", () => import("./core-GANWZKQZ.js").then((m) => m.coreCommand))
71
+ core: lazy("core", () => import("./core-6VDDV2NM.js").then((m) => m.coreCommand))
72
72
  },
73
73
  async run() {
74
- const { showHelp } = await import("./examples-ICAGL2S5.js");
74
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
75
75
  await showHelp(main, ["curviate"]);
76
76
  }
77
77
  });
@@ -363,7 +363,7 @@ async function dispatch(root, rawArgs) {
363
363
  helpFor = "curviate";
364
364
  if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
365
365
  const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
366
- const { showHelp } = await import("./examples-ICAGL2S5.js");
366
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
367
367
  await showHelp(leaf, path);
368
368
  await new Promise((done) => process.stdout.write("", () => done()));
369
369
  process.exit(0);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-GXEHHSM7.js";
4
+ } from "./chunk-V3HHYTBY.js";
5
5
  import {
6
6
  AS_ACCOUNT,
7
7
  BUDGET,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-VHNF6OZD.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-UXFLLYFY.js";
19
+ } from "./chunk-ACKKHLUH.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -27,7 +27,7 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-QA777QEJ.js";
30
+ } from "./chunk-KXJJFHSD.js";
31
31
  import {
32
32
  renderError,
33
33
  renderSuccess,
@@ -37,15 +37,15 @@ import {
37
37
  import {
38
38
  createClient,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-UA4DEQ3K.js";
40
+ } from "./chunk-N76WNJ5T.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  WRITE_SINGLE_FLAGS,
44
44
  readOnly
45
- } from "./chunk-RYWWSZUH.js";
45
+ } from "./chunk-QLKGOIWS.js";
46
46
  import {
47
47
  DESCRIPTIONS
48
- } from "./chunk-AQVE6HO5.js";
48
+ } from "./chunk-R4HS2MWM.js";
49
49
  import {
50
50
  resolveTextOrStdin
51
51
  } from "./chunk-ZYURL5VK.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-6BDA6B32.js";
4
+ } from "./chunk-A3UNS44U.js";
5
5
  import "./chunk-UWO2D4HW.js";
6
6
  import {
7
7
  AS_ACCOUNT,
@@ -18,7 +18,7 @@ import {
18
18
  slimSearchJobs,
19
19
  slimSearchPeople,
20
20
  slimSearchPosts
21
- } from "./chunk-XDG3TOKG.js";
21
+ } from "./chunk-FUX3BRYP.js";
22
22
  import {
23
23
  AttachError,
24
24
  readAttachment,
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-VHNF6OZD.js";
27
27
  import {
28
28
  requireAccount
29
- } from "./chunk-UXFLLYFY.js";
29
+ } from "./chunk-ACKKHLUH.js";
30
30
  import {
31
31
  buildPreviewOutput
32
32
  } from "./chunk-TCUYH5GO.js";
@@ -39,7 +39,7 @@ import {
39
39
  readablePage,
40
40
  rejectPaginationModifiersWithoutAll,
41
41
  streamAll
42
- } from "./chunk-QA777QEJ.js";
42
+ } from "./chunk-KXJJFHSD.js";
43
43
  import {
44
44
  renderError,
45
45
  renderSuccess,
@@ -49,16 +49,16 @@ import {
49
49
  import {
50
50
  createClient,
51
51
  resolveEffectiveConfig
52
- } from "./chunk-UA4DEQ3K.js";
52
+ } from "./chunk-N76WNJ5T.js";
53
53
  import {
54
54
  GLOBAL_FLAGS,
55
55
  READ_SINGLE_FLAGS,
56
56
  WRITE_FLAGS,
57
57
  readOnly
58
- } from "./chunk-RYWWSZUH.js";
58
+ } from "./chunk-QLKGOIWS.js";
59
59
  import {
60
60
  DESCRIPTIONS
61
- } from "./chunk-AQVE6HO5.js";
61
+ } from "./chunk-R4HS2MWM.js";
62
62
  import "./chunk-FDJMAF7D.js";
63
63
  import {
64
64
  resolveTextOrStdin
@@ -12,13 +12,13 @@ import {
12
12
  setActiveProfile,
13
13
  updateProfileField,
14
14
  withoutUserinfo
15
- } from "./chunk-UA4DEQ3K.js";
15
+ } from "./chunk-N76WNJ5T.js";
16
16
  import {
17
17
  GLOBAL_FLAGS
18
- } from "./chunk-RYWWSZUH.js";
18
+ } from "./chunk-QLKGOIWS.js";
19
19
  import {
20
20
  DESCRIPTIONS
21
- } from "./chunk-AQVE6HO5.js";
21
+ } from "./chunk-R4HS2MWM.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
23
 
24
24
  // src/commands/config.ts
@@ -12,10 +12,10 @@ import {
12
12
  slimInviteReceivedItem,
13
13
  slimInviteSent,
14
14
  slimInviteSentItem
15
- } from "./chunk-XDG3TOKG.js";
15
+ } from "./chunk-FUX3BRYP.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-UXFLLYFY.js";
18
+ } from "./chunk-ACKKHLUH.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -26,7 +26,7 @@ import {
26
26
  readablePage,
27
27
  rejectPaginationModifiersWithoutAll,
28
28
  streamAll
29
- } from "./chunk-QA777QEJ.js";
29
+ } from "./chunk-KXJJFHSD.js";
30
30
  import {
31
31
  renderError,
32
32
  renderSuccess,
@@ -36,15 +36,15 @@ import {
36
36
  import {
37
37
  createClient,
38
38
  resolveEffectiveConfig
39
- } from "./chunk-UA4DEQ3K.js";
39
+ } from "./chunk-N76WNJ5T.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  WRITE_FLAGS,
43
43
  readOnly
44
- } from "./chunk-RYWWSZUH.js";
44
+ } from "./chunk-QLKGOIWS.js";
45
45
  import {
46
46
  DESCRIPTIONS
47
- } from "./chunk-AQVE6HO5.js";
47
+ } from "./chunk-R4HS2MWM.js";
48
48
  import {
49
49
  nearestSubcommand
50
50
  } from "./chunk-FDJMAF7D.js";
@@ -269,7 +269,7 @@ async function runConnectCancel(client, flags, out) {
269
269
  var connectSentCommand = defineCommand({
270
270
  meta: {
271
271
  name: "sent",
272
- description: "Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use `id` with `curviate core connect cancel`; use `user.id` (native member URN; the sent-variant carries no public slug) to identify the recipient. `created_at` is the platform's own ISO-8601 timestamp (not an approximation). No total count is available; use `curviate core connect sent --all` and count client-side. A very recently sent invitation may take a few minutes to appear here (LinkedIn-side indexing).",
272
+ description: "Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use `id` with `curviate core connect cancel`; use `user.id` (native member URN) to identify the recipient; `user.public_identifier` is present only when Curviate already knows the slug from stored data. `created_at` is the platform's own ISO-8601 timestamp (not an approximation). No total count is available; use `curviate core connect sent --all` and count client-side. A very recently sent invitation may take a few minutes to appear here (LinkedIn-side indexing).",
273
273
  risk: "read",
274
274
  examples: [
275
275
  "curviate core connect sent",
@@ -7,18 +7,18 @@ import {
7
7
  online,
8
8
  positionals,
9
9
  preview
10
- } from "./chunk-JGPR6AGO.js";
11
- import "./chunk-UXFLLYFY.js";
10
+ } from "./chunk-Q57PZJLX.js";
11
+ import "./chunk-ACKKHLUH.js";
12
12
  import "./chunk-GOICALYQ.js";
13
- import "./chunk-SIOEKNCN.js";
14
- import "./chunk-OUY3GVWJ.js";
13
+ import "./chunk-UFHT2KZG.js";
14
+ import "./chunk-HOMRAZ6S.js";
15
15
  import "./chunk-TCUYH5GO.js";
16
16
  import "./chunk-NNV2OYEF.js";
17
- import "./chunk-QA777QEJ.js";
17
+ import "./chunk-KXJJFHSD.js";
18
18
  import "./chunk-QM57YDJE.js";
19
- import "./chunk-UA4DEQ3K.js";
20
- import "./chunk-RYWWSZUH.js";
21
- import "./chunk-AQVE6HO5.js";
19
+ import "./chunk-N76WNJ5T.js";
20
+ import "./chunk-QLKGOIWS.js";
21
+ import "./chunk-R4HS2MWM.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
23
  import "./chunk-QW5K5DTC.js";
24
24
  export {
@@ -8,18 +8,18 @@ import {
8
8
  online,
9
9
  preview,
10
10
  readFilter
11
- } from "./chunk-JGPR6AGO.js";
12
- import "./chunk-UXFLLYFY.js";
11
+ } from "./chunk-Q57PZJLX.js";
12
+ import "./chunk-ACKKHLUH.js";
13
13
  import "./chunk-GOICALYQ.js";
14
14
  import {
15
15
  sendInChunks
16
- } from "./chunk-SIOEKNCN.js";
16
+ } from "./chunk-UFHT2KZG.js";
17
17
  import {
18
18
  fail,
19
19
  listFlag,
20
20
  outputOpts,
21
21
  usage
22
- } from "./chunk-OUY3GVWJ.js";
22
+ } from "./chunk-HOMRAZ6S.js";
23
23
  import "./chunk-TCUYH5GO.js";
24
24
  import {
25
25
  intFlag
@@ -32,19 +32,19 @@ import {
32
32
  readablePage,
33
33
  rejectPaginationModifiersWithoutAll,
34
34
  streamAll
35
- } from "./chunk-QA777QEJ.js";
35
+ } from "./chunk-KXJJFHSD.js";
36
36
  import {
37
37
  renderSuccess,
38
38
  writeNdjsonItem
39
39
  } from "./chunk-QM57YDJE.js";
40
- import "./chunk-UA4DEQ3K.js";
40
+ import "./chunk-N76WNJ5T.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_SINGLE_FLAGS,
45
45
  readOnly
46
- } from "./chunk-RYWWSZUH.js";
47
- import "./chunk-AQVE6HO5.js";
46
+ } from "./chunk-QLKGOIWS.js";
47
+ import "./chunk-R4HS2MWM.js";
48
48
  import "./chunk-ZYURL5VK.js";
49
49
  import "./chunk-QW5K5DTC.js";
50
50
 
@@ -256,7 +256,7 @@ var listsDelete = defineCommand({
256
256
  var membership = (verb) => defineCommand({
257
257
  meta: {
258
258
  name: verb,
259
- description: `${verb === "add" ? "Add Contacts to" : "Remove Contacts from"} a Contact list. Name the Contacts by id, or with filter flags (the same as \`curviate contact list\`) to act on every match. Count a filter first: \`curviate contact list <same filters> --total --limit 1\`. Needs Automate.`,
259
+ description: `${verb === "add" ? "Add Contacts to" : "Remove Contacts from"} a Contact list. Name the Contacts by id, or with filter flags (the same as \`curviate contact list\`) to act on every match. Count a filter first: \`curviate contact list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`contact list\` calls it --list). Needs Automate.`,
260
260
  risk: "high",
261
261
  rules: {
262
262
  changes: verb === "add" ? "The Contacts join the list." : "The Contacts leave the list; they are not deleted.",
@@ -271,7 +271,8 @@ var membership = (verb) => defineCommand({
271
271
  seeAlso: SEE_LISTS,
272
272
  examples: [
273
273
  `curviate contact lists ${verb} cl_YOUR_LIST_ID con_A con_B`,
274
- `curviate contact lists ${verb} cl_YOUR_LIST_ID --tag hot --no-email`
274
+ `curviate contact lists ${verb} cl_YOUR_LIST_ID --tag hot --no-email`,
275
+ `curviate contact lists ${verb} cl_YOUR_LIST_ID --from-list cl_SOURCE_LIST_ID --connected`
275
276
  ]
276
277
  },
277
278
  args: {
@@ -292,7 +293,7 @@ var contactListsCommand = defineCommand({
292
293
  meta: { name: "lists", description: "Contact lists: named sets of Contacts a Motion enrolls from." },
293
294
  subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
294
295
  async run() {
295
- const { showHelp } = await import("./examples-ICAGL2S5.js");
296
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
296
297
  await showHelp(contactListsCommand, ["curviate", "contact", "lists"]);
297
298
  }
298
299
  });
@@ -389,7 +390,7 @@ var contactTagsCommand = defineCommand({
389
390
  meta: { name: "tags", description: "Tags: labels on Contacts." },
390
391
  subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
391
392
  async run() {
392
- const { showHelp } = await import("./examples-ICAGL2S5.js");
393
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
393
394
  await showHelp(contactTagsCommand, ["curviate", "contact", "tags"]);
394
395
  }
395
396
  });
@@ -7,20 +7,20 @@ import {
7
7
  contactImportCommand,
8
8
  contactImportsCommand,
9
9
  csvRecords
10
- } from "./chunk-44COK554.js";
11
- import "./chunk-JGPR6AGO.js";
12
- import "./chunk-UXFLLYFY.js";
10
+ } from "./chunk-5B4T6BMN.js";
11
+ import "./chunk-Q57PZJLX.js";
12
+ import "./chunk-ACKKHLUH.js";
13
13
  import "./chunk-GOICALYQ.js";
14
- import "./chunk-SIOEKNCN.js";
15
- import "./chunk-OUY3GVWJ.js";
14
+ import "./chunk-UFHT2KZG.js";
15
+ import "./chunk-HOMRAZ6S.js";
16
16
  import "./chunk-TCUYH5GO.js";
17
17
  import "./chunk-NNV2OYEF.js";
18
- import "./chunk-QA777QEJ.js";
18
+ import "./chunk-KXJJFHSD.js";
19
19
  import "./chunk-QM57YDJE.js";
20
- import "./chunk-UA4DEQ3K.js";
21
- import "./chunk-RYWWSZUH.js";
22
- import "./chunk-AQVE6HO5.js";
23
- import "./chunk-PHKICMO7.js";
20
+ import "./chunk-N76WNJ5T.js";
21
+ import "./chunk-QLKGOIWS.js";
22
+ import "./chunk-R4HS2MWM.js";
23
+ import "./chunk-62YAYAUI.js";
24
24
  import "./chunk-FDJMAF7D.js";
25
25
  import "./chunk-ZYURL5VK.js";
26
26
  import "./chunk-QW5K5DTC.js";
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ DESCRIPTIONS,
4
+ lazy
5
+ } from "./chunk-R4HS2MWM.js";
6
+
7
+ // src/commands/core.ts
8
+ import { defineCommand } from "citty";
9
+ var coreCommand = defineCommand({
10
+ meta: {
11
+ name: "core",
12
+ description: DESCRIPTIONS.core,
13
+ rules: {
14
+ notes: [
15
+ "Writes reach LinkedIn immediately and are seen by the people they touch.",
16
+ "A retry after a timeout can repeat a write: requests carry no idempotency key. Read the current state before retrying.",
17
+ "Budget rows, ceilings and what is left: `curviate account get <account_id>`."
18
+ ]
19
+ }
20
+ },
21
+ subCommands: {
22
+ profile: lazy("profile", () => import("./profile-6RFJQMIB.js").then((m) => m.profileCommand)),
23
+ company: lazy("company", () => import("./company-BRKFROPE.js").then((m) => m.companyCommand)),
24
+ job: lazy("job", () => import("./job-WD3Z3P3Q.js").then((m) => m.jobCommand)),
25
+ connect: lazy("connect", () => import("./connect-XVDQ5FTT.js").then((m) => m.connectCommand)),
26
+ search: lazy("search", () => import("./search-45WRT5T3.js").then((m) => m.searchCommand)),
27
+ inbox: lazy("inbox", () => import("./inbox-2YS7CTXH.js").then((m) => m.inboxCommand)),
28
+ inboxes: lazy("inboxes", () => import("./inboxes-5RB3BGCQ.js").then((m) => m.inboxesCommand)),
29
+ message: lazy("message", () => import("./message-WGS2IIDC.js").then((m) => m.messageCommand)),
30
+ post: lazy("post", () => import("./post-3GH2IPO6.js").then((m) => m.postCommand)),
31
+ comment: lazy("comment", () => import("./comment-ATVJOTWV.js").then((m) => m.commentCommand)),
32
+ "sales-nav": lazy("sales-nav", () => import("./sales-nav-SLS3ABF4.js").then((m) => m.salesNavCommand)),
33
+ recruiter: lazy("recruiter", () => import("./recruiter-GK3UNS62.js").then((m) => m.recruiterCommand)),
34
+ group: lazy("group", () => import("./group-42ZE7K3K.js").then((m) => m.groupCommand)),
35
+ feed: lazy("feed", () => import("./feed-ZC4FY4BA.js").then((m) => m.feedCommand)),
36
+ notification: lazy("coreNotification", () => import("./notification-RLVF4NLJ.js").then((m) => m.notificationCommand)),
37
+ draft: lazy("draft", () => import("./draft-DD3DTXBM.js").then((m) => m.draftCommand))
38
+ },
39
+ async run() {
40
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
41
+ await showHelp(coreCommand, ["curviate", "core"]);
42
+ }
43
+ });
44
+ export {
45
+ coreCommand
46
+ };
@@ -2,21 +2,21 @@
2
2
  import {
3
3
  chunkRows,
4
4
  csvRecords
5
- } from "./chunk-44COK554.js";
6
- import "./chunk-JGPR6AGO.js";
7
- import "./chunk-UXFLLYFY.js";
5
+ } from "./chunk-5B4T6BMN.js";
6
+ import "./chunk-Q57PZJLX.js";
7
+ import "./chunk-ACKKHLUH.js";
8
8
  import {
9
9
  writeAtomic
10
10
  } from "./chunk-GOICALYQ.js";
11
11
  import {
12
12
  sendChunked
13
- } from "./chunk-SIOEKNCN.js";
13
+ } from "./chunk-UFHT2KZG.js";
14
14
  import {
15
15
  fail,
16
16
  outputOpts,
17
17
  rootClient,
18
18
  usage
19
- } from "./chunk-OUY3GVWJ.js";
19
+ } from "./chunk-HOMRAZ6S.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -31,26 +31,26 @@ import {
31
31
  readablePage,
32
32
  rejectPaginationModifiersWithoutAll,
33
33
  streamAll
34
- } from "./chunk-QA777QEJ.js";
34
+ } from "./chunk-KXJJFHSD.js";
35
35
  import {
36
36
  renderSuccess,
37
37
  writeNdjsonItem
38
38
  } from "./chunk-QM57YDJE.js";
39
39
  import {
40
40
  downloadBinary
41
- } from "./chunk-UA4DEQ3K.js";
41
+ } from "./chunk-N76WNJ5T.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  READ_SINGLE_FLAGS,
45
45
  WRITE_SINGLE_FLAGS,
46
46
  readOnly
47
- } from "./chunk-RYWWSZUH.js";
47
+ } from "./chunk-QLKGOIWS.js";
48
48
  import {
49
49
  DESCRIPTIONS
50
- } from "./chunk-AQVE6HO5.js";
50
+ } from "./chunk-R4HS2MWM.js";
51
51
  import {
52
52
  readFileFlag
53
- } from "./chunk-PHKICMO7.js";
53
+ } from "./chunk-62YAYAUI.js";
54
54
  import "./chunk-FDJMAF7D.js";
55
55
  import {
56
56
  isStdinToken
@@ -231,7 +231,7 @@ var listCmd = defineCommand({
231
231
  risk: "read",
232
232
  examples: ["curviate do-not-contact list", "curviate do-not-contact list --query jane"]
233
233
  },
234
- args: { ...readOnly(GLOBAL_FLAGS), query: { type: "string", description: "Only entries whose Contact name matches this text." } },
234
+ args: { ...readOnly(GLOBAL_FLAGS), limit: { ...GLOBAL_FLAGS.limit, description: "Entries per page (1 to 100). The API returns no total: count with --all." }, query: { type: "string", description: "Only entries whose Contact name matches this text." } },
235
235
  run: online(runList)
236
236
  });
237
237
  var getCmd = defineCommand({
@@ -351,7 +351,7 @@ var doNotContactCommand = defineCommand({
351
351
  meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
352
352
  subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd, export: exportCmd, import: importCmd },
353
353
  async run() {
354
- const { showHelp } = await import("./examples-ICAGL2S5.js");
354
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
355
355
  await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
356
356
  }
357
357
  });