@curviate/cli 0.52.0 → 0.54.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 (61) hide show
  1. package/CHANGELOG.md +34 -1
  2. package/README.md +2 -2
  3. package/dist/{account-2IHGWLU7.js → account-DW5N5MJ6.js} +9 -9
  4. package/dist/{analytics-SBHNCE24.js → analytics-T2K3OWVQ.js} +6 -6
  5. package/dist/{beta-consent-QJBRBON3.js → beta-consent-O736ONE7.js} +5 -5
  6. package/dist/{billing-KL6GL5PF.js → billing-NTBL32EX.js} +6 -6
  7. package/dist/{chunk-44COK554.js → chunk-5B4T6BMN.js} +22 -18
  8. package/dist/{chunk-PHKICMO7.js → chunk-62YAYAUI.js} +6 -0
  9. package/dist/{chunk-6BDA6B32.js → chunk-A3UNS44U.js} +5 -5
  10. package/dist/{chunk-UXFLLYFY.js → chunk-ACKKHLUH.js} +2 -2
  11. package/dist/{chunk-OQKN3U74.js → chunk-FBLCSVIU.js} +19 -10
  12. package/dist/{chunk-XDG3TOKG.js → chunk-FUX3BRYP.js} +2 -1
  13. package/dist/{chunk-OUY3GVWJ.js → chunk-HOMRAZ6S.js} +1 -1
  14. package/dist/{chunk-QA777QEJ.js → chunk-KXJJFHSD.js} +1 -1
  15. package/dist/{chunk-6SBO4WXA.js → chunk-N4IYTFIY.js} +1 -1
  16. package/dist/{chunk-UA4DEQ3K.js → chunk-N76WNJ5T.js} +2 -2
  17. package/dist/{chunk-JGPR6AGO.js → chunk-Q57PZJLX.js} +12 -12
  18. package/dist/{chunk-RYWWSZUH.js → chunk-QLKGOIWS.js} +2 -2
  19. package/dist/{chunk-AQVE6HO5.js → chunk-R4HS2MWM.js} +1 -1
  20. package/dist/{chunk-SIOEKNCN.js → chunk-UFHT2KZG.js} +1 -1
  21. package/dist/{chunk-GXEHHSM7.js → chunk-V3HHYTBY.js} +1 -1
  22. package/dist/cli.js +25 -25
  23. package/dist/{comment-ABRBF7J4.js → comment-ATVJOTWV.js} +6 -6
  24. package/dist/{company-WQPWHAZJ.js → company-BRKFROPE.js} +7 -7
  25. package/dist/{config-RFXNYRRC.js → config-E223SS5K.js} +3 -3
  26. package/dist/{connect-R7A6RJJJ.js → connect-XVDQ5FTT.js} +7 -7
  27. package/dist/{contact-FHR4RAXL.js → contact-4HOUOVD7.js} +8 -8
  28. package/dist/{contact-groups-AAJT4TZ6.js → contact-groups-ENA3VGGL.js} +13 -12
  29. package/dist/{contact-import-3KASFYC5.js → contact-import-4EKVDFPV.js} +10 -10
  30. package/dist/core-6VDDV2NM.js +46 -0
  31. package/dist/{do-not-contact-QMFIJOAA.js → do-not-contact-S2WGHSQL.js} +12 -12
  32. package/dist/{doctor-4TNHUBYZ.js → doctor-OFIUGRUG.js} +4 -4
  33. package/dist/{document-RXBOZG6M.js → document-MDE2WJYX.js} +1 -1
  34. package/dist/{draft-F56TKIQ3.js → draft-DD3DTXBM.js} +4 -4
  35. package/dist/{enrollment-WCG5MX65.js → enrollment-ESCHKQ5X.js} +6 -6
  36. package/dist/{examples-ICAGL2S5.js → examples-KAMXHRLE.js} +1 -1
  37. package/dist/{export-UVUY3IMF.js → export-GUAGB7TF.js} +5 -5
  38. package/dist/{feed-6NN2YWOQ.js → feed-ZC4FY4BA.js} +5 -5
  39. package/dist/{group-BXL4QDZL.js → group-42ZE7K3K.js} +5 -5
  40. package/dist/{inbox-GOO5UA3J.js → inbox-2YS7CTXH.js} +5 -5
  41. package/dist/{inboxes-GGN7SULO.js → inboxes-5RB3BGCQ.js} +5 -5
  42. package/dist/{incoming-AZPAGR3L.js → incoming-ATZN6JJA.js} +6 -6
  43. package/dist/{job-R5TGUKTB.js → job-WD3Z3P3Q.js} +6 -6
  44. package/dist/{login-LZH3HY2J.js → login-JQ57YHEJ.js} +3 -3
  45. package/dist/{message-YY2BB47Z.js → message-WGS2IIDC.js} +6 -6
  46. package/dist/{motion-2RCKZSK5.js → motion-BRVBJJJP.js} +17 -13
  47. package/dist/{network-5VDLBVU7.js → network-CODIWCJQ.js} +6 -6
  48. package/dist/{notification-DVHDC2IA.js → notification-RLVF4NLJ.js} +5 -5
  49. package/dist/{notifications-GZKDD7SV.js → notifications-HGEHM5KW.js} +6 -6
  50. package/dist/{post-JKXMJZXS.js → post-3GH2IPO6.js} +6 -6
  51. package/dist/{profile-CYFEDUEC.js → profile-6RFJQMIB.js} +7 -7
  52. package/dist/{recruiter-MRJDGK6O.js → recruiter-GK3UNS62.js} +8 -8
  53. package/dist/{sales-nav-5ABDKON4.js → sales-nav-SLS3ABF4.js} +7 -7
  54. package/dist/{search-JDNUGHRX.js → search-45WRT5T3.js} +8 -8
  55. package/dist/{setup-EXPWIHTM.js → setup-5QZOM2Q2.js} +4 -4
  56. package/dist/{team-5XD2O5UO.js → team-WM3RKOQ2.js} +6 -6
  57. package/dist/{tier-CNDUZKXE.js → tier-5AMLO5KE.js} +9 -11
  58. package/dist/{unibox-MAAEROM5.js → unibox-TTCF7YVO.js} +8 -7
  59. package/dist/{webhook-XVTE3ZVM.js → webhook-UCCCSKDO.js} +6 -6
  60. package/package.json +2 -2
  61. package/dist/core-GANWZKQZ.js +0 -46
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-GXEHHSM7.js";
4
+ } from "./chunk-V3HHYTBY.js";
5
5
  import {
6
6
  AS_ACCOUNT,
7
7
  BUDGET,
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-VHNF6OZD.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-UXFLLYFY.js";
18
+ } from "./chunk-ACKKHLUH.js";
19
19
  import {
20
20
  buildPreviewOutput
21
21
  } from "./chunk-TCUYH5GO.js";
@@ -27,7 +27,7 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-QA777QEJ.js";
30
+ } from "./chunk-KXJJFHSD.js";
31
31
  import {
32
32
  renderError,
33
33
  renderSuccess,
@@ -37,17 +37,17 @@ import {
37
37
  import {
38
38
  createClient,
39
39
  resolveEffectiveConfig
40
- } from "./chunk-UA4DEQ3K.js";
40
+ } from "./chunk-N76WNJ5T.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_FLAGS,
45
45
  WRITE_SINGLE_FLAGS,
46
46
  readOnly
47
- } from "./chunk-RYWWSZUH.js";
47
+ } from "./chunk-QLKGOIWS.js";
48
48
  import {
49
49
  DESCRIPTIONS
50
- } from "./chunk-AQVE6HO5.js";
50
+ } from "./chunk-R4HS2MWM.js";
51
51
  import {
52
52
  resolveTextOrStdin
53
53
  } from "./chunk-ZYURL5VK.js";
@@ -7,7 +7,7 @@ import {
7
7
  import {
8
8
  resolveMemberOrMeProviderId,
9
9
  resolveMemberProviderId
10
- } from "./chunk-GXEHHSM7.js";
10
+ } from "./chunk-V3HHYTBY.js";
11
11
  import {
12
12
  AS_ACCOUNT,
13
13
  BUDGET,
@@ -21,7 +21,7 @@ import {
21
21
  slimProfile,
22
22
  slimProfileMe,
23
23
  withRequestedSections
24
- } from "./chunk-XDG3TOKG.js";
24
+ } from "./chunk-FUX3BRYP.js";
25
25
  import {
26
26
  AttachError,
27
27
  readAttachment,
@@ -29,7 +29,7 @@ import {
29
29
  } from "./chunk-VHNF6OZD.js";
30
30
  import {
31
31
  requireAccount
32
- } from "./chunk-UXFLLYFY.js";
32
+ } from "./chunk-ACKKHLUH.js";
33
33
  import {
34
34
  buildPreviewOutput
35
35
  } from "./chunk-TCUYH5GO.js";
@@ -42,7 +42,7 @@ import {
42
42
  readablePage,
43
43
  rejectPaginationModifiersWithoutAll,
44
44
  streamAll
45
- } from "./chunk-QA777QEJ.js";
45
+ } from "./chunk-KXJJFHSD.js";
46
46
  import {
47
47
  renderError,
48
48
  renderSuccess,
@@ -52,16 +52,16 @@ import {
52
52
  import {
53
53
  createClient,
54
54
  resolveEffectiveConfig
55
- } from "./chunk-UA4DEQ3K.js";
55
+ } from "./chunk-N76WNJ5T.js";
56
56
  import {
57
57
  GLOBAL_FLAGS,
58
58
  READ_SINGLE_FLAGS,
59
59
  WRITE_SINGLE_FLAGS,
60
60
  readOnly
61
- } from "./chunk-RYWWSZUH.js";
61
+ } from "./chunk-QLKGOIWS.js";
62
62
  import {
63
63
  DESCRIPTIONS
64
- } from "./chunk-AQVE6HO5.js";
64
+ } from "./chunk-R4HS2MWM.js";
65
65
  import "./chunk-ZYURL5VK.js";
66
66
  import "./chunk-QW5K5DTC.js";
67
67
 
@@ -16,10 +16,10 @@ import {
16
16
  DEFAULT_FILTER_READERS,
17
17
  assembleFilters,
18
18
  splitCsv
19
- } from "./chunk-6SBO4WXA.js";
19
+ } from "./chunk-N4IYTFIY.js";
20
20
  import {
21
21
  slimJob
22
- } from "./chunk-XDG3TOKG.js";
22
+ } from "./chunk-FUX3BRYP.js";
23
23
  import {
24
24
  AttachError,
25
25
  readAttachment,
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-VHNF6OZD.js";
28
28
  import {
29
29
  requireAccount
30
- } from "./chunk-UXFLLYFY.js";
30
+ } from "./chunk-ACKKHLUH.js";
31
31
  import {
32
32
  buildPreviewOutput
33
33
  } from "./chunk-TCUYH5GO.js";
@@ -39,7 +39,7 @@ import {
39
39
  readablePage,
40
40
  rejectPaginationModifiersWithoutAll,
41
41
  streamAll
42
- } from "./chunk-QA777QEJ.js";
42
+ } from "./chunk-KXJJFHSD.js";
43
43
  import {
44
44
  isJsonMode,
45
45
  renderError,
@@ -51,7 +51,7 @@ import {
51
51
  createClient,
52
52
  downloadBinary,
53
53
  resolveEffectiveConfig
54
- } from "./chunk-UA4DEQ3K.js";
54
+ } from "./chunk-N76WNJ5T.js";
55
55
  import {
56
56
  GLOBAL_FLAGS,
57
57
  NON_STREAM_FLAGS,
@@ -59,17 +59,17 @@ import {
59
59
  WRITE_FLAGS,
60
60
  WRITE_SINGLE_FLAGS,
61
61
  readOnly
62
- } from "./chunk-RYWWSZUH.js";
62
+ } from "./chunk-QLKGOIWS.js";
63
63
  import {
64
64
  DESCRIPTIONS
65
- } from "./chunk-AQVE6HO5.js";
65
+ } from "./chunk-R4HS2MWM.js";
66
66
  import {
67
67
  documentSchema,
68
68
  parseDocument,
69
69
  readFileFlag,
70
70
  reportIssues,
71
71
  validate
72
- } from "./chunk-PHKICMO7.js";
72
+ } from "./chunk-62YAYAUI.js";
73
73
  import "./chunk-FDJMAF7D.js";
74
74
  import "./chunk-ZYURL5VK.js";
75
75
  import "./chunk-QW5K5DTC.js";
@@ -11,7 +11,7 @@ import {
11
11
  DEFAULT_FILTER_READERS,
12
12
  assembleFilters,
13
13
  splitCsv
14
- } from "./chunk-6SBO4WXA.js";
14
+ } from "./chunk-N4IYTFIY.js";
15
15
  import {
16
16
  AttachError,
17
17
  readAttachment,
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-VHNF6OZD.js";
20
20
  import {
21
21
  requireAccount
22
- } from "./chunk-UXFLLYFY.js";
22
+ } from "./chunk-ACKKHLUH.js";
23
23
  import {
24
24
  buildPreviewOutput
25
25
  } from "./chunk-TCUYH5GO.js";
@@ -31,7 +31,7 @@ import {
31
31
  readablePage,
32
32
  rejectPaginationModifiersWithoutAll,
33
33
  streamAll
34
- } from "./chunk-QA777QEJ.js";
34
+ } from "./chunk-KXJJFHSD.js";
35
35
  import {
36
36
  renderError,
37
37
  renderSuccess,
@@ -41,17 +41,17 @@ import {
41
41
  import {
42
42
  createClient,
43
43
  resolveEffectiveConfig
44
- } from "./chunk-UA4DEQ3K.js";
44
+ } from "./chunk-N76WNJ5T.js";
45
45
  import {
46
46
  GLOBAL_FLAGS,
47
47
  READ_SINGLE_FLAGS,
48
48
  WRITE_FLAGS,
49
49
  readOnly
50
- } from "./chunk-RYWWSZUH.js";
50
+ } from "./chunk-QLKGOIWS.js";
51
51
  import {
52
52
  DESCRIPTIONS
53
- } from "./chunk-AQVE6HO5.js";
54
- import "./chunk-PHKICMO7.js";
53
+ } from "./chunk-R4HS2MWM.js";
54
+ import "./chunk-62YAYAUI.js";
55
55
  import "./chunk-FDJMAF7D.js";
56
56
  import "./chunk-ZYURL5VK.js";
57
57
  import "./chunk-QW5K5DTC.js";
@@ -3,7 +3,7 @@ import {
3
3
  DEFAULT_FILTER_READERS,
4
4
  assembleFilters,
5
5
  splitCsv
6
- } from "./chunk-6SBO4WXA.js";
6
+ } from "./chunk-N4IYTFIY.js";
7
7
  import {
8
8
  slimSearchCompanies,
9
9
  slimSearchCompaniesItem,
@@ -13,10 +13,10 @@ import {
13
13
  slimSearchPeopleItem,
14
14
  slimSearchPosts,
15
15
  slimSearchPostsItem
16
- } from "./chunk-XDG3TOKG.js";
16
+ } from "./chunk-FUX3BRYP.js";
17
17
  import {
18
18
  requireAccount
19
- } from "./chunk-UXFLLYFY.js";
19
+ } from "./chunk-ACKKHLUH.js";
20
20
  import {
21
21
  intFlag,
22
22
  intListFlag
@@ -28,7 +28,7 @@ import {
28
28
  readablePage,
29
29
  rejectPaginationModifiersWithoutAll,
30
30
  streamAll
31
- } from "./chunk-QA777QEJ.js";
31
+ } from "./chunk-KXJJFHSD.js";
32
32
  import {
33
33
  renderError,
34
34
  renderSuccess,
@@ -38,15 +38,15 @@ import {
38
38
  import {
39
39
  createClient,
40
40
  resolveEffectiveConfig
41
- } from "./chunk-UA4DEQ3K.js";
41
+ } from "./chunk-N76WNJ5T.js";
42
42
  import {
43
43
  GLOBAL_FLAGS,
44
44
  readOnly
45
- } from "./chunk-RYWWSZUH.js";
45
+ } from "./chunk-QLKGOIWS.js";
46
46
  import {
47
47
  DESCRIPTIONS
48
- } from "./chunk-AQVE6HO5.js";
49
- import "./chunk-PHKICMO7.js";
48
+ } from "./chunk-R4HS2MWM.js";
49
+ import "./chunk-62YAYAUI.js";
50
50
  import "./chunk-FDJMAF7D.js";
51
51
  import "./chunk-ZYURL5VK.js";
52
52
  import "./chunk-QW5K5DTC.js";
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-QA777QEJ.js";
4
+ } from "./chunk-KXJJFHSD.js";
5
5
  import "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  readlineSync
@@ -12,14 +12,14 @@ import {
12
12
  isPlainObject,
13
13
  resolveEffectiveConfig,
14
14
  writeProfile
15
- } from "./chunk-UA4DEQ3K.js";
15
+ } from "./chunk-N76WNJ5T.js";
16
16
  import {
17
17
  GLOBAL_FLAGS,
18
18
  getTeamFlag
19
- } from "./chunk-RYWWSZUH.js";
19
+ } from "./chunk-QLKGOIWS.js";
20
20
  import {
21
21
  DESCRIPTIONS
22
- } from "./chunk-AQVE6HO5.js";
22
+ } from "./chunk-R4HS2MWM.js";
23
23
  import {
24
24
  defaultReadStdin,
25
25
  isStdinToken,
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-OUY3GVWJ.js";
8
+ } from "./chunk-HOMRAZ6S.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,7 +20,7 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-QA777QEJ.js";
23
+ } from "./chunk-KXJJFHSD.js";
24
24
  import {
25
25
  renderSuccess,
26
26
  writeNdjsonItem
@@ -30,16 +30,16 @@ import {
30
30
  readConfig,
31
31
  resolveEffectiveConfig,
32
32
  writeProfile
33
- } from "./chunk-UA4DEQ3K.js";
33
+ } from "./chunk-N76WNJ5T.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
37
37
  WRITE_SINGLE_FLAGS,
38
38
  readOnly
39
- } from "./chunk-RYWWSZUH.js";
39
+ } from "./chunk-QLKGOIWS.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
- } from "./chunk-AQVE6HO5.js";
42
+ } from "./chunk-R4HS2MWM.js";
43
43
  import "./chunk-ZYURL5VK.js";
44
44
 
45
45
  // src/commands/team.ts
@@ -441,7 +441,7 @@ var teamCommand = defineCommand({
441
441
  seats: seatsCmd
442
442
  },
443
443
  async run() {
444
- const { showHelp } = await import("./examples-ICAGL2S5.js");
444
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
445
445
  await showHelp(teamCommand, ["curviate", "team"]);
446
446
  }
447
447
  });
@@ -3,35 +3,33 @@ import {
3
3
  fail,
4
4
  outputOpts,
5
5
  rootClient
6
- } from "./chunk-OUY3GVWJ.js";
6
+ } from "./chunk-HOMRAZ6S.js";
7
7
  import {
8
8
  readableObject
9
- } from "./chunk-QA777QEJ.js";
9
+ } from "./chunk-KXJJFHSD.js";
10
10
  import {
11
11
  renderSuccess
12
12
  } from "./chunk-QM57YDJE.js";
13
- import "./chunk-UA4DEQ3K.js";
13
+ import "./chunk-N76WNJ5T.js";
14
14
  import {
15
15
  READ_SINGLE_FLAGS,
16
16
  readOnly
17
- } from "./chunk-RYWWSZUH.js";
17
+ } from "./chunk-QLKGOIWS.js";
18
18
  import {
19
19
  DESCRIPTIONS
20
- } from "./chunk-AQVE6HO5.js";
20
+ } from "./chunk-R4HS2MWM.js";
21
21
  import "./chunk-ZYURL5VK.js";
22
22
 
23
23
  // src/commands/tier.ts
24
24
  import { defineCommand } from "citty";
25
- var at = (u, key) => u ? `${u.tier}${u[key] ? ` until ${u[key]}` : ""}` : "none";
25
+ var at = (u) => u ? `${u.tier}${u.expires_at ? ` until ${u.expires_at}` : ""}` : "none";
26
26
  function humanTier(t) {
27
27
  return [
28
28
  `tier ${t.tier ?? "none"}`,
29
29
  `bought ${t.bought_tier ?? "none"}${t.period ? ` (${t.period})` : ""}`,
30
- `trial ${at(t.trial, "expires_at")}`,
31
- `override ${at(t.override, "expires_at")}`,
32
- `pending ${t.pending ? `${t.pending.tier} from ${t.pending.effective_at}` : "none"}`,
33
- `features ${t.features.length ? t.features.join(", ") : "none"}`,
34
- `early access ${t.early_access.map((e) => `${e.tier} (${e.requested_at ? `requested ${e.requested_at}` : "not requested"})`).join(", ") || "none"}`
30
+ `trial ${at(t.trial)}`,
31
+ `override ${at(t.override)}`,
32
+ `features ${t.features.length ? t.features.join(", ") : "none"}`
35
33
  ].join("\n") + "\n";
36
34
  }
37
35
  var tierCommand = defineCommand({
@@ -9,7 +9,7 @@ import {
9
9
  outputOpts,
10
10
  rootClient,
11
11
  usage
12
- } from "./chunk-OUY3GVWJ.js";
12
+ } from "./chunk-HOMRAZ6S.js";
13
13
  import {
14
14
  buildPreviewOutput
15
15
  } from "./chunk-TCUYH5GO.js";
@@ -23,20 +23,20 @@ import {
23
23
  readablePage,
24
24
  rejectPaginationModifiersWithoutAll,
25
25
  streamAll
26
- } from "./chunk-QA777QEJ.js";
26
+ } from "./chunk-KXJJFHSD.js";
27
27
  import {
28
28
  renderSuccess,
29
29
  writeNdjsonItem
30
30
  } from "./chunk-QM57YDJE.js";
31
- import "./chunk-UA4DEQ3K.js";
31
+ import "./chunk-N76WNJ5T.js";
32
32
  import {
33
33
  GLOBAL_FLAGS,
34
34
  WRITE_SINGLE_FLAGS,
35
35
  readOnly
36
- } from "./chunk-RYWWSZUH.js";
36
+ } from "./chunk-QLKGOIWS.js";
37
37
  import {
38
38
  DESCRIPTIONS
39
- } from "./chunk-AQVE6HO5.js";
39
+ } from "./chunk-R4HS2MWM.js";
40
40
  import "./chunk-ZYURL5VK.js";
41
41
 
42
42
  // src/commands/unibox.ts
@@ -208,6 +208,7 @@ var listCmd = defineCommand({
208
208
  },
209
209
  args: {
210
210
  ...readOnly(GLOBAL_FLAGS),
211
+ limit: { ...GLOBAL_FLAGS.limit, description: "Chats per page (1 to 100)." },
211
212
  accounts: ACCOUNTS,
212
213
  motion: { type: "string", description: "Only chats linked to these Motions (mot_...), repeatable or a comma list; `none` for chats no Motion links." },
213
214
  person: { type: "string", description: "Only chats with this person: a Contact id (con_...) or a LinkedIn id (ACo...)." },
@@ -248,7 +249,7 @@ var messagesCmd = defineCommand({
248
249
  seeAlso: ["curviate core inbox messages"],
249
250
  examples: ["curviate unibox messages acc_YOUR_ACCOUNT_ID YOUR_CHAT_ID", "curviate unibox messages acc_YOUR_ACCOUNT_ID YOUR_CHAT_ID --all"]
250
251
  },
251
- args: { ...readOnly(GLOBAL_FLAGS), accountId: ACCOUNT, chatId: CHAT },
252
+ args: { ...readOnly(GLOBAL_FLAGS), limit: { ...GLOBAL_FLAGS.limit, description: "Messages per page (1 to 25; more than 25 is refused with exit 2). --all pages on." }, accountId: ACCOUNT, chatId: CHAT },
252
253
  run: online(runMessages)
253
254
  });
254
255
  var replyCmd = defineCommand({
@@ -400,7 +401,7 @@ var uniboxCommand = defineCommand({
400
401
  consent: consentCmd
401
402
  },
402
403
  async run() {
403
- const { showHelp } = await import("./examples-ICAGL2S5.js");
404
+ const { showHelp } = await import("./examples-KAMXHRLE.js");
404
405
  await showHelp(uniboxCommand, ["curviate", "unibox"]);
405
406
  }
406
407
  });
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-OUY3GVWJ.js";
8
+ } from "./chunk-HOMRAZ6S.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,7 +20,7 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-QA777QEJ.js";
23
+ } from "./chunk-KXJJFHSD.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
@@ -30,19 +30,19 @@ import {
30
30
  import {
31
31
  createClient,
32
32
  resolveEffectiveConfig
33
- } from "./chunk-UA4DEQ3K.js";
33
+ } from "./chunk-N76WNJ5T.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
37
37
  WRITE_SINGLE_FLAGS,
38
38
  readOnly
39
- } from "./chunk-RYWWSZUH.js";
39
+ } from "./chunk-QLKGOIWS.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
- } from "./chunk-AQVE6HO5.js";
42
+ } from "./chunk-R4HS2MWM.js";
43
43
  import {
44
44
  readFileFlag
45
- } from "./chunk-PHKICMO7.js";
45
+ } from "./chunk-62YAYAUI.js";
46
46
  import "./chunk-FDJMAF7D.js";
47
47
  import {
48
48
  isStdinToken
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.52.0",
3
+ "version": "0.54.0",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -47,7 +47,7 @@
47
47
  "clean": "rm -rf dist *.tsbuildinfo"
48
48
  },
49
49
  "dependencies": {
50
- "@curviate/sdk": "0.48.0",
50
+ "@curviate/sdk": "0.50.1",
51
51
  "citty": "^0.1.6",
52
52
  "open": "^10.1.0"
53
53
  },
@@ -1,46 +0,0 @@
1
- #!/usr/bin/env node
2
- import {
3
- DESCRIPTIONS,
4
- lazy
5
- } from "./chunk-AQVE6HO5.js";
6
-
7
- // src/commands/core.ts
8
- import { defineCommand } from "citty";
9
- var coreCommand = defineCommand({
10
- meta: {
11
- name: "core",
12
- description: DESCRIPTIONS.core,
13
- rules: {
14
- notes: [
15
- "Writes reach LinkedIn immediately and are seen by the people they touch.",
16
- "A retry after a timeout can repeat a write: requests carry no idempotency key. Read the current state before retrying.",
17
- "Budget rows, ceilings and what is left: `curviate account get <account_id>`."
18
- ]
19
- }
20
- },
21
- subCommands: {
22
- profile: lazy("profile", () => import("./profile-CYFEDUEC.js").then((m) => m.profileCommand)),
23
- company: lazy("company", () => import("./company-WQPWHAZJ.js").then((m) => m.companyCommand)),
24
- job: lazy("job", () => import("./job-R5TGUKTB.js").then((m) => m.jobCommand)),
25
- connect: lazy("connect", () => import("./connect-R7A6RJJJ.js").then((m) => m.connectCommand)),
26
- search: lazy("search", () => import("./search-JDNUGHRX.js").then((m) => m.searchCommand)),
27
- inbox: lazy("inbox", () => import("./inbox-GOO5UA3J.js").then((m) => m.inboxCommand)),
28
- inboxes: lazy("inboxes", () => import("./inboxes-GGN7SULO.js").then((m) => m.inboxesCommand)),
29
- message: lazy("message", () => import("./message-YY2BB47Z.js").then((m) => m.messageCommand)),
30
- post: lazy("post", () => import("./post-JKXMJZXS.js").then((m) => m.postCommand)),
31
- comment: lazy("comment", () => import("./comment-ABRBF7J4.js").then((m) => m.commentCommand)),
32
- "sales-nav": lazy("sales-nav", () => import("./sales-nav-5ABDKON4.js").then((m) => m.salesNavCommand)),
33
- recruiter: lazy("recruiter", () => import("./recruiter-MRJDGK6O.js").then((m) => m.recruiterCommand)),
34
- group: lazy("group", () => import("./group-BXL4QDZL.js").then((m) => m.groupCommand)),
35
- feed: lazy("feed", () => import("./feed-6NN2YWOQ.js").then((m) => m.feedCommand)),
36
- notification: lazy("coreNotification", () => import("./notification-DVHDC2IA.js").then((m) => m.notificationCommand)),
37
- draft: lazy("draft", () => import("./draft-F56TKIQ3.js").then((m) => m.draftCommand))
38
- },
39
- async run() {
40
- const { showHelp } = await import("./examples-ICAGL2S5.js");
41
- await showHelp(coreCommand, ["curviate", "core"]);
42
- }
43
- });
44
- export {
45
- coreCommand
46
- };