@curviate/cli 0.50.0-next.5 → 0.50.0-next.7
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 +12 -0
- package/README.md +38 -7
- package/dist/{account-WF27VTZF.js → account-IHEU7HP6.js} +9 -9
- package/dist/{analytics-Z7AE5JEI.js → analytics-WBZN4LT4.js} +5 -5
- package/dist/{beta-consent-VETVR6KP.js → beta-consent-ZQFZWXZG.js} +4 -4
- package/dist/{billing-TYXPR6ZC.js → billing-A3IGRVJH.js} +5 -5
- package/dist/{chunk-RLZP2PL4.js → chunk-3U6WEWE5.js} +11 -11
- package/dist/{chunk-HOS3JH4L.js → chunk-4J4WTYUY.js} +2 -2
- package/dist/{chunk-X62K5XDP.js → chunk-5FPD6PTC.js} +6 -6
- package/dist/{chunk-GGJTO3PN.js → chunk-6UXXVJYQ.js} +2 -2
- package/dist/{chunk-I3HD5UFH.js → chunk-BRUQT2ED.js} +1 -1
- package/dist/{chunk-QLBNUWM2.js → chunk-EUNZGSPN.js} +57 -23
- package/dist/{chunk-73DJ3KNE.js → chunk-FBBZVIFJ.js} +2 -1
- package/dist/{chunk-2W4RN5ON.js → chunk-QW5K5DTC.js} +2 -0
- package/dist/{chunk-5YQXZIFH.js → chunk-RP3BBLHW.js} +2 -2
- package/dist/{chunk-UFHZGBFD.js → chunk-S26VKVWW.js} +1 -1
- package/dist/{chunk-EHTSCHKM.js → chunk-S3RXK4OU.js} +1 -1
- package/dist/{chunk-5I6JJJIV.js → chunk-VHNF6OZD.js} +8 -3
- package/dist/cli.js +25 -25
- package/dist/{comment-YAQSZNYS.js → comment-MSKOUIHT.js} +13 -13
- package/dist/{company-4K75VGBM.js → company-IXDGDEOU.js} +12 -12
- package/dist/{config-OESEJHKZ.js → config-3CLMU2WU.js} +2 -2
- package/dist/{connect-LZJQOYX2.js → connect-TNFZPMPA.js} +11 -11
- package/dist/{contact-XE7HK4RI.js → contact-XTZQH4KW.js} +8 -8
- package/dist/{contact-groups-IHF7GMNG.js → contact-groups-FB4IXRJM.js} +10 -10
- package/dist/{contact-import-SSPUBHAH.js → contact-import-RHXS2XLJ.js} +9 -9
- package/dist/core-JFFNJM7I.js +46 -0
- package/dist/{do-not-contact-LOUCA7JT.js → do-not-contact-25EKOEY3.js} +5 -5
- package/dist/{doctor-Q3434Q7N.js → doctor-GPEBBS5E.js} +4 -4
- package/dist/{draft-SOO3UJIO.js → draft-B3HNK3YS.js} +9 -9
- package/dist/{enrollment-YQMSDXVJ.js → enrollment-HCI4ROPD.js} +6 -6
- package/dist/{examples-74FXGJ7X.js → examples-ICAGL2S5.js} +1 -1
- package/dist/{exit-codes-7DBETBDT.js → exit-codes-CYQHN4NE.js} +1 -1
- package/dist/{export-F6ZFNZ7L.js → export-MRUBK3QC.js} +4 -4
- package/dist/{feed-YE4HOQ2M.js → feed-YQVZQBJ5.js} +6 -6
- package/dist/{group-OCKSOR65.js → group-YOZG2E4Z.js} +6 -6
- package/dist/{inbox-VGCODDRH.js → inbox-3RTYBVRQ.js} +7 -7
- package/dist/{inboxes-XHP6F3MQ.js → inboxes-7ILPNCVY.js} +6 -6
- package/dist/{incoming-AA3MTRAG.js → incoming-PG3KAYZT.js} +5 -5
- package/dist/{job-KFZNTBXT.js → job-FBNPGF3M.js} +6 -6
- package/dist/{login-BD7JQXGX.js → login-GBTMG7NK.js} +2 -2
- package/dist/{message-IXUDKHBW.js → message-FWA4UJIH.js} +7 -7
- package/dist/{motion-QSANYJKR.js → motion-QNO6OYYE.js} +90 -7
- package/dist/{network-A5M6SLRI.js → network-LPPIA6VZ.js} +5 -5
- package/dist/{notification-XRCV5XNX.js → notification-YGIYY2R2.js} +6 -6
- package/dist/{notifications-SU7NKFGF.js → notifications-GRIVVCE7.js} +6 -6
- package/dist/{post-YWXQ2MVL.js → post-SQDYP3NR.js} +12 -12
- package/dist/{profile-JVNJAAZ7.js → profile-4TJZDVF2.js} +16 -16
- package/dist/{recruiter-34G433BX.js → recruiter-NPW3MDYD.js} +11 -11
- package/dist/{sales-nav-34WK5HF6.js → sales-nav-GKXW2GQ2.js} +11 -11
- package/dist/{search-43YUBUEH.js → search-NZ6J5B5M.js} +14 -14
- package/dist/{setup-RFSXQVN6.js → setup-ODOOKKGJ.js} +4 -4
- package/dist/{team-WSRM74PS.js → team-C2MN3DDT.js} +5 -5
- package/dist/{tier-JQYS4MMF.js → tier-HMPVO6GL.js} +4 -4
- package/dist/{unibox-LFTLITLA.js → unibox-NIYPXKZU.js} +5 -5
- package/dist/{webhook-HX2NOPNE.js → webhook-ZQR37JJV.js} +5 -5
- package/package.json +2 -2
- package/dist/core-524AMFTQ.js +0 -46
|
@@ -1,9 +1,4 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
AttachError,
|
|
4
|
-
readAttachment,
|
|
5
|
-
toAttachmentPayload
|
|
6
|
-
} from "./chunk-5I6JJJIV.js";
|
|
7
2
|
import {
|
|
8
3
|
AS_ACCOUNT,
|
|
9
4
|
BUDGET,
|
|
@@ -17,9 +12,14 @@ import {
|
|
|
17
12
|
assembleFilters,
|
|
18
13
|
splitCsv
|
|
19
14
|
} from "./chunk-6SBO4WXA.js";
|
|
15
|
+
import {
|
|
16
|
+
AttachError,
|
|
17
|
+
readAttachment,
|
|
18
|
+
toAttachmentPayload
|
|
19
|
+
} from "./chunk-VHNF6OZD.js";
|
|
20
20
|
import {
|
|
21
21
|
requireAccount
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-4J4WTYUY.js";
|
|
23
23
|
import {
|
|
24
24
|
buildPreviewOutput
|
|
25
25
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,7 +31,7 @@ import {
|
|
|
31
31
|
readablePage,
|
|
32
32
|
rejectPaginationModifiersWithoutAll,
|
|
33
33
|
streamAll
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-S26VKVWW.js";
|
|
35
35
|
import {
|
|
36
36
|
renderError,
|
|
37
37
|
renderSuccess,
|
|
@@ -41,7 +41,7 @@ import {
|
|
|
41
41
|
import {
|
|
42
42
|
createClient,
|
|
43
43
|
resolveEffectiveConfig
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-BRUQT2ED.js";
|
|
45
45
|
import {
|
|
46
46
|
GLOBAL_FLAGS,
|
|
47
47
|
READ_SINGLE_FLAGS,
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
} from "./chunk-RYWWSZUH.js";
|
|
51
51
|
import {
|
|
52
52
|
DESCRIPTIONS
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
54
54
|
import "./chunk-PHKICMO7.js";
|
|
55
55
|
import "./chunk-FDJMAF7D.js";
|
|
56
56
|
import "./chunk-ZYURL5VK.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-QW5K5DTC.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/sales-nav.ts
|
|
60
60
|
import { defineCommand } from "citty";
|
|
@@ -78,7 +78,7 @@ function normalizeAttachPaths(attach) {
|
|
|
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-CYQHN4NE.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-XDG3TOKG.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-4J4WTYUY.js";
|
|
20
20
|
import {
|
|
21
21
|
intFlag,
|
|
22
22
|
intListFlag
|
|
@@ -28,7 +28,7 @@ import {
|
|
|
28
28
|
readablePage,
|
|
29
29
|
rejectPaginationModifiersWithoutAll,
|
|
30
30
|
streamAll
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-S26VKVWW.js";
|
|
32
32
|
import {
|
|
33
33
|
renderError,
|
|
34
34
|
renderSuccess,
|
|
@@ -38,18 +38,18 @@ import {
|
|
|
38
38
|
import {
|
|
39
39
|
createClient,
|
|
40
40
|
resolveEffectiveConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-BRUQT2ED.js";
|
|
42
42
|
import {
|
|
43
43
|
GLOBAL_FLAGS,
|
|
44
44
|
readOnly
|
|
45
45
|
} from "./chunk-RYWWSZUH.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
49
49
|
import "./chunk-PHKICMO7.js";
|
|
50
50
|
import "./chunk-FDJMAF7D.js";
|
|
51
51
|
import "./chunk-ZYURL5VK.js";
|
|
52
|
-
import "./chunk-
|
|
52
|
+
import "./chunk-QW5K5DTC.js";
|
|
53
53
|
|
|
54
54
|
// src/commands/search.ts
|
|
55
55
|
import { defineCommand } from "citty";
|
|
@@ -226,7 +226,7 @@ async function runSearchPeople(client, flags, out, readers = DEFAULT_FILTER_READ
|
|
|
226
226
|
} catch (err) {
|
|
227
227
|
const { CurviateError } = await import("@curviate/sdk");
|
|
228
228
|
if (err instanceof CurviateError) {
|
|
229
|
-
const { getExitCode } = await import("./exit-codes-
|
|
229
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
230
230
|
renderError(err, outOpts, out);
|
|
231
231
|
process.exit(getExitCode(err));
|
|
232
232
|
}
|
|
@@ -268,7 +268,7 @@ async function runSearchCompanies(client, flags, out, readers = DEFAULT_FILTER_R
|
|
|
268
268
|
} catch (err) {
|
|
269
269
|
const { CurviateError } = await import("@curviate/sdk");
|
|
270
270
|
if (err instanceof CurviateError) {
|
|
271
|
-
const { getExitCode } = await import("./exit-codes-
|
|
271
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
272
272
|
renderError(err, outOpts, out);
|
|
273
273
|
process.exit(getExitCode(err));
|
|
274
274
|
}
|
|
@@ -310,7 +310,7 @@ async function runSearchPosts(client, flags, out, readers = DEFAULT_FILTER_READE
|
|
|
310
310
|
} catch (err) {
|
|
311
311
|
const { CurviateError } = await import("@curviate/sdk");
|
|
312
312
|
if (err instanceof CurviateError) {
|
|
313
|
-
const { getExitCode } = await import("./exit-codes-
|
|
313
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
314
314
|
renderError(err, outOpts, out);
|
|
315
315
|
process.exit(getExitCode(err));
|
|
316
316
|
}
|
|
@@ -352,7 +352,7 @@ async function runSearchJobs(client, flags, out, readers = DEFAULT_FILTER_READER
|
|
|
352
352
|
} catch (err) {
|
|
353
353
|
const { CurviateError } = await import("@curviate/sdk");
|
|
354
354
|
if (err instanceof CurviateError) {
|
|
355
|
-
const { getExitCode } = await import("./exit-codes-
|
|
355
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
356
356
|
renderError(err, outOpts, out);
|
|
357
357
|
process.exit(getExitCode(err));
|
|
358
358
|
}
|
|
@@ -400,7 +400,7 @@ async function runSearchParameters(client, flags, out) {
|
|
|
400
400
|
} catch (err) {
|
|
401
401
|
const { CurviateError } = await import("@curviate/sdk");
|
|
402
402
|
if (err instanceof CurviateError) {
|
|
403
|
-
const { getExitCode } = await import("./exit-codes-
|
|
403
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
404
404
|
renderError(err, outOpts, out);
|
|
405
405
|
process.exit(getExitCode(err));
|
|
406
406
|
}
|
|
@@ -442,7 +442,7 @@ async function runSearchGroups(client, flags, out) {
|
|
|
442
442
|
} catch (err) {
|
|
443
443
|
const { CurviateError } = await import("@curviate/sdk");
|
|
444
444
|
if (err instanceof CurviateError) {
|
|
445
|
-
const { getExitCode } = await import("./exit-codes-
|
|
445
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
446
446
|
renderError(err, outOpts, out);
|
|
447
447
|
process.exit(getExitCode(err));
|
|
448
448
|
}
|
|
@@ -486,7 +486,7 @@ async function runSearchServices(client, flags, out) {
|
|
|
486
486
|
} catch (err) {
|
|
487
487
|
const { CurviateError } = await import("@curviate/sdk");
|
|
488
488
|
if (err instanceof CurviateError) {
|
|
489
|
-
const { getExitCode } = await import("./exit-codes-
|
|
489
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
490
490
|
renderError(err, outOpts, out);
|
|
491
491
|
process.exit(getExitCode(err));
|
|
492
492
|
}
|
|
@@ -528,7 +528,7 @@ async function runSearchServiceParameters(client, flags, out) {
|
|
|
528
528
|
} catch (err) {
|
|
529
529
|
const { CurviateError } = await import("@curviate/sdk");
|
|
530
530
|
if (err instanceof CurviateError) {
|
|
531
|
-
const { getExitCode } = await import("./exit-codes-
|
|
531
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
532
532
|
renderError(err, outOpts, out);
|
|
533
533
|
process.exit(getExitCode(err));
|
|
534
534
|
}
|
|
@@ -567,7 +567,7 @@ async function runSearchFromUrl(client, flags, out) {
|
|
|
567
567
|
} catch (err) {
|
|
568
568
|
const { CurviateError } = await import("@curviate/sdk");
|
|
569
569
|
if (err instanceof CurviateError) {
|
|
570
|
-
const { getExitCode } = await import("./exit-codes-
|
|
570
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
571
571
|
renderError(err, outOpts, out);
|
|
572
572
|
process.exit(getExitCode(err));
|
|
573
573
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-S26VKVWW.js";
|
|
5
5
|
import "./chunk-QM57YDJE.js";
|
|
6
6
|
import {
|
|
7
7
|
readlineSync
|
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
isPlainObject,
|
|
13
13
|
resolveEffectiveConfig,
|
|
14
14
|
writeProfile
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BRUQT2ED.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS,
|
|
18
18
|
getTeamFlag
|
|
19
19
|
} from "./chunk-RYWWSZUH.js";
|
|
20
20
|
import {
|
|
21
21
|
DESCRIPTIONS
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
23
23
|
import {
|
|
24
24
|
defaultReadStdin,
|
|
25
25
|
isStdinToken,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-ZYURL5VK.js";
|
|
28
28
|
import {
|
|
29
29
|
getExitCode
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-QW5K5DTC.js";
|
|
31
31
|
|
|
32
32
|
// src/commands/setup.ts
|
|
33
33
|
import { defineCommand } from "citty";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S26VKVWW.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
readConfig,
|
|
31
31
|
resolveEffectiveConfig,
|
|
32
32
|
writeProfile
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BRUQT2ED.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-RYWWSZUH.js";
|
|
40
40
|
import {
|
|
41
41
|
DESCRIPTIONS
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
43
43
|
import "./chunk-ZYURL5VK.js";
|
|
44
44
|
|
|
45
45
|
// src/commands/team.ts
|
|
@@ -441,7 +441,7 @@ var teamCommand = defineCommand({
|
|
|
441
441
|
seats: seatsCmd
|
|
442
442
|
},
|
|
443
443
|
async run() {
|
|
444
|
-
const { showHelp } = await import("./examples-
|
|
444
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
445
445
|
await showHelp(teamCommand, ["curviate", "team"]);
|
|
446
446
|
}
|
|
447
447
|
});
|
|
@@ -3,21 +3,21 @@ import {
|
|
|
3
3
|
fail,
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
7
7
|
import {
|
|
8
8
|
readableObject
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-S26VKVWW.js";
|
|
10
10
|
import {
|
|
11
11
|
renderSuccess
|
|
12
12
|
} from "./chunk-QM57YDJE.js";
|
|
13
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-BRUQT2ED.js";
|
|
14
14
|
import {
|
|
15
15
|
READ_SINGLE_FLAGS,
|
|
16
16
|
readOnly
|
|
17
17
|
} from "./chunk-RYWWSZUH.js";
|
|
18
18
|
import {
|
|
19
19
|
DESCRIPTIONS
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
21
21
|
import "./chunk-ZYURL5VK.js";
|
|
22
22
|
|
|
23
23
|
// src/commands/tier.ts
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
outputOpts,
|
|
10
10
|
rootClient,
|
|
11
11
|
usage
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
13
13
|
import {
|
|
14
14
|
buildPreviewOutput
|
|
15
15
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
readablePage,
|
|
24
24
|
rejectPaginationModifiersWithoutAll,
|
|
25
25
|
streamAll
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-S26VKVWW.js";
|
|
27
27
|
import {
|
|
28
28
|
renderSuccess,
|
|
29
29
|
writeNdjsonItem
|
|
30
30
|
} from "./chunk-QM57YDJE.js";
|
|
31
|
-
import "./chunk-
|
|
31
|
+
import "./chunk-BRUQT2ED.js";
|
|
32
32
|
import {
|
|
33
33
|
GLOBAL_FLAGS,
|
|
34
34
|
WRITE_SINGLE_FLAGS,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
} from "./chunk-RYWWSZUH.js";
|
|
37
37
|
import {
|
|
38
38
|
DESCRIPTIONS
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
40
40
|
import "./chunk-ZYURL5VK.js";
|
|
41
41
|
|
|
42
42
|
// src/commands/unibox.ts
|
|
@@ -400,7 +400,7 @@ var uniboxCommand = defineCommand({
|
|
|
400
400
|
consent: consentCmd
|
|
401
401
|
},
|
|
402
402
|
async run() {
|
|
403
|
-
const { showHelp } = await import("./examples-
|
|
403
|
+
const { showHelp } = await import("./examples-ICAGL2S5.js");
|
|
404
404
|
await showHelp(uniboxCommand, ["curviate", "unibox"]);
|
|
405
405
|
}
|
|
406
406
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6UXXVJYQ.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-S26VKVWW.js";
|
|
24
24
|
import {
|
|
25
25
|
renderError,
|
|
26
26
|
renderSuccess,
|
|
@@ -30,7 +30,7 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
createClient,
|
|
32
32
|
resolveEffectiveConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-BRUQT2ED.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
} from "./chunk-RYWWSZUH.js";
|
|
40
40
|
import {
|
|
41
41
|
DESCRIPTIONS
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-FBBZVIFJ.js";
|
|
43
43
|
import {
|
|
44
44
|
readFileFlag
|
|
45
45
|
} from "./chunk-PHKICMO7.js";
|
|
@@ -259,7 +259,7 @@ function resolveOutputOpts(flags) {
|
|
|
259
259
|
async function handleError(err, outOpts, out) {
|
|
260
260
|
const { CurviateError } = await import("@curviate/sdk");
|
|
261
261
|
if (err instanceof CurviateError) {
|
|
262
|
-
const { getExitCode } = await import("./exit-codes-
|
|
262
|
+
const { getExitCode } = await import("./exit-codes-CYQHN4NE.js");
|
|
263
263
|
renderError(err, outOpts, out);
|
|
264
264
|
process.exit(getExitCode(err));
|
|
265
265
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@curviate/cli",
|
|
3
|
-
"version": "0.50.0-next.
|
|
3
|
+
"version": "0.50.0-next.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "Official command-line interface for the Curviate API.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"clean": "rm -rf dist *.tsbuildinfo"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@curviate/sdk": "0.45.0-next.
|
|
50
|
+
"@curviate/sdk": "0.45.0-next.4",
|
|
51
51
|
"citty": "^0.1.6",
|
|
52
52
|
"open": "^10.1.0"
|
|
53
53
|
},
|
package/dist/core-524AMFTQ.js
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
import {
|
|
3
|
-
DESCRIPTIONS,
|
|
4
|
-
lazy
|
|
5
|
-
} from "./chunk-73DJ3KNE.js";
|
|
6
|
-
|
|
7
|
-
// src/commands/core.ts
|
|
8
|
-
import { defineCommand } from "citty";
|
|
9
|
-
var coreCommand = defineCommand({
|
|
10
|
-
meta: {
|
|
11
|
-
name: "core",
|
|
12
|
-
description: DESCRIPTIONS.core,
|
|
13
|
-
rules: {
|
|
14
|
-
notes: [
|
|
15
|
-
"Writes reach LinkedIn immediately and are seen by the people they touch.",
|
|
16
|
-
"A retry after a timeout can repeat a write: requests carry no idempotency key. Read the current state before retrying.",
|
|
17
|
-
"Budget rows, ceilings and what is left: `curviate account get <account_id>`."
|
|
18
|
-
]
|
|
19
|
-
}
|
|
20
|
-
},
|
|
21
|
-
subCommands: {
|
|
22
|
-
profile: lazy("profile", () => import("./profile-JVNJAAZ7.js").then((m) => m.profileCommand)),
|
|
23
|
-
company: lazy("company", () => import("./company-4K75VGBM.js").then((m) => m.companyCommand)),
|
|
24
|
-
job: lazy("job", () => import("./job-KFZNTBXT.js").then((m) => m.jobCommand)),
|
|
25
|
-
connect: lazy("connect", () => import("./connect-LZJQOYX2.js").then((m) => m.connectCommand)),
|
|
26
|
-
search: lazy("search", () => import("./search-43YUBUEH.js").then((m) => m.searchCommand)),
|
|
27
|
-
inbox: lazy("inbox", () => import("./inbox-VGCODDRH.js").then((m) => m.inboxCommand)),
|
|
28
|
-
inboxes: lazy("inboxes", () => import("./inboxes-XHP6F3MQ.js").then((m) => m.inboxesCommand)),
|
|
29
|
-
message: lazy("message", () => import("./message-IXUDKHBW.js").then((m) => m.messageCommand)),
|
|
30
|
-
post: lazy("post", () => import("./post-YWXQ2MVL.js").then((m) => m.postCommand)),
|
|
31
|
-
comment: lazy("comment", () => import("./comment-YAQSZNYS.js").then((m) => m.commentCommand)),
|
|
32
|
-
"sales-nav": lazy("sales-nav", () => import("./sales-nav-34WK5HF6.js").then((m) => m.salesNavCommand)),
|
|
33
|
-
recruiter: lazy("recruiter", () => import("./recruiter-34G433BX.js").then((m) => m.recruiterCommand)),
|
|
34
|
-
group: lazy("group", () => import("./group-OCKSOR65.js").then((m) => m.groupCommand)),
|
|
35
|
-
feed: lazy("feed", () => import("./feed-YE4HOQ2M.js").then((m) => m.feedCommand)),
|
|
36
|
-
notification: lazy("coreNotification", () => import("./notification-XRCV5XNX.js").then((m) => m.notificationCommand)),
|
|
37
|
-
draft: lazy("draft", () => import("./draft-SOO3UJIO.js").then((m) => m.draftCommand))
|
|
38
|
-
},
|
|
39
|
-
async run() {
|
|
40
|
-
const { showHelp } = await import("./examples-74FXGJ7X.js");
|
|
41
|
-
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
|
-
}
|
|
43
|
-
});
|
|
44
|
-
export {
|
|
45
|
-
coreCommand
|
|
46
|
-
};
|