@curviate/cli 0.64.0 → 0.65.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 +10 -0
- package/dist/{account-55QRBRX2.js → account-6IKQAGAX.js} +8 -8
- package/dist/{analytics-DOGKBULH.js → analytics-5LYWN4RF.js} +5 -5
- package/dist/{beta-consent-3EPBXPPQ.js → beta-consent-PPI5IUSD.js} +4 -4
- package/dist/{billing-2A7EZWZX.js → billing-R6TDVSMZ.js} +5 -5
- package/dist/{chunk-FUPVALUL.js → chunk-3RACWVSE.js} +2 -2
- package/dist/{chunk-PITCPTWX.js → chunk-4K34FHE5.js} +3 -3
- package/dist/{chunk-YE2WKE3R.js → chunk-6EKWHAEH.js} +6 -6
- package/dist/{chunk-AFP5F3I6.js → chunk-76OVMT7O.js} +1 -1
- package/dist/{chunk-WISP4QXZ.js → chunk-AR34Y3V6.js} +2 -2
- package/dist/{chunk-3M52GHII.js → chunk-CCBUB6WM.js} +5 -5
- package/dist/{chunk-2JL554FW.js → chunk-EGNU7GKL.js} +11 -11
- package/dist/{chunk-KSRNDK2N.js → chunk-KAMKNMDR.js} +9 -9
- package/dist/{chunk-DLYVUDNF.js → chunk-KU6ORZ5Z.js} +3 -1
- package/dist/{chunk-YW6CYOX6.js → chunk-P5TGPTBV.js} +7 -7
- package/dist/{chunk-QFG3DRHY.js → chunk-U55AXO2J.js} +1 -1
- package/dist/{chunk-33GDPBLY.js → chunk-W524FTEO.js} +2 -2
- package/dist/{chunk-66HEPUAX.js → chunk-Z67TWG6W.js} +2 -0
- package/dist/cli.js +28 -28
- package/dist/{comment-CERAB2Z5.js → comment-FDZMRASJ.js} +7 -7
- package/dist/{company-WC6SGDTE.js → company-6ZUDLEGL.js} +7 -7
- package/dist/{company-record-GVOCKW7U.js → company-record-WAY2ASK6.js} +10 -10
- package/dist/{config-RC377EZ7.js → config-GJX2WLRX.js} +1 -1
- package/dist/{connect-V63CQIO7.js → connect-VV5BEFAE.js} +11 -11
- package/dist/{contact-4OH5AVMI.js → contact-LFXH5ROE.js} +8 -8
- package/dist/{contact-groups-OILNTYGH.js → contact-groups-AKCTZSAC.js} +10 -10
- package/dist/{contact-import-X5EUG77K.js → contact-import-FBASQAJ4.js} +9 -9
- package/dist/{core-FM222KR6.js → core-7XJG4ISF.js} +17 -17
- package/dist/{do-not-contact-SA6IXJIE.js → do-not-contact-2RKGOFIQ.js} +10 -10
- package/dist/{doctor-6XQRPRBT.js → doctor-CUQZXWSI.js} +4 -4
- package/dist/{domain-N7BBT5WI.js → domain-2SRQNEK7.js} +5 -5
- package/dist/{draft-6KPWHEPU.js → draft-IVPVFA5U.js} +4 -4
- package/dist/{enrollment-PCE6OGCV.js → enrollment-2NG5M63J.js} +6 -6
- package/dist/{examples-G4IC5TJU.js → examples-FGF6HIAN.js} +1 -1
- package/dist/{exit-codes-MMGNZCJ5.js → exit-codes-MSUALZX5.js} +1 -1
- package/dist/{export-WC64TMKR.js → export-DZLAEWWL.js} +4 -4
- package/dist/{feed-WC2UCUSC.js → feed-6DXIJPPF.js} +6 -6
- package/dist/{group-FSZU62CS.js → group-WVITK4FF.js} +6 -6
- package/dist/{inbox-O422BPE5.js → inbox-OLW6KMF7.js} +6 -6
- package/dist/{inboxes-NBLCSHHK.js → inboxes-HV6PXICA.js} +6 -6
- package/dist/{incoming-S5Q7YJM3.js → incoming-EF3LZGZA.js} +5 -5
- package/dist/{job-CJUFB5DB.js → job-T5LNQACM.js} +6 -6
- package/dist/{login-5A4KOIBU.js → login-GDCPVZKK.js} +1 -1
- package/dist/{mailbox-OZI2NREM.js → mailbox-CVM5QZ7E.js} +36 -17
- package/dist/{message-WAHQQHTF.js → message-OWRSYEOB.js} +6 -6
- package/dist/{motion-SZSJ4WZI.js → motion-SVE2L5WD.js} +8 -8
- package/dist/{network-3CQGZMQF.js → network-4CZJH4YY.js} +5 -5
- package/dist/{notification-OUZ44XYA.js → notification-VMN4OPZ7.js} +6 -6
- package/dist/{notifications-BNLH3ESH.js → notifications-76EAPG5B.js} +6 -6
- package/dist/{post-2IABIGUC.js → post-3QLWHDU6.js} +7 -7
- package/dist/{profile-FTNWMCKB.js → profile-PCBKCXLO.js} +11 -11
- package/dist/{recruiter-OZSLGPYO.js → recruiter-JNVHS64B.js} +6 -6
- package/dist/{sales-nav-RZF65ZRA.js → sales-nav-53AJYUUW.js} +6 -6
- package/dist/{search-YTZQ4XUN.js → search-DMWKN7TD.js} +15 -15
- package/dist/{setup-67FMKDKO.js → setup-2ZIFAXKZ.js} +4 -4
- package/dist/{signal-XCCCE434.js → signal-XI3V5TM3.js} +5 -5
- package/dist/{team-EC5CFT7D.js → team-D4BGYY2L.js} +5 -5
- package/dist/{tier-M6LZVGH3.js → tier-SOYZZJBA.js} +4 -4
- package/dist/{unibox-U3RPEUJI.js → unibox-7TESM34K.js} +8 -8
- package/dist/{webhook-EAXWPNQZ.js → webhook-WS5TOVSN.js} +5 -5
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,16 @@ 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.65.0] - 2026-11-21
|
|
10
|
+
|
|
11
|
+
Requires `@curviate/sdk` 0.60.0 (exact pin; the vendored fixture is re-copied from the SDK's and its hash recomputed). `commands.json` regenerated. No new command or flag; one error code mapped to an existing exit.
|
|
12
|
+
|
|
13
|
+
- **An order of Mailboxes from Curviate says what it waits for, in the dashboard's words.** `mailbox buy`, `mailbox purchase get` and `mailbox purchase check` print one line on stderr from `waiting_for`: `records` ("Add each record where your domain's DNS is managed... If they are not all found by December 3, the order ends with nothing charged."), `payment` (update the payment method in Billing, app.curviate.com/settings/billing, and the order continues by itself), `curviate` (nothing to do on yours), `charge` (being charged, a few minutes). An order that ended `payment_outstanding`, `held_by_curviate` or `domain_taken` says why and what the person can do (update the payment method, order again, name another domain). Nothing was charged on any of them.
|
|
14
|
+
- **The quote says what to do when an order cannot be placed**: `payment` (a payment outstanding: update the payment method in Billing, then order) and `capacity` (Curviate has no room for this many new Mailboxes at the moment: order fewer, or later). `charge_waits_for` (always null now) is no longer printed.
|
|
15
|
+
- **`MAILBOX_NO_ROOM`** exits `1`, as `MAILBOX_SALES_PAUSED`: nothing was ordered or charged; order fewer or later, never on a timer.
|
|
16
|
+
- **Search**: a refusal with budget `warm_up` reads "warm-up holds this Account's search at 0 pages for now (not a search setting)"; an import waiting on it reads "Warm-up holds this Account's search at 0 pages for now". `lead imports get` help names `warm_up` and the import's half share of the Account's search pages.
|
|
17
|
+
- Help: `mailbox buy` errors (`MAILBOX_PURCHASE_TRIAL` for a payment outstanding, `DOMAIN_IN_USE` for another Team's domain, `MAILBOX_NO_ROOM`), `mailbox purchase get` (`waiting_for`, every end reason), `mailbox quote` output; `core search companies --headcount`: 10001+ is not accepted.
|
|
18
|
+
|
|
9
19
|
## [0.64.0] - 2026-11-20
|
|
10
20
|
|
|
11
21
|
Requires `@curviate/sdk` 0.59.0 (exact pin; the vendored fixture is re-copied from the SDK's and its hash recomputed). `commands.json` regenerated. No new command, flag or exit code.
|
|
@@ -14,7 +14,7 @@ import {
|
|
|
14
14
|
grammarParams,
|
|
15
15
|
renderOverview,
|
|
16
16
|
windowParams
|
|
17
|
-
} from "./chunk-
|
|
17
|
+
} from "./chunk-6EKWHAEH.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-4K34FHE5.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-3RACWVSE.js";
|
|
45
45
|
import {
|
|
46
46
|
isJsonMode,
|
|
47
47
|
renderError,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
renderSuccess,
|
|
50
50
|
renderUnexpectedError,
|
|
51
51
|
writeNdjsonItem
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-Z67TWG6W.js";
|
|
53
53
|
import {
|
|
54
54
|
readHiddenToEof,
|
|
55
55
|
readlineSync
|
|
@@ -57,7 +57,7 @@ import {
|
|
|
57
57
|
import {
|
|
58
58
|
createClient,
|
|
59
59
|
resolveEffectiveConfig
|
|
60
|
-
} from "./chunk-
|
|
60
|
+
} from "./chunk-U55AXO2J.js";
|
|
61
61
|
import {
|
|
62
62
|
GLOBAL_FLAGS,
|
|
63
63
|
READ_SINGLE_FLAGS,
|
|
@@ -79,7 +79,7 @@ import {
|
|
|
79
79
|
} from "./chunk-ZYURL5VK.js";
|
|
80
80
|
import {
|
|
81
81
|
AUTH_NEEDED
|
|
82
|
-
} from "./chunk-
|
|
82
|
+
} from "./chunk-KU6ORZ5Z.js";
|
|
83
83
|
|
|
84
84
|
// src/commands/account-insights.ts
|
|
85
85
|
import { defineCommand } from "citty";
|
|
@@ -781,7 +781,7 @@ var connectRequestCommand = defineCommand4({
|
|
|
781
781
|
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." },
|
|
782
782
|
subCommands: { create: createCmd, get: getCmd2, cancel: cancelCmd },
|
|
783
783
|
async run() {
|
|
784
|
-
const { showHelp } = await import("./examples-
|
|
784
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
785
785
|
await showHelp(connectRequestCommand, ["curviate", "account", "connect-request"]);
|
|
786
786
|
}
|
|
787
787
|
});
|
|
@@ -812,7 +812,7 @@ function resolveOutputOpts(flags) {
|
|
|
812
812
|
async function handleError(err, outOpts, out) {
|
|
813
813
|
const { CurviateError } = await import("@curviate/sdk");
|
|
814
814
|
if (err instanceof CurviateError) {
|
|
815
|
-
const { getExitCode } = await import("./exit-codes-
|
|
815
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
816
816
|
renderError(err, outOpts, out);
|
|
817
817
|
process.exit(getExitCode(err));
|
|
818
818
|
}
|
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
grammarParams,
|
|
7
7
|
renderOverview,
|
|
8
8
|
windowParams
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-6EKWHAEH.js";
|
|
10
10
|
import "./chunk-PPGKQJKU.js";
|
|
11
11
|
import "./chunk-5S3MJVI5.js";
|
|
12
|
-
import "./chunk-
|
|
12
|
+
import "./chunk-4K34FHE5.js";
|
|
13
13
|
import "./chunk-NNV2OYEF.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-3RACWVSE.js";
|
|
15
|
+
import "./chunk-Z67TWG6W.js";
|
|
16
|
+
import "./chunk-U55AXO2J.js";
|
|
17
17
|
import "./chunk-65UYYCWD.js";
|
|
18
18
|
import "./chunk-Z647LR4F.js";
|
|
19
19
|
import "./chunk-ZYURL5VK.js";
|
|
@@ -4,14 +4,14 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-4K34FHE5.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
11
11
|
import {
|
|
12
12
|
renderSuccess
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-Z67TWG6W.js";
|
|
14
|
+
import "./chunk-U55AXO2J.js";
|
|
15
15
|
import {
|
|
16
16
|
READ_SINGLE_FLAGS,
|
|
17
17
|
WRITE_SINGLE_FLAGS,
|
|
@@ -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-FGF6HIAN.js");
|
|
76
76
|
await showHelp(betaCommand, ["curviate", "beta"]);
|
|
77
77
|
}
|
|
78
78
|
});
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
billingCommand,
|
|
4
4
|
confirmMoney
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-P5TGPTBV.js";
|
|
6
6
|
import "./chunk-GOICALYQ.js";
|
|
7
|
-
import "./chunk-
|
|
7
|
+
import "./chunk-4K34FHE5.js";
|
|
8
8
|
import "./chunk-TCUYH5GO.js";
|
|
9
9
|
import "./chunk-NNV2OYEF.js";
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
import "./chunk-3RACWVSE.js";
|
|
11
|
+
import "./chunk-Z67TWG6W.js";
|
|
12
|
+
import "./chunk-U55AXO2J.js";
|
|
13
13
|
import "./chunk-65UYYCWD.js";
|
|
14
14
|
import "./chunk-Z647LR4F.js";
|
|
15
15
|
import "./chunk-ZYURL5VK.js";
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
import {
|
|
3
3
|
renderNotices,
|
|
4
4
|
renderProvenanceNote
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z67TWG6W.js";
|
|
6
6
|
import {
|
|
7
7
|
isPlainObject
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-U55AXO2J.js";
|
|
9
9
|
|
|
10
10
|
// src/lib/paginate.ts
|
|
11
11
|
import { CurviateError } from "@curviate/sdk";
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
renderError,
|
|
4
4
|
renderUnexpectedError
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-Z67TWG6W.js";
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
8
8
|
resolveEffectiveConfig
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-U55AXO2J.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-MSUALZX5.js");
|
|
39
39
|
renderError(err, outputOpts(f), process);
|
|
40
40
|
process.exit(getExitCode(err));
|
|
41
41
|
}
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-4K34FHE5.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-3RACWVSE.js";
|
|
28
28
|
import {
|
|
29
29
|
renderSuccess,
|
|
30
30
|
writeNdjsonItem
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Z67TWG6W.js";
|
|
32
32
|
import {
|
|
33
33
|
downloadBinary
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-U55AXO2J.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
READ_SINGLE_FLAGS,
|
|
@@ -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-FGF6HIAN.js");
|
|
345
345
|
await showHelp(eventsCommand, ["curviate", "analytics", "events"]);
|
|
346
346
|
}
|
|
347
347
|
});
|
|
@@ -445,7 +445,7 @@ var analyticsCommand = defineCommand({
|
|
|
445
445
|
export: exportCmd
|
|
446
446
|
},
|
|
447
447
|
async run() {
|
|
448
|
-
const { showHelp } = await import("./examples-
|
|
448
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
449
449
|
await showHelp(analyticsCommand, ["curviate", "analytics"]);
|
|
450
450
|
}
|
|
451
451
|
});
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-3RACWVSE.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-KU6ORZ5Z.js";
|
|
11
11
|
|
|
12
12
|
// src/lib/path-safety.ts
|
|
13
13
|
var UNSAFE_CHARS = /[\u0000-\u0020\u007F/\\?#%]/;
|
|
@@ -21,24 +21,24 @@ import {
|
|
|
21
21
|
} from "./chunk-JY26SUNH.js";
|
|
22
22
|
import {
|
|
23
23
|
requireAccount
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-AR34Y3V6.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-3RACWVSE.js";
|
|
32
32
|
import {
|
|
33
33
|
renderError,
|
|
34
34
|
renderSuccess,
|
|
35
35
|
renderUnexpectedError
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z67TWG6W.js";
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
downloadBinary,
|
|
40
40
|
resolveEffectiveConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-U55AXO2J.js";
|
|
42
42
|
import {
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_FLAGS,
|
|
@@ -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-MSUALZX5.js");
|
|
157
157
|
renderError(err, outOpts, out);
|
|
158
158
|
process.exit(getExitCode(err));
|
|
159
159
|
}
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-AR34Y3V6.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-W524FTEO.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-4K34FHE5.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-3RACWVSE.js";
|
|
33
33
|
import {
|
|
34
34
|
renderSuccess,
|
|
35
35
|
writeNdjsonItem
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z67TWG6W.js";
|
|
37
37
|
import {
|
|
38
38
|
downloadBinary
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-U55AXO2J.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
READ_SINGLE_FLAGS,
|
|
@@ -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-FBASQAJ4.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-AKCTZSAC.js").then((m) => m.contactListsCommand)),
|
|
510
|
+
tags: lazy("contactTags", () => import("./contact-groups-AKCTZSAC.js").then((m) => m.contactTagsCommand)),
|
|
511
|
+
imports: lazy("contactImports", () => import("./contact-import-FBASQAJ4.js").then((m) => m.contactImportsCommand))
|
|
512
512
|
},
|
|
513
513
|
async run() {
|
|
514
|
-
const { showHelp } = await import("./examples-
|
|
514
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
515
515
|
await showHelp(contactCommand, ["curviate", "lead"]);
|
|
516
516
|
}
|
|
517
517
|
});
|
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
online,
|
|
4
4
|
preview
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-EGNU7GKL.js";
|
|
6
6
|
import {
|
|
7
7
|
sendChunked
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-W524FTEO.js";
|
|
9
9
|
import {
|
|
10
10
|
fail,
|
|
11
11
|
listFlag,
|
|
12
12
|
outputOpts,
|
|
13
13
|
usage
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-4K34FHE5.js";
|
|
15
15
|
import {
|
|
16
16
|
intFlag
|
|
17
17
|
} from "./chunk-NNV2OYEF.js";
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
readablePage,
|
|
24
24
|
rejectPaginationModifiersWithoutAll,
|
|
25
25
|
streamAll
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-3RACWVSE.js";
|
|
27
27
|
import {
|
|
28
28
|
isJsonMode,
|
|
29
29
|
renderSuccess,
|
|
30
30
|
writeNdjsonItem
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-Z67TWG6W.js";
|
|
32
32
|
import {
|
|
33
33
|
withWireNotes
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-U55AXO2J.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
WRITE_SINGLE_FLAGS,
|
|
@@ -447,7 +447,7 @@ function whenText(iso, now) {
|
|
|
447
447
|
if (dayKey(at) === dayKey(now + 864e5)) return `tomorrow at ${HM.format(at)}`;
|
|
448
448
|
return `on ${WD.format(at)} at ${HM.format(at)}`;
|
|
449
449
|
}
|
|
450
|
-
var LIMIT = { hour: "Hourly search limit reached", month: "Monthly search limit reached" };
|
|
450
|
+
var LIMIT = { hour: "Hourly search limit reached", month: "Monthly search limit reached", warm_up: "Warm-up holds this Account's search at 0 pages for now" };
|
|
451
451
|
function importStatusLine(imp, now = Date.now()) {
|
|
452
452
|
const im = imp ?? {};
|
|
453
453
|
if (im.format !== "source") return null;
|
|
@@ -517,7 +517,7 @@ var importOpts = (f, slim) => {
|
|
|
517
517
|
var importsGet = defineCommand({
|
|
518
518
|
meta: {
|
|
519
519
|
name: "get",
|
|
520
|
-
description:
|
|
520
|
+
description: "One import: its status, counts, the columns it mapped or ignored, and its failure. An import from a LinkedIn source also carries `next_page_at` (when its next page is read), `waiting` (why no page is read now, with `until`: active_hours, outside the Account's Active hours; budget, a search limit of the Account is reached, named by `budget`: hour, day, lines, month, or warm_up when warm-up holds the Account's search at 0 pages; while an import runs it and the Account's plain searches each are sure of half the hour's and the day's pages; pushback, LinkedIn slowed this search down; search_limited, LinkedIn shows this Account only a few search results for now; halt, a safety pause; account_unavailable, the Account needs reconnecting; import_ahead, queued behind `import_id`, another import of the same Account) and `estimate` (`seconds_min`, `seconds_max`: how long it still runs; `working_days_*` are deprecated). Without --json, `progress` says it in one line, for example \"Daily search limit reached. Next page tomorrow at 09:00. About 2 to 3 days left\". Nothing to retry and no need to poll: it resumes by itself; look again at `next_page_at`. Only a reconnect needs you, and a search limit you may raise with `curviate account safety update`. `counts.updated`: Leads the import filled at least one field on. With --outcome, its rows instead: one per row of the file with what happened (created, updated, unchanged, skipped), the reason and the field. Import records are kept for a limited time.",
|
|
521
521
|
risk: "read",
|
|
522
522
|
examples: ["curviate lead imports get imp_YOUR_IMPORT_ID", "curviate lead imports get imp_YOUR_IMPORT_ID --outcome skipped"]
|
|
523
523
|
},
|
|
@@ -582,7 +582,7 @@ var contactImportsCommand = defineCommand({
|
|
|
582
582
|
meta: { name: "imports", description: "Your Team's import records." },
|
|
583
583
|
subCommands: { list: importsList, get: importsGet, pause: importsPause, resume: importsResume, stop: importsStop },
|
|
584
584
|
async run() {
|
|
585
|
-
const { showHelp } = await import("./examples-
|
|
585
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
586
586
|
await showHelp(contactImportsCommand, ["curviate", "lead", "imports"]);
|
|
587
587
|
}
|
|
588
588
|
});
|
|
@@ -213,7 +213,8 @@ var EXIT_CODE_MAP = {
|
|
|
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
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
|
-
// available" (1)
|
|
216
|
+
// available" (1), and so is no room for this many new Mailboxes (1: it was the pause's code until Sold 13; never 7, an
|
|
217
|
+
// order is not retried on a timer, the person orders fewer or later).
|
|
217
218
|
MAILBOX_PURCHASE_NOT_FOUND: 4,
|
|
218
219
|
DOMAIN_IN_USE: 2,
|
|
219
220
|
DOMAIN_IS_COMPANY_EMAIL: 2,
|
|
@@ -221,6 +222,7 @@ var EXIT_CODE_MAP = {
|
|
|
221
222
|
MAILBOX_PURCHASE_STATE_CONFLICT: 8,
|
|
222
223
|
MAILBOX_PURCHASE_TRIAL: 11,
|
|
223
224
|
MAILBOX_SALES_PAUSED: 1,
|
|
225
|
+
MAILBOX_NO_ROOM: 1,
|
|
224
226
|
// Seat calls: only an Owner raises the spending cap or cancels in the dashboard (5, someone else acts first).
|
|
225
227
|
SPENDING_CAP_REACHED: 5,
|
|
226
228
|
CANCEL_IN_DASHBOARD: 5,
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4K34FHE5.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-3RACWVSE.js";
|
|
25
25
|
import {
|
|
26
26
|
renderSuccess,
|
|
27
27
|
writeNdjsonItem
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-Z67TWG6W.js";
|
|
29
29
|
import {
|
|
30
30
|
downloadBinary
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-U55AXO2J.js";
|
|
32
32
|
import {
|
|
33
33
|
GLOBAL_FLAGS,
|
|
34
34
|
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-FGF6HIAN.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-FGF6HIAN.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-FGF6HIAN.js");
|
|
352
352
|
await showHelp(billingCommand, ["curviate", "billing"]);
|
|
353
353
|
}
|
|
354
354
|
});
|
|
@@ -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.65.0";
|
|
278
278
|
|
|
279
279
|
// src/lib/client.ts
|
|
280
280
|
function headerStrings(headers) {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
fail,
|
|
4
4
|
outputOpts
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-4K34FHE5.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-MSUALZX5.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(
|
|
@@ -187,6 +187,8 @@ function searchBudgetWords(budget) {
|
|
|
187
187
|
return "search pages this LinkedIn month (it starts again on the 1st at 00:00 Pacific time)";
|
|
188
188
|
case "active_hours":
|
|
189
189
|
return "outside the Account's Active hours";
|
|
190
|
+
case "warm_up":
|
|
191
|
+
return "warm-up holds this Account's search at 0 pages for now (not a search setting)";
|
|
190
192
|
case "commercial_use":
|
|
191
193
|
return "LinkedIn showed this Account its monthly search limit; classic search waits for LinkedIn's next month (not a setting)";
|
|
192
194
|
default:
|
package/dist/cli.js
CHANGED
|
@@ -45,37 +45,37 @@ var main = defineCommand({
|
|
|
45
45
|
// Subcommand registry, names and descriptions are static for help rendering;
|
|
46
46
|
// the handler implementation is loaded lazily on first invocation.
|
|
47
47
|
subCommands: {
|
|
48
|
-
setup: lazy("setup", () => import("./setup-
|
|
49
|
-
doctor: lazy("doctor", () => import("./doctor-
|
|
50
|
-
login: lazy("login", () => import("./login-
|
|
51
|
-
config: lazy("config", () => import("./config-
|
|
52
|
-
account: lazy("account", () => import("./account-
|
|
53
|
-
campaign: lazy("campaign", () => import("./motion-
|
|
54
|
-
enrollment: lazy("enrollment", () => import("./enrollment-
|
|
55
|
-
lead: lazy("lead", () => import("./contact-
|
|
56
|
-
company: lazy("companyRecord", () => import("./company-record-
|
|
57
|
-
signal: lazy("signal", () => import("./signal-
|
|
58
|
-
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-
|
|
59
|
-
mailbox: lazy("mailbox", () => import("./mailbox-
|
|
60
|
-
domain: lazy("domain", () => import("./domain-
|
|
61
|
-
unibox: lazy("unibox", () => import("./unibox-
|
|
62
|
-
network: lazy("network", () => import("./network-
|
|
63
|
-
analytics: lazy("analytics", () => import("./analytics-
|
|
64
|
-
notification: lazy("notification", () => import("./notifications-
|
|
65
|
-
export: lazy("export", () => import("./export-
|
|
66
|
-
billing: lazy("billing", () => import("./billing-
|
|
67
|
-
tier: lazy("tier", () => import("./tier-
|
|
68
|
-
team: lazy("team", () => import("./team-
|
|
69
|
-
incoming: lazy("incoming", () => import("./incoming-
|
|
70
|
-
beta: lazy("beta", () => import("./beta-consent-
|
|
71
|
-
webhook: lazy("webhook", () => import("./webhook-
|
|
48
|
+
setup: lazy("setup", () => import("./setup-2ZIFAXKZ.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-CUQZXWSI.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-GDCPVZKK.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-GJX2WLRX.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-6IKQAGAX.js").then((m) => m.accountCommand)),
|
|
53
|
+
campaign: lazy("campaign", () => import("./motion-SVE2L5WD.js").then((m) => m.campaignCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-2NG5M63J.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
lead: lazy("lead", () => import("./contact-LFXH5ROE.js").then((m) => m.contactCommand)),
|
|
56
|
+
company: lazy("companyRecord", () => import("./company-record-WAY2ASK6.js").then((m) => m.companyRecordCommand)),
|
|
57
|
+
signal: lazy("signal", () => import("./signal-XI3V5TM3.js").then((m) => m.signalCommand)),
|
|
58
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-2RKGOFIQ.js").then((m) => m.doNotContactCommand)),
|
|
59
|
+
mailbox: lazy("mailbox", () => import("./mailbox-CVM5QZ7E.js").then((m) => m.mailboxCommand)),
|
|
60
|
+
domain: lazy("domain", () => import("./domain-2SRQNEK7.js").then((m) => m.domainCommand)),
|
|
61
|
+
unibox: lazy("unibox", () => import("./unibox-7TESM34K.js").then((m) => m.uniboxCommand)),
|
|
62
|
+
network: lazy("network", () => import("./network-4CZJH4YY.js").then((m) => m.networkCommand)),
|
|
63
|
+
analytics: lazy("analytics", () => import("./analytics-5LYWN4RF.js").then((m) => m.analyticsCommand)),
|
|
64
|
+
notification: lazy("notification", () => import("./notifications-76EAPG5B.js").then((m) => m.notificationsCommand)),
|
|
65
|
+
export: lazy("export", () => import("./export-DZLAEWWL.js").then((m) => m.exportCommand)),
|
|
66
|
+
billing: lazy("billing", () => import("./billing-R6TDVSMZ.js").then((m) => m.billingCommand)),
|
|
67
|
+
tier: lazy("tier", () => import("./tier-SOYZZJBA.js").then((m) => m.tierCommand)),
|
|
68
|
+
team: lazy("team", () => import("./team-D4BGYY2L.js").then((m) => m.teamCommand)),
|
|
69
|
+
incoming: lazy("incoming", () => import("./incoming-EF3LZGZA.js").then((m) => m.incomingCommand)),
|
|
70
|
+
beta: lazy("beta", () => import("./beta-consent-PPI5IUSD.js").then((m) => m.betaCommand)),
|
|
71
|
+
webhook: lazy("webhook", () => import("./webhook-WS5TOVSN.js").then((m) => m.webhookCommand)),
|
|
72
72
|
// The LinkedIn building blocks. Reserved product groups
|
|
73
73
|
// (unibox, network, analytics, team) land
|
|
74
74
|
// between `enrollment` and `webhook` with their owning specs.
|
|
75
|
-
core: lazy("core", () => import("./core-
|
|
75
|
+
core: lazy("core", () => import("./core-7XJG4ISF.js").then((m) => m.coreCommand))
|
|
76
76
|
},
|
|
77
77
|
async run() {
|
|
78
|
-
const { showHelp } = await import("./examples-
|
|
78
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
79
79
|
await showHelp(main, ["curviate"]);
|
|
80
80
|
}
|
|
81
81
|
});
|
|
@@ -367,7 +367,7 @@ async function dispatch(root, rawArgs) {
|
|
|
367
367
|
helpFor = "curviate";
|
|
368
368
|
if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
|
|
369
369
|
const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
|
|
370
|
-
const { showHelp } = await import("./examples-
|
|
370
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
371
371
|
await showHelp(leaf, path);
|
|
372
372
|
await new Promise((done) => process.stdout.write("", () => done()));
|
|
373
373
|
process.exit(0);
|
|
@@ -455,7 +455,7 @@ async function dispatch(root, rawArgs) {
|
|
|
455
455
|
if (code === "EARG") process.stderr.write(helpPointer());
|
|
456
456
|
const { CurviateError } = await import("@curviate/sdk");
|
|
457
457
|
if (err instanceof CurviateError) {
|
|
458
|
-
const { getExitCode } = await import("./exit-codes-
|
|
458
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
459
459
|
process.exit(getExitCode(err));
|
|
460
460
|
}
|
|
461
461
|
process.exit(code === "EARG" ? 2 : 1);
|