@curviate/cli 0.58.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 +30 -0
- package/dist/{account-GSL6BCNX.js → account-BGFQH7MZ.js} +10 -10
- package/dist/{analytics-4FUMJSMC.js → analytics-SLZF5CUV.js} +5 -5
- package/dist/{beta-consent-EC2QF6CM.js → beta-consent-WT5HRWAP.js} +4 -4
- package/dist/{billing-STRNXA4H.js → billing-EY6SVYLK.js} +5 -5
- package/dist/{chunk-KUVJM5CP.js → chunk-2NYGMKWI.js} +1 -1
- package/dist/{chunk-XXB4MAX3.js → chunk-3WXR6WEO.js} +10 -8
- package/dist/{chunk-7F6B7P32.js → chunk-4MGTH4FK.js} +9 -9
- package/dist/{chunk-5OAJ4D65.js → chunk-65UHJVXP.js} +2 -2
- package/dist/{chunk-KS4I4B3Z.js → chunk-7HOSWMH2.js} +5 -5
- package/dist/{chunk-CQHCPZ5I.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-3IL3D5IZ.js → chunk-ER5Y2SS5.js} +2 -2
- package/dist/{chunk-XDPU2YAF.js → chunk-GZMSX7CA.js} +4 -4
- package/dist/{chunk-MLZSXQZC.js → chunk-KQMTZIXC.js} +2 -2
- package/dist/{chunk-WITIJCUU.js → chunk-L6MTOKXI.js} +8 -8
- package/dist/{chunk-WGGZWJPO.js → chunk-OEMFSUEI.js} +14 -14
- package/dist/{chunk-PBJZQZPO.js → chunk-RQ6KL2ZU.js} +1 -1
- package/dist/cli.js +29 -29
- package/dist/{comment-MUELYZYN.js → comment-MIH3WEH2.js} +7 -7
- package/dist/{company-5N7CXORR.js → company-H6UDF2HF.js} +8 -8
- package/dist/{company-record-HWLTP4TV.js → company-record-L6DI7B6I.js} +10 -10
- package/dist/{config-PI7JMQ2L.js → config-C757QH2N.js} +2 -2
- package/dist/{connect-NNZOOPWV.js → connect-GRYHFCF3.js} +12 -12
- package/dist/{contact-VNG7HRCN.js → contact-5LYCPTQH.js} +8 -8
- package/dist/{contact-groups-6JF7VX6Q.js → contact-groups-GZML25CV.js} +16 -16
- package/dist/{contact-import-TMJWY2VD.js → contact-import-VM4RS475.js} +9 -9
- package/dist/core-3ZYU463V.js +46 -0
- package/dist/{do-not-contact-GDVIUNMT.js → do-not-contact-AWDCWC2D.js} +16 -16
- package/dist/{doctor-ZNAR5AZ2.js → doctor-ZW6M7YXP.js} +4 -4
- package/dist/{domain-62YUYVDW.js → domain-CW7G5NS2.js} +5 -5
- package/dist/{draft-ED6RL67K.js → draft-VUNBMMTW.js} +10 -10
- package/dist/{enrollment-LN3Z3RC5.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-S6D4FEAG.js → export-IYXSEGKH.js} +4 -4
- package/dist/{feed-AC7HWUCD.js → feed-3MMVHTB4.js} +6 -6
- package/dist/{group-6N37Q5ZS.js → group-24VZ4XIM.js} +6 -6
- package/dist/{inbox-JFRBROQ2.js → inbox-7N2JKEAC.js} +6 -6
- package/dist/{inboxes-IBZHZKSD.js → inboxes-EPD3JMO3.js} +6 -6
- package/dist/{incoming-YDRPPO24.js → incoming-T2PZOUBL.js} +8 -8
- package/dist/{job-CSRHIFZM.js → job-UD4FBCE2.js} +7 -7
- package/dist/{login-M7ZLOR2U.js → login-GMNDQODN.js} +2 -2
- package/dist/{mailbox-E2K3I2VH.js → mailbox-XC73FZQ6.js} +82 -21
- package/dist/{message-SX6RDGWP.js → message-XFAFZZGT.js} +6 -6
- package/dist/{motion-4HH3OFI6.js → motion-C7WTTC6E.js} +20 -20
- package/dist/{network-JQYLSQDH.js → network-T2H7S3GL.js} +6 -6
- package/dist/{notification-ZAQM463D.js → notification-GMFRGQLD.js} +6 -6
- package/dist/{notifications-N55F3DP3.js → notifications-55U3PGJN.js} +6 -6
- package/dist/{post-SIHHJX3P.js → post-LZ74DJDI.js} +7 -7
- package/dist/{profile-VBHX3QGP.js → profile-HCT4JEIA.js} +12 -12
- package/dist/{recruiter-7AGFKQPI.js → recruiter-UWZM3UMU.js} +7 -7
- package/dist/{sales-nav-ADVFBKWB.js → sales-nav-ZA7CBHRD.js} +6 -6
- package/dist/{search-THJFPGOH.js → search-ZPJLTGM4.js} +15 -15
- package/dist/{setup-D6D7SNND.js → setup-L7EC5V73.js} +4 -4
- package/dist/{signal-TGSF7WEP.js → signal-JVUGQOEV.js} +5 -5
- package/dist/{team-MVNHCWJP.js → team-45R6ZOR7.js} +5 -5
- package/dist/{tier-DAF7Y2HN.js → tier-LQ5UYRUE.js} +4 -4
- package/dist/{unibox-7B6B4SXB.js → unibox-RGMMGAFR.js} +58 -34
- package/dist/{webhook-NUVSTDXF.js → webhook-5MNKEBOQ.js} +5 -5
- package/package.json +2 -2
- package/dist/core-ZRJY3HTF.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-KQMTZIXC.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-ER5Y2SS5.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-65UHJVXP.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-2NYGMKWI.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-RQ6KL2ZU.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-GZMSX7CA.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/contact.ts
|
|
52
52
|
import { defineCommand } from "citty";
|
|
@@ -385,7 +385,7 @@ var writeRules = (changes, undo, retry = "Safe: the same call leaves the same Le
|
|
|
385
385
|
var createCmd = defineCommand({
|
|
386
386
|
meta: {
|
|
387
387
|
name: "create",
|
|
388
|
-
description: "Add a Lead from a LinkedIn profile URL, or update the one it already is (any spelling of the URL is the same person). Nothing is sent to LinkedIn or to the person. Needs
|
|
388
|
+
description: "Add a Lead from a LinkedIn profile URL, or update the one it already is (any spelling of the URL is the same person). Nothing is sent to LinkedIn or to the person. Needs a subscription.",
|
|
389
389
|
risk: "write",
|
|
390
390
|
rules: writeRules("Creates the Lead, or updates it and reports `outcome: updated` or `unchanged`.", "`curviate lead delete <id>`; an update is undone by updating again."),
|
|
391
391
|
errors: { LEAD_LIMIT_REACHED: "the Team is at its Lead, Tag or list-membership cap." },
|
|
@@ -404,7 +404,7 @@ var createCmd = defineCommand({
|
|
|
404
404
|
var updateCmd = defineCommand({
|
|
405
405
|
meta: {
|
|
406
406
|
name: "update",
|
|
407
|
-
description: "Change a Lead's fields. A field you do not name is left as it is; --clear empties one. Tags and lists have their own commands. Needs
|
|
407
|
+
description: "Change a Lead's fields. A field you do not name is left as it is; --clear empties one. Tags and lists have their own commands. Needs a subscription.",
|
|
408
408
|
risk: "write",
|
|
409
409
|
rules: writeRules("The named fields change.", "Update again with the old values."),
|
|
410
410
|
errors: { RESOURCE_NOT_FOUND: "no Lead has this id." },
|
|
@@ -447,7 +447,7 @@ var deleteCmd = defineCommand({
|
|
|
447
447
|
var enrichCmd = defineCommand({
|
|
448
448
|
meta: {
|
|
449
449
|
name: "enrich",
|
|
450
|
-
description: "Fill Leads from their LinkedIn profiles: from what Curviate already holds, and (modes auto, refill, live) by visiting the profile from an Account, which the person can see in their profile visitors. --mode cache_only never visits. Name Leads by id or one --list. Needs
|
|
450
|
+
description: "Fill Leads from their LinkedIn profiles: from what Curviate already holds, and (modes auto, refill, live) by visiting the profile from an Account, which the person can see in their profile visitors. --mode cache_only never visits. Name Leads by id or one --list. Needs a subscription.",
|
|
451
451
|
risk: "high",
|
|
452
452
|
rules: {
|
|
453
453
|
changes: "Lead fields are filled; a visit is queued per Lead that needs one.",
|
|
@@ -503,15 +503,15 @@ var contactCommand = defineCommand({
|
|
|
503
503
|
create: createCmd,
|
|
504
504
|
update: updateCmd,
|
|
505
505
|
delete: deleteCmd,
|
|
506
|
-
import: lazy("contactImport", () => import("./contact-import-
|
|
506
|
+
import: lazy("contactImport", () => import("./contact-import-VM4RS475.js").then((m) => m.contactImportCommand)),
|
|
507
507
|
export: exportCmd,
|
|
508
508
|
enrich: enrichCmd,
|
|
509
|
-
lists: lazy("contactLists", () => import("./contact-groups-
|
|
510
|
-
tags: lazy("contactTags", () => import("./contact-groups-
|
|
511
|
-
imports: lazy("contactImports", () => import("./contact-import-
|
|
509
|
+
lists: lazy("contactLists", () => import("./contact-groups-GZML25CV.js").then((m) => m.contactListsCommand)),
|
|
510
|
+
tags: lazy("contactTags", () => import("./contact-groups-GZML25CV.js").then((m) => m.contactTagsCommand)),
|
|
511
|
+
imports: lazy("contactImports", () => import("./contact-import-VM4RS475.js").then((m) => m.contactImportsCommand))
|
|
512
512
|
},
|
|
513
513
|
async run() {
|
|
514
|
-
const { showHelp } = await import("./examples-
|
|
514
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
515
515
|
await showHelp(contactCommand, ["curviate", "lead"]);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
@@ -274,7 +274,7 @@ import { AsyncLocalStorage } from "async_hooks";
|
|
|
274
274
|
import { Curviate, CurviateError as CurviateError2 } from "@curviate/sdk";
|
|
275
275
|
|
|
276
276
|
// package.json
|
|
277
|
-
var version = "0.
|
|
277
|
+
var version = "0.60.0";
|
|
278
278
|
|
|
279
279
|
// src/lib/client.ts
|
|
280
280
|
function headerStrings(headers) {
|
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
|
});
|