@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
@@ -8,18 +8,18 @@ import {
8
8
  online,
9
9
  preview,
10
10
  readFilter
11
- } from "./chunk-72PYX57P.js";
12
- import "./chunk-HG2G5OAZ.js";
11
+ } from "./chunk-THV7IFCQ.js";
12
+ import "./chunk-7B3ZEBID.js";
13
13
  import "./chunk-GOICALYQ.js";
14
14
  import {
15
15
  sendInChunks
16
- } from "./chunk-HJ7YY4HE.js";
16
+ } from "./chunk-NPXJ6WZB.js";
17
17
  import {
18
18
  fail,
19
19
  listFlag,
20
20
  outputOpts,
21
21
  usage
22
- } from "./chunk-F3FEY4D5.js";
22
+ } from "./chunk-BF3SCQNZ.js";
23
23
  import "./chunk-TCUYH5GO.js";
24
24
  import {
25
25
  intFlag
@@ -32,21 +32,21 @@ import {
32
32
  readablePage,
33
33
  rejectPaginationModifiersWithoutAll,
34
34
  streamAll
35
- } from "./chunk-5AJS2V4T.js";
35
+ } from "./chunk-ZFOJU6NF.js";
36
36
  import {
37
37
  renderSuccess,
38
38
  writeNdjsonItem
39
- } from "./chunk-QM57YDJE.js";
40
- import "./chunk-KD2XY7RS.js";
39
+ } from "./chunk-2JHRIBHB.js";
40
+ import "./chunk-BVVWFW3P.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_SINGLE_FLAGS,
45
45
  readOnly
46
46
  } from "./chunk-QLKGOIWS.js";
47
- import "./chunk-ZC4S4B32.js";
47
+ import "./chunk-Z647LR4F.js";
48
48
  import "./chunk-ZYURL5VK.js";
49
- import "./chunk-EWSOIFG2.js";
49
+ import "./chunk-DLYVUDNF.js";
50
50
 
51
51
  // src/commands/contact-groups.ts
52
52
  import { defineCommand } from "citty";
@@ -125,7 +125,7 @@ var listsGet = defineCommand({
125
125
  var listsCreate = defineCommand({
126
126
  meta: {
127
127
  name: "create",
128
- description: "Create an empty Lead list. Fill it with `curviate lead lists add`, `curviate lead import --list`, or build it from other lists with `curviate lead lists combine`. Needs Automate.",
128
+ description: "Create an empty Lead list. Fill it with `curviate lead lists add`, `curviate lead import --list`, or build it from other lists with `curviate lead lists combine`. Needs a subscription.",
129
129
  risk: "write",
130
130
  rules: {
131
131
  changes: "A new, empty Lead list.",
@@ -156,7 +156,7 @@ var listsCreate = defineCommand({
156
156
  var listsCombine = defineCommand({
157
157
  meta: {
158
158
  name: "combine",
159
- description: "Create a new Lead list from other lists: the Leads in any of them (--list a --list b), in all of them (--list-match all), minus those in some others (--not-list). Any other filter flag narrows it too. The new list holds the Leads that match now; it does not follow later changes to the source lists. Needs Automate.",
159
+ description: "Create a new Lead list from other lists: the Leads in any of them (--list a --list b), in all of them (--list-match all), minus those in some others (--not-list). Any other filter flag narrows it too. The new list holds the Leads that match now; it does not follow later changes to the source lists. Needs a subscription.",
160
160
  risk: "write",
161
161
  rules: {
162
162
  changes: "A new Lead list holding every Lead the filter matches at this moment. The source lists are unchanged.",
@@ -193,7 +193,7 @@ var listsCombine = defineCommand({
193
193
  var listsUpdate = defineCommand({
194
194
  meta: {
195
195
  name: "update",
196
- description: 'Rename a Lead list or change its description (--description "" clears it). Needs Automate.',
196
+ description: 'Rename a Lead list or change its description (--description "" clears it). Needs a subscription.',
197
197
  risk: "write",
198
198
  rules: {
199
199
  changes: "The list's name or description.",
@@ -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 Leads to" : "Remove Leads from"} a Lead list. Name the Leads by id, or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`lead list\` calls it --list). Needs Automate.`,
259
+ description: `${verb === "add" ? "Add Leads to" : "Remove Leads from"} a Lead list. Name the Leads by id, or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`lead list\` calls it --list). Needs a subscription.`,
260
260
  risk: "high",
261
261
  rules: {
262
262
  changes: verb === "add" ? "The Leads join the list." : "The Leads leave the list; they are not deleted.",
@@ -293,7 +293,7 @@ var contactListsCommand = defineCommand({
293
293
  meta: { name: "lists", description: "Lead lists: named sets of Leads a Campaign enrolls from." },
294
294
  subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
295
295
  async run() {
296
- const { showHelp } = await import("./examples-5FJS47QF.js");
296
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
297
297
  await showHelp(contactListsCommand, ["curviate", "lead", "lists"]);
298
298
  }
299
299
  });
@@ -306,7 +306,7 @@ var tagsList = defineCommand({
306
306
  var tagsUpdate = defineCommand({
307
307
  meta: {
308
308
  name: "update",
309
- description: "Rename a Tag on every Lead that carries it. A name another Tag has is refused. Needs Automate.",
309
+ description: "Rename a Tag on every Lead that carries it. A name another Tag has is refused. Needs a subscription.",
310
310
  risk: "write",
311
311
  rules: {
312
312
  changes: "The Tag's name, on all its Leads.",
@@ -360,7 +360,7 @@ var tagsDelete = defineCommand({
360
360
  var tagging = (verb) => defineCommand({
361
361
  meta: {
362
362
  name: verb,
363
- description: `${verb === "add" ? "Put a Tag on" : "Take a Tag off"} Leads, named by id or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. Needs Automate.`,
363
+ description: `${verb === "add" ? "Put a Tag on" : "Take a Tag off"} Leads, named by id or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. Needs a subscription.`,
364
364
  risk: "high",
365
365
  rules: {
366
366
  changes: verb === "add" ? "The Tag is put on the Leads (created if new)." : "The Tag is taken off the Leads.",
@@ -390,7 +390,7 @@ var contactTagsCommand = defineCommand({
390
390
  meta: { name: "tags", description: "Tags: labels on Leads." },
391
391
  subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
392
392
  async run() {
393
- const { showHelp } = await import("./examples-5FJS47QF.js");
393
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
394
394
  await showHelp(contactTagsCommand, ["curviate", "lead", "tags"]);
395
395
  }
396
396
  });
@@ -7,23 +7,23 @@ import {
7
7
  contactImportCommand,
8
8
  contactImportsCommand,
9
9
  csvRecords
10
- } from "./chunk-TNLIV3SW.js";
11
- import "./chunk-72PYX57P.js";
12
- import "./chunk-HG2G5OAZ.js";
10
+ } from "./chunk-R7CHBBYM.js";
11
+ import "./chunk-THV7IFCQ.js";
12
+ import "./chunk-7B3ZEBID.js";
13
13
  import "./chunk-GOICALYQ.js";
14
- import "./chunk-HJ7YY4HE.js";
15
- import "./chunk-F3FEY4D5.js";
14
+ import "./chunk-NPXJ6WZB.js";
15
+ import "./chunk-BF3SCQNZ.js";
16
16
  import "./chunk-TCUYH5GO.js";
17
17
  import "./chunk-NNV2OYEF.js";
18
- import "./chunk-5AJS2V4T.js";
19
- import "./chunk-QM57YDJE.js";
20
- import "./chunk-KD2XY7RS.js";
18
+ import "./chunk-ZFOJU6NF.js";
19
+ import "./chunk-2JHRIBHB.js";
20
+ import "./chunk-BVVWFW3P.js";
21
21
  import "./chunk-QLKGOIWS.js";
22
- import "./chunk-ZC4S4B32.js";
22
+ import "./chunk-Z647LR4F.js";
23
23
  import "./chunk-JKOQX46J.js";
24
24
  import "./chunk-FDJMAF7D.js";
25
25
  import "./chunk-ZYURL5VK.js";
26
- import "./chunk-EWSOIFG2.js";
26
+ import "./chunk-DLYVUDNF.js";
27
27
  export {
28
28
  IMPORT_MAX_BODY_BYTES,
29
29
  IMPORT_MAX_ROWS,
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ DESCRIPTIONS,
4
+ lazy
5
+ } from "./chunk-Z647LR4F.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-SVX32KM7.js").then((m) => m.profileCommand)),
23
+ company: lazy("company", () => import("./company-JTTRUG7I.js").then((m) => m.companyCommand)),
24
+ job: lazy("job", () => import("./job-T2Y2FI2J.js").then((m) => m.jobCommand)),
25
+ connect: lazy("connect", () => import("./connect-P2EVA7Q6.js").then((m) => m.connectCommand)),
26
+ search: lazy("search", () => import("./search-DE7LXAGY.js").then((m) => m.searchCommand)),
27
+ inbox: lazy("inbox", () => import("./inbox-5LFGUDR3.js").then((m) => m.inboxCommand)),
28
+ inboxes: lazy("inboxes", () => import("./inboxes-3S3Q5P55.js").then((m) => m.inboxesCommand)),
29
+ message: lazy("message", () => import("./message-ZTG5NLFM.js").then((m) => m.messageCommand)),
30
+ post: lazy("post", () => import("./post-3IHALP6D.js").then((m) => m.postCommand)),
31
+ comment: lazy("comment", () => import("./comment-IGLA7IER.js").then((m) => m.commentCommand)),
32
+ "sales-nav": lazy("sales-nav", () => import("./sales-nav-LZGY3JNR.js").then((m) => m.salesNavCommand)),
33
+ recruiter: lazy("recruiter", () => import("./recruiter-FXNHAGUQ.js").then((m) => m.recruiterCommand)),
34
+ group: lazy("group", () => import("./group-UENN2D2V.js").then((m) => m.groupCommand)),
35
+ feed: lazy("feed", () => import("./feed-H64BWKHD.js").then((m) => m.feedCommand)),
36
+ notification: lazy("coreNotification", () => import("./notification-OSFARVWS.js").then((m) => m.notificationCommand)),
37
+ draft: lazy("draft", () => import("./draft-QEIV3EJF.js").then((m) => m.draftCommand))
38
+ },
39
+ async run() {
40
+ const { showHelp } = await import("./examples-G4IC5TJU.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-TNLIV3SW.js";
6
- import "./chunk-72PYX57P.js";
7
- import "./chunk-HG2G5OAZ.js";
5
+ } from "./chunk-R7CHBBYM.js";
6
+ import "./chunk-THV7IFCQ.js";
7
+ import "./chunk-7B3ZEBID.js";
8
8
  import {
9
9
  writeAtomic
10
10
  } from "./chunk-GOICALYQ.js";
11
11
  import {
12
12
  sendChunked
13
- } from "./chunk-HJ7YY4HE.js";
13
+ } from "./chunk-NPXJ6WZB.js";
14
14
  import {
15
15
  fail,
16
16
  outputOpts,
17
17
  rootClient,
18
18
  usage
19
- } from "./chunk-F3FEY4D5.js";
19
+ } from "./chunk-BF3SCQNZ.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -31,14 +31,14 @@ import {
31
31
  readablePage,
32
32
  rejectPaginationModifiersWithoutAll,
33
33
  streamAll
34
- } from "./chunk-5AJS2V4T.js";
34
+ } from "./chunk-ZFOJU6NF.js";
35
35
  import {
36
36
  renderSuccess,
37
37
  writeNdjsonItem
38
- } from "./chunk-QM57YDJE.js";
38
+ } from "./chunk-2JHRIBHB.js";
39
39
  import {
40
40
  downloadBinary
41
- } from "./chunk-KD2XY7RS.js";
41
+ } from "./chunk-BVVWFW3P.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  READ_SINGLE_FLAGS,
@@ -47,7 +47,7 @@ import {
47
47
  } from "./chunk-QLKGOIWS.js";
48
48
  import {
49
49
  DESCRIPTIONS
50
- } from "./chunk-ZC4S4B32.js";
50
+ } from "./chunk-Z647LR4F.js";
51
51
  import {
52
52
  readFileFlag
53
53
  } from "./chunk-JKOQX46J.js";
@@ -55,7 +55,7 @@ import "./chunk-FDJMAF7D.js";
55
55
  import {
56
56
  isStdinToken
57
57
  } from "./chunk-ZYURL5VK.js";
58
- import "./chunk-EWSOIFG2.js";
58
+ import "./chunk-DLYVUDNF.js";
59
59
 
60
60
  // src/commands/do-not-contact.ts
61
61
  import { defineCommand } from "citty";
@@ -263,7 +263,7 @@ var getCmd = defineCommand({
263
263
  var addCmd = defineCommand({
264
264
  meta: {
265
265
  name: "add",
266
- description: "Put one person on the list, by Lead id or LinkedIn URL (a URL of someone who is not a Lead yet creates the Lead from stored data), or a whole company with --company (its LinkedIn URL with the numeric id, as a Lead's company_linkedin_url): nobody who works there is contacted or imported. No Campaign contacts them afterwards and writes toward them are refused; with --scope email_only only email stops (No email). One person per call; for many, `do-not-contact import`. Any member may add. Needs Automate.",
266
+ description: "Put one person on the list, by Lead id or LinkedIn URL (a URL of someone who is not a Lead yet creates the Lead from stored data), or a whole company with --company (its LinkedIn URL with the numeric id, as a Lead's company_linkedin_url): nobody who works there is contacted or imported. No Campaign contacts them afterwards and writes toward them are refused; with --scope email_only only email stops (No email). One person per call; for many, `do-not-contact import`. Any member may add. Needs a subscription.",
267
267
  risk: "write",
268
268
  rules: {
269
269
  changes: "The person joins the list; Campaigns skip them and writes toward them are refused.",
@@ -272,7 +272,7 @@ var addCmd = defineCommand({
272
272
  retry: "Safe: a person already on the list answers with their existing entry.",
273
273
  undo: "`curviate do-not-contact remove <id>` (Owners and Managers)."
274
274
  },
275
- errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).", RESOURCE_NOT_FOUND: "no Lead has this id." },
275
+ errors: { TIER_REQUIRED: "your Team needs a subscription for Do-not-contact writes.", RESOURCE_NOT_FOUND: "no Lead has this id." },
276
276
  seeAlso: ["curviate do-not-contact list", "curviate do-not-contact import"],
277
277
  examples: [
278
278
  "curviate do-not-contact add --lead con_YOUR_LEAD_ID --reason asked_to_stop",
@@ -293,7 +293,7 @@ var addCmd = defineCommand({
293
293
  var updateCmd = defineCommand({
294
294
  meta: {
295
295
  name: "update",
296
- description: "Change the reason on an entry. Needs Automate.",
296
+ description: "Change the reason on an entry. Needs a subscription.",
297
297
  risk: "write",
298
298
  rules: {
299
299
  changes: "The entry's reason.",
@@ -302,7 +302,7 @@ var updateCmd = defineCommand({
302
302
  retry: "Safe: the same call leaves the same reason.",
303
303
  undo: "Update again with the old reason."
304
304
  },
305
- errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).", RESOURCE_NOT_FOUND: "no such entry." },
305
+ errors: { TIER_REQUIRED: "your Team needs a subscription for Do-not-contact writes.", RESOURCE_NOT_FOUND: "no such entry." },
306
306
  examples: ["curviate do-not-contact update dnc_YOUR_ENTRY_ID --reason existing_customer"]
307
307
  },
308
308
  args: { ...WRITE_SINGLE_FLAGS, id: ID, reason: { ...REASON_ARG, required: true } },
@@ -353,7 +353,7 @@ var exportCmd = defineCommand({
353
353
  var importCmd = defineCommand({
354
354
  meta: {
355
355
  name: "import",
356
- description: "Put the people of a CSV, JSON or NDJSON file on the list: a linkedin_url per row and an optional reason (a do-not-contact export works as it is). Each row works as `add`: someone who is not a Lead yet becomes one from stored data, and a person already listed is reported unchanged and keeps their reason. A bad URL or reason skips its row and the server says why. A file over 10,000 rows is sent in several requests. Any member may import. Needs Automate.",
356
+ description: "Put the people of a CSV, JSON or NDJSON file on the list: a linkedin_url per row and an optional reason (a do-not-contact export works as it is). Each row works as `add`: someone who is not a Lead yet becomes one from stored data, and a person already listed is reported unchanged and keeps their reason. A bad URL or reason skips its row and the server says why. A file over 10,000 rows is sent in several requests. Any member may import. Needs a subscription.",
357
357
  risk: "write",
358
358
  rules: {
359
359
  changes: "The people join the list; Campaigns skip them and writes toward them are refused. Nothing is sent to LinkedIn or to the people.",
@@ -362,7 +362,7 @@ var importCmd = defineCommand({
362
362
  retry: "Safe to repeat: a person already listed is reported unchanged. A run stopped part way: run it again.",
363
363
  undo: "`curviate do-not-contact remove <id>` per person (Owners and Managers)."
364
364
  },
365
- errors: { TIER_REQUIRED: "your plan does not include Do-not-contact writes (Automate).", LEAD_LIMIT_REACHED: "the Team is at its Lead cap; rows that would add a Lead past it are skipped." },
365
+ errors: { TIER_REQUIRED: "your Team needs a subscription for Do-not-contact writes.", LEAD_LIMIT_REACHED: "the Team is at its Lead cap; rows that would add a Lead past it are skipped." },
366
366
  output: ["One report: `total_rows`, summed `counts` (created, unchanged, skipped) and `skipped` rows with their number in the file, a reason and the field."],
367
367
  seeAlso: ["curviate do-not-contact export", "curviate do-not-contact list"],
368
368
  examples: ["curviate do-not-contact import --file do-not-contact.csv", "curviate do-not-contact import --file - --format ndjson"]
@@ -379,7 +379,7 @@ var doNotContactCommand = defineCommand({
379
379
  meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
380
380
  subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd, export: exportCmd, import: importCmd },
381
381
  async run() {
382
- const { showHelp } = await import("./examples-5FJS47QF.js");
382
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
383
383
  await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
384
384
  }
385
385
  });
@@ -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
  createClient,
8
8
  getConfigPath,
@@ -10,17 +10,17 @@ import {
10
10
  readConfigFile,
11
11
  resolveEffectiveConfig,
12
12
  withoutUserinfo
13
- } from "./chunk-KD2XY7RS.js";
13
+ } from "./chunk-BVVWFW3P.js";
14
14
  import {
15
15
  GLOBAL_FLAGS
16
16
  } from "./chunk-QLKGOIWS.js";
17
17
  import {
18
18
  DESCRIPTIONS
19
- } from "./chunk-ZC4S4B32.js";
19
+ } from "./chunk-Z647LR4F.js";
20
20
  import "./chunk-ZYURL5VK.js";
21
21
  import {
22
22
  getExitCode
23
- } from "./chunk-EWSOIFG2.js";
23
+ } from "./chunk-DLYVUDNF.js";
24
24
 
25
25
  // src/commands/doctor.ts
26
26
  import { defineCommand } from "citty";
@@ -4,24 +4,24 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-F3FEY4D5.js";
7
+ } from "./chunk-BF3SCQNZ.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
11
11
  import {
12
12
  readableObject
13
- } from "./chunk-5AJS2V4T.js";
13
+ } from "./chunk-ZFOJU6NF.js";
14
14
  import {
15
15
  renderSuccess
16
- } from "./chunk-QM57YDJE.js";
17
- import "./chunk-KD2XY7RS.js";
16
+ } from "./chunk-2JHRIBHB.js";
17
+ import "./chunk-BVVWFW3P.js";
18
18
  import {
19
19
  READ_SINGLE_FLAGS,
20
20
  readOnly
21
21
  } from "./chunk-QLKGOIWS.js";
22
22
  import {
23
23
  DESCRIPTIONS
24
- } from "./chunk-ZC4S4B32.js";
24
+ } from "./chunk-Z647LR4F.js";
25
25
  import "./chunk-ZYURL5VK.js";
26
26
 
27
27
  // src/commands/domain.ts
@@ -61,7 +61,7 @@ var domainCommand = defineCommand({
61
61
  meta: { name: "domain", description: DESCRIPTIONS["domain"] },
62
62
  subCommands: { check: checkCmd },
63
63
  async run() {
64
- const { showHelp } = await import("./examples-5FJS47QF.js");
64
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
65
65
  await showHelp(domainCommand, ["curviate", "domain"]);
66
66
  }
67
67
  });
@@ -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
  resolveTextOrStdin
45
45
  } from "./chunk-ZYURL5VK.js";
@@ -73,7 +73,7 @@ function rejectAllOnNonPaginated(all, out) {
73
73
  async function handleError(err, outOpts, out) {
74
74
  const { CurviateError } = await import("@curviate/sdk");
75
75
  if (err instanceof CurviateError) {
76
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
76
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
77
77
  renderError(err, outOpts, out);
78
78
  process.exit(getExitCode(err));
79
79
  }
@@ -371,7 +371,7 @@ var draftGetCommand = defineCommand({
371
371
  var draftCreateCommand = defineCommand({
372
372
  meta: {
373
373
  name: "create",
374
- description: "Store a Draft. Every part is optional. With --schedule-at (and an account and text) Curviate publishes it at that time. Each account, and the no-account bucket, has a Draft limit and a media quota (DRAFT_LIMIT_REACHED, MEDIA_QUOTA_EXCEEDED). A retry creates a second Draft. Needs Automate.",
374
+ description: "Store a Draft. Every part is optional. With --schedule-at (and an account and text) Curviate publishes it at that time. Each account, and the no-account bucket, has a Draft limit and a media quota (DRAFT_LIMIT_REACHED, MEDIA_QUOTA_EXCEEDED). A retry creates a second Draft. Needs a subscription.",
375
375
  risk: "write",
376
376
  rules: {
377
377
  changes: "Stores a Draft; with --schedule-at, an account and text, Curviate publishes it at that time.",
@@ -380,7 +380,7 @@ var draftCreateCommand = defineCommand({
380
380
  retry: "Not safe: each call creates another Draft.",
381
381
  undo: "`curviate core draft delete <draft_id>`."
382
382
  },
383
- errors: { TIER_REQUIRED: "your plan does not include Drafts (Automate).", DRAFT_LIMIT_REACHED: "the bucket already holds as many Drafts as it may.", MEDIA_QUOTA_EXCEEDED: "the media quota is used.", SCHEDULE_CONFLICT: "another Draft is scheduled too close to this time." },
383
+ errors: { TIER_REQUIRED: "your Team needs a subscription for Drafts.", DRAFT_LIMIT_REACHED: "the bucket already holds as many Drafts as it may.", MEDIA_QUOTA_EXCEEDED: "the media quota is used.", SCHEDULE_CONFLICT: "another Draft is scheduled too close to this time." },
384
384
  examples: [
385
385
  'curviate core draft create "Three things we learned shipping our first agent integration."',
386
386
  'curviate core draft create "Launch day." --account acc_YOUR_ACCOUNT_ID --schedule-at 2026-10-12T09:00:00+02:00',
@@ -401,7 +401,7 @@ var draftCreateCommand = defineCommand({
401
401
  var draftUpdateCommand = defineCommand({
402
402
  meta: {
403
403
  name: "update",
404
- description: "Change a Draft: only the parts you pass change. --attach appends files; --schedule-at schedules or reschedules, --unschedule cancels. Any update to a failed Draft clears its failure. A Draft being published answers DRAFT_PUBLISHING: read it again in a few seconds. Needs Automate.",
404
+ description: "Change a Draft: only the parts you pass change. --attach appends files; --schedule-at schedules or reschedules, --unschedule cancels. Any update to a failed Draft clears its failure. A Draft being published answers DRAFT_PUBLISHING: read it again in a few seconds. Needs a subscription.",
405
405
  risk: "write",
406
406
  rules: {
407
407
  changes: "Changes the parts of the Draft you pass; --schedule-at schedules or reschedules it, --unschedule cancels.",
@@ -410,7 +410,7 @@ var draftUpdateCommand = defineCommand({
410
410
  retry: "Safe for the text and schedule: the same values written again leave the Draft the same. --attach appends the files again.",
411
411
  undo: "Run it again with the previous values."
412
412
  },
413
- errors: { TIER_REQUIRED: "your plan does not include Drafts (Automate).", DRAFT_PUBLISHING: "the Draft is being published: read it again in a few seconds.", MEDIA_QUOTA_EXCEEDED: "the media quota is used.", SCHEDULE_CONFLICT: "another Draft is scheduled too close to this time." },
413
+ errors: { TIER_REQUIRED: "your Team needs a subscription for Drafts.", DRAFT_PUBLISHING: "the Draft is being published: read it again in a few seconds.", MEDIA_QUOTA_EXCEEDED: "the media quota is used.", SCHEDULE_CONFLICT: "another Draft is scheduled too close to this time." },
414
414
  examples: [
415
415
  'curviate core draft update drf_YOUR_DRAFT_ID --text "New wording."',
416
416
  "curviate core draft update drf_YOUR_DRAFT_ID --schedule-at 2026-10-12T09:00:00+02:00",
@@ -458,7 +458,7 @@ var draftDeleteCommand = defineCommand({
458
458
  var draftPublishCommand = defineCommand({
459
459
  meta: {
460
460
  name: "publish",
461
- description: "Publish a Draft now, under the same rules and safety limits as `curviate core post create`. Success deletes the Draft and prints the post id; a known failure keeps the content and cancels any pending scheduled publish or retry (a time still ahead stays scheduled, one already passed is cleared). If the error says the outcome is unknown, the Draft fails `outcome_unknown` and the post may be live: check the account's posts before retrying. Needs Automate.",
461
+ description: "Publish a Draft now, under the same rules and safety limits as `curviate core post create`. Success deletes the Draft and prints the post id; a known failure keeps the content and cancels any pending scheduled publish or retry (a time still ahead stays scheduled, one already passed is cleared). If the error says the outcome is unknown, the Draft fails `outcome_unknown` and the post may be live: check the account's posts before retrying. Needs a subscription.",
462
462
  risk: "write",
463
463
  rules: {
464
464
  changes: "Publishes the Draft as a post now and deletes the Draft.",
@@ -467,7 +467,7 @@ var draftPublishCommand = defineCommand({
467
467
  retry: "A known failure keeps the content, cancels any pending scheduled publish or retry (a time still ahead stays scheduled, one already passed is cleared) and is safe to retry. If the error says the outcome is unknown, read `curviate core post user-posts me` first.",
468
468
  undo: "`curviate core post delete <post_id>`."
469
469
  },
470
- errors: { ...AS_ACCOUNT, ...BUDGET, TIER_REQUIRED: "your plan does not include Drafts (Automate).", DRAFT_NOT_PUBLISHABLE: "the Draft lacks what a post needs.", DRAFT_PUBLISHING: "the Draft is already being published." },
470
+ errors: { ...AS_ACCOUNT, ...BUDGET, TIER_REQUIRED: "your Team needs a subscription for Drafts.", DRAFT_NOT_PUBLISHABLE: "the Draft lacks what a post needs.", DRAFT_PUBLISHING: "the Draft is already being published." },
471
471
  examples: ["curviate core draft publish drf_YOUR_DRAFT_ID"]
472
472
  },
473
473
  args: {
@@ -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,12 +20,12 @@ 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";
28
- import "./chunk-KD2XY7RS.js";
27
+ } from "./chunk-2JHRIBHB.js";
28
+ import "./chunk-BVVWFW3P.js";
29
29
  import {
30
30
  GLOBAL_FLAGS,
31
31
  READ_SINGLE_FLAGS,
@@ -34,7 +34,7 @@ import {
34
34
  } from "./chunk-QLKGOIWS.js";
35
35
  import {
36
36
  DESCRIPTIONS
37
- } from "./chunk-ZC4S4B32.js";
37
+ } from "./chunk-Z647LR4F.js";
38
38
  import "./chunk-ZYURL5VK.js";
39
39
 
40
40
  // src/commands/enrollment.ts
@@ -212,7 +212,7 @@ async function runBulk(c, f) {
212
212
  }
213
213
  const firstError = results.find((r) => r.outcome !== "ok");
214
214
  if (firstError) {
215
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
215
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
216
216
  process.stderr.write(`error: ${results.filter((r) => r.outcome !== "ok").length} of ${results.length} Enrollments were refused; each refusal is listed.
217
217
  `);
218
218
  process.exit(getExitCode(firstError.error?.code ?? "INTERNAL"));
@@ -289,7 +289,7 @@ var pauseCmd = defineCommand({
289
289
  var resumeCmd = defineCommand({
290
290
  meta: {
291
291
  name: "resume",
292
- description: "Without --at: lift your own pause; the Enrollment continues where it was. With --at: jump to that Step of its Sequence version. The jump is not guarded: it re-enters the Step even when that Step already sent, so a message can go out again. To retry a failed Step use `curviate enrollment retry <enrollment_id>`, which acts only on a failure. Needs Automate.",
292
+ description: "Without --at: lift your own pause; the Enrollment continues where it was. With --at: jump to that Step of its Sequence version. The jump is not guarded: it re-enters the Step even when that Step already sent, so a message can go out again. To retry a failed Step use `curviate enrollment retry <enrollment_id>`, which acts only on a failure. Needs a subscription.",
293
293
  risk: "high",
294
294
  rules: {
295
295
  changes: "The Enrollment runs again from its Account; with --at, from the named Step.",
@@ -381,7 +381,7 @@ var eventMeta = (name, description, example) => ({
381
381
  var eventCmd = defineCommand({
382
382
  meta: eventMeta(
383
383
  "event",
384
- "Send a custom event to an active or paused Enrollment whose Sequence waits for it, for example once your agent wrote the researched text to the Lead's custom fields. Input only: fires no webhook. Needs Automate.",
384
+ "Send a custom event to an active or paused Enrollment whose Sequence waits for it, for example once your agent wrote the researched text to the Lead's custom fields. Input only: fires no webhook. Needs a subscription.",
385
385
  "curviate enrollment event enr_YOUR_ENROLLMENT_ID research_ready"
386
386
  ),
387
387
  args: EVENT_ARGS,
@@ -390,7 +390,7 @@ var eventCmd = defineCommand({
390
390
  var signalCmd = defineCommand({
391
391
  meta: eventMeta(
392
392
  "signal",
393
- "Deprecated alias of `curviate enrollment event`, accepted until 2027-01-19. Sends the same event. Needs Automate.",
393
+ "Deprecated alias of `curviate enrollment event`, accepted until 2027-01-19. Sends the same event. Needs a subscription.",
394
394
  "curviate enrollment signal enr_YOUR_ENROLLMENT_ID research_ready"
395
395
  ),
396
396
  args: EVENT_ARGS,
@@ -402,7 +402,7 @@ var signalCmd = defineCommand({
402
402
  var reassignCmd = defineCommand({
403
403
  meta: {
404
404
  name: "reassign",
405
- description: "Move an Enrollment to another sending Account of its Campaign; it restarts there at the first Step of its version (one you paused stays paused). Refused, nothing changed, when its Account already engaged the person, the target already holds them, or the target has a chat with them. Needs Automate.",
405
+ description: "Move an Enrollment to another sending Account of its Campaign; it restarts there at the first Step of its version (one you paused stays paused). Refused, nothing changed, when its Account already engaged the person, the target already holds them, or the target has a chat with them. Needs a subscription.",
406
406
  risk: "high",
407
407
  rules: {
408
408
  changes: "The Enrollment restarts on the target Account; Steps already skipped are named in warnings.",
@@ -479,7 +479,7 @@ var enrollmentCommand = defineCommand({
479
479
  bulk: bulkCmd
480
480
  },
481
481
  async run() {
482
- const { showHelp } = await import("./examples-5FJS47QF.js");
482
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
483
483
  await showHelp(enrollmentCommand, ["curviate", "enrollment"]);
484
484
  }
485
485
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  EXIT_CODE_MAP
4
- } from "./chunk-EWSOIFG2.js";
4
+ } from "./chunk-DLYVUDNF.js";
5
5
 
6
6
  // src/lib/examples.ts
7
7
  import { renderUsage } from "citty";
@@ -3,7 +3,7 @@ import {
3
3
  AUTH_NEEDED,
4
4
  EXIT_CODE_MAP,
5
5
  getExitCode
6
- } from "./chunk-EWSOIFG2.js";
6
+ } from "./chunk-DLYVUDNF.js";
7
7
  export {
8
8
  AUTH_NEEDED,
9
9
  EXIT_CODE_MAP,
@@ -7,13 +7,13 @@ import {
7
7
  outputOpts,
8
8
  rootClient,
9
9
  usage
10
- } from "./chunk-F3FEY4D5.js";
10
+ } from "./chunk-BF3SCQNZ.js";
11
11
  import {
12
12
  renderSuccess
13
- } from "./chunk-QM57YDJE.js";
13
+ } from "./chunk-2JHRIBHB.js";
14
14
  import {
15
15
  downloadBinary
16
- } from "./chunk-KD2XY7RS.js";
16
+ } from "./chunk-BVVWFW3P.js";
17
17
  import {
18
18
  GLOBAL_FLAGS,
19
19
  READ_SINGLE_FLAGS,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-QLKGOIWS.js";
22
22
  import {
23
23
  DESCRIPTIONS
24
- } from "./chunk-ZC4S4B32.js";
24
+ } from "./chunk-Z647LR4F.js";
25
25
  import "./chunk-ZYURL5VK.js";
26
26
 
27
27
  // src/commands/export.ts
@@ -87,7 +87,7 @@ var exportCommand = defineCommand({
87
87
  meta: { name: "export", description: DESCRIPTIONS.export },
88
88
  subCommands: { get: getCmd, download: downloadCmd },
89
89
  async run() {
90
- const { showHelp } = await import("./examples-5FJS47QF.js");
90
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
91
91
  await showHelp(exportCommand, ["curviate", "export"]);
92
92
  }
93
93
  });