@curviate/cli 0.52.0 → 0.53.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 +28 -0
- package/README.md +2 -2
- package/dist/{account-2IHGWLU7.js → account-24YCNFNY.js} +8 -8
- package/dist/{analytics-SBHNCE24.js → analytics-RMRTJPHK.js} +5 -5
- package/dist/{beta-consent-QJBRBON3.js → beta-consent-KCJUJFAR.js} +4 -4
- package/dist/{billing-KL6GL5PF.js → billing-5GK6WIXR.js} +5 -5
- package/dist/{chunk-GXEHHSM7.js → chunk-4YGTPVEH.js} +1 -1
- package/dist/{chunk-PHKICMO7.js → chunk-62YAYAUI.js} +6 -0
- package/dist/{chunk-44COK554.js → chunk-AA2UTHCS.js} +22 -18
- package/dist/{chunk-JGPR6AGO.js → chunk-FNENKSJ7.js} +11 -11
- package/dist/{chunk-XDG3TOKG.js → chunk-FUX3BRYP.js} +2 -1
- package/dist/{chunk-UXFLLYFY.js → chunk-IRKTIZUM.js} +2 -2
- package/dist/{chunk-6SBO4WXA.js → chunk-N4IYTFIY.js} +1 -1
- package/dist/{chunk-QA777QEJ.js → chunk-PAXWRJNA.js} +1 -1
- package/dist/{chunk-RYWWSZUH.js → chunk-QLKGOIWS.js} +2 -2
- package/dist/{chunk-OQKN3U74.js → chunk-R5VJTBAJ.js} +18 -9
- package/dist/{chunk-SIOEKNCN.js → chunk-TIYRNMGW.js} +1 -1
- package/dist/{chunk-OUY3GVWJ.js → chunk-WY73KWPF.js} +1 -1
- package/dist/{chunk-6BDA6B32.js → chunk-WYFTBTDQ.js} +4 -4
- package/dist/{chunk-UA4DEQ3K.js → chunk-YHXIFKCU.js} +2 -2
- package/dist/cli.js +24 -24
- package/dist/{comment-ABRBF7J4.js → comment-UUA7B5YC.js} +5 -5
- package/dist/{company-WQPWHAZJ.js → company-65ILSE2U.js} +6 -6
- package/dist/{config-RFXNYRRC.js → config-TMFMXS7T.js} +2 -2
- package/dist/{connect-R7A6RJJJ.js → connect-URFFJVYY.js} +6 -6
- package/dist/{contact-FHR4RAXL.js → contact-A3S2HEBM.js} +7 -7
- package/dist/{contact-groups-AAJT4TZ6.js → contact-groups-CEV2YITT.js} +12 -11
- package/dist/{contact-import-3KASFYC5.js → contact-import-HHVKVRJW.js} +9 -9
- package/dist/{core-GANWZKQZ.js → core-IOGPY6HS.js} +17 -17
- package/dist/{do-not-contact-QMFIJOAA.js → do-not-contact-QYPADRLJ.js} +11 -11
- package/dist/{doctor-4TNHUBYZ.js → doctor-M7JVNQPQ.js} +3 -3
- package/dist/{document-RXBOZG6M.js → document-MDE2WJYX.js} +1 -1
- package/dist/{draft-F56TKIQ3.js → draft-6KY4F5AE.js} +3 -3
- package/dist/{enrollment-WCG5MX65.js → enrollment-IXQD5IGZ.js} +5 -5
- package/dist/{examples-ICAGL2S5.js → examples-KAMXHRLE.js} +1 -1
- package/dist/{export-UVUY3IMF.js → export-7ILY53LY.js} +4 -4
- package/dist/{feed-6NN2YWOQ.js → feed-GESAX65K.js} +4 -4
- package/dist/{group-BXL4QDZL.js → group-KKTBXE42.js} +4 -4
- package/dist/{inbox-GOO5UA3J.js → inbox-QQ6AQDVB.js} +4 -4
- package/dist/{inboxes-GGN7SULO.js → inboxes-352YK6UB.js} +4 -4
- package/dist/{incoming-AZPAGR3L.js → incoming-5T2ELEDF.js} +5 -5
- package/dist/{job-R5TGUKTB.js → job-KBILRJJO.js} +5 -5
- package/dist/{login-LZH3HY2J.js → login-DQPKKDVA.js} +2 -2
- package/dist/{message-YY2BB47Z.js → message-ZB2IGJIQ.js} +5 -5
- package/dist/{motion-2RCKZSK5.js → motion-NNCRSOT6.js} +16 -12
- package/dist/{network-5VDLBVU7.js → network-FLPECF4C.js} +5 -5
- package/dist/{notification-DVHDC2IA.js → notification-B3MRXH3A.js} +4 -4
- package/dist/{notifications-GZKDD7SV.js → notifications-PMJDG45H.js} +5 -5
- package/dist/{post-JKXMJZXS.js → post-O5DYXSHK.js} +5 -5
- package/dist/{profile-CYFEDUEC.js → profile-ZDP23SNN.js} +6 -6
- package/dist/{recruiter-MRJDGK6O.js → recruiter-QENVOZFV.js} +7 -7
- package/dist/{sales-nav-5ABDKON4.js → sales-nav-JFAYF6DM.js} +6 -6
- package/dist/{search-JDNUGHRX.js → search-5HPVIIUJ.js} +7 -7
- package/dist/{setup-EXPWIHTM.js → setup-QUD7TUCB.js} +3 -3
- package/dist/{team-5XD2O5UO.js → team-ZTGY45Y7.js} +5 -5
- package/dist/{tier-CNDUZKXE.js → tier-3ISVHJJ5.js} +4 -4
- package/dist/{unibox-MAAEROM5.js → unibox-JQBP7COE.js} +7 -6
- package/dist/{webhook-XVTE3ZVM.js → webhook-GPGFPF5P.js} +5 -5
- package/package.json +2 -2
|
@@ -7,18 +7,18 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WY73KWPF.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-YHXIFKCU.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
24
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -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-IRKTIZUM.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-PAXWRJNA.js";
|
|
13
13
|
import {
|
|
14
14
|
renderError,
|
|
15
15
|
renderSuccess,
|
|
@@ -19,11 +19,11 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createClient,
|
|
21
21
|
resolveEffectiveConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-YHXIFKCU.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
29
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-IRKTIZUM.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-PAXWRJNA.js";
|
|
17
17
|
import {
|
|
18
18
|
renderError,
|
|
19
19
|
renderSuccess,
|
|
@@ -23,12 +23,12 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
createClient,
|
|
25
25
|
resolveEffectiveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-YHXIFKCU.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
34
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
} from "./chunk-UEAX6KUB.js";
|
|
13
13
|
import {
|
|
14
14
|
requireAccount
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-IRKTIZUM.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-PAXWRJNA.js";
|
|
28
28
|
import {
|
|
29
29
|
renderError,
|
|
30
30
|
renderSuccess,
|
|
@@ -34,13 +34,13 @@ import {
|
|
|
34
34
|
import {
|
|
35
35
|
createClient,
|
|
36
36
|
resolveEffectiveConfig
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-YHXIFKCU.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
46
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
requireAccount
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-IRKTIZUM.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-PAXWRJNA.js";
|
|
14
14
|
import {
|
|
15
15
|
renderError,
|
|
16
16
|
renderSuccess,
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
import {
|
|
21
21
|
createClient,
|
|
22
22
|
resolveEffectiveConfig
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-YHXIFKCU.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
31
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WY73KWPF.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -18,18 +18,18 @@ import {
|
|
|
18
18
|
readablePage,
|
|
19
19
|
rejectPaginationModifiersWithoutAll,
|
|
20
20
|
streamAll
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-PAXWRJNA.js";
|
|
22
22
|
import {
|
|
23
23
|
renderSuccess,
|
|
24
24
|
writeNdjsonItem
|
|
25
25
|
} from "./chunk-QM57YDJE.js";
|
|
26
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-YHXIFKCU.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
35
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -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-IRKTIZUM.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-PAXWRJNA.js";
|
|
33
33
|
import {
|
|
34
34
|
renderError,
|
|
35
35
|
renderSuccess,
|
|
@@ -40,13 +40,13 @@ import {
|
|
|
40
40
|
createClient,
|
|
41
41
|
downloadBinary,
|
|
42
42
|
resolveEffectiveConfig
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-YHXIFKCU.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
52
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
baseUrlProblem,
|
|
7
7
|
writeProfile
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-YHXIFKCU.js";
|
|
9
9
|
import {
|
|
10
10
|
GLOBAL_FLAGS
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-QLKGOIWS.js";
|
|
12
12
|
import {
|
|
13
13
|
DESCRIPTIONS
|
|
14
14
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -13,17 +13,17 @@ import {
|
|
|
13
13
|
runMessageSend,
|
|
14
14
|
sentAsNotice,
|
|
15
15
|
willSendAsNotice
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-WYFTBTDQ.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-IRKTIZUM.js";
|
|
22
22
|
import "./chunk-TCUYH5GO.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-PAXWRJNA.js";
|
|
24
24
|
import "./chunk-QM57YDJE.js";
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-YHXIFKCU.js";
|
|
26
|
+
import "./chunk-QLKGOIWS.js";
|
|
27
27
|
import "./chunk-AQVE6HO5.js";
|
|
28
28
|
import "./chunk-FDJMAF7D.js";
|
|
29
29
|
import "./chunk-ZYURL5VK.js";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
} from "./chunk-VHNF6OZD.js";
|
|
6
6
|
import {
|
|
7
7
|
sendInChunks
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-TIYRNMGW.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-WY73KWPF.js";
|
|
16
16
|
import {
|
|
17
17
|
buildPreviewOutput
|
|
18
18
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,18 +27,18 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PAXWRJNA.js";
|
|
31
31
|
import {
|
|
32
32
|
renderSuccess,
|
|
33
33
|
writeNdjsonItem
|
|
34
34
|
} from "./chunk-QM57YDJE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YHXIFKCU.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
44
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -48,7 +48,7 @@ import {
|
|
|
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-WY73KWPF.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PAXWRJNA.js";
|
|
31
31
|
import {
|
|
32
32
|
renderSuccess,
|
|
33
33
|
writeNdjsonItem
|
|
34
34
|
} from "./chunk-QM57YDJE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-YHXIFKCU.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
43
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -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-IRKTIZUM.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-PAXWRJNA.js";
|
|
20
20
|
import {
|
|
21
21
|
renderError,
|
|
22
22
|
renderSuccess,
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
import {
|
|
27
27
|
createClient,
|
|
28
28
|
resolveEffectiveConfig
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-YHXIFKCU.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
37
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WY73KWPF.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -19,18 +19,18 @@ import {
|
|
|
19
19
|
readablePage,
|
|
20
20
|
rejectPaginationModifiersWithoutAll,
|
|
21
21
|
streamAll
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-PAXWRJNA.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
26
|
} from "./chunk-QM57YDJE.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-YHXIFKCU.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
36
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -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
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4YGTPVEH.js";
|
|
5
5
|
import {
|
|
6
6
|
AS_ACCOUNT,
|
|
7
7
|
BUDGET,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-VHNF6OZD.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-IRKTIZUM.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-PAXWRJNA.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
@@ -37,14 +37,14 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-YHXIFKCU.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_FLAGS,
|
|
45
45
|
WRITE_SINGLE_FLAGS,
|
|
46
46
|
readOnly
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QLKGOIWS.js";
|
|
48
48
|
import {
|
|
49
49
|
DESCRIPTIONS
|
|
50
50
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
resolveMemberOrMeProviderId,
|
|
9
9
|
resolveMemberProviderId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4YGTPVEH.js";
|
|
11
11
|
import {
|
|
12
12
|
AS_ACCOUNT,
|
|
13
13
|
BUDGET,
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
slimProfile,
|
|
22
22
|
slimProfileMe,
|
|
23
23
|
withRequestedSections
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-FUX3BRYP.js";
|
|
25
25
|
import {
|
|
26
26
|
AttachError,
|
|
27
27
|
readAttachment,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-VHNF6OZD.js";
|
|
30
30
|
import {
|
|
31
31
|
requireAccount
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-IRKTIZUM.js";
|
|
33
33
|
import {
|
|
34
34
|
buildPreviewOutput
|
|
35
35
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -42,7 +42,7 @@ import {
|
|
|
42
42
|
readablePage,
|
|
43
43
|
rejectPaginationModifiersWithoutAll,
|
|
44
44
|
streamAll
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-PAXWRJNA.js";
|
|
46
46
|
import {
|
|
47
47
|
renderError,
|
|
48
48
|
renderSuccess,
|
|
@@ -52,13 +52,13 @@ import {
|
|
|
52
52
|
import {
|
|
53
53
|
createClient,
|
|
54
54
|
resolveEffectiveConfig
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-YHXIFKCU.js";
|
|
56
56
|
import {
|
|
57
57
|
GLOBAL_FLAGS,
|
|
58
58
|
READ_SINGLE_FLAGS,
|
|
59
59
|
WRITE_SINGLE_FLAGS,
|
|
60
60
|
readOnly
|
|
61
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-QLKGOIWS.js";
|
|
62
62
|
import {
|
|
63
63
|
DESCRIPTIONS
|
|
64
64
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -16,10 +16,10 @@ import {
|
|
|
16
16
|
DEFAULT_FILTER_READERS,
|
|
17
17
|
assembleFilters,
|
|
18
18
|
splitCsv
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-N4IYTFIY.js";
|
|
20
20
|
import {
|
|
21
21
|
slimJob
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-FUX3BRYP.js";
|
|
23
23
|
import {
|
|
24
24
|
AttachError,
|
|
25
25
|
readAttachment,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-VHNF6OZD.js";
|
|
28
28
|
import {
|
|
29
29
|
requireAccount
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-IRKTIZUM.js";
|
|
31
31
|
import {
|
|
32
32
|
buildPreviewOutput
|
|
33
33
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,7 +39,7 @@ import {
|
|
|
39
39
|
readablePage,
|
|
40
40
|
rejectPaginationModifiersWithoutAll,
|
|
41
41
|
streamAll
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-PAXWRJNA.js";
|
|
43
43
|
import {
|
|
44
44
|
isJsonMode,
|
|
45
45
|
renderError,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
createClient,
|
|
52
52
|
downloadBinary,
|
|
53
53
|
resolveEffectiveConfig
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-YHXIFKCU.js";
|
|
55
55
|
import {
|
|
56
56
|
GLOBAL_FLAGS,
|
|
57
57
|
NON_STREAM_FLAGS,
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
WRITE_FLAGS,
|
|
60
60
|
WRITE_SINGLE_FLAGS,
|
|
61
61
|
readOnly
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-QLKGOIWS.js";
|
|
63
63
|
import {
|
|
64
64
|
DESCRIPTIONS
|
|
65
65
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -69,7 +69,7 @@ import {
|
|
|
69
69
|
readFileFlag,
|
|
70
70
|
reportIssues,
|
|
71
71
|
validate
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-62YAYAUI.js";
|
|
73
73
|
import "./chunk-FDJMAF7D.js";
|
|
74
74
|
import "./chunk-ZYURL5VK.js";
|
|
75
75
|
import "./chunk-QW5K5DTC.js";
|