@curviate/cli 0.58.0 → 0.60.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 (63) hide show
  1. package/CHANGELOG.md +30 -0
  2. package/dist/{account-GSL6BCNX.js → account-BGFQH7MZ.js} +10 -10
  3. package/dist/{analytics-4FUMJSMC.js → analytics-SLZF5CUV.js} +5 -5
  4. package/dist/{beta-consent-EC2QF6CM.js → beta-consent-WT5HRWAP.js} +4 -4
  5. package/dist/{billing-STRNXA4H.js → billing-EY6SVYLK.js} +5 -5
  6. package/dist/{chunk-KUVJM5CP.js → chunk-2NYGMKWI.js} +1 -1
  7. package/dist/{chunk-XXB4MAX3.js → chunk-3WXR6WEO.js} +10 -8
  8. package/dist/{chunk-7F6B7P32.js → chunk-4MGTH4FK.js} +9 -9
  9. package/dist/{chunk-5OAJ4D65.js → chunk-65UHJVXP.js} +2 -2
  10. package/dist/{chunk-KS4I4B3Z.js → chunk-7HOSWMH2.js} +5 -5
  11. package/dist/{chunk-CQHCPZ5I.js → chunk-AJVFJAOR.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-3IL3D5IZ.js → chunk-ER5Y2SS5.js} +2 -2
  15. package/dist/{chunk-XDPU2YAF.js → chunk-GZMSX7CA.js} +4 -4
  16. package/dist/{chunk-MLZSXQZC.js → chunk-KQMTZIXC.js} +2 -2
  17. package/dist/{chunk-WITIJCUU.js → chunk-L6MTOKXI.js} +8 -8
  18. package/dist/{chunk-WGGZWJPO.js → chunk-OEMFSUEI.js} +14 -14
  19. package/dist/{chunk-PBJZQZPO.js → chunk-RQ6KL2ZU.js} +1 -1
  20. package/dist/cli.js +29 -29
  21. package/dist/{comment-MUELYZYN.js → comment-MIH3WEH2.js} +7 -7
  22. package/dist/{company-5N7CXORR.js → company-H6UDF2HF.js} +8 -8
  23. package/dist/{company-record-HWLTP4TV.js → company-record-L6DI7B6I.js} +10 -10
  24. package/dist/{config-PI7JMQ2L.js → config-C757QH2N.js} +2 -2
  25. package/dist/{connect-NNZOOPWV.js → connect-GRYHFCF3.js} +12 -12
  26. package/dist/{contact-VNG7HRCN.js → contact-5LYCPTQH.js} +8 -8
  27. package/dist/{contact-groups-6JF7VX6Q.js → contact-groups-GZML25CV.js} +16 -16
  28. package/dist/{contact-import-TMJWY2VD.js → contact-import-VM4RS475.js} +9 -9
  29. package/dist/core-3ZYU463V.js +46 -0
  30. package/dist/{do-not-contact-GDVIUNMT.js → do-not-contact-AWDCWC2D.js} +16 -16
  31. package/dist/{doctor-ZNAR5AZ2.js → doctor-ZW6M7YXP.js} +4 -4
  32. package/dist/{domain-62YUYVDW.js → domain-CW7G5NS2.js} +5 -5
  33. package/dist/{draft-ED6RL67K.js → draft-VUNBMMTW.js} +10 -10
  34. package/dist/{enrollment-LN3Z3RC5.js → enrollment-R2T4GBXR.js} +10 -10
  35. package/dist/{examples-5FJS47QF.js → examples-G4IC5TJU.js} +1 -1
  36. package/dist/{exit-codes-LQDMGDII.js → exit-codes-MMGNZCJ5.js} +1 -1
  37. package/dist/{export-S6D4FEAG.js → export-IYXSEGKH.js} +4 -4
  38. package/dist/{feed-AC7HWUCD.js → feed-3MMVHTB4.js} +6 -6
  39. package/dist/{group-6N37Q5ZS.js → group-24VZ4XIM.js} +6 -6
  40. package/dist/{inbox-JFRBROQ2.js → inbox-7N2JKEAC.js} +6 -6
  41. package/dist/{inboxes-IBZHZKSD.js → inboxes-EPD3JMO3.js} +6 -6
  42. package/dist/{incoming-YDRPPO24.js → incoming-T2PZOUBL.js} +8 -8
  43. package/dist/{job-CSRHIFZM.js → job-UD4FBCE2.js} +7 -7
  44. package/dist/{login-M7ZLOR2U.js → login-GMNDQODN.js} +2 -2
  45. package/dist/{mailbox-E2K3I2VH.js → mailbox-XC73FZQ6.js} +82 -21
  46. package/dist/{message-SX6RDGWP.js → message-XFAFZZGT.js} +6 -6
  47. package/dist/{motion-4HH3OFI6.js → motion-C7WTTC6E.js} +20 -20
  48. package/dist/{network-JQYLSQDH.js → network-T2H7S3GL.js} +6 -6
  49. package/dist/{notification-ZAQM463D.js → notification-GMFRGQLD.js} +6 -6
  50. package/dist/{notifications-N55F3DP3.js → notifications-55U3PGJN.js} +6 -6
  51. package/dist/{post-SIHHJX3P.js → post-LZ74DJDI.js} +7 -7
  52. package/dist/{profile-VBHX3QGP.js → profile-HCT4JEIA.js} +12 -12
  53. package/dist/{recruiter-7AGFKQPI.js → recruiter-UWZM3UMU.js} +7 -7
  54. package/dist/{sales-nav-ADVFBKWB.js → sales-nav-ZA7CBHRD.js} +6 -6
  55. package/dist/{search-THJFPGOH.js → search-ZPJLTGM4.js} +15 -15
  56. package/dist/{setup-D6D7SNND.js → setup-L7EC5V73.js} +4 -4
  57. package/dist/{signal-TGSF7WEP.js → signal-JVUGQOEV.js} +5 -5
  58. package/dist/{team-MVNHCWJP.js → team-45R6ZOR7.js} +5 -5
  59. package/dist/{tier-DAF7Y2HN.js → tier-LQ5UYRUE.js} +4 -4
  60. package/dist/{unibox-7B6B4SXB.js → unibox-RGMMGAFR.js} +58 -34
  61. package/dist/{webhook-NUVSTDXF.js → webhook-5MNKEBOQ.js} +5 -5
  62. package/package.json +2 -2
  63. package/dist/core-ZRJY3HTF.js +0 -46
@@ -7,23 +7,23 @@ import {
7
7
  contactImportCommand,
8
8
  contactImportsCommand,
9
9
  csvRecords
10
- } from "./chunk-WITIJCUU.js";
11
- import "./chunk-WGGZWJPO.js";
12
- import "./chunk-MLZSXQZC.js";
10
+ } from "./chunk-L6MTOKXI.js";
11
+ import "./chunk-OEMFSUEI.js";
12
+ import "./chunk-KQMTZIXC.js";
13
13
  import "./chunk-GOICALYQ.js";
14
- import "./chunk-3IL3D5IZ.js";
15
- import "./chunk-5OAJ4D65.js";
14
+ import "./chunk-ER5Y2SS5.js";
15
+ import "./chunk-65UHJVXP.js";
16
16
  import "./chunk-TCUYH5GO.js";
17
17
  import "./chunk-NNV2OYEF.js";
18
- import "./chunk-KUVJM5CP.js";
18
+ import "./chunk-2NYGMKWI.js";
19
19
  import "./chunk-QM57YDJE.js";
20
- import "./chunk-PBJZQZPO.js";
20
+ import "./chunk-RQ6KL2ZU.js";
21
21
  import "./chunk-QLKGOIWS.js";
22
- import "./chunk-XDPU2YAF.js";
22
+ import "./chunk-GZMSX7CA.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-GZMSX7CA.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-HCT4JEIA.js").then((m) => m.profileCommand)),
23
+ company: lazy("company", () => import("./company-H6UDF2HF.js").then((m) => m.companyCommand)),
24
+ job: lazy("job", () => import("./job-UD4FBCE2.js").then((m) => m.jobCommand)),
25
+ connect: lazy("connect", () => import("./connect-GRYHFCF3.js").then((m) => m.connectCommand)),
26
+ search: lazy("search", () => import("./search-ZPJLTGM4.js").then((m) => m.searchCommand)),
27
+ inbox: lazy("inbox", () => import("./inbox-7N2JKEAC.js").then((m) => m.inboxCommand)),
28
+ inboxes: lazy("inboxes", () => import("./inboxes-EPD3JMO3.js").then((m) => m.inboxesCommand)),
29
+ message: lazy("message", () => import("./message-XFAFZZGT.js").then((m) => m.messageCommand)),
30
+ post: lazy("post", () => import("./post-LZ74DJDI.js").then((m) => m.postCommand)),
31
+ comment: lazy("comment", () => import("./comment-MIH3WEH2.js").then((m) => m.commentCommand)),
32
+ "sales-nav": lazy("sales-nav", () => import("./sales-nav-ZA7CBHRD.js").then((m) => m.salesNavCommand)),
33
+ recruiter: lazy("recruiter", () => import("./recruiter-UWZM3UMU.js").then((m) => m.recruiterCommand)),
34
+ group: lazy("group", () => import("./group-24VZ4XIM.js").then((m) => m.groupCommand)),
35
+ feed: lazy("feed", () => import("./feed-3MMVHTB4.js").then((m) => m.feedCommand)),
36
+ notification: lazy("coreNotification", () => import("./notification-GMFRGQLD.js").then((m) => m.notificationCommand)),
37
+ draft: lazy("draft", () => import("./draft-VUNBMMTW.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-WITIJCUU.js";
6
- import "./chunk-WGGZWJPO.js";
7
- import "./chunk-MLZSXQZC.js";
5
+ } from "./chunk-L6MTOKXI.js";
6
+ import "./chunk-OEMFSUEI.js";
7
+ import "./chunk-KQMTZIXC.js";
8
8
  import {
9
9
  writeAtomic
10
10
  } from "./chunk-GOICALYQ.js";
11
11
  import {
12
12
  sendChunked
13
- } from "./chunk-3IL3D5IZ.js";
13
+ } from "./chunk-ER5Y2SS5.js";
14
14
  import {
15
15
  fail,
16
16
  outputOpts,
17
17
  rootClient,
18
18
  usage
19
- } from "./chunk-5OAJ4D65.js";
19
+ } from "./chunk-65UHJVXP.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-KUVJM5CP.js";
34
+ } from "./chunk-2NYGMKWI.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-PBJZQZPO.js";
41
+ } from "./chunk-RQ6KL2ZU.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-XDPU2YAF.js";
50
+ } from "./chunk-GZMSX7CA.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,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-KUVJM5CP.js";
4
+ } from "./chunk-2NYGMKWI.js";
5
5
  import "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  createClient,
@@ -10,17 +10,17 @@ import {
10
10
  readConfigFile,
11
11
  resolveEffectiveConfig,
12
12
  withoutUserinfo
13
- } from "./chunk-PBJZQZPO.js";
13
+ } from "./chunk-RQ6KL2ZU.js";
14
14
  import {
15
15
  GLOBAL_FLAGS
16
16
  } from "./chunk-QLKGOIWS.js";
17
17
  import {
18
18
  DESCRIPTIONS
19
- } from "./chunk-XDPU2YAF.js";
19
+ } from "./chunk-GZMSX7CA.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-5OAJ4D65.js";
7
+ } from "./chunk-65UHJVXP.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
11
11
  import {
12
12
  readableObject
13
- } from "./chunk-KUVJM5CP.js";
13
+ } from "./chunk-2NYGMKWI.js";
14
14
  import {
15
15
  renderSuccess
16
16
  } from "./chunk-QM57YDJE.js";
17
- import "./chunk-PBJZQZPO.js";
17
+ import "./chunk-RQ6KL2ZU.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-XDPU2YAF.js";
24
+ } from "./chunk-GZMSX7CA.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,7 +20,7 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-KUVJM5CP.js";
23
+ } from "./chunk-2NYGMKWI.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
@@ -30,7 +30,7 @@ import {
30
30
  import {
31
31
  createClient,
32
32
  resolveEffectiveConfig
33
- } from "./chunk-PBJZQZPO.js";
33
+ } from "./chunk-RQ6KL2ZU.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-XDPU2YAF.js";
42
+ } from "./chunk-GZMSX7CA.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-5OAJ4D65.js";
8
+ } from "./chunk-65UHJVXP.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-KUVJM5CP.js";
23
+ } from "./chunk-2NYGMKWI.js";
24
24
  import {
25
25
  renderSuccess,
26
26
  writeNdjsonItem
27
27
  } from "./chunk-QM57YDJE.js";
28
- import "./chunk-PBJZQZPO.js";
28
+ import "./chunk-RQ6KL2ZU.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-XDPU2YAF.js";
37
+ } from "./chunk-GZMSX7CA.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-5OAJ4D65.js";
10
+ } from "./chunk-65UHJVXP.js";
11
11
  import {
12
12
  renderSuccess
13
13
  } from "./chunk-QM57YDJE.js";
14
14
  import {
15
15
  downloadBinary
16
- } from "./chunk-PBJZQZPO.js";
16
+ } from "./chunk-RQ6KL2ZU.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-XDPU2YAF.js";
24
+ } from "./chunk-GZMSX7CA.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
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-MLZSXQZC.js";
4
+ } from "./chunk-KQMTZIXC.js";
5
5
  import {
6
6
  pageDelayFromFlags,
7
7
  readCursorFlag,
@@ -9,7 +9,7 @@ import {
9
9
  readablePage,
10
10
  rejectPaginationModifiersWithoutAll,
11
11
  streamAll
12
- } from "./chunk-KUVJM5CP.js";
12
+ } from "./chunk-2NYGMKWI.js";
13
13
  import {
14
14
  renderError,
15
15
  renderSuccess,
@@ -19,16 +19,16 @@ import {
19
19
  import {
20
20
  createClient,
21
21
  resolveEffectiveConfig
22
- } from "./chunk-PBJZQZPO.js";
22
+ } from "./chunk-RQ6KL2ZU.js";
23
23
  import {
24
24
  GLOBAL_FLAGS,
25
25
  readOnly
26
26
  } from "./chunk-QLKGOIWS.js";
27
27
  import {
28
28
  DESCRIPTIONS
29
- } from "./chunk-XDPU2YAF.js";
29
+ } from "./chunk-GZMSX7CA.js";
30
30
  import "./chunk-ZYURL5VK.js";
31
- import "./chunk-EWSOIFG2.js";
31
+ import "./chunk-DLYVUDNF.js";
32
32
 
33
33
  // src/commands/feed.ts
34
34
  import { defineCommand } from "citty";
@@ -49,7 +49,7 @@ function resolveOutputOpts(flags) {
49
49
  async function handleSdkError(err, outOpts, out) {
50
50
  const { CurviateError } = await import("@curviate/sdk");
51
51
  if (err instanceof CurviateError) {
52
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
52
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
53
53
  renderError(err, outOpts, out);
54
54
  process.exit(getExitCode(err));
55
55
  }
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  requireAccount
7
- } from "./chunk-MLZSXQZC.js";
7
+ } from "./chunk-KQMTZIXC.js";
8
8
  import {
9
9
  pageDelayFromFlags,
10
10
  readCursorFlag,
@@ -13,7 +13,7 @@ import {
13
13
  readablePage,
14
14
  rejectPaginationModifiersWithoutAll,
15
15
  streamAll
16
- } from "./chunk-KUVJM5CP.js";
16
+ } from "./chunk-2NYGMKWI.js";
17
17
  import {
18
18
  renderError,
19
19
  renderSuccess,
@@ -23,7 +23,7 @@ import {
23
23
  import {
24
24
  createClient,
25
25
  resolveEffectiveConfig
26
- } from "./chunk-PBJZQZPO.js";
26
+ } from "./chunk-RQ6KL2ZU.js";
27
27
  import {
28
28
  GLOBAL_FLAGS,
29
29
  READ_SINGLE_FLAGS,
@@ -31,9 +31,9 @@ import {
31
31
  } from "./chunk-QLKGOIWS.js";
32
32
  import {
33
33
  DESCRIPTIONS
34
- } from "./chunk-XDPU2YAF.js";
34
+ } from "./chunk-GZMSX7CA.js";
35
35
  import "./chunk-ZYURL5VK.js";
36
- import "./chunk-EWSOIFG2.js";
36
+ import "./chunk-DLYVUDNF.js";
37
37
 
38
38
  // src/commands/group.ts
39
39
  import { defineCommand } from "citty";
@@ -60,7 +60,7 @@ function resolveOutputOpts(flags) {
60
60
  async function handleSdkError(err, outOpts, out) {
61
61
  const { CurviateError } = await import("@curviate/sdk");
62
62
  if (err instanceof CurviateError) {
63
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
63
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
64
64
  renderError(err, outOpts, out);
65
65
  process.exit(getExitCode(err));
66
66
  }
@@ -12,7 +12,7 @@ import {
12
12
  } from "./chunk-Q3ZPRFUX.js";
13
13
  import {
14
14
  requireAccount
15
- } from "./chunk-MLZSXQZC.js";
15
+ } from "./chunk-KQMTZIXC.js";
16
16
  import {
17
17
  buildPreviewOutput
18
18
  } from "./chunk-TCUYH5GO.js";
@@ -24,7 +24,7 @@ import {
24
24
  readablePage,
25
25
  rejectPaginationModifiersWithoutAll,
26
26
  streamAll
27
- } from "./chunk-KUVJM5CP.js";
27
+ } from "./chunk-2NYGMKWI.js";
28
28
  import {
29
29
  renderError,
30
30
  renderSuccess,
@@ -34,7 +34,7 @@ import {
34
34
  import {
35
35
  createClient,
36
36
  resolveEffectiveConfig
37
- } from "./chunk-PBJZQZPO.js";
37
+ } from "./chunk-RQ6KL2ZU.js";
38
38
  import {
39
39
  GLOBAL_FLAGS,
40
40
  READ_SINGLE_FLAGS,
@@ -43,9 +43,9 @@ import {
43
43
  } from "./chunk-QLKGOIWS.js";
44
44
  import {
45
45
  DESCRIPTIONS
46
- } from "./chunk-XDPU2YAF.js";
46
+ } from "./chunk-GZMSX7CA.js";
47
47
  import "./chunk-ZYURL5VK.js";
48
- import "./chunk-EWSOIFG2.js";
48
+ import "./chunk-DLYVUDNF.js";
49
49
 
50
50
  // src/commands/inbox.ts
51
51
  import { defineCommand } from "citty";
@@ -107,7 +107,7 @@ function validateInboxFolder(raw, out) {
107
107
  async function handleSdkError(err, outOpts, out) {
108
108
  const { CurviateError } = await import("@curviate/sdk");
109
109
  if (err instanceof CurviateError) {
110
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
110
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
111
111
  renderError(err, outOpts, out);
112
112
  process.exit(getExitCode(err));
113
113
  }