@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/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,15 @@ The format follows [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
|
|
|
6
6
|
Versioning follows [Semantic Versioning](https://semver.org/spec/v2.0.0.html):
|
|
7
7
|
a new command or flag is a minor; a breaking command/flag/exit-code change is a major (before 1.0.0, a minor); a fix is a patch.
|
|
8
8
|
|
|
9
|
+
## [0.60.0] - 2026-11-19
|
|
10
|
+
|
|
11
|
+
Requires `@curviate/sdk` 0.56.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (production's document, server commit `b1332f4c2`); `commands.json` regenerated. Text only: no command, flag or exit code changes.
|
|
12
|
+
|
|
13
|
+
- `mailbox purchase get|check` says, when the order carries `charge_unknown: true`, what the server says: "We are checking whether this order was charged. If it was, the charge is given back in full." (and `get --help` names the field); the field shows in `--json` as served.
|
|
14
|
+
- `analytics email --help` says what an agent must pass on: a rate is still maturing while more than a third of its emails were sent in the last 7 days, and a bounce rate needs 50 emails sent to mean anything.
|
|
15
|
+
- **"Needs Automate" is gone**: the one plan includes every feature, so `lead import`, `lead imports pause|resume|stop`, `lead lists`, `draft`, `campaign`, `enrollment`, `unibox`, `do-not-contact` and the rest say "Needs a subscription", and a `TIER_REQUIRED` hint reads "your Team needs a subscription for ..." (as the API's operation descriptions do). The previous prices keep their names in `billing move`.
|
|
16
|
+
- `MAILBOX_PURCHASE_TRIAL` (`mailbox buy`) and the quote's "It cannot be ordered now" line say what the server does: a Team without a paid plan cannot order Mailboxes from Curviate, whether on a trial, after a trial that ended without a purchase, never subscribed, or with a payment past due; nothing was charged.
|
|
17
|
+
|
|
9
18
|
## [0.59.0] - 2026-11-19
|
|
10
19
|
|
|
11
20
|
Requires `@curviate/sdk` 0.55.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (staging's document, server commit `ed310e031`); `commands.json` regenerated.
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
slimAccountGet,
|
|
4
4
|
slimAccountList,
|
|
5
5
|
slimAccountListItem
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-EIPQUQK2.js";
|
|
7
7
|
import {
|
|
8
8
|
checkCredentialConflicts,
|
|
9
9
|
resolveSecret
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
grammarParams,
|
|
15
15
|
renderOverview,
|
|
16
16
|
windowParams
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-3WXR6WEO.js";
|
|
18
18
|
import "./chunk-PPGKQJKU.js";
|
|
19
19
|
import {
|
|
20
20
|
print,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
outputOpts,
|
|
27
27
|
rootClient,
|
|
28
28
|
usage
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-65UHJVXP.js";
|
|
30
30
|
import {
|
|
31
31
|
buildPreviewOutput
|
|
32
32
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
readablePage,
|
|
42
42
|
rejectPaginationModifiersWithoutAll,
|
|
43
43
|
streamAll
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-2NYGMKWI.js";
|
|
45
45
|
import {
|
|
46
46
|
isJsonMode,
|
|
47
47
|
renderError,
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
createClient,
|
|
59
59
|
resolveEffectiveConfig
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
61
61
|
import {
|
|
62
62
|
GLOBAL_FLAGS,
|
|
63
63
|
READ_SINGLE_FLAGS,
|
|
@@ -67,7 +67,7 @@ import {
|
|
|
67
67
|
} from "./chunk-QLKGOIWS.js";
|
|
68
68
|
import {
|
|
69
69
|
DESCRIPTIONS
|
|
70
|
-
} from "./chunk-
|
|
70
|
+
} from "./chunk-GZMSX7CA.js";
|
|
71
71
|
import {
|
|
72
72
|
parseDocument,
|
|
73
73
|
readFileFlag
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-ZYURL5VK.js";
|
|
80
80
|
import {
|
|
81
81
|
AUTH_NEEDED
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-DLYVUDNF.js";
|
|
83
83
|
|
|
84
84
|
// src/commands/account-insights.ts
|
|
85
85
|
import { defineCommand } from "citty";
|
|
@@ -723,7 +723,7 @@ var connectRequestCommand = defineCommand4({
|
|
|
723
723
|
meta: { name: "connect-request", description: "Connect a LinkedIn account without any credential passing through you: create a request, give the person its link, read it until done." },
|
|
724
724
|
subCommands: { create: createCmd, get: getCmd2, cancel: cancelCmd },
|
|
725
725
|
async run() {
|
|
726
|
-
const { showHelp } = await import("./examples-
|
|
726
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
727
727
|
await showHelp(connectRequestCommand, ["curviate", "account", "connect-request"]);
|
|
728
728
|
}
|
|
729
729
|
});
|
|
@@ -754,7 +754,7 @@ function resolveOutputOpts(flags) {
|
|
|
754
754
|
async function handleError(err, outOpts, out) {
|
|
755
755
|
const { CurviateError } = await import("@curviate/sdk");
|
|
756
756
|
if (err instanceof CurviateError) {
|
|
757
|
-
const { getExitCode } = await import("./exit-codes-
|
|
757
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
758
758
|
renderError(err, outOpts, out);
|
|
759
759
|
process.exit(getExitCode(err));
|
|
760
760
|
}
|
|
@@ -1953,7 +1953,7 @@ var accountUpdateCommand = defineCommand5({
|
|
|
1953
1953
|
"proxy-port": { type: "string", description: "Proxy port." },
|
|
1954
1954
|
"proxy-username": { type: "string", description: "Proxy auth username." },
|
|
1955
1955
|
"proxy-password": { type: "string", description: `Proxy auth password. ${OPTIONAL_SECRET_WARNING("CURVIATE_PROXY_PASSWORD")}` },
|
|
1956
|
-
"save-connections-as-leads": { type: "boolean", description: "Save this account's Connections as Leads (
|
|
1956
|
+
"save-connections-as-leads": { type: "boolean", description: "Save this account's Connections as Leads (needs a subscription; on by default): each person becomes one Lead in your team, do-not-contact people skipped. Turning it on also saves the Connections already synced; --no-save-connections-as-leads stops it and keeps the Leads saved so far." }
|
|
1957
1957
|
},
|
|
1958
1958
|
async run({ args }) {
|
|
1959
1959
|
const flags = args;
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
grammarParams,
|
|
7
7
|
renderOverview,
|
|
8
8
|
windowParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-3WXR6WEO.js";
|
|
10
10
|
import "./chunk-PPGKQJKU.js";
|
|
11
11
|
import "./chunk-5S3MJVI5.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-65UHJVXP.js";
|
|
13
13
|
import "./chunk-NNV2OYEF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-2NYGMKWI.js";
|
|
15
15
|
import "./chunk-QM57YDJE.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-RQ6KL2ZU.js";
|
|
17
17
|
import "./chunk-QLKGOIWS.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-GZMSX7CA.js";
|
|
19
19
|
import "./chunk-ZYURL5VK.js";
|
|
20
20
|
export {
|
|
21
21
|
GRAMMAR_ARGS,
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-65UHJVXP.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
11
11
|
import {
|
|
12
12
|
renderSuccess
|
|
13
13
|
} from "./chunk-QM57YDJE.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-RQ6KL2ZU.js";
|
|
15
15
|
import {
|
|
16
16
|
READ_SINGLE_FLAGS,
|
|
17
17
|
WRITE_SINGLE_FLAGS,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-QLKGOIWS.js";
|
|
20
20
|
import {
|
|
21
21
|
DESCRIPTIONS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-GZMSX7CA.js";
|
|
23
23
|
import "./chunk-ZYURL5VK.js";
|
|
24
24
|
|
|
25
25
|
// src/commands/beta-consent.ts
|
|
@@ -72,7 +72,7 @@ var betaCommand = defineCommand({
|
|
|
72
72
|
meta: { name: "beta", description: DESCRIPTIONS.beta },
|
|
73
73
|
subCommands: { status: statusCmd, update: updateCmd },
|
|
74
74
|
async run() {
|
|
75
|
-
const { showHelp } = await import("./examples-
|
|
75
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
76
76
|
await showHelp(betaCommand, ["curviate", "beta"]);
|
|
77
77
|
}
|
|
78
78
|
});
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
billingCommand,
|
|
4
4
|
confirmMoney
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4MGTH4FK.js";
|
|
6
6
|
import "./chunk-GOICALYQ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-65UHJVXP.js";
|
|
8
8
|
import "./chunk-TCUYH5GO.js";
|
|
9
9
|
import "./chunk-NNV2OYEF.js";
|
|
10
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-2NYGMKWI.js";
|
|
11
11
|
import "./chunk-QM57YDJE.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-RQ6KL2ZU.js";
|
|
13
13
|
import "./chunk-QLKGOIWS.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-GZMSX7CA.js";
|
|
15
15
|
import "./chunk-ZYURL5VK.js";
|
|
16
16
|
export {
|
|
17
17
|
billingCommand,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-65UHJVXP.js";
|
|
17
17
|
import {
|
|
18
18
|
intFlag
|
|
19
19
|
} from "./chunk-NNV2OYEF.js";
|
|
@@ -24,14 +24,14 @@ import {
|
|
|
24
24
|
readablePage,
|
|
25
25
|
rejectPaginationModifiersWithoutAll,
|
|
26
26
|
streamAll
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-2NYGMKWI.js";
|
|
28
28
|
import {
|
|
29
29
|
renderSuccess,
|
|
30
30
|
writeNdjsonItem
|
|
31
31
|
} from "./chunk-QM57YDJE.js";
|
|
32
32
|
import {
|
|
33
33
|
downloadBinary
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
READ_SINGLE_FLAGS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-QLKGOIWS.js";
|
|
40
40
|
import {
|
|
41
41
|
DESCRIPTIONS
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-GZMSX7CA.js";
|
|
43
43
|
|
|
44
44
|
// src/commands/analytics.ts
|
|
45
45
|
import { defineCommand } from "citty";
|
|
@@ -341,7 +341,7 @@ var eventsCommand = defineCommand({
|
|
|
341
341
|
meta: { name: "events", description: "The records behind the analytics numbers." },
|
|
342
342
|
subCommands: { list: eventsListCmd },
|
|
343
343
|
async run() {
|
|
344
|
-
const { showHelp } = await import("./examples-
|
|
344
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
345
345
|
await showHelp(eventsCommand, ["curviate", "analytics", "events"]);
|
|
346
346
|
}
|
|
347
347
|
});
|
|
@@ -417,7 +417,8 @@ var emailCmd = defineCommand({
|
|
|
417
417
|
output: [
|
|
418
418
|
"reply: Leads first emailed in the window whose first reply, by email or on LinkedIn, came after that email, so far; an out-of-office reply is never a reply.",
|
|
419
419
|
"open: opened over tracked emails; null when no Mailbox in scope tracks opens (`tracking`).",
|
|
420
|
-
"bounce: bounced over sent. opt-out: Leads who opted out over Leads first emailed.",
|
|
420
|
+
"bounce: bounced over sent; a bounce rate needs 50 emails sent to mean anything (the dashboard shows none below that). opt-out: Leads who opted out over Leads first emailed.",
|
|
421
|
+
"A rate is still maturing while more than a third of its emails were sent in the last 7 days (`maturing`): it may still rise, so say so. `low_sample` is true under 30.",
|
|
421
422
|
"--include weeks adds the reply rate by week of first email. A compact line by default; --json (or piped) prints the API body.",
|
|
422
423
|
"landing: where mail lands, as verdicts, each with a reason when there is nothing to read: warm_up.reason warm_up_off (warm-up is off), weekly_check.reason no_test_inboxes (not available), tests.reason no_test_inboxes or no_test_run (none run yet); a Mailbox's reputation_reason warm_up_off (no score while warm-up is off). Show them as served."
|
|
423
424
|
],
|
|
@@ -444,7 +445,7 @@ var analyticsCommand = defineCommand({
|
|
|
444
445
|
export: exportCmd
|
|
445
446
|
},
|
|
446
447
|
async run() {
|
|
447
|
-
const { showHelp } = await import("./examples-
|
|
448
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
448
449
|
await showHelp(analyticsCommand, ["curviate", "analytics"]);
|
|
449
450
|
}
|
|
450
451
|
});
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-65UHJVXP.js";
|
|
11
11
|
import {
|
|
12
12
|
buildPreviewOutput
|
|
13
13
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
readablePage,
|
|
22
22
|
rejectPaginationModifiersWithoutAll,
|
|
23
23
|
streamAll
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-2NYGMKWI.js";
|
|
25
25
|
import {
|
|
26
26
|
renderSuccess,
|
|
27
27
|
writeNdjsonItem
|
|
28
28
|
} from "./chunk-QM57YDJE.js";
|
|
29
29
|
import {
|
|
30
30
|
downloadBinary
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
32
32
|
import {
|
|
33
33
|
GLOBAL_FLAGS,
|
|
34
34
|
READ_SINGLE_FLAGS,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-QLKGOIWS.js";
|
|
38
38
|
import {
|
|
39
39
|
DESCRIPTIONS
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-GZMSX7CA.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/billing.ts
|
|
43
43
|
import { defineCommand } from "citty";
|
|
@@ -314,7 +314,7 @@ var seatsCmd = defineCommand({
|
|
|
314
314
|
meta: { name: "seats", description: "Buy seats inside the spending cap, or remove one at the end of the period. Cancelling the subscription is the dashboard's." },
|
|
315
315
|
subCommands: { add: seatsAddCmd, remove: seatsRemoveCmd },
|
|
316
316
|
async run() {
|
|
317
|
-
const { showHelp } = await import("./examples-
|
|
317
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
318
318
|
await showHelp(seatsCmd, ["curviate", "billing", "seats"]);
|
|
319
319
|
}
|
|
320
320
|
});
|
|
@@ -340,7 +340,7 @@ var periodCmd = defineCommand({
|
|
|
340
340
|
meta: { name: "period", description: "Your billing period: switch monthly to yearly." },
|
|
341
341
|
subCommands: { set: periodSetCmd },
|
|
342
342
|
async run() {
|
|
343
|
-
const { showHelp } = await import("./examples-
|
|
343
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
344
344
|
await showHelp(periodCmd, ["curviate", "billing", "period"]);
|
|
345
345
|
}
|
|
346
346
|
});
|
|
@@ -348,7 +348,7 @@ var billingCommand = defineCommand({
|
|
|
348
348
|
meta: { name: "billing", description: DESCRIPTIONS.billing },
|
|
349
349
|
subCommands: { quote: quoteCmd, cap: capCmd, changes: changesCmd, invoices: invoicesCmd, price: priceCmd, seats: seatsCmd, period: periodCmd },
|
|
350
350
|
async run() {
|
|
351
|
-
const { showHelp } = await import("./examples-
|
|
351
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
352
352
|
await showHelp(billingCommand, ["curviate", "billing"]);
|
|
353
353
|
}
|
|
354
354
|
});
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
8
8
|
resolveEffectiveConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
10
10
|
|
|
11
11
|
// src/lib/root-command.ts
|
|
12
12
|
var outputOpts = (f) => ({
|
|
@@ -35,7 +35,7 @@ async function rootClient(f) {
|
|
|
35
35
|
async function fail(err, f) {
|
|
36
36
|
const { CurviateError } = await import("@curviate/sdk");
|
|
37
37
|
if (err instanceof CurviateError) {
|
|
38
|
-
const { getExitCode } = await import("./exit-codes-
|
|
38
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
39
39
|
renderError(err, outputOpts(f), process);
|
|
40
40
|
process.exit(getExitCode(err));
|
|
41
41
|
}
|
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
} from "./chunk-JY26SUNH.js";
|
|
22
22
|
import {
|
|
23
23
|
requireAccount
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-KQMTZIXC.js";
|
|
25
25
|
import {
|
|
26
26
|
buildPreviewOutput
|
|
27
27
|
} from "./chunk-TCUYH5GO.js";
|
|
28
28
|
import {
|
|
29
29
|
readableId,
|
|
30
30
|
readableObject
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-2NYGMKWI.js";
|
|
32
32
|
import {
|
|
33
33
|
renderError,
|
|
34
34
|
renderSuccess,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
createClient,
|
|
39
39
|
downloadBinary,
|
|
40
40
|
resolveEffectiveConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
42
42
|
import {
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_FLAGS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./chunk-QLKGOIWS.js";
|
|
47
47
|
import {
|
|
48
48
|
DESCRIPTIONS
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-GZMSX7CA.js";
|
|
50
50
|
import {
|
|
51
51
|
looksLikeCommandWord,
|
|
52
52
|
nearestSubcommand
|
|
@@ -153,7 +153,7 @@ var MEMBER_PROVIDER_ID_RE = /^A[CDE][A-Za-z0-9_-]{4,}$/;
|
|
|
153
153
|
async function handleSdkError(err, outOpts, out) {
|
|
154
154
|
const { CurviateError } = await import("@curviate/sdk");
|
|
155
155
|
if (err instanceof CurviateError) {
|
|
156
|
-
const { getExitCode } = await import("./exit-codes-
|
|
156
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
157
157
|
renderError(err, outOpts, out);
|
|
158
158
|
process.exit(getExitCode(err));
|
|
159
159
|
}
|
|
@@ -212,7 +212,7 @@ var EXIT_CODE_MAP = {
|
|
|
212
212
|
PLACEMENT_TEST_ALLOWANCE_EXHAUSTED: 5,
|
|
213
213
|
PLACEMENT_TESTS_UNAVAILABLE: 1,
|
|
214
214
|
// Mailboxes from Curviate: a missing order is 4; a domain refused as named never succeeds as sent (2); an order
|
|
215
|
-
// already waiting on the domain is a state (8); a
|
|
215
|
+
// already waiting on the domain is a state (8); a Team without a paid plan cannot order (11, billing); orders paused is "not
|
|
216
216
|
// available" (1).
|
|
217
217
|
MAILBOX_PURCHASE_NOT_FOUND: 4,
|
|
218
218
|
DOMAIN_IN_USE: 2,
|
|
@@ -274,7 +274,7 @@ function slimAccountGet(data) {
|
|
|
274
274
|
account_states: d["account_states"] ?? [],
|
|
275
275
|
// Curviate's inference of how LinkedIn sees the account: {state, factor, reasons, until}; absent on an Account you can see but not operate
|
|
276
276
|
...d["health"] !== void 0 ? { health: d["health"] } : {},
|
|
277
|
-
// absent without
|
|
277
|
+
// absent without a subscription: shown only when the API sends them
|
|
278
278
|
...d["save_connections_as_leads"] !== void 0 ? { save_connections_as_leads: d["save_connections_as_leads"], save_connections_paused_reason: d["save_connections_paused_reason"] ?? null } : {}
|
|
279
279
|
};
|
|
280
280
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
fail,
|
|
4
4
|
outputOpts
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-65UHJVXP.js";
|
|
6
6
|
|
|
7
7
|
// src/lib/chunks.ts
|
|
8
8
|
async function sendInChunks(ids, size, send, f) {
|
|
@@ -32,7 +32,7 @@ async function sendChunked(chunks, send, f, unit) {
|
|
|
32
32
|
`);
|
|
33
33
|
return fail(err, f);
|
|
34
34
|
}
|
|
35
|
-
const { getExitCode } = await import("./exit-codes-
|
|
35
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
36
36
|
const e = err.toJSON();
|
|
37
37
|
if (outputOpts(f).json) process.stdout.write(JSON.stringify({ error: e, progress }) + "\n");
|
|
38
38
|
process.stderr.write(
|
|
@@ -7,9 +7,9 @@ var DESCRIPTIONS = {
|
|
|
7
7
|
login: "Save an API key to a local profile. Run `curviate core profile me` to verify.",
|
|
8
8
|
config: "Manage CLI profiles and settings.",
|
|
9
9
|
account: "LinkedIn account connection management.",
|
|
10
|
-
campaign: "Campaigns: one Sequence run for the Leads of your Team's Lead lists, from its sending Accounts, paced on a schedule. Create and edit drafts, preview, start, pause, resume, archive, add or remove Leads; lint a Sequence and write a template offline; upload the audio of a voice note step (`curviate campaign voice-clip`) and the files of an email step (`curviate campaign attachment`). Your Team's data: every role reads; writes need send access to each sending Account, and Campaigns need
|
|
11
|
-
campaignAttachment: "Campaign attachments: the files an email step sends. Upload one file (up to 20 MiB), then put its id in the step's `attachment_ids`; read one back. Nothing is sent until a Campaign that uses it is started. Uploads need
|
|
12
|
-
campaignVoiceClip: "Voice clips: the audio a `voice.send` step plays. Upload one audio file (1 to 120 seconds, up to 20 MiB), then put its id in a Sequence as `clip_id`; read one back. Nothing reaches LinkedIn until a Campaign that uses it is started. Uploads need
|
|
10
|
+
campaign: "Campaigns: one Sequence run for the Leads of your Team's Lead lists, from its sending Accounts, paced on a schedule. Create and edit drafts, preview, start, pause, resume, archive, add or remove Leads; lint a Sequence and write a template offline; upload the audio of a voice note step (`curviate campaign voice-clip`) and the files of an email step (`curviate campaign attachment`). Your Team's data: every role reads; writes need send access to each sending Account, and Campaigns need a subscription.",
|
|
11
|
+
campaignAttachment: "Campaign attachments: the files an email step sends. Upload one file (up to 20 MiB), then put its id in the step's `attachment_ids`; read one back. Nothing is sent until a Campaign that uses it is started. Uploads need a subscription.",
|
|
12
|
+
campaignVoiceClip: "Voice clips: the audio a `voice.send` step plays. Upload one audio file (1 to 120 seconds, up to 20 MiB), then put its id in a Sequence as `clip_id`; read one back. Nothing reaches LinkedIn until a Campaign that uses it is started. Uploads need a subscription.",
|
|
13
13
|
enrollment: "Enrollments: one Lead in one Campaign on one Account. List and read them; pause, resume, retry a failed Step, stop, send a custom event, reassign, or act on many at once. Your Team's data: every role reads; writes need operate on the Enrollment's Account.",
|
|
14
14
|
lead: "Leads: the people in your Team's lists, not LinkedIn actions. List, read, add, change and delete them; import and export; enrich from LinkedIn profiles. Subgroups: `curviate lead lists` (Lead lists, including combining lists), `curviate lead tags`, `curviate lead imports`. Your Team's data: every role reads and writes; deleting is for Owners and Managers.",
|
|
15
15
|
"do-not-contact": "Do-not-contact: your Team's one list of people no Campaign contacts and no write reaches (a write toward them exits 10). List, read, add, change the reason, remove, export and import a file. Any member adds and imports; removing and exporting are for Owners and Managers.",
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-2NYGMKWI.js";
|
|
5
5
|
import {
|
|
6
6
|
assertNoStdinPlaceholder
|
|
7
7
|
} from "./chunk-ZYURL5VK.js";
|
|
8
8
|
import {
|
|
9
9
|
getExitCode
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-DLYVUDNF.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/path-safety.ts
|
|
13
13
|
var UNSAFE_CHARS = /[\u0000-\u0020\u007F/\\?#%]/;
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
online,
|
|
4
4
|
preview
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-OEMFSUEI.js";
|
|
6
6
|
import {
|
|
7
7
|
sendChunked
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ER5Y2SS5.js";
|
|
9
9
|
import {
|
|
10
10
|
fail,
|
|
11
11
|
listFlag,
|
|
12
12
|
outputOpts,
|
|
13
13
|
usage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-65UHJVXP.js";
|
|
15
15
|
import {
|
|
16
16
|
intFlag
|
|
17
17
|
} from "./chunk-NNV2OYEF.js";
|
|
@@ -23,14 +23,14 @@ import {
|
|
|
23
23
|
readablePage,
|
|
24
24
|
rejectPaginationModifiersWithoutAll,
|
|
25
25
|
streamAll
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-2NYGMKWI.js";
|
|
27
27
|
import {
|
|
28
28
|
renderSuccess,
|
|
29
29
|
writeNdjsonItem
|
|
30
30
|
} from "./chunk-QM57YDJE.js";
|
|
31
31
|
import {
|
|
32
32
|
withWireNotes
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-RQ6KL2ZU.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
WRITE_SINGLE_FLAGS,
|
|
@@ -340,7 +340,7 @@ async function skippedRows(c, imp) {
|
|
|
340
340
|
var importCmd = defineCommand({
|
|
341
341
|
meta: {
|
|
342
342
|
name: "import",
|
|
343
|
-
description: `Import Leads from a CSV, JSON (an array of objects) or NDJSON file. The format comes from the extension; with --file - pass --format. A file above ${IMPORT_MAX_ROWS} rows or ${(IMPORT_MAX_BODY_BYTES / 1048576).toFixed(0)} MiB is split into several imports, run one after the other (a CSV's header is repeated), each awaited unless --async (or --no-wait); the first refused or failed import stops the run. Only the file's structure is checked here; the server skips bad rows and reports why. Re-importing merges: a Lead already there is updated or left as it is. If the request times out or the connection drops, the CLI looks up the Team's newest imports, again every 2 s for up to 30 s while none shows, and reports the one this request made (id and status; it waits on a running one); it says nothing was imported only when none appeared. A busy-Team 429 (RATE_LIMIT_TENANT) waits the advertised Retry-After (up to ${RETRY_AFTER_BOUND_S} s) and sends that import again, naming the import holding the Team's write lock when the API names one; a longer wait fails. Needs
|
|
343
|
+
description: `Import Leads from a CSV, JSON (an array of objects) or NDJSON file. The format comes from the extension; with --file - pass --format. A file above ${IMPORT_MAX_ROWS} rows or ${(IMPORT_MAX_BODY_BYTES / 1048576).toFixed(0)} MiB is split into several imports, run one after the other (a CSV's header is repeated), each awaited unless --async (or --no-wait); the first refused or failed import stops the run. Only the file's structure is checked here; the server skips bad rows and reports why. Re-importing merges: a Lead already there is updated or left as it is. If the request times out or the connection drops, the CLI looks up the Team's newest imports, again every 2 s for up to 30 s while none shows, and reports the one this request made (id and status; it waits on a running one); it says nothing was imported only when none appeared. A busy-Team 429 (RATE_LIMIT_TENANT) waits the advertised Retry-After (up to ${RETRY_AFTER_BOUND_S} s) and sends that import again, naming the import holding the Team's write lock when the API names one; a longer wait fails. Needs a subscription.`,
|
|
344
344
|
risk: "write",
|
|
345
345
|
rules: {
|
|
346
346
|
changes: "Leads are created or updated, joined to --list (and, with --apply-lists, to the lists their `lists` column names) and tagged with --tag. Nothing is sent to LinkedIn or to the people.",
|
|
@@ -456,7 +456,7 @@ var control = (name, description, changes, undo, conflict) => defineCommand({
|
|
|
456
456
|
description,
|
|
457
457
|
risk: "write",
|
|
458
458
|
rules: { changes, visible_to: "Your Team.", budget_rows: [], retry: "A repeat answers IMPORT_STATUS_CONFLICT; nothing changes.", undo },
|
|
459
|
-
errors: { IMPORT_STATUS_CONFLICT: conflict, TIER_REQUIRED: "your
|
|
459
|
+
errors: { IMPORT_STATUS_CONFLICT: conflict, TIER_REQUIRED: "your Team needs a subscription for imports from LinkedIn." },
|
|
460
460
|
seeAlso: ["curviate lead imports get"],
|
|
461
461
|
examples: [`curviate lead imports ${name} imp_YOUR_IMPORT_ID`]
|
|
462
462
|
},
|
|
@@ -480,7 +480,7 @@ var contactImportsCommand = defineCommand({
|
|
|
480
480
|
meta: { name: "imports", description: "Your Team's import records." },
|
|
481
481
|
subCommands: { list: importsList, get: importsGet, pause: importsPause, resume: importsResume, stop: importsStop },
|
|
482
482
|
async run() {
|
|
483
|
-
const { showHelp } = await import("./examples-
|
|
483
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
484
484
|
await showHelp(contactImportsCommand, ["curviate", "lead", "imports"]);
|
|
485
485
|
}
|
|
486
486
|
});
|
|
@@ -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) {
|