@curviate/cli 0.52.0 → 0.54.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 +34 -1
- package/README.md +2 -2
- package/dist/{account-2IHGWLU7.js → account-DW5N5MJ6.js} +9 -9
- package/dist/{analytics-SBHNCE24.js → analytics-T2K3OWVQ.js} +6 -6
- package/dist/{beta-consent-QJBRBON3.js → beta-consent-O736ONE7.js} +5 -5
- package/dist/{billing-KL6GL5PF.js → billing-NTBL32EX.js} +6 -6
- package/dist/{chunk-44COK554.js → chunk-5B4T6BMN.js} +22 -18
- package/dist/{chunk-PHKICMO7.js → chunk-62YAYAUI.js} +6 -0
- package/dist/{chunk-6BDA6B32.js → chunk-A3UNS44U.js} +5 -5
- package/dist/{chunk-UXFLLYFY.js → chunk-ACKKHLUH.js} +2 -2
- package/dist/{chunk-OQKN3U74.js → chunk-FBLCSVIU.js} +19 -10
- package/dist/{chunk-XDG3TOKG.js → chunk-FUX3BRYP.js} +2 -1
- package/dist/{chunk-OUY3GVWJ.js → chunk-HOMRAZ6S.js} +1 -1
- package/dist/{chunk-QA777QEJ.js → chunk-KXJJFHSD.js} +1 -1
- package/dist/{chunk-6SBO4WXA.js → chunk-N4IYTFIY.js} +1 -1
- package/dist/{chunk-UA4DEQ3K.js → chunk-N76WNJ5T.js} +2 -2
- package/dist/{chunk-JGPR6AGO.js → chunk-Q57PZJLX.js} +12 -12
- package/dist/{chunk-RYWWSZUH.js → chunk-QLKGOIWS.js} +2 -2
- package/dist/{chunk-AQVE6HO5.js → chunk-R4HS2MWM.js} +1 -1
- package/dist/{chunk-SIOEKNCN.js → chunk-UFHT2KZG.js} +1 -1
- package/dist/{chunk-GXEHHSM7.js → chunk-V3HHYTBY.js} +1 -1
- package/dist/cli.js +25 -25
- package/dist/{comment-ABRBF7J4.js → comment-ATVJOTWV.js} +6 -6
- package/dist/{company-WQPWHAZJ.js → company-BRKFROPE.js} +7 -7
- package/dist/{config-RFXNYRRC.js → config-E223SS5K.js} +3 -3
- package/dist/{connect-R7A6RJJJ.js → connect-XVDQ5FTT.js} +7 -7
- package/dist/{contact-FHR4RAXL.js → contact-4HOUOVD7.js} +8 -8
- package/dist/{contact-groups-AAJT4TZ6.js → contact-groups-ENA3VGGL.js} +13 -12
- package/dist/{contact-import-3KASFYC5.js → contact-import-4EKVDFPV.js} +10 -10
- package/dist/core-6VDDV2NM.js +46 -0
- package/dist/{do-not-contact-QMFIJOAA.js → do-not-contact-S2WGHSQL.js} +12 -12
- package/dist/{doctor-4TNHUBYZ.js → doctor-OFIUGRUG.js} +4 -4
- package/dist/{document-RXBOZG6M.js → document-MDE2WJYX.js} +1 -1
- package/dist/{draft-F56TKIQ3.js → draft-DD3DTXBM.js} +4 -4
- package/dist/{enrollment-WCG5MX65.js → enrollment-ESCHKQ5X.js} +6 -6
- package/dist/{examples-ICAGL2S5.js → examples-KAMXHRLE.js} +1 -1
- package/dist/{export-UVUY3IMF.js → export-GUAGB7TF.js} +5 -5
- package/dist/{feed-6NN2YWOQ.js → feed-ZC4FY4BA.js} +5 -5
- package/dist/{group-BXL4QDZL.js → group-42ZE7K3K.js} +5 -5
- package/dist/{inbox-GOO5UA3J.js → inbox-2YS7CTXH.js} +5 -5
- package/dist/{inboxes-GGN7SULO.js → inboxes-5RB3BGCQ.js} +5 -5
- package/dist/{incoming-AZPAGR3L.js → incoming-ATZN6JJA.js} +6 -6
- package/dist/{job-R5TGUKTB.js → job-WD3Z3P3Q.js} +6 -6
- package/dist/{login-LZH3HY2J.js → login-JQ57YHEJ.js} +3 -3
- package/dist/{message-YY2BB47Z.js → message-WGS2IIDC.js} +6 -6
- package/dist/{motion-2RCKZSK5.js → motion-BRVBJJJP.js} +17 -13
- package/dist/{network-5VDLBVU7.js → network-CODIWCJQ.js} +6 -6
- package/dist/{notification-DVHDC2IA.js → notification-RLVF4NLJ.js} +5 -5
- package/dist/{notifications-GZKDD7SV.js → notifications-HGEHM5KW.js} +6 -6
- package/dist/{post-JKXMJZXS.js → post-3GH2IPO6.js} +6 -6
- package/dist/{profile-CYFEDUEC.js → profile-6RFJQMIB.js} +7 -7
- package/dist/{recruiter-MRJDGK6O.js → recruiter-GK3UNS62.js} +8 -8
- package/dist/{sales-nav-5ABDKON4.js → sales-nav-SLS3ABF4.js} +7 -7
- package/dist/{search-JDNUGHRX.js → search-45WRT5T3.js} +8 -8
- package/dist/{setup-EXPWIHTM.js → setup-5QZOM2Q2.js} +4 -4
- package/dist/{team-5XD2O5UO.js → team-WM3RKOQ2.js} +6 -6
- package/dist/{tier-CNDUZKXE.js → tier-5AMLO5KE.js} +9 -11
- package/dist/{unibox-MAAEROM5.js → unibox-TTCF7YVO.js} +8 -7
- package/dist/{webhook-XVTE3ZVM.js → webhook-UCCCSKDO.js} +6 -6
- package/package.json +2 -2
- package/dist/core-GANWZKQZ.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-ACKKHLUH.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-UFHT2KZG.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-HOMRAZ6S.js";
|
|
18
18
|
import {
|
|
19
19
|
buildPreviewOutput
|
|
20
20
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,24 +29,24 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KXJJFHSD.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-N76WNJ5T.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
READ_SINGLE_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
44
44
|
readOnly
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QLKGOIWS.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS,
|
|
48
48
|
lazy
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-R4HS2MWM.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-4EKVDFPV.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-ENA3VGGL.js").then((m) => m.contactListsCommand)),
|
|
508
|
+
tags: lazy("contactTags", () => import("./contact-groups-ENA3VGGL.js").then((m) => m.contactTagsCommand)),
|
|
509
|
+
imports: lazy("contactImports", () => import("./contact-import-4EKVDFPV.js").then((m) => m.contactImportsCommand))
|
|
510
510
|
},
|
|
511
511
|
async run() {
|
|
512
|
-
const { showHelp } = await import("./examples-
|
|
512
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
513
513
|
await showHelp(contactCommand, ["curviate", "contact"]);
|
|
514
514
|
}
|
|
515
515
|
});
|
|
@@ -47,12 +47,12 @@ var GLOBAL_FLAGS = {
|
|
|
47
47
|
},
|
|
48
48
|
all: {
|
|
49
49
|
type: "boolean",
|
|
50
|
-
description:
|
|
50
|
+
description: 'Stream pages as NDJSON until the results run out or --max-pages is reached (default 100 pages). Not exhaustive: a capped stream ends with a {"object":"stream_truncated","pages_fetched":N,"has_more":true} line on stdout, prints a "Streaming truncated" note on stderr, and still exits 0; raise --max-pages to fetch more.',
|
|
51
51
|
default: false
|
|
52
52
|
},
|
|
53
53
|
"max-pages": {
|
|
54
54
|
type: "string",
|
|
55
|
-
description: "Maximum number of pages to fetch when --all is used. Refused (exit 2) without --all."
|
|
55
|
+
description: "Maximum number of pages to fetch when --all is used (default 100). A stream that hits the cap ends with stream_truncated (exit 0). Refused (exit 2) without --all."
|
|
56
56
|
},
|
|
57
57
|
"page-delay": {
|
|
58
58
|
type: "string",
|
|
@@ -21,7 +21,7 @@ var DESCRIPTIONS = {
|
|
|
21
21
|
network: "Network: each Account's LinkedIn Connections, synced and stored by Curviate. List, export, read the sync status, ask for a resync. Your Team's data, for the Accounts you may operate.",
|
|
22
22
|
analytics: "Motion outcomes and the budget your Accounts used. Read-only; Motion numbers cover your Accounts and your team's shared Accounts, core activity the Accounts you may operate.",
|
|
23
23
|
export: "Background export jobs started by `curviate analytics export --job`: read the status, download the file. Only the person who started one can.",
|
|
24
|
-
tier: "Your Team's Tier now, what it bought, any trial
|
|
24
|
+
tier: "Your Team's Tier now, what it bought, any trial or override, and the features it includes. Every role may read it.",
|
|
25
25
|
team: "Teams: list yours and switch the one calls act in, read or rename it, manage members and invites, set its logo, create a Team, lend seats between your Teams. Owners and Managers manage (a Manager invites Members only); every role reads.",
|
|
26
26
|
incoming: "Incoming events: a private URL any tool posts to. Curviate finds the Contact in the post and moves the Enrollments waiting for that event (`until event.<name>`). Your Team's data.",
|
|
27
27
|
beta: "Beta consent for your Team: whether beta operations run without --beta on each call. Owners change it.",
|
package/dist/cli.js
CHANGED
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
setBetaOverride,
|
|
13
13
|
setTeamFlag,
|
|
14
14
|
setWriteKind
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QLKGOIWS.js";
|
|
16
16
|
import {
|
|
17
17
|
lazy
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-R4HS2MWM.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-5QZOM2Q2.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-OFIUGRUG.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-JQ57YHEJ.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-E223SS5K.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-DW5N5MJ6.js").then((m) => m.accountCommand)),
|
|
53
|
+
motion: lazy("motion", () => import("./motion-BRVBJJJP.js").then((m) => m.motionCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-ESCHKQ5X.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
contact: lazy("contact", () => import("./contact-4HOUOVD7.js").then((m) => m.contactCommand)),
|
|
56
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-S2WGHSQL.js").then((m) => m.doNotContactCommand)),
|
|
57
|
+
unibox: lazy("unibox", () => import("./unibox-TTCF7YVO.js").then((m) => m.uniboxCommand)),
|
|
58
|
+
network: lazy("network", () => import("./network-CODIWCJQ.js").then((m) => m.networkCommand)),
|
|
59
|
+
analytics: lazy("analytics", () => import("./analytics-T2K3OWVQ.js").then((m) => m.analyticsCommand)),
|
|
60
|
+
notification: lazy("notification", () => import("./notifications-HGEHM5KW.js").then((m) => m.notificationsCommand)),
|
|
61
|
+
export: lazy("export", () => import("./export-GUAGB7TF.js").then((m) => m.exportCommand)),
|
|
62
|
+
billing: lazy("billing", () => import("./billing-NTBL32EX.js").then((m) => m.billingCommand)),
|
|
63
|
+
tier: lazy("tier", () => import("./tier-5AMLO5KE.js").then((m) => m.tierCommand)),
|
|
64
|
+
team: lazy("team", () => import("./team-WM3RKOQ2.js").then((m) => m.teamCommand)),
|
|
65
|
+
incoming: lazy("incoming", () => import("./incoming-ATZN6JJA.js").then((m) => m.incomingCommand)),
|
|
66
|
+
beta: lazy("beta", () => import("./beta-consent-O736ONE7.js").then((m) => m.betaCommand)),
|
|
67
|
+
webhook: lazy("webhook", () => import("./webhook-UCCCSKDO.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-6VDDV2NM.js").then((m) => m.coreCommand))
|
|
72
72
|
},
|
|
73
73
|
async run() {
|
|
74
|
-
const { showHelp } = await import("./examples-
|
|
74
|
+
const { showHelp } = await import("./examples-KAMXHRLE.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-KAMXHRLE.js");
|
|
367
367
|
await showHelp(leaf, path);
|
|
368
368
|
await new Promise((done) => process.stdout.write("", () => done()));
|
|
369
369
|
process.exit(0);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-V3HHYTBY.js";
|
|
5
5
|
import {
|
|
6
6
|
AS_ACCOUNT,
|
|
7
7
|
BUDGET,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-VHNF6OZD.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ACKKHLUH.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-KXJJFHSD.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
@@ -37,15 +37,15 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-N76WNJ5T.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
44
44
|
readOnly
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QLKGOIWS.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-R4HS2MWM.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveTextOrStdin
|
|
51
51
|
} from "./chunk-ZYURL5VK.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sentAsNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-A3UNS44U.js";
|
|
5
5
|
import "./chunk-UWO2D4HW.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
slimSearchJobs,
|
|
19
19
|
slimSearchPeople,
|
|
20
20
|
slimSearchPosts
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FUX3BRYP.js";
|
|
22
22
|
import {
|
|
23
23
|
AttachError,
|
|
24
24
|
readAttachment,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-VHNF6OZD.js";
|
|
27
27
|
import {
|
|
28
28
|
requireAccount
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-ACKKHLUH.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-KXJJFHSD.js";
|
|
43
43
|
import {
|
|
44
44
|
renderError,
|
|
45
45
|
renderSuccess,
|
|
@@ -49,16 +49,16 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
createClient,
|
|
51
51
|
resolveEffectiveConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-N76WNJ5T.js";
|
|
53
53
|
import {
|
|
54
54
|
GLOBAL_FLAGS,
|
|
55
55
|
READ_SINGLE_FLAGS,
|
|
56
56
|
WRITE_FLAGS,
|
|
57
57
|
readOnly
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-QLKGOIWS.js";
|
|
59
59
|
import {
|
|
60
60
|
DESCRIPTIONS
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-R4HS2MWM.js";
|
|
62
62
|
import "./chunk-FDJMAF7D.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveTextOrStdin
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
setActiveProfile,
|
|
13
13
|
updateProfileField,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-N76WNJ5T.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QLKGOIWS.js";
|
|
19
19
|
import {
|
|
20
20
|
DESCRIPTIONS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-R4HS2MWM.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/config.ts
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
slimInviteReceivedItem,
|
|
13
13
|
slimInviteSent,
|
|
14
14
|
slimInviteSentItem
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FUX3BRYP.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ACKKHLUH.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-KXJJFHSD.js";
|
|
30
30
|
import {
|
|
31
31
|
renderError,
|
|
32
32
|
renderSuccess,
|
|
@@ -36,15 +36,15 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
createClient,
|
|
38
38
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-N76WNJ5T.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
43
43
|
readOnly
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QLKGOIWS.js";
|
|
45
45
|
import {
|
|
46
46
|
DESCRIPTIONS
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-R4HS2MWM.js";
|
|
48
48
|
import {
|
|
49
49
|
nearestSubcommand
|
|
50
50
|
} from "./chunk-FDJMAF7D.js";
|
|
@@ -269,7 +269,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
269
269
|
var connectSentCommand = defineCommand({
|
|
270
270
|
meta: {
|
|
271
271
|
name: "sent",
|
|
272
|
-
description: "Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use `id` with `curviate core connect cancel`; use `user.id` (native member URN
|
|
272
|
+
description: "Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use `id` with `curviate core connect cancel`; use `user.id` (native member URN) to identify the recipient; `user.public_identifier` is present only when Curviate already knows the slug from stored data. `created_at` is the platform's own ISO-8601 timestamp (not an approximation). No total count is available; use `curviate core connect sent --all` and count client-side. A very recently sent invitation may take a few minutes to appear here (LinkedIn-side indexing).",
|
|
273
273
|
risk: "read",
|
|
274
274
|
examples: [
|
|
275
275
|
"curviate core connect sent",
|
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
online,
|
|
8
8
|
positionals,
|
|
9
9
|
preview
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-Q57PZJLX.js";
|
|
11
|
+
import "./chunk-ACKKHLUH.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-UFHT2KZG.js";
|
|
14
|
+
import "./chunk-HOMRAZ6S.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-KXJJFHSD.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-N76WNJ5T.js";
|
|
20
|
+
import "./chunk-QLKGOIWS.js";
|
|
21
|
+
import "./chunk-R4HS2MWM.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
23
|
import "./chunk-QW5K5DTC.js";
|
|
24
24
|
export {
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
online,
|
|
9
9
|
preview,
|
|
10
10
|
readFilter
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-Q57PZJLX.js";
|
|
12
|
+
import "./chunk-ACKKHLUH.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UFHT2KZG.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
23
23
|
import "./chunk-TCUYH5GO.js";
|
|
24
24
|
import {
|
|
25
25
|
intFlag
|
|
@@ -32,19 +32,19 @@ import {
|
|
|
32
32
|
readablePage,
|
|
33
33
|
rejectPaginationModifiersWithoutAll,
|
|
34
34
|
streamAll
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-KXJJFHSD.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
39
|
} from "./chunk-QM57YDJE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-N76WNJ5T.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_SINGLE_FLAGS,
|
|
45
45
|
readOnly
|
|
46
|
-
} from "./chunk-
|
|
47
|
-
import "./chunk-
|
|
46
|
+
} from "./chunk-QLKGOIWS.js";
|
|
47
|
+
import "./chunk-R4HS2MWM.js";
|
|
48
48
|
import "./chunk-ZYURL5VK.js";
|
|
49
49
|
import "./chunk-QW5K5DTC.js";
|
|
50
50
|
|
|
@@ -256,7 +256,7 @@ var listsDelete = defineCommand({
|
|
|
256
256
|
var membership = (verb) => defineCommand({
|
|
257
257
|
meta: {
|
|
258
258
|
name: verb,
|
|
259
|
-
description: `${verb === "add" ? "Add Contacts to" : "Remove Contacts from"} a Contact list. Name the Contacts by id, or with filter flags (the same as \`curviate contact list\`) to act on every match. Count a filter first: \`curviate contact list <same filters> --total --limit 1\`. Needs Automate.`,
|
|
259
|
+
description: `${verb === "add" ? "Add Contacts to" : "Remove Contacts from"} a Contact list. Name the Contacts by id, or with filter flags (the same as \`curviate contact list\`) to act on every match. Count a filter first: \`curviate contact list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`contact list\` calls it --list). Needs Automate.`,
|
|
260
260
|
risk: "high",
|
|
261
261
|
rules: {
|
|
262
262
|
changes: verb === "add" ? "The Contacts join the list." : "The Contacts leave the list; they are not deleted.",
|
|
@@ -271,7 +271,8 @@ var membership = (verb) => defineCommand({
|
|
|
271
271
|
seeAlso: SEE_LISTS,
|
|
272
272
|
examples: [
|
|
273
273
|
`curviate contact lists ${verb} cl_YOUR_LIST_ID con_A con_B`,
|
|
274
|
-
`curviate contact lists ${verb} cl_YOUR_LIST_ID --tag hot --no-email
|
|
274
|
+
`curviate contact lists ${verb} cl_YOUR_LIST_ID --tag hot --no-email`,
|
|
275
|
+
`curviate contact lists ${verb} cl_YOUR_LIST_ID --from-list cl_SOURCE_LIST_ID --connected`
|
|
275
276
|
]
|
|
276
277
|
},
|
|
277
278
|
args: {
|
|
@@ -292,7 +293,7 @@ var contactListsCommand = defineCommand({
|
|
|
292
293
|
meta: { name: "lists", description: "Contact lists: named sets of Contacts a Motion enrolls from." },
|
|
293
294
|
subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
|
|
294
295
|
async run() {
|
|
295
|
-
const { showHelp } = await import("./examples-
|
|
296
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
296
297
|
await showHelp(contactListsCommand, ["curviate", "contact", "lists"]);
|
|
297
298
|
}
|
|
298
299
|
});
|
|
@@ -389,7 +390,7 @@ var contactTagsCommand = defineCommand({
|
|
|
389
390
|
meta: { name: "tags", description: "Tags: labels on Contacts." },
|
|
390
391
|
subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
|
|
391
392
|
async run() {
|
|
392
|
-
const { showHelp } = await import("./examples-
|
|
393
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
393
394
|
await showHelp(contactTagsCommand, ["curviate", "contact", "tags"]);
|
|
394
395
|
}
|
|
395
396
|
});
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
contactImportCommand,
|
|
8
8
|
contactImportsCommand,
|
|
9
9
|
csvRecords
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-5B4T6BMN.js";
|
|
11
|
+
import "./chunk-Q57PZJLX.js";
|
|
12
|
+
import "./chunk-ACKKHLUH.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-UFHT2KZG.js";
|
|
15
|
+
import "./chunk-HOMRAZ6S.js";
|
|
16
16
|
import "./chunk-TCUYH5GO.js";
|
|
17
17
|
import "./chunk-NNV2OYEF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-KXJJFHSD.js";
|
|
19
19
|
import "./chunk-QM57YDJE.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
-
import "./chunk-
|
|
23
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-N76WNJ5T.js";
|
|
21
|
+
import "./chunk-QLKGOIWS.js";
|
|
22
|
+
import "./chunk-R4HS2MWM.js";
|
|
23
|
+
import "./chunk-62YAYAUI.js";
|
|
24
24
|
import "./chunk-FDJMAF7D.js";
|
|
25
25
|
import "./chunk-ZYURL5VK.js";
|
|
26
26
|
import "./chunk-QW5K5DTC.js";
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
DESCRIPTIONS,
|
|
4
|
+
lazy
|
|
5
|
+
} from "./chunk-R4HS2MWM.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-6RFJQMIB.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-BRKFROPE.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-WD3Z3P3Q.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-XVDQ5FTT.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-45WRT5T3.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-2YS7CTXH.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-5RB3BGCQ.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-WGS2IIDC.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-3GH2IPO6.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-ATVJOTWV.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-SLS3ABF4.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-GK3UNS62.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-42ZE7K3K.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-ZC4FY4BA.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-RLVF4NLJ.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-DD3DTXBM.js").then((m) => m.draftCommand))
|
|
38
|
+
},
|
|
39
|
+
async run() {
|
|
40
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
41
|
+
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
coreCommand
|
|
46
|
+
};
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
chunkRows,
|
|
4
4
|
csvRecords
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-5B4T6BMN.js";
|
|
6
|
+
import "./chunk-Q57PZJLX.js";
|
|
7
|
+
import "./chunk-ACKKHLUH.js";
|
|
8
8
|
import {
|
|
9
9
|
writeAtomic
|
|
10
10
|
} from "./chunk-GOICALYQ.js";
|
|
11
11
|
import {
|
|
12
12
|
sendChunked
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-UFHT2KZG.js";
|
|
14
14
|
import {
|
|
15
15
|
fail,
|
|
16
16
|
outputOpts,
|
|
17
17
|
rootClient,
|
|
18
18
|
usage
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
20
20
|
import {
|
|
21
21
|
buildPreviewOutput
|
|
22
22
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,26 +31,26 @@ import {
|
|
|
31
31
|
readablePage,
|
|
32
32
|
rejectPaginationModifiersWithoutAll,
|
|
33
33
|
streamAll
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KXJJFHSD.js";
|
|
35
35
|
import {
|
|
36
36
|
renderSuccess,
|
|
37
37
|
writeNdjsonItem
|
|
38
38
|
} from "./chunk-QM57YDJE.js";
|
|
39
39
|
import {
|
|
40
40
|
downloadBinary
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-N76WNJ5T.js";
|
|
42
42
|
import {
|
|
43
43
|
GLOBAL_FLAGS,
|
|
44
44
|
READ_SINGLE_FLAGS,
|
|
45
45
|
WRITE_SINGLE_FLAGS,
|
|
46
46
|
readOnly
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QLKGOIWS.js";
|
|
48
48
|
import {
|
|
49
49
|
DESCRIPTIONS
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-R4HS2MWM.js";
|
|
51
51
|
import {
|
|
52
52
|
readFileFlag
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-62YAYAUI.js";
|
|
54
54
|
import "./chunk-FDJMAF7D.js";
|
|
55
55
|
import {
|
|
56
56
|
isStdinToken
|
|
@@ -231,7 +231,7 @@ var listCmd = defineCommand({
|
|
|
231
231
|
risk: "read",
|
|
232
232
|
examples: ["curviate do-not-contact list", "curviate do-not-contact list --query jane"]
|
|
233
233
|
},
|
|
234
|
-
args: { ...readOnly(GLOBAL_FLAGS), query: { type: "string", description: "Only entries whose Contact name matches this text." } },
|
|
234
|
+
args: { ...readOnly(GLOBAL_FLAGS), limit: { ...GLOBAL_FLAGS.limit, description: "Entries per page (1 to 100). The API returns no total: count with --all." }, query: { type: "string", description: "Only entries whose Contact name matches this text." } },
|
|
235
235
|
run: online(runList)
|
|
236
236
|
});
|
|
237
237
|
var getCmd = defineCommand({
|
|
@@ -351,7 +351,7 @@ var doNotContactCommand = defineCommand({
|
|
|
351
351
|
meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
|
|
352
352
|
subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd, export: exportCmd, import: importCmd },
|
|
353
353
|
async run() {
|
|
354
|
-
const { showHelp } = await import("./examples-
|
|
354
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
355
355
|
await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
|
|
356
356
|
}
|
|
357
357
|
});
|