@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
package/CHANGELOG.md CHANGED
@@ -6,6 +6,22 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
6
6
  Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html):
7
7
  a new command or flag is a minor; a breaking command/flag/exit-code change is a major (before 1.0.0, a minor); a fix is a patch.
8
8
 
9
+ ## [0.61.0] - 2026-11-20
10
+
11
+ Requires `@curviate/sdk` 0.56.0 (exact pin, unchanged; the vendored fixture is unchanged). `commands.json` regenerated. Text only: no command, flag or exit code changes.
12
+
13
+ - A `TIER_REQUIRED` refusal (exit 5) says `Needs: a subscription for <feature>.` and, for an Owner, `Subscribe: <link>`; anyone else reads "Ask an Owner of your Team to subscribe". It no longer prints the wire codes as product names ("campaigns is part of automate; this Team has build"); `--json` still carries `requiredTier` and `currentTier` as served.
14
+ - `tier --help`, `billing --help` and `team list --help` say the plan, never a Tier. The command `curviate tier` keeps its name.
15
+
16
+ ## [0.60.0] - 2026-11-19
17
+
18
+ Requires `@curviate/sdk` 0.56.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (production's document, server commit `b1332f4c2`); `commands.json` regenerated. Text only: no command, flag or exit code changes.
19
+
20
+ - `mailbox purchase get|check` says, when the order carries `charge_unknown: true`, what the server says: "We are checking whether this order was charged. If it was, the charge is given back in full." (and `get --help` names the field); the field shows in `--json` as served.
21
+ - `analytics email --help` says what an agent must pass on: a rate is still maturing while more than a third of its emails were sent in the last 7 days, and a bounce rate needs 50 emails sent to mean anything.
22
+ - **"Needs Automate" is gone**: the one plan includes every feature, so `lead import`, `lead imports pause|resume|stop`, `lead lists`, `draft`, `campaign`, `enrollment`, `unibox`, `do-not-contact` and the rest say "Needs a subscription", and a `TIER_REQUIRED` hint reads "your Team needs a subscription for ..." (as the API's operation descriptions do). The previous prices keep their names in `billing move`.
23
+ - `MAILBOX_PURCHASE_TRIAL` (`mailbox buy`) and the quote's "It cannot be ordered now" line say what the server does: a Team without a paid plan cannot order Mailboxes from Curviate, whether on a trial, after a trial that ended without a purchase, never subscribed, or with a payment past due; nothing was charged.
24
+
9
25
  ## [0.59.0] - 2026-11-19
10
26
 
11
27
  Requires `@curviate/sdk` 0.55.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (staging's document, server commit `ed310e031`); `commands.json` regenerated.
package/README.md CHANGED
@@ -729,7 +729,7 @@ curviate core inbox get 2-AbCdEf== --account acc_1 --mode cache_only --json
729
729
  | 2 | Usage / argument error |
730
730
  | 3 | Authentication or authorization failure |
731
731
  | 4 | Resource not found |
732
- | 5 | Someone must act first: no active seat, the LinkedIn account lacks the subscription, beta consent is missing, the plan is below the Tier the action needs, the month's placement tests are used (a paid seat adds 10), or a teammate with the right role (or the Account's own person) must do it |
732
+ | 5 | Someone must act first: no active seat, the LinkedIn account lacks the subscription, beta consent is missing, the Team has no subscription and the action needs one, the month's placement tests are used (a paid seat adds 10), or a teammate with the right role (or the Account's own person) must do it |
733
733
  | 6 | Rate limited |
734
734
  | 7 | Transient platform error (retry likely to succeed) |
735
735
  | 8 | Account or connection state blocks the request |
@@ -3,7 +3,7 @@ import {
3
3
  slimAccountGet,
4
4
  slimAccountList,
5
5
  slimAccountListItem
6
- } from "./chunk-JXDEV33Z.js";
6
+ } from "./chunk-EIPQUQK2.js";
7
7
  import {
8
8
  checkCredentialConflicts,
9
9
  resolveSecret
@@ -14,7 +14,7 @@ import {
14
14
  grammarParams,
15
15
  renderOverview,
16
16
  windowParams
17
- } from "./chunk-QRTMRTKA.js";
17
+ } from "./chunk-YBGQWI2R.js";
18
18
  import "./chunk-PPGKQJKU.js";
19
19
  import {
20
20
  print,
@@ -26,7 +26,7 @@ import {
26
26
  outputOpts,
27
27
  rootClient,
28
28
  usage
29
- } from "./chunk-F3FEY4D5.js";
29
+ } from "./chunk-BF3SCQNZ.js";
30
30
  import {
31
31
  buildPreviewOutput
32
32
  } from "./chunk-TCUYH5GO.js";
@@ -41,7 +41,7 @@ import {
41
41
  readablePage,
42
42
  rejectPaginationModifiersWithoutAll,
43
43
  streamAll
44
- } from "./chunk-5AJS2V4T.js";
44
+ } from "./chunk-ZFOJU6NF.js";
45
45
  import {
46
46
  isJsonMode,
47
47
  renderError,
@@ -49,7 +49,7 @@ import {
49
49
  renderSuccess,
50
50
  renderUnexpectedError,
51
51
  writeNdjsonItem
52
- } from "./chunk-QM57YDJE.js";
52
+ } from "./chunk-2JHRIBHB.js";
53
53
  import {
54
54
  readHiddenToEof,
55
55
  readlineSync
@@ -57,7 +57,7 @@ import {
57
57
  import {
58
58
  createClient,
59
59
  resolveEffectiveConfig
60
- } from "./chunk-KD2XY7RS.js";
60
+ } from "./chunk-BVVWFW3P.js";
61
61
  import {
62
62
  GLOBAL_FLAGS,
63
63
  READ_SINGLE_FLAGS,
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-QLKGOIWS.js";
68
68
  import {
69
69
  DESCRIPTIONS
70
- } from "./chunk-ZC4S4B32.js";
70
+ } from "./chunk-Z647LR4F.js";
71
71
  import {
72
72
  parseDocument,
73
73
  readFileFlag
@@ -79,7 +79,7 @@ import {
79
79
  } from "./chunk-ZYURL5VK.js";
80
80
  import {
81
81
  AUTH_NEEDED
82
- } from "./chunk-EWSOIFG2.js";
82
+ } from "./chunk-DLYVUDNF.js";
83
83
 
84
84
  // src/commands/account-insights.ts
85
85
  import { defineCommand } from "citty";
@@ -723,7 +723,7 @@ var connectRequestCommand = defineCommand4({
723
723
  meta: { name: "connect-request", description: "Connect a LinkedIn account without any credential passing through you: create a request, give the person its link, read it until done." },
724
724
  subCommands: { create: createCmd, get: getCmd2, cancel: cancelCmd },
725
725
  async run() {
726
- const { showHelp } = await import("./examples-5FJS47QF.js");
726
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
727
727
  await showHelp(connectRequestCommand, ["curviate", "account", "connect-request"]);
728
728
  }
729
729
  });
@@ -754,7 +754,7 @@ function resolveOutputOpts(flags) {
754
754
  async function handleError(err, outOpts, out) {
755
755
  const { CurviateError } = await import("@curviate/sdk");
756
756
  if (err instanceof CurviateError) {
757
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
757
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
758
758
  renderError(err, outOpts, out);
759
759
  process.exit(getExitCode(err));
760
760
  }
@@ -1953,7 +1953,7 @@ var accountUpdateCommand = defineCommand5({
1953
1953
  "proxy-port": { type: "string", description: "Proxy port." },
1954
1954
  "proxy-username": { type: "string", description: "Proxy auth username." },
1955
1955
  "proxy-password": { type: "string", description: `Proxy auth password. ${OPTIONAL_SECRET_WARNING("CURVIATE_PROXY_PASSWORD")}` },
1956
- "save-connections-as-leads": { type: "boolean", description: "Save this account's Connections as Leads (Automate; on by default): each person becomes one Lead in your team, do-not-contact people skipped. Turning it on also saves the Connections already synced; --no-save-connections-as-leads stops it and keeps the Leads saved so far." }
1956
+ "save-connections-as-leads": { type: "boolean", description: "Save this account's Connections as Leads (needs a subscription; on by default): each person becomes one Lead in your team, do-not-contact people skipped. Turning it on also saves the Connections already synced; --no-save-connections-as-leads stops it and keeps the Leads saved so far." }
1957
1957
  },
1958
1958
  async run({ args }) {
1959
1959
  const flags = args;
@@ -6,16 +6,16 @@ import {
6
6
  grammarParams,
7
7
  renderOverview,
8
8
  windowParams
9
- } from "./chunk-QRTMRTKA.js";
9
+ } from "./chunk-YBGQWI2R.js";
10
10
  import "./chunk-PPGKQJKU.js";
11
11
  import "./chunk-5S3MJVI5.js";
12
- import "./chunk-F3FEY4D5.js";
12
+ import "./chunk-BF3SCQNZ.js";
13
13
  import "./chunk-NNV2OYEF.js";
14
- import "./chunk-5AJS2V4T.js";
15
- import "./chunk-QM57YDJE.js";
16
- import "./chunk-KD2XY7RS.js";
14
+ import "./chunk-ZFOJU6NF.js";
15
+ import "./chunk-2JHRIBHB.js";
16
+ import "./chunk-BVVWFW3P.js";
17
17
  import "./chunk-QLKGOIWS.js";
18
- import "./chunk-ZC4S4B32.js";
18
+ import "./chunk-Z647LR4F.js";
19
19
  import "./chunk-ZYURL5VK.js";
20
20
  export {
21
21
  GRAMMAR_ARGS,
@@ -4,14 +4,14 @@ 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
  renderSuccess
13
- } from "./chunk-QM57YDJE.js";
14
- import "./chunk-KD2XY7RS.js";
13
+ } from "./chunk-2JHRIBHB.js";
14
+ import "./chunk-BVVWFW3P.js";
15
15
  import {
16
16
  READ_SINGLE_FLAGS,
17
17
  WRITE_SINGLE_FLAGS,
@@ -19,7 +19,7 @@ import {
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 "./chunk-ZYURL5VK.js";
24
24
 
25
25
  // src/commands/beta-consent.ts
@@ -72,7 +72,7 @@ var betaCommand = defineCommand({
72
72
  meta: { name: "beta", description: DESCRIPTIONS.beta },
73
73
  subCommands: { status: statusCmd, update: updateCmd },
74
74
  async run() {
75
- const { showHelp } = await import("./examples-5FJS47QF.js");
75
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
76
76
  await showHelp(betaCommand, ["curviate", "beta"]);
77
77
  }
78
78
  });
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  billingCommand,
4
4
  confirmMoney
5
- } from "./chunk-7CSXYRSO.js";
5
+ } from "./chunk-S26N4XUE.js";
6
6
  import "./chunk-GOICALYQ.js";
7
- import "./chunk-F3FEY4D5.js";
7
+ import "./chunk-BF3SCQNZ.js";
8
8
  import "./chunk-TCUYH5GO.js";
9
9
  import "./chunk-NNV2OYEF.js";
10
- import "./chunk-5AJS2V4T.js";
11
- import "./chunk-QM57YDJE.js";
12
- import "./chunk-KD2XY7RS.js";
10
+ import "./chunk-ZFOJU6NF.js";
11
+ import "./chunk-2JHRIBHB.js";
12
+ import "./chunk-BVVWFW3P.js";
13
13
  import "./chunk-QLKGOIWS.js";
14
- import "./chunk-ZC4S4B32.js";
14
+ import "./chunk-Z647LR4F.js";
15
15
  import "./chunk-ZYURL5VK.js";
16
16
  export {
17
17
  billingCommand,
@@ -220,9 +220,9 @@ Connects from now: ${loc.current_country ?? loc.country ?? "unknown"} (${mode}${
220
220
  }
221
221
  if (errJson.code === "TIER_REQUIRED") {
222
222
  msg += `
223
- Needs: ${errJson.feature ?? "this feature"} is part of ${errJson.requiredTier ?? "a Tier not on sale yet"}; this Team has ${errJson.currentTier ?? "no Tier"}.`;
223
+ Needs: a subscription for ${errJson.feature ?? "this feature"}.`;
224
224
  msg += errJson.upgradeUrl ? `
225
- Upgrade: ${errJson.upgradeUrl}` : "\nAsk an Owner of your Team to change the Tier (`curviate team members` lists them).";
225
+ Subscribe: ${errJson.upgradeUrl}` : "\nAsk an Owner of your Team to subscribe (`curviate team members` lists them).";
226
226
  }
227
227
  if (errJson.retryAfterMs) {
228
228
  msg += `
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  readableId
7
- } from "./chunk-5AJS2V4T.js";
7
+ } from "./chunk-ZFOJU6NF.js";
8
8
 
9
9
  // src/lib/member-id.ts
10
10
  var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
@@ -1,13 +1,13 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-5AJS2V4T.js";
4
+ } from "./chunk-ZFOJU6NF.js";
5
5
  import {
6
6
  assertNoStdinPlaceholder
7
7
  } from "./chunk-ZYURL5VK.js";
8
8
  import {
9
9
  getExitCode
10
- } from "./chunk-EWSOIFG2.js";
10
+ } from "./chunk-DLYVUDNF.js";
11
11
 
12
12
  // src/lib/path-safety.ts
13
13
  var UNSAFE_CHARS = /[\u0000-\u0020\u007F/\\?#%]/;
@@ -2,11 +2,11 @@
2
2
  import {
3
3
  renderError,
4
4
  renderUnexpectedError
5
- } from "./chunk-QM57YDJE.js";
5
+ } from "./chunk-2JHRIBHB.js";
6
6
  import {
7
7
  createClient,
8
8
  resolveEffectiveConfig
9
- } from "./chunk-KD2XY7RS.js";
9
+ } from "./chunk-BVVWFW3P.js";
10
10
 
11
11
  // src/lib/root-command.ts
12
12
  var outputOpts = (f) => ({
@@ -35,7 +35,7 @@ async function rootClient(f) {
35
35
  async function fail(err, f) {
36
36
  const { CurviateError } = await import("@curviate/sdk");
37
37
  if (err instanceof CurviateError) {
38
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
38
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
39
39
  renderError(err, outputOpts(f), process);
40
40
  process.exit(getExitCode(err));
41
41
  }
@@ -274,7 +274,7 @@ import { AsyncLocalStorage } from "async_hooks";
274
274
  import { Curviate, CurviateError as CurviateError2 } from "@curviate/sdk";
275
275
 
276
276
  // package.json
277
- var version = "0.59.0";
277
+ var version = "0.61.0";
278
278
 
279
279
  // src/lib/client.ts
280
280
  function headerStrings(headers) {
@@ -212,7 +212,7 @@ var EXIT_CODE_MAP = {
212
212
  PLACEMENT_TEST_ALLOWANCE_EXHAUSTED: 5,
213
213
  PLACEMENT_TESTS_UNAVAILABLE: 1,
214
214
  // Mailboxes from Curviate: a missing order is 4; a domain refused as named never succeeds as sent (2); an order
215
- // already waiting on the domain is a state (8); a trial Team cannot order (11, billing); orders paused is "not
215
+ // already waiting on the domain is a state (8); a Team without a paid plan cannot order (11, billing); orders paused is "not
216
216
  // available" (1).
217
217
  MAILBOX_PURCHASE_NOT_FOUND: 4,
218
218
  DOMAIN_IN_USE: 2,
@@ -274,7 +274,7 @@ function slimAccountGet(data) {
274
274
  account_states: d["account_states"] ?? [],
275
275
  // Curviate's inference of how LinkedIn sees the account: {state, factor, reasons, until}; absent on an Account you can see but not operate
276
276
  ...d["health"] !== void 0 ? { health: d["health"] } : {},
277
- // absent without Automate: shown only when the API sends them
277
+ // absent without a subscription: shown only when the API sends them
278
278
  ...d["save_connections_as_leads"] !== void 0 ? { save_connections_as_leads: d["save_connections_as_leads"], save_connections_paused_reason: d["save_connections_paused_reason"] ?? null } : {}
279
279
  };
280
280
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  fail,
4
4
  outputOpts
5
- } from "./chunk-F3FEY4D5.js";
5
+ } from "./chunk-BF3SCQNZ.js";
6
6
 
7
7
  // src/lib/chunks.ts
8
8
  async function sendInChunks(ids, size, send, f) {
@@ -32,7 +32,7 @@ async function sendChunked(chunks, send, f, unit) {
32
32
  `);
33
33
  return fail(err, f);
34
34
  }
35
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
35
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
36
36
  const e = err.toJSON();
37
37
  if (outputOpts(f).json) process.stdout.write(JSON.stringify({ error: e, progress }) + "\n");
38
38
  process.stderr.write(
@@ -2,16 +2,16 @@
2
2
  import {
3
3
  online,
4
4
  preview
5
- } from "./chunk-72PYX57P.js";
5
+ } from "./chunk-THV7IFCQ.js";
6
6
  import {
7
7
  sendChunked
8
- } from "./chunk-HJ7YY4HE.js";
8
+ } from "./chunk-NPXJ6WZB.js";
9
9
  import {
10
10
  fail,
11
11
  listFlag,
12
12
  outputOpts,
13
13
  usage
14
- } from "./chunk-F3FEY4D5.js";
14
+ } from "./chunk-BF3SCQNZ.js";
15
15
  import {
16
16
  intFlag
17
17
  } from "./chunk-NNV2OYEF.js";
@@ -23,14 +23,14 @@ import {
23
23
  readablePage,
24
24
  rejectPaginationModifiersWithoutAll,
25
25
  streamAll
26
- } from "./chunk-5AJS2V4T.js";
26
+ } from "./chunk-ZFOJU6NF.js";
27
27
  import {
28
28
  renderSuccess,
29
29
  writeNdjsonItem
30
- } from "./chunk-QM57YDJE.js";
30
+ } from "./chunk-2JHRIBHB.js";
31
31
  import {
32
32
  withWireNotes
33
- } from "./chunk-KD2XY7RS.js";
33
+ } from "./chunk-BVVWFW3P.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  WRITE_SINGLE_FLAGS,
@@ -340,7 +340,7 @@ async function skippedRows(c, imp) {
340
340
  var importCmd = defineCommand({
341
341
  meta: {
342
342
  name: "import",
343
- description: `Import Leads from a CSV, JSON (an array of objects) or NDJSON file. The format comes from the extension; with --file - pass --format. A file above ${IMPORT_MAX_ROWS} rows or ${(IMPORT_MAX_BODY_BYTES / 1048576).toFixed(0)} MiB is split into several imports, run one after the other (a CSV's header is repeated), each awaited unless --async (or --no-wait); the first refused or failed import stops the run. Only the file's structure is checked here; the server skips bad rows and reports why. Re-importing merges: a Lead already there is updated or left as it is. If the request times out or the connection drops, the CLI looks up the Team's newest imports, again every 2 s for up to 30 s while none shows, and reports the one this request made (id and status; it waits on a running one); it says nothing was imported only when none appeared. A busy-Team 429 (RATE_LIMIT_TENANT) waits the advertised Retry-After (up to ${RETRY_AFTER_BOUND_S} s) and sends that import again, naming the import holding the Team's write lock when the API names one; a longer wait fails. Needs Automate.`,
343
+ description: `Import Leads from a CSV, JSON (an array of objects) or NDJSON file. The format comes from the extension; with --file - pass --format. A file above ${IMPORT_MAX_ROWS} rows or ${(IMPORT_MAX_BODY_BYTES / 1048576).toFixed(0)} MiB is split into several imports, run one after the other (a CSV's header is repeated), each awaited unless --async (or --no-wait); the first refused or failed import stops the run. Only the file's structure is checked here; the server skips bad rows and reports why. Re-importing merges: a Lead already there is updated or left as it is. If the request times out or the connection drops, the CLI looks up the Team's newest imports, again every 2 s for up to 30 s while none shows, and reports the one this request made (id and status; it waits on a running one); it says nothing was imported only when none appeared. A busy-Team 429 (RATE_LIMIT_TENANT) waits the advertised Retry-After (up to ${RETRY_AFTER_BOUND_S} s) and sends that import again, naming the import holding the Team's write lock when the API names one; a longer wait fails. Needs a subscription.`,
344
344
  risk: "write",
345
345
  rules: {
346
346
  changes: "Leads are created or updated, joined to --list (and, with --apply-lists, to the lists their `lists` column names) and tagged with --tag. Nothing is sent to LinkedIn or to the people.",
@@ -456,7 +456,7 @@ var control = (name, description, changes, undo, conflict) => defineCommand({
456
456
  description,
457
457
  risk: "write",
458
458
  rules: { changes, visible_to: "Your Team.", budget_rows: [], retry: "A repeat answers IMPORT_STATUS_CONFLICT; nothing changes.", undo },
459
- errors: { IMPORT_STATUS_CONFLICT: conflict, TIER_REQUIRED: "your plan does not include imports from LinkedIn (Automate)." },
459
+ errors: { IMPORT_STATUS_CONFLICT: conflict, TIER_REQUIRED: "your Team needs a subscription for imports from LinkedIn." },
460
460
  seeAlso: ["curviate lead imports get"],
461
461
  examples: [`curviate lead imports ${name} imp_YOUR_IMPORT_ID`]
462
462
  },
@@ -480,7 +480,7 @@ var contactImportsCommand = defineCommand({
480
480
  meta: { name: "imports", description: "Your Team's import records." },
481
481
  subCommands: { list: importsList, get: importsGet, pause: importsPause, resume: importsResume, stop: importsStop },
482
482
  async run() {
483
- const { showHelp } = await import("./examples-5FJS47QF.js");
483
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
484
484
  await showHelp(contactImportsCommand, ["curviate", "lead", "imports"]);
485
485
  }
486
486
  });
@@ -7,7 +7,7 @@ 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
  buildPreviewOutput
13
13
  } from "./chunk-TCUYH5GO.js";
@@ -21,14 +21,14 @@ import {
21
21
  readablePage,
22
22
  rejectPaginationModifiersWithoutAll,
23
23
  streamAll
24
- } from "./chunk-5AJS2V4T.js";
24
+ } from "./chunk-ZFOJU6NF.js";
25
25
  import {
26
26
  renderSuccess,
27
27
  writeNdjsonItem
28
- } from "./chunk-QM57YDJE.js";
28
+ } from "./chunk-2JHRIBHB.js";
29
29
  import {
30
30
  downloadBinary
31
- } from "./chunk-KD2XY7RS.js";
31
+ } from "./chunk-BVVWFW3P.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  READ_SINGLE_FLAGS,
@@ -37,7 +37,7 @@ import {
37
37
  } from "./chunk-QLKGOIWS.js";
38
38
  import {
39
39
  DESCRIPTIONS
40
- } from "./chunk-ZC4S4B32.js";
40
+ } from "./chunk-Z647LR4F.js";
41
41
 
42
42
  // src/commands/billing.ts
43
43
  import { defineCommand } from "citty";
@@ -314,7 +314,7 @@ var seatsCmd = defineCommand({
314
314
  meta: { name: "seats", description: "Buy seats inside the spending cap, or remove one at the end of the period. Cancelling the subscription is the dashboard's." },
315
315
  subCommands: { add: seatsAddCmd, remove: seatsRemoveCmd },
316
316
  async run() {
317
- const { showHelp } = await import("./examples-5FJS47QF.js");
317
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
318
318
  await showHelp(seatsCmd, ["curviate", "billing", "seats"]);
319
319
  }
320
320
  });
@@ -340,7 +340,7 @@ var periodCmd = defineCommand({
340
340
  meta: { name: "period", description: "Your billing period: switch monthly to yearly." },
341
341
  subCommands: { set: periodSetCmd },
342
342
  async run() {
343
- const { showHelp } = await import("./examples-5FJS47QF.js");
343
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
344
344
  await showHelp(periodCmd, ["curviate", "billing", "period"]);
345
345
  }
346
346
  });
@@ -348,7 +348,7 @@ var billingCommand = defineCommand({
348
348
  meta: { name: "billing", description: DESCRIPTIONS.billing },
349
349
  subCommands: { quote: quoteCmd, cap: capCmd, changes: changesCmd, invoices: invoicesCmd, price: priceCmd, seats: seatsCmd, period: periodCmd },
350
350
  async run() {
351
- const { showHelp } = await import("./examples-5FJS47QF.js");
351
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
352
352
  await showHelp(billingCommand, ["curviate", "billing"]);
353
353
  }
354
354
  });
@@ -21,24 +21,24 @@ import {
21
21
  } from "./chunk-JY26SUNH.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-HG2G5OAZ.js";
24
+ } from "./chunk-7B3ZEBID.js";
25
25
  import {
26
26
  buildPreviewOutput
27
27
  } from "./chunk-TCUYH5GO.js";
28
28
  import {
29
29
  readableId,
30
30
  readableObject
31
- } from "./chunk-5AJS2V4T.js";
31
+ } from "./chunk-ZFOJU6NF.js";
32
32
  import {
33
33
  renderError,
34
34
  renderSuccess,
35
35
  renderUnexpectedError
36
- } from "./chunk-QM57YDJE.js";
36
+ } from "./chunk-2JHRIBHB.js";
37
37
  import {
38
38
  createClient,
39
39
  downloadBinary,
40
40
  resolveEffectiveConfig
41
- } from "./chunk-KD2XY7RS.js";
41
+ } from "./chunk-BVVWFW3P.js";
42
42
  import {
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_FLAGS,
@@ -46,7 +46,7 @@ import {
46
46
  } from "./chunk-QLKGOIWS.js";
47
47
  import {
48
48
  DESCRIPTIONS
49
- } from "./chunk-ZC4S4B32.js";
49
+ } from "./chunk-Z647LR4F.js";
50
50
  import {
51
51
  looksLikeCommandWord,
52
52
  nearestSubcommand
@@ -153,7 +153,7 @@ var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
153
153
  async function handleSdkError(err, outOpts, out) {
154
154
  const { CurviateError } = await import("@curviate/sdk");
155
155
  if (err instanceof CurviateError) {
156
- const { getExitCode } = await import("./exit-codes-LQDMGDII.js");
156
+ const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
157
157
  renderError(err, outOpts, out);
158
158
  process.exit(getExitCode(err));
159
159
  }
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-HG2G5OAZ.js";
4
+ } from "./chunk-7B3ZEBID.js";
5
5
  import {
6
6
  writeAtomic
7
7
  } from "./chunk-GOICALYQ.js";
8
8
  import {
9
9
  sendInChunks
10
- } from "./chunk-HJ7YY4HE.js";
10
+ } from "./chunk-NPXJ6WZB.js";
11
11
  import {
12
12
  fail,
13
13
  listFlag,
14
14
  outputOpts,
15
15
  rootClient,
16
16
  usage
17
- } from "./chunk-F3FEY4D5.js";
17
+ } from "./chunk-BF3SCQNZ.js";
18
18
  import {
19
19
  buildPreviewOutput
20
20
  } from "./chunk-TCUYH5GO.js";
@@ -29,14 +29,14 @@ 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";
36
+ } from "./chunk-2JHRIBHB.js";
37
37
  import {
38
38
  downloadBinary
39
- } from "./chunk-KD2XY7RS.js";
39
+ } from "./chunk-BVVWFW3P.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  READ_SINGLE_FLAGS,
@@ -46,7 +46,7 @@ import {
46
46
  import {
47
47
  DESCRIPTIONS,
48
48
  lazy
49
- } from "./chunk-ZC4S4B32.js";
49
+ } from "./chunk-Z647LR4F.js";
50
50
 
51
51
  // src/commands/contact.ts
52
52
  import { defineCommand } from "citty";
@@ -385,7 +385,7 @@ var writeRules = (changes, undo, retry = "Safe: the same call leaves the same Le
385
385
  var createCmd = defineCommand({
386
386
  meta: {
387
387
  name: "create",
388
- description: "Add a Lead from a LinkedIn profile URL, or update the one it already is (any spelling of the URL is the same person). Nothing is sent to LinkedIn or to the person. Needs Automate.",
388
+ description: "Add a Lead from a LinkedIn profile URL, or update the one it already is (any spelling of the URL is the same person). Nothing is sent to LinkedIn or to the person. Needs a subscription.",
389
389
  risk: "write",
390
390
  rules: writeRules("Creates the Lead, or updates it and reports `outcome: updated` or `unchanged`.", "`curviate lead delete <id>`; an update is undone by updating again."),
391
391
  errors: { LEAD_LIMIT_REACHED: "the Team is at its Lead, Tag or list-membership cap." },
@@ -404,7 +404,7 @@ var createCmd = defineCommand({
404
404
  var updateCmd = defineCommand({
405
405
  meta: {
406
406
  name: "update",
407
- description: "Change a Lead's fields. A field you do not name is left as it is; --clear empties one. Tags and lists have their own commands. Needs Automate.",
407
+ description: "Change a Lead's fields. A field you do not name is left as it is; --clear empties one. Tags and lists have their own commands. Needs a subscription.",
408
408
  risk: "write",
409
409
  rules: writeRules("The named fields change.", "Update again with the old values."),
410
410
  errors: { RESOURCE_NOT_FOUND: "no Lead has this id." },
@@ -447,7 +447,7 @@ var deleteCmd = defineCommand({
447
447
  var enrichCmd = defineCommand({
448
448
  meta: {
449
449
  name: "enrich",
450
- description: "Fill Leads from their LinkedIn profiles: from what Curviate already holds, and (modes auto, refill, live) by visiting the profile from an Account, which the person can see in their profile visitors. --mode cache_only never visits. Name Leads by id or one --list. Needs Automate.",
450
+ description: "Fill Leads from their LinkedIn profiles: from what Curviate already holds, and (modes auto, refill, live) by visiting the profile from an Account, which the person can see in their profile visitors. --mode cache_only never visits. Name Leads by id or one --list. Needs a subscription.",
451
451
  risk: "high",
452
452
  rules: {
453
453
  changes: "Lead fields are filled; a visit is queued per Lead that needs one.",
@@ -503,15 +503,15 @@ var contactCommand = defineCommand({
503
503
  create: createCmd,
504
504
  update: updateCmd,
505
505
  delete: deleteCmd,
506
- import: lazy("contactImport", () => import("./contact-import-PJFRLCHR.js").then((m) => m.contactImportCommand)),
506
+ import: lazy("contactImport", () => import("./contact-import-DTQE2YEN.js").then((m) => m.contactImportCommand)),
507
507
  export: exportCmd,
508
508
  enrich: enrichCmd,
509
- lists: lazy("contactLists", () => import("./contact-groups-HNZTN6I6.js").then((m) => m.contactListsCommand)),
510
- tags: lazy("contactTags", () => import("./contact-groups-HNZTN6I6.js").then((m) => m.contactTagsCommand)),
511
- imports: lazy("contactImports", () => import("./contact-import-PJFRLCHR.js").then((m) => m.contactImportsCommand))
509
+ lists: lazy("contactLists", () => import("./contact-groups-VMMHQLIH.js").then((m) => m.contactListsCommand)),
510
+ tags: lazy("contactTags", () => import("./contact-groups-VMMHQLIH.js").then((m) => m.contactTagsCommand)),
511
+ imports: lazy("contactImports", () => import("./contact-import-DTQE2YEN.js").then((m) => m.contactImportsCommand))
512
512
  },
513
513
  async run() {
514
- const { showHelp } = await import("./examples-5FJS47QF.js");
514
+ const { showHelp } = await import("./examples-G4IC5TJU.js");
515
515
  await showHelp(contactCommand, ["curviate", "lead"]);
516
516
  }
517
517
  });