@curviate/cli 0.50.0-next.7 → 0.51.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 (52) hide show
  1. package/CHANGELOG.md +17 -2
  2. package/README.md +1 -1
  3. package/dist/{account-IHEU7HP6.js → account-74N7HFFI.js} +36 -21
  4. package/dist/{analytics-WBZN4LT4.js → analytics-CZ372NIV.js} +4 -4
  5. package/dist/{beta-consent-ZQFZWXZG.js → beta-consent-6EY7JWUB.js} +2 -2
  6. package/dist/{billing-A3IGRVJH.js → billing-LJGAAL4W.js} +3 -3
  7. package/dist/{chunk-S3RXK4OU.js → chunk-3OYS3NWV.js} +1 -1
  8. package/dist/{chunk-BRUQT2ED.js → chunk-3RRINPLF.js} +1 -1
  9. package/dist/{chunk-3U6WEWE5.js → chunk-7AR2OA67.js} +9 -9
  10. package/dist/{chunk-4J4WTYUY.js → chunk-7OUGD5DH.js} +1 -1
  11. package/dist/{chunk-5FPD6PTC.js → chunk-A6UJU6ZW.js} +3 -3
  12. package/dist/{chunk-EUNZGSPN.js → chunk-AUHGVZCD.js} +3 -3
  13. package/dist/{chunk-6UXXVJYQ.js → chunk-BKQZDNXH.js} +1 -1
  14. package/dist/{chunk-S26VKVWW.js → chunk-DAFE2MTF.js} +1 -1
  15. package/dist/{chunk-RP3BBLHW.js → chunk-ERHJZL7A.js} +1 -1
  16. package/dist/cli.js +21 -21
  17. package/dist/{comment-MSKOUIHT.js → comment-OWNTXKTR.js} +4 -4
  18. package/dist/{company-IXDGDEOU.js → company-F5Z5Q3YA.js} +4 -4
  19. package/dist/{config-3CLMU2WU.js → config-GIU3SIIY.js} +1 -1
  20. package/dist/{connect-TNFZPMPA.js → connect-BZY5AA3I.js} +3 -3
  21. package/dist/{contact-XTZQH4KW.js → contact-EXEJDG7S.js} +6 -6
  22. package/dist/{contact-groups-FB4IXRJM.js → contact-groups-RQZQCFHI.js} +6 -6
  23. package/dist/{contact-import-RHXS2XLJ.js → contact-import-PAMRJ6MU.js} +6 -6
  24. package/dist/{core-JFFNJM7I.js → core-F3RQLZFP.js} +16 -16
  25. package/dist/{do-not-contact-25EKOEY3.js → do-not-contact-UWJRNFHH.js} +3 -3
  26. package/dist/{doctor-GPEBBS5E.js → doctor-BLUHL4YW.js} +2 -2
  27. package/dist/{draft-B3HNK3YS.js → draft-5ULT2UFJ.js} +2 -2
  28. package/dist/{enrollment-HCI4ROPD.js → enrollment-WF5DDULC.js} +3 -3
  29. package/dist/{export-MRUBK3QC.js → export-CF7IAMYC.js} +2 -2
  30. package/dist/{feed-YQVZQBJ5.js → feed-PR43TIM3.js} +3 -3
  31. package/dist/{group-YOZG2E4Z.js → group-W5QAQJBZ.js} +3 -3
  32. package/dist/{inbox-3RTYBVRQ.js → inbox-NO3RDC4U.js} +3 -3
  33. package/dist/{inboxes-7ILPNCVY.js → inboxes-PN26B6SL.js} +3 -3
  34. package/dist/{incoming-PG3KAYZT.js → incoming-DYYCNX46.js} +3 -3
  35. package/dist/{job-FBNPGF3M.js → job-V67373SG.js} +3 -3
  36. package/dist/{login-GBTMG7NK.js → login-K3IGFVZY.js} +1 -1
  37. package/dist/{message-FWA4UJIH.js → message-AIVMYHV5.js} +4 -4
  38. package/dist/{motion-QNO6OYYE.js → motion-UXH422PR.js} +6 -6
  39. package/dist/{network-LPPIA6VZ.js → network-376YFM33.js} +3 -3
  40. package/dist/{notification-YGIYY2R2.js → notification-BAKHCJTV.js} +3 -3
  41. package/dist/{notifications-GRIVVCE7.js → notifications-7HJSOQEK.js} +3 -3
  42. package/dist/{post-SQDYP3NR.js → post-RBHNLWAM.js} +4 -4
  43. package/dist/{profile-4TJZDVF2.js → profile-RDNIILT7.js} +4 -4
  44. package/dist/{recruiter-NPW3MDYD.js → recruiter-HX45CHBT.js} +3 -3
  45. package/dist/{sales-nav-GKXW2GQ2.js → sales-nav-SIMRRJV7.js} +3 -3
  46. package/dist/{search-NZ6J5B5M.js → search-ARMOCEYV.js} +3 -3
  47. package/dist/{setup-ODOOKKGJ.js → setup-DVFWTM6J.js} +2 -2
  48. package/dist/{team-C2MN3DDT.js → team-X6EMJ3EH.js} +3 -3
  49. package/dist/{tier-HMPVO6GL.js → tier-4VDJ3OEO.js} +3 -3
  50. package/dist/{unibox-NIYPXKZU.js → unibox-XGOS5YIJ.js} +3 -3
  51. package/dist/{webhook-ZQR37JJV.js → webhook-3QYAOV7E.js} +3 -3
  52. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -6,9 +6,24 @@ 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
- ## Unreleased
9
+ ## [0.51.0] - 2026-11-05
10
10
 
11
- Requires the next `@curviate/sdk` (a commit pin on the SDK PR build until it is published; `check:sdk-pin` refuses a publish until the pin is a version). The vendored OpenAPI fixture is re-copied from the SDK's, regenerated from the deployed staging document.
11
+ Requires `@curviate/sdk` 0.46.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's, regenerated from staging b25643d91.
12
+
13
+ ### Activity level
14
+
15
+ - **`account safety update --activity-level normal|increased`** sets the Account's Activity level alone, or beside `--file` (the flag wins over the document's `activity_level`; `--file` is no longer required when the flag is given). `normal` (the default) aims about midway between the green figure and the limit, `increased` works close to the limit, never past it, with a higher chance LinkedIn notices the activity. It runs as `normal`, and the setting stays, while warm-up is on or health is not `healthy`: `account safety get` prints `activity_level_effective` and `activity_level_reason`. A value other than `normal` or `increased`, or neither flag, exits 2 before any request.
16
+ - **Same wording, new meaning:** `motion create` and `motion update` help: `settings.priority` weighs a Motion 1 (`normal`) or 1.5 (`prioritized`) in each Account's budgets, on every budget. Every Motion with work due still progresses and no limit is passed. It was "twice a normal Motion's share of the daily allowance".
17
+ - `account safety get` help names the Activity level. `commands.json` regenerated.
18
+
19
+ ## [0.50.0] - 2026-11-03
20
+
21
+ Requires `@curviate/sdk` 0.45.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's, regenerated from the production document.
22
+
23
+ ### Warm-up opt-in
24
+
25
+ - **Same flag, new meaning:** warm-up is off by default, opt-in per account. `account link --warm-up` and `account connect-request create --warm-up` (new) connect the new account with warm-up on: its limits start at 15% and rise to full over 5 weeks. `--no-warm-up` is still accepted and changes nothing. Either flag with `--account-id` / `--reconnect` exits 2; a connected account's ramp is switched with `account warm-up on|off`, and `on` starts week 1 from that moment.
26
+ - `account warm-up on|off` help and the README example say so; a quiet account no longer restarts the ramp.
12
27
 
13
28
  ### Direct messaging at any hour
14
29
 
package/README.md CHANGED
@@ -736,7 +736,7 @@ rather than parsing the message:
736
736
  "safetyReason": "ceiling",
737
737
  "safetyHint": {
738
738
  "parameter": "profile_views.ceiling",
739
- "message": "effective ceiling 15 = 100 x warm-up 0.15 (week 0, account_age)."
739
+ "message": "effective ceiling 15 = 100 x warm-up 0.15 (week 0, switched_on)."
740
740
  },
741
741
  "blocked": true
742
742
  }
@@ -10,7 +10,7 @@ import {
10
10
  grammarParams,
11
11
  renderOverview,
12
12
  windowParams
13
- } from "./chunk-5FPD6PTC.js";
13
+ } from "./chunk-A6UJU6ZW.js";
14
14
  import {
15
15
  print,
16
16
  table
@@ -22,7 +22,7 @@ import {
22
22
  outputOpts,
23
23
  rootClient,
24
24
  usage
25
- } from "./chunk-6UXXVJYQ.js";
25
+ } from "./chunk-BKQZDNXH.js";
26
26
  import {
27
27
  buildPreviewOutput
28
28
  } from "./chunk-TCUYH5GO.js";
@@ -37,7 +37,7 @@ import {
37
37
  readablePage,
38
38
  rejectPaginationModifiersWithoutAll,
39
39
  streamAll
40
- } from "./chunk-S26VKVWW.js";
40
+ } from "./chunk-DAFE2MTF.js";
41
41
  import {
42
42
  isJsonMode,
43
43
  renderError,
@@ -53,7 +53,7 @@ import {
53
53
  import {
54
54
  createClient,
55
55
  resolveEffectiveConfig
56
- } from "./chunk-BRUQT2ED.js";
56
+ } from "./chunk-3RRINPLF.js";
57
57
  import {
58
58
  GLOBAL_FLAGS,
59
59
  READ_SINGLE_FLAGS,
@@ -165,7 +165,7 @@ async function run(f, enabled) {
165
165
  var switchCommand = (name) => defineCommand2({
166
166
  meta: {
167
167
  name,
168
- description: name === "on" ? "Turn the Account's warm-up on: the ramp holds its ceilings below the limits after a connect or a quiet spell. Prints the resulting warm-up." : "Turn the Account's warm-up off: the connect and quiet ramps no longer apply (recovery after a LinkedIn restriction still does). Prints the resulting warm-up.",
168
+ description: name === "on" ? "Turn the Account's warm-up on: its limits start at 15% from now and rise to full over 5 weeks. Prints the resulting warm-up." : "Turn the Account's warm-up off (the default): full limits at once; recovery after a LinkedIn restriction still applies. Prints the resulting warm-up.",
169
169
  risk: "write",
170
170
  rules: {
171
171
  changes: `The Account's warm-up switch is set ${name}; every budget row's effective ceiling follows.`,
@@ -193,11 +193,12 @@ var accountWarmUpCommand = defineCommand2({
193
193
 
194
194
  // src/commands/account-safety.ts
195
195
  import { defineCommand as defineCommand3 } from "citty";
196
+ var LEVELS = ["normal", "increased"];
196
197
  var ACCOUNT = { type: "positional", description: "The Account (acc_...)." };
197
198
  var getCmd = defineCommand3({
198
199
  meta: {
199
200
  name: "get",
200
- description: "One Account's safety policy: every budget row with its ceiling, effective_ceiling and (strict rows) target and effective_target, Active hours, warm-up, pacing and auto_withdraw. A read: no LinkedIn call.",
201
+ description: "One Account's safety policy: every budget row with its ceiling, effective_ceiling and (strict rows) target and effective_target, Active hours, warm-up, pacing, auto_withdraw and the Activity level (activity_level, and activity_level_effective with activity_level_reason when it runs lower). A read: no LinkedIn call.",
201
202
  risk: "read",
202
203
  seeAlso: ["curviate account safety update", "curviate account get"],
203
204
  examples: ["curviate account safety get acc_YOUR_ACCOUNT_ID", "curviate account safety get acc_YOUR_ACCOUNT_ID --fields active_hours,warm_up"]
@@ -216,10 +217,10 @@ var getCmd = defineCommand3({
216
217
  var updateCmd = defineCommand3({
217
218
  meta: {
218
219
  name: "update",
219
- description: 'Change one Account\'s safety policy from a JSON document: `rows`, for example {"rows":[{"budget_row":"profile_views","ceiling":40}]}, `active_hours`, for example {"active_hours":{"days":["mon","tue"],"start":"09:00","end":"17:00"}}, and `auto_withdraw` (true or false: Curviate withdraws its own invitations older than 14 days once more than 400 are pending). Active hours hold Motions and other live writes, never a direct message (send, new chat, edit, delete, reaction, read mark). A row\'s `green` is its target, what Motions aim at; the ceiling is the most it may do. Fields you leave out stay as they are; null clears an override. Prints the policy.',
220
+ description: 'Change one Account\'s safety policy from a JSON document: `rows`, for example {"rows":[{"budget_row":"profile_views","ceiling":40}]}, `active_hours`, for example {"active_hours":{"days":["mon","tue"],"start":"09:00","end":"17:00"}}, `auto_withdraw` (true or false: Curviate withdraws its own invitations older than 14 days once more than 400 are pending) and `activity_level`. --activity-level normal|increased sets the Activity level alone, or beside --file: how close the Account\'s daily targets sit to its limits. normal (the default) aims about midway between the green figure and the limit; increased works close to the limit, never past it, and raises the chance LinkedIn notices the activity. It runs as normal, and the setting stays, while warm-up is on or the Account\'s health is not healthy; the printed policy\'s activity_level_effective and activity_level_reason say which level is in force. Active hours hold Motions and other live writes, never a direct message (send, new chat, edit, delete, reaction, read mark). A row\'s `green` is its target, what Motions aim at; the ceiling is the most it may do. Fields you leave out stay as they are; null clears an override. Prints the policy.',
220
221
  risk: "write",
221
222
  rules: {
222
- changes: "The Account's limits or Active hours, from the next action on.",
223
+ changes: "The Account's limits, Active hours or Activity level, from the next action on.",
223
224
  visible_to: "Your Team. Nothing is posted on LinkedIn; a higher limit lets more actions reach it.",
224
225
  budget_rows: [],
225
226
  retry: "Safe: the same document leaves the same policy.",
@@ -229,18 +230,32 @@ var updateCmd = defineCommand3({
229
230
  errors: { INVALID_REQUEST: "a field is unknown or not settable; the message names it." },
230
231
  seeAlso: ["curviate account safety get", "curviate account warm-up"],
231
232
  examples: [
232
- "curviate account safety update acc_YOUR_ACCOUNT_ID --file policy.json"
233
- ]
233
+ "curviate account safety update acc_YOUR_ACCOUNT_ID --file policy.json",
234
+ "curviate account safety update acc_YOUR_ACCOUNT_ID --activity-level increased"
235
+ ],
236
+ requires: ["--file or --activity-level, or both (the flag wins over the document's activity_level)."]
234
237
  },
235
238
  args: {
236
239
  ...WRITE_SINGLE_FLAGS,
237
240
  accountId: ACCOUNT,
238
- file: { type: "string", required: true, description: "The JSON document: a path, or - to read it from stdin." }
241
+ file: { type: "string", description: "The JSON document: a path, or - to read it from stdin." },
242
+ "activity-level": { type: "string", description: "normal (default) or increased: how close the Account's daily targets sit to its limits. increased raises the chance LinkedIn notices the activity; it runs as normal while warm-up is on or health is not healthy." }
239
243
  },
240
244
  async run({ args }) {
241
245
  const f = args;
242
246
  const accountId = String(f.accountId ?? "");
243
- const body = parseDocument("file", await readFileFlag("file", f.file ?? "", { others: f }));
247
+ const level = f["activity-level"];
248
+ if (level !== void 0 && !LEVELS.includes(level)) {
249
+ process.stderr.write(`error: --activity-level is normal or increased, not "${level}".
250
+ `);
251
+ process.exit(2);
252
+ }
253
+ if (f.file === void 0 && level === void 0) {
254
+ process.stderr.write("error: pass --file <policy.json> or --activity-level normal|increased.\n");
255
+ process.exit(2);
256
+ }
257
+ const doc = f.file === void 0 ? {} : parseDocument("file", await readFileFlag("file", f.file, { others: f }));
258
+ const body = level === void 0 ? doc : { ...doc, activity_level: level };
244
259
  if (f.preview) {
245
260
  process.stdout.write(JSON.stringify(buildPreviewOutput({ method: "accounts.updateSafetyPolicy", args: { accountId }, body })) + "\n");
246
261
  return;
@@ -254,7 +269,7 @@ var updateCmd = defineCommand3({
254
269
  }
255
270
  });
256
271
  var accountSafetyCommand = defineCommand3({
257
- meta: { name: "safety", description: "Read or change one Account's safety policy: limits per budget row and Active hours." },
272
+ meta: { name: "safety", description: "Read or change one Account's safety policy: limits per budget row, Active hours and the Activity level." },
258
273
  subCommands: { get: getCmd, update: updateCmd },
259
274
  async run() {
260
275
  process.stderr.write("Usage: curviate account safety get|update <account>\n");
@@ -563,9 +578,9 @@ var requestId = (f) => {
563
578
  };
564
579
  async function runCreate(c, f) {
565
580
  if (f.reconnect !== void 0 && f.reconnect.trim() === "") usage("--reconnect was given an empty value. Pass the acc_... id of the account to reconnect, or omit it to connect a new account.");
566
- if (f["warm-up"] === false && f.reconnect !== void 0) usage("--no-warm-up applies to a new connect. A connected account's ramp is switched with `curviate account warm-up`.");
581
+ if (f["warm-up"] !== void 0 && f.reconnect !== void 0) usage("--warm-up and --no-warm-up apply to a new connect. A connected account's ramp is switched with `curviate account warm-up`.");
567
582
  const body = f.reconnect !== void 0 ? { account_id: f.reconnect } : {};
568
- if (f["warm-up"] === false) body["warm_up"] = false;
583
+ if (f["warm-up"] !== void 0) body["warm_up"] = f["warm-up"];
569
584
  if (f.preview) return preview("connectRequests.create", {}, body);
570
585
  try {
571
586
  const req = await c.connectRequests.create(body);
@@ -620,12 +635,12 @@ var createCmd = defineCommand4({
620
635
  ACCOUNT_NOT_SHARED: "the account you named is not shared with you."
621
636
  },
622
637
  seeAlso: ["curviate account connect-request get", "curviate account connect-request cancel"],
623
- examples: ["curviate account connect-request create", "curviate account connect-request create --no-warm-up", "curviate account connect-request create --reconnect acc_YOUR_ACCOUNT_ID"]
638
+ examples: ["curviate account connect-request create", "curviate account connect-request create --warm-up", "curviate account connect-request create --reconnect acc_YOUR_ACCOUNT_ID"]
624
639
  },
625
640
  args: {
626
641
  ...WRITE_SINGLE_FLAGS,
627
642
  reconnect: { type: "string", description: "Reconnect this account (acc_...) instead of connecting a new one." },
628
- "warm-up": { type: "boolean", description: "--no-warm-up: the new account skips the ramp (its first weeks at lower limits) once the person connects it. A new connect only. Default on." }
643
+ "warm-up": { type: "boolean", description: "--warm-up: the new account starts with warm-up on once the person connects it (limits at 15%, rising to full over 5 weeks). Default off (full limits from the start); --no-warm-up is accepted and changes nothing. A new connect only." }
629
644
  },
630
645
  run: online2(runCreate)
631
646
  });
@@ -870,7 +885,7 @@ async function buildAuthBody(flags, ctx) {
870
885
  }
871
886
  }
872
887
  if (flags["external-id"] !== void 0) body["external_id"] = flags["external-id"];
873
- if (flags["warm-up"] === false) body["warm_up"] = false;
888
+ if (flags["warm-up"] !== void 0) body["warm_up"] = flags["warm-up"];
874
889
  if (flags.products !== void 0) {
875
890
  const products = flags.products.split(",").map((p) => p.trim()).filter(Boolean);
876
891
  if (products.length === 0 || products.some((p) => p !== "sales_navigator" && p !== "recruiter")) {
@@ -1208,8 +1223,8 @@ async function runAccountLink(client, flags, out, io = {}) {
1208
1223
  );
1209
1224
  process.exit(2);
1210
1225
  }
1211
- if (flags["warm-up"] === false && flags["account-id"] !== void 0) {
1212
- out.stderr.write("error: --no-warm-up applies to a new connect. A connected account's ramp is switched with `curviate account warm-up`.\n");
1226
+ if (flags["warm-up"] !== void 0 && flags["account-id"] !== void 0) {
1227
+ out.stderr.write("error: --warm-up and --no-warm-up apply to a new connect. A connected account's ramp is switched with `curviate account warm-up`.\n");
1213
1228
  process.exit(2);
1214
1229
  }
1215
1230
  checkCredentialConflicts(flags, out);
@@ -1775,7 +1790,7 @@ var accountLinkCommand = defineCommand5({
1775
1790
  products: { type: "string", description: "Comma-separated premium products to ask for: sales_navigator, recruiter. Omit to ask for both (--linkedin-premium still narrows). Classic LinkedIn and company pages are always included." },
1776
1791
  "external-id": { type: "string", description: "Your own id for this account's end user (1-255 chars, not unique). Returned on the account and every account webhook; filter with `curviate account list --external-id`. Use an opaque id, not an email." },
1777
1792
  timezone: { type: "string", description: "Ignored: the account's time zone follows its connection location. Accepted so existing scripts keep working; nothing is sent." },
1778
- "warm-up": { type: "boolean", description: "--no-warm-up skips the ramp a new account starts on (its first weeks at lower limits). A new connect only; for a connected account use `curviate account warm-up`. Default on." },
1793
+ "warm-up": { type: "boolean", description: "--warm-up connects the new account with warm-up on: its limits start at 15% and rise to full over 5 weeks. Default off (full limits from the start); --no-warm-up is accepted and changes nothing. A new connect only; for a connected account use `curviate account warm-up`." },
1779
1794
  "account-id": { type: "string", description: "Existing account id (acc_...) to re-authenticate IN PLACE. Passing it makes this an in-place reconnect of that account. Omit to connect a NEW account into --seat-id." },
1780
1795
  "no-interactive": {
1781
1796
  type: "boolean",
@@ -6,14 +6,14 @@ import {
6
6
  grammarParams,
7
7
  renderOverview,
8
8
  windowParams
9
- } from "./chunk-5FPD6PTC.js";
9
+ } from "./chunk-A6UJU6ZW.js";
10
10
  import "./chunk-5S3MJVI5.js";
11
11
  import "./chunk-PPGKQJKU.js";
12
- import "./chunk-6UXXVJYQ.js";
12
+ import "./chunk-BKQZDNXH.js";
13
13
  import "./chunk-NNV2OYEF.js";
14
- import "./chunk-S26VKVWW.js";
14
+ import "./chunk-DAFE2MTF.js";
15
15
  import "./chunk-QM57YDJE.js";
16
- import "./chunk-BRUQT2ED.js";
16
+ import "./chunk-3RRINPLF.js";
17
17
  import "./chunk-RYWWSZUH.js";
18
18
  import "./chunk-FBBZVIFJ.js";
19
19
  import "./chunk-ZYURL5VK.js";
@@ -4,14 +4,14 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-6UXXVJYQ.js";
7
+ } from "./chunk-BKQZDNXH.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
11
11
  import {
12
12
  renderSuccess
13
13
  } from "./chunk-QM57YDJE.js";
14
- import "./chunk-BRUQT2ED.js";
14
+ import "./chunk-3RRINPLF.js";
15
15
  import {
16
16
  READ_SINGLE_FLAGS,
17
17
  WRITE_SINGLE_FLAGS,
@@ -7,7 +7,7 @@ import {
7
7
  outputOpts,
8
8
  rootClient,
9
9
  usage
10
- } from "./chunk-6UXXVJYQ.js";
10
+ } from "./chunk-BKQZDNXH.js";
11
11
  import {
12
12
  intFlag
13
13
  } from "./chunk-NNV2OYEF.js";
@@ -18,14 +18,14 @@ import {
18
18
  readablePage,
19
19
  rejectPaginationModifiersWithoutAll,
20
20
  streamAll
21
- } from "./chunk-S26VKVWW.js";
21
+ } from "./chunk-DAFE2MTF.js";
22
22
  import {
23
23
  renderSuccess,
24
24
  writeNdjsonItem
25
25
  } from "./chunk-QM57YDJE.js";
26
26
  import {
27
27
  downloadBinary
28
- } from "./chunk-BRUQT2ED.js";
28
+ } from "./chunk-3RRINPLF.js";
29
29
  import {
30
30
  GLOBAL_FLAGS,
31
31
  readOnly
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  readableId
7
- } from "./chunk-S26VKVWW.js";
7
+ } from "./chunk-DAFE2MTF.js";
8
8
 
9
9
  // src/lib/member-id.ts
10
10
  var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
@@ -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.50.0-next.7";
277
+ var version = "0.51.0";
278
278
 
279
279
  // src/lib/client.ts
280
280
  function headerStrings(headers) {
@@ -1,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-4J4WTYUY.js";
4
+ } from "./chunk-7OUGD5DH.js";
5
5
  import {
6
6
  writeAtomic
7
7
  } from "./chunk-GOICALYQ.js";
8
8
  import {
9
9
  sendInChunks
10
- } from "./chunk-RP3BBLHW.js";
10
+ } from "./chunk-ERHJZL7A.js";
11
11
  import {
12
12
  fail,
13
13
  listFlag,
14
14
  outputOpts,
15
15
  rootClient,
16
16
  usage
17
- } from "./chunk-6UXXVJYQ.js";
17
+ } from "./chunk-BKQZDNXH.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-S26VKVWW.js";
32
+ } from "./chunk-DAFE2MTF.js";
33
33
  import {
34
34
  renderSuccess,
35
35
  writeNdjsonItem
36
36
  } from "./chunk-QM57YDJE.js";
37
37
  import {
38
38
  downloadBinary
39
- } from "./chunk-BRUQT2ED.js";
39
+ } from "./chunk-3RRINPLF.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  READ_SINGLE_FLAGS,
@@ -501,12 +501,12 @@ var contactCommand = defineCommand({
501
501
  create: createCmd,
502
502
  update: updateCmd,
503
503
  delete: deleteCmd,
504
- import: lazy("contactImport", () => import("./contact-import-RHXS2XLJ.js").then((m) => m.contactImportCommand)),
504
+ import: lazy("contactImport", () => import("./contact-import-PAMRJ6MU.js").then((m) => m.contactImportCommand)),
505
505
  export: exportCmd,
506
506
  enrich: enrichCmd,
507
- lists: lazy("contactLists", () => import("./contact-groups-FB4IXRJM.js").then((m) => m.contactListsCommand)),
508
- tags: lazy("contactTags", () => import("./contact-groups-FB4IXRJM.js").then((m) => m.contactTagsCommand)),
509
- imports: lazy("contactImports", () => import("./contact-import-RHXS2XLJ.js").then((m) => m.contactImportsCommand))
507
+ lists: lazy("contactLists", () => import("./contact-groups-RQZQCFHI.js").then((m) => m.contactListsCommand)),
508
+ tags: lazy("contactTags", () => import("./contact-groups-RQZQCFHI.js").then((m) => m.contactTagsCommand)),
509
+ imports: lazy("contactImports", () => import("./contact-import-PAMRJ6MU.js").then((m) => m.contactImportsCommand))
510
510
  },
511
511
  async run() {
512
512
  const { showHelp } = await import("./examples-ICAGL2S5.js");
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-S26VKVWW.js";
4
+ } from "./chunk-DAFE2MTF.js";
5
5
  import {
6
6
  assertNoStdinPlaceholder
7
7
  } from "./chunk-ZYURL5VK.js";
@@ -13,7 +13,7 @@ import {
13
13
  outputOpts,
14
14
  rootClient,
15
15
  usage
16
- } from "./chunk-6UXXVJYQ.js";
16
+ } from "./chunk-BKQZDNXH.js";
17
17
  import {
18
18
  intFlag
19
19
  } from "./chunk-NNV2OYEF.js";
@@ -24,14 +24,14 @@ import {
24
24
  readablePage,
25
25
  rejectPaginationModifiersWithoutAll,
26
26
  streamAll
27
- } from "./chunk-S26VKVWW.js";
27
+ } from "./chunk-DAFE2MTF.js";
28
28
  import {
29
29
  renderSuccess,
30
30
  writeNdjsonItem
31
31
  } from "./chunk-QM57YDJE.js";
32
32
  import {
33
33
  downloadBinary
34
- } from "./chunk-BRUQT2ED.js";
34
+ } from "./chunk-3RRINPLF.js";
35
35
  import {
36
36
  GLOBAL_FLAGS,
37
37
  READ_SINGLE_FLAGS,
@@ -21,14 +21,14 @@ import {
21
21
  } from "./chunk-VHNF6OZD.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-4J4WTYUY.js";
24
+ } from "./chunk-7OUGD5DH.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-S26VKVWW.js";
31
+ } from "./chunk-DAFE2MTF.js";
32
32
  import {
33
33
  renderError,
34
34
  renderSuccess,
@@ -38,7 +38,7 @@ import {
38
38
  createClient,
39
39
  downloadBinary,
40
40
  resolveEffectiveConfig
41
- } from "./chunk-BRUQT2ED.js";
41
+ } from "./chunk-3RRINPLF.js";
42
42
  import {
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_FLAGS,
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  createClient,
8
8
  resolveEffectiveConfig
9
- } from "./chunk-BRUQT2ED.js";
9
+ } from "./chunk-3RRINPLF.js";
10
10
 
11
11
  // src/lib/root-command.ts
12
12
  var outputOpts = (f) => ({
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  isPlainObject
8
- } from "./chunk-BRUQT2ED.js";
8
+ } from "./chunk-3RRINPLF.js";
9
9
 
10
10
  // src/lib/paginate.ts
11
11
  import { CurviateError } from "@curviate/sdk";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  fail,
4
4
  outputOpts
5
- } from "./chunk-6UXXVJYQ.js";
5
+ } from "./chunk-BKQZDNXH.js";
6
6
 
7
7
  // src/lib/chunks.ts
8
8
  async function sendInChunks(ids, size, send, f) {
package/dist/cli.js CHANGED
@@ -45,30 +45,30 @@ var main = defineCommand({
45
45
  // Subcommand registry, names and descriptions are static for help rendering;
46
46
  // the handler implementation is loaded lazily on first invocation.
47
47
  subCommands: {
48
- setup: lazy("setup", () => import("./setup-ODOOKKGJ.js").then((m) => m.setupCommand)),
49
- doctor: lazy("doctor", () => import("./doctor-GPEBBS5E.js").then((m) => m.doctorCommand)),
50
- login: lazy("login", () => import("./login-GBTMG7NK.js").then((m) => m.loginCommand)),
51
- config: lazy("config", () => import("./config-3CLMU2WU.js").then((m) => m.configCommand)),
52
- account: lazy("account", () => import("./account-IHEU7HP6.js").then((m) => m.accountCommand)),
53
- motion: lazy("motion", () => import("./motion-QNO6OYYE.js").then((m) => m.motionCommand)),
54
- enrollment: lazy("enrollment", () => import("./enrollment-HCI4ROPD.js").then((m) => m.enrollmentCommand)),
55
- contact: lazy("contact", () => import("./contact-XTZQH4KW.js").then((m) => m.contactCommand)),
56
- "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-25EKOEY3.js").then((m) => m.doNotContactCommand)),
57
- unibox: lazy("unibox", () => import("./unibox-NIYPXKZU.js").then((m) => m.uniboxCommand)),
58
- network: lazy("network", () => import("./network-LPPIA6VZ.js").then((m) => m.networkCommand)),
59
- analytics: lazy("analytics", () => import("./analytics-WBZN4LT4.js").then((m) => m.analyticsCommand)),
60
- notification: lazy("notification", () => import("./notifications-GRIVVCE7.js").then((m) => m.notificationsCommand)),
61
- export: lazy("export", () => import("./export-MRUBK3QC.js").then((m) => m.exportCommand)),
62
- billing: lazy("billing", () => import("./billing-A3IGRVJH.js").then((m) => m.billingCommand)),
63
- tier: lazy("tier", () => import("./tier-HMPVO6GL.js").then((m) => m.tierCommand)),
64
- team: lazy("team", () => import("./team-C2MN3DDT.js").then((m) => m.teamCommand)),
65
- incoming: lazy("incoming", () => import("./incoming-PG3KAYZT.js").then((m) => m.incomingCommand)),
66
- beta: lazy("beta", () => import("./beta-consent-ZQFZWXZG.js").then((m) => m.betaCommand)),
67
- webhook: lazy("webhook", () => import("./webhook-ZQR37JJV.js").then((m) => m.webhookCommand)),
48
+ setup: lazy("setup", () => import("./setup-DVFWTM6J.js").then((m) => m.setupCommand)),
49
+ doctor: lazy("doctor", () => import("./doctor-BLUHL4YW.js").then((m) => m.doctorCommand)),
50
+ login: lazy("login", () => import("./login-K3IGFVZY.js").then((m) => m.loginCommand)),
51
+ config: lazy("config", () => import("./config-GIU3SIIY.js").then((m) => m.configCommand)),
52
+ account: lazy("account", () => import("./account-74N7HFFI.js").then((m) => m.accountCommand)),
53
+ motion: lazy("motion", () => import("./motion-UXH422PR.js").then((m) => m.motionCommand)),
54
+ enrollment: lazy("enrollment", () => import("./enrollment-WF5DDULC.js").then((m) => m.enrollmentCommand)),
55
+ contact: lazy("contact", () => import("./contact-EXEJDG7S.js").then((m) => m.contactCommand)),
56
+ "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-UWJRNFHH.js").then((m) => m.doNotContactCommand)),
57
+ unibox: lazy("unibox", () => import("./unibox-XGOS5YIJ.js").then((m) => m.uniboxCommand)),
58
+ network: lazy("network", () => import("./network-376YFM33.js").then((m) => m.networkCommand)),
59
+ analytics: lazy("analytics", () => import("./analytics-CZ372NIV.js").then((m) => m.analyticsCommand)),
60
+ notification: lazy("notification", () => import("./notifications-7HJSOQEK.js").then((m) => m.notificationsCommand)),
61
+ export: lazy("export", () => import("./export-CF7IAMYC.js").then((m) => m.exportCommand)),
62
+ billing: lazy("billing", () => import("./billing-LJGAAL4W.js").then((m) => m.billingCommand)),
63
+ tier: lazy("tier", () => import("./tier-4VDJ3OEO.js").then((m) => m.tierCommand)),
64
+ team: lazy("team", () => import("./team-X6EMJ3EH.js").then((m) => m.teamCommand)),
65
+ incoming: lazy("incoming", () => import("./incoming-DYYCNX46.js").then((m) => m.incomingCommand)),
66
+ beta: lazy("beta", () => import("./beta-consent-6EY7JWUB.js").then((m) => m.betaCommand)),
67
+ webhook: lazy("webhook", () => import("./webhook-3QYAOV7E.js").then((m) => m.webhookCommand)),
68
68
  // The LinkedIn building blocks. Reserved product groups
69
69
  // (unibox, network, analytics, team) land
70
70
  // between `enrollment` and `webhook` with their owning specs.
71
- core: lazy("core", () => import("./core-JFFNJM7I.js").then((m) => m.coreCommand))
71
+ core: lazy("core", () => import("./core-F3RQLZFP.js").then((m) => m.coreCommand))
72
72
  },
73
73
  async run() {
74
74
  const { showHelp } = await import("./examples-ICAGL2S5.js");
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-S3RXK4OU.js";
4
+ } from "./chunk-3OYS3NWV.js";
5
5
  import {
6
6
  AS_ACCOUNT,
7
7
  BUDGET,
@@ -16,7 +16,7 @@ import {
16
16
  } from "./chunk-VHNF6OZD.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-4J4WTYUY.js";
19
+ } from "./chunk-7OUGD5DH.js";
20
20
  import {
21
21
  buildPreviewOutput
22
22
  } from "./chunk-TCUYH5GO.js";
@@ -27,7 +27,7 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-S26VKVWW.js";
30
+ } from "./chunk-DAFE2MTF.js";
31
31
  import {
32
32
  renderError,
33
33
  renderSuccess,
@@ -37,7 +37,7 @@ import {
37
37
  import {
38
38
  createClient,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-BRUQT2ED.js";
40
+ } from "./chunk-3RRINPLF.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  WRITE_SINGLE_FLAGS,
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-EUNZGSPN.js";
4
+ } from "./chunk-AUHGVZCD.js";
5
5
  import "./chunk-UWO2D4HW.js";
6
6
  import {
7
7
  AS_ACCOUNT,
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-VHNF6OZD.js";
27
27
  import {
28
28
  requireAccount
29
- } from "./chunk-4J4WTYUY.js";
29
+ } from "./chunk-7OUGD5DH.js";
30
30
  import {
31
31
  buildPreviewOutput
32
32
  } from "./chunk-TCUYH5GO.js";
@@ -39,7 +39,7 @@ import {
39
39
  readablePage,
40
40
  rejectPaginationModifiersWithoutAll,
41
41
  streamAll
42
- } from "./chunk-S26VKVWW.js";
42
+ } from "./chunk-DAFE2MTF.js";
43
43
  import {
44
44
  renderError,
45
45
  renderSuccess,
@@ -49,7 +49,7 @@ import {
49
49
  import {
50
50
  createClient,
51
51
  resolveEffectiveConfig
52
- } from "./chunk-BRUQT2ED.js";
52
+ } from "./chunk-3RRINPLF.js";
53
53
  import {
54
54
  GLOBAL_FLAGS,
55
55
  READ_SINGLE_FLAGS,
@@ -12,7 +12,7 @@ import {
12
12
  setActiveProfile,
13
13
  updateProfileField,
14
14
  withoutUserinfo
15
- } from "./chunk-BRUQT2ED.js";
15
+ } from "./chunk-3RRINPLF.js";
16
16
  import {
17
17
  GLOBAL_FLAGS
18
18
  } from "./chunk-RYWWSZUH.js";
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-XDG3TOKG.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-4J4WTYUY.js";
18
+ } from "./chunk-7OUGD5DH.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -26,7 +26,7 @@ import {
26
26
  readablePage,
27
27
  rejectPaginationModifiersWithoutAll,
28
28
  streamAll
29
- } from "./chunk-S26VKVWW.js";
29
+ } from "./chunk-DAFE2MTF.js";
30
30
  import {
31
31
  renderError,
32
32
  renderSuccess,
@@ -36,7 +36,7 @@ import {
36
36
  import {
37
37
  createClient,
38
38
  resolveEffectiveConfig
39
- } from "./chunk-BRUQT2ED.js";
39
+ } from "./chunk-3RRINPLF.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  WRITE_FLAGS,
@@ -7,16 +7,16 @@ import {
7
7
  online,
8
8
  positionals,
9
9
  preview
10
- } from "./chunk-3U6WEWE5.js";
11
- import "./chunk-4J4WTYUY.js";
10
+ } from "./chunk-7AR2OA67.js";
11
+ import "./chunk-7OUGD5DH.js";
12
12
  import "./chunk-GOICALYQ.js";
13
- import "./chunk-RP3BBLHW.js";
14
- import "./chunk-6UXXVJYQ.js";
13
+ import "./chunk-ERHJZL7A.js";
14
+ import "./chunk-BKQZDNXH.js";
15
15
  import "./chunk-TCUYH5GO.js";
16
16
  import "./chunk-NNV2OYEF.js";
17
- import "./chunk-S26VKVWW.js";
17
+ import "./chunk-DAFE2MTF.js";
18
18
  import "./chunk-QM57YDJE.js";
19
- import "./chunk-BRUQT2ED.js";
19
+ import "./chunk-3RRINPLF.js";
20
20
  import "./chunk-RYWWSZUH.js";
21
21
  import "./chunk-FBBZVIFJ.js";
22
22
  import "./chunk-ZYURL5VK.js";