@curviate/cli 0.50.0-next.5 → 0.50.0-next.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/README.md +29 -0
- package/dist/{account-WF27VTZF.js → account-TBPPGZME.js} +8 -8
- package/dist/{analytics-Z7AE5JEI.js → analytics-ECRDJRTF.js} +5 -5
- package/dist/{beta-consent-VETVR6KP.js → beta-consent-7RLD2CJU.js} +4 -4
- package/dist/{billing-TYXPR6ZC.js → billing-6AJ4AB77.js} +5 -5
- package/dist/{chunk-73DJ3KNE.js → chunk-FBBZVIFJ.js} +2 -1
- package/dist/{chunk-X62K5XDP.js → chunk-K26JD5NC.js} +6 -6
- package/dist/{chunk-GGJTO3PN.js → chunk-LTPME424.js} +2 -2
- package/dist/{chunk-I3HD5UFH.js → chunk-N7UA24IK.js} +1 -1
- package/dist/{chunk-QLBNUWM2.js → chunk-NKB4RJUH.js} +57 -23
- package/dist/{chunk-HOS3JH4L.js → chunk-QFUZCTD7.js} +2 -2
- package/dist/{chunk-5YQXZIFH.js → chunk-QOVYLEUY.js} +2 -2
- package/dist/{chunk-2W4RN5ON.js → chunk-QW5K5DTC.js} +2 -0
- package/dist/{chunk-5I6JJJIV.js → chunk-VHNF6OZD.js} +8 -3
- package/dist/{chunk-RLZP2PL4.js → chunk-XJOWMIW2.js} +11 -11
- package/dist/{chunk-UFHZGBFD.js → chunk-XPQP2FZX.js} +1 -1
- package/dist/{chunk-EHTSCHKM.js → chunk-YGNDS4CW.js} +1 -1
- package/dist/cli.js +25 -25
- package/dist/{comment-YAQSZNYS.js → comment-7QCABJ53.js} +13 -13
- package/dist/{company-4K75VGBM.js → company-LH56TXM6.js} +12 -12
- package/dist/{config-OESEJHKZ.js → config-YBFTZASA.js} +2 -2
- package/dist/{connect-LZJQOYX2.js → connect-5X5VIQOO.js} +11 -11
- package/dist/{contact-XE7HK4RI.js → contact-6GSXKSL7.js} +8 -8
- package/dist/{contact-groups-IHF7GMNG.js → contact-groups-6S6AM5WV.js} +10 -10
- package/dist/{contact-import-SSPUBHAH.js → contact-import-CQW3RQGN.js} +9 -9
- package/dist/core-5NYENM4A.js +46 -0
- package/dist/{do-not-contact-LOUCA7JT.js → do-not-contact-6DFZYGRI.js} +5 -5
- package/dist/{doctor-Q3434Q7N.js → doctor-OUDGTEYR.js} +4 -4
- package/dist/{draft-SOO3UJIO.js → draft-AETHWRIX.js} +9 -9
- package/dist/{enrollment-YQMSDXVJ.js → enrollment-KXLN32RT.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-XOAHDY7W.js} +4 -4
- package/dist/{feed-YE4HOQ2M.js → feed-W3LMXJHQ.js} +6 -6
- package/dist/{group-OCKSOR65.js → group-TLC75WME.js} +6 -6
- package/dist/{inbox-VGCODDRH.js → inbox-ID4EFMTQ.js} +6 -6
- package/dist/{inboxes-XHP6F3MQ.js → inboxes-SRBQ3FAI.js} +6 -6
- package/dist/{incoming-AA3MTRAG.js → incoming-I3TNXHDV.js} +5 -5
- package/dist/{job-KFZNTBXT.js → job-V5BVH6EN.js} +6 -6
- package/dist/{login-BD7JQXGX.js → login-TRGTHHB3.js} +2 -2
- package/dist/{message-IXUDKHBW.js → message-CAAOJEYQ.js} +7 -7
- package/dist/{motion-QSANYJKR.js → motion-NQKMLNH4.js} +90 -7
- package/dist/{network-A5M6SLRI.js → network-CDMKWOZG.js} +5 -5
- package/dist/{notification-XRCV5XNX.js → notification-SC4SHB5F.js} +6 -6
- package/dist/{notifications-SU7NKFGF.js → notifications-VN2MDDPZ.js} +6 -6
- package/dist/{post-YWXQ2MVL.js → post-TWHMSQP4.js} +12 -12
- package/dist/{profile-JVNJAAZ7.js → profile-4J3RB7US.js} +16 -16
- package/dist/{recruiter-34G433BX.js → recruiter-QUNXM3CY.js} +11 -11
- package/dist/{sales-nav-34WK5HF6.js → sales-nav-4U6F7GPN.js} +11 -11
- package/dist/{search-43YUBUEH.js → search-7HD2X2WX.js} +14 -14
- package/dist/{setup-RFSXQVN6.js → setup-YH5DNST4.js} +4 -4
- package/dist/{team-WSRM74PS.js → team-G5C3LDYA.js} +5 -5
- package/dist/{tier-JQYS4MMF.js → tier-N7CENZXH.js} +4 -4
- package/dist/{unibox-LFTLITLA.js → unibox-I7VDPY6A.js} +5 -5
- package/dist/{webhook-HX2NOPNE.js → webhook-OPXGVBFW.js} +5 -5
- package/package.json +2 -2
- package/dist/core-524AMFTQ.js +0 -46
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-QFUZCTD7.js";
|
|
5
5
|
import {
|
|
6
6
|
writeAtomic
|
|
7
7
|
} from "./chunk-GOICALYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sendInChunks
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QOVYLEUY.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
listFlag,
|
|
14
14
|
outputOpts,
|
|
15
15
|
rootClient,
|
|
16
16
|
usage
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-LTPME424.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-XPQP2FZX.js";
|
|
33
33
|
import {
|
|
34
34
|
renderSuccess,
|
|
35
35
|
writeNdjsonItem
|
|
36
36
|
} from "./chunk-QM57YDJE.js";
|
|
37
37
|
import {
|
|
38
38
|
downloadBinary
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N7UA24IK.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
READ_SINGLE_FLAGS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS,
|
|
48
48
|
lazy
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/contact.ts
|
|
52
52
|
import { defineCommand } from "citty";
|
|
@@ -501,15 +501,15 @@ var contactCommand = defineCommand({
|
|
|
501
501
|
create: createCmd,
|
|
502
502
|
update: updateCmd,
|
|
503
503
|
delete: deleteCmd,
|
|
504
|
-
import: lazy("contactImport", () => import("./contact-import-
|
|
504
|
+
import: lazy("contactImport", () => import("./contact-import-CQW3RQGN.js").then((m) => m.contactImportCommand)),
|
|
505
505
|
export: exportCmd,
|
|
506
506
|
enrich: enrichCmd,
|
|
507
|
-
lists: lazy("contactLists", () => import("./contact-groups-
|
|
508
|
-
tags: lazy("contactTags", () => import("./contact-groups-
|
|
509
|
-
imports: lazy("contactImports", () => import("./contact-import-
|
|
507
|
+
lists: lazy("contactLists", () => import("./contact-groups-6S6AM5WV.js").then((m) => m.contactListsCommand)),
|
|
508
|
+
tags: lazy("contactTags", () => import("./contact-groups-6S6AM5WV.js").then((m) => m.contactTagsCommand)),
|
|
509
|
+
imports: lazy("contactImports", () => import("./contact-import-CQW3RQGN.js").then((m) => m.contactImportsCommand))
|
|
510
510
|
},
|
|
511
511
|
async run() {
|
|
512
|
-
const { showHelp } = await import("./examples-
|
|
512
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
513
513
|
await showHelp(contactCommand, ["curviate", "contact"]);
|
|
514
514
|
}
|
|
515
515
|
});
|
package/dist/cli.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-RYWWSZUH.js";
|
|
16
16
|
import {
|
|
17
17
|
lazy
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
19
19
|
import {
|
|
20
20
|
editDistance
|
|
21
21
|
} from "./chunk-FDJMAF7D.js";
|
|
@@ -45,33 +45,33 @@ var main = defineCommand({
|
|
|
45
45
|
// Subcommand registry, names and descriptions are static for help rendering;
|
|
46
46
|
// the handler implementation is loaded lazily on first invocation.
|
|
47
47
|
subCommands: {
|
|
48
|
-
setup: lazy("setup", () => import("./setup-
|
|
49
|
-
doctor: lazy("doctor", () => import("./doctor-
|
|
50
|
-
login: lazy("login", () => import("./login-
|
|
51
|
-
config: lazy("config", () => import("./config-
|
|
52
|
-
account: lazy("account", () => import("./account-
|
|
53
|
-
motion: lazy("motion", () => import("./motion-
|
|
54
|
-
enrollment: lazy("enrollment", () => import("./enrollment-
|
|
55
|
-
contact: lazy("contact", () => import("./contact-
|
|
56
|
-
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-
|
|
57
|
-
unibox: lazy("unibox", () => import("./unibox-
|
|
58
|
-
network: lazy("network", () => import("./network-
|
|
59
|
-
analytics: lazy("analytics", () => import("./analytics-
|
|
60
|
-
notification: lazy("notification", () => import("./notifications-
|
|
61
|
-
export: lazy("export", () => import("./export-
|
|
62
|
-
billing: lazy("billing", () => import("./billing-
|
|
63
|
-
tier: lazy("tier", () => import("./tier-
|
|
64
|
-
team: lazy("team", () => import("./team-
|
|
65
|
-
incoming: lazy("incoming", () => import("./incoming-
|
|
66
|
-
beta: lazy("beta", () => import("./beta-consent-
|
|
67
|
-
webhook: lazy("webhook", () => import("./webhook-
|
|
48
|
+
setup: lazy("setup", () => import("./setup-YH5DNST4.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-OUDGTEYR.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-TRGTHHB3.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-YBFTZASA.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-TBPPGZME.js").then((m) => m.accountCommand)),
|
|
53
|
+
motion: lazy("motion", () => import("./motion-NQKMLNH4.js").then((m) => m.motionCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-KXLN32RT.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
contact: lazy("contact", () => import("./contact-6GSXKSL7.js").then((m) => m.contactCommand)),
|
|
56
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-6DFZYGRI.js").then((m) => m.doNotContactCommand)),
|
|
57
|
+
unibox: lazy("unibox", () => import("./unibox-I7VDPY6A.js").then((m) => m.uniboxCommand)),
|
|
58
|
+
network: lazy("network", () => import("./network-CDMKWOZG.js").then((m) => m.networkCommand)),
|
|
59
|
+
analytics: lazy("analytics", () => import("./analytics-ECRDJRTF.js").then((m) => m.analyticsCommand)),
|
|
60
|
+
notification: lazy("notification", () => import("./notifications-VN2MDDPZ.js").then((m) => m.notificationsCommand)),
|
|
61
|
+
export: lazy("export", () => import("./export-XOAHDY7W.js").then((m) => m.exportCommand)),
|
|
62
|
+
billing: lazy("billing", () => import("./billing-6AJ4AB77.js").then((m) => m.billingCommand)),
|
|
63
|
+
tier: lazy("tier", () => import("./tier-N7CENZXH.js").then((m) => m.tierCommand)),
|
|
64
|
+
team: lazy("team", () => import("./team-G5C3LDYA.js").then((m) => m.teamCommand)),
|
|
65
|
+
incoming: lazy("incoming", () => import("./incoming-I3TNXHDV.js").then((m) => m.incomingCommand)),
|
|
66
|
+
beta: lazy("beta", () => import("./beta-consent-7RLD2CJU.js").then((m) => m.betaCommand)),
|
|
67
|
+
webhook: lazy("webhook", () => import("./webhook-OPXGVBFW.js").then((m) => m.webhookCommand)),
|
|
68
68
|
// The LinkedIn building blocks. Reserved product groups
|
|
69
69
|
// (unibox, network, analytics, team) land
|
|
70
70
|
// between `enrollment` and `webhook` with their owning specs.
|
|
71
|
-
core: lazy("core", () => import("./core-
|
|
71
|
+
core: lazy("core", () => import("./core-5NYENM4A.js").then((m) => m.coreCommand))
|
|
72
72
|
},
|
|
73
73
|
async run() {
|
|
74
|
-
const { showHelp } = await import("./examples-
|
|
74
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
75
75
|
await showHelp(main, ["curviate"]);
|
|
76
76
|
}
|
|
77
77
|
});
|
|
@@ -363,7 +363,7 @@ async function dispatch(root, rawArgs) {
|
|
|
363
363
|
helpFor = "curviate";
|
|
364
364
|
if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
|
|
365
365
|
const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
|
|
366
|
-
const { showHelp } = await import("./examples-
|
|
366
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
367
367
|
await showHelp(leaf, path);
|
|
368
368
|
await new Promise((done) => process.stdout.write("", () => done()));
|
|
369
369
|
process.exit(0);
|
|
@@ -445,7 +445,7 @@ async function dispatch(root, rawArgs) {
|
|
|
445
445
|
if (code === "EARG") process.stderr.write(helpPointer());
|
|
446
446
|
const { CurviateError } = await import("@curviate/sdk");
|
|
447
447
|
if (err instanceof CurviateError) {
|
|
448
|
-
const { getExitCode } = await import("./exit-codes-
|
|
448
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
449
449
|
process.exit(getExitCode(err));
|
|
450
450
|
}
|
|
451
451
|
process.exit(code === "EARG" ? 2 : 1);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
AttachError,
|
|
7
|
-
describeAttachment,
|
|
8
|
-
readAttachment,
|
|
9
|
-
toAttachmentPayload
|
|
10
|
-
} from "./chunk-5I6JJJIV.js";
|
|
4
|
+
} from "./chunk-YGNDS4CW.js";
|
|
11
5
|
import {
|
|
12
6
|
AS_ACCOUNT,
|
|
13
7
|
BUDGET,
|
|
14
8
|
TARGET
|
|
15
9
|
} from "./chunk-Q3ZPRFUX.js";
|
|
16
10
|
import "./chunk-UEAX6KUB.js";
|
|
11
|
+
import {
|
|
12
|
+
AttachError,
|
|
13
|
+
describeAttachment,
|
|
14
|
+
readAttachment,
|
|
15
|
+
toAttachmentPayload
|
|
16
|
+
} from "./chunk-VHNF6OZD.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-QFUZCTD7.js";
|
|
20
20
|
import {
|
|
21
21
|
buildPreviewOutput
|
|
22
22
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-XPQP2FZX.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-N7UA24IK.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
} from "./chunk-RYWWSZUH.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveTextOrStdin
|
|
51
51
|
} from "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-QW5K5DTC.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/comment.ts
|
|
55
55
|
import { defineCommand } from "citty";
|
|
@@ -78,7 +78,7 @@ function buildListQuery(flags, out) {
|
|
|
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-CYQHN4NE.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sentAsNotice
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import {
|
|
6
|
-
AttachError,
|
|
7
|
-
readAttachment,
|
|
8
|
-
toAttachmentPayload
|
|
9
|
-
} from "./chunk-5I6JJJIV.js";
|
|
4
|
+
} from "./chunk-NKB4RJUH.js";
|
|
10
5
|
import "./chunk-UWO2D4HW.js";
|
|
11
6
|
import {
|
|
12
7
|
AS_ACCOUNT,
|
|
@@ -24,9 +19,14 @@ import {
|
|
|
24
19
|
slimSearchPeople,
|
|
25
20
|
slimSearchPosts
|
|
26
21
|
} from "./chunk-XDG3TOKG.js";
|
|
22
|
+
import {
|
|
23
|
+
AttachError,
|
|
24
|
+
readAttachment,
|
|
25
|
+
toAttachmentPayload
|
|
26
|
+
} from "./chunk-VHNF6OZD.js";
|
|
27
27
|
import {
|
|
28
28
|
requireAccount
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-QFUZCTD7.js";
|
|
30
30
|
import {
|
|
31
31
|
buildPreviewOutput
|
|
32
32
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
readablePage,
|
|
40
40
|
rejectPaginationModifiersWithoutAll,
|
|
41
41
|
streamAll
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-XPQP2FZX.js";
|
|
43
43
|
import {
|
|
44
44
|
renderError,
|
|
45
45
|
renderSuccess,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
createClient,
|
|
51
51
|
resolveEffectiveConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-N7UA24IK.js";
|
|
53
53
|
import {
|
|
54
54
|
GLOBAL_FLAGS,
|
|
55
55
|
READ_SINGLE_FLAGS,
|
|
@@ -58,12 +58,12 @@ import {
|
|
|
58
58
|
} from "./chunk-RYWWSZUH.js";
|
|
59
59
|
import {
|
|
60
60
|
DESCRIPTIONS
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
62
62
|
import "./chunk-FDJMAF7D.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveTextOrStdin
|
|
65
65
|
} from "./chunk-ZYURL5VK.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-QW5K5DTC.js";
|
|
67
67
|
|
|
68
68
|
// src/commands/company.ts
|
|
69
69
|
import { defineCommand } from "citty";
|
|
@@ -97,7 +97,7 @@ async function resolveCompanyId(ns, raw) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
setActiveProfile,
|
|
13
13
|
updateProfileField,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N7UA24IK.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
18
|
} from "./chunk-RYWWSZUH.js";
|
|
19
19
|
import {
|
|
20
20
|
DESCRIPTIONS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/config.ts
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-XDG3TOKG.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QFUZCTD7.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
readablePage,
|
|
27
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
28
|
streamAll
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XPQP2FZX.js";
|
|
30
30
|
import {
|
|
31
31
|
renderError,
|
|
32
32
|
renderSuccess,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
createClient,
|
|
38
38
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N7UA24IK.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
@@ -44,12 +44,12 @@ import {
|
|
|
44
44
|
} from "./chunk-RYWWSZUH.js";
|
|
45
45
|
import {
|
|
46
46
|
DESCRIPTIONS
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
48
48
|
import {
|
|
49
49
|
nearestSubcommand
|
|
50
50
|
} from "./chunk-FDJMAF7D.js";
|
|
51
51
|
import "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-QW5K5DTC.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/connect.ts
|
|
55
55
|
import { defineCommand } from "citty";
|
|
@@ -93,7 +93,7 @@ async function runConnectSend(client, flags, out) {
|
|
|
93
93
|
} catch (err) {
|
|
94
94
|
const { CurviateError } = await import("@curviate/sdk");
|
|
95
95
|
if (err instanceof CurviateError) {
|
|
96
|
-
const { getExitCode } = await import("./exit-codes-
|
|
96
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
97
97
|
renderError(err, outOpts, out);
|
|
98
98
|
process.exit(getExitCode(err));
|
|
99
99
|
}
|
|
@@ -132,7 +132,7 @@ async function runConnectSent(client, flags, out) {
|
|
|
132
132
|
} catch (err) {
|
|
133
133
|
const { CurviateError } = await import("@curviate/sdk");
|
|
134
134
|
if (err instanceof CurviateError) {
|
|
135
|
-
const { getExitCode } = await import("./exit-codes-
|
|
135
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
136
136
|
renderError(err, outOpts, out);
|
|
137
137
|
process.exit(getExitCode(err));
|
|
138
138
|
}
|
|
@@ -171,7 +171,7 @@ async function runConnectReceived(client, flags, out) {
|
|
|
171
171
|
} catch (err) {
|
|
172
172
|
const { CurviateError } = await import("@curviate/sdk");
|
|
173
173
|
if (err instanceof CurviateError) {
|
|
174
|
-
const { getExitCode } = await import("./exit-codes-
|
|
174
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
175
175
|
renderError(err, outOpts, out);
|
|
176
176
|
process.exit(getExitCode(err));
|
|
177
177
|
}
|
|
@@ -200,7 +200,7 @@ async function runConnectAccept(client, flags, out) {
|
|
|
200
200
|
} catch (err) {
|
|
201
201
|
const { CurviateError } = await import("@curviate/sdk");
|
|
202
202
|
if (err instanceof CurviateError) {
|
|
203
|
-
const { getExitCode } = await import("./exit-codes-
|
|
203
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
204
204
|
renderError(err, outOpts, out);
|
|
205
205
|
process.exit(getExitCode(err));
|
|
206
206
|
}
|
|
@@ -229,7 +229,7 @@ async function runConnectDecline(client, flags, out) {
|
|
|
229
229
|
} catch (err) {
|
|
230
230
|
const { CurviateError } = await import("@curviate/sdk");
|
|
231
231
|
if (err instanceof CurviateError) {
|
|
232
|
-
const { getExitCode } = await import("./exit-codes-
|
|
232
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
233
233
|
renderError(err, outOpts, out);
|
|
234
234
|
process.exit(getExitCode(err));
|
|
235
235
|
}
|
|
@@ -258,7 +258,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
258
258
|
} catch (err) {
|
|
259
259
|
const { CurviateError } = await import("@curviate/sdk");
|
|
260
260
|
if (err instanceof CurviateError) {
|
|
261
|
-
const { getExitCode } = await import("./exit-codes-
|
|
261
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
262
262
|
renderError(err, outOpts, out);
|
|
263
263
|
process.exit(getExitCode(err));
|
|
264
264
|
}
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
online,
|
|
8
8
|
positionals,
|
|
9
9
|
preview
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-XJOWMIW2.js";
|
|
11
|
+
import "./chunk-QFUZCTD7.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-QOVYLEUY.js";
|
|
14
|
+
import "./chunk-LTPME424.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-XPQP2FZX.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-N7UA24IK.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-XJOWMIW2.js";
|
|
12
|
+
import "./chunk-QFUZCTD7.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QOVYLEUY.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LTPME424.js";
|
|
23
23
|
import "./chunk-TCUYH5GO.js";
|
|
24
24
|
import {
|
|
25
25
|
intFlag
|
|
@@ -32,21 +32,21 @@ import {
|
|
|
32
32
|
readablePage,
|
|
33
33
|
rejectPaginationModifiersWithoutAll,
|
|
34
34
|
streamAll
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-XPQP2FZX.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
39
|
} from "./chunk-QM57YDJE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-N7UA24IK.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_SINGLE_FLAGS,
|
|
45
45
|
readOnly
|
|
46
46
|
} from "./chunk-RYWWSZUH.js";
|
|
47
|
-
import "./chunk-
|
|
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-XJOWMIW2.js";
|
|
6
|
+
import "./chunk-QFUZCTD7.js";
|
|
7
7
|
import "./chunk-GOICALYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sendChunked
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-QOVYLEUY.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
listFlag,
|
|
14
14
|
outputOpts,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-LTPME424.js";
|
|
17
17
|
import "./chunk-TCUYH5GO.js";
|
|
18
18
|
import {
|
|
19
19
|
intFlag
|
|
@@ -26,18 +26,18 @@ import {
|
|
|
26
26
|
readablePage,
|
|
27
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
28
|
streamAll
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-XPQP2FZX.js";
|
|
30
30
|
import {
|
|
31
31
|
renderSuccess,
|
|
32
32
|
writeNdjsonItem
|
|
33
33
|
} from "./chunk-QM57YDJE.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-N7UA24IK.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
WRITE_SINGLE_FLAGS,
|
|
38
38
|
readOnly
|
|
39
39
|
} from "./chunk-RYWWSZUH.js";
|
|
40
|
-
import "./chunk-
|
|
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-4J3RB7US.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-LH56TXM6.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-V5BVH6EN.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-5X5VIQOO.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-7HD2X2WX.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-ID4EFMTQ.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-SRBQ3FAI.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-CAAOJEYQ.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-TWHMSQP4.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-7QCABJ53.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-4U6F7GPN.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-QUNXM3CY.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-TLC75WME.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-W3LMXJHQ.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-SC4SHB5F.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-AETHWRIX.js").then((m) => m.draftCommand))
|
|
38
|
+
},
|
|
39
|
+
async run() {
|
|
40
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
41
|
+
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
coreCommand
|
|
46
|
+
};
|