@curviate/cli 0.50.0-next.4 → 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 +9 -0
  2. package/README.md +43 -0
  3. package/dist/{account-7KKJEHAM.js → account-TBPPGZME.js} +8 -8
  4. package/dist/{analytics-XBAFRYSC.js → analytics-ECRDJRTF.js} +5 -5
  5. package/dist/{beta-consent-FP2QGN6M.js → beta-consent-7RLD2CJU.js} +4 -4
  6. package/dist/{billing-AQ5VNIYA.js → billing-6AJ4AB77.js} +5 -5
  7. package/dist/{chunk-73DJ3KNE.js → chunk-FBBZVIFJ.js} +2 -1
  8. package/dist/{chunk-RRSWFGXM.js → chunk-K26JD5NC.js} +6 -6
  9. package/dist/{chunk-3SF6JIMA.js → chunk-LTPME424.js} +2 -2
  10. package/dist/{chunk-56JSZNRW.js → chunk-N7UA24IK.js} +1 -1
  11. package/dist/{chunk-2MWTZLAG.js → chunk-NKB4RJUH.js} +129 -45
  12. package/dist/{chunk-JYCNHE72.js → chunk-QFUZCTD7.js} +2 -2
  13. package/dist/{chunk-COYDNWKF.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-QL6VKMTA.js → chunk-XJOWMIW2.js} +11 -11
  17. package/dist/{chunk-FO54X4T2.js → chunk-XPQP2FZX.js} +1 -1
  18. package/dist/{chunk-Q5GVXN7Z.js → chunk-YGNDS4CW.js} +1 -1
  19. package/dist/cli.js +25 -25
  20. package/dist/{comment-OZZGWNIV.js → comment-7QCABJ53.js} +13 -13
  21. package/dist/{company-HM23JZT4.js → company-LH56TXM6.js} +12 -12
  22. package/dist/{config-KHXQZD6F.js → config-YBFTZASA.js} +2 -2
  23. package/dist/{connect-HBQ4PLTS.js → connect-5X5VIQOO.js} +11 -11
  24. package/dist/{contact-325QZ5IB.js → contact-6GSXKSL7.js} +8 -8
  25. package/dist/{contact-groups-TXPUYQYC.js → contact-groups-6S6AM5WV.js} +10 -10
  26. package/dist/{contact-import-6G2DUCIN.js → contact-import-CQW3RQGN.js} +9 -9
  27. package/dist/core-5NYENM4A.js +46 -0
  28. package/dist/{do-not-contact-CP6WKW5T.js → do-not-contact-6DFZYGRI.js} +5 -5
  29. package/dist/{doctor-GDBH2PH7.js → doctor-OUDGTEYR.js} +4 -4
  30. package/dist/{draft-IWI7E5VJ.js → draft-AETHWRIX.js} +9 -9
  31. package/dist/{enrollment-2JVHRUNI.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-URIKCSIO.js → export-XOAHDY7W.js} +4 -4
  35. package/dist/{feed-ZBATBTD2.js → feed-W3LMXJHQ.js} +6 -6
  36. package/dist/{group-D43R5JQU.js → group-TLC75WME.js} +6 -6
  37. package/dist/{inbox-6DTW4XJE.js → inbox-ID4EFMTQ.js} +6 -6
  38. package/dist/{inboxes-TFZQ57MK.js → inboxes-SRBQ3FAI.js} +6 -6
  39. package/dist/{incoming-RHKXXZQE.js → incoming-I3TNXHDV.js} +5 -5
  40. package/dist/{job-ARXJVJID.js → job-V5BVH6EN.js} +6 -6
  41. package/dist/{login-CH75UC6I.js → login-TRGTHHB3.js} +2 -2
  42. package/dist/{message-WTGOJZGL.js → message-CAAOJEYQ.js} +7 -7
  43. package/dist/{motion-TQU6ZS6N.js → motion-NQKMLNH4.js} +90 -7
  44. package/dist/{network-JUQA3X5S.js → network-CDMKWOZG.js} +5 -5
  45. package/dist/{notification-GN5Y25GL.js → notification-SC4SHB5F.js} +6 -6
  46. package/dist/{notifications-C5CBK574.js → notifications-VN2MDDPZ.js} +6 -6
  47. package/dist/{post-HT2UWXXO.js → post-TWHMSQP4.js} +12 -12
  48. package/dist/{profile-ZSBAZPFQ.js → profile-4J3RB7US.js} +16 -16
  49. package/dist/{recruiter-CSG4XSZ4.js → recruiter-QUNXM3CY.js} +11 -11
  50. package/dist/{sales-nav-LDI7MTGU.js → sales-nav-4U6F7GPN.js} +11 -11
  51. package/dist/{search-NLIL5SXI.js → search-7HD2X2WX.js} +14 -14
  52. package/dist/{setup-UGELD4FZ.js → setup-YH5DNST4.js} +4 -4
  53. package/dist/{team-LWDBXG4K.js → team-G5C3LDYA.js} +5 -5
  54. package/dist/{tier-LOI4ZOVV.js → tier-N7CENZXH.js} +4 -4
  55. package/dist/{unibox-IL6SRMK2.js → unibox-I7VDPY6A.js} +13 -6
  56. package/dist/{webhook-TAXMQNEK.js → webhook-OPXGVBFW.js} +5 -5
  57. package/package.json +2 -2
  58. package/dist/core-HXREJJCJ.js +0 -46
@@ -1,12 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  sentAsNotice
4
- } from "./chunk-2MWTZLAG.js";
5
- import {
6
- AttachError,
7
- readAttachment,
8
- toAttachmentPayload
9
- } from "./chunk-5I6JJJIV.js";
4
+ } from "./chunk-NKB4RJUH.js";
10
5
  import "./chunk-UWO2D4HW.js";
11
6
  import {
12
7
  AS_ACCOUNT,
@@ -24,9 +19,14 @@ import {
24
19
  slimSearchPeople,
25
20
  slimSearchPosts
26
21
  } from "./chunk-XDG3TOKG.js";
22
+ import {
23
+ AttachError,
24
+ readAttachment,
25
+ toAttachmentPayload
26
+ } from "./chunk-VHNF6OZD.js";
27
27
  import {
28
28
  requireAccount
29
- } from "./chunk-JYCNHE72.js";
29
+ } from "./chunk-QFUZCTD7.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-FO54X4T2.js";
42
+ } from "./chunk-XPQP2FZX.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-56JSZNRW.js";
52
+ } from "./chunk-N7UA24IK.js";
53
53
  import {
54
54
  GLOBAL_FLAGS,
55
55
  READ_SINGLE_FLAGS,
@@ -58,12 +58,12 @@ import {
58
58
  } from "./chunk-RYWWSZUH.js";
59
59
  import {
60
60
  DESCRIPTIONS
61
- } from "./chunk-73DJ3KNE.js";
61
+ } from "./chunk-FBBZVIFJ.js";
62
62
  import "./chunk-FDJMAF7D.js";
63
63
  import {
64
64
  resolveTextOrStdin
65
65
  } from "./chunk-ZYURL5VK.js";
66
- import "./chunk-2W4RN5ON.js";
66
+ import "./chunk-QW5K5DTC.js";
67
67
 
68
68
  // src/commands/company.ts
69
69
  import { defineCommand } from "citty";
@@ -97,7 +97,7 @@ async function resolveCompanyId(ns, raw) {
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
  }
@@ -12,13 +12,13 @@ import {
12
12
  setActiveProfile,
13
13
  updateProfileField,
14
14
  withoutUserinfo
15
- } from "./chunk-56JSZNRW.js";
15
+ } from "./chunk-N7UA24IK.js";
16
16
  import {
17
17
  GLOBAL_FLAGS
18
18
  } from "./chunk-RYWWSZUH.js";
19
19
  import {
20
20
  DESCRIPTIONS
21
- } from "./chunk-73DJ3KNE.js";
21
+ } from "./chunk-FBBZVIFJ.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
23
 
24
24
  // src/commands/config.ts
@@ -15,7 +15,7 @@ import {
15
15
  } from "./chunk-XDG3TOKG.js";
16
16
  import {
17
17
  requireAccount
18
- } from "./chunk-JYCNHE72.js";
18
+ } from "./chunk-QFUZCTD7.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-FO54X4T2.js";
29
+ } from "./chunk-XPQP2FZX.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-56JSZNRW.js";
39
+ } from "./chunk-N7UA24IK.js";
40
40
  import {
41
41
  GLOBAL_FLAGS,
42
42
  WRITE_FLAGS,
@@ -44,12 +44,12 @@ import {
44
44
  } from "./chunk-RYWWSZUH.js";
45
45
  import {
46
46
  DESCRIPTIONS
47
- } from "./chunk-73DJ3KNE.js";
47
+ } from "./chunk-FBBZVIFJ.js";
48
48
  import {
49
49
  nearestSubcommand
50
50
  } from "./chunk-FDJMAF7D.js";
51
51
  import "./chunk-ZYURL5VK.js";
52
- import "./chunk-2W4RN5ON.js";
52
+ import "./chunk-QW5K5DTC.js";
53
53
 
54
54
  // src/commands/connect.ts
55
55
  import { defineCommand } from "citty";
@@ -93,7 +93,7 @@ async function runConnectSend(client, flags, out) {
93
93
  } catch (err) {
94
94
  const { CurviateError } = await import("@curviate/sdk");
95
95
  if (err instanceof CurviateError) {
96
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
96
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
97
97
  renderError(err, outOpts, out);
98
98
  process.exit(getExitCode(err));
99
99
  }
@@ -132,7 +132,7 @@ async function runConnectSent(client, flags, out) {
132
132
  } catch (err) {
133
133
  const { CurviateError } = await import("@curviate/sdk");
134
134
  if (err instanceof CurviateError) {
135
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
135
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
136
136
  renderError(err, outOpts, out);
137
137
  process.exit(getExitCode(err));
138
138
  }
@@ -171,7 +171,7 @@ async function runConnectReceived(client, flags, out) {
171
171
  } catch (err) {
172
172
  const { CurviateError } = await import("@curviate/sdk");
173
173
  if (err instanceof CurviateError) {
174
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
174
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
175
175
  renderError(err, outOpts, out);
176
176
  process.exit(getExitCode(err));
177
177
  }
@@ -200,7 +200,7 @@ async function runConnectAccept(client, flags, out) {
200
200
  } catch (err) {
201
201
  const { CurviateError } = await import("@curviate/sdk");
202
202
  if (err instanceof CurviateError) {
203
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
203
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
204
204
  renderError(err, outOpts, out);
205
205
  process.exit(getExitCode(err));
206
206
  }
@@ -229,7 +229,7 @@ async function runConnectDecline(client, flags, out) {
229
229
  } catch (err) {
230
230
  const { CurviateError } = await import("@curviate/sdk");
231
231
  if (err instanceof CurviateError) {
232
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
232
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
233
233
  renderError(err, outOpts, out);
234
234
  process.exit(getExitCode(err));
235
235
  }
@@ -258,7 +258,7 @@ async function runConnectCancel(client, flags, out) {
258
258
  } catch (err) {
259
259
  const { CurviateError } = await import("@curviate/sdk");
260
260
  if (err instanceof CurviateError) {
261
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
261
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
262
262
  renderError(err, outOpts, out);
263
263
  process.exit(getExitCode(err));
264
264
  }
@@ -7,20 +7,20 @@ import {
7
7
  online,
8
8
  positionals,
9
9
  preview
10
- } from "./chunk-QL6VKMTA.js";
11
- import "./chunk-JYCNHE72.js";
10
+ } from "./chunk-XJOWMIW2.js";
11
+ import "./chunk-QFUZCTD7.js";
12
12
  import "./chunk-GOICALYQ.js";
13
- import "./chunk-COYDNWKF.js";
14
- import "./chunk-3SF6JIMA.js";
13
+ import "./chunk-QOVYLEUY.js";
14
+ import "./chunk-LTPME424.js";
15
15
  import "./chunk-TCUYH5GO.js";
16
16
  import "./chunk-NNV2OYEF.js";
17
- import "./chunk-FO54X4T2.js";
17
+ import "./chunk-XPQP2FZX.js";
18
18
  import "./chunk-QM57YDJE.js";
19
- import "./chunk-56JSZNRW.js";
19
+ import "./chunk-N7UA24IK.js";
20
20
  import "./chunk-RYWWSZUH.js";
21
- import "./chunk-73DJ3KNE.js";
21
+ import "./chunk-FBBZVIFJ.js";
22
22
  import "./chunk-ZYURL5VK.js";
23
- import "./chunk-2W4RN5ON.js";
23
+ import "./chunk-QW5K5DTC.js";
24
24
  export {
25
25
  BULK_MAX_IDS,
26
26
  contactCommand,
@@ -8,18 +8,18 @@ import {
8
8
  online,
9
9
  preview,
10
10
  readFilter
11
- } from "./chunk-QL6VKMTA.js";
12
- import "./chunk-JYCNHE72.js";
11
+ } from "./chunk-XJOWMIW2.js";
12
+ import "./chunk-QFUZCTD7.js";
13
13
  import "./chunk-GOICALYQ.js";
14
14
  import {
15
15
  sendInChunks
16
- } from "./chunk-COYDNWKF.js";
16
+ } from "./chunk-QOVYLEUY.js";
17
17
  import {
18
18
  fail,
19
19
  listFlag,
20
20
  outputOpts,
21
21
  usage
22
- } from "./chunk-3SF6JIMA.js";
22
+ } from "./chunk-LTPME424.js";
23
23
  import "./chunk-TCUYH5GO.js";
24
24
  import {
25
25
  intFlag
@@ -32,21 +32,21 @@ import {
32
32
  readablePage,
33
33
  rejectPaginationModifiersWithoutAll,
34
34
  streamAll
35
- } from "./chunk-FO54X4T2.js";
35
+ } from "./chunk-XPQP2FZX.js";
36
36
  import {
37
37
  renderSuccess,
38
38
  writeNdjsonItem
39
39
  } from "./chunk-QM57YDJE.js";
40
- import "./chunk-56JSZNRW.js";
40
+ import "./chunk-N7UA24IK.js";
41
41
  import {
42
42
  GLOBAL_FLAGS,
43
43
  READ_SINGLE_FLAGS,
44
44
  WRITE_SINGLE_FLAGS,
45
45
  readOnly
46
46
  } from "./chunk-RYWWSZUH.js";
47
- import "./chunk-73DJ3KNE.js";
47
+ import "./chunk-FBBZVIFJ.js";
48
48
  import "./chunk-ZYURL5VK.js";
49
- import "./chunk-2W4RN5ON.js";
49
+ import "./chunk-QW5K5DTC.js";
50
50
 
51
51
  // src/commands/contact-groups.ts
52
52
  import { defineCommand } from "citty";
@@ -292,7 +292,7 @@ var contactListsCommand = defineCommand({
292
292
  meta: { name: "lists", description: "Contact lists: named sets of Contacts a Motion enrolls from." },
293
293
  subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
294
294
  async run() {
295
- const { showHelp } = await import("./examples-74FXGJ7X.js");
295
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
296
296
  await showHelp(contactListsCommand, ["curviate", "contact", "lists"]);
297
297
  }
298
298
  });
@@ -389,7 +389,7 @@ var contactTagsCommand = defineCommand({
389
389
  meta: { name: "tags", description: "Tags: labels on Contacts." },
390
390
  subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
391
391
  async run() {
392
- const { showHelp } = await import("./examples-74FXGJ7X.js");
392
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
393
393
  await showHelp(contactTagsCommand, ["curviate", "contact", "tags"]);
394
394
  }
395
395
  });
@@ -2,18 +2,18 @@
2
2
  import {
3
3
  online,
4
4
  preview
5
- } from "./chunk-QL6VKMTA.js";
6
- import "./chunk-JYCNHE72.js";
5
+ } from "./chunk-XJOWMIW2.js";
6
+ import "./chunk-QFUZCTD7.js";
7
7
  import "./chunk-GOICALYQ.js";
8
8
  import {
9
9
  sendChunked
10
- } from "./chunk-COYDNWKF.js";
10
+ } from "./chunk-QOVYLEUY.js";
11
11
  import {
12
12
  fail,
13
13
  listFlag,
14
14
  outputOpts,
15
15
  usage
16
- } from "./chunk-3SF6JIMA.js";
16
+ } from "./chunk-LTPME424.js";
17
17
  import "./chunk-TCUYH5GO.js";
18
18
  import {
19
19
  intFlag
@@ -26,18 +26,18 @@ import {
26
26
  readablePage,
27
27
  rejectPaginationModifiersWithoutAll,
28
28
  streamAll
29
- } from "./chunk-FO54X4T2.js";
29
+ } from "./chunk-XPQP2FZX.js";
30
30
  import {
31
31
  renderSuccess,
32
32
  writeNdjsonItem
33
33
  } from "./chunk-QM57YDJE.js";
34
- import "./chunk-56JSZNRW.js";
34
+ import "./chunk-N7UA24IK.js";
35
35
  import {
36
36
  GLOBAL_FLAGS,
37
37
  WRITE_SINGLE_FLAGS,
38
38
  readOnly
39
39
  } from "./chunk-RYWWSZUH.js";
40
- import "./chunk-73DJ3KNE.js";
40
+ import "./chunk-FBBZVIFJ.js";
41
41
  import {
42
42
  readFileFlag
43
43
  } from "./chunk-PHKICMO7.js";
@@ -45,7 +45,7 @@ import "./chunk-FDJMAF7D.js";
45
45
  import {
46
46
  isStdinToken
47
47
  } from "./chunk-ZYURL5VK.js";
48
- import "./chunk-2W4RN5ON.js";
48
+ import "./chunk-QW5K5DTC.js";
49
49
 
50
50
  // src/commands/contact-import.ts
51
51
  import { defineCommand } from "citty";
@@ -322,7 +322,7 @@ var contactImportsCommand = defineCommand({
322
322
  meta: { name: "imports", description: "Your Team's import records." },
323
323
  subCommands: { list: importsList, get: importsGet },
324
324
  async run() {
325
- const { showHelp } = await import("./examples-74FXGJ7X.js");
325
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
326
326
  await showHelp(contactImportsCommand, ["curviate", "contact", "imports"]);
327
327
  }
328
328
  });
@@ -0,0 +1,46 @@
1
+ #!/usr/bin/env node
2
+ import {
3
+ DESCRIPTIONS,
4
+ lazy
5
+ } from "./chunk-FBBZVIFJ.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-4J3RB7US.js").then((m) => m.profileCommand)),
23
+ company: lazy("company", () => import("./company-LH56TXM6.js").then((m) => m.companyCommand)),
24
+ job: lazy("job", () => import("./job-V5BVH6EN.js").then((m) => m.jobCommand)),
25
+ connect: lazy("connect", () => import("./connect-5X5VIQOO.js").then((m) => m.connectCommand)),
26
+ search: lazy("search", () => import("./search-7HD2X2WX.js").then((m) => m.searchCommand)),
27
+ inbox: lazy("inbox", () => import("./inbox-ID4EFMTQ.js").then((m) => m.inboxCommand)),
28
+ inboxes: lazy("inboxes", () => import("./inboxes-SRBQ3FAI.js").then((m) => m.inboxesCommand)),
29
+ message: lazy("message", () => import("./message-CAAOJEYQ.js").then((m) => m.messageCommand)),
30
+ post: lazy("post", () => import("./post-TWHMSQP4.js").then((m) => m.postCommand)),
31
+ comment: lazy("comment", () => import("./comment-7QCABJ53.js").then((m) => m.commentCommand)),
32
+ "sales-nav": lazy("sales-nav", () => import("./sales-nav-4U6F7GPN.js").then((m) => m.salesNavCommand)),
33
+ recruiter: lazy("recruiter", () => import("./recruiter-QUNXM3CY.js").then((m) => m.recruiterCommand)),
34
+ group: lazy("group", () => import("./group-TLC75WME.js").then((m) => m.groupCommand)),
35
+ feed: lazy("feed", () => import("./feed-W3LMXJHQ.js").then((m) => m.feedCommand)),
36
+ notification: lazy("coreNotification", () => import("./notification-SC4SHB5F.js").then((m) => m.notificationCommand)),
37
+ draft: lazy("draft", () => import("./draft-AETHWRIX.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
+ };
@@ -4,7 +4,7 @@ import {
4
4
  outputOpts,
5
5
  rootClient,
6
6
  usage
7
- } from "./chunk-3SF6JIMA.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-FO54X4T2.js";
22
+ } from "./chunk-XPQP2FZX.js";
23
23
  import {
24
24
  renderSuccess,
25
25
  writeNdjsonItem
26
26
  } from "./chunk-QM57YDJE.js";
27
- import "./chunk-56JSZNRW.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/do-not-contact.ts
@@ -191,7 +191,7 @@ var doNotContactCommand = defineCommand({
191
191
  meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
192
192
  subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd },
193
193
  async run() {
194
- const { showHelp } = await import("./examples-74FXGJ7X.js");
194
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
195
195
  await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
196
196
  }
197
197
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  readablePage
4
- } from "./chunk-FO54X4T2.js";
4
+ } from "./chunk-XPQP2FZX.js";
5
5
  import "./chunk-QM57YDJE.js";
6
6
  import {
7
7
  createClient,
@@ -10,17 +10,17 @@ import {
10
10
  readConfigFile,
11
11
  resolveEffectiveConfig,
12
12
  withoutUserinfo
13
- } from "./chunk-56JSZNRW.js";
13
+ } from "./chunk-N7UA24IK.js";
14
14
  import {
15
15
  GLOBAL_FLAGS
16
16
  } from "./chunk-RYWWSZUH.js";
17
17
  import {
18
18
  DESCRIPTIONS
19
- } from "./chunk-73DJ3KNE.js";
19
+ } from "./chunk-FBBZVIFJ.js";
20
20
  import "./chunk-ZYURL5VK.js";
21
21
  import {
22
22
  getExitCode
23
- } from "./chunk-2W4RN5ON.js";
23
+ } from "./chunk-QW5K5DTC.js";
24
24
 
25
25
  // src/commands/doctor.ts
26
26
  import { defineCommand } from "citty";
@@ -1,14 +1,14 @@
1
1
  #!/usr/bin/env node
2
+ import {
3
+ AS_ACCOUNT,
4
+ BUDGET
5
+ } from "./chunk-Q3ZPRFUX.js";
2
6
  import {
3
7
  AttachError,
4
8
  guessContentType,
5
9
  readAttachment,
6
10
  toAttachmentPayload
7
- } from "./chunk-5I6JJJIV.js";
8
- import {
9
- AS_ACCOUNT,
10
- BUDGET
11
- } from "./chunk-Q3ZPRFUX.js";
11
+ } from "./chunk-VHNF6OZD.js";
12
12
  import {
13
13
  buildPreviewOutput
14
14
  } from "./chunk-TCUYH5GO.js";
@@ -20,7 +20,7 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-FO54X4T2.js";
23
+ } from "./chunk-XPQP2FZX.js";
24
24
  import {
25
25
  renderError,
26
26
  renderSuccess,
@@ -30,7 +30,7 @@ import {
30
30
  import {
31
31
  createClient,
32
32
  resolveEffectiveConfig
33
- } from "./chunk-56JSZNRW.js";
33
+ } from "./chunk-N7UA24IK.js";
34
34
  import {
35
35
  GLOBAL_FLAGS,
36
36
  READ_SINGLE_FLAGS,
@@ -39,7 +39,7 @@ import {
39
39
  } from "./chunk-RYWWSZUH.js";
40
40
  import {
41
41
  DESCRIPTIONS
42
- } from "./chunk-73DJ3KNE.js";
42
+ } from "./chunk-FBBZVIFJ.js";
43
43
  import {
44
44
  resolveTextOrStdin
45
45
  } from "./chunk-ZYURL5VK.js";
@@ -73,7 +73,7 @@ function rejectAllOnNonPaginated(all, out) {
73
73
  async function handleError(err, outOpts, out) {
74
74
  const { CurviateError } = await import("@curviate/sdk");
75
75
  if (err instanceof CurviateError) {
76
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
76
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
77
77
  renderError(err, outOpts, out);
78
78
  process.exit(getExitCode(err));
79
79
  }
@@ -5,7 +5,7 @@ import {
5
5
  outputOpts,
6
6
  rootClient,
7
7
  usage
8
- } from "./chunk-3SF6JIMA.js";
8
+ } from "./chunk-LTPME424.js";
9
9
  import {
10
10
  buildPreviewOutput
11
11
  } from "./chunk-TCUYH5GO.js";
@@ -20,12 +20,12 @@ import {
20
20
  readablePage,
21
21
  rejectPaginationModifiersWithoutAll,
22
22
  streamAll
23
- } from "./chunk-FO54X4T2.js";
23
+ } from "./chunk-XPQP2FZX.js";
24
24
  import {
25
25
  renderSuccess,
26
26
  writeNdjsonItem
27
27
  } from "./chunk-QM57YDJE.js";
28
- import "./chunk-56JSZNRW.js";
28
+ import "./chunk-N7UA24IK.js";
29
29
  import {
30
30
  GLOBAL_FLAGS,
31
31
  READ_SINGLE_FLAGS,
@@ -34,7 +34,7 @@ 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
39
 
40
40
  // src/commands/enrollment.ts
@@ -206,7 +206,7 @@ async function runBulk(c, f) {
206
206
  }
207
207
  const firstError = results.find((r) => r.outcome !== "ok");
208
208
  if (firstError) {
209
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
209
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
210
210
  process.stderr.write(`error: ${results.filter((r) => r.outcome !== "ok").length} of ${results.length} Enrollments were refused; each refusal is listed.
211
211
  `);
212
212
  process.exit(getExitCode(firstError.error?.code ?? "INTERNAL"));
@@ -473,7 +473,7 @@ var enrollmentCommand = defineCommand({
473
473
  bulk: bulkCmd
474
474
  },
475
475
  async run() {
476
- const { showHelp } = await import("./examples-74FXGJ7X.js");
476
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
477
477
  await showHelp(enrollmentCommand, ["curviate", "enrollment"]);
478
478
  }
479
479
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  EXIT_CODE_MAP
4
- } from "./chunk-2W4RN5ON.js";
4
+ } from "./chunk-QW5K5DTC.js";
5
5
 
6
6
  // src/lib/examples.ts
7
7
  import { renderUsage } from "citty";
@@ -3,7 +3,7 @@ import {
3
3
  AUTH_NEEDED,
4
4
  EXIT_CODE_MAP,
5
5
  getExitCode
6
- } from "./chunk-2W4RN5ON.js";
6
+ } from "./chunk-QW5K5DTC.js";
7
7
  export {
8
8
  AUTH_NEEDED,
9
9
  EXIT_CODE_MAP,
@@ -7,13 +7,13 @@ import {
7
7
  outputOpts,
8
8
  rootClient,
9
9
  usage
10
- } from "./chunk-3SF6JIMA.js";
10
+ } from "./chunk-LTPME424.js";
11
11
  import {
12
12
  renderSuccess
13
13
  } from "./chunk-QM57YDJE.js";
14
14
  import {
15
15
  downloadBinary
16
- } from "./chunk-56JSZNRW.js";
16
+ } from "./chunk-N7UA24IK.js";
17
17
  import {
18
18
  GLOBAL_FLAGS,
19
19
  READ_SINGLE_FLAGS,
@@ -21,7 +21,7 @@ import {
21
21
  } from "./chunk-RYWWSZUH.js";
22
22
  import {
23
23
  DESCRIPTIONS
24
- } from "./chunk-73DJ3KNE.js";
24
+ } from "./chunk-FBBZVIFJ.js";
25
25
  import "./chunk-ZYURL5VK.js";
26
26
 
27
27
  // src/commands/export.ts
@@ -87,7 +87,7 @@ var exportCommand = defineCommand({
87
87
  meta: { name: "export", description: DESCRIPTIONS.export },
88
88
  subCommands: { get: getCmd, download: downloadCmd },
89
89
  async run() {
90
- const { showHelp } = await import("./examples-74FXGJ7X.js");
90
+ const { showHelp } = await import("./examples-ICAGL2S5.js");
91
91
  await showHelp(exportCommand, ["curviate", "export"]);
92
92
  }
93
93
  });
@@ -1,7 +1,7 @@
1
1
  #!/usr/bin/env node
2
2
  import {
3
3
  requireAccount
4
- } from "./chunk-JYCNHE72.js";
4
+ } from "./chunk-QFUZCTD7.js";
5
5
  import {
6
6
  pageDelayFromFlags,
7
7
  readCursorFlag,
@@ -9,7 +9,7 @@ import {
9
9
  readablePage,
10
10
  rejectPaginationModifiersWithoutAll,
11
11
  streamAll
12
- } from "./chunk-FO54X4T2.js";
12
+ } from "./chunk-XPQP2FZX.js";
13
13
  import {
14
14
  renderError,
15
15
  renderSuccess,
@@ -19,16 +19,16 @@ import {
19
19
  import {
20
20
  createClient,
21
21
  resolveEffectiveConfig
22
- } from "./chunk-56JSZNRW.js";
22
+ } from "./chunk-N7UA24IK.js";
23
23
  import {
24
24
  GLOBAL_FLAGS,
25
25
  readOnly
26
26
  } from "./chunk-RYWWSZUH.js";
27
27
  import {
28
28
  DESCRIPTIONS
29
- } from "./chunk-73DJ3KNE.js";
29
+ } from "./chunk-FBBZVIFJ.js";
30
30
  import "./chunk-ZYURL5VK.js";
31
- import "./chunk-2W4RN5ON.js";
31
+ import "./chunk-QW5K5DTC.js";
32
32
 
33
33
  // src/commands/feed.ts
34
34
  import { defineCommand } from "citty";
@@ -49,7 +49,7 @@ function resolveOutputOpts(flags) {
49
49
  async function handleSdkError(err, outOpts, out) {
50
50
  const { CurviateError } = await import("@curviate/sdk");
51
51
  if (err instanceof CurviateError) {
52
- const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
52
+ const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
53
53
  renderError(err, outOpts, out);
54
54
  process.exit(getExitCode(err));
55
55
  }