@curviate/cli 0.59.0 → 0.60.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 +9 -0
- package/dist/{account-EUHYWIDH.js → account-BGFQH7MZ.js} +10 -10
- package/dist/{analytics-SQQIMSLF.js → analytics-SLZF5CUV.js} +5 -5
- package/dist/{beta-consent-DFS7YMZR.js → beta-consent-WT5HRWAP.js} +4 -4
- package/dist/{billing-3FRIQFY3.js → billing-EY6SVYLK.js} +5 -5
- package/dist/{chunk-5AJS2V4T.js → chunk-2NYGMKWI.js} +1 -1
- package/dist/{chunk-QRTMRTKA.js → chunk-3WXR6WEO.js} +8 -7
- package/dist/{chunk-7CSXYRSO.js → chunk-4MGTH4FK.js} +7 -7
- package/dist/{chunk-F3FEY4D5.js → chunk-65UHJVXP.js} +2 -2
- package/dist/{chunk-R2MIDSMB.js → chunk-7HOSWMH2.js} +5 -5
- package/dist/{chunk-VKHAL6WT.js → chunk-AJVFJAOR.js} +1 -1
- package/dist/{chunk-EWSOIFG2.js → chunk-DLYVUDNF.js} +1 -1
- package/dist/{chunk-JXDEV33Z.js → chunk-EIPQUQK2.js} +1 -1
- package/dist/{chunk-HJ7YY4HE.js → chunk-ER5Y2SS5.js} +2 -2
- package/dist/{chunk-ZC4S4B32.js → chunk-GZMSX7CA.js} +3 -3
- package/dist/{chunk-HG2G5OAZ.js → chunk-KQMTZIXC.js} +2 -2
- package/dist/{chunk-TNLIV3SW.js → chunk-L6MTOKXI.js} +8 -8
- package/dist/{chunk-72PYX57P.js → chunk-OEMFSUEI.js} +14 -14
- package/dist/{chunk-KD2XY7RS.js → chunk-RQ6KL2ZU.js} +1 -1
- package/dist/cli.js +29 -29
- package/dist/{comment-DA6XPY4F.js → comment-MIH3WEH2.js} +7 -7
- package/dist/{company-IWVNUBWS.js → company-H6UDF2HF.js} +8 -8
- package/dist/{company-record-ZJMW3NC6.js → company-record-L6DI7B6I.js} +10 -10
- package/dist/{config-P4HKPOCW.js → config-C757QH2N.js} +2 -2
- package/dist/{connect-AELFEVR7.js → connect-GRYHFCF3.js} +12 -12
- package/dist/{contact-FHN3A7MJ.js → contact-5LYCPTQH.js} +8 -8
- package/dist/{contact-groups-HNZTN6I6.js → contact-groups-GZML25CV.js} +16 -16
- package/dist/{contact-import-PJFRLCHR.js → contact-import-VM4RS475.js} +9 -9
- package/dist/core-3ZYU463V.js +46 -0
- package/dist/{do-not-contact-KSH36NMT.js → do-not-contact-AWDCWC2D.js} +16 -16
- package/dist/{doctor-BEO4E227.js → doctor-ZW6M7YXP.js} +4 -4
- package/dist/{domain-HF3WXWUT.js → domain-CW7G5NS2.js} +5 -5
- package/dist/{draft-2KBRHBBH.js → draft-VUNBMMTW.js} +10 -10
- package/dist/{enrollment-QPE54QQN.js → enrollment-R2T4GBXR.js} +10 -10
- package/dist/{examples-5FJS47QF.js → examples-G4IC5TJU.js} +1 -1
- package/dist/{exit-codes-LQDMGDII.js → exit-codes-MMGNZCJ5.js} +1 -1
- package/dist/{export-J4JQRE2A.js → export-IYXSEGKH.js} +4 -4
- package/dist/{feed-PHF2ROIT.js → feed-3MMVHTB4.js} +6 -6
- package/dist/{group-SLXDOCHV.js → group-24VZ4XIM.js} +6 -6
- package/dist/{inbox-IDILZLPC.js → inbox-7N2JKEAC.js} +6 -6
- package/dist/{inboxes-QLP5PWTS.js → inboxes-EPD3JMO3.js} +6 -6
- package/dist/{incoming-XG6IBPU6.js → incoming-T2PZOUBL.js} +8 -8
- package/dist/{job-WUYHK6OX.js → job-UD4FBCE2.js} +7 -7
- package/dist/{login-3RIU257N.js → login-GMNDQODN.js} +2 -2
- package/dist/{mailbox-CJRCYZGL.js → mailbox-XC73FZQ6.js} +13 -12
- package/dist/{message-EBVO4ZZI.js → message-XFAFZZGT.js} +6 -6
- package/dist/{motion-7XQ3E4GI.js → motion-C7WTTC6E.js} +20 -20
- package/dist/{network-X5XL44GB.js → network-T2H7S3GL.js} +6 -6
- package/dist/{notification-QNGHG5EO.js → notification-GMFRGQLD.js} +6 -6
- package/dist/{notifications-MOLNELNE.js → notifications-55U3PGJN.js} +6 -6
- package/dist/{post-XYSFN5OP.js → post-LZ74DJDI.js} +7 -7
- package/dist/{profile-7LJLU4Y5.js → profile-HCT4JEIA.js} +12 -12
- package/dist/{recruiter-ALQNIRYR.js → recruiter-UWZM3UMU.js} +7 -7
- package/dist/{sales-nav-HYZXNYCC.js → sales-nav-ZA7CBHRD.js} +6 -6
- package/dist/{search-DNCPCFRR.js → search-ZPJLTGM4.js} +15 -15
- package/dist/{setup-QI5FW6VD.js → setup-L7EC5V73.js} +4 -4
- package/dist/{signal-J2TLIT47.js → signal-JVUGQOEV.js} +5 -5
- package/dist/{team-PPPCJ5HT.js → team-45R6ZOR7.js} +5 -5
- package/dist/{tier-NFWWW34H.js → tier-LQ5UYRUE.js} +4 -4
- package/dist/{unibox-52C7G5LK.js → unibox-RGMMGAFR.js} +19 -19
- package/dist/{webhook-J3JYMSY2.js → webhook-5MNKEBOQ.js} +5 -5
- package/package.json +2 -2
- package/dist/core-R7R44CVA.js +0 -46
package/dist/cli.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-QLKGOIWS.js";
|
|
16
16
|
import {
|
|
17
17
|
lazy
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-GZMSX7CA.js";
|
|
19
19
|
import {
|
|
20
20
|
editDistance
|
|
21
21
|
} from "./chunk-FDJMAF7D.js";
|
|
@@ -45,37 +45,37 @@ 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
|
-
campaign: lazy("campaign", () => import("./motion-
|
|
54
|
-
enrollment: lazy("enrollment", () => import("./enrollment-
|
|
55
|
-
lead: lazy("lead", () => import("./contact-
|
|
56
|
-
company: lazy("companyRecord", () => import("./company-record-
|
|
57
|
-
signal: lazy("signal", () => import("./signal-
|
|
58
|
-
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-
|
|
59
|
-
mailbox: lazy("mailbox", () => import("./mailbox-
|
|
60
|
-
domain: lazy("domain", () => import("./domain-
|
|
61
|
-
unibox: lazy("unibox", () => import("./unibox-
|
|
62
|
-
network: lazy("network", () => import("./network-
|
|
63
|
-
analytics: lazy("analytics", () => import("./analytics-
|
|
64
|
-
notification: lazy("notification", () => import("./notifications-
|
|
65
|
-
export: lazy("export", () => import("./export-
|
|
66
|
-
billing: lazy("billing", () => import("./billing-
|
|
67
|
-
tier: lazy("tier", () => import("./tier-
|
|
68
|
-
team: lazy("team", () => import("./team-
|
|
69
|
-
incoming: lazy("incoming", () => import("./incoming-
|
|
70
|
-
beta: lazy("beta", () => import("./beta-consent-
|
|
71
|
-
webhook: lazy("webhook", () => import("./webhook-
|
|
48
|
+
setup: lazy("setup", () => import("./setup-L7EC5V73.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-ZW6M7YXP.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-GMNDQODN.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-C757QH2N.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-BGFQH7MZ.js").then((m) => m.accountCommand)),
|
|
53
|
+
campaign: lazy("campaign", () => import("./motion-C7WTTC6E.js").then((m) => m.campaignCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-R2T4GBXR.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
lead: lazy("lead", () => import("./contact-5LYCPTQH.js").then((m) => m.contactCommand)),
|
|
56
|
+
company: lazy("companyRecord", () => import("./company-record-L6DI7B6I.js").then((m) => m.companyRecordCommand)),
|
|
57
|
+
signal: lazy("signal", () => import("./signal-JVUGQOEV.js").then((m) => m.signalCommand)),
|
|
58
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-AWDCWC2D.js").then((m) => m.doNotContactCommand)),
|
|
59
|
+
mailbox: lazy("mailbox", () => import("./mailbox-XC73FZQ6.js").then((m) => m.mailboxCommand)),
|
|
60
|
+
domain: lazy("domain", () => import("./domain-CW7G5NS2.js").then((m) => m.domainCommand)),
|
|
61
|
+
unibox: lazy("unibox", () => import("./unibox-RGMMGAFR.js").then((m) => m.uniboxCommand)),
|
|
62
|
+
network: lazy("network", () => import("./network-T2H7S3GL.js").then((m) => m.networkCommand)),
|
|
63
|
+
analytics: lazy("analytics", () => import("./analytics-SLZF5CUV.js").then((m) => m.analyticsCommand)),
|
|
64
|
+
notification: lazy("notification", () => import("./notifications-55U3PGJN.js").then((m) => m.notificationsCommand)),
|
|
65
|
+
export: lazy("export", () => import("./export-IYXSEGKH.js").then((m) => m.exportCommand)),
|
|
66
|
+
billing: lazy("billing", () => import("./billing-EY6SVYLK.js").then((m) => m.billingCommand)),
|
|
67
|
+
tier: lazy("tier", () => import("./tier-LQ5UYRUE.js").then((m) => m.tierCommand)),
|
|
68
|
+
team: lazy("team", () => import("./team-45R6ZOR7.js").then((m) => m.teamCommand)),
|
|
69
|
+
incoming: lazy("incoming", () => import("./incoming-T2PZOUBL.js").then((m) => m.incomingCommand)),
|
|
70
|
+
beta: lazy("beta", () => import("./beta-consent-WT5HRWAP.js").then((m) => m.betaCommand)),
|
|
71
|
+
webhook: lazy("webhook", () => import("./webhook-5MNKEBOQ.js").then((m) => m.webhookCommand)),
|
|
72
72
|
// The LinkedIn building blocks. Reserved product groups
|
|
73
73
|
// (unibox, network, analytics, team) land
|
|
74
74
|
// between `enrollment` and `webhook` with their owning specs.
|
|
75
|
-
core: lazy("core", () => import("./core-
|
|
75
|
+
core: lazy("core", () => import("./core-3ZYU463V.js").then((m) => m.coreCommand))
|
|
76
76
|
},
|
|
77
77
|
async run() {
|
|
78
|
-
const { showHelp } = await import("./examples-
|
|
78
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
79
79
|
await showHelp(main, ["curviate"]);
|
|
80
80
|
}
|
|
81
81
|
});
|
|
@@ -367,7 +367,7 @@ async function dispatch(root, rawArgs) {
|
|
|
367
367
|
helpFor = "curviate";
|
|
368
368
|
if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
|
|
369
369
|
const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
|
|
370
|
-
const { showHelp } = await import("./examples-
|
|
370
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
371
371
|
await showHelp(leaf, path);
|
|
372
372
|
await new Promise((done) => process.stdout.write("", () => done()));
|
|
373
373
|
process.exit(0);
|
|
@@ -455,7 +455,7 @@ async function dispatch(root, rawArgs) {
|
|
|
455
455
|
if (code === "EARG") process.stderr.write(helpPointer());
|
|
456
456
|
const { CurviateError } = await import("@curviate/sdk");
|
|
457
457
|
if (err instanceof CurviateError) {
|
|
458
|
-
const { getExitCode } = await import("./exit-codes-
|
|
458
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
459
459
|
process.exit(getExitCode(err));
|
|
460
460
|
}
|
|
461
461
|
process.exit(code === "EARG" ? 2 : 1);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AJVFJAOR.js";
|
|
5
5
|
import "./chunk-UEAX6KUB.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-JY26SUNH.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KQMTZIXC.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-2NYGMKWI.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-RQ6KL2ZU.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
} from "./chunk-QLKGOIWS.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GZMSX7CA.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveTextOrStdin
|
|
51
51
|
} from "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-DLYVUDNF.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-MMGNZCJ5.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-L7JH3W56.js";
|
|
7
7
|
import {
|
|
8
8
|
sentAsNotice
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-7HOSWMH2.js";
|
|
10
10
|
import "./chunk-UWO2D4HW.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveIdentifier
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
slimSearchJobs,
|
|
24
24
|
slimSearchPeople,
|
|
25
25
|
slimSearchPosts
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-EIPQUQK2.js";
|
|
27
27
|
import {
|
|
28
28
|
AttachError,
|
|
29
29
|
readAttachment,
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-JY26SUNH.js";
|
|
32
32
|
import {
|
|
33
33
|
requireAccount
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-KQMTZIXC.js";
|
|
35
35
|
import {
|
|
36
36
|
buildPreviewOutput
|
|
37
37
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
readablePage,
|
|
45
45
|
rejectPaginationModifiersWithoutAll,
|
|
46
46
|
streamAll
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-2NYGMKWI.js";
|
|
48
48
|
import {
|
|
49
49
|
renderError,
|
|
50
50
|
renderSuccess,
|
|
@@ -54,7 +54,7 @@ import {
|
|
|
54
54
|
import {
|
|
55
55
|
createClient,
|
|
56
56
|
resolveEffectiveConfig
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
58
58
|
import {
|
|
59
59
|
GLOBAL_FLAGS,
|
|
60
60
|
READ_SINGLE_FLAGS,
|
|
@@ -63,12 +63,12 @@ import {
|
|
|
63
63
|
} from "./chunk-QLKGOIWS.js";
|
|
64
64
|
import {
|
|
65
65
|
DESCRIPTIONS
|
|
66
|
-
} from "./chunk-
|
|
66
|
+
} from "./chunk-GZMSX7CA.js";
|
|
67
67
|
import "./chunk-FDJMAF7D.js";
|
|
68
68
|
import {
|
|
69
69
|
resolveTextOrStdin
|
|
70
70
|
} from "./chunk-ZYURL5VK.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-DLYVUDNF.js";
|
|
72
72
|
|
|
73
73
|
// src/commands/company.ts
|
|
74
74
|
import { defineCommand } from "citty";
|
|
@@ -102,7 +102,7 @@ async function resolveCompanyId(ns, raw) {
|
|
|
102
102
|
async function handleSdkError(err, outOpts, out) {
|
|
103
103
|
const { CurviateError } = await import("@curviate/sdk");
|
|
104
104
|
if (err instanceof CurviateError) {
|
|
105
|
-
const { getExitCode } = await import("./exit-codes-
|
|
105
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
106
106
|
renderError(err, outOpts, out);
|
|
107
107
|
process.exit(getExitCode(err));
|
|
108
108
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
csvRecords
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-L6MTOKXI.js";
|
|
5
|
+
import "./chunk-OEMFSUEI.js";
|
|
6
|
+
import "./chunk-KQMTZIXC.js";
|
|
7
7
|
import "./chunk-GOICALYQ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-ER5Y2SS5.js";
|
|
9
9
|
import {
|
|
10
10
|
fail,
|
|
11
11
|
listFlag,
|
|
12
12
|
outputOpts,
|
|
13
13
|
rootClient,
|
|
14
14
|
usage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-65UHJVXP.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
19
19
|
import "./chunk-NNV2OYEF.js";
|
|
20
20
|
import {
|
|
21
21
|
readableObject
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-2NYGMKWI.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess
|
|
25
25
|
} from "./chunk-QM57YDJE.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-RQ6KL2ZU.js";
|
|
27
27
|
import {
|
|
28
28
|
READ_SINGLE_FLAGS,
|
|
29
29
|
WRITE_SINGLE_FLAGS,
|
|
@@ -31,13 +31,13 @@ import {
|
|
|
31
31
|
} from "./chunk-QLKGOIWS.js";
|
|
32
32
|
import {
|
|
33
33
|
DESCRIPTIONS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-GZMSX7CA.js";
|
|
35
35
|
import {
|
|
36
36
|
readFileFlag
|
|
37
37
|
} from "./chunk-JKOQX46J.js";
|
|
38
38
|
import "./chunk-FDJMAF7D.js";
|
|
39
39
|
import "./chunk-ZYURL5VK.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-DLYVUDNF.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/company-record.ts
|
|
43
43
|
import { defineCommand } from "citty";
|
|
@@ -203,7 +203,7 @@ var companyRecordCommand = defineCommand({
|
|
|
203
203
|
meta: { name: "company", description: DESCRIPTIONS.companyRecord },
|
|
204
204
|
subCommands: { get: getCmd, fields: fieldsCmd },
|
|
205
205
|
async run() {
|
|
206
|
-
const { showHelp } = await import("./examples-
|
|
206
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
207
207
|
await showHelp(companyRecordCommand, ["curviate", "company"]);
|
|
208
208
|
}
|
|
209
209
|
});
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
setActiveProfile,
|
|
13
13
|
updateProfileField,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
18
|
} from "./chunk-QLKGOIWS.js";
|
|
19
19
|
import {
|
|
20
20
|
DESCRIPTIONS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GZMSX7CA.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-EIPQUQK2.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-KQMTZIXC.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-2NYGMKWI.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-RQ6KL2ZU.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
@@ -44,12 +44,12 @@ import {
|
|
|
44
44
|
} from "./chunk-QLKGOIWS.js";
|
|
45
45
|
import {
|
|
46
46
|
DESCRIPTIONS
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-GZMSX7CA.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-DLYVUDNF.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-MMGNZCJ5.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-MMGNZCJ5.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-MMGNZCJ5.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-MMGNZCJ5.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-MMGNZCJ5.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-MMGNZCJ5.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-OEMFSUEI.js";
|
|
11
|
+
import "./chunk-KQMTZIXC.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-ER5Y2SS5.js";
|
|
14
|
+
import "./chunk-65UHJVXP.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-2NYGMKWI.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-RQ6KL2ZU.js";
|
|
20
20
|
import "./chunk-QLKGOIWS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-GZMSX7CA.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-DLYVUDNF.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-OEMFSUEI.js";
|
|
12
|
+
import "./chunk-KQMTZIXC.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-ER5Y2SS5.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-65UHJVXP.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-2NYGMKWI.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
39
|
} from "./chunk-QM57YDJE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-RQ6KL2ZU.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-QLKGOIWS.js";
|
|
47
|
-
import "./chunk-
|
|
47
|
+
import "./chunk-GZMSX7CA.js";
|
|
48
48
|
import "./chunk-ZYURL5VK.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-DLYVUDNF.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/contact-groups.ts
|
|
52
52
|
import { defineCommand } from "citty";
|
|
@@ -125,7 +125,7 @@ var listsGet = defineCommand({
|
|
|
125
125
|
var listsCreate = defineCommand({
|
|
126
126
|
meta: {
|
|
127
127
|
name: "create",
|
|
128
|
-
description: "Create an empty Lead list. Fill it with `curviate lead lists add`, `curviate lead import --list`, or build it from other lists with `curviate lead lists combine`. Needs
|
|
128
|
+
description: "Create an empty Lead list. Fill it with `curviate lead lists add`, `curviate lead import --list`, or build it from other lists with `curviate lead lists combine`. Needs a subscription.",
|
|
129
129
|
risk: "write",
|
|
130
130
|
rules: {
|
|
131
131
|
changes: "A new, empty Lead list.",
|
|
@@ -156,7 +156,7 @@ var listsCreate = defineCommand({
|
|
|
156
156
|
var listsCombine = defineCommand({
|
|
157
157
|
meta: {
|
|
158
158
|
name: "combine",
|
|
159
|
-
description: "Create a new Lead list from other lists: the Leads in any of them (--list a --list b), in all of them (--list-match all), minus those in some others (--not-list). Any other filter flag narrows it too. The new list holds the Leads that match now; it does not follow later changes to the source lists. Needs
|
|
159
|
+
description: "Create a new Lead list from other lists: the Leads in any of them (--list a --list b), in all of them (--list-match all), minus those in some others (--not-list). Any other filter flag narrows it too. The new list holds the Leads that match now; it does not follow later changes to the source lists. Needs a subscription.",
|
|
160
160
|
risk: "write",
|
|
161
161
|
rules: {
|
|
162
162
|
changes: "A new Lead list holding every Lead the filter matches at this moment. The source lists are unchanged.",
|
|
@@ -193,7 +193,7 @@ var listsCombine = defineCommand({
|
|
|
193
193
|
var listsUpdate = defineCommand({
|
|
194
194
|
meta: {
|
|
195
195
|
name: "update",
|
|
196
|
-
description: 'Rename a Lead list or change its description (--description "" clears it). Needs
|
|
196
|
+
description: 'Rename a Lead list or change its description (--description "" clears it). Needs a subscription.',
|
|
197
197
|
risk: "write",
|
|
198
198
|
rules: {
|
|
199
199
|
changes: "The list's name or description.",
|
|
@@ -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 Leads to" : "Remove Leads from"} a Lead list. Name the Leads by id, or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`lead list\` calls it --list). Needs
|
|
259
|
+
description: `${verb === "add" ? "Add Leads to" : "Remove Leads from"} a Lead list. Name the Leads by id, or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`lead list\` calls it --list). Needs a subscription.`,
|
|
260
260
|
risk: "high",
|
|
261
261
|
rules: {
|
|
262
262
|
changes: verb === "add" ? "The Leads join the list." : "The Leads leave the list; they are not deleted.",
|
|
@@ -293,7 +293,7 @@ var contactListsCommand = defineCommand({
|
|
|
293
293
|
meta: { name: "lists", description: "Lead lists: named sets of Leads a Campaign enrolls from." },
|
|
294
294
|
subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
|
|
295
295
|
async run() {
|
|
296
|
-
const { showHelp } = await import("./examples-
|
|
296
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
297
297
|
await showHelp(contactListsCommand, ["curviate", "lead", "lists"]);
|
|
298
298
|
}
|
|
299
299
|
});
|
|
@@ -306,7 +306,7 @@ var tagsList = defineCommand({
|
|
|
306
306
|
var tagsUpdate = defineCommand({
|
|
307
307
|
meta: {
|
|
308
308
|
name: "update",
|
|
309
|
-
description: "Rename a Tag on every Lead that carries it. A name another Tag has is refused. Needs
|
|
309
|
+
description: "Rename a Tag on every Lead that carries it. A name another Tag has is refused. Needs a subscription.",
|
|
310
310
|
risk: "write",
|
|
311
311
|
rules: {
|
|
312
312
|
changes: "The Tag's name, on all its Leads.",
|
|
@@ -360,7 +360,7 @@ var tagsDelete = defineCommand({
|
|
|
360
360
|
var tagging = (verb) => defineCommand({
|
|
361
361
|
meta: {
|
|
362
362
|
name: verb,
|
|
363
|
-
description: `${verb === "add" ? "Put a Tag on" : "Take a Tag off"} Leads, named by id or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. Needs
|
|
363
|
+
description: `${verb === "add" ? "Put a Tag on" : "Take a Tag off"} Leads, named by id or with filter flags (the same as \`curviate lead list\`) to act on every match. Count a filter first: \`curviate lead list <same filters> --total --limit 1\`. Needs a subscription.`,
|
|
364
364
|
risk: "high",
|
|
365
365
|
rules: {
|
|
366
366
|
changes: verb === "add" ? "The Tag is put on the Leads (created if new)." : "The Tag is taken off the Leads.",
|
|
@@ -390,7 +390,7 @@ var contactTagsCommand = defineCommand({
|
|
|
390
390
|
meta: { name: "tags", description: "Tags: labels on Leads." },
|
|
391
391
|
subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
|
|
392
392
|
async run() {
|
|
393
|
-
const { showHelp } = await import("./examples-
|
|
393
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
394
394
|
await showHelp(contactTagsCommand, ["curviate", "lead", "tags"]);
|
|
395
395
|
}
|
|
396
396
|
});
|
|
@@ -7,23 +7,23 @@ import {
|
|
|
7
7
|
contactImportCommand,
|
|
8
8
|
contactImportsCommand,
|
|
9
9
|
csvRecords
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-L6MTOKXI.js";
|
|
11
|
+
import "./chunk-OEMFSUEI.js";
|
|
12
|
+
import "./chunk-KQMTZIXC.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-ER5Y2SS5.js";
|
|
15
|
+
import "./chunk-65UHJVXP.js";
|
|
16
16
|
import "./chunk-TCUYH5GO.js";
|
|
17
17
|
import "./chunk-NNV2OYEF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-2NYGMKWI.js";
|
|
19
19
|
import "./chunk-QM57YDJE.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-RQ6KL2ZU.js";
|
|
21
21
|
import "./chunk-QLKGOIWS.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-GZMSX7CA.js";
|
|
23
23
|
import "./chunk-JKOQX46J.js";
|
|
24
24
|
import "./chunk-FDJMAF7D.js";
|
|
25
25
|
import "./chunk-ZYURL5VK.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-DLYVUDNF.js";
|
|
27
27
|
export {
|
|
28
28
|
IMPORT_MAX_BODY_BYTES,
|
|
29
29
|
IMPORT_MAX_ROWS,
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
DESCRIPTIONS,
|
|
4
|
+
lazy
|
|
5
|
+
} from "./chunk-GZMSX7CA.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-HCT4JEIA.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-H6UDF2HF.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-UD4FBCE2.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-GRYHFCF3.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-ZPJLTGM4.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-7N2JKEAC.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-EPD3JMO3.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-XFAFZZGT.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-LZ74DJDI.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-MIH3WEH2.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-ZA7CBHRD.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-UWZM3UMU.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-24VZ4XIM.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-3MMVHTB4.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-GMFRGQLD.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-VUNBMMTW.js").then((m) => m.draftCommand))
|
|
38
|
+
},
|
|
39
|
+
async run() {
|
|
40
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
41
|
+
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
|
+
}
|
|
43
|
+
});
|
|
44
|
+
export {
|
|
45
|
+
coreCommand
|
|
46
|
+
};
|