@curviate/cli 0.59.0 → 0.61.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 (65) hide show
  1. package/CHANGELOG.md +16 -0
  2. package/README.md +1 -1
  3. package/dist/{account-EUHYWIDH.js → account-6NFNYQGU.js} +11 -11
  4. package/dist/{analytics-SQQIMSLF.js → analytics-C5OX6KCD.js} +6 -6
  5. package/dist/{beta-consent-DFS7YMZR.js → beta-consent-IVLBQJSH.js} +5 -5
  6. package/dist/{billing-3FRIQFY3.js → billing-4ULWWTS2.js} +6 -6
  7. package/dist/{chunk-QM57YDJE.js → chunk-2JHRIBHB.js} +2 -2
  8. package/dist/{chunk-VKHAL6WT.js → chunk-4KJT6S7G.js} +1 -1
  9. package/dist/{chunk-HG2G5OAZ.js → chunk-7B3ZEBID.js} +2 -2
  10. package/dist/{chunk-F3FEY4D5.js → chunk-BF3SCQNZ.js} +3 -3
  11. package/dist/{chunk-KD2XY7RS.js → chunk-BVVWFW3P.js} +1 -1
  12. package/dist/{chunk-EWSOIFG2.js → chunk-DLYVUDNF.js} +1 -1
  13. package/dist/{chunk-JXDEV33Z.js → chunk-EIPQUQK2.js} +1 -1
  14. package/dist/{chunk-HJ7YY4HE.js → chunk-NPXJ6WZB.js} +2 -2
  15. package/dist/{chunk-TNLIV3SW.js → chunk-R7CHBBYM.js} +9 -9
  16. package/dist/{chunk-7CSXYRSO.js → chunk-S26N4XUE.js} +8 -8
  17. package/dist/{chunk-R2MIDSMB.js → chunk-TEQHHNTJ.js} +6 -6
  18. package/dist/{chunk-72PYX57P.js → chunk-THV7IFCQ.js} +15 -15
  19. package/dist/{chunk-QRTMRTKA.js → chunk-YBGQWI2R.js} +9 -8
  20. package/dist/{chunk-ZC4S4B32.js → chunk-Z647LR4F.js} +5 -5
  21. package/dist/{chunk-5AJS2V4T.js → chunk-ZFOJU6NF.js} +2 -2
  22. package/dist/cli.js +29 -29
  23. package/dist/{comment-DA6XPY4F.js → comment-IGLA7IER.js} +8 -8
  24. package/dist/{company-IWVNUBWS.js → company-JTTRUG7I.js} +9 -9
  25. package/dist/{company-record-ZJMW3NC6.js → company-record-4UODUGB4.js} +11 -11
  26. package/dist/{config-P4HKPOCW.js → config-XZYVBBYM.js} +2 -2
  27. package/dist/{connect-AELFEVR7.js → connect-P2EVA7Q6.js} +13 -13
  28. package/dist/{contact-FHN3A7MJ.js → contact-CPLFJEQ5.js} +9 -9
  29. package/dist/{contact-groups-HNZTN6I6.js → contact-groups-VMMHQLIH.js} +17 -17
  30. package/dist/{contact-import-PJFRLCHR.js → contact-import-DTQE2YEN.js} +10 -10
  31. package/dist/core-WUCCQ5AP.js +46 -0
  32. package/dist/{do-not-contact-KSH36NMT.js → do-not-contact-ZGGDXFHU.js} +17 -17
  33. package/dist/{doctor-BEO4E227.js → doctor-VJYRO75Z.js} +5 -5
  34. package/dist/{domain-HF3WXWUT.js → domain-47LTUTRM.js} +6 -6
  35. package/dist/{draft-2KBRHBBH.js → draft-QEIV3EJF.js} +11 -11
  36. package/dist/{enrollment-QPE54QQN.js → enrollment-GSXNYWUP.js} +11 -11
  37. package/dist/{examples-5FJS47QF.js → examples-G4IC5TJU.js} +1 -1
  38. package/dist/{exit-codes-LQDMGDII.js → exit-codes-MMGNZCJ5.js} +1 -1
  39. package/dist/{export-J4JQRE2A.js → export-ZILQ2G66.js} +5 -5
  40. package/dist/{feed-PHF2ROIT.js → feed-H64BWKHD.js} +7 -7
  41. package/dist/{group-SLXDOCHV.js → group-UENN2D2V.js} +7 -7
  42. package/dist/{inbox-IDILZLPC.js → inbox-5LFGUDR3.js} +7 -7
  43. package/dist/{inboxes-QLP5PWTS.js → inboxes-3S3Q5P55.js} +7 -7
  44. package/dist/{incoming-XG6IBPU6.js → incoming-FT5DG475.js} +9 -9
  45. package/dist/{job-WUYHK6OX.js → job-T2Y2FI2J.js} +8 -8
  46. package/dist/{login-3RIU257N.js → login-J3UDO2U5.js} +2 -2
  47. package/dist/{mailbox-CJRCYZGL.js → mailbox-3AIW2MNF.js} +14 -13
  48. package/dist/{message-EBVO4ZZI.js → message-ZTG5NLFM.js} +7 -7
  49. package/dist/{motion-7XQ3E4GI.js → motion-PPDJRNPY.js} +21 -21
  50. package/dist/{network-X5XL44GB.js → network-6O7UMQUV.js} +7 -7
  51. package/dist/{notification-QNGHG5EO.js → notification-OSFARVWS.js} +7 -7
  52. package/dist/{notifications-MOLNELNE.js → notifications-P23SNSOA.js} +7 -7
  53. package/dist/{post-XYSFN5OP.js → post-3IHALP6D.js} +8 -8
  54. package/dist/{profile-7LJLU4Y5.js → profile-SVX32KM7.js} +13 -13
  55. package/dist/{recruiter-ALQNIRYR.js → recruiter-FXNHAGUQ.js} +8 -8
  56. package/dist/{sales-nav-HYZXNYCC.js → sales-nav-LZGY3JNR.js} +7 -7
  57. package/dist/{search-DNCPCFRR.js → search-DE7LXAGY.js} +16 -16
  58. package/dist/{setup-QI5FW6VD.js → setup-JLARWHGX.js} +5 -5
  59. package/dist/{signal-J2TLIT47.js → signal-EKNNW7M5.js} +6 -6
  60. package/dist/{team-PPPCJ5HT.js → team-QUJTRZCS.js} +7 -7
  61. package/dist/{tier-NFWWW34H.js → tier-6P7DE7QF.js} +5 -5
  62. package/dist/{unibox-52C7G5LK.js → unibox-Q6IUUCPH.js} +20 -20
  63. package/dist/{webhook-J3JYMSY2.js → webhook-COOQJOQB.js} +6 -6
  64. package/package.json +2 -2
  65. package/dist/core-R7R44CVA.js +0 -46
@@ -13,10 +13,10 @@ import {
13
13
  slimSearchPeopleItem,
14
14
  slimSearchPosts,
15
15
  slimSearchPostsItem
16
- } from "./chunk-JXDEV33Z.js";
16
+ } from "./chunk-EIPQUQK2.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-HG2G5OAZ.js";
19
+ } from "./chunk-7B3ZEBID.js";
20
20
  import {
21
21
  intFlag,
22
22
  intListFlag
@@ -28,28 +28,28 @@ import {
28
28
  readablePage,
29
29
  rejectPaginationModifiersWithoutAll,
30
30
  streamAll
31
- } from "./chunk-5AJS2V4T.js";
31
+ } from "./chunk-ZFOJU6NF.js";
32
32
  import {
33
33
  renderError,
34
34
  renderSuccess,
35
35
  renderUnexpectedError,
36
36
  writeNdjsonItem
37
- } from "./chunk-QM57YDJE.js";
37
+ } from "./chunk-2JHRIBHB.js";
38
38
  import {
39
39
  createClient,
40
40
  resolveEffectiveConfig
41
- } from "./chunk-KD2XY7RS.js";
41
+ } from "./chunk-BVVWFW3P.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  readOnly
45
45
  } from "./chunk-QLKGOIWS.js";
46
46
  import {
47
47
  DESCRIPTIONS
48
- } from "./chunk-ZC4S4B32.js";
48
+ } from "./chunk-Z647LR4F.js";
49
49
  import "./chunk-JKOQX46J.js";
50
50
  import "./chunk-FDJMAF7D.js";
51
51
  import "./chunk-ZYURL5VK.js";
52
- import "./chunk-EWSOIFG2.js";
52
+ import "./chunk-DLYVUDNF.js";
53
53
 
54
54
  // src/commands/search.ts
55
55
  import { defineCommand } from "citty";
@@ -226,7 +226,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
226
226
  } catch (err) {
227
227
  const { CurviateError } = await import("@curviate/sdk");
228
228
  if (err instanceof CurviateError) {
229
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
229
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
230
230
  renderError(err, outOpts, out);
231
231
  process.exit(getExitCode(err));
232
232
  }
@@ -268,7 +268,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
268
268
  } catch (err) {
269
269
  const { CurviateError } = await import("@curviate/sdk");
270
270
  if (err instanceof CurviateError) {
271
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
271
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
272
272
  renderError(err, outOpts, out);
273
273
  process.exit(getExitCode(err));
274
274
  }
@@ -310,7 +310,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
310
310
  } catch (err) {
311
311
  const { CurviateError } = await import("@curviate/sdk");
312
312
  if (err instanceof CurviateError) {
313
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
313
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
314
314
  renderError(err, outOpts, out);
315
315
  process.exit(getExitCode(err));
316
316
  }
@@ -352,7 +352,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
352
352
  } catch (err) {
353
353
  const { CurviateError } = await import("@curviate/sdk");
354
354
  if (err instanceof CurviateError) {
355
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
355
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
356
356
  renderError(err, outOpts, out);
357
357
  process.exit(getExitCode(err));
358
358
  }
@@ -400,7 +400,7 @@ async function runSearchParameters(client, flags, out) {
400
400
  } catch (err) {
401
401
  const { CurviateError } = await import("@curviate/sdk");
402
402
  if (err instanceof CurviateError) {
403
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
403
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
404
404
  renderError(err, outOpts, out);
405
405
  process.exit(getExitCode(err));
406
406
  }
@@ -442,7 +442,7 @@ async function runSearchGroups(client, flags, out) {
442
442
  } catch (err) {
443
443
  const { CurviateError } = await import("@curviate/sdk");
444
444
  if (err instanceof CurviateError) {
445
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
445
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
446
446
  renderError(err, outOpts, out);
447
447
  process.exit(getExitCode(err));
448
448
  }
@@ -486,7 +486,7 @@ async function runSearchServices(client, flags, out) {
486
486
  } catch (err) {
487
487
  const { CurviateError } = await import("@curviate/sdk");
488
488
  if (err instanceof CurviateError) {
489
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
489
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
490
490
  renderError(err, outOpts, out);
491
491
  process.exit(getExitCode(err));
492
492
  }
@@ -528,7 +528,7 @@ async function runSearchServiceParameters(client, flags, out) {
528
528
  } catch (err) {
529
529
  const { CurviateError } = await import("@curviate/sdk");
530
530
  if (err instanceof CurviateError) {
531
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
531
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
532
532
  renderError(err, outOpts, out);
533
533
  process.exit(getExitCode(err));
534
534
  }
@@ -567,7 +567,7 @@ async function runSearchFromUrl(client, flags, out) {
567
567
  } catch (err) {
568
568
  const { CurviateError } = await import("@curviate/sdk");
569
569
  if (err instanceof CurviateError) {
570
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
570
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
571
571
  renderError(err, outOpts, out);
572
572
  process.exit(getExitCode(err));
573
573
  }
@@ -1,8 +1,8 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-5AJS2V4T.js";
5
- import "./chunk-QM57YDJE.js";
4
+ } from "./chunk-ZFOJU6NF.js";
5
+ import "./chunk-2JHRIBHB.js";
6
6
  import {
7
7
  readlineSync
8
8
  } from "./chunk-IB6ARI3R.js";
@@ -12,14 +12,14 @@ import {
12
12
  isPlainObject,
13
13
  resolveEffectiveConfig,
14
14
  writeProfile
15
- } from "./chunk-KD2XY7RS.js";
15
+ } from "./chunk-BVVWFW3P.js";
16
16
  import {
17
17
  GLOBAL_FLAGS,
18
18
  getTeamFlag
19
19
  } from "./chunk-QLKGOIWS.js";
20
20
  import {
21
21
  DESCRIPTIONS
22
- } from "./chunk-ZC4S4B32.js";
22
+ } from "./chunk-Z647LR4F.js";
23
23
  import {
24
24
  defaultReadStdin,
25
25
  isStdinToken,
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-ZYURL5VK.js";
28
28
  import {
29
29
  getExitCode
30
- } from "./chunk-EWSOIFG2.js";
30
+ } from "./chunk-DLYVUDNF.js";
31
31
 
32
32
  // src/commands/setup.ts
33
33
  import { defineCommand } from "citty";
@@ -9,7 +9,7 @@ import {
9
9
  outputOpts,
10
10
  rootClient,
11
11
  usage
12
- } from "./chunk-F3FEY4D5.js";
12
+ } from "./chunk-BF3SCQNZ.js";
13
13
  import {
14
14
  buildPreviewOutput
15
15
  } from "./chunk-TCUYH5GO.js";
@@ -24,12 +24,12 @@ import {
24
24
  readablePage,
25
25
  rejectPaginationModifiersWithoutAll,
26
26
  streamAll
27
- } from "./chunk-5AJS2V4T.js";
27
+ } from "./chunk-ZFOJU6NF.js";
28
28
  import {
29
29
  renderSuccess,
30
30
  writeNdjsonItem
31
- } from "./chunk-QM57YDJE.js";
32
- import "./chunk-KD2XY7RS.js";
31
+ } from "./chunk-2JHRIBHB.js";
32
+ import "./chunk-BVVWFW3P.js";
33
33
  import {
34
34
  GLOBAL_FLAGS,
35
35
  READ_SINGLE_FLAGS,
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-QLKGOIWS.js";
39
39
  import {
40
40
  DESCRIPTIONS
41
- } from "./chunk-ZC4S4B32.js";
41
+ } from "./chunk-Z647LR4F.js";
42
42
  import "./chunk-ZYURL5VK.js";
43
43
 
44
44
  // src/commands/signal.ts
@@ -429,7 +429,7 @@ var signalCommand = defineCommand({
429
429
  meta: { name: "signal", description: DESCRIPTIONS.signal },
430
430
  subCommands: { list: listCmd, get: getCmd, actions: actionsCmd, kinds: kindsCmd, watch: watchCmd, settings: settingsCmd, rules: rulesCmd },
431
431
  async run() {
432
- const { showHelp } = await import("./examples-5FJS47QF.js");
432
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
433
433
  await showHelp(signalCommand, ["curviate", "signal"]);
434
434
  }
435
435
  });
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-F3FEY4D5.js";
8
+ } from "./chunk-BF3SCQNZ.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,17 +20,17 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-5AJS2V4T.js";
23
+ } from "./chunk-ZFOJU6NF.js";
24
24
  import {
25
25
  renderSuccess,
26
26
  writeNdjsonItem
27
- } from "./chunk-QM57YDJE.js";
27
+ } from "./chunk-2JHRIBHB.js";
28
28
  import {
29
29
  createClient,
30
30
  readConfig,
31
31
  resolveEffectiveConfig,
32
32
  writeProfile
33
- } from "./chunk-KD2XY7RS.js";
33
+ } from "./chunk-BVVWFW3P.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-QLKGOIWS.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
- } from "./chunk-ZC4S4B32.js";
42
+ } from "./chunk-Z647LR4F.js";
43
43
  import "./chunk-ZYURL5VK.js";
44
44
 
45
45
  // src/commands/team.ts
@@ -121,7 +121,7 @@ var PAGE_FLAGS = readOnly(GLOBAL_FLAGS);
121
121
  var listCmd = defineCommand({
122
122
  meta: {
123
123
  name: "list",
124
- description: "The Teams you are a member of, with your role; is_current marks the Team this call acts in. --counts adds each Team's Tier, trial, Accounts, active Campaigns and, where you are an Owner, seats.",
124
+ description: "The Teams you are a member of, with your role; is_current marks the Team this call acts in. --counts adds whether each Team holds the plan, its trial, Accounts, active Campaigns and, where you are an Owner, seats.",
125
125
  risk: "read",
126
126
  examples: ["curviate team list", "curviate team list --counts --json"]
127
127
  },
@@ -495,7 +495,7 @@ var teamCommand = defineCommand({
495
495
  seats: seatsCmd
496
496
  },
497
497
  async run() {
498
- const { showHelp } = await import("./examples-5FJS47QF.js");
498
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
499
499
  await showHelp(teamCommand, ["curviate", "team"]);
500
500
  }
501
501
  });
@@ -3,21 +3,21 @@ import {
3
3
  fail,
4
4
  outputOpts,
5
5
  rootClient
6
- } from "./chunk-F3FEY4D5.js";
6
+ } from "./chunk-BF3SCQNZ.js";
7
7
  import {
8
8
  readableObject
9
- } from "./chunk-5AJS2V4T.js";
9
+ } from "./chunk-ZFOJU6NF.js";
10
10
  import {
11
11
  renderSuccess
12
- } from "./chunk-QM57YDJE.js";
13
- import "./chunk-KD2XY7RS.js";
12
+ } from "./chunk-2JHRIBHB.js";
13
+ import "./chunk-BVVWFW3P.js";
14
14
  import {
15
15
  READ_SINGLE_FLAGS,
16
16
  readOnly
17
17
  } from "./chunk-QLKGOIWS.js";
18
18
  import {
19
19
  DESCRIPTIONS
20
- } from "./chunk-ZC4S4B32.js";
20
+ } from "./chunk-Z647LR4F.js";
21
21
  import "./chunk-ZYURL5VK.js";
22
22
 
23
23
  // src/commands/tier.ts
@@ -15,7 +15,7 @@ import {
15
15
  outputOpts,
16
16
  rootClient,
17
17
  usage
18
- } from "./chunk-F3FEY4D5.js";
18
+ } from "./chunk-BF3SCQNZ.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -29,12 +29,12 @@ import {
29
29
  readablePage,
30
30
  rejectPaginationModifiersWithoutAll,
31
31
  streamAll
32
- } from "./chunk-5AJS2V4T.js";
32
+ } from "./chunk-ZFOJU6NF.js";
33
33
  import {
34
34
  renderSuccess,
35
35
  writeNdjsonItem
36
- } from "./chunk-QM57YDJE.js";
37
- import "./chunk-KD2XY7RS.js";
36
+ } from "./chunk-2JHRIBHB.js";
37
+ import "./chunk-BVVWFW3P.js";
38
38
  import {
39
39
  GLOBAL_FLAGS,
40
40
  WRITE_SINGLE_FLAGS,
@@ -42,7 +42,7 @@ import {
42
42
  } from "./chunk-QLKGOIWS.js";
43
43
  import {
44
44
  DESCRIPTIONS
45
- } from "./chunk-ZC4S4B32.js";
45
+ } from "./chunk-Z647LR4F.js";
46
46
  import "./chunk-ZYURL5VK.js";
47
47
 
48
48
  // src/commands/unibox.ts
@@ -365,7 +365,7 @@ var online = (fn) => async ({ args }) => {
365
365
  var ACCOUNT = { type: "positional", description: "The chat's Account (acc_...), as `curviate unibox list` prints it." };
366
366
  var CHAT = { type: "positional", description: "The chat id, as `curviate unibox list` prints it." };
367
367
  var ACCOUNTS = { type: "string", description: "Only these Accounts: a comma list of ids (acc_...). Never filled from your profile's default Account." };
368
- var AUTOMATE = { TIER_REQUIRED: "your plan does not include the Unibox actions (Automate)." };
368
+ var NEEDS_SUBSCRIPTION = { TIER_REQUIRED: "your Team needs a subscription for the Unibox actions." };
369
369
  var ONE_TO_ONE = { CHAT_NOT_ONE_TO_ONE: "the chat is a group chat: there is no one person to save." };
370
370
  var listCmd = defineCommand({
371
371
  meta: {
@@ -454,7 +454,7 @@ var conversationCmd = defineCommand({
454
454
  meta: { name: "conversation", description: "One person on one Account across LinkedIn and email: read it (get), its timeline, mark it read or unread." },
455
455
  subCommands: { get: conversationGetCmd, timeline: conversationTimelineCmd, mark: conversationMarkCmd },
456
456
  async run() {
457
- const { showHelp } = await import("./examples-5FJS47QF.js");
457
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
458
458
  await showHelp(conversationCmd, ["curviate", "unibox", "conversation"]);
459
459
  }
460
460
  });
@@ -501,7 +501,7 @@ var emailCmd = defineCommand({
501
501
  meta: { name: "email", description: "Email from a conversation: send one plain-text email to its Lead." },
502
502
  subCommands: { send: emailSendCmd },
503
503
  async run() {
504
- const { showHelp } = await import("./examples-5FJS47QF.js");
504
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
505
505
  await showHelp(emailCmd, ["curviate", "unibox", "email"]);
506
506
  }
507
507
  });
@@ -552,7 +552,7 @@ var referralCmd = defineCommand({
552
552
  meta: { name: "referral", description: "A reply labelled Referral: find the referred person on LinkedIn, then save them as a Lead." },
553
553
  subCommands: { search: referralSearchCmd, confirm: referralConfirmCmd },
554
554
  async run() {
555
- const { showHelp } = await import("./examples-5FJS47QF.js");
555
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
556
556
  await showHelp(referralCmd, ["curviate", "unibox", "referral"]);
557
557
  }
558
558
  });
@@ -622,7 +622,7 @@ var markCmd = defineCommand({
622
622
  var tagCmd = defineCommand({
623
623
  meta: {
624
624
  name: "tag",
625
- description: "Save the other person of a one-to-one chat as a Lead (or find the one you hold) and add tags, never removing any. Needs Automate.",
625
+ description: "Save the other person of a one-to-one chat as a Lead (or find the one you hold) and add tags, never removing any. Needs a subscription.",
626
626
  risk: "write",
627
627
  rules: {
628
628
  changes: "Creates or finds the Lead and adds the tags.",
@@ -631,7 +631,7 @@ var tagCmd = defineCommand({
631
631
  retry: "Safe to repeat: the same Lead, tags already there stay.",
632
632
  undo: "Remove the tags or the Lead with `curviate lead`."
633
633
  },
634
- errors: { ...AUTOMATE, ...ONE_TO_ONE },
634
+ errors: { ...NEEDS_SUBSCRIPTION, ...ONE_TO_ONE },
635
635
  examples: ["curviate unibox tag acc_YOUR_ACCOUNT_ID YOUR_CHAT_ID --tag warm"]
636
636
  },
637
637
  args: { ...WRITE_SINGLE_FLAGS, accountId: ACCOUNT, chatId: CHAT, tag: { type: "string", description: "A tag to add; repeatable or a comma list. Omit to only save the Lead." } },
@@ -640,7 +640,7 @@ var tagCmd = defineCommand({
640
640
  var enrollCmd = defineCommand({
641
641
  meta: {
642
642
  name: "enroll",
643
- description: "Save the other person of a one-to-one chat as a Lead and enroll them in a Campaign through this chat's Account (one of its sending Accounts). A direct add: the rule that skips people you already chat with does not apply; every other rule does. Needs Automate.",
643
+ description: "Save the other person of a one-to-one chat as a Lead and enroll them in a Campaign through this chat's Account (one of its sending Accounts). A direct add: the rule that skips people you already chat with does not apply; every other rule does. Needs a subscription.",
644
644
  risk: "high",
645
645
  rules: {
646
646
  changes: "Creates the Enrollment; the Campaign's Steps run for this person from this Account.",
@@ -650,7 +650,7 @@ var enrollCmd = defineCommand({
650
650
  undo: "`curviate enrollment stop <enrollment_id>`; what was sent stays sent.",
651
651
  blast_radius: "One person, from one Account."
652
652
  },
653
- errors: { ...AUTOMATE, ...ONE_TO_ONE, ALREADY_ENROLLED_ON_ACCOUNT: "the person is already in this Campaign on this Account." },
653
+ errors: { ...NEEDS_SUBSCRIPTION, ...ONE_TO_ONE, ALREADY_ENROLLED_ON_ACCOUNT: "the person is already in this Campaign on this Account." },
654
654
  seeAlso: ["curviate enrollment get"],
655
655
  examples: ["curviate unibox enroll acc_YOUR_ACCOUNT_ID YOUR_CHAT_ID --campaign mot_YOUR_CAMPAIGN_ID"]
656
656
  },
@@ -660,7 +660,7 @@ var enrollCmd = defineCommand({
660
660
  var refreshCmd = defineCommand({
661
661
  meta: {
662
662
  name: "refresh",
663
- description: "Queue a re-read of the newest chats of each Account the inbox poll covers, or of --accounts; it runs within minutes. Once per Account in a short cooldown: a repeat answers cooldown with next_allowed_at. An Account without Sync full inbox is re-read for its Campaign conversations only; one with neither answers not_synced. The poll keeps the Account's active hours: on a Team whose active days are Monday to Friday nothing is polled at the weekend, and a refresh then answers paused until the next active day. Needs Automate.",
663
+ description: "Queue a re-read of the newest chats of each Account the inbox poll covers, or of --accounts; it runs within minutes. Once per Account in a short cooldown: a repeat answers cooldown with next_allowed_at. An Account without Sync full inbox is re-read for its Campaign conversations only; one with neither answers not_synced. The poll keeps the Account's active hours: on a Team whose active days are Monday to Friday nothing is polled at the weekend, and a refresh then answers paused until the next active day. Needs a subscription.",
664
664
  risk: "write",
665
665
  rules: {
666
666
  changes: "Queues one read of each Account's newest chats.",
@@ -669,7 +669,7 @@ var refreshCmd = defineCommand({
669
669
  retry: "A repeat inside the cooldown answers cooldown; nothing new is queued.",
670
670
  undo: "Nothing to undo: a refresh only reads."
671
671
  },
672
- errors: AUTOMATE,
672
+ errors: NEEDS_SUBSCRIPTION,
673
673
  examples: ["curviate unibox refresh", "curviate unibox refresh --accounts acc_YOUR_ACCOUNT_ID"]
674
674
  },
675
675
  args: { ...WRITE_SINGLE_FLAGS, accounts: ACCOUNTS },
@@ -678,7 +678,7 @@ var refreshCmd = defineCommand({
678
678
  var labelCmd = defineCommand({
679
679
  meta: {
680
680
  name: "label",
681
- description: "Read a reply's Reply label and its history (who set it, Curviate's confidence as a whole percent, or a rule), or with --set correct it. A correction acts as when Curviate sets the label: opt_out puts the person on your Do-not-contact list (not_interested too when your Team turned that on), out_of_office makes the Lead wait 7 days, and your Team's Tag for the label is added. No LinkedIn call. --set needs Automate.",
681
+ description: "Read a reply's Reply label and its history (who set it, Curviate's confidence as a whole percent, or a rule), or with --set correct it. A correction acts as when Curviate sets the label: opt_out puts the person on your Do-not-contact list (not_interested too when your Team turned that on), out_of_office makes the Lead wait 7 days, and your Team's Tag for the label is added. No LinkedIn call. --set needs a subscription.",
682
682
  risk: "write",
683
683
  rules: {
684
684
  changes: "With --set: the message's Reply label, stored as a correction; the earlier label stays in the history.",
@@ -687,7 +687,7 @@ var labelCmd = defineCommand({
687
687
  retry: "Safe to repeat: the same label again.",
688
688
  undo: "Set the label back with --set; a Do-not-contact entry it added stays: `curviate do-not-contact remove`."
689
689
  },
690
- errors: { ...AUTOMATE, REPLY_NOT_LABELLABLE: "this message takes no Reply label: a direct conversation (no Campaign), your own message, or a warm-up message." },
690
+ errors: { ...NEEDS_SUBSCRIPTION, REPLY_NOT_LABELLABLE: "this message takes no Reply label: a direct conversation (no Campaign), your own message, or a warm-up message." },
691
691
  seeAlso: ["curviate unibox messages", "curviate team reply-labels"],
692
692
  examples: ["curviate unibox label YOUR_MESSAGE_ID", "curviate unibox label YOUR_MESSAGE_ID --set not_now"]
693
693
  },
@@ -714,7 +714,7 @@ var accountsCmd = defineCommand({
714
714
  var consentCmd = defineCommand({
715
715
  meta: {
716
716
  name: "consent",
717
- description: "Turn Sync full inbox on or off for one Account. Only the person who connected the Account can. On starts a paced listing that takes hours (needs Automate); off hides the Account's non-Campaign chats at once and deletes them shortly after.",
717
+ description: "Turn Sync full inbox on or off for one Account. Only the person who connected the Account can. On starts a paced listing that takes hours (needs a subscription); off hides the Account's non-Campaign chats at once and deletes them shortly after.",
718
718
  risk: "high",
719
719
  rules: {
720
720
  changes: "Copies the Account's whole inbox into the Unibox (on), or removes the non-Campaign chats from it (off).",
@@ -724,7 +724,7 @@ var consentCmd = defineCommand({
724
724
  undo: "Run it with the other flag; chats removed by off are listed again by a new sync.",
725
725
  blast_radius: "One Account's whole inbox."
726
726
  },
727
- errors: { ...AUTOMATE, ACCOUNT_OWNER_ONLY: "only the person who connected the Account can change this." },
727
+ errors: { ...NEEDS_SUBSCRIPTION, ACCOUNT_OWNER_ONLY: "only the person who connected the Account can change this." },
728
728
  seeAlso: ["curviate unibox refresh", "curviate unibox list"],
729
729
  examples: ["curviate unibox consent acc_YOUR_ACCOUNT_ID --on"]
730
730
  },
@@ -756,7 +756,7 @@ var uniboxCommand = defineCommand({
756
756
  consent: consentCmd
757
757
  },
758
758
  async run() {
759
- const { showHelp } = await import("./examples-5FJS47QF.js");
759
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
760
760
  await showHelp(uniboxCommand, ["curviate", "unibox"]);
761
761
  }
762
762
  });
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-F3FEY4D5.js";
8
+ } from "./chunk-BF3SCQNZ.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,17 +20,17 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-5AJS2V4T.js";
23
+ } from "./chunk-ZFOJU6NF.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
27
27
  renderUnexpectedError,
28
28
  writeNdjsonItem
29
- } from "./chunk-QM57YDJE.js";
29
+ } from "./chunk-2JHRIBHB.js";
30
30
  import {
31
31
  createClient,
32
32
  resolveEffectiveConfig
33
- } from "./chunk-KD2XY7RS.js";
33
+ } from "./chunk-BVVWFW3P.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-QLKGOIWS.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
- } from "./chunk-ZC4S4B32.js";
42
+ } from "./chunk-Z647LR4F.js";
43
43
  import {
44
44
  readFileFlag
45
45
  } from "./chunk-JKOQX46J.js";
@@ -259,7 +259,7 @@ function resolveOutputOpts(flags) {
259
259
  async function handleError(err, outOpts, out) {
260
260
  const { CurviateError } = await import("@curviate/sdk");
261
261
  if (err instanceof CurviateError) {
262
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
262
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
263
263
  renderError(err, outOpts, out);
264
264
  process.exit(getExitCode(err));
265
265
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.59.0",
3
+ "version": "0.61.0",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "clean": "rm -rf dist *.tsbuildinfo"
48
48
  },
49
49
  "dependencies": {
50
- "@curviate/sdk": "0.55.0",
50
+ "@curviate/sdk": "0.56.0",
51
51
  "citty": "^0.1.6",
52
52
  "open": "^10.1.0"
53
53
  },
@@ -1,46 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- DESCRIPTIONS,
4
- lazy
5
- } from "./chunk-ZC4S4B32.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-7LJLU4Y5.js").then((m) => m.profileCommand)),
23
- company: lazy("company", () => import("./company-IWVNUBWS.js").then((m) => m.companyCommand)),
24
- job: lazy("job", () => import("./job-WUYHK6OX.js").then((m) => m.jobCommand)),
25
- connect: lazy("connect", () => import("./connect-AELFEVR7.js").then((m) => m.connectCommand)),
26
- search: lazy("search", () => import("./search-DNCPCFRR.js").then((m) => m.searchCommand)),
27
- inbox: lazy("inbox", () => import("./inbox-IDILZLPC.js").then((m) => m.inboxCommand)),
28
- inboxes: lazy("inboxes", () => import("./inboxes-QLP5PWTS.js").then((m) => m.inboxesCommand)),
29
- message: lazy("message", () => import("./message-EBVO4ZZI.js").then((m) => m.messageCommand)),
30
- post: lazy("post", () => import("./post-XYSFN5OP.js").then((m) => m.postCommand)),
31
- comment: lazy("comment", () => import("./comment-DA6XPY4F.js").then((m) => m.commentCommand)),
32
- "sales-nav": lazy("sales-nav", () => import("./sales-nav-HYZXNYCC.js").then((m) => m.salesNavCommand)),
33
- recruiter: lazy("recruiter", () => import("./recruiter-ALQNIRYR.js").then((m) => m.recruiterCommand)),
34
- group: lazy("group", () => import("./group-SLXDOCHV.js").then((m) => m.groupCommand)),
35
- feed: lazy("feed", () => import("./feed-PHF2ROIT.js").then((m) => m.feedCommand)),
36
- notification: lazy("coreNotification", () => import("./notification-QNGHG5EO.js").then((m) => m.notificationCommand)),
37
- draft: lazy("draft", () => import("./draft-2KBRHBBH.js").then((m) => m.draftCommand))
38
- },
39
- async run() {
40
- const { showHelp } = await import("./examples-5FJS47QF.js");
41
- await showHelp(coreCommand, ["curviate", "core"]);
42
- }
43
- });
44
- export {
45
- coreCommand
46
- };