@curviate/cli 0.26.0 → 0.28.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 (29) hide show
  1. package/CHANGELOG.md +117 -0
  2. package/README.md +58 -0
  3. package/dist/{account-ZNBG7C3J.js → account-5KGM6EPR.js} +4 -4
  4. package/dist/{chunk-RPRIMRIU.js → chunk-2OG6M6ME.js} +11 -0
  5. package/dist/{chunk-PMWEDWJ3.js → chunk-5KANHEBN.js} +38 -5
  6. package/dist/{chunk-RZ36UBML.js → chunk-63X3VI3T.js} +5 -2
  7. package/dist/{chunk-RJTG5YWE.js → chunk-6P52Q2GK.js} +2 -2
  8. package/dist/{chunk-V75UFUF2.js → chunk-GHT2DLZR.js} +1 -1
  9. package/dist/chunk-PQWDDSV7.js +65 -0
  10. package/dist/{chunk-KTKKZGJV.js → chunk-TAOXJNQN.js} +3 -3
  11. package/dist/cli.js +17 -17
  12. package/dist/{comment-TTOQPMSO.js → comment-BLG4WHST.js} +6 -6
  13. package/dist/{company-HD3WIYP6.js → company-ZT65QZ6F.js} +6 -6
  14. package/dist/{connect-Y2FWUXDA.js → connect-57AUN33D.js} +10 -10
  15. package/dist/{exit-codes-4RCNQJUB.js → exit-codes-U5CHA6FT.js} +1 -1
  16. package/dist/{feed-I7QG7Y2Y.js → feed-3AWI2URQ.js} +5 -5
  17. package/dist/{group-RXZVIOTU.js → group-DYC2NX5M.js} +5 -5
  18. package/dist/{inbox-25JJBITH.js → inbox-CQO2I47N.js} +25 -7
  19. package/dist/{inboxes-CD3OVL76.js → inboxes-XQ2B6X3Q.js} +5 -5
  20. package/dist/{job-ITLUWM3G.js → job-NUT4QMH2.js} +5 -5
  21. package/dist/{message-WNYEHK2B.js → message-KMNRUD4H.js} +4 -4
  22. package/dist/{notification-5PETFBMH.js → notification-LEM57IBY.js} +5 -5
  23. package/dist/{post-7IROSWFO.js → post-FXAANNUB.js} +6 -6
  24. package/dist/{profile-MF5L5BTE.js → profile-72V55PZM.js} +40 -13
  25. package/dist/{recruiter-24BX6WU3.js → recruiter-JUNB5AUR.js} +5 -5
  26. package/dist/{sales-nav-3EY4H6MR.js → sales-nav-BALVVD35.js} +5 -5
  27. package/dist/{search-UPYL2NB6.js → search-QCXTK33P.js} +13 -13
  28. package/dist/{webhook-SUCCPKXZ.js → webhook-D4QRWF7W.js} +3 -3
  29. package/package.json +2 -2
@@ -12,13 +12,13 @@ import {
12
12
  import {
13
13
  pageDelayFromFlags,
14
14
  streamAll
15
- } from "./chunk-RZ36UBML.js";
15
+ } from "./chunk-63X3VI3T.js";
16
16
  import {
17
17
  resolveIdentifier
18
18
  } from "./chunk-UEAX6KUB.js";
19
19
  import {
20
20
  requireAccount
21
- } from "./chunk-V75UFUF2.js";
21
+ } from "./chunk-GHT2DLZR.js";
22
22
  import {
23
23
  buildPreviewOutput
24
24
  } from "./chunk-R3VLWLVV.js";
@@ -28,14 +28,14 @@ import {
28
28
  renderSuccess,
29
29
  renderUnexpectedError,
30
30
  resolveEffectiveConfig
31
- } from "./chunk-PMWEDWJ3.js";
31
+ } from "./chunk-5KANHEBN.js";
32
32
  import "./chunk-KTY7R27U.js";
33
33
  import {
34
34
  GLOBAL_FLAGS,
35
35
  READ_SINGLE_FLAGS,
36
36
  WRITE_FLAGS
37
37
  } from "./chunk-AHYUM2XQ.js";
38
- import "./chunk-RPRIMRIU.js";
38
+ import "./chunk-2OG6M6ME.js";
39
39
 
40
40
  // src/commands/sales-nav.ts
41
41
  import { defineCommand } from "citty";
@@ -65,7 +65,7 @@ function normalizeAttachPaths(attach) {
65
65
  async function handleSdkError(err, outOpts, out) {
66
66
  const { CurviateError } = await import("@curviate/sdk");
67
67
  if (err instanceof CurviateError) {
68
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
68
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
69
69
  renderError(err, outOpts, out);
70
70
  process.exit(getExitCode(err.code));
71
71
  }
@@ -18,22 +18,22 @@ import {
18
18
  import {
19
19
  pageDelayFromFlags,
20
20
  streamAll
21
- } from "./chunk-RZ36UBML.js";
21
+ } from "./chunk-63X3VI3T.js";
22
22
  import {
23
23
  requireAccount
24
- } from "./chunk-V75UFUF2.js";
24
+ } from "./chunk-GHT2DLZR.js";
25
25
  import {
26
26
  createClient,
27
27
  renderError,
28
28
  renderSuccess,
29
29
  renderUnexpectedError,
30
30
  resolveEffectiveConfig
31
- } from "./chunk-PMWEDWJ3.js";
31
+ } from "./chunk-5KANHEBN.js";
32
32
  import "./chunk-KTY7R27U.js";
33
33
  import {
34
34
  GLOBAL_FLAGS
35
35
  } from "./chunk-AHYUM2XQ.js";
36
- import "./chunk-RPRIMRIU.js";
36
+ import "./chunk-2OG6M6ME.js";
37
37
 
38
38
  // src/commands/search.ts
39
39
  import { defineCommand } from "citty";
@@ -219,7 +219,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
219
219
  } catch (err) {
220
220
  const { CurviateError } = await import("@curviate/sdk");
221
221
  if (err instanceof CurviateError) {
222
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
222
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
223
223
  renderError(err, outOpts, out);
224
224
  process.exit(getExitCode(err.code));
225
225
  }
@@ -260,7 +260,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
260
260
  } catch (err) {
261
261
  const { CurviateError } = await import("@curviate/sdk");
262
262
  if (err instanceof CurviateError) {
263
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
263
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
264
264
  renderError(err, outOpts, out);
265
265
  process.exit(getExitCode(err.code));
266
266
  }
@@ -301,7 +301,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
301
301
  } catch (err) {
302
302
  const { CurviateError } = await import("@curviate/sdk");
303
303
  if (err instanceof CurviateError) {
304
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
304
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
305
305
  renderError(err, outOpts, out);
306
306
  process.exit(getExitCode(err.code));
307
307
  }
@@ -342,7 +342,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
342
342
  } catch (err) {
343
343
  const { CurviateError } = await import("@curviate/sdk");
344
344
  if (err instanceof CurviateError) {
345
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
345
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
346
346
  renderError(err, outOpts, out);
347
347
  process.exit(getExitCode(err.code));
348
348
  }
@@ -375,7 +375,7 @@ async function runSearchParameters(client, flags, out) {
375
375
  } catch (err) {
376
376
  const { CurviateError } = await import("@curviate/sdk");
377
377
  if (err instanceof CurviateError) {
378
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
378
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
379
379
  renderError(err, outOpts, out);
380
380
  process.exit(getExitCode(err.code));
381
381
  }
@@ -415,7 +415,7 @@ async function runSearchGroups(client, flags, out) {
415
415
  } catch (err) {
416
416
  const { CurviateError } = await import("@curviate/sdk");
417
417
  if (err instanceof CurviateError) {
418
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
418
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
419
419
  renderError(err, outOpts, out);
420
420
  process.exit(getExitCode(err.code));
421
421
  }
@@ -457,7 +457,7 @@ async function runSearchServices(client, flags, out) {
457
457
  } catch (err) {
458
458
  const { CurviateError } = await import("@curviate/sdk");
459
459
  if (err instanceof CurviateError) {
460
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
460
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
461
461
  renderError(err, outOpts, out);
462
462
  process.exit(getExitCode(err.code));
463
463
  }
@@ -484,7 +484,7 @@ async function runSearchServiceParameters(client, flags, out) {
484
484
  } catch (err) {
485
485
  const { CurviateError } = await import("@curviate/sdk");
486
486
  if (err instanceof CurviateError) {
487
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
487
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
488
488
  renderError(err, outOpts, out);
489
489
  process.exit(getExitCode(err.code));
490
490
  }
@@ -521,7 +521,7 @@ async function runSearchFromUrl(client, flags, out) {
521
521
  } catch (err) {
522
522
  const { CurviateError } = await import("@curviate/sdk");
523
523
  if (err instanceof CurviateError) {
524
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
524
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
525
525
  renderError(err, outOpts, out);
526
526
  process.exit(getExitCode(err.code));
527
527
  }
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  pageDelayFromFlags,
4
4
  streamAll
5
- } from "./chunk-RZ36UBML.js";
5
+ } from "./chunk-63X3VI3T.js";
6
6
  import {
7
7
  buildPreviewOutput
8
8
  } from "./chunk-R3VLWLVV.js";
@@ -12,7 +12,7 @@ import {
12
12
  renderSuccess,
13
13
  renderUnexpectedError,
14
14
  resolveEffectiveConfig
15
- } from "./chunk-PMWEDWJ3.js";
15
+ } from "./chunk-5KANHEBN.js";
16
16
  import "./chunk-KTY7R27U.js";
17
17
  import {
18
18
  GLOBAL_FLAGS,
@@ -51,7 +51,7 @@ function resolveOutputOpts(flags) {
51
51
  async function handleError(err, outOpts, out) {
52
52
  const { CurviateError } = await import("@curviate/sdk");
53
53
  if (err instanceof CurviateError) {
54
- const { getExitCode } = await import("./exit-codes-4RCNQJUB.js");
54
+ const { getExitCode } = await import("./exit-codes-U5CHA6FT.js");
55
55
  renderError(err, outOpts, out);
56
56
  process.exit(getExitCode(err.code));
57
57
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@curviate/cli",
3
- "version": "0.26.0",
3
+ "version": "0.28.0",
4
4
  "private": false,
5
5
  "description": "Official command-line interface for the Curviate API.",
6
6
  "license": "MIT",
@@ -46,7 +46,7 @@
46
46
  "clean": "rm -rf dist *.tsbuildinfo"
47
47
  },
48
48
  "dependencies": {
49
- "@curviate/sdk": "0.25.0",
49
+ "@curviate/sdk": "0.27.0",
50
50
  "citty": "^0.1.6",
51
51
  "open": "^10.1.0"
52
52
  },