@curviate/cli 0.54.0 → 0.56.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 +57 -0
- package/README.md +35 -17
- package/dist/{account-DW5N5MJ6.js → account-ZF5NEMID.js} +132 -125
- package/dist/{analytics-T2K3OWVQ.js → analytics-M7JWS67A.js} +5 -5
- package/dist/{beta-consent-O736ONE7.js → beta-consent-4Q2LZZQC.js} +4 -4
- package/dist/{billing-NTBL32EX.js → billing-LYPSX5SR.js} +78 -6
- package/dist/{chunk-N76WNJ5T.js → chunk-7PLTQHNO.js} +1 -1
- package/dist/{chunk-N4IYTFIY.js → chunk-AMTKGO37.js} +1 -1
- package/dist/{chunk-ACKKHLUH.js → chunk-CRO7PJ4I.js} +2 -2
- package/dist/chunk-DENWYJK2.js +94 -0
- package/dist/{chunk-FBLCSVIU.js → chunk-EI64VFBE.js} +47 -47
- package/dist/{chunk-ENBIMEKS.js → chunk-IB6ARI3R.js} +1 -1
- package/dist/{chunk-Q57PZJLX.js → chunk-J4SFOFMT.js} +90 -88
- package/dist/{chunk-FUX3BRYP.js → chunk-JXDEV33Z.js} +1 -1
- package/dist/{chunk-5B4T6BMN.js → chunk-L3RJU7C3.js} +44 -44
- package/dist/{chunk-KXJJFHSD.js → chunk-MIOEYSBQ.js} +1 -1
- package/dist/{chunk-R4HS2MWM.js → chunk-MWVTFTWV.js} +15 -13
- package/dist/{chunk-QW5K5DTC.js → chunk-RDKTHFQ6.js} +25 -6
- package/dist/{chunk-62YAYAUI.js → chunk-RKNW4UX4.js} +51 -9
- package/dist/{chunk-V3HHYTBY.js → chunk-UOWOKEB2.js} +1 -1
- package/dist/{chunk-HOMRAZ6S.js → chunk-UWRWZG4N.js} +2 -2
- package/dist/{chunk-A3UNS44U.js → chunk-VEMK4MJM.js} +10 -10
- package/dist/{chunk-UFHT2KZG.js → chunk-XP6S6E55.js} +2 -2
- package/dist/cli.js +33 -25
- package/dist/{comment-ATVJOTWV.js → comment-D6RSZTVK.js} +8 -8
- package/dist/{company-BRKFROPE.js → company-3Z6PXGTW.js} +11 -11
- package/dist/{config-E223SS5K.js → config-VY5MCJMN.js} +2 -2
- package/dist/{connect-XVDQ5FTT.js → connect-G2RTLV7G.js} +15 -15
- package/dist/{contact-4HOUOVD7.js → contact-QSLJCBDE.js} +8 -8
- package/dist/{contact-groups-ENA3VGGL.js → contact-groups-OITAD73K.js} +85 -85
- package/dist/{contact-import-4EKVDFPV.js → contact-import-LT7BKESC.js} +10 -10
- package/dist/core-RFTNNB6P.js +46 -0
- package/dist/{do-not-contact-S2WGHSQL.js → do-not-contact-ZA7KS5WD.js} +59 -33
- package/dist/{doctor-OFIUGRUG.js → doctor-JQT3DO6G.js} +4 -4
- package/dist/{document-MDE2WJYX.js → document-H65EXU4L.js} +1 -1
- package/dist/domain-7EX4E34B.js +70 -0
- package/dist/{draft-DD3DTXBM.js → draft-7U6H4BPF.js} +4 -4
- package/dist/{enrollment-ESCHKQ5X.js → enrollment-AZ6XGVVL.js} +40 -38
- package/dist/{examples-KAMXHRLE.js → examples-IGQJCSNL.js} +2 -2
- package/dist/{exit-codes-CYQHN4NE.js → exit-codes-ZSOLAXQO.js} +1 -1
- package/dist/{export-GUAGB7TF.js → export-OYMQXL62.js} +5 -5
- package/dist/{feed-ZC4FY4BA.js → feed-M5D4SJW7.js} +6 -6
- package/dist/{group-42ZE7K3K.js → group-UTC3YBKE.js} +6 -6
- package/dist/{inbox-2YS7CTXH.js → inbox-VSGNHSLG.js} +9 -9
- package/dist/{inboxes-5RB3BGCQ.js → inboxes-23C2MJK4.js} +6 -6
- package/dist/{incoming-ATZN6JJA.js → incoming-QVPP32K7.js} +13 -13
- package/dist/{job-WD3Z3P3Q.js → job-ZHVFFRWE.js} +10 -10
- package/dist/{login-JQ57YHEJ.js → login-6OTNXEJZ.js} +4 -4
- package/dist/mailbox-HD2UXZCA.js +405 -0
- package/dist/{message-WGS2IIDC.js → message-PIV77W47.js} +7 -7
- package/dist/{motion-BRVBJJJP.js → motion-AHYF34DP.js} +224 -149
- package/dist/{network-CODIWCJQ.js → network-RJHJFZEY.js} +5 -5
- package/dist/{notification-RLVF4NLJ.js → notification-XGR4NT3S.js} +6 -6
- package/dist/{notifications-HGEHM5KW.js → notifications-BHRWSHPR.js} +6 -6
- package/dist/{post-3GH2IPO6.js → post-Z7AVDDKA.js} +8 -8
- package/dist/{profile-6RFJQMIB.js → profile-YZNBX2RP.js} +15 -15
- package/dist/{recruiter-GK3UNS62.js → recruiter-EXM4P7X7.js} +17 -17
- package/dist/{sales-nav-SLS3ABF4.js → sales-nav-CKDSEXV2.js} +15 -15
- package/dist/{search-45WRT5T3.js → search-B7FB6674.js} +17 -17
- package/dist/{setup-5QZOM2Q2.js → setup-VZVPLJ4V.js} +5 -5
- package/dist/{team-WM3RKOQ2.js → team-PYABBUHO.js} +6 -6
- package/dist/{tier-5AMLO5KE.js → tier-PRK4WQKR.js} +4 -4
- package/dist/{unibox-TTCF7YVO.js → unibox-ZNKX2EKL.js} +34 -34
- package/dist/{webhook-UCCCSKDO.js → webhook-V74EV4E2.js} +18 -18
- package/package.json +2 -2
- package/dist/core-6VDDV2NM.js +0 -46
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
fail,
|
|
4
4
|
outputOpts
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-UWRWZG4N.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-ZSOLAXQO.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(
|
package/dist/cli.js
CHANGED
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-QLKGOIWS.js";
|
|
16
16
|
import {
|
|
17
17
|
lazy
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-MWVTFTWV.js";
|
|
19
19
|
import {
|
|
20
20
|
editDistance
|
|
21
21
|
} from "./chunk-FDJMAF7D.js";
|
|
@@ -45,33 +45,35 @@ 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
|
-
|
|
54
|
-
enrollment: lazy("enrollment", () => import("./enrollment-
|
|
55
|
-
|
|
56
|
-
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
48
|
+
setup: lazy("setup", () => import("./setup-VZVPLJ4V.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-JQT3DO6G.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-6OTNXEJZ.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-VY5MCJMN.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-ZF5NEMID.js").then((m) => m.accountCommand)),
|
|
53
|
+
campaign: lazy("campaign", () => import("./motion-AHYF34DP.js").then((m) => m.campaignCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-AZ6XGVVL.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
lead: lazy("lead", () => import("./contact-QSLJCBDE.js").then((m) => m.contactCommand)),
|
|
56
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-ZA7KS5WD.js").then((m) => m.doNotContactCommand)),
|
|
57
|
+
mailbox: lazy("mailbox", () => import("./mailbox-HD2UXZCA.js").then((m) => m.mailboxCommand)),
|
|
58
|
+
domain: lazy("domain", () => import("./domain-7EX4E34B.js").then((m) => m.domainCommand)),
|
|
59
|
+
unibox: lazy("unibox", () => import("./unibox-ZNKX2EKL.js").then((m) => m.uniboxCommand)),
|
|
60
|
+
network: lazy("network", () => import("./network-RJHJFZEY.js").then((m) => m.networkCommand)),
|
|
61
|
+
analytics: lazy("analytics", () => import("./analytics-M7JWS67A.js").then((m) => m.analyticsCommand)),
|
|
62
|
+
notification: lazy("notification", () => import("./notifications-BHRWSHPR.js").then((m) => m.notificationsCommand)),
|
|
63
|
+
export: lazy("export", () => import("./export-OYMQXL62.js").then((m) => m.exportCommand)),
|
|
64
|
+
billing: lazy("billing", () => import("./billing-LYPSX5SR.js").then((m) => m.billingCommand)),
|
|
65
|
+
tier: lazy("tier", () => import("./tier-PRK4WQKR.js").then((m) => m.tierCommand)),
|
|
66
|
+
team: lazy("team", () => import("./team-PYABBUHO.js").then((m) => m.teamCommand)),
|
|
67
|
+
incoming: lazy("incoming", () => import("./incoming-QVPP32K7.js").then((m) => m.incomingCommand)),
|
|
68
|
+
beta: lazy("beta", () => import("./beta-consent-4Q2LZZQC.js").then((m) => m.betaCommand)),
|
|
69
|
+
webhook: lazy("webhook", () => import("./webhook-V74EV4E2.js").then((m) => m.webhookCommand)),
|
|
68
70
|
// The LinkedIn building blocks. Reserved product groups
|
|
69
71
|
// (unibox, network, analytics, team) land
|
|
70
72
|
// between `enrollment` and `webhook` with their owning specs.
|
|
71
|
-
core: lazy("core", () => import("./core-
|
|
73
|
+
core: lazy("core", () => import("./core-RFTNNB6P.js").then((m) => m.coreCommand))
|
|
72
74
|
},
|
|
73
75
|
async run() {
|
|
74
|
-
const { showHelp } = await import("./examples-
|
|
76
|
+
const { showHelp } = await import("./examples-IGQJCSNL.js");
|
|
75
77
|
await showHelp(main, ["curviate"]);
|
|
76
78
|
}
|
|
77
79
|
});
|
|
@@ -363,7 +365,7 @@ async function dispatch(root, rawArgs) {
|
|
|
363
365
|
helpFor = "curviate";
|
|
364
366
|
if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
|
|
365
367
|
const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
|
|
366
|
-
const { showHelp } = await import("./examples-
|
|
368
|
+
const { showHelp } = await import("./examples-IGQJCSNL.js");
|
|
367
369
|
await showHelp(leaf, path);
|
|
368
370
|
await new Promise((done) => process.stdout.write("", () => done()));
|
|
369
371
|
process.exit(0);
|
|
@@ -383,6 +385,12 @@ async function dispatch(root, rawArgs) {
|
|
|
383
385
|
}
|
|
384
386
|
setBetaOverride(beta.ok ? beta.value : void 0);
|
|
385
387
|
const argsAfterBeta = beta.ok ? beta.rest : rawArgs;
|
|
388
|
+
const end = argsAfterBeta.indexOf("--");
|
|
389
|
+
const inline = (end === -1 ? argsAfterBeta : argsAfterBeta.slice(0, end)).find((a) => /^--[a-z-]+-stdin=/.test(a));
|
|
390
|
+
if (inline !== void 0) {
|
|
391
|
+
const flag = inline.slice(0, inline.indexOf("="));
|
|
392
|
+
usageError(`${flag} takes no value: the secret is read from stdin.`, `pipe it in: printf '%s' "$SECRET" | curviate ... ${flag}`);
|
|
393
|
+
}
|
|
386
394
|
let hintLeaf;
|
|
387
395
|
try {
|
|
388
396
|
const { leaf, leafArgs: resolvedArgs, path: leafPath } = await resolveLeaf(root, argsAfterBeta);
|
|
@@ -445,7 +453,7 @@ async function dispatch(root, rawArgs) {
|
|
|
445
453
|
if (code === "EARG") process.stderr.write(helpPointer());
|
|
446
454
|
const { CurviateError } = await import("@curviate/sdk");
|
|
447
455
|
if (err instanceof CurviateError) {
|
|
448
|
-
const { getExitCode } = await import("./exit-codes-
|
|
456
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
449
457
|
process.exit(getExitCode(err));
|
|
450
458
|
}
|
|
451
459
|
process.exit(code === "EARG" ? 2 : 1);
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UOWOKEB2.js";
|
|
5
|
+
import "./chunk-UEAX6KUB.js";
|
|
5
6
|
import {
|
|
6
7
|
AS_ACCOUNT,
|
|
7
8
|
BUDGET,
|
|
8
9
|
TARGET
|
|
9
10
|
} from "./chunk-Q3ZPRFUX.js";
|
|
10
|
-
import "./chunk-UEAX6KUB.js";
|
|
11
11
|
import {
|
|
12
12
|
AttachError,
|
|
13
13
|
describeAttachment,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-VHNF6OZD.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-CRO7PJ4I.js";
|
|
20
20
|
import {
|
|
21
21
|
buildPreviewOutput
|
|
22
22
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-MIOEYSBQ.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-7PLTQHNO.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
@@ -45,11 +45,11 @@ import {
|
|
|
45
45
|
} from "./chunk-QLKGOIWS.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-MWVTFTWV.js";
|
|
49
49
|
import {
|
|
50
50
|
resolveTextOrStdin
|
|
51
51
|
} from "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-RDKTHFQ6.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-ZSOLAXQO.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sentAsNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-VEMK4MJM.js";
|
|
5
5
|
import "./chunk-UWO2D4HW.js";
|
|
6
|
+
import {
|
|
7
|
+
resolveIdentifier
|
|
8
|
+
} from "./chunk-UEAX6KUB.js";
|
|
6
9
|
import {
|
|
7
10
|
AS_ACCOUNT,
|
|
8
11
|
TARGET
|
|
9
12
|
} from "./chunk-Q3ZPRFUX.js";
|
|
10
|
-
import {
|
|
11
|
-
resolveIdentifier
|
|
12
|
-
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
reencodeInvitableFollowers,
|
|
15
15
|
reencodeInviteTokenItem,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
slimSearchJobs,
|
|
19
19
|
slimSearchPeople,
|
|
20
20
|
slimSearchPosts
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-JXDEV33Z.js";
|
|
22
22
|
import {
|
|
23
23
|
AttachError,
|
|
24
24
|
readAttachment,
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-VHNF6OZD.js";
|
|
27
27
|
import {
|
|
28
28
|
requireAccount
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-CRO7PJ4I.js";
|
|
30
30
|
import {
|
|
31
31
|
buildPreviewOutput
|
|
32
32
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
readablePage,
|
|
40
40
|
rejectPaginationModifiersWithoutAll,
|
|
41
41
|
streamAll
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-MIOEYSBQ.js";
|
|
43
43
|
import {
|
|
44
44
|
renderError,
|
|
45
45
|
renderSuccess,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
createClient,
|
|
51
51
|
resolveEffectiveConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-7PLTQHNO.js";
|
|
53
53
|
import {
|
|
54
54
|
GLOBAL_FLAGS,
|
|
55
55
|
READ_SINGLE_FLAGS,
|
|
@@ -58,12 +58,12 @@ import {
|
|
|
58
58
|
} from "./chunk-QLKGOIWS.js";
|
|
59
59
|
import {
|
|
60
60
|
DESCRIPTIONS
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-MWVTFTWV.js";
|
|
62
62
|
import "./chunk-FDJMAF7D.js";
|
|
63
63
|
import {
|
|
64
64
|
resolveTextOrStdin
|
|
65
65
|
} from "./chunk-ZYURL5VK.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-RDKTHFQ6.js";
|
|
67
67
|
|
|
68
68
|
// src/commands/company.ts
|
|
69
69
|
import { defineCommand } from "citty";
|
|
@@ -97,7 +97,7 @@ async function resolveCompanyId(ns, raw) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-ZSOLAXQO.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
setActiveProfile,
|
|
13
13
|
updateProfileField,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-7PLTQHNO.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
18
|
} from "./chunk-QLKGOIWS.js";
|
|
19
19
|
import {
|
|
20
20
|
DESCRIPTIONS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-MWVTFTWV.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/config.ts
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
resolveIdentifier
|
|
4
|
+
} from "./chunk-UEAX6KUB.js";
|
|
2
5
|
import {
|
|
3
6
|
AS_ACCOUNT,
|
|
4
7
|
BUDGET,
|
|
5
8
|
TARGET
|
|
6
9
|
} from "./chunk-Q3ZPRFUX.js";
|
|
7
|
-
import {
|
|
8
|
-
resolveIdentifier
|
|
9
|
-
} from "./chunk-UEAX6KUB.js";
|
|
10
10
|
import {
|
|
11
11
|
slimInviteReceived,
|
|
12
12
|
slimInviteReceivedItem,
|
|
13
13
|
slimInviteSent,
|
|
14
14
|
slimInviteSentItem
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-JXDEV33Z.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-CRO7PJ4I.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
readablePage,
|
|
27
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
28
|
streamAll
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-MIOEYSBQ.js";
|
|
30
30
|
import {
|
|
31
31
|
renderError,
|
|
32
32
|
renderSuccess,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
createClient,
|
|
38
38
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-7PLTQHNO.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
@@ -44,12 +44,12 @@ import {
|
|
|
44
44
|
} from "./chunk-QLKGOIWS.js";
|
|
45
45
|
import {
|
|
46
46
|
DESCRIPTIONS
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-MWVTFTWV.js";
|
|
48
48
|
import {
|
|
49
49
|
nearestSubcommand
|
|
50
50
|
} from "./chunk-FDJMAF7D.js";
|
|
51
51
|
import "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-RDKTHFQ6.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-ZSOLAXQO.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-ZSOLAXQO.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-ZSOLAXQO.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-ZSOLAXQO.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-ZSOLAXQO.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-ZSOLAXQO.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-J4SFOFMT.js";
|
|
11
|
+
import "./chunk-CRO7PJ4I.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-XP6S6E55.js";
|
|
14
|
+
import "./chunk-UWRWZG4N.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-MIOEYSBQ.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-7PLTQHNO.js";
|
|
20
20
|
import "./chunk-QLKGOIWS.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-MWVTFTWV.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-RDKTHFQ6.js";
|
|
24
24
|
export {
|
|
25
25
|
BULK_MAX_IDS,
|
|
26
26
|
contactCommand,
|