@curviate/cli 0.50.0-next.0 → 0.50.0-next.1
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 +11 -0
- package/dist/{account-KGCGUYKF.js → account-U7UJIE3H.js} +143 -27
- package/dist/{analytics-HRAD4ABO.js → analytics-MZU2WKON.js} +4 -4
- package/dist/{beta-consent-364JI6IL.js → beta-consent-67IDUV3K.js} +3 -3
- package/dist/{billing-3SSVRS2Y.js → billing-QAW75YE7.js} +4 -4
- package/dist/{chunk-T6GBS5SS.js → chunk-3Z6PXS6N.js} +1 -1
- package/dist/{chunk-25MO7BYN.js → chunk-6LBOGIVE.js} +1 -1
- package/dist/{chunk-OE6YFYUM.js → chunk-6PLDAEMO.js} +4 -4
- package/dist/{chunk-DSGKYZDK.js → chunk-A57ZILRU.js} +1 -1
- package/dist/{chunk-UL53T4O6.js → chunk-AVI7J47S.js} +1 -1
- package/dist/{chunk-DOHBOYXN.js → chunk-CKVCBGQX.js} +1 -1
- package/dist/{chunk-67S4JHZZ.js → chunk-EIA66ESN.js} +5 -5
- package/dist/{chunk-CQGDMARG.js → chunk-LCPPXOPN.js} +13 -10
- package/dist/{chunk-L4CIJT6F.js → chunk-LRMPS4UQ.js} +1 -1
- package/dist/{chunk-YXVF5UST.js → chunk-LULN3II2.js} +2 -2
- package/dist/{chunk-UWQPX4AE.js → chunk-Q3ZPRFUX.js} +1 -1
- package/dist/{chunk-TE3WBPW6.js → chunk-TYNVJDYK.js} +6 -1
- package/dist/cli.js +23 -23
- package/dist/{comment-5JKGNYOY.js → comment-6NRZILAS.js} +5 -5
- package/dist/{company-TXST2VXW.js → company-VXE7IEPT.js} +5 -5
- package/dist/{config-TVIQUVNK.js → config-3WP7OD35.js} +1 -1
- package/dist/{connect-RBL6U4KV.js → connect-FBK6UWZP.js} +4 -4
- package/dist/{contact-YAHC5QFX.js → contact-HFPZ3KGL.js} +6 -6
- package/dist/{contact-groups-DKOIBC57.js → contact-groups-AI4MLGQS.js} +10 -10
- package/dist/{contact-import-ITSJQV7K.js → contact-import-54Y7EMU2.js} +8 -8
- package/dist/{core-PWMJPPRG.js → core-RLMWMQEI.js} +17 -17
- package/dist/{do-not-contact-WDYIBWYA.js → do-not-contact-LQ5V6SPE.js} +4 -4
- package/dist/{doctor-F7JLPTED.js → doctor-KKRL7TEF.js} +2 -2
- package/dist/{document-BHYAUJ6F.js → document-GFRWPQFV.js} +1 -1
- package/dist/{draft-TDJJUXLH.js → draft-VSWZOCDR.js} +3 -3
- package/dist/{enrollment-Q6UOKHPY.js → enrollment-OACCSBM5.js} +4 -4
- package/dist/{examples-DQSVIIXZ.js → examples-JJB4DZKK.js} +1 -1
- package/dist/{export-HIJSCJS6.js → export-AQHAFVAB.js} +3 -3
- package/dist/{feed-W56ZTA4Z.js → feed-HY4HT75U.js} +3 -3
- package/dist/{group-AUALYK5H.js → group-A3SMBFU5.js} +3 -3
- package/dist/{inbox-HLZR2ZPV.js → inbox-YHUO2RPI.js} +4 -4
- package/dist/{inboxes-IZTRD6FE.js → inboxes-GKLMHPDR.js} +3 -3
- package/dist/{incoming-ULB2RNV4.js → incoming-NHROOOIZ.js} +4 -4
- package/dist/{job-55IKS6LP.js → job-QBW3PGWL.js} +4 -4
- package/dist/{login-DPZ6CXNO.js → login-GWIYHKYO.js} +1 -1
- package/dist/{message-J44YKRDS.js → message-BFLN2VHS.js} +5 -5
- package/dist/{motion-SQI5F2EK.js → motion-LTWU2GPC.js} +6 -6
- package/dist/{network-K4QD7APQ.js → network-CNSBX2SR.js} +4 -4
- package/dist/{notification-SEDXZHXO.js → notification-DCCFJPXU.js} +4 -4
- package/dist/{notifications-HGIBRUNQ.js → notifications-AQBXBK4K.js} +4 -4
- package/dist/{post-L467SKIG.js → post-PINZHSPS.js} +5 -5
- package/dist/{profile-A2N6RMR2.js → profile-MJQJSNYR.js} +5 -5
- package/dist/{recruiter-AR75RHBO.js → recruiter-X6GX4A2G.js} +6 -6
- package/dist/{sales-nav-C2AYFXPV.js → sales-nav-44GYWDYE.js} +6 -6
- package/dist/{search-Z4DZIG4X.js → search-SULIN6TB.js} +5 -5
- package/dist/{setup-45BEVX6B.js → setup-ZQRHMRMB.js} +2 -2
- package/dist/{team-6QWY4IFP.js → team-TM6LRUY5.js} +4 -4
- package/dist/{tier-2HS3BXDF.js → tier-Z3U6AT7H.js} +3 -3
- package/dist/{unibox-DHUKG65Z.js → unibox-BIMI2KY5.js} +4 -4
- package/dist/{webhook-Q53WUAI2.js → webhook-EHXRTHBG.js} +4 -4
- package/package.json +1 -1
|
@@ -266,7 +266,7 @@ import { AsyncLocalStorage } from "async_hooks";
|
|
|
266
266
|
import { Curviate, CurviateError as CurviateError2 } from "@curviate/sdk";
|
|
267
267
|
|
|
268
268
|
// package.json
|
|
269
|
-
var version = "0.50.0-next.
|
|
269
|
+
var version = "0.50.0-next.1";
|
|
270
270
|
|
|
271
271
|
// src/lib/client.ts
|
|
272
272
|
function headerStrings(headers) {
|
|
@@ -352,7 +352,7 @@ function acceptedWrite(res, text, body) {
|
|
|
352
352
|
headers2.delete("content-type");
|
|
353
353
|
return new Response(null, { status: res.status, statusText: res.statusText, headers: headers2 });
|
|
354
354
|
}
|
|
355
|
-
const expected = body !== null && typeof body === "object" && !Array.isArray(body)
|
|
355
|
+
const expected = body !== null && typeof body === "object" && !Array.isArray(body);
|
|
356
356
|
if (!expected) {
|
|
357
357
|
const what = body === void 0 ? "a body that is not JSON" : "a body of an unexpected shape";
|
|
358
358
|
process.stderr.write(`warning: the API accepted this write (HTTP ${res.status}) with ${what}. The write happened: do not retry it.
|
|
@@ -7,7 +7,7 @@ var AS_ACCOUNT = {
|
|
|
7
7
|
ACCOUNT_RESTRICTED: "LinkedIn restricts the Account from this action."
|
|
8
8
|
};
|
|
9
9
|
var BUDGET = {
|
|
10
|
-
BUDGET_EXHAUSTED: "the Account's limit for this action is used up; nothing reached LinkedIn. `curviate account get <account_id>` shows when it resets."
|
|
10
|
+
BUDGET_EXHAUSTED: "the Account's limit for this action is used up; nothing reached LinkedIn. `curviate account get <account_id>` shows when it resets; `curviate account safety update` changes the limit."
|
|
11
11
|
};
|
|
12
12
|
var TARGET = {
|
|
13
13
|
RESOURCE_NOT_FOUND: "the target does not exist, or the Account cannot see it."
|
|
@@ -1278,7 +1278,12 @@ var ANNOTATIONS = /* @__PURE__ */ new Set(["description", "title", "default", "d
|
|
|
1278
1278
|
function documentSchema(key) {
|
|
1279
1279
|
const s = documents_default[key];
|
|
1280
1280
|
if (!s) throw new Error(`no document schema for ${key}`);
|
|
1281
|
-
return s;
|
|
1281
|
+
return key === "motion create" || key === "motion update" ? withoutScheduleTimezone(s) : s;
|
|
1282
|
+
}
|
|
1283
|
+
function withoutScheduleTimezone(s) {
|
|
1284
|
+
const copy = structuredClone(s);
|
|
1285
|
+
delete copy.properties.schedule.properties["timezone"];
|
|
1286
|
+
return copy;
|
|
1282
1287
|
}
|
|
1283
1288
|
var MAX_DOCUMENT_BYTES = 5 * 1024 * 1024;
|
|
1284
1289
|
var TOO_LARGE = (flag, max = MAX_DOCUMENT_BYTES) => `--${flag}: larger than ${max / 1024 / 1024} MiB, the most a document may be.`;
|
package/dist/cli.js
CHANGED
|
@@ -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-ZQRHMRMB.js").then((m) => m.setupCommand)),
|
|
49
|
+
doctor: lazy("doctor", () => import("./doctor-KKRL7TEF.js").then((m) => m.doctorCommand)),
|
|
50
|
+
login: lazy("login", () => import("./login-GWIYHKYO.js").then((m) => m.loginCommand)),
|
|
51
|
+
config: lazy("config", () => import("./config-3WP7OD35.js").then((m) => m.configCommand)),
|
|
52
|
+
account: lazy("account", () => import("./account-U7UJIE3H.js").then((m) => m.accountCommand)),
|
|
53
|
+
motion: lazy("motion", () => import("./motion-LTWU2GPC.js").then((m) => m.motionCommand)),
|
|
54
|
+
enrollment: lazy("enrollment", () => import("./enrollment-OACCSBM5.js").then((m) => m.enrollmentCommand)),
|
|
55
|
+
contact: lazy("contact", () => import("./contact-HFPZ3KGL.js").then((m) => m.contactCommand)),
|
|
56
|
+
"do-not-contact": lazy("do-not-contact", () => import("./do-not-contact-LQ5V6SPE.js").then((m) => m.doNotContactCommand)),
|
|
57
|
+
unibox: lazy("unibox", () => import("./unibox-BIMI2KY5.js").then((m) => m.uniboxCommand)),
|
|
58
|
+
network: lazy("network", () => import("./network-CNSBX2SR.js").then((m) => m.networkCommand)),
|
|
59
|
+
analytics: lazy("analytics", () => import("./analytics-MZU2WKON.js").then((m) => m.analyticsCommand)),
|
|
60
|
+
notification: lazy("notification", () => import("./notifications-AQBXBK4K.js").then((m) => m.notificationsCommand)),
|
|
61
|
+
export: lazy("export", () => import("./export-AQHAFVAB.js").then((m) => m.exportCommand)),
|
|
62
|
+
billing: lazy("billing", () => import("./billing-QAW75YE7.js").then((m) => m.billingCommand)),
|
|
63
|
+
tier: lazy("tier", () => import("./tier-Z3U6AT7H.js").then((m) => m.tierCommand)),
|
|
64
|
+
team: lazy("team", () => import("./team-TM6LRUY5.js").then((m) => m.teamCommand)),
|
|
65
|
+
incoming: lazy("incoming", () => import("./incoming-NHROOOIZ.js").then((m) => m.incomingCommand)),
|
|
66
|
+
beta: lazy("beta", () => import("./beta-consent-67IDUV3K.js").then((m) => m.betaCommand)),
|
|
67
|
+
webhook: lazy("webhook", () => import("./webhook-EHXRTHBG.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-RLMWMQEI.js").then((m) => m.coreCommand))
|
|
72
72
|
},
|
|
73
73
|
async run() {
|
|
74
|
-
const { showHelp } = await import("./examples-
|
|
74
|
+
const { showHelp } = await import("./examples-JJB4DZKK.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-JJB4DZKK.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-CKVCBGQX.js";
|
|
5
5
|
import {
|
|
6
6
|
AttachError,
|
|
7
7
|
describeAttachment,
|
|
@@ -12,11 +12,11 @@ import {
|
|
|
12
12
|
AS_ACCOUNT,
|
|
13
13
|
BUDGET,
|
|
14
14
|
TARGET
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-Q3ZPRFUX.js";
|
|
16
16
|
import "./chunk-UEAX6KUB.js";
|
|
17
17
|
import {
|
|
18
18
|
requireAccount
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-6LBOGIVE.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-LRMPS4UQ.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
@@ -37,7 +37,7 @@ import {
|
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-LULN3II2.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
WRITE_SINGLE_FLAGS,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
sentAsNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-6PLDAEMO.js";
|
|
5
5
|
import {
|
|
6
6
|
AttachError,
|
|
7
7
|
readAttachment,
|
|
@@ -11,7 +11,7 @@ import "./chunk-UWO2D4HW.js";
|
|
|
11
11
|
import {
|
|
12
12
|
AS_ACCOUNT,
|
|
13
13
|
TARGET
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-Q3ZPRFUX.js";
|
|
15
15
|
import {
|
|
16
16
|
resolveIdentifier
|
|
17
17
|
} from "./chunk-UEAX6KUB.js";
|
|
@@ -26,7 +26,7 @@ import {
|
|
|
26
26
|
} from "./chunk-GHMRPX5H.js";
|
|
27
27
|
import {
|
|
28
28
|
requireAccount
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-6LBOGIVE.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-LRMPS4UQ.js";
|
|
43
43
|
import {
|
|
44
44
|
renderError,
|
|
45
45
|
renderSuccess,
|
|
@@ -49,7 +49,7 @@ import {
|
|
|
49
49
|
import {
|
|
50
50
|
createClient,
|
|
51
51
|
resolveEffectiveConfig
|
|
52
|
-
} from "./chunk-
|
|
52
|
+
} from "./chunk-LULN3II2.js";
|
|
53
53
|
import {
|
|
54
54
|
GLOBAL_FLAGS,
|
|
55
55
|
READ_SINGLE_FLAGS,
|
|
@@ -3,7 +3,7 @@ import {
|
|
|
3
3
|
AS_ACCOUNT,
|
|
4
4
|
BUDGET,
|
|
5
5
|
TARGET
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-Q3ZPRFUX.js";
|
|
7
7
|
import {
|
|
8
8
|
resolveIdentifier
|
|
9
9
|
} from "./chunk-UEAX6KUB.js";
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-GHMRPX5H.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-6LBOGIVE.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-LRMPS4UQ.js";
|
|
30
30
|
import {
|
|
31
31
|
renderError,
|
|
32
32
|
renderSuccess,
|
|
@@ -36,7 +36,7 @@ import {
|
|
|
36
36
|
import {
|
|
37
37
|
createClient,
|
|
38
38
|
resolveEffectiveConfig
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-LULN3II2.js";
|
|
40
40
|
import {
|
|
41
41
|
GLOBAL_FLAGS,
|
|
42
42
|
WRITE_FLAGS,
|
|
@@ -7,16 +7,16 @@ import {
|
|
|
7
7
|
online,
|
|
8
8
|
positionals,
|
|
9
9
|
preview
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-LCPPXOPN.js";
|
|
11
|
+
import "./chunk-6LBOGIVE.js";
|
|
12
12
|
import "./chunk-GOICALYQ.js";
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
import "./chunk-AVI7J47S.js";
|
|
14
|
+
import "./chunk-3Z6PXS6N.js";
|
|
15
15
|
import "./chunk-TCUYH5GO.js";
|
|
16
16
|
import "./chunk-NNV2OYEF.js";
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-LRMPS4UQ.js";
|
|
18
18
|
import "./chunk-QM57YDJE.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-LULN3II2.js";
|
|
20
20
|
import "./chunk-RYWWSZUH.js";
|
|
21
21
|
import "./chunk-73DJ3KNE.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
@@ -8,18 +8,18 @@ import {
|
|
|
8
8
|
online,
|
|
9
9
|
preview,
|
|
10
10
|
readFilter
|
|
11
|
-
} from "./chunk-
|
|
12
|
-
import "./chunk-
|
|
11
|
+
} from "./chunk-LCPPXOPN.js";
|
|
12
|
+
import "./chunk-6LBOGIVE.js";
|
|
13
13
|
import "./chunk-GOICALYQ.js";
|
|
14
14
|
import {
|
|
15
15
|
sendInChunks
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AVI7J47S.js";
|
|
17
17
|
import {
|
|
18
18
|
fail,
|
|
19
19
|
listFlag,
|
|
20
20
|
outputOpts,
|
|
21
21
|
usage
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-3Z6PXS6N.js";
|
|
23
23
|
import "./chunk-TCUYH5GO.js";
|
|
24
24
|
import {
|
|
25
25
|
intFlag
|
|
@@ -32,12 +32,12 @@ import {
|
|
|
32
32
|
readablePage,
|
|
33
33
|
rejectPaginationModifiersWithoutAll,
|
|
34
34
|
streamAll
|
|
35
|
-
} from "./chunk-
|
|
35
|
+
} from "./chunk-LRMPS4UQ.js";
|
|
36
36
|
import {
|
|
37
37
|
renderSuccess,
|
|
38
38
|
writeNdjsonItem
|
|
39
39
|
} from "./chunk-QM57YDJE.js";
|
|
40
|
-
import "./chunk-
|
|
40
|
+
import "./chunk-LULN3II2.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
@@ -228,7 +228,7 @@ var listsUpdate = defineCommand({
|
|
|
228
228
|
var listsDelete = defineCommand({
|
|
229
229
|
meta: {
|
|
230
230
|
name: "delete",
|
|
231
|
-
description: "Delete a Contact list. Its Contacts stay; a Motion that enrolls from it needs another list.
|
|
231
|
+
description: "Delete a Contact list. Its Contacts stay; a Motion that enrolls from it needs another list. Any role may.",
|
|
232
232
|
risk: "high",
|
|
233
233
|
rules: {
|
|
234
234
|
changes: "The list and its memberships are deleted; the Contacts are not.",
|
|
@@ -238,7 +238,7 @@ var listsDelete = defineCommand({
|
|
|
238
238
|
undo: "Cannot be undone for the list itself: create it again and add the Contacts.",
|
|
239
239
|
blast_radius: "One list and its membership; no Contact is deleted."
|
|
240
240
|
},
|
|
241
|
-
errors: { RESOURCE_IN_USE: "a Motion still uses the list (409)."
|
|
241
|
+
errors: { RESOURCE_IN_USE: "a Motion still uses the list (409)." },
|
|
242
242
|
seeAlso: SEE_LISTS,
|
|
243
243
|
examples: ["curviate contact lists delete cl_YOUR_LIST_ID"]
|
|
244
244
|
},
|
|
@@ -292,7 +292,7 @@ var contactListsCommand = defineCommand({
|
|
|
292
292
|
meta: { name: "lists", description: "Contact lists: named sets of Contacts a Motion enrolls from." },
|
|
293
293
|
subCommands: { list: listsList, get: listsGet, create: listsCreate, combine: listsCombine, update: listsUpdate, delete: listsDelete, add: membership("add"), remove: membership("remove") },
|
|
294
294
|
async run() {
|
|
295
|
-
const { showHelp } = await import("./examples-
|
|
295
|
+
const { showHelp } = await import("./examples-JJB4DZKK.js");
|
|
296
296
|
await showHelp(contactListsCommand, ["curviate", "contact", "lists"]);
|
|
297
297
|
}
|
|
298
298
|
});
|
|
@@ -389,7 +389,7 @@ var contactTagsCommand = defineCommand({
|
|
|
389
389
|
meta: { name: "tags", description: "Tags: labels on Contacts." },
|
|
390
390
|
subCommands: { list: tagsList, update: tagsUpdate, delete: tagsDelete, add: tagging("add"), remove: tagging("remove") },
|
|
391
391
|
async run() {
|
|
392
|
-
const { showHelp } = await import("./examples-
|
|
392
|
+
const { showHelp } = await import("./examples-JJB4DZKK.js");
|
|
393
393
|
await showHelp(contactTagsCommand, ["curviate", "contact", "tags"]);
|
|
394
394
|
}
|
|
395
395
|
});
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
import {
|
|
3
3
|
online,
|
|
4
4
|
preview
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import "./chunk-
|
|
5
|
+
} from "./chunk-LCPPXOPN.js";
|
|
6
|
+
import "./chunk-6LBOGIVE.js";
|
|
7
7
|
import "./chunk-GOICALYQ.js";
|
|
8
8
|
import {
|
|
9
9
|
sendChunked
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-AVI7J47S.js";
|
|
11
11
|
import {
|
|
12
12
|
fail,
|
|
13
13
|
listFlag,
|
|
14
14
|
outputOpts,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3Z6PXS6N.js";
|
|
17
17
|
import "./chunk-TCUYH5GO.js";
|
|
18
18
|
import {
|
|
19
19
|
intFlag
|
|
@@ -26,12 +26,12 @@ import {
|
|
|
26
26
|
readablePage,
|
|
27
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
28
|
streamAll
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-LRMPS4UQ.js";
|
|
30
30
|
import {
|
|
31
31
|
renderSuccess,
|
|
32
32
|
writeNdjsonItem
|
|
33
33
|
} from "./chunk-QM57YDJE.js";
|
|
34
|
-
import "./chunk-
|
|
34
|
+
import "./chunk-LULN3II2.js";
|
|
35
35
|
import {
|
|
36
36
|
GLOBAL_FLAGS,
|
|
37
37
|
WRITE_SINGLE_FLAGS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
import "./chunk-73DJ3KNE.js";
|
|
41
41
|
import {
|
|
42
42
|
readFileFlag
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-TYNVJDYK.js";
|
|
44
44
|
import "./chunk-FDJMAF7D.js";
|
|
45
45
|
import {
|
|
46
46
|
isStdinToken
|
|
@@ -322,7 +322,7 @@ var contactImportsCommand = defineCommand({
|
|
|
322
322
|
meta: { name: "imports", description: "Your Team's import records." },
|
|
323
323
|
subCommands: { list: importsList, get: importsGet },
|
|
324
324
|
async run() {
|
|
325
|
-
const { showHelp } = await import("./examples-
|
|
325
|
+
const { showHelp } = await import("./examples-JJB4DZKK.js");
|
|
326
326
|
await showHelp(contactImportsCommand, ["curviate", "contact", "imports"]);
|
|
327
327
|
}
|
|
328
328
|
});
|
|
@@ -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-MJQJSNYR.js").then((m) => m.profileCommand)),
|
|
23
|
+
company: lazy("company", () => import("./company-VXE7IEPT.js").then((m) => m.companyCommand)),
|
|
24
|
+
job: lazy("job", () => import("./job-QBW3PGWL.js").then((m) => m.jobCommand)),
|
|
25
|
+
connect: lazy("connect", () => import("./connect-FBK6UWZP.js").then((m) => m.connectCommand)),
|
|
26
|
+
search: lazy("search", () => import("./search-SULIN6TB.js").then((m) => m.searchCommand)),
|
|
27
|
+
inbox: lazy("inbox", () => import("./inbox-YHUO2RPI.js").then((m) => m.inboxCommand)),
|
|
28
|
+
inboxes: lazy("inboxes", () => import("./inboxes-GKLMHPDR.js").then((m) => m.inboxesCommand)),
|
|
29
|
+
message: lazy("message", () => import("./message-BFLN2VHS.js").then((m) => m.messageCommand)),
|
|
30
|
+
post: lazy("post", () => import("./post-PINZHSPS.js").then((m) => m.postCommand)),
|
|
31
|
+
comment: lazy("comment", () => import("./comment-6NRZILAS.js").then((m) => m.commentCommand)),
|
|
32
|
+
"sales-nav": lazy("sales-nav", () => import("./sales-nav-44GYWDYE.js").then((m) => m.salesNavCommand)),
|
|
33
|
+
recruiter: lazy("recruiter", () => import("./recruiter-X6GX4A2G.js").then((m) => m.recruiterCommand)),
|
|
34
|
+
group: lazy("group", () => import("./group-A3SMBFU5.js").then((m) => m.groupCommand)),
|
|
35
|
+
feed: lazy("feed", () => import("./feed-HY4HT75U.js").then((m) => m.feedCommand)),
|
|
36
|
+
notification: lazy("coreNotification", () => import("./notification-DCCFJPXU.js").then((m) => m.notificationCommand)),
|
|
37
|
+
draft: lazy("draft", () => import("./draft-VSWZOCDR.js").then((m) => m.draftCommand))
|
|
38
38
|
},
|
|
39
39
|
async run() {
|
|
40
|
-
const { showHelp } = await import("./examples-
|
|
40
|
+
const { showHelp } = await import("./examples-JJB4DZKK.js");
|
|
41
41
|
await showHelp(coreCommand, ["curviate", "core"]);
|
|
42
42
|
}
|
|
43
43
|
});
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-3Z6PXS6N.js";
|
|
8
8
|
import {
|
|
9
9
|
buildPreviewOutput
|
|
10
10
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -19,12 +19,12 @@ import {
|
|
|
19
19
|
readablePage,
|
|
20
20
|
rejectPaginationModifiersWithoutAll,
|
|
21
21
|
streamAll
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LRMPS4UQ.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
26
|
} from "./chunk-QM57YDJE.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-LULN3II2.js";
|
|
28
28
|
import {
|
|
29
29
|
GLOBAL_FLAGS,
|
|
30
30
|
READ_SINGLE_FLAGS,
|
|
@@ -191,7 +191,7 @@ var doNotContactCommand = defineCommand({
|
|
|
191
191
|
meta: { name: "do-not-contact", description: DESCRIPTIONS["do-not-contact"] },
|
|
192
192
|
subCommands: { list: listCmd, get: getCmd, add: addCmd, update: updateCmd, remove: removeCmd },
|
|
193
193
|
async run() {
|
|
194
|
-
const { showHelp } = await import("./examples-
|
|
194
|
+
const { showHelp } = await import("./examples-JJB4DZKK.js");
|
|
195
195
|
await showHelp(doNotContactCommand, ["curviate", "do-not-contact"]);
|
|
196
196
|
}
|
|
197
197
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
readablePage
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-LRMPS4UQ.js";
|
|
5
5
|
import "./chunk-QM57YDJE.js";
|
|
6
6
|
import {
|
|
7
7
|
createClient,
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
readConfigFile,
|
|
11
11
|
resolveEffectiveConfig,
|
|
12
12
|
withoutUserinfo
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-LULN3II2.js";
|
|
14
14
|
import {
|
|
15
15
|
GLOBAL_FLAGS
|
|
16
16
|
} from "./chunk-RYWWSZUH.js";
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
AS_ACCOUNT,
|
|
10
10
|
BUDGET
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Q3ZPRFUX.js";
|
|
12
12
|
import {
|
|
13
13
|
buildPreviewOutput
|
|
14
14
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,7 +20,7 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LRMPS4UQ.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-LULN3II2.js";
|
|
34
34
|
import {
|
|
35
35
|
GLOBAL_FLAGS,
|
|
36
36
|
READ_SINGLE_FLAGS,
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
outputOpts,
|
|
6
6
|
rootClient,
|
|
7
7
|
usage
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-3Z6PXS6N.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,12 +20,12 @@ import {
|
|
|
20
20
|
readablePage,
|
|
21
21
|
rejectPaginationModifiersWithoutAll,
|
|
22
22
|
streamAll
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-LRMPS4UQ.js";
|
|
24
24
|
import {
|
|
25
25
|
renderSuccess,
|
|
26
26
|
writeNdjsonItem
|
|
27
27
|
} from "./chunk-QM57YDJE.js";
|
|
28
|
-
import "./chunk-
|
|
28
|
+
import "./chunk-LULN3II2.js";
|
|
29
29
|
import {
|
|
30
30
|
GLOBAL_FLAGS,
|
|
31
31
|
READ_SINGLE_FLAGS,
|
|
@@ -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-JJB4DZKK.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-GFRWPQFV.js") : { renderDocument: () => [] };
|
|
26
26
|
const body = {
|
|
27
27
|
DOCUMENT: meta?.document ? renderDocument(meta.document) : void 0,
|
|
28
28
|
RULES: renderRules(meta?.rules),
|
|
@@ -7,13 +7,13 @@ import {
|
|
|
7
7
|
outputOpts,
|
|
8
8
|
rootClient,
|
|
9
9
|
usage
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3Z6PXS6N.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-LULN3II2.js";
|
|
17
17
|
import {
|
|
18
18
|
GLOBAL_FLAGS,
|
|
19
19
|
READ_SINGLE_FLAGS,
|
|
@@ -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-JJB4DZKK.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-6LBOGIVE.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-LRMPS4UQ.js";
|
|
13
13
|
import {
|
|
14
14
|
renderError,
|
|
15
15
|
renderSuccess,
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
import {
|
|
20
20
|
createClient,
|
|
21
21
|
resolveEffectiveConfig
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-LULN3II2.js";
|
|
23
23
|
import {
|
|
24
24
|
GLOBAL_FLAGS,
|
|
25
25
|
readOnly
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-UEAX6KUB.js";
|
|
5
5
|
import {
|
|
6
6
|
requireAccount
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-6LBOGIVE.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-LRMPS4UQ.js";
|
|
17
17
|
import {
|
|
18
18
|
renderError,
|
|
19
19
|
renderSuccess,
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
createClient,
|
|
25
25
|
resolveEffectiveConfig
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-LULN3II2.js";
|
|
27
27
|
import {
|
|
28
28
|
GLOBAL_FLAGS,
|
|
29
29
|
READ_SINGLE_FLAGS,
|