@curviate/cli 0.63.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 +18 -0
- package/dist/{account-4T7S3HZD.js → account-6IKQAGAX.js} +8 -8
- package/dist/{analytics-4Z4PKAJ3.js → analytics-5LYWN4RF.js} +5 -5
- package/dist/{beta-consent-HYJPCSJ4.js → beta-consent-PPI5IUSD.js} +4 -4
- package/dist/{billing-V65MIXTE.js → billing-R6TDVSMZ.js} +5 -5
- package/dist/{chunk-I6KOMJVE.js → chunk-3RACWVSE.js} +2 -2
- package/dist/{chunk-TU4IAQU7.js → chunk-4K34FHE5.js} +3 -3
- package/dist/{chunk-REUJDFUI.js → chunk-6EKWHAEH.js} +6 -6
- package/dist/{chunk-LJ4KKQX3.js → chunk-76OVMT7O.js} +1 -1
- package/dist/{chunk-OJI6MXDZ.js → chunk-AR34Y3V6.js} +2 -2
- package/dist/{chunk-VMYY6QVQ.js → chunk-CCBUB6WM.js} +5 -5
- package/dist/{chunk-4G46D4PW.js → chunk-EGNU7GKL.js} +11 -11
- package/dist/{chunk-EO42KWBI.js → chunk-KAMKNMDR.js} +111 -29
- package/dist/{chunk-DLYVUDNF.js → chunk-KU6ORZ5Z.js} +3 -1
- package/dist/{chunk-A36LF5KC.js → chunk-P5TGPTBV.js} +7 -7
- package/dist/{chunk-D6IQCQMP.js → chunk-U55AXO2J.js} +1 -1
- package/dist/{chunk-5GNACRVM.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-HWQ2QKMC.js → comment-FDZMRASJ.js} +7 -7
- package/dist/{company-7IQVEW5C.js → company-6ZUDLEGL.js} +7 -7
- package/dist/{company-record-VKRYZT36.js → company-record-WAY2ASK6.js} +10 -10
- package/dist/{config-H42PGDKK.js → config-GJX2WLRX.js} +1 -1
- package/dist/{connect-WKZBF3HH.js → connect-VV5BEFAE.js} +11 -11
- package/dist/{contact-YNPRX24V.js → contact-LFXH5ROE.js} +8 -8
- package/dist/{contact-groups-3IKE27LP.js → contact-groups-AKCTZSAC.js} +10 -10
- package/dist/{contact-import-CNUUBV2G.js → contact-import-FBASQAJ4.js} +17 -11
- package/dist/{core-WYX2KPXO.js → core-7XJG4ISF.js} +17 -17
- package/dist/{do-not-contact-SK3X2GUZ.js → do-not-contact-2RKGOFIQ.js} +10 -10
- package/dist/{doctor-JXZ6IA7V.js → doctor-CUQZXWSI.js} +4 -4
- package/dist/{domain-3O3RRDDE.js → domain-2SRQNEK7.js} +5 -5
- package/dist/{draft-N25LUN3O.js → draft-IVPVFA5U.js} +4 -4
- package/dist/{enrollment-XVOTQJCW.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-WZURNCW4.js → export-DZLAEWWL.js} +4 -4
- package/dist/{feed-TQNYEIKA.js → feed-6DXIJPPF.js} +6 -6
- package/dist/{group-YH74XB2A.js → group-WVITK4FF.js} +6 -6
- package/dist/{inbox-ONG2WAQF.js → inbox-OLW6KMF7.js} +6 -6
- package/dist/{inboxes-2UUPV7YG.js → inboxes-HV6PXICA.js} +6 -6
- package/dist/{incoming-36FVTDLR.js → incoming-EF3LZGZA.js} +5 -5
- package/dist/{job-ZUXQNQWE.js → job-T5LNQACM.js} +6 -6
- package/dist/{login-2XMBLHXZ.js → login-GDCPVZKK.js} +1 -1
- package/dist/{mailbox-3SAHMUXD.js → mailbox-CVM5QZ7E.js} +36 -17
- package/dist/{message-6RXPM34Y.js → message-OWRSYEOB.js} +6 -6
- package/dist/{motion-H3VRJTMG.js → motion-SVE2L5WD.js} +8 -8
- package/dist/{network-TJNJ2KOZ.js → network-4CZJH4YY.js} +5 -5
- package/dist/{notification-3RCR3752.js → notification-VMN4OPZ7.js} +6 -6
- package/dist/{notifications-JLCI2HNY.js → notifications-76EAPG5B.js} +6 -6
- package/dist/{post-LFIOTRVB.js → post-3QLWHDU6.js} +7 -7
- package/dist/{profile-4AND35NT.js → profile-PCBKCXLO.js} +11 -11
- package/dist/{recruiter-WCD6QX6I.js → recruiter-JNVHS64B.js} +6 -6
- package/dist/{sales-nav-GNRI37BT.js → sales-nav-53AJYUUW.js} +6 -6
- package/dist/{search-EO42F7WY.js → search-DMWKN7TD.js} +15 -15
- package/dist/{setup-MXG4WJ3O.js → setup-2ZIFAXKZ.js} +4 -4
- package/dist/{signal-VWJ2AEIA.js → signal-XI3V5TM3.js} +5 -5
- package/dist/{team-JAW7XI3C.js → team-D4BGYY2L.js} +5 -5
- package/dist/{tier-DHUKMNWG.js → tier-SOYZZJBA.js} +4 -4
- package/dist/{unibox-JV2VN6TC.js → unibox-7TESM34K.js} +8 -8
- package/dist/{webhook-R4SR6TYR.js → webhook-WS5TOVSN.js} +5 -5
- package/package.json +2 -2
|
@@ -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);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-76OVMT7O.js";
|
|
5
5
|
import "./chunk-UEAX6KUB.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-JY26SUNH.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AR34Y3V6.js";
|
|
20
20
|
import {
|
|
21
21
|
buildPreviewOutput
|
|
22
22
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-3RACWVSE.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
34
34
|
renderUnexpectedError,
|
|
35
35
|
writeNdjsonItem
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z67TWG6W.js";
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-U55AXO2J.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
resolveTextOrStdin
|
|
51
51
|
} from "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/comment.ts
|
|
55
55
|
import { defineCommand } from "citty";
|
|
@@ -78,7 +78,7 @@ function buildListQuery(flags, out) {
|
|
|
78
78
|
async function handleSdkError(err, outOpts, out) {
|
|
79
79
|
const { CurviateError } = await import("@curviate/sdk");
|
|
80
80
|
if (err instanceof CurviateError) {
|
|
81
|
-
const { getExitCode } = await import("./exit-codes-
|
|
81
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-L7JH3W56.js";
|
|
7
7
|
import {
|
|
8
8
|
sentAsNotice
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-CCBUB6WM.js";
|
|
10
10
|
import "./chunk-UWO2D4HW.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveIdentifier
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
} from "./chunk-JY26SUNH.js";
|
|
32
32
|
import {
|
|
33
33
|
requireAccount
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-AR34Y3V6.js";
|
|
35
35
|
import {
|
|
36
36
|
buildPreviewOutput
|
|
37
37
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -44,17 +44,17 @@ import {
|
|
|
44
44
|
readablePage,
|
|
45
45
|
rejectPaginationModifiersWithoutAll,
|
|
46
46
|
streamAll
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-3RACWVSE.js";
|
|
48
48
|
import {
|
|
49
49
|
renderError,
|
|
50
50
|
renderSuccess,
|
|
51
51
|
renderUnexpectedError,
|
|
52
52
|
writeNdjsonItem
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-Z67TWG6W.js";
|
|
54
54
|
import {
|
|
55
55
|
createClient,
|
|
56
56
|
resolveEffectiveConfig
|
|
57
|
-
} from "./chunk-
|
|
57
|
+
} from "./chunk-U55AXO2J.js";
|
|
58
58
|
import {
|
|
59
59
|
GLOBAL_FLAGS,
|
|
60
60
|
READ_SINGLE_FLAGS,
|
|
@@ -68,7 +68,7 @@ import "./chunk-FDJMAF7D.js";
|
|
|
68
68
|
import {
|
|
69
69
|
resolveTextOrStdin
|
|
70
70
|
} from "./chunk-ZYURL5VK.js";
|
|
71
|
-
import "./chunk-
|
|
71
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
72
72
|
|
|
73
73
|
// src/commands/company.ts
|
|
74
74
|
import { defineCommand } from "citty";
|
|
@@ -102,7 +102,7 @@ async function resolveCompanyId(ns, raw) {
|
|
|
102
102
|
async function handleSdkError(err, outOpts, out) {
|
|
103
103
|
const { CurviateError } = await import("@curviate/sdk");
|
|
104
104
|
if (err instanceof CurviateError) {
|
|
105
|
-
const { getExitCode } = await import("./exit-codes-
|
|
105
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
106
106
|
renderError(err, outOpts, out);
|
|
107
107
|
process.exit(getExitCode(err));
|
|
108
108
|
}
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
csvRecords
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-KAMKNMDR.js";
|
|
5
|
+
import "./chunk-EGNU7GKL.js";
|
|
6
|
+
import "./chunk-AR34Y3V6.js";
|
|
7
7
|
import "./chunk-GOICALYQ.js";
|
|
8
|
-
import "./chunk-
|
|
8
|
+
import "./chunk-W524FTEO.js";
|
|
9
9
|
import {
|
|
10
10
|
fail,
|
|
11
11
|
listFlag,
|
|
12
12
|
outputOpts,
|
|
13
13
|
rootClient,
|
|
14
14
|
usage
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-4K34FHE5.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
19
19
|
import "./chunk-NNV2OYEF.js";
|
|
20
20
|
import {
|
|
21
21
|
readableObject
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3RACWVSE.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess
|
|
25
|
-
} from "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
} from "./chunk-Z67TWG6W.js";
|
|
26
|
+
import "./chunk-U55AXO2J.js";
|
|
27
27
|
import {
|
|
28
28
|
READ_SINGLE_FLAGS,
|
|
29
29
|
WRITE_SINGLE_FLAGS,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
} from "./chunk-JKOQX46J.js";
|
|
38
38
|
import "./chunk-FDJMAF7D.js";
|
|
39
39
|
import "./chunk-ZYURL5VK.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/company-record.ts
|
|
43
43
|
import { defineCommand } from "citty";
|
|
@@ -203,7 +203,7 @@ var companyRecordCommand = defineCommand({
|
|
|
203
203
|
meta: { name: "company", description: DESCRIPTIONS.companyRecord },
|
|
204
204
|
subCommands: { get: getCmd, fields: fieldsCmd },
|
|
205
205
|
async run() {
|
|
206
|
-
const { showHelp } = await import("./examples-
|
|
206
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
207
207
|
await showHelp(companyRecordCommand, ["curviate", "company"]);
|
|
208
208
|
}
|
|
209
209
|
});
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-EIPQUQK2.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AR34Y3V6.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -26,17 +26,17 @@ import {
|
|
|
26
26
|
readablePage,
|
|
27
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
28
|
streamAll
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-3RACWVSE.js";
|
|
30
30
|
import {
|
|
31
31
|
renderError,
|
|
32
32
|
renderSuccess,
|
|
33
33
|
renderUnexpectedError,
|
|
34
34
|
writeNdjsonItem
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-Z67TWG6W.js";
|
|
36
36
|
import {
|
|
37
37
|
createClient,
|
|
38
38
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-U55AXO2J.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
nearestSubcommand
|
|
50
50
|
} from "./chunk-FDJMAF7D.js";
|
|
51
51
|
import "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/connect.ts
|
|
55
55
|
import { defineCommand } from "citty";
|
|
@@ -93,7 +93,7 @@ async function runConnectSend(client, flags, out) {
|
|
|
93
93
|
} catch (err) {
|
|
94
94
|
const { CurviateError } = await import("@curviate/sdk");
|
|
95
95
|
if (err instanceof CurviateError) {
|
|
96
|
-
const { getExitCode } = await import("./exit-codes-
|
|
96
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
97
97
|
renderError(err, outOpts, out);
|
|
98
98
|
process.exit(getExitCode(err));
|
|
99
99
|
}
|
|
@@ -132,7 +132,7 @@ async function runConnectSent(client, flags, out) {
|
|
|
132
132
|
} catch (err) {
|
|
133
133
|
const { CurviateError } = await import("@curviate/sdk");
|
|
134
134
|
if (err instanceof CurviateError) {
|
|
135
|
-
const { getExitCode } = await import("./exit-codes-
|
|
135
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
136
136
|
renderError(err, outOpts, out);
|
|
137
137
|
process.exit(getExitCode(err));
|
|
138
138
|
}
|
|
@@ -171,7 +171,7 @@ async function runConnectReceived(client, flags, out) {
|
|
|
171
171
|
} catch (err) {
|
|
172
172
|
const { CurviateError } = await import("@curviate/sdk");
|
|
173
173
|
if (err instanceof CurviateError) {
|
|
174
|
-
const { getExitCode } = await import("./exit-codes-
|
|
174
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
175
175
|
renderError(err, outOpts, out);
|
|
176
176
|
process.exit(getExitCode(err));
|
|
177
177
|
}
|
|
@@ -200,7 +200,7 @@ async function runConnectAccept(client, flags, out) {
|
|
|
200
200
|
} catch (err) {
|
|
201
201
|
const { CurviateError } = await import("@curviate/sdk");
|
|
202
202
|
if (err instanceof CurviateError) {
|
|
203
|
-
const { getExitCode } = await import("./exit-codes-
|
|
203
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
204
204
|
renderError(err, outOpts, out);
|
|
205
205
|
process.exit(getExitCode(err));
|
|
206
206
|
}
|
|
@@ -229,7 +229,7 @@ async function runConnectDecline(client, flags, out) {
|
|
|
229
229
|
} catch (err) {
|
|
230
230
|
const { CurviateError } = await import("@curviate/sdk");
|
|
231
231
|
if (err instanceof CurviateError) {
|
|
232
|
-
const { getExitCode } = await import("./exit-codes-
|
|
232
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
233
233
|
renderError(err, outOpts, out);
|
|
234
234
|
process.exit(getExitCode(err));
|
|
235
235
|
}
|
|
@@ -258,7 +258,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
258
258
|
} catch (err) {
|
|
259
259
|
const { CurviateError } = await import("@curviate/sdk");
|
|
260
260
|
if (err instanceof CurviateError) {
|
|
261
|
-
const { getExitCode } = await import("./exit-codes-
|
|
261
|
+
const { getExitCode } = await import("./exit-codes-MSUALZX5.js");
|
|
262
262
|
renderError(err, outOpts, out);
|
|
263
263
|
process.exit(getExitCode(err));
|
|
264
264
|
}
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
online,
|
|
8
8
|
positionals,
|
|
9
9
|
preview
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-EGNU7GKL.js";
|
|
11
|
+
import "./chunk-AR34Y3V6.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-W524FTEO.js";
|
|
14
|
+
import "./chunk-4K34FHE5.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-3RACWVSE.js";
|
|
18
|
+
import "./chunk-Z67TWG6W.js";
|
|
19
|
+
import "./chunk-U55AXO2J.js";
|
|
20
20
|
import "./chunk-65UYYCWD.js";
|
|
21
21
|
import "./chunk-Z647LR4F.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
24
24
|
export {
|
|
25
25
|
BULK_MAX_IDS,
|
|
26
26
|
contactCommand,
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
online,
|
|
9
9
|
preview,
|
|
10
10
|
readFilter
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-EGNU7GKL.js";
|
|
12
|
+
import "./chunk-AR34Y3V6.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-W524FTEO.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4K34FHE5.js";
|
|
23
23
|
import "./chunk-TCUYH5GO.js";
|
|
24
24
|
import {
|
|
25
25
|
intFlag
|
|
@@ -32,12 +32,12 @@ import {
|
|
|
32
32
|
readablePage,
|
|
33
33
|
rejectPaginationModifiersWithoutAll,
|
|
34
34
|
streamAll
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-3RACWVSE.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
|
-
} from "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
} from "./chunk-Z67TWG6W.js";
|
|
40
|
+
import "./chunk-U55AXO2J.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
@@ -46,7 +46,7 @@ import {
|
|
|
46
46
|
} from "./chunk-65UYYCWD.js";
|
|
47
47
|
import "./chunk-Z647LR4F.js";
|
|
48
48
|
import "./chunk-ZYURL5VK.js";
|
|
49
|
-
import "./chunk-
|
|
49
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
50
50
|
|
|
51
51
|
// src/commands/contact-groups.ts
|
|
52
52
|
import { defineCommand } from "citty";
|
|
@@ -293,7 +293,7 @@ var contactListsCommand = defineCommand({
|
|
|
293
293
|
meta: { name: "lists", description: "Lead lists: named sets of Leads a Campaign enrolls from." },
|
|
294
294
|
subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
|
|
295
295
|
async run() {
|
|
296
|
-
const { showHelp } = await import("./examples-
|
|
296
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
297
297
|
await showHelp(contactListsCommand, ["curviate", "lead", "lists"]);
|
|
298
298
|
}
|
|
299
299
|
});
|
|
@@ -390,7 +390,7 @@ var contactTagsCommand = defineCommand({
|
|
|
390
390
|
meta: { name: "tags", description: "Tags: labels on Leads." },
|
|
391
391
|
subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
|
|
392
392
|
async run() {
|
|
393
|
-
const { showHelp } = await import("./examples-
|
|
393
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
394
394
|
await showHelp(contactTagsCommand, ["curviate", "lead", "tags"]);
|
|
395
395
|
}
|
|
396
396
|
});
|
|
@@ -7,24 +7,27 @@ import {
|
|
|
7
7
|
contactImportCommand,
|
|
8
8
|
contactImportsCommand,
|
|
9
9
|
csvRecords,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
10
|
+
durationText,
|
|
11
|
+
estimateText,
|
|
12
|
+
importStatusLine,
|
|
13
|
+
whenText
|
|
14
|
+
} from "./chunk-KAMKNMDR.js";
|
|
15
|
+
import "./chunk-EGNU7GKL.js";
|
|
16
|
+
import "./chunk-AR34Y3V6.js";
|
|
14
17
|
import "./chunk-GOICALYQ.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-W524FTEO.js";
|
|
19
|
+
import "./chunk-4K34FHE5.js";
|
|
17
20
|
import "./chunk-TCUYH5GO.js";
|
|
18
21
|
import "./chunk-NNV2OYEF.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-3RACWVSE.js";
|
|
23
|
+
import "./chunk-Z67TWG6W.js";
|
|
24
|
+
import "./chunk-U55AXO2J.js";
|
|
22
25
|
import "./chunk-65UYYCWD.js";
|
|
23
26
|
import "./chunk-Z647LR4F.js";
|
|
24
27
|
import "./chunk-JKOQX46J.js";
|
|
25
28
|
import "./chunk-FDJMAF7D.js";
|
|
26
29
|
import "./chunk-ZYURL5VK.js";
|
|
27
|
-
import "./chunk-
|
|
30
|
+
import "./chunk-KU6ORZ5Z.js";
|
|
28
31
|
export {
|
|
29
32
|
IMPORT_MAX_BODY_BYTES,
|
|
30
33
|
IMPORT_MAX_ROWS,
|
|
@@ -33,5 +36,8 @@ export {
|
|
|
33
36
|
contactImportCommand,
|
|
34
37
|
contactImportsCommand,
|
|
35
38
|
csvRecords,
|
|
36
|
-
|
|
39
|
+
durationText,
|
|
40
|
+
estimateText,
|
|
41
|
+
importStatusLine,
|
|
42
|
+
whenText
|
|
37
43
|
};
|
|
@@ -19,25 +19,25 @@ var coreCommand = defineCommand({
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
subCommands: {
|
|
22
|
-
profile: lazy("profile", () => import("./profile-
|
|
23
|
-
company: lazy("company", () => import("./company-
|
|
24
|
-
job: lazy("job", () => import("./job-
|
|
25
|
-
connect: lazy("connect", () => import("./connect-
|
|
26
|
-
search: lazy("search", () => import("./search-
|
|
27
|
-
inbox: lazy("inbox", () => import("./inbox-
|
|
28
|
-
inboxes: lazy("inboxes", () => import("./inboxes-
|
|
29
|
-
message: lazy("message", () => import("./message-
|
|
30
|
-
post: lazy("post", () => import("./post-
|
|
31
|
-
comment: lazy("comment", () => import("./comment-
|
|
32
|
-
"sales-nav": lazy("sales-nav", () => import("./sales-nav-
|
|
33
|
-
recruiter: lazy("recruiter", () => import("./recruiter-
|
|
34
|
-
group: lazy("group", () => import("./group-
|
|
35
|
-
feed: lazy("feed", () => import("./feed-
|
|
36
|
-
notification: lazy("coreNotification", () => import("./notification-
|
|
37
|
-
draft: lazy("draft", () => import("./draft-
|
|
22
|
+
profile: lazy("profile", () => import("./profile-PCBKCXLO.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-6ZUDLEGL.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-T5LNQACM.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-VV5BEFAE.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-DMWKN7TD.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-OLW6KMF7.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-HV6PXICA.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-OWRSYEOB.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-3QLWHDU6.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-FDZMRASJ.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-53AJYUUW.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-JNVHS64B.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-WVITK4FF.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-6DXIJPPF.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-VMN4OPZ7.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-IVPVFA5U.js").then((m) => m.draftCommand))
|
|
38
38
|
},
|
|
39
39
|
async run() {
|
|
40
|
-
const { showHelp } = await import("./examples-
|
|
40
|
+
const { showHelp } = await import("./examples-FGF6HIAN.js");
|
|
41
41
|
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
42
|
}
|
|
43
43
|
});
|