@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
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,36 @@ 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
|
+
|
|
18
|
+
## [0.59.0] - 2026-11-19
|
|
19
|
+
|
|
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.
|
|
21
|
+
|
|
22
|
+
### Mailboxes from Curviate: the price from the server
|
|
23
|
+
|
|
24
|
+
- **`mailbox quote <count>`** reads what that many Mailboxes cost your Team now, for its billing period: the amount, when it is charged (a yearly Team pays the rest of its year the day the records are found), tax, and whether the Team can order now. The same in one sentence on stderr.
|
|
25
|
+
- `mailbox buy` states no price of its own any more. At a terminal it shows the server's quote before asking; **`--expect-amount <amount>`** (the quote's `amount`) cancels the order at once when its `price` differs, exit 11. Every order prints its `price`.
|
|
26
|
+
- `billing cap --help` documents `mailbox_cap` (`cap`, `is_default`, `count`, `room`); `mailbox remove` names no price.
|
|
27
|
+
- `mailbox purchase get` and `mailbox buy` name the six records, `verify` included, each added exactly as shown.
|
|
28
|
+
|
|
29
|
+
### Unibox
|
|
30
|
+
|
|
31
|
+
- `unibox list` prints each conversation's channels, marks, id and the way on: `reply` only with a LinkedIn chat, `email` only with an email channel and no mark; an email-only conversation never gets `reply`.
|
|
32
|
+
- `unibox email send --attach`: up to 6 MiB in all the files go inside the one request; above that each is uploaded first, streamed from disk, and the email names them by id (up to 20 MiB in all). Help names `attachment_refused`.
|
|
33
|
+
|
|
34
|
+
### Imports and warm-up
|
|
35
|
+
|
|
36
|
+
- `lead import --filter` help is checked against the keys the served document types per kind.
|
|
37
|
+
- `mailbox get` describes warm-up `ready`, `landing.reason` and `reputation_reason` (`warm_up_off`); `analytics email` help names the landing reasons (`warm_up_off`, `no_test_inboxes`, `no_test_run`).
|
|
38
|
+
|
|
9
39
|
## [0.58.0] - 2026-11-18
|
|
10
40
|
|
|
11
41
|
Requires `@curviate/sdk` 0.54.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (staging's document, server commit `00abf89b6`); `commands.json` regenerated; `src/schemas/documents.json` re-derived (unchanged). `campaign lint` runs the SDK 0.54.0 validator offline: `attachment_ids` on an email step and warning W23.
|
|
@@ -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,8 +417,10 @@ 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.",
|
|
421
|
-
"
|
|
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.",
|
|
422
|
+
"--include weeks adds the reply rate by week of first email. A compact line by default; --json (or piped) prints the API body.",
|
|
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."
|
|
422
424
|
],
|
|
423
425
|
seeAlso: ["curviate analytics get", "curviate mailbox list"],
|
|
424
426
|
examples: ["curviate analytics email --range 30d", "curviate analytics email --campaigns mot_YOUR_CAMPAIGN_ID --include weeks --json", "curviate analytics email --include mailboxes,domains --forecast"]
|
|
@@ -443,7 +445,7 @@ var analyticsCommand = defineCommand({
|
|
|
443
445
|
export: exportCmd
|
|
444
446
|
},
|
|
445
447
|
async run() {
|
|
446
|
-
const { showHelp } = await import("./examples-
|
|
448
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
447
449
|
await showHelp(analyticsCommand, ["curviate", "analytics"]);
|
|
448
450
|
}
|
|
449
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";
|
|
@@ -215,9 +215,9 @@ var quoteCmd = defineCommand({
|
|
|
215
215
|
var capCmd = defineCommand({
|
|
216
216
|
meta: {
|
|
217
217
|
name: "cap",
|
|
218
|
-
description: "The spending cap: the most seats an agent may bring your Team to (
|
|
218
|
+
description: "The spending cap: the most seats an agent may bring your Team to (`is_default` until an Owner sets one), the seats now, the room left and what the cap's seats cost a month. While Mailboxes from Curviate can be ordered it also carries `mailbox_cap`, the most of them an agent may bring your Team to: `cap`, `is_default`, `count` (held plus those in orders not yet created) and `room` (the cap minus the count). An order through an API key of more than `room` is refused with SPENDING_CAP_REACHED; no `mailbox_cap` means orders are closed now. Read only: an Owner changes either cap in the dashboard. Adding a seat past it is refused with SPENDING_CAP_REACHED. Owners only.",
|
|
219
219
|
risk: "read",
|
|
220
|
-
output: ["`cap_seats`, `is_default`, `seats`, `room_seats`, `monthly_amount` (cents), `currency
|
|
220
|
+
output: ["`cap_seats`, `is_default`, `seats`, `room_seats`, `monthly_amount` (cents), `currency`; `mailbox_cap` { `cap`, `is_default`, `count`, `room` } while Mailboxes from Curviate can be ordered."],
|
|
221
221
|
examples: ["curviate billing cap"]
|
|
222
222
|
},
|
|
223
223
|
args: { ...readOnly(READ_SINGLE_FLAGS) },
|
|
@@ -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,13 +7,13 @@ 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.",
|
|
16
|
-
mailbox: "Mailboxes: your Team's own email Mailboxes, the addresses Campaigns send from. List, read, set who a Mailbox sends for, its daily cap and signature, pause, resume, remove, find the settings for an address (discover), connect and reconnect (a password goes in only through --password-stdin), run a placement test (test, tests). Every role reads; Owners and Managers change any Mailbox, a Member the ones they connected. Your own Mailbox takes no seat and is never billed; Mailboxes from Curviate
|
|
16
|
+
mailbox: "Mailboxes: your Team's own email Mailboxes, the addresses Campaigns send from. List, read, set who a Mailbox sends for, its daily cap and signature, pause, resume, remove, find the settings for an address (discover), connect and reconnect (a password goes in only through --password-stdin), run a placement test (test, tests). Every role reads; Owners and Managers change any Mailbox, a Member the ones they connected. Your own Mailbox takes no seat and is never billed; Mailboxes from Curviate are priced for your Team by the server (quote, buy, purchase; Owners only, and an order through an API key stays under the Team's cap on them).",
|
|
17
17
|
domain: "Domains: the DNS health of a sending domain (MX, SPF, DKIM, DMARC, tracking). `curviate domain check`, with --now to run the checks now.",
|
|
18
18
|
billing: "Billing: the price of seats, the spending cap, the change log, your Team's invoices (listed and downloaded as PDFs), and moving a previous price to the current one (`price move`, charges money). Owners only. Seats and the Tier are under `curviate account seats`, `curviate team` and `curviate tier`.",
|
|
19
19
|
contactImport: "Import Leads from a CSV, JSON or NDJSON file into a Lead list, splitting a large file into several imports.",
|
|
@@ -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
|
});
|