@curviate/cli 0.50.0-next.5 → 0.50.0-next.6

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 (58) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +29 -0
  3. package/dist/{account-WF27VTZF.js → account-TBPPGZME.js} +8 -8
  4. package/dist/{analytics-Z7AE5JEI.js → analytics-ECRDJRTF.js} +5 -5
  5. package/dist/{beta-consent-VETVR6KP.js → beta-consent-7RLD2CJU.js} +4 -4
  6. package/dist/{billing-TYXPR6ZC.js → billing-6AJ4AB77.js} +5 -5
  7. package/dist/{chunk-73DJ3KNE.js → chunk-FBBZVIFJ.js} +2 -1
  8. package/dist/{chunk-X62K5XDP.js → chunk-K26JD5NC.js} +6 -6
  9. package/dist/{chunk-GGJTO3PN.js → chunk-LTPME424.js} +2 -2
  10. package/dist/{chunk-I3HD5UFH.js → chunk-N7UA24IK.js} +1 -1
  11. package/dist/{chunk-QLBNUWM2.js → chunk-NKB4RJUH.js} +57 -23
  12. package/dist/{chunk-HOS3JH4L.js → chunk-QFUZCTD7.js} +2 -2
  13. package/dist/{chunk-5YQXZIFH.js → chunk-QOVYLEUY.js} +2 -2
  14. package/dist/{chunk-2W4RN5ON.js → chunk-QW5K5DTC.js} +2 -0
  15. package/dist/{chunk-5I6JJJIV.js → chunk-VHNF6OZD.js} +8 -3
  16. package/dist/{chunk-RLZP2PL4.js → chunk-XJOWMIW2.js} +11 -11
  17. package/dist/{chunk-UFHZGBFD.js → chunk-XPQP2FZX.js} +1 -1
  18. package/dist/{chunk-EHTSCHKM.js → chunk-YGNDS4CW.js} +1 -1
  19. package/dist/cli.js +25 -25
  20. package/dist/{comment-YAQSZNYS.js → comment-7QCABJ53.js} +13 -13
  21. package/dist/{company-4K75VGBM.js → company-LH56TXM6.js} +12 -12
  22. package/dist/{config-OESEJHKZ.js → config-YBFTZASA.js} +2 -2
  23. package/dist/{connect-LZJQOYX2.js → connect-5X5VIQOO.js} +11 -11
  24. package/dist/{contact-XE7HK4RI.js → contact-6GSXKSL7.js} +8 -8
  25. package/dist/{contact-groups-IHF7GMNG.js → contact-groups-6S6AM5WV.js} +10 -10
  26. package/dist/{contact-import-SSPUBHAH.js → contact-import-CQW3RQGN.js} +9 -9
  27. package/dist/core-5NYENM4A.js +46 -0
  28. package/dist/{do-not-contact-LOUCA7JT.js → do-not-contact-6DFZYGRI.js} +5 -5
  29. package/dist/{doctor-Q3434Q7N.js → doctor-OUDGTEYR.js} +4 -4
  30. package/dist/{draft-SOO3UJIO.js → draft-AETHWRIX.js} +9 -9
  31. package/dist/{enrollment-YQMSDXVJ.js → enrollment-KXLN32RT.js} +6 -6
  32. package/dist/{examples-74FXGJ7X.js → examples-ICAGL2S5.js} +1 -1
  33. package/dist/{exit-codes-7DBETBDT.js → exit-codes-CYQHN4NE.js} +1 -1
  34. package/dist/{export-F6ZFNZ7L.js → export-XOAHDY7W.js} +4 -4
  35. package/dist/{feed-YE4HOQ2M.js → feed-W3LMXJHQ.js} +6 -6
  36. package/dist/{group-OCKSOR65.js → group-TLC75WME.js} +6 -6
  37. package/dist/{inbox-VGCODDRH.js → inbox-ID4EFMTQ.js} +6 -6
  38. package/dist/{inboxes-XHP6F3MQ.js → inboxes-SRBQ3FAI.js} +6 -6
  39. package/dist/{incoming-AA3MTRAG.js → incoming-I3TNXHDV.js} +5 -5
  40. package/dist/{job-KFZNTBXT.js → job-V5BVH6EN.js} +6 -6
  41. package/dist/{login-BD7JQXGX.js → login-TRGTHHB3.js} +2 -2
  42. package/dist/{message-IXUDKHBW.js → message-CAAOJEYQ.js} +7 -7
  43. package/dist/{motion-QSANYJKR.js → motion-NQKMLNH4.js} +90 -7
  44. package/dist/{network-A5M6SLRI.js → network-CDMKWOZG.js} +5 -5
  45. package/dist/{notification-XRCV5XNX.js → notification-SC4SHB5F.js} +6 -6
  46. package/dist/{notifications-SU7NKFGF.js → notifications-VN2MDDPZ.js} +6 -6
  47. package/dist/{post-YWXQ2MVL.js → post-TWHMSQP4.js} +12 -12
  48. package/dist/{profile-JVNJAAZ7.js → profile-4J3RB7US.js} +16 -16
  49. package/dist/{recruiter-34G433BX.js → recruiter-QUNXM3CY.js} +11 -11
  50. package/dist/{sales-nav-34WK5HF6.js → sales-nav-4U6F7GPN.js} +11 -11
  51. package/dist/{search-43YUBUEH.js → search-7HD2X2WX.js} +14 -14
  52. package/dist/{setup-RFSXQVN6.js → setup-YH5DNST4.js} +4 -4
  53. package/dist/{team-WSRM74PS.js → team-G5C3LDYA.js} +5 -5
  54. package/dist/{tier-JQYS4MMF.js → tier-N7CENZXH.js} +4 -4
  55. package/dist/{unibox-LFTLITLA.js → unibox-I7VDPY6A.js} +5 -5
  56. package/dist/{webhook-HX2NOPNE.js → webhook-OPXGVBFW.js} +5 -5
  57. package/package.json +2 -2
  58. package/dist/core-524AMFTQ.js +0 -46
@@ -1,14 +1,18 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ AttachError,
4
+ readAttachment
5
+ } from "./chunk-VHNF6OZD.js";
2
6
  import {
3
7
  sendInChunks
4
- } from "./chunk-5YQXZIFH.js";
8
+ } from "./chunk-QOVYLEUY.js";
5
9
  import {
6
10
  fail,
7
11
  listFlag,
8
12
  outputOpts,
9
13
  rootClient,
10
14
  usage
11
- } from "./chunk-GGJTO3PN.js";
15
+ } from "./chunk-LTPME424.js";
12
16
  import {
13
17
  buildPreviewOutput
14
18
  } from "./chunk-TCUYH5GO.js";
@@ -23,12 +27,12 @@ import {
23
27
  readablePage,
24
28
  rejectPaginationModifiersWithoutAll,
25
29
  streamAll
26
- } from "./chunk-UFHZGBFD.js";
30
+ } from "./chunk-XPQP2FZX.js";
27
31
  import {
28
32
  renderSuccess,
29
33
  writeNdjsonItem
30
34
  } from "./chunk-QM57YDJE.js";
31
- import "./chunk-I3HD5UFH.js";
35
+ import "./chunk-N7UA24IK.js";
32
36
  import {
33
37
  GLOBAL_FLAGS,
34
38
  READ_SINGLE_FLAGS,
@@ -37,7 +41,7 @@ import {
37
41
  } from "./chunk-RYWWSZUH.js";
38
42
  import {
39
43
  DESCRIPTIONS
40
- } from "./chunk-73DJ3KNE.js";
44
+ } from "./chunk-FBBZVIFJ.js";
41
45
  import {
42
46
  documentSchema,
43
47
  parseDocument,
@@ -53,6 +57,7 @@ import {
53
57
  // src/commands/motion.ts
54
58
  import { defineCommand } from "citty";
55
59
  import { writeFile } from "fs/promises";
60
+ import { basename } from "path";
56
61
 
57
62
  // src/lib/sequence-report.ts
58
63
  function valueOffsets(text) {
@@ -552,6 +557,33 @@ var membership = (kind) => async (c, f) => {
552
557
  };
553
558
  renderSuccess(merged, outputOpts(f), process);
554
559
  };
560
+ async function runVoiceClipUpload(c, f) {
561
+ const path = f.file ?? "";
562
+ if (path.trim() === "") usage("the audio file is missing. Pass its path: `curviate motion voice-clip upload intro.mp3`.");
563
+ const filename = basename(path);
564
+ let bytes;
565
+ try {
566
+ bytes = await readAttachment(path);
567
+ } catch (err) {
568
+ if (err instanceof AttachError) usage(err.message);
569
+ throw err;
570
+ }
571
+ if (f.preview) {
572
+ return void process.stdout.write(JSON.stringify(buildPreviewOutput({ method: "motions.voiceClips.upload", args: { filename }, body: {}, attachments: [{ name: filename, buffer: bytes }] })) + "\n");
573
+ }
574
+ try {
575
+ renderSuccess(await c.motions.voiceClips.upload(bytes, { filename }), outputOpts(f), process);
576
+ } catch (err) {
577
+ await fail(err, f);
578
+ }
579
+ }
580
+ async function runVoiceClipGet(c, f) {
581
+ try {
582
+ renderSuccess(await c.motions.voiceClips.get(f.id ?? ""), outputOpts(f), process);
583
+ } catch (err) {
584
+ await fail(err, f);
585
+ }
586
+ }
555
587
  async function runLint(f) {
556
588
  const text = await readFileFlag("file", f.file ?? "", { others: f });
557
589
  const doc = parseDocument("file", text);
@@ -847,6 +879,56 @@ var initCmd = defineCommand({
847
879
  await runInit(args);
848
880
  }
849
881
  });
882
+ var voiceClipUploadCmd = defineCommand({
883
+ meta: {
884
+ name: "upload",
885
+ description: "Upload one audio file (MP3, WAV, M4A, WebM or Ogg) and print the clip: its `id` (vc_...) is the `clip_id` of a `voice.send` step. 1 to 120 seconds, up to 20 MiB, 100 uploads per Team per 24 hours. The file is converted once and the original is discarded. Nothing reaches LinkedIn. Needs Automate.",
886
+ risk: "write",
887
+ rules: {
888
+ changes: "Stores one converted clip for your Team. No Motion changes and nothing is sent to anyone.",
889
+ visible_to: "Your Team.",
890
+ budget_rows: [],
891
+ retry: "A retry stores a second clip (it counts toward the 24-hour cap); an unused clip is deleted 30 days after its upload.",
892
+ undo: "Not needed: a clip no Sequence uses is deleted after 30 days."
893
+ },
894
+ output: ["The clip: `id`, `duration_ms`, `bytes`, `filename`, `created_at`. No download link."],
895
+ errors: {
896
+ VOICE_CLIP_INVALID: "the file is empty, is not audio, cannot be decoded, is under 1 second or is over 120 seconds; the message names the reason. A clip is never shortened.",
897
+ PAYLOAD_TOO_LARGE: "the file is over 20 MiB.",
898
+ RATE_LIMIT_TENANT: "100 uploads in the last 24 hours; Retry-After is the wait.",
899
+ TIER_REQUIRED: "Voice clips need the Automate plan.",
900
+ ...ROLE_ERRORS
901
+ },
902
+ seeAlso: ["curviate motion voice-clip get", "curviate motion lint", "curviate motion create"],
903
+ examples: ["curviate motion voice-clip upload intro.mp3", "curviate motion voice-clip upload intro.m4a --preview"]
904
+ },
905
+ args: {
906
+ ...WRITE_SINGLE_FLAGS,
907
+ file: { type: "positional", required: true, description: "The audio file's path." }
908
+ },
909
+ run: online(runVoiceClipUpload)
910
+ });
911
+ var voiceClipGetCmd = defineCommand({
912
+ meta: {
913
+ name: "get",
914
+ description: "One Voice clip: duration, size, file name and upload time. No download link. Another Team's clip is RESOURCE_NOT_FOUND, like an unknown id.",
915
+ risk: "read",
916
+ examples: ["curviate motion voice-clip get vc_YOUR_CLIP_ID"]
917
+ },
918
+ args: {
919
+ ...readOnly(READ_SINGLE_FLAGS),
920
+ id: { type: "positional", description: "Voice clip id (vc_...)." }
921
+ },
922
+ run: online(runVoiceClipGet)
923
+ });
924
+ var voiceClipCommand = defineCommand({
925
+ meta: { name: "voice-clip", description: DESCRIPTIONS.motionVoiceClip },
926
+ subCommands: { upload: voiceClipUploadCmd, get: voiceClipGetCmd },
927
+ async run() {
928
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
929
+ await showHelp(voiceClipCommand, ["curviate", "motion", "voice-clip"]);
930
+ }
931
+ });
850
932
  var motionCommand = defineCommand({
851
933
  meta: { name: "motion", description: DESCRIPTIONS.motion },
852
934
  subCommands: {
@@ -863,10 +945,11 @@ var motionCommand = defineCommand({
863
945
  add: membershipCmd("add"),
864
946
  remove: membershipCmd("remove"),
865
947
  lint: lintCmd,
866
- init: initCmd
948
+ init: initCmd,
949
+ "voice-clip": voiceClipCommand
867
950
  },
868
951
  async run() {
869
- const { showHelp } = await import("./examples-74FXGJ7X.js");
952
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
870
953
  await showHelp(motionCommand, ["curviate", "motion"]);
871
954
  }
872
955
  });
@@ -13,7 +13,7 @@ import {
13
13
  outputOpts,
14
14
  rootClient,
15
15
  usage
16
- } from "./chunk-GGJTO3PN.js";
16
+ } from "./chunk-LTPME424.js";
17
17
  import {
18
18
  buildPreviewOutput
19
19
  } from "./chunk-TCUYH5GO.js";
@@ -27,12 +27,12 @@ import {
27
27
  readablePage,
28
28
  rejectPaginationModifiersWithoutAll,
29
29
  streamAll
30
- } from "./chunk-UFHZGBFD.js";
30
+ } from "./chunk-XPQP2FZX.js";
31
31
  import {
32
32
  renderSuccess,
33
33
  writeNdjsonItem
34
34
  } from "./chunk-QM57YDJE.js";
35
- import "./chunk-I3HD5UFH.js";
35
+ import "./chunk-N7UA24IK.js";
36
36
  import {
37
37
  GLOBAL_FLAGS,
38
38
  WRITE_SINGLE_FLAGS,
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-RYWWSZUH.js";
41
41
  import {
42
42
  DESCRIPTIONS
43
- } from "./chunk-73DJ3KNE.js";
43
+ } from "./chunk-FBBZVIFJ.js";
44
44
  import "./chunk-ZYURL5VK.js";
45
45
 
46
46
  // src/commands/network.ts
@@ -225,7 +225,7 @@ var networkCommand = defineCommand({
225
225
  meta: { name: "network", description: DESCRIPTIONS.network },
226
226
  subCommands: { list: listCmd, status: statusCmd, export: exportCmd, resync: resyncCmd },
227
227
  async run() {
228
- const { showHelp } = await import("./examples-74FXGJ7X.js");
228
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
229
229
  await showHelp(networkCommand, ["curviate", "network"]);
230
230
  }
231
231
  });
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-Q3ZPRFUX.js";
6
6
  import {
7
7
  requireAccount
8
- } from "./chunk-HOS3JH4L.js";
8
+ } from "./chunk-QFUZCTD7.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -16,7 +16,7 @@ import {
16
16
  readablePage,
17
17
  rejectPaginationModifiersWithoutAll,
18
18
  streamAll
19
- } from "./chunk-UFHZGBFD.js";
19
+ } from "./chunk-XPQP2FZX.js";
20
20
  import {
21
21
  renderError,
22
22
  renderSuccess,
@@ -26,7 +26,7 @@ import {
26
26
  import {
27
27
  createClient,
28
28
  resolveEffectiveConfig
29
- } from "./chunk-I3HD5UFH.js";
29
+ } from "./chunk-N7UA24IK.js";
30
30
  import {
31
31
  GLOBAL_FLAGS,
32
32
  WRITE_SINGLE_FLAGS,
@@ -34,9 +34,9 @@ import {
34
34
  } from "./chunk-RYWWSZUH.js";
35
35
  import {
36
36
  DESCRIPTIONS
37
- } from "./chunk-73DJ3KNE.js";
37
+ } from "./chunk-FBBZVIFJ.js";
38
38
  import "./chunk-ZYURL5VK.js";
39
- import "./chunk-2W4RN5ON.js";
39
+ import "./chunk-QW5K5DTC.js";
40
40
 
41
41
  // src/commands/notification.ts
42
42
  import { defineCommand } from "citty";
@@ -57,7 +57,7 @@ function resolveOutputOpts(flags) {
57
57
  async function handleSdkError(err, outOpts, out) {
58
58
  const { CurviateError } = await import("@curviate/sdk");
59
59
  if (err instanceof CurviateError) {
60
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
60
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
61
61
  renderError(err, outOpts, out);
62
62
  process.exit(getExitCode(err));
63
63
  }
@@ -4,7 +4,7 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-GGJTO3PN.js";
7
+ } from "./chunk-LTPME424.js";
8
8
  import {
9
9
  buildPreviewOutput
10
10
  } from "./chunk-TCUYH5GO.js";
@@ -19,12 +19,12 @@ import {
19
19
  readablePage,
20
20
  rejectPaginationModifiersWithoutAll,
21
21
  streamAll
22
- } from "./chunk-UFHZGBFD.js";
22
+ } from "./chunk-XPQP2FZX.js";
23
23
  import {
24
24
  renderSuccess,
25
25
  writeNdjsonItem
26
26
  } from "./chunk-QM57YDJE.js";
27
- import "./chunk-I3HD5UFH.js";
27
+ import "./chunk-N7UA24IK.js";
28
28
  import {
29
29
  GLOBAL_FLAGS,
30
30
  READ_SINGLE_FLAGS,
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-RYWWSZUH.js";
34
34
  import {
35
35
  DESCRIPTIONS
36
- } from "./chunk-73DJ3KNE.js";
36
+ } from "./chunk-FBBZVIFJ.js";
37
37
  import "./chunk-ZYURL5VK.js";
38
38
 
39
39
  // src/commands/notifications.ts
@@ -103,7 +103,7 @@ var update = (body) => async (c, f) => {
103
103
  if (notFoundError) {
104
104
  process.stderr.write(`error: ${notFound.length} of ${all.length} notifications were not found (not yours, or already gone): ${notFound.join(", ")}. The others were applied.
105
105
  `);
106
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
106
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
107
107
  process.exit(getExitCode(notFoundError));
108
108
  }
109
109
  };
@@ -222,7 +222,7 @@ var notificationsCommand = defineCommand({
222
222
  meta: { name: "notification", description: DESCRIPTIONS.notification },
223
223
  subCommands: { list: listCmd, count: countCmd, read: readCmd, "read-all": readAllCmd, archive: archiveCmd, unarchive: unarchiveCmd },
224
224
  async run() {
225
- const { showHelp } = await import("./examples-74FXGJ7X.js");
225
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
226
226
  await showHelp(notificationsCommand, ["curviate", "notification"]);
227
227
  }
228
228
  });
@@ -1,21 +1,21 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  resolveMemberOrMeProviderId
4
- } from "./chunk-EHTSCHKM.js";
5
- import {
6
- AttachError,
7
- readAttachment,
8
- toAttachmentPayload
9
- } from "./chunk-5I6JJJIV.js";
4
+ } from "./chunk-YGNDS4CW.js";
10
5
  import {
11
6
  AS_ACCOUNT,
12
7
  BUDGET,
13
8
  TARGET
14
9
  } from "./chunk-Q3ZPRFUX.js";
15
10
  import "./chunk-UEAX6KUB.js";
11
+ import {
12
+ AttachError,
13
+ readAttachment,
14
+ toAttachmentPayload
15
+ } from "./chunk-VHNF6OZD.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-HOS3JH4L.js";
18
+ } from "./chunk-QFUZCTD7.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-UFHZGBFD.js";
30
+ } from "./chunk-XPQP2FZX.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-I3HD5UFH.js";
40
+ } from "./chunk-N7UA24IK.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
@@ -47,11 +47,11 @@ import {
47
47
  } from "./chunk-RYWWSZUH.js";
48
48
  import {
49
49
  DESCRIPTIONS
50
- } from "./chunk-73DJ3KNE.js";
50
+ } from "./chunk-FBBZVIFJ.js";
51
51
  import {
52
52
  resolveTextOrStdin
53
53
  } from "./chunk-ZYURL5VK.js";
54
- import "./chunk-2W4RN5ON.js";
54
+ import "./chunk-QW5K5DTC.js";
55
55
 
56
56
  // src/commands/post.ts
57
57
  import { defineCommand } from "citty";
@@ -89,7 +89,7 @@ function normalizeAttachPaths(attach) {
89
89
  async function handleSdkError(err, outOpts, out) {
90
90
  const { CurviateError } = await import("@curviate/sdk");
91
91
  if (err instanceof CurviateError) {
92
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
92
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
93
93
  renderError(err, outOpts, out);
94
94
  process.exit(getExitCode(err));
95
95
  }
@@ -7,12 +7,7 @@ import {
7
7
  import {
8
8
  resolveMemberOrMeProviderId,
9
9
  resolveMemberProviderId
10
- } from "./chunk-EHTSCHKM.js";
11
- import {
12
- AttachError,
13
- readAttachment,
14
- toAttachmentPayload
15
- } from "./chunk-5I6JJJIV.js";
10
+ } from "./chunk-YGNDS4CW.js";
16
11
  import {
17
12
  AS_ACCOUNT,
18
13
  BUDGET,
@@ -27,9 +22,14 @@ import {
27
22
  slimProfileMe,
28
23
  withRequestedSections
29
24
  } from "./chunk-XDG3TOKG.js";
25
+ import {
26
+ AttachError,
27
+ readAttachment,
28
+ toAttachmentPayload
29
+ } from "./chunk-VHNF6OZD.js";
30
30
  import {
31
31
  requireAccount
32
- } from "./chunk-HOS3JH4L.js";
32
+ } from "./chunk-QFUZCTD7.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-UFHZGBFD.js";
45
+ } from "./chunk-XPQP2FZX.js";
46
46
  import {
47
47
  renderError,
48
48
  renderSuccess,
@@ -52,7 +52,7 @@ import {
52
52
  import {
53
53
  createClient,
54
54
  resolveEffectiveConfig
55
- } from "./chunk-I3HD5UFH.js";
55
+ } from "./chunk-N7UA24IK.js";
56
56
  import {
57
57
  GLOBAL_FLAGS,
58
58
  READ_SINGLE_FLAGS,
@@ -61,9 +61,9 @@ import {
61
61
  } from "./chunk-RYWWSZUH.js";
62
62
  import {
63
63
  DESCRIPTIONS
64
- } from "./chunk-73DJ3KNE.js";
64
+ } from "./chunk-FBBZVIFJ.js";
65
65
  import "./chunk-ZYURL5VK.js";
66
- import "./chunk-2W4RN5ON.js";
66
+ import "./chunk-QW5K5DTC.js";
67
67
 
68
68
  // src/commands/profile.ts
69
69
  import { defineCommand } from "citty";
@@ -191,7 +191,7 @@ async function runProfileMe(client, flags, out) {
191
191
  } catch (err) {
192
192
  const { CurviateError } = await import("@curviate/sdk");
193
193
  if (err instanceof CurviateError) {
194
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
194
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
195
195
  renderError(err, outOpts, out);
196
196
  process.exit(getExitCode(err));
197
197
  }
@@ -218,7 +218,7 @@ async function runProfileMe(client, flags, out) {
218
218
  } catch (err) {
219
219
  const { CurviateError } = await import("@curviate/sdk");
220
220
  if (err instanceof CurviateError) {
221
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
221
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
222
222
  renderError(err, outOpts, out);
223
223
  process.exit(getExitCode(err));
224
224
  }
@@ -350,7 +350,7 @@ async function runProfileGet(client, flags, out) {
350
350
  } catch (err) {
351
351
  const { CurviateError } = await import("@curviate/sdk");
352
352
  if (err instanceof CurviateError) {
353
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
353
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
354
354
  renderError(err, outOpts, out);
355
355
  process.exit(getExitCode(err));
356
356
  }
@@ -388,7 +388,7 @@ async function runProfileRelations(client, flags, out) {
388
388
  } catch (err) {
389
389
  const { CurviateError } = await import("@curviate/sdk");
390
390
  if (err instanceof CurviateError) {
391
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
391
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
392
392
  renderError(err, outOpts, out);
393
393
  process.exit(getExitCode(err));
394
394
  }
@@ -428,7 +428,7 @@ async function runProfileEndorse(client, flags, out) {
428
428
  async function handleSdkError(err, outOpts, out) {
429
429
  const { CurviateError } = await import("@curviate/sdk");
430
430
  if (err instanceof CurviateError) {
431
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
431
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
432
432
  renderError(err, outOpts, out);
433
433
  process.exit(getExitCode(err));
434
434
  }
@@ -1,9 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import {
3
- AttachError,
4
- readAttachment,
5
- toAttachmentPayload
6
- } from "./chunk-5I6JJJIV.js";
7
2
  import {
8
3
  BinaryOutputError,
9
4
  writeBinaryOutput
@@ -25,9 +20,14 @@ import {
25
20
  import {
26
21
  slimJob
27
22
  } from "./chunk-XDG3TOKG.js";
23
+ import {
24
+ AttachError,
25
+ readAttachment,
26
+ toAttachmentPayload
27
+ } from "./chunk-VHNF6OZD.js";
28
28
  import {
29
29
  requireAccount
30
- } from "./chunk-HOS3JH4L.js";
30
+ } from "./chunk-QFUZCTD7.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-UFHZGBFD.js";
42
+ } from "./chunk-XPQP2FZX.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-I3HD5UFH.js";
54
+ } from "./chunk-N7UA24IK.js";
55
55
  import {
56
56
  GLOBAL_FLAGS,
57
57
  NON_STREAM_FLAGS,
@@ -62,7 +62,7 @@ import {
62
62
  } from "./chunk-RYWWSZUH.js";
63
63
  import {
64
64
  DESCRIPTIONS
65
- } from "./chunk-73DJ3KNE.js";
65
+ } from "./chunk-FBBZVIFJ.js";
66
66
  import {
67
67
  documentSchema,
68
68
  parseDocument,
@@ -72,7 +72,7 @@ import {
72
72
  } from "./chunk-PHKICMO7.js";
73
73
  import "./chunk-FDJMAF7D.js";
74
74
  import "./chunk-ZYURL5VK.js";
75
- import "./chunk-2W4RN5ON.js";
75
+ import "./chunk-QW5K5DTC.js";
76
76
 
77
77
  // src/commands/recruiter.ts
78
78
  import { defineCommand } from "citty";
@@ -97,7 +97,7 @@ function normalizeAttachPaths(attach) {
97
97
  async function handleSdkError(err, outOpts, out) {
98
98
  const { CurviateError } = await import("@curviate/sdk");
99
99
  if (err instanceof CurviateError) {
100
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
100
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
101
101
  renderError(err, outOpts, out);
102
102
  process.exit(getExitCode(err));
103
103
  }
@@ -1,9 +1,4 @@
1
1
  #!/usr/bin/env node
2
- import {
3
- AttachError,
4
- readAttachment,
5
- toAttachmentPayload
6
- } from "./chunk-5I6JJJIV.js";
7
2
  import {
8
3
  AS_ACCOUNT,
9
4
  BUDGET,
@@ -17,9 +12,14 @@ import {
17
12
  assembleFilters,
18
13
  splitCsv
19
14
  } from "./chunk-6SBO4WXA.js";
15
+ import {
16
+ AttachError,
17
+ readAttachment,
18
+ toAttachmentPayload
19
+ } from "./chunk-VHNF6OZD.js";
20
20
  import {
21
21
  requireAccount
22
- } from "./chunk-HOS3JH4L.js";
22
+ } from "./chunk-QFUZCTD7.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-UFHZGBFD.js";
34
+ } from "./chunk-XPQP2FZX.js";
35
35
  import {
36
36
  renderError,
37
37
  renderSuccess,
@@ -41,7 +41,7 @@ import {
41
41
  import {
42
42
  createClient,
43
43
  resolveEffectiveConfig
44
- } from "./chunk-I3HD5UFH.js";
44
+ } from "./chunk-N7UA24IK.js";
45
45
  import {
46
46
  GLOBAL_FLAGS,
47
47
  READ_SINGLE_FLAGS,
@@ -50,11 +50,11 @@ import {
50
50
  } from "./chunk-RYWWSZUH.js";
51
51
  import {
52
52
  DESCRIPTIONS
53
- } from "./chunk-73DJ3KNE.js";
53
+ } from "./chunk-FBBZVIFJ.js";
54
54
  import "./chunk-PHKICMO7.js";
55
55
  import "./chunk-FDJMAF7D.js";
56
56
  import "./chunk-ZYURL5VK.js";
57
- import "./chunk-2W4RN5ON.js";
57
+ import "./chunk-QW5K5DTC.js";
58
58
 
59
59
  // src/commands/sales-nav.ts
60
60
  import { defineCommand } from "citty";
@@ -78,7 +78,7 @@ function normalizeAttachPaths(attach) {
78
78
  async function handleSdkError(err, outOpts, out) {
79
79
  const { CurviateError } = await import("@curviate/sdk");
80
80
  if (err instanceof CurviateError) {
81
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
81
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
82
82
  renderError(err, outOpts, out);
83
83
  process.exit(getExitCode(err));
84
84
  }