@curviate/cli 0.64.0 → 0.65.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.
- package/CHANGELOG.md +10 -0
- package/dist/{account-55QRBRX2.js → account-6IKQAGAX.js} +8 -8
- package/dist/{analytics-DOGKBULH.js → analytics-5LYWN4RF.js} +5 -5
- package/dist/{beta-consent-3EPBXPPQ.js → beta-consent-PPI5IUSD.js} +4 -4
- package/dist/{billing-2A7EZWZX.js → billing-R6TDVSMZ.js} +5 -5
- package/dist/{chunk-FUPVALUL.js → chunk-3RACWVSE.js} +2 -2
- package/dist/{chunk-PITCPTWX.js → chunk-4K34FHE5.js} +3 -3
- package/dist/{chunk-YE2WKE3R.js → chunk-6EKWHAEH.js} +6 -6
- package/dist/{chunk-AFP5F3I6.js → chunk-76OVMT7O.js} +1 -1
- package/dist/{chunk-WISP4QXZ.js → chunk-AR34Y3V6.js} +2 -2
- package/dist/{chunk-3M52GHII.js → chunk-CCBUB6WM.js} +5 -5
- package/dist/{chunk-2JL554FW.js → chunk-EGNU7GKL.js} +11 -11
- package/dist/{chunk-KSRNDK2N.js → chunk-KAMKNMDR.js} +9 -9
- package/dist/{chunk-DLYVUDNF.js → chunk-KU6ORZ5Z.js} +3 -1
- package/dist/{chunk-YW6CYOX6.js → chunk-P5TGPTBV.js} +7 -7
- package/dist/{chunk-QFG3DRHY.js → chunk-U55AXO2J.js} +1 -1
- package/dist/{chunk-33GDPBLY.js → chunk-W524FTEO.js} +2 -2
- package/dist/{chunk-66HEPUAX.js → chunk-Z67TWG6W.js} +2 -0
- package/dist/cli.js +28 -28
- package/dist/{comment-CERAB2Z5.js → comment-FDZMRASJ.js} +7 -7
- package/dist/{company-WC6SGDTE.js → company-6ZUDLEGL.js} +7 -7
- package/dist/{company-record-GVOCKW7U.js → company-record-WAY2ASK6.js} +10 -10
- package/dist/{config-RC377EZ7.js → config-GJX2WLRX.js} +1 -1
- package/dist/{connect-V63CQIO7.js → connect-VV5BEFAE.js} +11 -11
- package/dist/{contact-4OH5AVMI.js → contact-LFXH5ROE.js} +8 -8
- package/dist/{contact-groups-OILNTYGH.js → contact-groups-AKCTZSAC.js} +10 -10
- package/dist/{contact-import-X5EUG77K.js → contact-import-FBASQAJ4.js} +9 -9
- package/dist/{core-FM222KR6.js → core-7XJG4ISF.js} +17 -17
- package/dist/{do-not-contact-SA6IXJIE.js → do-not-contact-2RKGOFIQ.js} +10 -10
- package/dist/{doctor-6XQRPRBT.js → doctor-CUQZXWSI.js} +4 -4
- package/dist/{domain-N7BBT5WI.js → domain-2SRQNEK7.js} +5 -5
- package/dist/{draft-6KPWHEPU.js → draft-IVPVFA5U.js} +4 -4
- package/dist/{enrollment-PCE6OGCV.js → enrollment-2NG5M63J.js} +6 -6
- package/dist/{examples-G4IC5TJU.js → examples-FGF6HIAN.js} +1 -1
- package/dist/{exit-codes-MMGNZCJ5.js → exit-codes-MSUALZX5.js} +1 -1
- package/dist/{export-WC64TMKR.js → export-DZLAEWWL.js} +4 -4
- package/dist/{feed-WC2UCUSC.js → feed-6DXIJPPF.js} +6 -6
- package/dist/{group-FSZU62CS.js → group-WVITK4FF.js} +6 -6
- package/dist/{inbox-O422BPE5.js → inbox-OLW6KMF7.js} +6 -6
- package/dist/{inboxes-NBLCSHHK.js → inboxes-HV6PXICA.js} +6 -6
- package/dist/{incoming-S5Q7YJM3.js → incoming-EF3LZGZA.js} +5 -5
- package/dist/{job-CJUFB5DB.js → job-T5LNQACM.js} +6 -6
- package/dist/{login-5A4KOIBU.js → login-GDCPVZKK.js} +1 -1
- package/dist/{mailbox-OZI2NREM.js → mailbox-CVM5QZ7E.js} +36 -17
- package/dist/{message-WAHQQHTF.js → message-OWRSYEOB.js} +6 -6
- package/dist/{motion-SZSJ4WZI.js → motion-SVE2L5WD.js} +8 -8
- package/dist/{network-3CQGZMQF.js → network-4CZJH4YY.js} +5 -5
- package/dist/{notification-OUZ44XYA.js → notification-VMN4OPZ7.js} +6 -6
- package/dist/{notifications-BNLH3ESH.js → notifications-76EAPG5B.js} +6 -6
- package/dist/{post-2IABIGUC.js → post-3QLWHDU6.js} +7 -7
- package/dist/{profile-FTNWMCKB.js → profile-PCBKCXLO.js} +11 -11
- package/dist/{recruiter-OZSLGPYO.js → recruiter-JNVHS64B.js} +6 -6
- package/dist/{sales-nav-RZF65ZRA.js → sales-nav-53AJYUUW.js} +6 -6
- package/dist/{search-YTZQ4XUN.js → search-DMWKN7TD.js} +15 -15
- package/dist/{setup-67FMKDKO.js → setup-2ZIFAXKZ.js} +4 -4
- package/dist/{signal-XCCCE434.js → signal-XI3V5TM3.js} +5 -5
- package/dist/{team-EC5CFT7D.js → team-D4BGYY2L.js} +5 -5
- package/dist/{tier-M6LZVGH3.js → tier-SOYZZJBA.js} +4 -4
- package/dist/{unibox-U3RPEUJI.js → unibox-7TESM34K.js} +8 -8
- package/dist/{webhook-EAXWPNQZ.js → webhook-WS5TOVSN.js} +5 -5
- package/package.json +2 -2
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4K34FHE5.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-
|
|
22
|
+
} from "./chunk-3RACWVSE.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-Z67TWG6W.js";
|
|
27
|
+
import "./chunk-U55AXO2J.js";
|
|
28
28
|
import {
|
|
29
29
|
GLOBAL_FLAGS,
|
|
30
30
|
READ_SINGLE_FLAGS,
|
|
@@ -107,7 +107,7 @@ var update = (body) => async (c, f) => {
|
|
|
107
107
|
if (notFoundError) {
|
|
108
108
|
process.stderr.write(`error: ${notFound.length} of ${all.length} notifications were not found (not yours, or already gone): ${notFound.join(", ")}. The others were applied.
|
|
109
109
|
`);
|
|
110
|
-
const { getExitCode } = await import("./exit-codes-
|
|
110
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
111
111
|
process.exit(getExitCode(notFoundError));
|
|
112
112
|
}
|
|
113
113
|
};
|
|
@@ -227,7 +227,7 @@ var notificationsCommand = defineCommand({
|
|
|
227
227
|
meta: { name: "notification", description: DESCRIPTIONS.notification },
|
|
228
228
|
subCommands: { list: listCmd, count: countCmd, read: readCmd, "read-all": readAllCmd, archive: archiveCmd, unarchive: unarchiveCmd },
|
|
229
229
|
async run() {
|
|
230
|
-
const { showHelp } = await import("./examples-
|
|
230
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
231
231
|
await showHelp(notificationsCommand, ["curviate", "notification"]);
|
|
232
232
|
}
|
|
233
233
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-76OVMT7O.js";
|
|
5
5
|
import "./chunk-UEAX6KUB.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-JY26SUNH.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AR34Y3V6.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3RACWVSE.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
34
34
|
renderUnexpectedError,
|
|
35
35
|
writeNdjsonItem
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z67TWG6W.js";
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-U55AXO2J.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import {
|
|
52
52
|
resolveTextOrStdin
|
|
53
53
|
} from "./chunk-ZYURL5VK.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-KU6ORZ5Z.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-
|
|
92
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
93
93
|
renderError(err, outOpts, out);
|
|
94
94
|
process.exit(getExitCode(err));
|
|
95
95
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
resolveMemberOrMeProviderId,
|
|
9
9
|
resolveMemberProviderId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-76OVMT7O.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveIdentifier
|
|
13
13
|
} from "./chunk-UEAX6KUB.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-JY26SUNH.js";
|
|
30
30
|
import {
|
|
31
31
|
requireAccount
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-AR34Y3V6.js";
|
|
33
33
|
import {
|
|
34
34
|
buildPreviewOutput
|
|
35
35
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
readablePage,
|
|
43
43
|
rejectPaginationModifiersWithoutAll,
|
|
44
44
|
streamAll
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-3RACWVSE.js";
|
|
46
46
|
import {
|
|
47
47
|
renderError,
|
|
48
48
|
renderSuccess,
|
|
49
49
|
renderUnexpectedError,
|
|
50
50
|
writeNdjsonItem
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-Z67TWG6W.js";
|
|
52
52
|
import {
|
|
53
53
|
createClient,
|
|
54
54
|
resolveEffectiveConfig
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-U55AXO2J.js";
|
|
56
56
|
import {
|
|
57
57
|
GLOBAL_FLAGS,
|
|
58
58
|
READ_SINGLE_FLAGS,
|
|
@@ -63,7 +63,7 @@ import {
|
|
|
63
63
|
DESCRIPTIONS
|
|
64
64
|
} from "./chunk-Z647LR4F.js";
|
|
65
65
|
import "./chunk-ZYURL5VK.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-KU6ORZ5Z.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-
|
|
194
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.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-
|
|
221
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.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-
|
|
353
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.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-
|
|
391
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.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-
|
|
431
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
432
432
|
renderError(err, outOpts, out);
|
|
433
433
|
process.exit(getExitCode(err));
|
|
434
434
|
}
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-JY26SUNH.js";
|
|
28
28
|
import {
|
|
29
29
|
requireAccount
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-AR34Y3V6.js";
|
|
31
31
|
import {
|
|
32
32
|
buildPreviewOutput
|
|
33
33
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,19 +39,19 @@ import {
|
|
|
39
39
|
readablePage,
|
|
40
40
|
rejectPaginationModifiersWithoutAll,
|
|
41
41
|
streamAll
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-3RACWVSE.js";
|
|
43
43
|
import {
|
|
44
44
|
isJsonMode,
|
|
45
45
|
renderError,
|
|
46
46
|
renderSuccess,
|
|
47
47
|
renderUnexpectedError,
|
|
48
48
|
writeNdjsonItem
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-Z67TWG6W.js";
|
|
50
50
|
import {
|
|
51
51
|
createClient,
|
|
52
52
|
downloadBinary,
|
|
53
53
|
resolveEffectiveConfig
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-U55AXO2J.js";
|
|
55
55
|
import {
|
|
56
56
|
GLOBAL_FLAGS,
|
|
57
57
|
NON_STREAM_FLAGS,
|
|
@@ -74,7 +74,7 @@ import {
|
|
|
74
74
|
} from "./chunk-JKOQX46J.js";
|
|
75
75
|
import "./chunk-FDJMAF7D.js";
|
|
76
76
|
import "./chunk-ZYURL5VK.js";
|
|
77
|
-
import "./chunk-
|
|
77
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
78
78
|
|
|
79
79
|
// src/commands/recruiter.ts
|
|
80
80
|
import { defineCommand } from "citty";
|
|
@@ -99,7 +99,7 @@ function normalizeAttachPaths(attach) {
|
|
|
99
99
|
async function handleSdkError(err, outOpts, out) {
|
|
100
100
|
const { CurviateError } = await import("@curviate/sdk");
|
|
101
101
|
if (err instanceof CurviateError) {
|
|
102
|
-
const { getExitCode } = await import("./exit-codes-
|
|
102
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
103
103
|
renderError(err, outOpts, out);
|
|
104
104
|
process.exit(getExitCode(err));
|
|
105
105
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-JY26SUNH.js";
|
|
20
20
|
import {
|
|
21
21
|
requireAccount
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-AR34Y3V6.js";
|
|
23
23
|
import {
|
|
24
24
|
buildPreviewOutput
|
|
25
25
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
readablePage,
|
|
32
32
|
rejectPaginationModifiersWithoutAll,
|
|
33
33
|
streamAll
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-3RACWVSE.js";
|
|
35
35
|
import {
|
|
36
36
|
renderError,
|
|
37
37
|
renderSuccess,
|
|
38
38
|
renderUnexpectedError,
|
|
39
39
|
writeNdjsonItem
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-Z67TWG6W.js";
|
|
41
41
|
import {
|
|
42
42
|
createClient,
|
|
43
43
|
resolveEffectiveConfig
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-U55AXO2J.js";
|
|
45
45
|
import {
|
|
46
46
|
GLOBAL_FLAGS,
|
|
47
47
|
READ_SINGLE_FLAGS,
|
|
@@ -56,7 +56,7 @@ import {
|
|
|
56
56
|
import "./chunk-JKOQX46J.js";
|
|
57
57
|
import "./chunk-FDJMAF7D.js";
|
|
58
58
|
import "./chunk-ZYURL5VK.js";
|
|
59
|
-
import "./chunk-
|
|
59
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
60
60
|
|
|
61
61
|
// src/commands/sales-nav.ts
|
|
62
62
|
import { defineCommand } from "citty";
|
|
@@ -80,7 +80,7 @@ function normalizeAttachPaths(attach) {
|
|
|
80
80
|
async function handleSdkError(err, outOpts, out) {
|
|
81
81
|
const { CurviateError } = await import("@curviate/sdk");
|
|
82
82
|
if (err instanceof CurviateError) {
|
|
83
|
-
const { getExitCode } = await import("./exit-codes-
|
|
83
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
84
84
|
renderError(err, outOpts, out);
|
|
85
85
|
process.exit(getExitCode(err));
|
|
86
86
|
}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-EIPQUQK2.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AR34Y3V6.js";
|
|
20
20
|
import {
|
|
21
21
|
intFlag,
|
|
22
22
|
intListFlag
|
|
@@ -28,17 +28,17 @@ import {
|
|
|
28
28
|
readablePage,
|
|
29
29
|
rejectPaginationModifiersWithoutAll,
|
|
30
30
|
streamAll
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-3RACWVSE.js";
|
|
32
32
|
import {
|
|
33
33
|
renderError,
|
|
34
34
|
renderSuccess,
|
|
35
35
|
renderUnexpectedError,
|
|
36
36
|
writeNdjsonItem
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Z67TWG6W.js";
|
|
38
38
|
import {
|
|
39
39
|
createClient,
|
|
40
40
|
resolveEffectiveConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-U55AXO2J.js";
|
|
42
42
|
import {
|
|
43
43
|
GLOBAL_FLAGS,
|
|
44
44
|
SEARCH_PAGE_LIMIT,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
import "./chunk-JKOQX46J.js";
|
|
52
52
|
import "./chunk-FDJMAF7D.js";
|
|
53
53
|
import "./chunk-ZYURL5VK.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/search.ts
|
|
57
57
|
import { defineCommand } from "citty";
|
|
@@ -228,7 +228,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
228
228
|
} catch (err) {
|
|
229
229
|
const { CurviateError } = await import("@curviate/sdk");
|
|
230
230
|
if (err instanceof CurviateError) {
|
|
231
|
-
const { getExitCode } = await import("./exit-codes-
|
|
231
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
232
232
|
renderError(err, outOpts, out);
|
|
233
233
|
process.exit(getExitCode(err));
|
|
234
234
|
}
|
|
@@ -270,7 +270,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
270
270
|
} catch (err) {
|
|
271
271
|
const { CurviateError } = await import("@curviate/sdk");
|
|
272
272
|
if (err instanceof CurviateError) {
|
|
273
|
-
const { getExitCode } = await import("./exit-codes-
|
|
273
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
274
274
|
renderError(err, outOpts, out);
|
|
275
275
|
process.exit(getExitCode(err));
|
|
276
276
|
}
|
|
@@ -312,7 +312,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
312
312
|
} catch (err) {
|
|
313
313
|
const { CurviateError } = await import("@curviate/sdk");
|
|
314
314
|
if (err instanceof CurviateError) {
|
|
315
|
-
const { getExitCode } = await import("./exit-codes-
|
|
315
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
316
316
|
renderError(err, outOpts, out);
|
|
317
317
|
process.exit(getExitCode(err));
|
|
318
318
|
}
|
|
@@ -354,7 +354,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
354
354
|
} catch (err) {
|
|
355
355
|
const { CurviateError } = await import("@curviate/sdk");
|
|
356
356
|
if (err instanceof CurviateError) {
|
|
357
|
-
const { getExitCode } = await import("./exit-codes-
|
|
357
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
358
358
|
renderError(err, outOpts, out);
|
|
359
359
|
process.exit(getExitCode(err));
|
|
360
360
|
}
|
|
@@ -402,7 +402,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
402
402
|
} catch (err) {
|
|
403
403
|
const { CurviateError } = await import("@curviate/sdk");
|
|
404
404
|
if (err instanceof CurviateError) {
|
|
405
|
-
const { getExitCode } = await import("./exit-codes-
|
|
405
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
406
406
|
renderError(err, outOpts, out);
|
|
407
407
|
process.exit(getExitCode(err));
|
|
408
408
|
}
|
|
@@ -444,7 +444,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
444
444
|
} catch (err) {
|
|
445
445
|
const { CurviateError } = await import("@curviate/sdk");
|
|
446
446
|
if (err instanceof CurviateError) {
|
|
447
|
-
const { getExitCode } = await import("./exit-codes-
|
|
447
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
448
448
|
renderError(err, outOpts, out);
|
|
449
449
|
process.exit(getExitCode(err));
|
|
450
450
|
}
|
|
@@ -488,7 +488,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
488
488
|
} catch (err) {
|
|
489
489
|
const { CurviateError } = await import("@curviate/sdk");
|
|
490
490
|
if (err instanceof CurviateError) {
|
|
491
|
-
const { getExitCode } = await import("./exit-codes-
|
|
491
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
492
492
|
renderError(err, outOpts, out);
|
|
493
493
|
process.exit(getExitCode(err));
|
|
494
494
|
}
|
|
@@ -530,7 +530,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
530
530
|
} catch (err) {
|
|
531
531
|
const { CurviateError } = await import("@curviate/sdk");
|
|
532
532
|
if (err instanceof CurviateError) {
|
|
533
|
-
const { getExitCode } = await import("./exit-codes-
|
|
533
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
534
534
|
renderError(err, outOpts, out);
|
|
535
535
|
process.exit(getExitCode(err));
|
|
536
536
|
}
|
|
@@ -569,7 +569,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
569
569
|
} catch (err) {
|
|
570
570
|
const { CurviateError } = await import("@curviate/sdk");
|
|
571
571
|
if (err instanceof CurviateError) {
|
|
572
|
-
const { getExitCode } = await import("./exit-codes-
|
|
572
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
573
573
|
renderError(err, outOpts, out);
|
|
574
574
|
process.exit(getExitCode(err));
|
|
575
575
|
}
|
|
@@ -651,7 +651,7 @@ var searchCompaniesCommand = defineCommand({
|
|
|
651
651
|
"has-job-offers": { type: "boolean", description: "only companies with active job listings" },
|
|
652
652
|
headcount: {
|
|
653
653
|
type: "string",
|
|
654
|
-
description: "company size, comma-separated: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000
|
|
654
|
+
description: "company size, comma-separated: 1-10, 11-50, 51-200, 201-500, 501-1000, 1001-5000, 5001-10000 (10001+ is not accepted: leave it out)"
|
|
655
655
|
}
|
|
656
656
|
},
|
|
657
657
|
async run({ args }) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-3RACWVSE.js";
|
|
5
|
+
import "./chunk-Z67TWG6W.js";
|
|
6
6
|
import {
|
|
7
7
|
readlineSync
|
|
8
8
|
} from "./chunk-IB6ARI3R.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
isPlainObject,
|
|
13
13
|
resolveEffectiveConfig,
|
|
14
14
|
writeProfile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-U55AXO2J.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS,
|
|
18
18
|
getTeamFlag
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-ZYURL5VK.js";
|
|
28
28
|
import {
|
|
29
29
|
getExitCode
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KU6ORZ5Z.js";
|
|
31
31
|
|
|
32
32
|
// src/commands/setup.ts
|
|
33
33
|
import { defineCommand } from "citty";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
outputOpts,
|
|
10
10
|
rootClient,
|
|
11
11
|
usage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-4K34FHE5.js";
|
|
13
13
|
import {
|
|
14
14
|
buildPreviewOutput
|
|
15
15
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -24,12 +24,12 @@ import {
|
|
|
24
24
|
readablePage,
|
|
25
25
|
rejectPaginationModifiersWithoutAll,
|
|
26
26
|
streamAll
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-3RACWVSE.js";
|
|
28
28
|
import {
|
|
29
29
|
renderSuccess,
|
|
30
30
|
writeNdjsonItem
|
|
31
|
-
} from "./chunk-
|
|
32
|
-
import "./chunk-
|
|
31
|
+
} from "./chunk-Z67TWG6W.js";
|
|
32
|
+
import "./chunk-U55AXO2J.js";
|
|
33
33
|
import {
|
|
34
34
|
GLOBAL_FLAGS,
|
|
35
35
|
READ_SINGLE_FLAGS,
|
|
@@ -429,7 +429,7 @@ var signalCommand = defineCommand({
|
|
|
429
429
|
meta: { name: "signal", description: DESCRIPTIONS.signal },
|
|
430
430
|
subCommands: { list: listCmd, get: getCmd, actions: actionsCmd, kinds: kindsCmd, watch: watchCmd, settings: settingsCmd, rules: rulesCmd },
|
|
431
431
|
async run() {
|
|
432
|
-
const { showHelp } = await import("./examples-
|
|
432
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
433
433
|
await showHelp(signalCommand, ["curviate", "signal"]);
|
|
434
434
|
}
|
|
435
435
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4K34FHE5.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3RACWVSE.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-Z67TWG6W.js";
|
|
28
28
|
import {
|
|
29
29
|
createClient,
|
|
30
30
|
readConfig,
|
|
31
31
|
resolveEffectiveConfig,
|
|
32
32
|
writeProfile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-U55AXO2J.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
@@ -495,7 +495,7 @@ var teamCommand = defineCommand({
|
|
|
495
495
|
seats: seatsCmd
|
|
496
496
|
},
|
|
497
497
|
async run() {
|
|
498
|
-
const { showHelp } = await import("./examples-
|
|
498
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
499
499
|
await showHelp(teamCommand, ["curviate", "team"]);
|
|
500
500
|
}
|
|
501
501
|
});
|
|
@@ -3,14 +3,14 @@ import {
|
|
|
3
3
|
fail,
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-4K34FHE5.js";
|
|
7
7
|
import {
|
|
8
8
|
readableObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3RACWVSE.js";
|
|
10
10
|
import {
|
|
11
11
|
renderSuccess
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
12
|
+
} from "./chunk-Z67TWG6W.js";
|
|
13
|
+
import "./chunk-U55AXO2J.js";
|
|
14
14
|
import {
|
|
15
15
|
READ_SINGLE_FLAGS,
|
|
16
16
|
readOnly
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
outputOpts,
|
|
16
16
|
rootClient,
|
|
17
17
|
usage
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-4K34FHE5.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-3RACWVSE.js";
|
|
33
33
|
import {
|
|
34
34
|
renderSuccess,
|
|
35
35
|
writeNdjsonItem
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-Z67TWG6W.js";
|
|
37
|
+
import "./chunk-U55AXO2J.js";
|
|
38
38
|
import {
|
|
39
39
|
GLOBAL_FLAGS,
|
|
40
40
|
WRITE_SINGLE_FLAGS,
|
|
@@ -454,7 +454,7 @@ var conversationCmd = defineCommand({
|
|
|
454
454
|
meta: { name: "conversation", description: "One person on one Account across LinkedIn and email: read it (get), its timeline, mark it read or unread." },
|
|
455
455
|
subCommands: { get: conversationGetCmd, timeline: conversationTimelineCmd, mark: conversationMarkCmd },
|
|
456
456
|
async run() {
|
|
457
|
-
const { showHelp } = await import("./examples-
|
|
457
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
458
458
|
await showHelp(conversationCmd, ["curviate", "unibox", "conversation"]);
|
|
459
459
|
}
|
|
460
460
|
});
|
|
@@ -501,7 +501,7 @@ var emailCmd = defineCommand({
|
|
|
501
501
|
meta: { name: "email", description: "Email from a conversation: send one plain-text email to its Lead." },
|
|
502
502
|
subCommands: { send: emailSendCmd },
|
|
503
503
|
async run() {
|
|
504
|
-
const { showHelp } = await import("./examples-
|
|
504
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
505
505
|
await showHelp(emailCmd, ["curviate", "unibox", "email"]);
|
|
506
506
|
}
|
|
507
507
|
});
|
|
@@ -552,7 +552,7 @@ var referralCmd = defineCommand({
|
|
|
552
552
|
meta: { name: "referral", description: "A reply labelled Referral: find the referred person on LinkedIn, then save them as a Lead." },
|
|
553
553
|
subCommands: { search: referralSearchCmd, confirm: referralConfirmCmd },
|
|
554
554
|
async run() {
|
|
555
|
-
const { showHelp } = await import("./examples-
|
|
555
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
556
556
|
await showHelp(referralCmd, ["curviate", "unibox", "referral"]);
|
|
557
557
|
}
|
|
558
558
|
});
|
|
@@ -756,7 +756,7 @@ var uniboxCommand = defineCommand({
|
|
|
756
756
|
consent: consentCmd
|
|
757
757
|
},
|
|
758
758
|
async run() {
|
|
759
|
-
const { showHelp } = await import("./examples-
|
|
759
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
760
760
|
await showHelp(uniboxCommand, ["curviate", "unibox"]);
|
|
761
761
|
}
|
|
762
762
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-4K34FHE5.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-3RACWVSE.js";
|
|
24
24
|
import {
|
|
25
25
|
renderError,
|
|
26
26
|
renderSuccess,
|
|
27
27
|
renderUnexpectedError,
|
|
28
28
|
writeNdjsonItem
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-Z67TWG6W.js";
|
|
30
30
|
import {
|
|
31
31
|
createClient,
|
|
32
32
|
resolveEffectiveConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-U55AXO2J.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
@@ -259,7 +259,7 @@ function resolveOutputOpts(flags) {
|
|
|
259
259
|
async function handleError(err, outOpts, out) {
|
|
260
260
|
const { CurviateError } = await import("@curviate/sdk");
|
|
261
261
|
if (err instanceof CurviateError) {
|
|
262
|
-
const { getExitCode } = await import("./exit-codes-
|
|
262
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
263
263
|
renderError(err, outOpts, out);
|
|
264
264
|
process.exit(getExitCode(err));
|
|
265
265
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@curviate/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.65.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.
|
|
50
|
+
"@curviate/sdk": "0.60.0",
|
|
51
51
|
"citty": "^0.1.6",
|
|
52
52
|
"open": "^10.1.0"
|
|
53
53
|
},
|