@curviate/cli 0.52.0 → 0.54.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 +34 -1
- package/README.md +2 -2
- package/dist/{account-2IHGWLU7.js → account-DW5N5MJ6.js} +9 -9
- package/dist/{analytics-SBHNCE24.js → analytics-T2K3OWVQ.js} +6 -6
- package/dist/{beta-consent-QJBRBON3.js → beta-consent-O736ONE7.js} +5 -5
- package/dist/{billing-KL6GL5PF.js → billing-NTBL32EX.js} +6 -6
- package/dist/{chunk-44COK554.js → chunk-5B4T6BMN.js} +22 -18
- package/dist/{chunk-PHKICMO7.js → chunk-62YAYAUI.js} +6 -0
- package/dist/{chunk-6BDA6B32.js → chunk-A3UNS44U.js} +5 -5
- package/dist/{chunk-UXFLLYFY.js → chunk-ACKKHLUH.js} +2 -2
- package/dist/{chunk-OQKN3U74.js → chunk-FBLCSVIU.js} +19 -10
- package/dist/{chunk-XDG3TOKG.js → chunk-FUX3BRYP.js} +2 -1
- package/dist/{chunk-OUY3GVWJ.js → chunk-HOMRAZ6S.js} +1 -1
- package/dist/{chunk-QA777QEJ.js → chunk-KXJJFHSD.js} +1 -1
- package/dist/{chunk-6SBO4WXA.js → chunk-N4IYTFIY.js} +1 -1
- package/dist/{chunk-UA4DEQ3K.js → chunk-N76WNJ5T.js} +2 -2
- package/dist/{chunk-JGPR6AGO.js → chunk-Q57PZJLX.js} +12 -12
- package/dist/{chunk-RYWWSZUH.js → chunk-QLKGOIWS.js} +2 -2
- package/dist/{chunk-AQVE6HO5.js → chunk-R4HS2MWM.js} +1 -1
- package/dist/{chunk-SIOEKNCN.js → chunk-UFHT2KZG.js} +1 -1
- package/dist/{chunk-GXEHHSM7.js → chunk-V3HHYTBY.js} +1 -1
- package/dist/cli.js +25 -25
- package/dist/{comment-ABRBF7J4.js → comment-ATVJOTWV.js} +6 -6
- package/dist/{company-WQPWHAZJ.js → company-BRKFROPE.js} +7 -7
- package/dist/{config-RFXNYRRC.js → config-E223SS5K.js} +3 -3
- package/dist/{connect-R7A6RJJJ.js → connect-XVDQ5FTT.js} +7 -7
- package/dist/{contact-FHR4RAXL.js → contact-4HOUOVD7.js} +8 -8
- package/dist/{contact-groups-AAJT4TZ6.js → contact-groups-ENA3VGGL.js} +13 -12
- package/dist/{contact-import-3KASFYC5.js → contact-import-4EKVDFPV.js} +10 -10
- package/dist/core-6VDDV2NM.js +46 -0
- package/dist/{do-not-contact-QMFIJOAA.js → do-not-contact-S2WGHSQL.js} +12 -12
- package/dist/{doctor-4TNHUBYZ.js → doctor-OFIUGRUG.js} +4 -4
- package/dist/{document-RXBOZG6M.js → document-MDE2WJYX.js} +1 -1
- package/dist/{draft-F56TKIQ3.js → draft-DD3DTXBM.js} +4 -4
- package/dist/{enrollment-WCG5MX65.js → enrollment-ESCHKQ5X.js} +6 -6
- package/dist/{examples-ICAGL2S5.js → examples-KAMXHRLE.js} +1 -1
- package/dist/{export-UVUY3IMF.js → export-GUAGB7TF.js} +5 -5
- package/dist/{feed-6NN2YWOQ.js → feed-ZC4FY4BA.js} +5 -5
- package/dist/{group-BXL4QDZL.js → group-42ZE7K3K.js} +5 -5
- package/dist/{inbox-GOO5UA3J.js → inbox-2YS7CTXH.js} +5 -5
- package/dist/{inboxes-GGN7SULO.js → inboxes-5RB3BGCQ.js} +5 -5
- package/dist/{incoming-AZPAGR3L.js → incoming-ATZN6JJA.js} +6 -6
- package/dist/{job-R5TGUKTB.js → job-WD3Z3P3Q.js} +6 -6
- package/dist/{login-LZH3HY2J.js → login-JQ57YHEJ.js} +3 -3
- package/dist/{message-YY2BB47Z.js → message-WGS2IIDC.js} +6 -6
- package/dist/{motion-2RCKZSK5.js → motion-BRVBJJJP.js} +17 -13
- package/dist/{network-5VDLBVU7.js → network-CODIWCJQ.js} +6 -6
- package/dist/{notification-DVHDC2IA.js → notification-RLVF4NLJ.js} +5 -5
- package/dist/{notifications-GZKDD7SV.js → notifications-HGEHM5KW.js} +6 -6
- package/dist/{post-JKXMJZXS.js → post-3GH2IPO6.js} +6 -6
- package/dist/{profile-CYFEDUEC.js → profile-6RFJQMIB.js} +7 -7
- package/dist/{recruiter-MRJDGK6O.js → recruiter-GK3UNS62.js} +8 -8
- package/dist/{sales-nav-5ABDKON4.js → sales-nav-SLS3ABF4.js} +7 -7
- package/dist/{search-JDNUGHRX.js → search-45WRT5T3.js} +8 -8
- package/dist/{setup-EXPWIHTM.js → setup-5QZOM2Q2.js} +4 -4
- package/dist/{team-5XD2O5UO.js → team-WM3RKOQ2.js} +6 -6
- package/dist/{tier-CNDUZKXE.js → tier-5AMLO5KE.js} +9 -11
- package/dist/{unibox-MAAEROM5.js → unibox-TTCF7YVO.js} +8 -7
- package/dist/{webhook-XVTE3ZVM.js → webhook-UCCCSKDO.js} +6 -6
- package/package.json +2 -2
- package/dist/core-GANWZKQZ.js +0 -46
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KXJJFHSD.js";
|
|
5
5
|
import "./chunk-QM57YDJE.js";
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
@@ -10,13 +10,13 @@ import {
|
|
|
10
10
|
readConfigFile,
|
|
11
11
|
resolveEffectiveConfig,
|
|
12
12
|
withoutUserinfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-N76WNJ5T.js";
|
|
14
14
|
import {
|
|
15
15
|
GLOBAL_FLAGS
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QLKGOIWS.js";
|
|
17
17
|
import {
|
|
18
18
|
DESCRIPTIONS
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-R4HS2MWM.js";
|
|
20
20
|
import "./chunk-ZYURL5VK.js";
|
|
21
21
|
import {
|
|
22
22
|
getExitCode
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KXJJFHSD.js";
|
|
24
24
|
import {
|
|
25
25
|
renderError,
|
|
26
26
|
renderSuccess,
|
|
@@ -30,16 +30,16 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
createClient,
|
|
32
32
|
resolveEffectiveConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-N76WNJ5T.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
37
37
|
WRITE_SINGLE_FLAGS,
|
|
38
38
|
readOnly
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-QLKGOIWS.js";
|
|
40
40
|
import {
|
|
41
41
|
DESCRIPTIONS
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-R4HS2MWM.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveTextOrStdin
|
|
45
45
|
} from "./chunk-ZYURL5VK.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,21 +20,21 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-KXJJFHSD.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
27
27
|
} from "./chunk-QM57YDJE.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-N76WNJ5T.js";
|
|
29
29
|
import {
|
|
30
30
|
GLOBAL_FLAGS,
|
|
31
31
|
READ_SINGLE_FLAGS,
|
|
32
32
|
WRITE_SINGLE_FLAGS,
|
|
33
33
|
readOnly
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QLKGOIWS.js";
|
|
35
35
|
import {
|
|
36
36
|
DESCRIPTIONS
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-R4HS2MWM.js";
|
|
38
38
|
import "./chunk-ZYURL5VK.js";
|
|
39
39
|
|
|
40
40
|
// src/commands/enrollment.ts
|
|
@@ -473,7 +473,7 @@ var enrollmentCommand = defineCommand({
|
|
|
473
473
|
bulk: bulkCmd
|
|
474
474
|
},
|
|
475
475
|
async run() {
|
|
476
|
-
const { showHelp } = await import("./examples-
|
|
476
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
477
477
|
await showHelp(enrollmentCommand, ["curviate", "enrollment"]);
|
|
478
478
|
}
|
|
479
479
|
});
|
|
@@ -22,7 +22,7 @@ function renderRules(rules) {
|
|
|
22
22
|
}
|
|
23
23
|
async function renderSections(cmd) {
|
|
24
24
|
const meta = typeof cmd.meta === "function" ? await cmd.meta() : await cmd.meta;
|
|
25
|
-
const { renderDocument } = meta?.document ? await import("./document-
|
|
25
|
+
const { renderDocument } = meta?.document ? await import("./document-MDE2WJYX.js") : { renderDocument: () => [] };
|
|
26
26
|
const body = {
|
|
27
27
|
DOCUMENT: meta?.document ? renderDocument(meta.document) : void 0,
|
|
28
28
|
RULES: renderRules(meta?.rules),
|
|
@@ -7,21 +7,21 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
11
11
|
import {
|
|
12
12
|
renderSuccess
|
|
13
13
|
} from "./chunk-QM57YDJE.js";
|
|
14
14
|
import {
|
|
15
15
|
downloadBinary
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-N76WNJ5T.js";
|
|
17
17
|
import {
|
|
18
18
|
GLOBAL_FLAGS,
|
|
19
19
|
READ_SINGLE_FLAGS,
|
|
20
20
|
readOnly
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QLKGOIWS.js";
|
|
22
22
|
import {
|
|
23
23
|
DESCRIPTIONS
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-R4HS2MWM.js";
|
|
25
25
|
import "./chunk-ZYURL5VK.js";
|
|
26
26
|
|
|
27
27
|
// src/commands/export.ts
|
|
@@ -87,7 +87,7 @@ var exportCommand = defineCommand({
|
|
|
87
87
|
meta: { name: "export", description: DESCRIPTIONS.export },
|
|
88
88
|
subCommands: { get: getCmd, download: downloadCmd },
|
|
89
89
|
async run() {
|
|
90
|
-
const { showHelp } = await import("./examples-
|
|
90
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
91
91
|
await showHelp(exportCommand, ["curviate", "export"]);
|
|
92
92
|
}
|
|
93
93
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ACKKHLUH.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
readablePage,
|
|
10
10
|
rejectPaginationModifiersWithoutAll,
|
|
11
11
|
streamAll
|
|
12
|
-
} from "./chunk-
|
|
12
|
+
} from "./chunk-KXJJFHSD.js";
|
|
13
13
|
import {
|
|
14
14
|
renderError,
|
|
15
15
|
renderSuccess,
|
|
@@ -19,14 +19,14 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createClient,
|
|
21
21
|
resolveEffectiveConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-N76WNJ5T.js";
|
|
23
23
|
import {
|
|
24
24
|
GLOBAL_FLAGS,
|
|
25
25
|
readOnly
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-QLKGOIWS.js";
|
|
27
27
|
import {
|
|
28
28
|
DESCRIPTIONS
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-R4HS2MWM.js";
|
|
30
30
|
import "./chunk-ZYURL5VK.js";
|
|
31
31
|
import "./chunk-QW5K5DTC.js";
|
|
32
32
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ACKKHLUH.js";
|
|
8
8
|
import {
|
|
9
9
|
pageDelayFromFlags,
|
|
10
10
|
readCursorFlag,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
readablePage,
|
|
14
14
|
rejectPaginationModifiersWithoutAll,
|
|
15
15
|
streamAll
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-KXJJFHSD.js";
|
|
17
17
|
import {
|
|
18
18
|
renderError,
|
|
19
19
|
renderSuccess,
|
|
@@ -23,15 +23,15 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
createClient,
|
|
25
25
|
resolveEffectiveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N76WNJ5T.js";
|
|
27
27
|
import {
|
|
28
28
|
GLOBAL_FLAGS,
|
|
29
29
|
READ_SINGLE_FLAGS,
|
|
30
30
|
readOnly
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-QLKGOIWS.js";
|
|
32
32
|
import {
|
|
33
33
|
DESCRIPTIONS
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-R4HS2MWM.js";
|
|
35
35
|
import "./chunk-ZYURL5VK.js";
|
|
36
36
|
import "./chunk-QW5K5DTC.js";
|
|
37
37
|
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
requireAccount
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ACKKHLUH.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
readablePage,
|
|
25
25
|
rejectPaginationModifiersWithoutAll,
|
|
26
26
|
streamAll
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-KXJJFHSD.js";
|
|
28
28
|
import {
|
|
29
29
|
renderError,
|
|
30
30
|
renderSuccess,
|
|
@@ -34,16 +34,16 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
createClient,
|
|
36
36
|
resolveEffectiveConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-N76WNJ5T.js";
|
|
38
38
|
import {
|
|
39
39
|
GLOBAL_FLAGS,
|
|
40
40
|
READ_SINGLE_FLAGS,
|
|
41
41
|
WRITE_SINGLE_FLAGS,
|
|
42
42
|
readOnly
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-QLKGOIWS.js";
|
|
44
44
|
import {
|
|
45
45
|
DESCRIPTIONS
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-R4HS2MWM.js";
|
|
47
47
|
import "./chunk-ZYURL5VK.js";
|
|
48
48
|
import "./chunk-QW5K5DTC.js";
|
|
49
49
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ACKKHLUH.js";
|
|
5
5
|
import {
|
|
6
6
|
pageDelayFromFlags,
|
|
7
7
|
readCursorFlag,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
readablePage,
|
|
11
11
|
rejectPaginationModifiersWithoutAll,
|
|
12
12
|
streamAll
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-KXJJFHSD.js";
|
|
14
14
|
import {
|
|
15
15
|
renderError,
|
|
16
16
|
renderSuccess,
|
|
@@ -20,15 +20,15 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
createClient,
|
|
22
22
|
resolveEffectiveConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-N76WNJ5T.js";
|
|
24
24
|
import {
|
|
25
25
|
GLOBAL_FLAGS,
|
|
26
26
|
READ_SINGLE_FLAGS,
|
|
27
27
|
readOnly
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-QLKGOIWS.js";
|
|
29
29
|
import {
|
|
30
30
|
DESCRIPTIONS
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-R4HS2MWM.js";
|
|
32
32
|
import "./chunk-ZYURL5VK.js";
|
|
33
33
|
import "./chunk-QW5K5DTC.js";
|
|
34
34
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -18,21 +18,21 @@ import {
|
|
|
18
18
|
readablePage,
|
|
19
19
|
rejectPaginationModifiersWithoutAll,
|
|
20
20
|
streamAll
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-KXJJFHSD.js";
|
|
22
22
|
import {
|
|
23
23
|
renderSuccess,
|
|
24
24
|
writeNdjsonItem
|
|
25
25
|
} from "./chunk-QM57YDJE.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-N76WNJ5T.js";
|
|
27
27
|
import {
|
|
28
28
|
GLOBAL_FLAGS,
|
|
29
29
|
READ_SINGLE_FLAGS,
|
|
30
30
|
WRITE_SINGLE_FLAGS,
|
|
31
31
|
readOnly
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-QLKGOIWS.js";
|
|
33
33
|
import {
|
|
34
34
|
DESCRIPTIONS
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-R4HS2MWM.js";
|
|
36
36
|
import "./chunk-ZYURL5VK.js";
|
|
37
37
|
|
|
38
38
|
// src/commands/incoming.ts
|
|
@@ -209,7 +209,7 @@ var incomingCommand = defineCommand({
|
|
|
209
209
|
meta: { name: "incoming", description: DESCRIPTIONS.incoming },
|
|
210
210
|
subCommands: { create: createCmd, list: listCmd, get: getCmd, update: updateCmd, delete: deleteCmd, rotate: rotateCmd, capture: captureCmd, arrivals: arrivalsCmd },
|
|
211
211
|
async run() {
|
|
212
|
-
const { showHelp } = await import("./examples-
|
|
212
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
213
213
|
await showHelp(incomingCommand, ["curviate", "incoming"]);
|
|
214
214
|
}
|
|
215
215
|
});
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
slimJob
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-FUX3BRYP.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-ACKKHLUH.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-KXJJFHSD.js";
|
|
33
33
|
import {
|
|
34
34
|
renderError,
|
|
35
35
|
renderSuccess,
|
|
@@ -40,16 +40,16 @@ import {
|
|
|
40
40
|
createClient,
|
|
41
41
|
downloadBinary,
|
|
42
42
|
resolveEffectiveConfig
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-N76WNJ5T.js";
|
|
44
44
|
import {
|
|
45
45
|
GLOBAL_FLAGS,
|
|
46
46
|
READ_SINGLE_FLAGS,
|
|
47
47
|
WRITE_SINGLE_FLAGS,
|
|
48
48
|
readOnly
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-QLKGOIWS.js";
|
|
50
50
|
import {
|
|
51
51
|
DESCRIPTIONS
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-R4HS2MWM.js";
|
|
53
53
|
import "./chunk-ZYURL5VK.js";
|
|
54
54
|
import "./chunk-QW5K5DTC.js";
|
|
55
55
|
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
baseUrlProblem,
|
|
7
7
|
writeProfile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-N76WNJ5T.js";
|
|
9
9
|
import {
|
|
10
10
|
GLOBAL_FLAGS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QLKGOIWS.js";
|
|
12
12
|
import {
|
|
13
13
|
DESCRIPTIONS
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-R4HS2MWM.js";
|
|
15
15
|
import {
|
|
16
16
|
defaultReadStdin,
|
|
17
17
|
resolveTextOrStdin
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
runMessageSend,
|
|
14
14
|
sentAsNotice,
|
|
15
15
|
willSendAsNotice
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-A3UNS44U.js";
|
|
17
17
|
import "./chunk-UWO2D4HW.js";
|
|
18
18
|
import "./chunk-Q3ZPRFUX.js";
|
|
19
19
|
import "./chunk-UEAX6KUB.js";
|
|
20
20
|
import "./chunk-VHNF6OZD.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-ACKKHLUH.js";
|
|
22
22
|
import "./chunk-TCUYH5GO.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-KXJJFHSD.js";
|
|
24
24
|
import "./chunk-QM57YDJE.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-N76WNJ5T.js";
|
|
26
|
+
import "./chunk-QLKGOIWS.js";
|
|
27
|
+
import "./chunk-R4HS2MWM.js";
|
|
28
28
|
import "./chunk-FDJMAF7D.js";
|
|
29
29
|
import "./chunk-ZYURL5VK.js";
|
|
30
30
|
import "./chunk-QW5K5DTC.js";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-VHNF6OZD.js";
|
|
6
6
|
import {
|
|
7
7
|
sendInChunks
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UFHT2KZG.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-HOMRAZ6S.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,28 +27,28 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KXJJFHSD.js";
|
|
31
31
|
import {
|
|
32
32
|
renderSuccess,
|
|
33
33
|
writeNdjsonItem
|
|
34
34
|
} from "./chunk-QM57YDJE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-N76WNJ5T.js";
|
|
36
36
|
import {
|
|
37
37
|
GLOBAL_FLAGS,
|
|
38
38
|
READ_SINGLE_FLAGS,
|
|
39
39
|
WRITE_SINGLE_FLAGS,
|
|
40
40
|
readOnly
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-QLKGOIWS.js";
|
|
42
42
|
import {
|
|
43
43
|
DESCRIPTIONS
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-R4HS2MWM.js";
|
|
45
45
|
import {
|
|
46
46
|
documentSchema,
|
|
47
47
|
parseDocument,
|
|
48
48
|
readFileFlag,
|
|
49
49
|
reportIssues,
|
|
50
50
|
validate
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-62YAYAUI.js";
|
|
52
52
|
import "./chunk-FDJMAF7D.js";
|
|
53
53
|
import {
|
|
54
54
|
isStdinToken
|
|
@@ -426,9 +426,7 @@ async function checkSequence(f, text, sequence, prefix, settings) {
|
|
|
426
426
|
`).join(""));
|
|
427
427
|
return verdict;
|
|
428
428
|
}
|
|
429
|
-
|
|
430
|
-
const text = await readFileFlag("file", f.file ?? "", { others: f });
|
|
431
|
-
const doc = parseDocument("file", text);
|
|
429
|
+
function checkMotionFields(f, command, doc) {
|
|
432
430
|
const schema = documentSchema(command);
|
|
433
431
|
let body = doc;
|
|
434
432
|
if (doc && typeof doc === "object" && !Array.isArray(doc)) {
|
|
@@ -442,6 +440,11 @@ async function readMotionFile(f, command) {
|
|
|
442
440
|
}
|
|
443
441
|
const issues = validate(schema, body);
|
|
444
442
|
if (issues.length) reportIssues(issues, outputOpts(f).json);
|
|
443
|
+
return body;
|
|
444
|
+
}
|
|
445
|
+
async function readMotionFile(f, command) {
|
|
446
|
+
const text = await readFileFlag("file", f.file ?? "", { others: f });
|
|
447
|
+
const body = checkMotionFields(f, command, parseDocument("file", text));
|
|
445
448
|
if (body["sequence"] != null) await checkSequence(f, text, body["sequence"], "/sequence", body["settings"]);
|
|
446
449
|
return { body, text };
|
|
447
450
|
}
|
|
@@ -588,6 +591,7 @@ async function runLint(f) {
|
|
|
588
591
|
const text = await readFileFlag("file", f.file ?? "", { others: f });
|
|
589
592
|
const doc = parseDocument("file", text);
|
|
590
593
|
const motionFile = !!doc && typeof doc === "object" && !Array.isArray(doc) && !("steps" in doc) && ("sequence" in doc || "name" in doc);
|
|
594
|
+
if (motionFile) checkMotionFields(f, "motion create", doc);
|
|
591
595
|
if (motionFile && doc["sequence"] == null) usage("--file: the Motion file has no sequence; there is nothing to lint.");
|
|
592
596
|
const verdict = await checkSequence(f, text, motionFile ? doc["sequence"] : doc, motionFile ? "/sequence" : "", motionFile ? doc["settings"] : void 0);
|
|
593
597
|
if (outputOpts(f).json) process.stdout.write(JSON.stringify({ errors: [], warnings: verdict.warnings }) + "\n");
|
|
@@ -800,7 +804,7 @@ var deleteCmd = lifecycleCmd("delete", {
|
|
|
800
804
|
var previewCmd = defineCommand({
|
|
801
805
|
meta: {
|
|
802
806
|
name: "preview",
|
|
803
|
-
description: "What the Motion would do, in any status: every path through its Sequence, rendered messages for sampled or named Contacts, and the budget projection: per Account the pool that binds its pace, the expected actions a day, and warnings (hours_below_share, no_sending_account). A read: never reaches LinkedIn, spends nothing.",
|
|
807
|
+
description: "What the Motion would do, in any status: every path through its Sequence, rendered messages for sampled or named Contacts, and the budget projection: per Account the pool that binds its pace, the expected actions a day (a draft: the mean daily invitations, messages and InMails of the first 7 days of its forecast, as if turned on now), and warnings (hours_below_share, no_sending_account). A read: never reaches LinkedIn, spends nothing.",
|
|
804
808
|
risk: "read",
|
|
805
809
|
examples: ["curviate motion preview mot_YOUR_MOTION_ID", "curviate motion preview mot_YOUR_MOTION_ID --sample 3"]
|
|
806
810
|
},
|
|
@@ -925,7 +929,7 @@ var voiceClipCommand = defineCommand({
|
|
|
925
929
|
meta: { name: "voice-clip", description: DESCRIPTIONS.motionVoiceClip },
|
|
926
930
|
subCommands: { upload: voiceClipUploadCmd, get: voiceClipGetCmd },
|
|
927
931
|
async run() {
|
|
928
|
-
const { showHelp } = await import("./examples-
|
|
932
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
929
933
|
await showHelp(voiceClipCommand, ["curviate", "motion", "voice-clip"]);
|
|
930
934
|
}
|
|
931
935
|
});
|
|
@@ -949,7 +953,7 @@ var motionCommand = defineCommand({
|
|
|
949
953
|
"voice-clip": voiceClipCommand
|
|
950
954
|
},
|
|
951
955
|
async run() {
|
|
952
|
-
const { showHelp } = await import("./examples-
|
|
956
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
953
957
|
await showHelp(motionCommand, ["curviate", "motion"]);
|
|
954
958
|
}
|
|
955
959
|
});
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,20 +27,20 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-KXJJFHSD.js";
|
|
31
31
|
import {
|
|
32
32
|
renderSuccess,
|
|
33
33
|
writeNdjsonItem
|
|
34
34
|
} from "./chunk-QM57YDJE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-N76WNJ5T.js";
|
|
36
36
|
import {
|
|
37
37
|
GLOBAL_FLAGS,
|
|
38
38
|
WRITE_SINGLE_FLAGS,
|
|
39
39
|
readOnly
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-QLKGOIWS.js";
|
|
41
41
|
import {
|
|
42
42
|
DESCRIPTIONS
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-R4HS2MWM.js";
|
|
44
44
|
import "./chunk-ZYURL5VK.js";
|
|
45
45
|
|
|
46
46
|
// src/commands/network.ts
|
|
@@ -225,7 +225,7 @@ var networkCommand = defineCommand({
|
|
|
225
225
|
meta: { name: "network", description: DESCRIPTIONS.network },
|
|
226
226
|
subCommands: { list: listCmd, status: statusCmd, export: exportCmd, resync: resyncCmd },
|
|
227
227
|
async run() {
|
|
228
|
-
const { showHelp } = await import("./examples-
|
|
228
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
229
229
|
await showHelp(networkCommand, ["curviate", "network"]);
|
|
230
230
|
}
|
|
231
231
|
});
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
} from "./chunk-Q3ZPRFUX.js";
|
|
6
6
|
import {
|
|
7
7
|
requireAccount
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-ACKKHLUH.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
readablePage,
|
|
17
17
|
rejectPaginationModifiersWithoutAll,
|
|
18
18
|
streamAll
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-KXJJFHSD.js";
|
|
20
20
|
import {
|
|
21
21
|
renderError,
|
|
22
22
|
renderSuccess,
|
|
@@ -26,15 +26,15 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
createClient,
|
|
28
28
|
resolveEffectiveConfig
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-N76WNJ5T.js";
|
|
30
30
|
import {
|
|
31
31
|
GLOBAL_FLAGS,
|
|
32
32
|
WRITE_SINGLE_FLAGS,
|
|
33
33
|
readOnly
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-QLKGOIWS.js";
|
|
35
35
|
import {
|
|
36
36
|
DESCRIPTIONS
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-R4HS2MWM.js";
|
|
38
38
|
import "./chunk-ZYURL5VK.js";
|
|
39
39
|
import "./chunk-QW5K5DTC.js";
|
|
40
40
|
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-HOMRAZ6S.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -19,21 +19,21 @@ import {
|
|
|
19
19
|
readablePage,
|
|
20
20
|
rejectPaginationModifiersWithoutAll,
|
|
21
21
|
streamAll
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-KXJJFHSD.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
26
|
} from "./chunk-QM57YDJE.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-N76WNJ5T.js";
|
|
28
28
|
import {
|
|
29
29
|
GLOBAL_FLAGS,
|
|
30
30
|
READ_SINGLE_FLAGS,
|
|
31
31
|
WRITE_SINGLE_FLAGS,
|
|
32
32
|
readOnly
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-QLKGOIWS.js";
|
|
34
34
|
import {
|
|
35
35
|
DESCRIPTIONS
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-R4HS2MWM.js";
|
|
37
37
|
import "./chunk-ZYURL5VK.js";
|
|
38
38
|
|
|
39
39
|
// src/commands/notifications.ts
|
|
@@ -222,7 +222,7 @@ var notificationsCommand = defineCommand({
|
|
|
222
222
|
meta: { name: "notification", description: DESCRIPTIONS.notification },
|
|
223
223
|
subCommands: { list: listCmd, count: countCmd, read: readCmd, "read-all": readAllCmd, archive: archiveCmd, unarchive: unarchiveCmd },
|
|
224
224
|
async run() {
|
|
225
|
-
const { showHelp } = await import("./examples-
|
|
225
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
226
226
|
await showHelp(notificationsCommand, ["curviate", "notification"]);
|
|
227
227
|
}
|
|
228
228
|
});
|