@curviate/cli 0.56.0 → 0.57.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 +36 -0
- package/dist/{account-ZF5NEMID.js → account-IRIYB2SG.js} +11 -11
- package/dist/{analytics-M7JWS67A.js → analytics-IRSCLVOL.js} +5 -5
- package/dist/{beta-consent-4Q2LZZQC.js → beta-consent-NQVGFZL3.js} +4 -4
- package/dist/{billing-LYPSX5SR.js → billing-TCTP44ZB.js} +58 -6
- package/dist/{chunk-UOWOKEB2.js → chunk-3B5M2RUN.js} +1 -1
- package/dist/{chunk-UWRWZG4N.js → chunk-3ZQNOKEK.js} +2 -2
- package/dist/{chunk-MWVTFTWV.js → chunk-5LGKZBAY.js} +5 -3
- package/dist/{chunk-XP6S6E55.js → chunk-6OT6TS7N.js} +2 -2
- package/dist/{chunk-J4SFOFMT.js → chunk-A6JGJGDF.js} +16 -16
- package/dist/{chunk-L3RJU7C3.js → chunk-AG6G3PRQ.js} +110 -13
- package/dist/{chunk-CRO7PJ4I.js → chunk-F7CLAS5Y.js} +2 -2
- package/dist/{chunk-MIOEYSBQ.js → chunk-OE4CY3ZL.js} +1 -1
- package/dist/{chunk-EI64VFBE.js → chunk-RTT75CXE.js} +44 -6
- package/dist/{chunk-7PLTQHNO.js → chunk-RXDG57B2.js} +1 -1
- package/dist/{chunk-RDKTHFQ6.js → chunk-SCUTAREU.js} +4 -0
- package/dist/{chunk-VEMK4MJM.js → chunk-VPFV7YV3.js} +5 -5
- package/dist/cli.js +32 -30
- package/dist/{comment-D6RSZTVK.js → comment-PNHEKGZX.js} +7 -7
- package/dist/{company-3Z6PXGTW.js → company-OUFF23SU.js} +20 -9
- package/dist/company-record-ULPDDB6L.js +128 -0
- package/dist/{config-VY5MCJMN.js → config-U6VDNL2P.js} +2 -2
- package/dist/{connect-G2RTLV7G.js → connect-ICNXC37R.js} +11 -11
- package/dist/{contact-QSLJCBDE.js → contact-K6RIVQWU.js} +9 -9
- package/dist/{contact-groups-OITAD73K.js → contact-groups-CNH2VB6A.js} +11 -11
- package/dist/{contact-import-LT7BKESC.js → contact-import-FK22UTN2.js} +10 -10
- package/dist/core-MPEBYNSL.js +46 -0
- package/dist/{do-not-contact-ZA7KS5WD.js → do-not-contact-BQHXNHTV.js} +13 -13
- package/dist/{doctor-JQT3DO6G.js → doctor-ZYPZF5BE.js} +21 -4
- package/dist/{domain-7EX4E34B.js → domain-HLOT6Y4A.js} +8 -8
- package/dist/{draft-7U6H4BPF.js → draft-JGQ36JSH.js} +4 -4
- package/dist/{enrollment-AZ6XGVVL.js → enrollment-CF634DB4.js} +9 -9
- package/dist/{examples-IGQJCSNL.js → examples-J4X5NEIE.js} +1 -1
- package/dist/{exit-codes-ZSOLAXQO.js → exit-codes-P2FLCKM7.js} +1 -1
- package/dist/{export-OYMQXL62.js → export-ZQLDQYUZ.js} +4 -4
- package/dist/{feed-M5D4SJW7.js → feed-RQHEDZVL.js} +6 -6
- package/dist/{group-UTC3YBKE.js → group-LRMG76FN.js} +6 -6
- package/dist/{inbox-VSGNHSLG.js → inbox-5RGG5RQG.js} +6 -6
- package/dist/{inboxes-23C2MJK4.js → inboxes-ZFY6ZP33.js} +6 -6
- package/dist/{incoming-QVPP32K7.js → incoming-3MJ4CP6H.js} +8 -8
- package/dist/{job-ZHVFFRWE.js → job-QFIUTHHT.js} +6 -6
- package/dist/{login-6OTNXEJZ.js → login-THXWX5HZ.js} +2 -2
- package/dist/{mailbox-HD2UXZCA.js → mailbox-54DPLNXA.js} +23 -16
- package/dist/{message-PIV77W47.js → message-DM5OUKQS.js} +6 -6
- package/dist/{motion-AHYF34DP.js → motion-NKOAK7NU.js} +10 -10
- package/dist/{network-RJHJFZEY.js → network-VKJUMZ2L.js} +8 -8
- package/dist/{notification-XGR4NT3S.js → notification-XW5J6KFA.js} +6 -6
- package/dist/{notifications-BHRWSHPR.js → notifications-USYOV54R.js} +17 -12
- package/dist/{post-Z7AVDDKA.js → post-M2G3BK4A.js} +7 -7
- package/dist/{profile-YZNBX2RP.js → profile-3SG64IEG.js} +11 -11
- package/dist/{recruiter-EXM4P7X7.js → recruiter-7OUGZ776.js} +6 -6
- package/dist/{sales-nav-CKDSEXV2.js → sales-nav-HHQLLM5C.js} +6 -6
- package/dist/{search-B7FB6674.js → search-5LMSLUH4.js} +14 -14
- package/dist/{setup-VZVPLJ4V.js → setup-6F4HYUSZ.js} +4 -4
- package/dist/signal-LVODDBOY.js +331 -0
- package/dist/{team-PYABBUHO.js → team-MSOPELF6.js} +62 -8
- package/dist/{tier-PRK4WQKR.js → tier-RXHOAQ6L.js} +6 -5
- package/dist/{unibox-ZNKX2EKL.js → unibox-UAA6WIGZ.js} +65 -12
- package/dist/{webhook-V74EV4E2.js → webhook-J2H7X766.js} +8 -8
- package/package.json +2 -2
- package/dist/core-RFTNNB6P.js +0 -46
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,42 @@ 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.57.0] - 2026-11-18
|
|
10
|
+
|
|
11
|
+
Requires `@curviate/sdk` 0.53.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (production document, server commit `c8b370ae4`); `commands.json` regenerated; `src/schemas/documents.json` re-derived (unchanged).
|
|
12
|
+
|
|
13
|
+
### Reply labels
|
|
14
|
+
|
|
15
|
+
- **`unibox list --reply-label <label>`** keeps chats by their latest Reply label (repeatable; `none` adds unlabelled chats); the table shows a LABEL column.
|
|
16
|
+
- **`unibox label <message_id>`** prints a reply's label and its history (source, confidence); **`--set <label>`** corrects it (Needs Automate). `REPLY_NOT_LABELLABLE` exits 2.
|
|
17
|
+
- **`team reply-labels`** reads the Team's settings; **`--on|--off`**, **`--not-interested-dnc`** and **`--tag <label>=<tag_id>`** change them (Owners and Managers).
|
|
18
|
+
|
|
19
|
+
### Lead imports from LinkedIn
|
|
20
|
+
|
|
21
|
+
- **`lead import --source <kind>`** or **`--source-url <url>`** with **`--account`**: a people, Sales Navigator, Recruiter or company search (by URL, `--filter key=value` or `--filters-json`), a Sales Navigator lead list (`--list-id`), a post's engagers (`--post-id`) or a group's members (`--group-id`); `--titles`, `--max`, `--continue <imp_id>`, `--restart`. One create request; the server reads the source page by page.
|
|
22
|
+
- **`lead imports pause|resume|stop <id>`**. `IMPORT_STATUS_CONFLICT` and `IMPORT_CANNOT_CONTINUE` exit 2. `lead imports get` help names `waiting` (`active_hours`, `budget`, `pushback`) and `estimate`.
|
|
23
|
+
|
|
24
|
+
### Email
|
|
25
|
+
|
|
26
|
+
- **`analytics email`**: sent, the reply, open, bounce and opt-out rates, today against the daily caps; `--campaigns`, `--accounts`, the window flags, `--include weeks`.
|
|
27
|
+
- **`notification list --channel email|linkedin|team`**.
|
|
28
|
+
- **`mailbox update --display-name <name>`** and **`--clear-display-name`**; **`mailbox connect --display-name`**. `mailbox discover` and `domain check` help follow the API (`source: none`, a check before the first Mailbox, `dkim_selector`).
|
|
29
|
+
- **`doctor`** adds a `mailboxes` line (how many, how many can send; never fails the run) and **`tier`** says email sends once a Mailbox is connected.
|
|
30
|
+
|
|
31
|
+
### Companies
|
|
32
|
+
|
|
33
|
+
- **`company get <company_id>`** and **`company fields <company_id> --set key=value --unset key`**: your Team's company record and its own fields (`{{company.extra.<key>}}`). No LinkedIn call.
|
|
34
|
+
- **`core company <id> --mode --max-age`**: the company read takes the retrieval mode.
|
|
35
|
+
- `campaign lint` checks company variables offline (R16 names the nearest company fields), as the API does.
|
|
36
|
+
|
|
37
|
+
### Signals
|
|
38
|
+
|
|
39
|
+
- **`signal list|get|kinds|watch`**, **`signal settings --post-engaged on|off --profile-viewed on|off`**, **`signal rules list|get|create|update|delete`** (`--kind`, `--accounts` or `--all-accounts`, `--add-to-list`, `--send-event`, `--unknown-people`, `--on|--off`).
|
|
40
|
+
|
|
41
|
+
### Billing
|
|
42
|
+
|
|
43
|
+
- **`billing price move`**: moves a subscription on a previous price to the current price now. It charges money: it asks at a terminal, and anywhere else it needs `--yes` (without it: exit 2, nothing sent). Owners only.
|
|
44
|
+
|
|
9
45
|
## [0.56.0] - 2026-11-17
|
|
10
46
|
|
|
11
47
|
Requires `@curviate/sdk` 0.52.0 (exact pin). The vendored OpenAPI fixture is re-copied from the SDK's (server commit `8c675b5b8`); `src/schemas/documents.json` and `commands.json` regenerated.
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
grammarParams,
|
|
15
15
|
renderOverview,
|
|
16
16
|
windowParams
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-RTT75CXE.js";
|
|
18
18
|
import {
|
|
19
19
|
print,
|
|
20
20
|
table
|
|
@@ -26,13 +26,13 @@ import {
|
|
|
26
26
|
outputOpts,
|
|
27
27
|
rootClient,
|
|
28
28
|
usage
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import {
|
|
31
|
-
buildPreviewOutput
|
|
32
|
-
} from "./chunk-TCUYH5GO.js";
|
|
29
|
+
} from "./chunk-3ZQNOKEK.js";
|
|
33
30
|
import {
|
|
34
31
|
intFlag
|
|
35
32
|
} from "./chunk-NNV2OYEF.js";
|
|
33
|
+
import {
|
|
34
|
+
buildPreviewOutput
|
|
35
|
+
} from "./chunk-TCUYH5GO.js";
|
|
36
36
|
import {
|
|
37
37
|
pageDelayFromFlags,
|
|
38
38
|
readCursorFlag,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
readablePage,
|
|
42
42
|
rejectPaginationModifiersWithoutAll,
|
|
43
43
|
streamAll
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-OE4CY3ZL.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-RXDG57B2.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-5LGKZBAY.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-SCUTAREU.js";
|
|
83
83
|
|
|
84
84
|
// src/commands/account-insights.ts
|
|
85
85
|
import { defineCommand } from "citty";
|
|
@@ -688,7 +688,7 @@ var connectRequestCommand = defineCommand4({
|
|
|
688
688
|
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." },
|
|
689
689
|
subCommands: { create: createCmd, get: getCmd2, cancel: cancelCmd },
|
|
690
690
|
async run() {
|
|
691
|
-
const { showHelp } = await import("./examples-
|
|
691
|
+
const { showHelp } = await import("./examples-J4X5NEIE.js");
|
|
692
692
|
await showHelp(connectRequestCommand, ["curviate", "account", "connect-request"]);
|
|
693
693
|
}
|
|
694
694
|
});
|
|
@@ -719,7 +719,7 @@ function resolveOutputOpts(flags) {
|
|
|
719
719
|
async function handleError(err, outOpts, out) {
|
|
720
720
|
const { CurviateError } = await import("@curviate/sdk");
|
|
721
721
|
if (err instanceof CurviateError) {
|
|
722
|
-
const { getExitCode } = await import("./exit-codes-
|
|
722
|
+
const { getExitCode } = await import("./exit-codes-P2FLCKM7.js");
|
|
723
723
|
renderError(err, outOpts, out);
|
|
724
724
|
process.exit(getExitCode(err));
|
|
725
725
|
}
|
|
@@ -6,16 +6,16 @@ import {
|
|
|
6
6
|
grammarParams,
|
|
7
7
|
renderOverview,
|
|
8
8
|
windowParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RTT75CXE.js";
|
|
10
10
|
import "./chunk-5S3MJVI5.js";
|
|
11
11
|
import "./chunk-PPGKQJKU.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-3ZQNOKEK.js";
|
|
13
13
|
import "./chunk-NNV2OYEF.js";
|
|
14
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-OE4CY3ZL.js";
|
|
15
15
|
import "./chunk-QM57YDJE.js";
|
|
16
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-RXDG57B2.js";
|
|
17
17
|
import "./chunk-QLKGOIWS.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-5LGKZBAY.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-3ZQNOKEK.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-RXDG57B2.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-5LGKZBAY.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-J4X5NEIE.js");
|
|
76
76
|
await showHelp(betaCommand, ["curviate", "beta"]);
|
|
77
77
|
}
|
|
78
78
|
});
|
|
@@ -7,10 +7,13 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3ZQNOKEK.js";
|
|
11
11
|
import {
|
|
12
12
|
intFlag
|
|
13
13
|
} from "./chunk-NNV2OYEF.js";
|
|
14
|
+
import {
|
|
15
|
+
buildPreviewOutput
|
|
16
|
+
} from "./chunk-TCUYH5GO.js";
|
|
14
17
|
import {
|
|
15
18
|
pageDelayFromFlags,
|
|
16
19
|
readCursorFlag,
|
|
@@ -18,22 +21,23 @@ import {
|
|
|
18
21
|
readablePage,
|
|
19
22
|
rejectPaginationModifiersWithoutAll,
|
|
20
23
|
streamAll
|
|
21
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OE4CY3ZL.js";
|
|
22
25
|
import {
|
|
23
26
|
renderSuccess,
|
|
24
27
|
writeNdjsonItem
|
|
25
28
|
} from "./chunk-QM57YDJE.js";
|
|
26
29
|
import {
|
|
27
30
|
downloadBinary
|
|
28
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-RXDG57B2.js";
|
|
29
32
|
import {
|
|
30
33
|
GLOBAL_FLAGS,
|
|
31
34
|
READ_SINGLE_FLAGS,
|
|
35
|
+
WRITE_SINGLE_FLAGS,
|
|
32
36
|
readOnly
|
|
33
37
|
} from "./chunk-QLKGOIWS.js";
|
|
34
38
|
import {
|
|
35
39
|
DESCRIPTIONS
|
|
36
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-5LGKZBAY.js";
|
|
37
41
|
import "./chunk-ZYURL5VK.js";
|
|
38
42
|
|
|
39
43
|
// src/commands/billing.ts
|
|
@@ -115,6 +119,54 @@ async function runPdf(c, f) {
|
|
|
115
119
|
process.stderr.write(`Invoice ${number}: ${bytes.length} bytes${f.output === "-" ? "" : ` written to ${f.output}`}.
|
|
116
120
|
`);
|
|
117
121
|
}
|
|
122
|
+
async function confirmMoney(f, question) {
|
|
123
|
+
if (f.yes) return true;
|
|
124
|
+
if (!process.stdin.isTTY) usage("this charges money: pass --yes to confirm (no terminal to ask at). Read the price first with `curviate billing quote`.");
|
|
125
|
+
process.stderr.write(`${question} [y/N] `);
|
|
126
|
+
const answer = await new Promise((resolve) => {
|
|
127
|
+
process.stdin.setEncoding("utf8");
|
|
128
|
+
process.stdin.once("data", (chunk) => resolve(chunk.trim().toLowerCase()));
|
|
129
|
+
});
|
|
130
|
+
process.stdin.pause();
|
|
131
|
+
if (answer === "y" || answer === "yes") return true;
|
|
132
|
+
process.stderr.write("Aborted: nothing was charged.\n");
|
|
133
|
+
return false;
|
|
134
|
+
}
|
|
135
|
+
async function runMove(f) {
|
|
136
|
+
if (f.preview) return void process.stdout.write(JSON.stringify(buildPreviewOutput({ method: "billing.moveToCurrentPrice", args: {}, body: {} })) + "\n");
|
|
137
|
+
const c = await rootClient(f);
|
|
138
|
+
if (!await confirmMoney(f, "Move your subscription to the current price now? The unused time is credited and the current price charged for the rest of the period (yearly: today).")) return;
|
|
139
|
+
try {
|
|
140
|
+
renderSuccess(await c.billing.moveToCurrentPrice(), outputOpts(f), process);
|
|
141
|
+
} catch (err) {
|
|
142
|
+
await fail(err, f);
|
|
143
|
+
}
|
|
144
|
+
}
|
|
145
|
+
var moveCmd = defineCommand({
|
|
146
|
+
meta: {
|
|
147
|
+
name: "move",
|
|
148
|
+
description: "Move a subscription on a previous price (Build, Automate or Seat) to the current price now, same seats and billing period. This charges money: the unused time on the previous price is credited and the current price charged for the rest of the period, monthly on the next invoice, yearly today. Asks first at a terminal; elsewhere pass --yes. A Team already on the current price is refused and nothing is charged. Owners only.",
|
|
149
|
+
risk: "high",
|
|
150
|
+
rules: {
|
|
151
|
+
changes: "The subscription's price; a yearly move charges the difference today.",
|
|
152
|
+
visible_to: "Your Team's Owners, on the invoice.",
|
|
153
|
+
budget_rows: [],
|
|
154
|
+
retry: "A second call is refused (already on the current price); nothing is charged twice.",
|
|
155
|
+
undo: "None: there is no move back to a previous price.",
|
|
156
|
+
blast_radius: "The Team's whole subscription."
|
|
157
|
+
},
|
|
158
|
+
errors: { INVALID_REQUEST: "already on the current price, no subscription, or a previous price that cannot be moved in place; nothing was charged.", INSUFFICIENT_ROLE: "only an Owner moves the price." },
|
|
159
|
+
output: ["`moved`, `period`, `seats` and `charged_today` (cents, tax included; 0 for a monthly move)."],
|
|
160
|
+
seeAlso: ["curviate billing quote", "curviate tier"],
|
|
161
|
+
examples: ["curviate billing price move", "curviate billing price move --yes --json"]
|
|
162
|
+
},
|
|
163
|
+
args: { ...WRITE_SINGLE_FLAGS, yes: { type: "boolean", description: "Confirm the charge without a prompt (needed when no terminal can ask)." } },
|
|
164
|
+
run: async ({ args }) => runMove(args)
|
|
165
|
+
});
|
|
166
|
+
var priceCmd = defineCommand({
|
|
167
|
+
meta: { name: "price", description: "Your subscription's price: move one on a previous price to the current price." },
|
|
168
|
+
subCommands: { move: moveCmd }
|
|
169
|
+
});
|
|
118
170
|
var pdfCmd = defineCommand({
|
|
119
171
|
meta: {
|
|
120
172
|
name: "pdf",
|
|
@@ -185,9 +237,9 @@ var changesCmd = defineCommand({
|
|
|
185
237
|
});
|
|
186
238
|
var billingCommand = defineCommand({
|
|
187
239
|
meta: { name: "billing", description: DESCRIPTIONS.billing },
|
|
188
|
-
subCommands: { quote: quoteCmd, cap: capCmd, changes: changesCmd, invoices: invoicesCmd },
|
|
240
|
+
subCommands: { quote: quoteCmd, cap: capCmd, changes: changesCmd, invoices: invoicesCmd, price: priceCmd },
|
|
189
241
|
async run() {
|
|
190
|
-
const { showHelp } = await import("./examples-
|
|
242
|
+
const { showHelp } = await import("./examples-J4X5NEIE.js");
|
|
191
243
|
await showHelp(billingCommand, ["curviate", "billing"]);
|
|
192
244
|
}
|
|
193
245
|
});
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
8
8
|
resolveEffectiveConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-RXDG57B2.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-P2FLCKM7.js");
|
|
39
39
|
renderError(err, outputOpts(f), process);
|
|
40
40
|
process.exit(getExitCode(err));
|
|
41
41
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// src/commands/descriptions.ts
|
|
4
4
|
var DESCRIPTIONS = {
|
|
5
5
|
setup: "Connect this machine to your workspace: opens the dashboard, takes the code it shows you, and saves an API key.",
|
|
6
|
-
doctor: "Check that this machine can call the API: config, credential source, workspace, reachability
|
|
6
|
+
doctor: "Check that this machine can call the API: config, credential source, workspace, reachability, connected accounts and Mailboxes.",
|
|
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.",
|
|
@@ -14,7 +14,7 @@ var DESCRIPTIONS = {
|
|
|
14
14
|
"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.",
|
|
15
15
|
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). Every role reads; Owners and Managers change any Mailbox, a Member the ones they connected. A Mailbox takes no seat and is never billed.",
|
|
16
16
|
domain: "Domains: the DNS health of a sending domain (MX, SPF, DKIM, DMARC, tracking). `curviate domain check`, with --now to run the checks now.",
|
|
17
|
-
billing: "Billing: the price of seats, the spending cap, the change log
|
|
17
|
+
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`.",
|
|
18
18
|
contactImport: "Import Leads from a CSV, JSON or NDJSON file into a Lead list, splitting a large file into several imports.",
|
|
19
19
|
contactImports: "Read your Team's import records: the counts, the failure, and the rows an import skipped and why.",
|
|
20
20
|
contactLists: "Lead lists: named sets of Leads a Campaign enrolls from. List, read, create, combine lists into a new one, rename, delete, add and remove Leads.",
|
|
@@ -23,7 +23,7 @@ var DESCRIPTIONS = {
|
|
|
23
23
|
network: "Network: each Account's LinkedIn Connections, synced and stored by Curviate. List, export, read the sync status, ask for a resync. Your Team's data, for the Accounts you may operate.",
|
|
24
24
|
analytics: "Campaign outcomes and the budget your Accounts used. Read-only; Campaign numbers cover your Accounts and your team's shared Accounts, core activity the Accounts you may operate.",
|
|
25
25
|
export: "Background export jobs started by `curviate analytics export --job`: read the status, download the file. Only the person who started one can.",
|
|
26
|
-
tier: "Your Team's Tier now, what it bought, any trial or override, and the features it includes. Every role may read it.",
|
|
26
|
+
tier: "Your Team's Tier now, what it bought, any trial or override, and the features it includes. Email is part of the plan and sends once a Mailbox is connected: `curviate mailbox list`. Every role may read it.",
|
|
27
27
|
team: "Teams: list yours and switch the one calls act in, read or rename it, manage members and invites, set its logo, create a Team, lend seats between your Teams. Owners and Managers manage (a Manager invites Members only); every role reads.",
|
|
28
28
|
incoming: "Incoming events: a private URL any tool posts to. Curviate finds the Lead in the post and moves the Enrollments waiting for that event (`until event.<name>`). Your Team's data.",
|
|
29
29
|
beta: "Beta consent for your Team: whether beta operations run without --beta on each call. Owners change it.",
|
|
@@ -31,6 +31,8 @@ var DESCRIPTIONS = {
|
|
|
31
31
|
core: "Curviate core: LinkedIn building blocks. Each command runs one action now, from one Account, and counts against that Account's budgets. Nothing is queued, paced or retried for you, except a Draft scheduled with `--schedule-at`, which Curviate publishes at that time (`curviate core draft create`).",
|
|
32
32
|
profile: "LinkedIn profile operations.",
|
|
33
33
|
company: "Fetch a company profile by URL, slug, or numeric id, and its sub-resources.",
|
|
34
|
+
companyRecord: "Your Team's own record of a company, by LinkedIn's numeric company id: what Curviate stored and your company fields ({{company.extra.<key>}} in a Sequence). No LinkedIn call. The LinkedIn company page is `curviate core company`.",
|
|
35
|
+
signal: "Signals: what people did around your Accounts in the last 7 days (reacted, commented, viewed a profile, followed, mentioned, reposted, posted, connected), each Account's Signal watch, and the rules that add those people to a Lead list or send `signal.matched` to your webhooks. Reads Curviate's own store: no LinkedIn call.",
|
|
34
36
|
job: "Classic LinkedIn job-posting operations.",
|
|
35
37
|
connect: "Send or manage connection invitations. Connection requests may take 10-30 seconds to appear in the recipient's received list (LinkedIn propagation delay).",
|
|
36
38
|
search: "Search people, companies, posts, and jobs. Also runs a pasted search URL directly.",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
fail,
|
|
4
4
|
outputOpts
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-3ZQNOKEK.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-P2FLCKM7.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(
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
requireAccount
|
|
4
|
-
} from "./chunk-CRO7PJ4I.js";
|
|
5
2
|
import {
|
|
6
3
|
writeAtomic
|
|
7
4
|
} from "./chunk-GOICALYQ.js";
|
|
5
|
+
import {
|
|
6
|
+
requireAccount
|
|
7
|
+
} from "./chunk-F7CLAS5Y.js";
|
|
8
8
|
import {
|
|
9
9
|
sendInChunks
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-6OT6TS7N.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
listFlag,
|
|
14
14
|
outputOpts,
|
|
15
15
|
rootClient,
|
|
16
16
|
usage
|
|
17
|
-
} from "./chunk-
|
|
18
|
-
import {
|
|
19
|
-
buildPreviewOutput
|
|
20
|
-
} from "./chunk-TCUYH5GO.js";
|
|
17
|
+
} from "./chunk-3ZQNOKEK.js";
|
|
21
18
|
import {
|
|
22
19
|
intFlag
|
|
23
20
|
} from "./chunk-NNV2OYEF.js";
|
|
21
|
+
import {
|
|
22
|
+
buildPreviewOutput
|
|
23
|
+
} from "./chunk-TCUYH5GO.js";
|
|
24
24
|
import {
|
|
25
25
|
pageDelayFromFlags,
|
|
26
26
|
readCursorFlag,
|
|
@@ -29,14 +29,14 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OE4CY3ZL.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-RXDG57B2.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-5LGKZBAY.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/contact.ts
|
|
52
52
|
import { defineCommand } from "citty";
|
|
@@ -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-FK22UTN2.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-CNH2VB6A.js").then((m) => m.contactListsCommand)),
|
|
510
|
+
tags: lazy("contactTags", () => import("./contact-groups-CNH2VB6A.js").then((m) => m.contactTagsCommand)),
|
|
511
|
+
imports: lazy("contactImports", () => import("./contact-import-FK22UTN2.js").then((m) => m.contactImportsCommand))
|
|
512
512
|
},
|
|
513
513
|
async run() {
|
|
514
|
-
const { showHelp } = await import("./examples-
|
|
514
|
+
const { showHelp } = await import("./examples-J4X5NEIE.js");
|
|
515
515
|
await showHelp(contactCommand, ["curviate", "lead"]);
|
|
516
516
|
}
|
|
517
517
|
});
|