@curviate/cli 0.50.0-next.5 → 0.50.0-next.7
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 +12 -0
- package/README.md +38 -7
- package/dist/{account-WF27VTZF.js → account-IHEU7HP6.js} +9 -9
- package/dist/{analytics-Z7AE5JEI.js → analytics-WBZN4LT4.js} +5 -5
- package/dist/{beta-consent-VETVR6KP.js → beta-consent-ZQFZWXZG.js} +4 -4
- package/dist/{billing-TYXPR6ZC.js → billing-A3IGRVJH.js} +5 -5
- package/dist/{chunk-RLZP2PL4.js → chunk-3U6WEWE5.js} +11 -11
- package/dist/{chunk-HOS3JH4L.js → chunk-4J4WTYUY.js} +2 -2
- package/dist/{chunk-X62K5XDP.js → chunk-5FPD6PTC.js} +6 -6
- package/dist/{chunk-GGJTO3PN.js → chunk-6UXXVJYQ.js} +2 -2
- package/dist/{chunk-I3HD5UFH.js → chunk-BRUQT2ED.js} +1 -1
- package/dist/{chunk-QLBNUWM2.js → chunk-EUNZGSPN.js} +57 -23
- package/dist/{chunk-73DJ3KNE.js → chunk-FBBZVIFJ.js} +2 -1
- package/dist/{chunk-2W4RN5ON.js → chunk-QW5K5DTC.js} +2 -0
- package/dist/{chunk-5YQXZIFH.js → chunk-RP3BBLHW.js} +2 -2
- package/dist/{chunk-UFHZGBFD.js → chunk-S26VKVWW.js} +1 -1
- package/dist/{chunk-EHTSCHKM.js → chunk-S3RXK4OU.js} +1 -1
- package/dist/{chunk-5I6JJJIV.js → chunk-VHNF6OZD.js} +8 -3
- package/dist/cli.js +25 -25
- package/dist/{comment-YAQSZNYS.js → comment-MSKOUIHT.js} +13 -13
- package/dist/{company-4K75VGBM.js → company-IXDGDEOU.js} +12 -12
- package/dist/{config-OESEJHKZ.js → config-3CLMU2WU.js} +2 -2
- package/dist/{connect-LZJQOYX2.js → connect-TNFZPMPA.js} +11 -11
- package/dist/{contact-XE7HK4RI.js → contact-XTZQH4KW.js} +8 -8
- package/dist/{contact-groups-IHF7GMNG.js → contact-groups-FB4IXRJM.js} +10 -10
- package/dist/{contact-import-SSPUBHAH.js → contact-import-RHXS2XLJ.js} +9 -9
- package/dist/core-JFFNJM7I.js +46 -0
- package/dist/{do-not-contact-LOUCA7JT.js → do-not-contact-25EKOEY3.js} +5 -5
- package/dist/{doctor-Q3434Q7N.js → doctor-GPEBBS5E.js} +4 -4
- package/dist/{draft-SOO3UJIO.js → draft-B3HNK3YS.js} +9 -9
- package/dist/{enrollment-YQMSDXVJ.js → enrollment-HCI4ROPD.js} +6 -6
- package/dist/{examples-74FXGJ7X.js → examples-ICAGL2S5.js} +1 -1
- package/dist/{exit-codes-7DBETBDT.js → exit-codes-CYQHN4NE.js} +1 -1
- package/dist/{export-F6ZFNZ7L.js → export-MRUBK3QC.js} +4 -4
- package/dist/{feed-YE4HOQ2M.js → feed-YQVZQBJ5.js} +6 -6
- package/dist/{group-OCKSOR65.js → group-YOZG2E4Z.js} +6 -6
- package/dist/{inbox-VGCODDRH.js → inbox-3RTYBVRQ.js} +7 -7
- package/dist/{inboxes-XHP6F3MQ.js → inboxes-7ILPNCVY.js} +6 -6
- package/dist/{incoming-AA3MTRAG.js → incoming-PG3KAYZT.js} +5 -5
- package/dist/{job-KFZNTBXT.js → job-FBNPGF3M.js} +6 -6
- package/dist/{login-BD7JQXGX.js → login-GBTMG7NK.js} +2 -2
- package/dist/{message-IXUDKHBW.js → message-FWA4UJIH.js} +7 -7
- package/dist/{motion-QSANYJKR.js → motion-QNO6OYYE.js} +90 -7
- package/dist/{network-A5M6SLRI.js → network-LPPIA6VZ.js} +5 -5
- package/dist/{notification-XRCV5XNX.js → notification-YGIYY2R2.js} +6 -6
- package/dist/{notifications-SU7NKFGF.js → notifications-GRIVVCE7.js} +6 -6
- package/dist/{post-YWXQ2MVL.js → post-SQDYP3NR.js} +12 -12
- package/dist/{profile-JVNJAAZ7.js → profile-4TJZDVF2.js} +16 -16
- package/dist/{recruiter-34G433BX.js → recruiter-NPW3MDYD.js} +11 -11
- package/dist/{sales-nav-34WK5HF6.js → sales-nav-GKXW2GQ2.js} +11 -11
- package/dist/{search-43YUBUEH.js → search-NZ6J5B5M.js} +14 -14
- package/dist/{setup-RFSXQVN6.js → setup-ODOOKKGJ.js} +4 -4
- package/dist/{team-WSRM74PS.js → team-C2MN3DDT.js} +5 -5
- package/dist/{tier-JQYS4MMF.js → tier-HMPVO6GL.js} +4 -4
- package/dist/{unibox-LFTLITLA.js → unibox-NIYPXKZU.js} +5 -5
- package/dist/{webhook-HX2NOPNE.js → webhook-ZQR37JJV.js} +5 -5
- package/package.json +2 -2
- package/dist/core-524AMFTQ.js +0 -46
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
online,
|
|
8
8
|
positionals,
|
|
9
9
|
preview
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-3U6WEWE5.js";
|
|
11
|
+
import "./chunk-4J4WTYUY.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-RP3BBLHW.js";
|
|
14
|
+
import "./chunk-6UXXVJYQ.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-S26VKVWW.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-BRUQT2ED.js";
|
|
20
20
|
import "./chunk-RYWWSZUH.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-FBBZVIFJ.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
|
-
import "./chunk-
|
|
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-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-3U6WEWE5.js";
|
|
12
|
+
import "./chunk-4J4WTYUY.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-RP3BBLHW.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-6UXXVJYQ.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-
|
|
35
|
+
} from "./chunk-S26VKVWW.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
39
|
} from "./chunk-QM57YDJE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-BRUQT2ED.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-
|
|
47
|
+
import "./chunk-FBBZVIFJ.js";
|
|
48
48
|
import "./chunk-ZYURL5VK.js";
|
|
49
|
-
import "./chunk-
|
|
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-
|
|
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-
|
|
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-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-3U6WEWE5.js";
|
|
6
|
+
import "./chunk-4J4WTYUY.js";
|
|
7
7
|
import "./chunk-GOICALYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sendChunked
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-RP3BBLHW.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
listFlag,
|
|
14
14
|
outputOpts,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-6UXXVJYQ.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-
|
|
29
|
+
} from "./chunk-S26VKVWW.js";
|
|
30
30
|
import {
|
|
31
31
|
renderSuccess,
|
|
32
32
|
writeNdjsonItem
|
|
33
33
|
} from "./chunk-QM57YDJE.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-BRUQT2ED.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-
|
|
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-
|
|
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-
|
|
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-4TJZDVF2.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-IXDGDEOU.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-FBNPGF3M.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-TNFZPMPA.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-NZ6J5B5M.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-3RTYBVRQ.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-7ILPNCVY.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-FWA4UJIH.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-SQDYP3NR.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-MSKOUIHT.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-GKXW2GQ2.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-NPW3MDYD.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-YOZG2E4Z.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-YQVZQBJ5.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-YGIYY2R2.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-B3HNK3YS.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-
|
|
7
|
+
} from "./chunk-6UXXVJYQ.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-S26VKVWW.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
26
|
} from "./chunk-QM57YDJE.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-BRUQT2ED.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-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./chunk-S26VKVWW.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-
|
|
13
|
+
} from "./chunk-BRUQT2ED.js";
|
|
14
14
|
import {
|
|
15
15
|
GLOBAL_FLAGS
|
|
16
16
|
} from "./chunk-RYWWSZUH.js";
|
|
17
17
|
import {
|
|
18
18
|
DESCRIPTIONS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
20
20
|
import "./chunk-ZYURL5VK.js";
|
|
21
21
|
import {
|
|
22
22
|
getExitCode
|
|
23
|
-
} from "./chunk-
|
|
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-
|
|
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-
|
|
23
|
+
} from "./chunk-S26VKVWW.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-
|
|
33
|
+
} from "./chunk-BRUQT2ED.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-
|
|
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-
|
|
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-
|
|
8
|
+
} from "./chunk-6UXXVJYQ.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-
|
|
23
|
+
} from "./chunk-S26VKVWW.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
27
27
|
} from "./chunk-QM57YDJE.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-BRUQT2ED.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-
|
|
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-
|
|
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-
|
|
476
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
477
477
|
await showHelp(enrollmentCommand, ["curviate", "enrollment"]);
|
|
478
478
|
}
|
|
479
479
|
});
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
11
11
|
import {
|
|
12
12
|
renderSuccess
|
|
13
13
|
} from "./chunk-QM57YDJE.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadBinary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BRUQT2ED.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-
|
|
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-
|
|
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-
|
|
4
|
+
} from "./chunk-4J4WTYUY.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-
|
|
12
|
+
} from "./chunk-S26VKVWW.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-
|
|
22
|
+
} from "./chunk-BRUQT2ED.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-
|
|
29
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
30
30
|
import "./chunk-ZYURL5VK.js";
|
|
31
|
-
import "./chunk-
|
|
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-
|
|
52
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
53
53
|
renderError(err, outOpts, out);
|
|
54
54
|
process.exit(getExitCode(err));
|
|
55
55
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4J4WTYUY.js";
|
|
8
8
|
import {
|
|
9
9
|
pageDelayFromFlags,
|
|
10
10
|
readCursorFlag,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
readablePage,
|
|
14
14
|
rejectPaginationModifiersWithoutAll,
|
|
15
15
|
streamAll
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-S26VKVWW.js";
|
|
17
17
|
import {
|
|
18
18
|
renderError,
|
|
19
19
|
renderSuccess,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
createClient,
|
|
25
25
|
resolveEffectiveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-BRUQT2ED.js";
|
|
27
27
|
import {
|
|
28
28
|
GLOBAL_FLAGS,
|
|
29
29
|
READ_SINGLE_FLAGS,
|
|
@@ -31,9 +31,9 @@ import {
|
|
|
31
31
|
} from "./chunk-RYWWSZUH.js";
|
|
32
32
|
import {
|
|
33
33
|
DESCRIPTIONS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
35
35
|
import "./chunk-ZYURL5VK.js";
|
|
36
|
-
import "./chunk-
|
|
36
|
+
import "./chunk-QW5K5DTC.js";
|
|
37
37
|
|
|
38
38
|
// src/commands/group.ts
|
|
39
39
|
import { defineCommand } from "citty";
|
|
@@ -60,7 +60,7 @@ function resolveOutputOpts(flags) {
|
|
|
60
60
|
async function handleSdkError(err, outOpts, out) {
|
|
61
61
|
const { CurviateError } = await import("@curviate/sdk");
|
|
62
62
|
if (err instanceof CurviateError) {
|
|
63
|
-
const { getExitCode } = await import("./exit-codes-
|
|
63
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
64
64
|
renderError(err, outOpts, out);
|
|
65
65
|
process.exit(getExitCode(err));
|
|
66
66
|
}
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
requireAccount
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4J4WTYUY.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
readablePage,
|
|
25
25
|
rejectPaginationModifiersWithoutAll,
|
|
26
26
|
streamAll
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-S26VKVWW.js";
|
|
28
28
|
import {
|
|
29
29
|
renderError,
|
|
30
30
|
renderSuccess,
|
|
@@ -34,7 +34,7 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
createClient,
|
|
36
36
|
resolveEffectiveConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-BRUQT2ED.js";
|
|
38
38
|
import {
|
|
39
39
|
GLOBAL_FLAGS,
|
|
40
40
|
READ_SINGLE_FLAGS,
|
|
@@ -43,9 +43,9 @@ import {
|
|
|
43
43
|
} from "./chunk-RYWWSZUH.js";
|
|
44
44
|
import {
|
|
45
45
|
DESCRIPTIONS
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
47
47
|
import "./chunk-ZYURL5VK.js";
|
|
48
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-QW5K5DTC.js";
|
|
49
49
|
|
|
50
50
|
// src/commands/inbox.ts
|
|
51
51
|
import { defineCommand } from "citty";
|
|
@@ -107,7 +107,7 @@ function validateInboxFolder(raw, out) {
|
|
|
107
107
|
async function handleSdkError(err, outOpts, out) {
|
|
108
108
|
const { CurviateError } = await import("@curviate/sdk");
|
|
109
109
|
if (err instanceof CurviateError) {
|
|
110
|
-
const { getExitCode } = await import("./exit-codes-
|
|
110
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
111
111
|
renderError(err, outOpts, out);
|
|
112
112
|
process.exit(getExitCode(err));
|
|
113
113
|
}
|
|
@@ -398,7 +398,7 @@ var inboxMarkReadCommand = defineCommand({
|
|
|
398
398
|
var inboxMessagesCommand = defineCommand({
|
|
399
399
|
meta: {
|
|
400
400
|
name: "messages",
|
|
401
|
-
description: "List messages in a chat. A very recent send
|
|
401
|
+
description: "List messages in a chat. A very recent send may take a few minutes to appear here (LinkedIn-side indexing); `curviate core message get <chat_id> <message_id>` reflects it immediately. A deleted message reads `is_deleted: true`, with no text or attachments, as soon as Curviate learns of the delete (at once when you delete it through Curviate). `--mode cache_only` is answered only for an unfiltered, uncursored first page of a chat whose whole message set fits in that one page (`--limit`, at most 25 messages), and only after a walk of the chat reached its end: any unfiltered page fetched from LinkedIn (such as `--mode live` without `--all`) restarts that walk, and `--all` walks to the end and closes it. A read carrying `--before`, `--after` or `--cursor` is never served from the store.",
|
|
402
402
|
risk: "read",
|
|
403
403
|
examples: [
|
|
404
404
|
"curviate core inbox messages 2-YTQ3ODU3Njgt",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4J4WTYUY.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
readablePage,
|
|
11
11
|
rejectPaginationModifiersWithoutAll,
|
|
12
12
|
streamAll
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-S26VKVWW.js";
|
|
14
14
|
import {
|
|
15
15
|
renderError,
|
|
16
16
|
renderSuccess,
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
createClient,
|
|
22
22
|
resolveEffectiveConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-BRUQT2ED.js";
|
|
24
24
|
import {
|
|
25
25
|
GLOBAL_FLAGS,
|
|
26
26
|
READ_SINGLE_FLAGS,
|
|
@@ -28,9 +28,9 @@ import {
|
|
|
28
28
|
} from "./chunk-RYWWSZUH.js";
|
|
29
29
|
import {
|
|
30
30
|
DESCRIPTIONS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
32
32
|
import "./chunk-ZYURL5VK.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-QW5K5DTC.js";
|
|
34
34
|
|
|
35
35
|
// src/commands/inboxes.ts
|
|
36
36
|
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-CYQHN4NE.js");
|
|
61
61
|
renderError(err, outOpts, out);
|
|
62
62
|
process.exit(getExitCode(err));
|
|
63
63
|
}
|