@curviate/cli 0.50.0-next.3 → 0.50.0-next.4

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 (56) hide show
  1. package/CHANGELOG.md +10 -0
  2. package/dist/{account-LRQXYUPU.js → account-7KKJEHAM.js} +10 -10
  3. package/dist/{analytics-IQ2ZE3TZ.js → analytics-XBAFRYSC.js} +4 -4
  4. package/dist/{beta-consent-NWO2YQJC.js → beta-consent-FP2QGN6M.js} +3 -3
  5. package/dist/{billing-JIC22PSI.js → billing-AQ5VNIYA.js} +4 -4
  6. package/dist/{chunk-VJTEJUO4.js → chunk-2MWTZLAG.js} +3 -3
  7. package/dist/{chunk-WR6FIP24.js → chunk-3SF6JIMA.js} +1 -1
  8. package/dist/{chunk-J2RPEWQB.js → chunk-56JSZNRW.js} +1 -1
  9. package/dist/{chunk-A57ZILRU.js → chunk-6SBO4WXA.js} +1 -1
  10. package/dist/{chunk-VNK3HERF.js → chunk-COYDNWKF.js} +1 -1
  11. package/dist/{chunk-MYVSB7NJ.js → chunk-FO54X4T2.js} +1 -1
  12. package/dist/{chunk-AQCLTQXN.js → chunk-JYCNHE72.js} +1 -1
  13. package/dist/{chunk-TYNVJDYK.js → chunk-PHKICMO7.js} +14 -0
  14. package/dist/{chunk-QL55Z56R.js → chunk-Q5GVXN7Z.js} +1 -1
  15. package/dist/{chunk-V2ENBR5Q.js → chunk-QL6VKMTA.js} +10 -10
  16. package/dist/{chunk-SOU3K3IZ.js → chunk-RRSWFGXM.js} +5 -5
  17. package/dist/{chunk-GHMRPX5H.js → chunk-XDG3TOKG.js} +2 -0
  18. package/dist/cli.js +23 -23
  19. package/dist/{comment-FNQE64XL.js → comment-OZZGWNIV.js} +4 -4
  20. package/dist/{company-C4DRLLIU.js → company-HM23JZT4.js} +5 -5
  21. package/dist/{config-2OR7Y23Q.js → config-KHXQZD6F.js} +1 -1
  22. package/dist/{connect-5P53KY6N.js → connect-HBQ4PLTS.js} +5 -5
  23. package/dist/{contact-WKF4REZ6.js → contact-325QZ5IB.js} +6 -6
  24. package/dist/{contact-groups-4IM5RVLE.js → contact-groups-TXPUYQYC.js} +8 -8
  25. package/dist/{contact-import-MDPIZ67M.js → contact-import-6G2DUCIN.js} +8 -8
  26. package/dist/{core-74JCW5WM.js → core-HXREJJCJ.js} +17 -17
  27. package/dist/{do-not-contact-73TURNLU.js → do-not-contact-CP6WKW5T.js} +4 -4
  28. package/dist/{doctor-WFEO7MCW.js → doctor-GDBH2PH7.js} +2 -2
  29. package/dist/{document-GFRWPQFV.js → document-RXBOZG6M.js} +1 -1
  30. package/dist/{draft-AFNYKVUZ.js → draft-IWI7E5VJ.js} +2 -2
  31. package/dist/{enrollment-QA2UMNVS.js → enrollment-2JVHRUNI.js} +5 -5
  32. package/dist/{examples-JJB4DZKK.js → examples-74FXGJ7X.js} +1 -1
  33. package/dist/{export-CFBKC74G.js → export-URIKCSIO.js} +3 -3
  34. package/dist/{feed-UIVSY4JT.js → feed-ZBATBTD2.js} +3 -3
  35. package/dist/{group-LFYIBVPL.js → group-D43R5JQU.js} +3 -3
  36. package/dist/{inbox-EY7NGUKV.js → inbox-6DTW4XJE.js} +3 -3
  37. package/dist/{inboxes-G74QYE54.js → inboxes-TFZQ57MK.js} +3 -3
  38. package/dist/{incoming-ZOUMXKAF.js → incoming-RHKXXZQE.js} +4 -4
  39. package/dist/{job-VPTJWSCJ.js → job-ARXJVJID.js} +4 -4
  40. package/dist/{login-UNEMKIJN.js → login-CH75UC6I.js} +1 -1
  41. package/dist/{message-2V66HGCG.js → message-WTGOJZGL.js} +4 -4
  42. package/dist/{motion-DTPCDJAM.js → motion-TQU6ZS6N.js} +9 -9
  43. package/dist/{network-GRZNGB2M.js → network-JUQA3X5S.js} +4 -4
  44. package/dist/{notification-C4ZBZOCV.js → notification-GN5Y25GL.js} +3 -3
  45. package/dist/{notifications-ASDF3HPE.js → notifications-C5CBK574.js} +4 -4
  46. package/dist/{post-EOJ7JA2F.js → post-HT2UWXXO.js} +4 -4
  47. package/dist/{profile-K3TVVRBO.js → profile-ZSBAZPFQ.js} +5 -5
  48. package/dist/{recruiter-45UOJBFV.js → recruiter-CSG4XSZ4.js} +6 -6
  49. package/dist/{sales-nav-C2F62WMI.js → sales-nav-LDI7MTGU.js} +5 -5
  50. package/dist/{search-EVJFYKRW.js → search-NLIL5SXI.js} +6 -6
  51. package/dist/{setup-GI36YFHD.js → setup-UGELD4FZ.js} +2 -2
  52. package/dist/{team-H3SRAP4J.js → team-LWDBXG4K.js} +4 -4
  53. package/dist/{tier-HHTD226N.js → tier-LOI4ZOVV.js} +3 -3
  54. package/dist/{unibox-MED2B6XX.js → unibox-IL6SRMK2.js} +4 -4
  55. package/dist/{webhook-RE7YXPWW.js → webhook-TAXMQNEK.js} +4 -4
  56. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -14,6 +14,16 @@ Requires the next `@curviate/sdk` (a commit pin on the SDK PR build until it is
14
14
 
15
15
  - `curviate account safety get|update <account>`: read and change one Account's limits and Active hours. `curviate account team-access on|off <account>`: share an Account with its Team or keep it to its person.
16
16
 
17
+ ### Account orchestration
18
+
19
+ - `motion create` / `motion update --file` accept `settings.priority` (`normal` | `prioritized`): the Motion's weighted share (1 : 2) of each sending Account's daily allowance. The vendored Motion schemas carry it.
20
+ - `settings.new_enrollments_per_account_per_day` and `settings.assign: even` are retired: still accepted, ignored by the API until 2027-01-28; its `SETTING_REMOVED` notice is printed. A read never returns them.
21
+ - `account get` shows `health` (`{state, factor, reasons, until}`; absent on an Account you can see but not operate); it was dropped by the default view. Strict rows in `quotas` carry `target` and `effective_target`.
22
+ - `account safety get|update` carry `auto_withdraw` and the rows' `target`; a row's `green` is its target.
23
+ - Same shape, new meaning: `connection_requests_no_note` counts every invitation; `used` is the invitation total. `connect --note` help names the noted limit (3 a month on a free profile, none on a paid one).
24
+ - `motion preview` help: the projection names the binding pool, `expected_actions_per_day` and `warnings[]` (`hours_below_share`, `no_sending_account`). `enrollment list`: `account_id` is null while an Enrollment waits in its Motion's pool.
25
+ - Help names the blind spot: actions sent by hand, or by another tool on the same Account, are invisible to Curviate.
26
+
17
27
  ### Fixed
18
28
 
19
29
  - `curviate contact export` no longer fails with exit 7 on any answer of more than one row.
@@ -3,14 +3,14 @@ import {
3
3
  slimAccountGet,
4
4
  slimAccountList,
5
5
  slimAccountListItem
6
- } from "./chunk-GHMRPX5H.js";
6
+ } from "./chunk-XDG3TOKG.js";
7
7
  import {
8
8
  GRAMMAR_ARGS,
9
9
  WINDOW_ARGS,
10
10
  grammarParams,
11
11
  renderOverview,
12
12
  windowParams
13
- } from "./chunk-SOU3K3IZ.js";
13
+ } from "./chunk-RRSWFGXM.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-WR6FIP24.js";
25
+ } from "./chunk-3SF6JIMA.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-MYVSB7NJ.js";
40
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
56
+ } from "./chunk-56JSZNRW.js";
57
57
  import {
58
58
  GLOBAL_FLAGS,
59
59
  READ_SINGLE_FLAGS,
@@ -66,7 +66,7 @@ import {
66
66
  import {
67
67
  parseDocument,
68
68
  readFileFlag
69
- } from "./chunk-TYNVJDYK.js";
69
+ } from "./chunk-PHKICMO7.js";
70
70
  import "./chunk-FDJMAF7D.js";
71
71
  import {
72
72
  defaultReadStdin,
@@ -197,7 +197,7 @@ var ACCOUNT = { type: "positional", description: "The Account (acc_...)." };
197
197
  var getCmd = defineCommand3({
198
198
  meta: {
199
199
  name: "get",
200
- description: "One Account's safety policy: every budget row with its ceiling and effective_ceiling, Active hours, warm-up and pacing. A read: no LinkedIn call.",
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
201
  risk: "read",
202
202
  seeAlso: ["curviate account safety update", "curviate account get"],
203
203
  examples: ["curviate account safety get acc_YOUR_ACCOUNT_ID", "curviate account safety get acc_YOUR_ACCOUNT_ID --fields active_hours,warm_up"]
@@ -216,7 +216,7 @@ var getCmd = defineCommand3({
216
216
  var updateCmd = defineCommand3({
217
217
  meta: {
218
218
  name: "update",
219
- description: 'Change one Account\'s safety policy from a JSON document: `rows`, for example {"rows":[{"budget_row":"profile_views","ceiling":40}]}, and `active_hours`, for example {"active_hours":{"days":["mon","tue"],"start":"09:00","end":"17:00"}}. Fields you leave out stay as they are; null clears an override. Prints the policy.',
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). 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
220
  risk: "write",
221
221
  rules: {
222
222
  changes: "The Account's limits or Active hours, from the next action on.",
@@ -666,7 +666,7 @@ var connectRequestCommand = defineCommand4({
666
666
  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." },
667
667
  subCommands: { create: createCmd, get: getCmd2, cancel: cancelCmd },
668
668
  async run() {
669
- const { showHelp } = await import("./examples-JJB4DZKK.js");
669
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
670
670
  await showHelp(connectRequestCommand, ["curviate", "account", "connect-request"]);
671
671
  }
672
672
  });
@@ -1668,7 +1668,7 @@ var accountListCommand = defineCommand5({
1668
1668
  var accountGetCommand = defineCommand5({
1669
1669
  meta: {
1670
1670
  name: "get",
1671
- description: "Get a connected LinkedIn account: its status (active, reconnect_needed, restricted, connecting or disconnected) and its per-action quotas. --verbose adds cached profile fields, which may be null.",
1671
+ description: "Get a connected LinkedIn account: its status (active, reconnect_needed, restricted, connecting or disconnected), its per-action quotas (the strict rows carry a target and an effective_target; connection_requests_no_note counts every invitation) and its health (state healthy, watch, slowed or stopped; factor; reasons). Curviate cannot see actions sent by hand or by another tool on the Account. --verbose adds cached profile fields, which may be null.",
1672
1672
  risk: "read",
1673
1673
  examples: [
1674
1674
  "curviate account get acc_YOUR_ACCOUNT_ID"
@@ -6,14 +6,14 @@ import {
6
6
  grammarParams,
7
7
  renderOverview,
8
8
  windowParams
9
- } from "./chunk-SOU3K3IZ.js";
9
+ } from "./chunk-RRSWFGXM.js";
10
10
  import "./chunk-5S3MJVI5.js";
11
11
  import "./chunk-PPGKQJKU.js";
12
- import "./chunk-WR6FIP24.js";
12
+ import "./chunk-3SF6JIMA.js";
13
13
  import "./chunk-NNV2OYEF.js";
14
- import "./chunk-MYVSB7NJ.js";
14
+ import "./chunk-FO54X4T2.js";
15
15
  import "./chunk-QM57YDJE.js";
16
- import "./chunk-J2RPEWQB.js";
16
+ import "./chunk-56JSZNRW.js";
17
17
  import "./chunk-RYWWSZUH.js";
18
18
  import "./chunk-73DJ3KNE.js";
19
19
  import "./chunk-ZYURL5VK.js";
@@ -4,14 +4,14 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-WR6FIP24.js";
7
+ } from "./chunk-3SF6JIMA.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-J2RPEWQB.js";
14
+ import "./chunk-56JSZNRW.js";
15
15
  import {
16
16
  READ_SINGLE_FLAGS,
17
17
  WRITE_SINGLE_FLAGS,
@@ -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-JJB4DZKK.js");
75
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
76
76
  await showHelp(betaCommand, ["curviate", "beta"]);
77
77
  }
78
78
  });
@@ -7,7 +7,7 @@ import {
7
7
  outputOpts,
8
8
  rootClient,
9
9
  usage
10
- } from "./chunk-WR6FIP24.js";
10
+ } from "./chunk-3SF6JIMA.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-MYVSB7NJ.js";
21
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
28
+ } from "./chunk-56JSZNRW.js";
29
29
  import {
30
30
  GLOBAL_FLAGS,
31
31
  readOnly
@@ -115,7 +115,7 @@ var billingCommand = defineCommand({
115
115
  meta: { name: "billing", description: DESCRIPTIONS.billing },
116
116
  subCommands: { invoices: invoicesCmd },
117
117
  async run() {
118
- const { showHelp } = await import("./examples-JJB4DZKK.js");
118
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
119
119
  await showHelp(billingCommand, ["curviate", "billing"]);
120
120
  }
121
121
  });
@@ -19,14 +19,14 @@ import {
19
19
  } from "./chunk-UEAX6KUB.js";
20
20
  import {
21
21
  requireAccount
22
- } from "./chunk-AQCLTQXN.js";
22
+ } from "./chunk-JYCNHE72.js";
23
23
  import {
24
24
  buildPreviewOutput
25
25
  } from "./chunk-TCUYH5GO.js";
26
26
  import {
27
27
  readableId,
28
28
  readableObject
29
- } from "./chunk-MYVSB7NJ.js";
29
+ } from "./chunk-FO54X4T2.js";
30
30
  import {
31
31
  renderError,
32
32
  renderSuccess,
@@ -36,7 +36,7 @@ import {
36
36
  createClient,
37
37
  downloadBinary,
38
38
  resolveEffectiveConfig
39
- } from "./chunk-J2RPEWQB.js";
39
+ } from "./chunk-56JSZNRW.js";
40
40
  import {
41
41
  READ_SINGLE_FLAGS,
42
42
  WRITE_FLAGS,
@@ -6,7 +6,7 @@ import {
6
6
  import {
7
7
  createClient,
8
8
  resolveEffectiveConfig
9
- } from "./chunk-J2RPEWQB.js";
9
+ } from "./chunk-56JSZNRW.js";
10
10
 
11
11
  // src/lib/root-command.ts
12
12
  var outputOpts = (f) => ({
@@ -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.3";
277
+ var version = "0.50.0-next.4";
278
278
 
279
279
  // src/lib/client.ts
280
280
  function headerStrings(headers) {
@@ -3,7 +3,7 @@ import {
3
3
  parseDocument,
4
4
  readFileFlag,
5
5
  readStdinCapped
6
- } from "./chunk-TYNVJDYK.js";
6
+ } from "./chunk-PHKICMO7.js";
7
7
  import {
8
8
  isStdinToken
9
9
  } from "./chunk-ZYURL5VK.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  fail,
4
4
  outputOpts
5
- } from "./chunk-WR6FIP24.js";
5
+ } from "./chunk-3SF6JIMA.js";
6
6
 
7
7
  // src/lib/chunks.ts
8
8
  async function sendInChunks(ids, size, send, f) {
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  isPlainObject
8
- } from "./chunk-J2RPEWQB.js";
8
+ } from "./chunk-56JSZNRW.js";
9
9
 
10
10
  // src/lib/paginate.ts
11
11
  import { CurviateError } from "@curviate/sdk";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-MYVSB7NJ.js";
4
+ } from "./chunk-FO54X4T2.js";
5
5
  import {
6
6
  assertNoStdinPlaceholder
7
7
  } from "./chunk-ZYURL5VK.js";
@@ -980,6 +980,13 @@ var documents_default = {
980
980
  settings: {
981
981
  type: "object",
982
982
  properties: {
983
+ priority: {
984
+ type: "string",
985
+ enum: [
986
+ "normal",
987
+ "prioritized"
988
+ ]
989
+ },
983
990
  accounts_per_contact: {
984
991
  type: "integer",
985
992
  minimum: 1,
@@ -1167,6 +1174,13 @@ var documents_default = {
1167
1174
  settings: {
1168
1175
  type: "object",
1169
1176
  properties: {
1177
+ priority: {
1178
+ type: "string",
1179
+ enum: [
1180
+ "normal",
1181
+ "prioritized"
1182
+ ]
1183
+ },
1170
1184
  accounts_per_contact: {
1171
1185
  type: "integer",
1172
1186
  minimum: 1,
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-UEAX6KUB.js";
5
5
  import {
6
6
  readableId
7
- } from "./chunk-MYVSB7NJ.js";
7
+ } from "./chunk-FO54X4T2.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,20 +1,20 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-AQCLTQXN.js";
4
+ } from "./chunk-JYCNHE72.js";
5
5
  import {
6
6
  writeAtomic
7
7
  } from "./chunk-GOICALYQ.js";
8
8
  import {
9
9
  sendInChunks
10
- } from "./chunk-VNK3HERF.js";
10
+ } from "./chunk-COYDNWKF.js";
11
11
  import {
12
12
  fail,
13
13
  listFlag,
14
14
  outputOpts,
15
15
  rootClient,
16
16
  usage
17
- } from "./chunk-WR6FIP24.js";
17
+ } from "./chunk-3SF6JIMA.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-MYVSB7NJ.js";
32
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
39
+ } from "./chunk-56JSZNRW.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  READ_SINGLE_FLAGS,
@@ -501,15 +501,15 @@ var contactCommand = defineCommand({
501
501
  create: createCmd,
502
502
  update: updateCmd,
503
503
  delete: deleteCmd,
504
- import: lazy("contactImport", () => import("./contact-import-MDPIZ67M.js").then((m) => m.contactImportCommand)),
504
+ import: lazy("contactImport", () => import("./contact-import-6G2DUCIN.js").then((m) => m.contactImportCommand)),
505
505
  export: exportCmd,
506
506
  enrich: enrichCmd,
507
- lists: lazy("contactLists", () => import("./contact-groups-4IM5RVLE.js").then((m) => m.contactListsCommand)),
508
- tags: lazy("contactTags", () => import("./contact-groups-4IM5RVLE.js").then((m) => m.contactTagsCommand)),
509
- imports: lazy("contactImports", () => import("./contact-import-MDPIZ67M.js").then((m) => m.contactImportsCommand))
507
+ lists: lazy("contactLists", () => import("./contact-groups-TXPUYQYC.js").then((m) => m.contactListsCommand)),
508
+ tags: lazy("contactTags", () => import("./contact-groups-TXPUYQYC.js").then((m) => m.contactTagsCommand)),
509
+ imports: lazy("contactImports", () => import("./contact-import-6G2DUCIN.js").then((m) => m.contactImportsCommand))
510
510
  },
511
511
  async run() {
512
- const { showHelp } = await import("./examples-JJB4DZKK.js");
512
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
513
513
  await showHelp(contactCommand, ["curviate", "contact"]);
514
514
  }
515
515
  });
@@ -13,7 +13,7 @@ import {
13
13
  outputOpts,
14
14
  rootClient,
15
15
  usage
16
- } from "./chunk-WR6FIP24.js";
16
+ } from "./chunk-3SF6JIMA.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-MYVSB7NJ.js";
27
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
34
+ } from "./chunk-56JSZNRW.js";
35
35
  import {
36
36
  GLOBAL_FLAGS,
37
37
  READ_SINGLE_FLAGS,
@@ -312,7 +312,7 @@ var eventsCommand = defineCommand({
312
312
  meta: { name: "events", description: "The records behind the analytics numbers." },
313
313
  subCommands: { list: eventsListCmd },
314
314
  async run() {
315
- const { showHelp } = await import("./examples-JJB4DZKK.js");
315
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
316
316
  await showHelp(eventsCommand, ["curviate", "analytics", "events"]);
317
317
  }
318
318
  });
@@ -324,7 +324,7 @@ var analyticsCommand = defineCommand({
324
324
  export: exportCmd
325
325
  },
326
326
  async run() {
327
- const { showHelp } = await import("./examples-JJB4DZKK.js");
327
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
328
328
  await showHelp(analyticsCommand, ["curviate", "analytics"]);
329
329
  }
330
330
  });
@@ -271,6 +271,8 @@ function slimAccountGet(data) {
271
271
  last_checked_at: d["last_checked_at"] ?? null,
272
272
  quotas: d["quotas"] ?? [],
273
273
  account_states: d["account_states"] ?? [],
274
+ // Curviate's inference of how LinkedIn sees the account: {state, factor, reasons, until}; absent on an Account you can see but not operate
275
+ ...d["health"] !== void 0 ? { health: d["health"] } : {},
274
276
  // absent without Automate: shown only when the API sends them
275
277
  ...d["save_connections_as_contacts"] !== void 0 ? { save_connections_as_contacts: d["save_connections_as_contacts"], save_connections_paused_reason: d["save_connections_paused_reason"] ?? null } : {}
276
278
  };
package/dist/cli.js CHANGED
@@ -45,33 +45,33 @@ 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-GI36YFHD.js").then((m) => m.setupCommand)),
49
- doctor: lazy("doctor", () => import("./doctor-WFEO7MCW.js").then((m) => m.doctorCommand)),
50
- login: lazy("login", () => import("./login-UNEMKIJN.js").then((m) => m.loginCommand)),
51
- config: lazy("config", () => import("./config-2OR7Y23Q.js").then((m) => m.configCommand)),
52
- account: lazy("account", () => import("./account-LRQXYUPU.js").then((m) => m.accountCommand)),
53
- motion: lazy("motion", () => import("./motion-DTPCDJAM.js").then((m) => m.motionCommand)),
54
- enrollment: lazy("enrollment", () => import("./enrollment-QA2UMNVS.js").then((m) => m.enrollmentCommand)),
55
- contact: lazy("contact", () => import("./contact-WKF4REZ6.js").then((m) => m.contactCommand)),
56
- "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-73TURNLU.js").then((m) => m.doNotContactCommand)),
57
- unibox: lazy("unibox", () => import("./unibox-MED2B6XX.js").then((m) => m.uniboxCommand)),
58
- network: lazy("network", () => import("./network-GRZNGB2M.js").then((m) => m.networkCommand)),
59
- analytics: lazy("analytics", () => import("./analytics-IQ2ZE3TZ.js").then((m) => m.analyticsCommand)),
60
- notification: lazy("notification", () => import("./notifications-ASDF3HPE.js").then((m) => m.notificationsCommand)),
61
- export: lazy("export", () => import("./export-CFBKC74G.js").then((m) => m.exportCommand)),
62
- billing: lazy("billing", () => import("./billing-JIC22PSI.js").then((m) => m.billingCommand)),
63
- tier: lazy("tier", () => import("./tier-HHTD226N.js").then((m) => m.tierCommand)),
64
- team: lazy("team", () => import("./team-H3SRAP4J.js").then((m) => m.teamCommand)),
65
- incoming: lazy("incoming", () => import("./incoming-ZOUMXKAF.js").then((m) => m.incomingCommand)),
66
- beta: lazy("beta", () => import("./beta-consent-NWO2YQJC.js").then((m) => m.betaCommand)),
67
- webhook: lazy("webhook", () => import("./webhook-RE7YXPWW.js").then((m) => m.webhookCommand)),
48
+ setup: lazy("setup", () => import("./setup-UGELD4FZ.js").then((m) => m.setupCommand)),
49
+ doctor: lazy("doctor", () => import("./doctor-GDBH2PH7.js").then((m) => m.doctorCommand)),
50
+ login: lazy("login", () => import("./login-CH75UC6I.js").then((m) => m.loginCommand)),
51
+ config: lazy("config", () => import("./config-KHXQZD6F.js").then((m) => m.configCommand)),
52
+ account: lazy("account", () => import("./account-7KKJEHAM.js").then((m) => m.accountCommand)),
53
+ motion: lazy("motion", () => import("./motion-TQU6ZS6N.js").then((m) => m.motionCommand)),
54
+ enrollment: lazy("enrollment", () => import("./enrollment-2JVHRUNI.js").then((m) => m.enrollmentCommand)),
55
+ contact: lazy("contact", () => import("./contact-325QZ5IB.js").then((m) => m.contactCommand)),
56
+ "do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-CP6WKW5T.js").then((m) => m.doNotContactCommand)),
57
+ unibox: lazy("unibox", () => import("./unibox-IL6SRMK2.js").then((m) => m.uniboxCommand)),
58
+ network: lazy("network", () => import("./network-JUQA3X5S.js").then((m) => m.networkCommand)),
59
+ analytics: lazy("analytics", () => import("./analytics-XBAFRYSC.js").then((m) => m.analyticsCommand)),
60
+ notification: lazy("notification", () => import("./notifications-C5CBK574.js").then((m) => m.notificationsCommand)),
61
+ export: lazy("export", () => import("./export-URIKCSIO.js").then((m) => m.exportCommand)),
62
+ billing: lazy("billing", () => import("./billing-AQ5VNIYA.js").then((m) => m.billingCommand)),
63
+ tier: lazy("tier", () => import("./tier-LOI4ZOVV.js").then((m) => m.tierCommand)),
64
+ team: lazy("team", () => import("./team-LWDBXG4K.js").then((m) => m.teamCommand)),
65
+ incoming: lazy("incoming", () => import("./incoming-RHKXXZQE.js").then((m) => m.incomingCommand)),
66
+ beta: lazy("beta", () => import("./beta-consent-FP2QGN6M.js").then((m) => m.betaCommand)),
67
+ webhook: lazy("webhook", () => import("./webhook-TAXMQNEK.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-74JCW5WM.js").then((m) => m.coreCommand))
71
+ core: lazy("core", () => import("./core-HXREJJCJ.js").then((m) => m.coreCommand))
72
72
  },
73
73
  async run() {
74
- const { showHelp } = await import("./examples-JJB4DZKK.js");
74
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
75
75
  await showHelp(main, ["curviate"]);
76
76
  }
77
77
  });
@@ -363,7 +363,7 @@ async function dispatch(root, rawArgs) {
363
363
  helpFor = "curviate";
364
364
  if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
365
365
  const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
366
- const { showHelp } = await import("./examples-JJB4DZKK.js");
366
+ const { showHelp } = await import("./examples-74FXGJ7X.js");
367
367
  await showHelp(leaf, path);
368
368
  await new Promise((done) => process.stdout.write("", () => done()));
369
369
  process.exit(0);
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-QL55Z56R.js";
4
+ } from "./chunk-Q5GVXN7Z.js";
5
5
  import {
6
6
  AttachError,
7
7
  describeAttachment,
@@ -16,7 +16,7 @@ import {
16
16
  import "./chunk-UEAX6KUB.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-AQCLTQXN.js";
19
+ } from "./chunk-JYCNHE72.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-MYVSB7NJ.js";
30
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
40
+ } from "./chunk-56JSZNRW.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-VJTEJUO4.js";
4
+ } from "./chunk-2MWTZLAG.js";
5
5
  import {
6
6
  AttachError,
7
7
  readAttachment,
@@ -23,10 +23,10 @@ import {
23
23
  slimSearchJobs,
24
24
  slimSearchPeople,
25
25
  slimSearchPosts
26
- } from "./chunk-GHMRPX5H.js";
26
+ } from "./chunk-XDG3TOKG.js";
27
27
  import {
28
28
  requireAccount
29
- } from "./chunk-AQCLTQXN.js";
29
+ } from "./chunk-JYCNHE72.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-MYVSB7NJ.js";
42
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
52
+ } from "./chunk-56JSZNRW.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-J2RPEWQB.js";
15
+ } from "./chunk-56JSZNRW.js";
16
16
  import {
17
17
  GLOBAL_FLAGS
18
18
  } from "./chunk-RYWWSZUH.js";
@@ -12,10 +12,10 @@ import {
12
12
  slimInviteReceivedItem,
13
13
  slimInviteSent,
14
14
  slimInviteSentItem
15
- } from "./chunk-GHMRPX5H.js";
15
+ } from "./chunk-XDG3TOKG.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-AQCLTQXN.js";
18
+ } from "./chunk-JYCNHE72.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-MYVSB7NJ.js";
29
+ } from "./chunk-FO54X4T2.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-J2RPEWQB.js";
39
+ } from "./chunk-56JSZNRW.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  WRITE_FLAGS,
@@ -492,7 +492,7 @@ var connectCommand = defineCommand({
492
492
  },
493
493
  note: {
494
494
  type: "string",
495
- description: "Note shown with the invitation. Up to 300 characters on LinkedIn Premium; LinkedIn allows 200 on a free account and a note on about 5 invitations a month (budget row `connection_requests_with_note`, see `curviate account get`). Omit it to send the invitation without a note."
495
+ description: "Note shown with the invitation. Up to 300 characters on LinkedIn Premium; LinkedIn allows 200 on a free account, and a free account has a monthly limit on invitations with a note (budget row `connection_requests_with_note`, 3 a month by default; paid profiles have none). Every invitation, noted or not, counts on `connection_requests_no_note`, the invitation total (see `curviate account get`). Omit it to send the invitation without a note."
496
496
  }
497
497
  },
498
498
  subCommands: {
@@ -7,16 +7,16 @@ import {
7
7
  online,
8
8
  positionals,
9
9
  preview
10
- } from "./chunk-V2ENBR5Q.js";
11
- import "./chunk-AQCLTQXN.js";
10
+ } from "./chunk-QL6VKMTA.js";
11
+ import "./chunk-JYCNHE72.js";
12
12
  import "./chunk-GOICALYQ.js";
13
- import "./chunk-VNK3HERF.js";
14
- import "./chunk-WR6FIP24.js";
13
+ import "./chunk-COYDNWKF.js";
14
+ import "./chunk-3SF6JIMA.js";
15
15
  import "./chunk-TCUYH5GO.js";
16
16
  import "./chunk-NNV2OYEF.js";
17
- import "./chunk-MYVSB7NJ.js";
17
+ import "./chunk-FO54X4T2.js";
18
18
  import "./chunk-QM57YDJE.js";
19
- import "./chunk-J2RPEWQB.js";
19
+ import "./chunk-56JSZNRW.js";
20
20
  import "./chunk-RYWWSZUH.js";
21
21
  import "./chunk-73DJ3KNE.js";
22
22
  import "./chunk-ZYURL5VK.js";