@curviate/cli 0.56.0 → 0.57.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 +36 -0
- package/dist/{account-ZF5NEMID.js → account-IRIYB2SG.js} +11 -11
- package/dist/{analytics-M7JWS67A.js → analytics-IRSCLVOL.js} +5 -5
- package/dist/{beta-consent-4Q2LZZQC.js → beta-consent-NQVGFZL3.js} +4 -4
- package/dist/{billing-LYPSX5SR.js → billing-TCTP44ZB.js} +58 -6
- package/dist/{chunk-UOWOKEB2.js → chunk-3B5M2RUN.js} +1 -1
- package/dist/{chunk-UWRWZG4N.js → chunk-3ZQNOKEK.js} +2 -2
- package/dist/{chunk-MWVTFTWV.js → chunk-5LGKZBAY.js} +5 -3
- package/dist/{chunk-XP6S6E55.js → chunk-6OT6TS7N.js} +2 -2
- package/dist/{chunk-J4SFOFMT.js → chunk-A6JGJGDF.js} +16 -16
- package/dist/{chunk-L3RJU7C3.js → chunk-AG6G3PRQ.js} +110 -13
- package/dist/{chunk-CRO7PJ4I.js → chunk-F7CLAS5Y.js} +2 -2
- package/dist/{chunk-MIOEYSBQ.js → chunk-OE4CY3ZL.js} +1 -1
- package/dist/{chunk-EI64VFBE.js → chunk-RTT75CXE.js} +44 -6
- package/dist/{chunk-7PLTQHNO.js → chunk-RXDG57B2.js} +1 -1
- package/dist/{chunk-RDKTHFQ6.js → chunk-SCUTAREU.js} +4 -0
- package/dist/{chunk-VEMK4MJM.js → chunk-VPFV7YV3.js} +5 -5
- package/dist/cli.js +32 -30
- package/dist/{comment-D6RSZTVK.js → comment-PNHEKGZX.js} +7 -7
- package/dist/{company-3Z6PXGTW.js → company-OUFF23SU.js} +20 -9
- package/dist/company-record-ULPDDB6L.js +128 -0
- package/dist/{config-VY5MCJMN.js → config-U6VDNL2P.js} +2 -2
- package/dist/{connect-G2RTLV7G.js → connect-ICNXC37R.js} +11 -11
- package/dist/{contact-QSLJCBDE.js → contact-K6RIVQWU.js} +9 -9
- package/dist/{contact-groups-OITAD73K.js → contact-groups-CNH2VB6A.js} +11 -11
- package/dist/{contact-import-LT7BKESC.js → contact-import-FK22UTN2.js} +10 -10
- package/dist/core-MPEBYNSL.js +46 -0
- package/dist/{do-not-contact-ZA7KS5WD.js → do-not-contact-BQHXNHTV.js} +13 -13
- package/dist/{doctor-JQT3DO6G.js → doctor-ZYPZF5BE.js} +21 -4
- package/dist/{domain-7EX4E34B.js → domain-HLOT6Y4A.js} +8 -8
- package/dist/{draft-7U6H4BPF.js → draft-JGQ36JSH.js} +4 -4
- package/dist/{enrollment-AZ6XGVVL.js → enrollment-CF634DB4.js} +9 -9
- package/dist/{examples-IGQJCSNL.js → examples-J4X5NEIE.js} +1 -1
- package/dist/{exit-codes-ZSOLAXQO.js → exit-codes-P2FLCKM7.js} +1 -1
- package/dist/{export-OYMQXL62.js → export-ZQLDQYUZ.js} +4 -4
- package/dist/{feed-M5D4SJW7.js → feed-RQHEDZVL.js} +6 -6
- package/dist/{group-UTC3YBKE.js → group-LRMG76FN.js} +6 -6
- package/dist/{inbox-VSGNHSLG.js → inbox-5RGG5RQG.js} +6 -6
- package/dist/{inboxes-23C2MJK4.js → inboxes-ZFY6ZP33.js} +6 -6
- package/dist/{incoming-QVPP32K7.js → incoming-3MJ4CP6H.js} +8 -8
- package/dist/{job-ZHVFFRWE.js → job-QFIUTHHT.js} +6 -6
- package/dist/{login-6OTNXEJZ.js → login-THXWX5HZ.js} +2 -2
- package/dist/{mailbox-HD2UXZCA.js → mailbox-54DPLNXA.js} +23 -16
- package/dist/{message-PIV77W47.js → message-DM5OUKQS.js} +6 -6
- package/dist/{motion-AHYF34DP.js → motion-NKOAK7NU.js} +10 -10
- package/dist/{network-RJHJFZEY.js → network-VKJUMZ2L.js} +8 -8
- package/dist/{notification-XGR4NT3S.js → notification-XW5J6KFA.js} +6 -6
- package/dist/{notifications-BHRWSHPR.js → notifications-USYOV54R.js} +17 -12
- package/dist/{post-Z7AVDDKA.js → post-M2G3BK4A.js} +7 -7
- package/dist/{profile-YZNBX2RP.js → profile-3SG64IEG.js} +11 -11
- package/dist/{recruiter-EXM4P7X7.js → recruiter-7OUGZ776.js} +6 -6
- package/dist/{sales-nav-CKDSEXV2.js → sales-nav-HHQLLM5C.js} +6 -6
- package/dist/{search-B7FB6674.js → search-5LMSLUH4.js} +14 -14
- package/dist/{setup-VZVPLJ4V.js → setup-6F4HYUSZ.js} +4 -4
- package/dist/signal-LVODDBOY.js +331 -0
- package/dist/{team-PYABBUHO.js → team-MSOPELF6.js} +62 -8
- package/dist/{tier-PRK4WQKR.js → tier-RXHOAQ6L.js} +6 -5
- package/dist/{unibox-ZNKX2EKL.js → unibox-UAA6WIGZ.js} +65 -12
- package/dist/{webhook-V74EV4E2.js → webhook-J2H7X766.js} +8 -8
- package/package.json +2 -2
- package/dist/core-RFTNNB6P.js +0 -46
|
@@ -13,13 +13,13 @@ import {
|
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
17
|
-
import {
|
|
18
|
-
buildPreviewOutput
|
|
19
|
-
} from "./chunk-TCUYH5GO.js";
|
|
16
|
+
} from "./chunk-3ZQNOKEK.js";
|
|
20
17
|
import {
|
|
21
18
|
intFlag
|
|
22
19
|
} from "./chunk-NNV2OYEF.js";
|
|
20
|
+
import {
|
|
21
|
+
buildPreviewOutput
|
|
22
|
+
} from "./chunk-TCUYH5GO.js";
|
|
23
23
|
import {
|
|
24
24
|
pageDelayFromFlags,
|
|
25
25
|
readCursorFlag,
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-OE4CY3ZL.js";
|
|
31
31
|
import {
|
|
32
32
|
renderSuccess,
|
|
33
33
|
writeNdjsonItem
|
|
34
34
|
} from "./chunk-QM57YDJE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-RXDG57B2.js";
|
|
36
36
|
import {
|
|
37
37
|
GLOBAL_FLAGS,
|
|
38
38
|
WRITE_SINGLE_FLAGS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-QLKGOIWS.js";
|
|
41
41
|
import {
|
|
42
42
|
DESCRIPTIONS
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-5LGKZBAY.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-
|
|
228
|
+
const { showHelp } = await import("./examples-J4X5NEIE.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-
|
|
8
|
+
} from "./chunk-F7CLAS5Y.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-
|
|
19
|
+
} from "./chunk-OE4CY3ZL.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-
|
|
29
|
+
} from "./chunk-RXDG57B2.js";
|
|
30
30
|
import {
|
|
31
31
|
GLOBAL_FLAGS,
|
|
32
32
|
WRITE_SINGLE_FLAGS,
|
|
@@ -34,9 +34,9 @@ import {
|
|
|
34
34
|
} from "./chunk-QLKGOIWS.js";
|
|
35
35
|
import {
|
|
36
36
|
DESCRIPTIONS
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-5LGKZBAY.js";
|
|
38
38
|
import "./chunk-ZYURL5VK.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-SCUTAREU.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-
|
|
60
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
61
61
|
renderError(err, outOpts, out);
|
|
62
62
|
process.exit(getExitCode(err));
|
|
63
63
|
}
|
|
@@ -4,13 +4,13 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import {
|
|
9
|
-
buildPreviewOutput
|
|
10
|
-
} from "./chunk-TCUYH5GO.js";
|
|
7
|
+
} from "./chunk-3ZQNOKEK.js";
|
|
11
8
|
import {
|
|
12
9
|
intFlag
|
|
13
10
|
} from "./chunk-NNV2OYEF.js";
|
|
11
|
+
import {
|
|
12
|
+
buildPreviewOutput
|
|
13
|
+
} from "./chunk-TCUYH5GO.js";
|
|
14
14
|
import {
|
|
15
15
|
pageDelayFromFlags,
|
|
16
16
|
readCursorFlag,
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
readablePage,
|
|
20
20
|
rejectPaginationModifiersWithoutAll,
|
|
21
21
|
streamAll
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-OE4CY3ZL.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
26
|
} from "./chunk-QM57YDJE.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-RXDG57B2.js";
|
|
28
28
|
import {
|
|
29
29
|
GLOBAL_FLAGS,
|
|
30
30
|
READ_SINGLE_FLAGS,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-QLKGOIWS.js";
|
|
34
34
|
import {
|
|
35
35
|
DESCRIPTIONS
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-5LGKZBAY.js";
|
|
37
37
|
import "./chunk-ZYURL5VK.js";
|
|
38
38
|
|
|
39
39
|
// src/commands/notifications.ts
|
|
@@ -54,6 +54,10 @@ async function runList(c, f) {
|
|
|
54
54
|
rejectPaginationModifiersWithoutAll(f, process);
|
|
55
55
|
if (f.unread === true && f.archived === true) usage("--unread and --archived cannot be combined: an item is archived or unread, not both. Pass one.");
|
|
56
56
|
const params = { filter: f.unread === true ? "unread" : f.archived === true ? "archived" : "all" };
|
|
57
|
+
if (f.channel !== void 0) {
|
|
58
|
+
if (!["email", "linkedin", "team"].includes(f.channel)) usage("--channel takes email, linkedin or team.");
|
|
59
|
+
params["channel"] = f.channel;
|
|
60
|
+
}
|
|
57
61
|
if (f.limit !== void 0) params["limit"] = intFlag("limit", f.limit, 1, 100);
|
|
58
62
|
const cursor = readCursorFlag(f, process);
|
|
59
63
|
if (cursor) params["cursor"] = cursor;
|
|
@@ -103,7 +107,7 @@ var update = (body) => async (c, f) => {
|
|
|
103
107
|
if (notFoundError) {
|
|
104
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.
|
|
105
109
|
`);
|
|
106
|
-
const { getExitCode } = await import("./exit-codes-
|
|
110
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
107
111
|
process.exit(getExitCode(notFoundError));
|
|
108
112
|
}
|
|
109
113
|
};
|
|
@@ -124,15 +128,16 @@ var SEE = ["curviate notification list", "curviate core notification"];
|
|
|
124
128
|
var listCmd = defineCommand({
|
|
125
129
|
meta: {
|
|
126
130
|
name: "list",
|
|
127
|
-
description: "List your Curviate Notifications, newest first, with the unread count. Curviate's own, per Team; LinkedIn's notification cards are `curviate core notification list`. --unread lists unread ones, --archived archived ones, neither all (archived kept apart); --no-unread keeps only read ones. Kept for a limited time.",
|
|
131
|
+
description: "List your Curviate Notifications, newest first, with the unread count. Curviate's own, per Team; LinkedIn's notification cards are `curviate core notification list`. --unread lists unread ones, --archived archived ones, neither all (archived kept apart); --no-unread keeps only read ones. --channel keeps one channel. Problems that stop sending arrive unread; advice arrives read. Kept for a limited time.",
|
|
128
132
|
risk: "read",
|
|
129
133
|
output: ["`items`, a `cursor` for the next page, and `unread_count`, the Team-wide unread badge, not a count of the items shown."],
|
|
130
|
-
examples: ["curviate notification list", "curviate notification list --unread", "curviate notification list --
|
|
134
|
+
examples: ["curviate notification list", "curviate notification list --unread", "curviate notification list --channel email"]
|
|
131
135
|
},
|
|
132
136
|
args: {
|
|
133
137
|
...readOnly(GLOBAL_FLAGS),
|
|
134
138
|
unread: { type: "boolean", description: "Only unread notifications (--no-unread: only read ones). Not with --archived." },
|
|
135
|
-
archived: { type: "boolean", description: "Only archived notifications (--no-archived: not archived, which is also the default)." }
|
|
139
|
+
archived: { type: "boolean", description: "Only archived notifications (--no-archived: not archived, which is also the default)." },
|
|
140
|
+
channel: { type: "string", description: "Only this channel: email (Mailbox, domain and email-step problems), linkedin (an Account's LinkedIn trouble) or team." }
|
|
136
141
|
},
|
|
137
142
|
run: online(runList)
|
|
138
143
|
});
|
|
@@ -222,7 +227,7 @@ var notificationsCommand = defineCommand({
|
|
|
222
227
|
meta: { name: "notification", description: DESCRIPTIONS.notification },
|
|
223
228
|
subCommands: { list: listCmd, count: countCmd, read: readCmd, "read-all": readAllCmd, archive: archiveCmd, unarchive: unarchiveCmd },
|
|
224
229
|
async run() {
|
|
225
|
-
const { showHelp } = await import("./examples-
|
|
230
|
+
const { showHelp } = await import("./examples-J4X5NEIE.js");
|
|
226
231
|
await showHelp(notificationsCommand, ["curviate", "notification"]);
|
|
227
232
|
}
|
|
228
233
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3B5M2RUN.js";
|
|
5
5
|
import "./chunk-UEAX6KUB.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-VHNF6OZD.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-F7CLAS5Y.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-
|
|
30
|
+
} from "./chunk-OE4CY3ZL.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-
|
|
40
|
+
} from "./chunk-RXDG57B2.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
} from "./chunk-QLKGOIWS.js";
|
|
48
48
|
import {
|
|
49
49
|
DESCRIPTIONS
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-5LGKZBAY.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveTextOrStdin
|
|
53
53
|
} from "./chunk-ZYURL5VK.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-SCUTAREU.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-P2FLCKM7.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-3B5M2RUN.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveIdentifier
|
|
13
13
|
} from "./chunk-UEAX6KUB.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VHNF6OZD.js";
|
|
30
30
|
import {
|
|
31
31
|
requireAccount
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-F7CLAS5Y.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-
|
|
45
|
+
} from "./chunk-OE4CY3ZL.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-
|
|
55
|
+
} from "./chunk-RXDG57B2.js";
|
|
56
56
|
import {
|
|
57
57
|
GLOBAL_FLAGS,
|
|
58
58
|
READ_SINGLE_FLAGS,
|
|
@@ -61,9 +61,9 @@ import {
|
|
|
61
61
|
} from "./chunk-QLKGOIWS.js";
|
|
62
62
|
import {
|
|
63
63
|
DESCRIPTIONS
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-5LGKZBAY.js";
|
|
65
65
|
import "./chunk-ZYURL5VK.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-SCUTAREU.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-P2FLCKM7.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-P2FLCKM7.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-P2FLCKM7.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-P2FLCKM7.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-P2FLCKM7.js");
|
|
432
432
|
renderError(err, outOpts, out);
|
|
433
433
|
process.exit(getExitCode(err));
|
|
434
434
|
}
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-VHNF6OZD.js";
|
|
28
28
|
import {
|
|
29
29
|
requireAccount
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-F7CLAS5Y.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-
|
|
42
|
+
} from "./chunk-OE4CY3ZL.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-
|
|
54
|
+
} from "./chunk-RXDG57B2.js";
|
|
55
55
|
import {
|
|
56
56
|
GLOBAL_FLAGS,
|
|
57
57
|
NON_STREAM_FLAGS,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
} from "./chunk-QLKGOIWS.js";
|
|
63
63
|
import {
|
|
64
64
|
DESCRIPTIONS
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-5LGKZBAY.js";
|
|
66
66
|
import {
|
|
67
67
|
documentSchema,
|
|
68
68
|
parseDocument,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
} from "./chunk-RKNW4UX4.js";
|
|
73
73
|
import "./chunk-FDJMAF7D.js";
|
|
74
74
|
import "./chunk-ZYURL5VK.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-SCUTAREU.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-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-VHNF6OZD.js";
|
|
20
20
|
import {
|
|
21
21
|
requireAccount
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-F7CLAS5Y.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-
|
|
34
|
+
} from "./chunk-OE4CY3ZL.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-
|
|
44
|
+
} from "./chunk-RXDG57B2.js";
|
|
45
45
|
import {
|
|
46
46
|
GLOBAL_FLAGS,
|
|
47
47
|
READ_SINGLE_FLAGS,
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
} from "./chunk-QLKGOIWS.js";
|
|
51
51
|
import {
|
|
52
52
|
DESCRIPTIONS
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-5LGKZBAY.js";
|
|
54
54
|
import "./chunk-RKNW4UX4.js";
|
|
55
55
|
import "./chunk-FDJMAF7D.js";
|
|
56
56
|
import "./chunk-ZYURL5VK.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-SCUTAREU.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-
|
|
81
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-JXDEV33Z.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-F7CLAS5Y.js";
|
|
20
20
|
import {
|
|
21
21
|
intFlag,
|
|
22
22
|
intListFlag
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
readablePage,
|
|
29
29
|
rejectPaginationModifiersWithoutAll,
|
|
30
30
|
streamAll
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-OE4CY3ZL.js";
|
|
32
32
|
import {
|
|
33
33
|
renderError,
|
|
34
34
|
renderSuccess,
|
|
@@ -38,18 +38,18 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
createClient,
|
|
40
40
|
resolveEffectiveConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-RXDG57B2.js";
|
|
42
42
|
import {
|
|
43
43
|
GLOBAL_FLAGS,
|
|
44
44
|
readOnly
|
|
45
45
|
} from "./chunk-QLKGOIWS.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5LGKZBAY.js";
|
|
49
49
|
import "./chunk-RKNW4UX4.js";
|
|
50
50
|
import "./chunk-FDJMAF7D.js";
|
|
51
51
|
import "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-SCUTAREU.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/search.ts
|
|
55
55
|
import { defineCommand } from "citty";
|
|
@@ -226,7 +226,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
226
226
|
} catch (err) {
|
|
227
227
|
const { CurviateError } = await import("@curviate/sdk");
|
|
228
228
|
if (err instanceof CurviateError) {
|
|
229
|
-
const { getExitCode } = await import("./exit-codes-
|
|
229
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
230
230
|
renderError(err, outOpts, out);
|
|
231
231
|
process.exit(getExitCode(err));
|
|
232
232
|
}
|
|
@@ -268,7 +268,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
268
268
|
} catch (err) {
|
|
269
269
|
const { CurviateError } = await import("@curviate/sdk");
|
|
270
270
|
if (err instanceof CurviateError) {
|
|
271
|
-
const { getExitCode } = await import("./exit-codes-
|
|
271
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
272
272
|
renderError(err, outOpts, out);
|
|
273
273
|
process.exit(getExitCode(err));
|
|
274
274
|
}
|
|
@@ -310,7 +310,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
310
310
|
} catch (err) {
|
|
311
311
|
const { CurviateError } = await import("@curviate/sdk");
|
|
312
312
|
if (err instanceof CurviateError) {
|
|
313
|
-
const { getExitCode } = await import("./exit-codes-
|
|
313
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
314
314
|
renderError(err, outOpts, out);
|
|
315
315
|
process.exit(getExitCode(err));
|
|
316
316
|
}
|
|
@@ -352,7 +352,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
352
352
|
} catch (err) {
|
|
353
353
|
const { CurviateError } = await import("@curviate/sdk");
|
|
354
354
|
if (err instanceof CurviateError) {
|
|
355
|
-
const { getExitCode } = await import("./exit-codes-
|
|
355
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
356
356
|
renderError(err, outOpts, out);
|
|
357
357
|
process.exit(getExitCode(err));
|
|
358
358
|
}
|
|
@@ -400,7 +400,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
400
400
|
} catch (err) {
|
|
401
401
|
const { CurviateError } = await import("@curviate/sdk");
|
|
402
402
|
if (err instanceof CurviateError) {
|
|
403
|
-
const { getExitCode } = await import("./exit-codes-
|
|
403
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
404
404
|
renderError(err, outOpts, out);
|
|
405
405
|
process.exit(getExitCode(err));
|
|
406
406
|
}
|
|
@@ -442,7 +442,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
442
442
|
} catch (err) {
|
|
443
443
|
const { CurviateError } = await import("@curviate/sdk");
|
|
444
444
|
if (err instanceof CurviateError) {
|
|
445
|
-
const { getExitCode } = await import("./exit-codes-
|
|
445
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
446
446
|
renderError(err, outOpts, out);
|
|
447
447
|
process.exit(getExitCode(err));
|
|
448
448
|
}
|
|
@@ -486,7 +486,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
486
486
|
} catch (err) {
|
|
487
487
|
const { CurviateError } = await import("@curviate/sdk");
|
|
488
488
|
if (err instanceof CurviateError) {
|
|
489
|
-
const { getExitCode } = await import("./exit-codes-
|
|
489
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
490
490
|
renderError(err, outOpts, out);
|
|
491
491
|
process.exit(getExitCode(err));
|
|
492
492
|
}
|
|
@@ -528,7 +528,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
528
528
|
} catch (err) {
|
|
529
529
|
const { CurviateError } = await import("@curviate/sdk");
|
|
530
530
|
if (err instanceof CurviateError) {
|
|
531
|
-
const { getExitCode } = await import("./exit-codes-
|
|
531
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
532
532
|
renderError(err, outOpts, out);
|
|
533
533
|
process.exit(getExitCode(err));
|
|
534
534
|
}
|
|
@@ -567,7 +567,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
567
567
|
} catch (err) {
|
|
568
568
|
const { CurviateError } = await import("@curviate/sdk");
|
|
569
569
|
if (err instanceof CurviateError) {
|
|
570
|
-
const { getExitCode } = await import("./exit-codes-
|
|
570
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
571
571
|
renderError(err, outOpts, out);
|
|
572
572
|
process.exit(getExitCode(err));
|
|
573
573
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-OE4CY3ZL.js";
|
|
5
5
|
import "./chunk-QM57YDJE.js";
|
|
6
6
|
import {
|
|
7
7
|
readlineSync
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
isPlainObject,
|
|
13
13
|
resolveEffectiveConfig,
|
|
14
14
|
writeProfile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RXDG57B2.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS,
|
|
18
18
|
getTeamFlag
|
|
19
19
|
} from "./chunk-QLKGOIWS.js";
|
|
20
20
|
import {
|
|
21
21
|
DESCRIPTIONS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-5LGKZBAY.js";
|
|
23
23
|
import {
|
|
24
24
|
defaultReadStdin,
|
|
25
25
|
isStdinToken,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-ZYURL5VK.js";
|
|
28
28
|
import {
|
|
29
29
|
getExitCode
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-SCUTAREU.js";
|
|
31
31
|
|
|
32
32
|
// src/commands/setup.ts
|
|
33
33
|
import { defineCommand } from "citty";
|