@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
|
@@ -21,14 +21,14 @@ import {
|
|
|
21
21
|
} from "./chunk-VHNF6OZD.js";
|
|
22
22
|
import {
|
|
23
23
|
requireAccount
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-IRKTIZUM.js";
|
|
25
25
|
import {
|
|
26
26
|
buildPreviewOutput
|
|
27
27
|
} from "./chunk-TCUYH5GO.js";
|
|
28
28
|
import {
|
|
29
29
|
readableId,
|
|
30
30
|
readableObject
|
|
31
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-PAXWRJNA.js";
|
|
32
32
|
import {
|
|
33
33
|
renderError,
|
|
34
34
|
renderSuccess,
|
|
@@ -38,12 +38,12 @@ import {
|
|
|
38
38
|
createClient,
|
|
39
39
|
downloadBinary,
|
|
40
40
|
resolveEffectiveConfig
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YHXIFKCU.js";
|
|
42
42
|
import {
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_FLAGS,
|
|
45
45
|
readOnly
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QLKGOIWS.js";
|
|
47
47
|
import {
|
|
48
48
|
DESCRIPTIONS
|
|
49
49
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
getTeamFlag,
|
|
6
6
|
getWriteKind,
|
|
7
7
|
isPoll
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-QLKGOIWS.js";
|
|
9
9
|
import {
|
|
10
10
|
STDIN_SENTINEL,
|
|
11
11
|
assertNoStdinPlaceholder,
|
|
@@ -274,7 +274,7 @@ import { AsyncLocalStorage } from "async_hooks";
|
|
|
274
274
|
import { Curviate, CurviateError as CurviateError2 } from "@curviate/sdk";
|
|
275
275
|
|
|
276
276
|
// package.json
|
|
277
|
-
var version = "0.
|
|
277
|
+
var version = "0.53.0";
|
|
278
278
|
|
|
279
279
|
// src/lib/client.ts
|
|
280
280
|
function headerStrings(headers) {
|
package/dist/cli.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
setBetaOverride,
|
|
13
13
|
setTeamFlag,
|
|
14
14
|
setWriteKind
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QLKGOIWS.js";
|
|
16
16
|
import {
|
|
17
17
|
lazy
|
|
18
18
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -45,33 +45,33 @@ 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
|
-
motion: lazy("motion", () => import("./motion-
|
|
54
|
-
enrollment: lazy("enrollment", () => import("./enrollment-
|
|
55
|
-
contact: lazy("contact", () => import("./contact-
|
|
56
|
-
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-
|
|
57
|
-
unibox: lazy("unibox", () => import("./unibox-
|
|
58
|
-
network: lazy("network", () => import("./network-
|
|
59
|
-
analytics: lazy("analytics", () => import("./analytics-
|
|
60
|
-
notification: lazy("notification", () => import("./notifications-
|
|
61
|
-
export: lazy("export", () => import("./export-
|
|
62
|
-
billing: lazy("billing", () => import("./billing-
|
|
63
|
-
tier: lazy("tier", () => import("./tier-
|
|
64
|
-
team: lazy("team", () => import("./team-
|
|
65
|
-
incoming: lazy("incoming", () => import("./incoming-
|
|
66
|
-
beta: lazy("beta", () => import("./beta-consent-
|
|
67
|
-
webhook: lazy("webhook", () => import("./webhook-
|
|
48
|
+
setup: lazy("setup", () => import("./setup-QUD7TUCB.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-M7JVNQPQ.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-DQPKKDVA.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-TMFMXS7T.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-24YCNFNY.js").then((m) => m.accountCommand)),
|
|
53
|
+
motion: lazy("motion", () => import("./motion-NNCRSOT6.js").then((m) => m.motionCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-IXQD5IGZ.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
contact: lazy("contact", () => import("./contact-A3S2HEBM.js").then((m) => m.contactCommand)),
|
|
56
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-QYPADRLJ.js").then((m) => m.doNotContactCommand)),
|
|
57
|
+
unibox: lazy("unibox", () => import("./unibox-JQBP7COE.js").then((m) => m.uniboxCommand)),
|
|
58
|
+
network: lazy("network", () => import("./network-FLPECF4C.js").then((m) => m.networkCommand)),
|
|
59
|
+
analytics: lazy("analytics", () => import("./analytics-RMRTJPHK.js").then((m) => m.analyticsCommand)),
|
|
60
|
+
notification: lazy("notification", () => import("./notifications-PMJDG45H.js").then((m) => m.notificationsCommand)),
|
|
61
|
+
export: lazy("export", () => import("./export-7ILY53LY.js").then((m) => m.exportCommand)),
|
|
62
|
+
billing: lazy("billing", () => import("./billing-5GK6WIXR.js").then((m) => m.billingCommand)),
|
|
63
|
+
tier: lazy("tier", () => import("./tier-3ISVHJJ5.js").then((m) => m.tierCommand)),
|
|
64
|
+
team: lazy("team", () => import("./team-ZTGY45Y7.js").then((m) => m.teamCommand)),
|
|
65
|
+
incoming: lazy("incoming", () => import("./incoming-5T2ELEDF.js").then((m) => m.incomingCommand)),
|
|
66
|
+
beta: lazy("beta", () => import("./beta-consent-KCJUJFAR.js").then((m) => m.betaCommand)),
|
|
67
|
+
webhook: lazy("webhook", () => import("./webhook-GPGFPF5P.js").then((m) => m.webhookCommand)),
|
|
68
68
|
// The LinkedIn building blocks. Reserved product groups
|
|
69
69
|
// (unibox, network, analytics, team) land
|
|
70
70
|
// between `enrollment` and `webhook` with their owning specs.
|
|
71
|
-
core: lazy("core", () => import("./core-
|
|
71
|
+
core: lazy("core", () => import("./core-IOGPY6HS.js").then((m) => m.coreCommand))
|
|
72
72
|
},
|
|
73
73
|
async run() {
|
|
74
|
-
const { showHelp } = await import("./examples-
|
|
74
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
75
75
|
await showHelp(main, ["curviate"]);
|
|
76
76
|
}
|
|
77
77
|
});
|
|
@@ -363,7 +363,7 @@ async function dispatch(root, rawArgs) {
|
|
|
363
363
|
helpFor = "curviate";
|
|
364
364
|
if (rawArgs.includes("--help") || rawArgs.includes("-h")) {
|
|
365
365
|
const { leaf, path } = await resolveLeaf(root, rawArgs.filter((a) => a !== "--help" && a !== "-h"));
|
|
366
|
-
const { showHelp } = await import("./examples-
|
|
366
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
367
367
|
await showHelp(leaf, path);
|
|
368
368
|
await new Promise((done) => process.stdout.write("", () => done()));
|
|
369
369
|
process.exit(0);
|
|
@@ -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,
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
} from "./chunk-VHNF6OZD.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-IRKTIZUM.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-PAXWRJNA.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
@@ -37,12 +37,12 @@ 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
|
WRITE_SINGLE_FLAGS,
|
|
44
44
|
readOnly
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-QLKGOIWS.js";
|
|
46
46
|
import {
|
|
47
47
|
DESCRIPTIONS
|
|
48
48
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sentAsNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-WYFTBTDQ.js";
|
|
5
5
|
import "./chunk-UWO2D4HW.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
slimSearchJobs,
|
|
19
19
|
slimSearchPeople,
|
|
20
20
|
slimSearchPosts
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-FUX3BRYP.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-IRKTIZUM.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-PAXWRJNA.js";
|
|
43
43
|
import {
|
|
44
44
|
renderError,
|
|
45
45
|
renderSuccess,
|
|
@@ -49,13 +49,13 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
createClient,
|
|
51
51
|
resolveEffectiveConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-YHXIFKCU.js";
|
|
53
53
|
import {
|
|
54
54
|
GLOBAL_FLAGS,
|
|
55
55
|
READ_SINGLE_FLAGS,
|
|
56
56
|
WRITE_FLAGS,
|
|
57
57
|
readOnly
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-QLKGOIWS.js";
|
|
59
59
|
import {
|
|
60
60
|
DESCRIPTIONS
|
|
61
61
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
setActiveProfile,
|
|
13
13
|
updateProfileField,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YHXIFKCU.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-QLKGOIWS.js";
|
|
19
19
|
import {
|
|
20
20
|
DESCRIPTIONS
|
|
21
21
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -12,10 +12,10 @@ import {
|
|
|
12
12
|
slimInviteReceivedItem,
|
|
13
13
|
slimInviteSent,
|
|
14
14
|
slimInviteSentItem
|
|
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";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
readablePage,
|
|
27
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
28
|
streamAll
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-PAXWRJNA.js";
|
|
30
30
|
import {
|
|
31
31
|
renderError,
|
|
32
32
|
renderSuccess,
|
|
@@ -36,12 +36,12 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
createClient,
|
|
38
38
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-YHXIFKCU.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
43
43
|
readOnly
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-QLKGOIWS.js";
|
|
45
45
|
import {
|
|
46
46
|
DESCRIPTIONS
|
|
47
47
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -269,7 +269,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
269
269
|
var connectSentCommand = defineCommand({
|
|
270
270
|
meta: {
|
|
271
271
|
name: "sent",
|
|
272
|
-
description: "Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use `id` with `curviate core connect cancel`; use `user.id` (native member URN
|
|
272
|
+
description: "Returns pending sent invitations only. Accepted and declined invitations are not returned (LinkedIn API limitation). Use `id` with `curviate core connect cancel`; use `user.id` (native member URN) to identify the recipient; `user.public_identifier` is present only when Curviate already knows the slug from stored data. `created_at` is the platform's own ISO-8601 timestamp (not an approximation). No total count is available; use `curviate core connect sent --all` and count client-side. A very recently sent invitation may take a few minutes to appear here (LinkedIn-side indexing).",
|
|
273
273
|
risk: "read",
|
|
274
274
|
examples: [
|
|
275
275
|
"curviate core connect sent",
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
online,
|
|
8
8
|
positionals,
|
|
9
9
|
preview
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-FNENKSJ7.js";
|
|
11
|
+
import "./chunk-IRKTIZUM.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-TIYRNMGW.js";
|
|
14
|
+
import "./chunk-WY73KWPF.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-PAXWRJNA.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-YHXIFKCU.js";
|
|
20
|
+
import "./chunk-QLKGOIWS.js";
|
|
21
21
|
import "./chunk-AQVE6HO5.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
23
|
import "./chunk-QW5K5DTC.js";
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
online,
|
|
9
9
|
preview,
|
|
10
10
|
readFilter
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-FNENKSJ7.js";
|
|
12
|
+
import "./chunk-IRKTIZUM.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-TIYRNMGW.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-WY73KWPF.js";
|
|
23
23
|
import "./chunk-TCUYH5GO.js";
|
|
24
24
|
import {
|
|
25
25
|
intFlag
|
|
@@ -32,18 +32,18 @@ import {
|
|
|
32
32
|
readablePage,
|
|
33
33
|
rejectPaginationModifiersWithoutAll,
|
|
34
34
|
streamAll
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-PAXWRJNA.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
39
|
} from "./chunk-QM57YDJE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-YHXIFKCU.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
44
44
|
WRITE_SINGLE_FLAGS,
|
|
45
45
|
readOnly
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-QLKGOIWS.js";
|
|
47
47
|
import "./chunk-AQVE6HO5.js";
|
|
48
48
|
import "./chunk-ZYURL5VK.js";
|
|
49
49
|
import "./chunk-QW5K5DTC.js";
|
|
@@ -256,7 +256,7 @@ var listsDelete = defineCommand({
|
|
|
256
256
|
var membership = (verb) => defineCommand({
|
|
257
257
|
meta: {
|
|
258
258
|
name: verb,
|
|
259
|
-
description: `${verb === "add" ? "Add Contacts to" : "Remove Contacts from"} a Contact list. Name the Contacts by id, or with filter flags (the same as \`curviate contact list\`) to act on every match. Count a filter first: \`curviate contact list <same filters> --total --limit 1\`. Needs Automate.`,
|
|
259
|
+
description: `${verb === "add" ? "Add Contacts to" : "Remove Contacts from"} a Contact list. Name the Contacts by id, or with filter flags (the same as \`curviate contact list\`) to act on every match. Count a filter first: \`curviate contact list <same filters> --total --limit 1\`. The list being changed is the positional id; to filter by another list use --from-list (\`contact list\` calls it --list). Needs Automate.`,
|
|
260
260
|
risk: "high",
|
|
261
261
|
rules: {
|
|
262
262
|
changes: verb === "add" ? "The Contacts join the list." : "The Contacts leave the list; they are not deleted.",
|
|
@@ -271,7 +271,8 @@ var membership = (verb) => defineCommand({
|
|
|
271
271
|
seeAlso: SEE_LISTS,
|
|
272
272
|
examples: [
|
|
273
273
|
`curviate contact lists ${verb} cl_YOUR_LIST_ID con_A con_B`,
|
|
274
|
-
`curviate contact lists ${verb} cl_YOUR_LIST_ID --tag hot --no-email
|
|
274
|
+
`curviate contact lists ${verb} cl_YOUR_LIST_ID --tag hot --no-email`,
|
|
275
|
+
`curviate contact lists ${verb} cl_YOUR_LIST_ID --from-list cl_SOURCE_LIST_ID --connected`
|
|
275
276
|
]
|
|
276
277
|
},
|
|
277
278
|
args: {
|
|
@@ -292,7 +293,7 @@ var contactListsCommand = defineCommand({
|
|
|
292
293
|
meta: { name: "lists", description: "Contact lists: named sets of Contacts a Motion enrolls from." },
|
|
293
294
|
subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
|
|
294
295
|
async run() {
|
|
295
|
-
const { showHelp } = await import("./examples-
|
|
296
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
296
297
|
await showHelp(contactListsCommand, ["curviate", "contact", "lists"]);
|
|
297
298
|
}
|
|
298
299
|
});
|
|
@@ -389,7 +390,7 @@ var contactTagsCommand = defineCommand({
|
|
|
389
390
|
meta: { name: "tags", description: "Tags: labels on Contacts." },
|
|
390
391
|
subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
|
|
391
392
|
async run() {
|
|
392
|
-
const { showHelp } = await import("./examples-
|
|
393
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
393
394
|
await showHelp(contactTagsCommand, ["curviate", "contact", "tags"]);
|
|
394
395
|
}
|
|
395
396
|
});
|
|
@@ -7,20 +7,20 @@ import {
|
|
|
7
7
|
contactImportCommand,
|
|
8
8
|
contactImportsCommand,
|
|
9
9
|
csvRecords
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-AA2UTHCS.js";
|
|
11
|
+
import "./chunk-FNENKSJ7.js";
|
|
12
|
+
import "./chunk-IRKTIZUM.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-TIYRNMGW.js";
|
|
15
|
+
import "./chunk-WY73KWPF.js";
|
|
16
16
|
import "./chunk-TCUYH5GO.js";
|
|
17
17
|
import "./chunk-NNV2OYEF.js";
|
|
18
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-PAXWRJNA.js";
|
|
19
19
|
import "./chunk-QM57YDJE.js";
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-YHXIFKCU.js";
|
|
21
|
+
import "./chunk-QLKGOIWS.js";
|
|
22
22
|
import "./chunk-AQVE6HO5.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-62YAYAUI.js";
|
|
24
24
|
import "./chunk-FDJMAF7D.js";
|
|
25
25
|
import "./chunk-ZYURL5VK.js";
|
|
26
26
|
import "./chunk-QW5K5DTC.js";
|
|
@@ -19,25 +19,25 @@ var coreCommand = defineCommand({
|
|
|
19
19
|
}
|
|
20
20
|
},
|
|
21
21
|
subCommands: {
|
|
22
|
-
profile: lazy("profile", () => import("./profile-
|
|
23
|
-
company: lazy("company", () => import("./company-
|
|
24
|
-
job: lazy("job", () => import("./job-
|
|
25
|
-
connect: lazy("connect", () => import("./connect-
|
|
26
|
-
search: lazy("search", () => import("./search-
|
|
27
|
-
inbox: lazy("inbox", () => import("./inbox-
|
|
28
|
-
inboxes: lazy("inboxes", () => import("./inboxes-
|
|
29
|
-
message: lazy("message", () => import("./message-
|
|
30
|
-
post: lazy("post", () => import("./post-
|
|
31
|
-
comment: lazy("comment", () => import("./comment-
|
|
32
|
-
"sales-nav": lazy("sales-nav", () => import("./sales-nav-
|
|
33
|
-
recruiter: lazy("recruiter", () => import("./recruiter-
|
|
34
|
-
group: lazy("group", () => import("./group-
|
|
35
|
-
feed: lazy("feed", () => import("./feed-
|
|
36
|
-
notification: lazy("coreNotification", () => import("./notification-
|
|
37
|
-
draft: lazy("draft", () => import("./draft-
|
|
22
|
+
profile: lazy("profile", () => import("./profile-ZDP23SNN.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-65ILSE2U.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-KBILRJJO.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-URFFJVYY.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-5HPVIIUJ.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-QQ6AQDVB.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-352YK6UB.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-ZB2IGJIQ.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-O5DYXSHK.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-UUA7B5YC.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-JFAYF6DM.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-QENVOZFV.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-KKTBXE42.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-GESAX65K.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-B3MRXH3A.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-6KY4F5AE.js").then((m) => m.draftCommand))
|
|
38
38
|
},
|
|
39
39
|
async run() {
|
|
40
|
-
const { showHelp } = await import("./examples-
|
|
40
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
41
41
|
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
42
|
}
|
|
43
43
|
});
|
|
@@ -2,21 +2,21 @@
|
|
|
2
2
|
import {
|
|
3
3
|
chunkRows,
|
|
4
4
|
csvRecords
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-AA2UTHCS.js";
|
|
6
|
+
import "./chunk-FNENKSJ7.js";
|
|
7
|
+
import "./chunk-IRKTIZUM.js";
|
|
8
8
|
import {
|
|
9
9
|
writeAtomic
|
|
10
10
|
} from "./chunk-GOICALYQ.js";
|
|
11
11
|
import {
|
|
12
12
|
sendChunked
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-TIYRNMGW.js";
|
|
14
14
|
import {
|
|
15
15
|
fail,
|
|
16
16
|
outputOpts,
|
|
17
17
|
rootClient,
|
|
18
18
|
usage
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-WY73KWPF.js";
|
|
20
20
|
import {
|
|
21
21
|
buildPreviewOutput
|
|
22
22
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,26 +31,26 @@ import {
|
|
|
31
31
|
readablePage,
|
|
32
32
|
rejectPaginationModifiersWithoutAll,
|
|
33
33
|
streamAll
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-PAXWRJNA.js";
|
|
35
35
|
import {
|
|
36
36
|
renderSuccess,
|
|
37
37
|
writeNdjsonItem
|
|
38
38
|
} from "./chunk-QM57YDJE.js";
|
|
39
39
|
import {
|
|
40
40
|
downloadBinary
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-YHXIFKCU.js";
|
|
42
42
|
import {
|
|
43
43
|
GLOBAL_FLAGS,
|
|
44
44
|
READ_SINGLE_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";
|
|
51
51
|
import {
|
|
52
52
|
readFileFlag
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-62YAYAUI.js";
|
|
54
54
|
import "./chunk-FDJMAF7D.js";
|
|
55
55
|
import {
|
|
56
56
|
isStdinToken
|
|
@@ -231,7 +231,7 @@ var listCmd = defineCommand({
|
|
|
231
231
|
risk: "read",
|
|
232
232
|
examples: ["curviate do-not-contact list", "curviate do-not-contact list --query jane"]
|
|
233
233
|
},
|
|
234
|
-
args: { ...readOnly(GLOBAL_FLAGS), query: { type: "string", description: "Only entries whose Contact name matches this text." } },
|
|
234
|
+
args: { ...readOnly(GLOBAL_FLAGS), limit: { ...GLOBAL_FLAGS.limit, description: "Entries per page (1 to 100). The API returns no total: count with --all." }, query: { type: "string", description: "Only entries whose Contact name matches this text." } },
|
|
235
235
|
run: online(runList)
|
|
236
236
|
});
|
|
237
237
|
var getCmd = defineCommand({
|
|
@@ -351,7 +351,7 @@ var doNotContactCommand = defineCommand({
|
|
|
351
351
|
meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
|
|
352
352
|
subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd, export: exportCmd, import: importCmd },
|
|
353
353
|
async run() {
|
|
354
|
-
const { showHelp } = await import("./examples-
|
|
354
|
+
const { showHelp } = await import("./examples-KAMXHRLE.js");
|
|
355
355
|
await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
|
|
356
356
|
}
|
|
357
357
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PAXWRJNA.js";
|
|
5
5
|
import "./chunk-QM57YDJE.js";
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
@@ -10,10 +10,10 @@ import {
|
|
|
10
10
|
readConfigFile,
|
|
11
11
|
resolveEffectiveConfig,
|
|
12
12
|
withoutUserinfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-YHXIFKCU.js";
|
|
14
14
|
import {
|
|
15
15
|
GLOBAL_FLAGS
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-QLKGOIWS.js";
|
|
17
17
|
import {
|
|
18
18
|
DESCRIPTIONS
|
|
19
19
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PAXWRJNA.js";
|
|
24
24
|
import {
|
|
25
25
|
renderError,
|
|
26
26
|
renderSuccess,
|
|
@@ -30,13 +30,13 @@ import {
|
|
|
30
30
|
import {
|
|
31
31
|
createClient,
|
|
32
32
|
resolveEffectiveConfig
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-YHXIFKCU.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
42
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-WY73KWPF.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,18 +20,18 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-PAXWRJNA.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
27
27
|
} from "./chunk-QM57YDJE.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-YHXIFKCU.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
37
|
} from "./chunk-AQVE6HO5.js";
|
|
@@ -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),
|