@curviate/cli 0.59.0 → 0.61.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 +16 -0
- package/README.md +1 -1
- package/dist/{account-EUHYWIDH.js → account-6NFNYQGU.js} +11 -11
- package/dist/{analytics-SQQIMSLF.js → analytics-C5OX6KCD.js} +6 -6
- package/dist/{beta-consent-DFS7YMZR.js → beta-consent-IVLBQJSH.js} +5 -5
- package/dist/{billing-3FRIQFY3.js → billing-4ULWWTS2.js} +6 -6
- package/dist/{chunk-QM57YDJE.js → chunk-2JHRIBHB.js} +2 -2
- package/dist/{chunk-VKHAL6WT.js → chunk-4KJT6S7G.js} +1 -1
- package/dist/{chunk-HG2G5OAZ.js → chunk-7B3ZEBID.js} +2 -2
- package/dist/{chunk-F3FEY4D5.js → chunk-BF3SCQNZ.js} +3 -3
- package/dist/{chunk-KD2XY7RS.js → chunk-BVVWFW3P.js} +1 -1
- package/dist/{chunk-EWSOIFG2.js → chunk-DLYVUDNF.js} +1 -1
- package/dist/{chunk-JXDEV33Z.js → chunk-EIPQUQK2.js} +1 -1
- package/dist/{chunk-HJ7YY4HE.js → chunk-NPXJ6WZB.js} +2 -2
- package/dist/{chunk-TNLIV3SW.js → chunk-R7CHBBYM.js} +9 -9
- package/dist/{chunk-7CSXYRSO.js → chunk-S26N4XUE.js} +8 -8
- package/dist/{chunk-R2MIDSMB.js → chunk-TEQHHNTJ.js} +6 -6
- package/dist/{chunk-72PYX57P.js → chunk-THV7IFCQ.js} +15 -15
- package/dist/{chunk-QRTMRTKA.js → chunk-YBGQWI2R.js} +9 -8
- package/dist/{chunk-ZC4S4B32.js → chunk-Z647LR4F.js} +5 -5
- package/dist/{chunk-5AJS2V4T.js → chunk-ZFOJU6NF.js} +2 -2
- package/dist/cli.js +29 -29
- package/dist/{comment-DA6XPY4F.js → comment-IGLA7IER.js} +8 -8
- package/dist/{company-IWVNUBWS.js → company-JTTRUG7I.js} +9 -9
- package/dist/{company-record-ZJMW3NC6.js → company-record-4UODUGB4.js} +11 -11
- package/dist/{config-P4HKPOCW.js → config-XZYVBBYM.js} +2 -2
- package/dist/{connect-AELFEVR7.js → connect-P2EVA7Q6.js} +13 -13
- package/dist/{contact-FHN3A7MJ.js → contact-CPLFJEQ5.js} +9 -9
- package/dist/{contact-groups-HNZTN6I6.js → contact-groups-VMMHQLIH.js} +17 -17
- package/dist/{contact-import-PJFRLCHR.js → contact-import-DTQE2YEN.js} +10 -10
- package/dist/core-WUCCQ5AP.js +46 -0
- package/dist/{do-not-contact-KSH36NMT.js → do-not-contact-ZGGDXFHU.js} +17 -17
- package/dist/{doctor-BEO4E227.js → doctor-VJYRO75Z.js} +5 -5
- package/dist/{domain-HF3WXWUT.js → domain-47LTUTRM.js} +6 -6
- package/dist/{draft-2KBRHBBH.js → draft-QEIV3EJF.js} +11 -11
- package/dist/{enrollment-QPE54QQN.js → enrollment-GSXNYWUP.js} +11 -11
- package/dist/{examples-5FJS47QF.js → examples-G4IC5TJU.js} +1 -1
- package/dist/{exit-codes-LQDMGDII.js → exit-codes-MMGNZCJ5.js} +1 -1
- package/dist/{export-J4JQRE2A.js → export-ZILQ2G66.js} +5 -5
- package/dist/{feed-PHF2ROIT.js → feed-H64BWKHD.js} +7 -7
- package/dist/{group-SLXDOCHV.js → group-UENN2D2V.js} +7 -7
- package/dist/{inbox-IDILZLPC.js → inbox-5LFGUDR3.js} +7 -7
- package/dist/{inboxes-QLP5PWTS.js → inboxes-3S3Q5P55.js} +7 -7
- package/dist/{incoming-XG6IBPU6.js → incoming-FT5DG475.js} +9 -9
- package/dist/{job-WUYHK6OX.js → job-T2Y2FI2J.js} +8 -8
- package/dist/{login-3RIU257N.js → login-J3UDO2U5.js} +2 -2
- package/dist/{mailbox-CJRCYZGL.js → mailbox-3AIW2MNF.js} +14 -13
- package/dist/{message-EBVO4ZZI.js → message-ZTG5NLFM.js} +7 -7
- package/dist/{motion-7XQ3E4GI.js → motion-PPDJRNPY.js} +21 -21
- package/dist/{network-X5XL44GB.js → network-6O7UMQUV.js} +7 -7
- package/dist/{notification-QNGHG5EO.js → notification-OSFARVWS.js} +7 -7
- package/dist/{notifications-MOLNELNE.js → notifications-P23SNSOA.js} +7 -7
- package/dist/{post-XYSFN5OP.js → post-3IHALP6D.js} +8 -8
- package/dist/{profile-7LJLU4Y5.js → profile-SVX32KM7.js} +13 -13
- package/dist/{recruiter-ALQNIRYR.js → recruiter-FXNHAGUQ.js} +8 -8
- package/dist/{sales-nav-HYZXNYCC.js → sales-nav-LZGY3JNR.js} +7 -7
- package/dist/{search-DNCPCFRR.js → search-DE7LXAGY.js} +16 -16
- package/dist/{setup-QI5FW6VD.js → setup-JLARWHGX.js} +5 -5
- package/dist/{signal-J2TLIT47.js → signal-EKNNW7M5.js} +6 -6
- package/dist/{team-PPPCJ5HT.js → team-QUJTRZCS.js} +7 -7
- package/dist/{tier-NFWWW34H.js → tier-6P7DE7QF.js} +5 -5
- package/dist/{unibox-52C7G5LK.js → unibox-Q6IUUCPH.js} +20 -20
- package/dist/{webhook-J3JYMSY2.js → webhook-COOQJOQB.js} +6 -6
- package/package.json +2 -2
- package/dist/core-R7R44CVA.js +0 -46
|
@@ -6,14 +6,14 @@ import {
|
|
|
6
6
|
} from "./chunk-JY26SUNH.js";
|
|
7
7
|
import {
|
|
8
8
|
sendInChunks
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-NPXJ6WZB.js";
|
|
10
10
|
import {
|
|
11
11
|
fail,
|
|
12
12
|
listFlag,
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BF3SCQNZ.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
readablePage,
|
|
30
30
|
rejectPaginationModifiersWithoutAll,
|
|
31
31
|
streamAll
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
33
33
|
import {
|
|
34
34
|
renderSuccess,
|
|
35
35
|
writeNdjsonItem
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-2JHRIBHB.js";
|
|
37
|
+
import "./chunk-BVVWFW3P.js";
|
|
38
38
|
import {
|
|
39
39
|
GLOBAL_FLAGS,
|
|
40
40
|
READ_SINGLE_FLAGS,
|
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
} from "./chunk-QLKGOIWS.js";
|
|
44
44
|
import {
|
|
45
45
|
DESCRIPTIONS
|
|
46
|
-
} from "./chunk-
|
|
46
|
+
} from "./chunk-Z647LR4F.js";
|
|
47
47
|
import {
|
|
48
48
|
documentSchema,
|
|
49
49
|
parseDocument,
|
|
@@ -742,7 +742,7 @@ var CAMPAIGN_DOC = `{
|
|
|
742
742
|
var createCmd = defineCommand({
|
|
743
743
|
meta: {
|
|
744
744
|
name: "create",
|
|
745
|
-
description: "Create a Campaign from a Campaign file, always as a draft: nothing runs until `curviate campaign start`. The file is checked before anything is sent, its Sequence as `curviate campaign lint` checks it. settings.priority (normal or prioritized) sets the Campaign's weight in each Account's budgets: 1 or 1.5, on every budget; every Campaign with work due still progresses and no limit is passed. Needs
|
|
745
|
+
description: "Create a Campaign from a Campaign file, always as a draft: nothing runs until `curviate campaign start`. The file is checked before anything is sent, its Sequence as `curviate campaign lint` checks it. settings.priority (normal or prioritized) sets the Campaign's weight in each Account's budgets: 1 or 1.5, on every budget; every Campaign with work due still progresses and no limit is passed. Needs a subscription.",
|
|
746
746
|
risk: "write",
|
|
747
747
|
rules: {
|
|
748
748
|
changes: "Creates a draft Campaign. No Lead is enrolled and nothing reaches LinkedIn until it is started.",
|
|
@@ -751,7 +751,7 @@ var createCmd = defineCommand({
|
|
|
751
751
|
retry: "A retry creates a second draft: list with `curviate campaign list --status draft` first.",
|
|
752
752
|
undo: "`curviate campaign delete <campaign_id>` deletes a draft."
|
|
753
753
|
},
|
|
754
|
-
errors: { ...SEQUENCE_ERRORS, ...ROLE_ERRORS, TIER_REQUIRED: "Campaigns need
|
|
754
|
+
errors: { ...SEQUENCE_ERRORS, ...ROLE_ERRORS, TIER_REQUIRED: "Campaigns need a subscription." },
|
|
755
755
|
seeAlso: ["curviate campaign lint", "curviate campaign init", "curviate campaign preview"],
|
|
756
756
|
document: "campaign create",
|
|
757
757
|
examples: [
|
|
@@ -770,7 +770,7 @@ EOF`
|
|
|
770
770
|
var updateCmd = defineCommand({
|
|
771
771
|
meta: {
|
|
772
772
|
name: "update",
|
|
773
|
-
description: "Change a Campaign from a Campaign file: objects (schedule, settings) merge by key, arrays and the Sequence replace whole, null clears. settings.priority (normal or prioritized) weighs the Campaign 1 or 1.5 in each Account's budgets, on every budget (every Campaign with work due still progresses, and no limit is passed); settings.new_enrollments_per_account_per_day and settings.assign even are retired (accepted and ignored until 2027-01-28, with a notice). --one-lead-per-company enrolls at most one Lead per company (a Lead whose company already has one in the Campaign is skipped, same_company, naming the Lead kept; one with no known company never is); --no-one-lead-per-company turns it off; either works with or without --file. After start, a structural Sequence change makes a new version; running Enrollments keep theirs. With --if-revision the save is refused when someone saved the Sequence since. Needs
|
|
773
|
+
description: "Change a Campaign from a Campaign file: objects (schedule, settings) merge by key, arrays and the Sequence replace whole, null clears. settings.priority (normal or prioritized) weighs the Campaign 1 or 1.5 in each Account's budgets, on every budget (every Campaign with work due still progresses, and no limit is passed); settings.new_enrollments_per_account_per_day and settings.assign even are retired (accepted and ignored until 2027-01-28, with a notice). --one-lead-per-company enrolls at most one Lead per company (a Lead whose company already has one in the Campaign is skipped, same_company, naming the Lead kept; one with no known company never is); --no-one-lead-per-company turns it off; either works with or without --file. After start, a structural Sequence change makes a new version; running Enrollments keep theirs. With --if-revision the save is refused when someone saved the Sequence since. Needs a subscription.",
|
|
774
774
|
risk: "write",
|
|
775
775
|
rules: {
|
|
776
776
|
changes: "Changes the Campaign. A running Campaign picks the change up at each Enrollment's next Step.",
|
|
@@ -820,7 +820,7 @@ var lifecycleCmd = (name, meta) => defineCommand({
|
|
|
820
820
|
run: online(lifecycle(name))
|
|
821
821
|
});
|
|
822
822
|
var startCmd = lifecycleCmd("start", {
|
|
823
|
-
description: "Start a draft: scheduled when its start time is ahead, else active. Freezes Sequence version 1. A Campaign missing what it needs is refused with every gap listed. With an email step it needs `curviate campaign check` at the current Sequence revision, and is refused while Leads have no email address unless --skip-missing-email. Needs
|
|
823
|
+
description: "Start a draft: scheduled when its start time is ahead, else active. Freezes Sequence version 1. A Campaign missing what it needs is refused with every gap listed. With an email step it needs `curviate campaign check` at the current Sequence revision, and is refused while Leads have no email address unless --skip-missing-email. Needs a subscription.",
|
|
824
824
|
risk: "high",
|
|
825
825
|
rules: {
|
|
826
826
|
changes: "The Campaign starts enrolling its Leads and running its Steps from its sending Accounts, paced on its schedule.",
|
|
@@ -834,7 +834,7 @@ var startCmd = lifecycleCmd("start", {
|
|
|
834
834
|
CAMPAIGN_NOT_STARTABLE: "a gap stops it (Lead list, sending Account, Sequence, with an email step the Lead check and Leads without an address); each is listed.",
|
|
835
835
|
CAMPAIGN_STATUS_CONFLICT: "only a draft starts.",
|
|
836
836
|
...ROLE_ERRORS,
|
|
837
|
-
TIER_REQUIRED: "Campaigns need
|
|
837
|
+
TIER_REQUIRED: "Campaigns need a subscription."
|
|
838
838
|
},
|
|
839
839
|
seeAlso: ["curviate campaign check", "curviate campaign preview", "curviate campaign pause"]
|
|
840
840
|
});
|
|
@@ -852,7 +852,7 @@ var pauseCmd = lifecycleCmd("pause", {
|
|
|
852
852
|
seeAlso: SEE_LIFECYCLE
|
|
853
853
|
});
|
|
854
854
|
var resumeCmd = lifecycleCmd("resume", {
|
|
855
|
-
description: "Resume a paused Campaign. Runs the start checks again, the Lead check and --skip-missing-email included. Needs
|
|
855
|
+
description: "Resume a paused Campaign. Runs the start checks again, the Lead check and --skip-missing-email included. Needs a subscription.",
|
|
856
856
|
risk: "high",
|
|
857
857
|
rules: {
|
|
858
858
|
changes: "The Campaign's Steps run again from its sending Accounts.",
|
|
@@ -862,7 +862,7 @@ var resumeCmd = lifecycleCmd("resume", {
|
|
|
862
862
|
undo: "`curviate campaign pause <campaign_id>`; what was sent stays sent.",
|
|
863
863
|
blast_radius: "Every open Enrollment of the Campaign."
|
|
864
864
|
},
|
|
865
|
-
errors: { CAMPAIGN_NOT_STARTABLE: "a gap stops it; each is listed.", CAMPAIGN_STATUS_CONFLICT: "only a paused Campaign resumes.", ...ROLE_ERRORS, TIER_REQUIRED: "Campaigns need
|
|
865
|
+
errors: { CAMPAIGN_NOT_STARTABLE: "a gap stops it; each is listed.", CAMPAIGN_STATUS_CONFLICT: "only a paused Campaign resumes.", ...ROLE_ERRORS, TIER_REQUIRED: "Campaigns need a subscription." },
|
|
866
866
|
seeAlso: SEE_LIFECYCLE
|
|
867
867
|
});
|
|
868
868
|
var archiveCmd = lifecycleCmd("archive", {
|
|
@@ -946,7 +946,7 @@ var placementCmd = defineCommand({
|
|
|
946
946
|
var membershipCmd = (kind) => defineCommand({
|
|
947
947
|
meta: {
|
|
948
948
|
name: kind,
|
|
949
|
-
description: kind === "add" ? "Enroll Leads directly, on an Account of the Campaign (--account) or one Curviate assigns. Every exclusion and filter applies; each Lead's outcome says what happened. Sent in requests of up to 1000 ids, in order. Needs
|
|
949
|
+
description: kind === "add" ? "Enroll Leads directly, on an Account of the Campaign (--account) or one Curviate assigns. Every exclusion and filter applies; each Lead's outcome says what happened. Sent in requests of up to 1000 ids, in order. Needs a subscription." : "Take Leads out of the Campaign: their open Enrollments end (removed). Sent in requests of up to 1000 ids, in order.",
|
|
950
950
|
risk: "high",
|
|
951
951
|
rules: kind === "add" ? {
|
|
952
952
|
changes: "Each queued Lead becomes a pending Enrollment; a running Campaign reaches it on its schedule.",
|
|
@@ -1013,7 +1013,7 @@ var initCmd = defineCommand({
|
|
|
1013
1013
|
var voiceClipUploadCmd = defineCommand({
|
|
1014
1014
|
meta: {
|
|
1015
1015
|
name: "upload",
|
|
1016
|
-
description: "Upload one audio file (MP3, WAV, M4A, WebM or Ogg) and print the clip: its `id` (vc_...) is the `clip_id` of a `voice.send` step. 1 to 120 seconds, up to 20 MiB, 100 uploads per Team per 24 hours. The file is converted once and the original is discarded. Nothing reaches LinkedIn. Needs
|
|
1016
|
+
description: "Upload one audio file (MP3, WAV, M4A, WebM or Ogg) and print the clip: its `id` (vc_...) is the `clip_id` of a `voice.send` step. 1 to 120 seconds, up to 20 MiB, 100 uploads per Team per 24 hours. The file is converted once and the original is discarded. Nothing reaches LinkedIn. Needs a subscription.",
|
|
1017
1017
|
risk: "write",
|
|
1018
1018
|
rules: {
|
|
1019
1019
|
changes: "Stores one converted clip for your Team. No Campaign changes and nothing is sent to anyone.",
|
|
@@ -1027,7 +1027,7 @@ var voiceClipUploadCmd = defineCommand({
|
|
|
1027
1027
|
VOICE_CLIP_INVALID: "the file is empty, is not audio, cannot be decoded, is under 1 second or is over 120 seconds; the message names the reason. A clip is never shortened.",
|
|
1028
1028
|
PAYLOAD_TOO_LARGE: "the file is over 20 MiB.",
|
|
1029
1029
|
RATE_LIMIT_TENANT: "100 uploads in the last 24 hours; Retry-After is the wait.",
|
|
1030
|
-
TIER_REQUIRED: "Voice clips need
|
|
1030
|
+
TIER_REQUIRED: "Voice clips need a subscription.",
|
|
1031
1031
|
...ROLE_ERRORS
|
|
1032
1032
|
},
|
|
1033
1033
|
seeAlso: ["curviate campaign voice-clip get", "curviate campaign lint", "curviate campaign create"],
|
|
@@ -1056,14 +1056,14 @@ var voiceClipCommand = defineCommand({
|
|
|
1056
1056
|
meta: { name: "voice-clip", description: DESCRIPTIONS.campaignVoiceClip },
|
|
1057
1057
|
subCommands: { upload: voiceClipUploadCmd, get: voiceClipGetCmd },
|
|
1058
1058
|
async run() {
|
|
1059
|
-
const { showHelp } = await import("./examples-
|
|
1059
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
1060
1060
|
await showHelp(voiceClipCommand, ["curviate", "campaign", "voice-clip"]);
|
|
1061
1061
|
}
|
|
1062
1062
|
});
|
|
1063
1063
|
var attachmentUploadCmd = defineCommand({
|
|
1064
1064
|
meta: {
|
|
1065
1065
|
name: "upload",
|
|
1066
|
-
description: "Upload one file and print it: its `id` (cat_...) goes in an email step's `attachment_ids` (at most 10 a step, 20 MiB in total). Up to 20 MiB, 100 uploads per Team per 24 hours. Curviate reads the type from the file's bytes; executables, scripts, installers and macro-enabled Office files are refused. A link usually lands better than a file. Nothing is sent. Needs
|
|
1066
|
+
description: "Upload one file and print it: its `id` (cat_...) goes in an email step's `attachment_ids` (at most 10 a step, 20 MiB in total). Up to 20 MiB, 100 uploads per Team per 24 hours. Curviate reads the type from the file's bytes; executables, scripts, installers and macro-enabled Office files are refused. A link usually lands better than a file. Nothing is sent. Needs a subscription. The CLI reads the path here, on your machine, and streams it in one request; a file over 20 MiB is refused before it leaves (exit 2). Curviate never fetches a path or a URL. From a Microsoft sign-in Mailbox, files of about 2.2 MB in all go today; a step's files above that are refused at send (attachment_refused).",
|
|
1067
1067
|
risk: "write",
|
|
1068
1068
|
rules: {
|
|
1069
1069
|
changes: "Stores one file for your Team. No Campaign changes and nothing is sent to anyone.",
|
|
@@ -1077,7 +1077,7 @@ var attachmentUploadCmd = defineCommand({
|
|
|
1077
1077
|
UNSUPPORTED_MEDIA_TYPE: "an executable, a script, an installer, a shortcut, a disk image or a macro-enabled Office file; the message names the type. Nothing is stored.",
|
|
1078
1078
|
PAYLOAD_TOO_LARGE: "the file is over 20 MiB.",
|
|
1079
1079
|
RATE_LIMIT_TENANT: "100 uploads in the last 24 hours; Retry-After is the wait.",
|
|
1080
|
-
TIER_REQUIRED: "Campaign attachments need
|
|
1080
|
+
TIER_REQUIRED: "Campaign attachments need a subscription.",
|
|
1081
1081
|
...ROLE_ERRORS
|
|
1082
1082
|
},
|
|
1083
1083
|
seeAlso: ["curviate campaign attachment get", "curviate campaign lint", "curviate campaign check"],
|
|
@@ -1106,7 +1106,7 @@ var attachmentCommand = defineCommand({
|
|
|
1106
1106
|
meta: { name: "attachment", description: DESCRIPTIONS.campaignAttachment },
|
|
1107
1107
|
subCommands: { upload: attachmentUploadCmd, get: attachmentGetCmd },
|
|
1108
1108
|
async run() {
|
|
1109
|
-
const { showHelp } = await import("./examples-
|
|
1109
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
1110
1110
|
await showHelp(attachmentCommand, ["curviate", "campaign", "attachment"]);
|
|
1111
1111
|
}
|
|
1112
1112
|
});
|
|
@@ -1133,7 +1133,7 @@ var campaignCommand = defineCommand({
|
|
|
1133
1133
|
attachment: attachmentCommand
|
|
1134
1134
|
},
|
|
1135
1135
|
async run() {
|
|
1136
|
-
const { showHelp } = await import("./examples-
|
|
1136
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
1137
1137
|
await showHelp(campaignCommand, ["curviate", "campaign"]);
|
|
1138
1138
|
}
|
|
1139
1139
|
});
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
outputOpts,
|
|
14
14
|
rootClient,
|
|
15
15
|
usage
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-BF3SCQNZ.js";
|
|
17
17
|
import {
|
|
18
18
|
buildPreviewOutput
|
|
19
19
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,12 +27,12 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
31
31
|
import {
|
|
32
32
|
renderSuccess,
|
|
33
33
|
writeNdjsonItem
|
|
34
|
-
} from "./chunk-
|
|
35
|
-
import "./chunk-
|
|
34
|
+
} from "./chunk-2JHRIBHB.js";
|
|
35
|
+
import "./chunk-BVVWFW3P.js";
|
|
36
36
|
import {
|
|
37
37
|
GLOBAL_FLAGS,
|
|
38
38
|
WRITE_SINGLE_FLAGS,
|
|
@@ -40,7 +40,7 @@ import {
|
|
|
40
40
|
} from "./chunk-QLKGOIWS.js";
|
|
41
41
|
import {
|
|
42
42
|
DESCRIPTIONS
|
|
43
|
-
} from "./chunk-
|
|
43
|
+
} from "./chunk-Z647LR4F.js";
|
|
44
44
|
import "./chunk-ZYURL5VK.js";
|
|
45
45
|
|
|
46
46
|
// src/commands/network.ts
|
|
@@ -200,7 +200,7 @@ var exportCmd = defineCommand({
|
|
|
200
200
|
var resyncCmd = defineCommand({
|
|
201
201
|
meta: {
|
|
202
202
|
name: "resync",
|
|
203
|
-
description: "Start a fresh walk of an Account's Connections now, or of every Account you may operate with --all. Once per Account per day; pages are read inside the Account's read window. Answers queued, cooldown, in_progress or paused per Account: answers, not errors. Needs
|
|
203
|
+
description: "Start a fresh walk of an Account's Connections now, or of every Account you may operate with --all. Once per Account per day; pages are read inside the Account's read window. Answers queued, cooldown, in_progress or paused per Account: answers, not errors. Needs a subscription.",
|
|
204
204
|
risk: "high",
|
|
205
205
|
rules: {
|
|
206
206
|
changes: "Opens a sync walk; Curviate reads the Account's Connections from LinkedIn over the next hours.",
|
|
@@ -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-G4IC5TJU.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-7B3ZEBID.js";
|
|
9
9
|
import {
|
|
10
10
|
buildPreviewOutput
|
|
11
11
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -16,17 +16,17 @@ import {
|
|
|
16
16
|
readablePage,
|
|
17
17
|
rejectPaginationModifiersWithoutAll,
|
|
18
18
|
streamAll
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
20
20
|
import {
|
|
21
21
|
renderError,
|
|
22
22
|
renderSuccess,
|
|
23
23
|
renderUnexpectedError,
|
|
24
24
|
writeNdjsonItem
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-2JHRIBHB.js";
|
|
26
26
|
import {
|
|
27
27
|
createClient,
|
|
28
28
|
resolveEffectiveConfig
|
|
29
|
-
} from "./chunk-
|
|
29
|
+
} from "./chunk-BVVWFW3P.js";
|
|
30
30
|
import {
|
|
31
31
|
GLOBAL_FLAGS,
|
|
32
32
|
WRITE_SINGLE_FLAGS,
|
|
@@ -34,9 +34,9 @@ import {
|
|
|
34
34
|
} from "./chunk-QLKGOIWS.js";
|
|
35
35
|
import {
|
|
36
36
|
DESCRIPTIONS
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-Z647LR4F.js";
|
|
38
38
|
import "./chunk-ZYURL5VK.js";
|
|
39
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-DLYVUDNF.js";
|
|
40
40
|
|
|
41
41
|
// src/commands/notification.ts
|
|
42
42
|
import { defineCommand } from "citty";
|
|
@@ -57,7 +57,7 @@ function resolveOutputOpts(flags) {
|
|
|
57
57
|
async function handleSdkError(err, outOpts, out) {
|
|
58
58
|
const { CurviateError } = await import("@curviate/sdk");
|
|
59
59
|
if (err instanceof CurviateError) {
|
|
60
|
-
const { getExitCode } = await import("./exit-codes-
|
|
60
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
61
61
|
renderError(err, outOpts, out);
|
|
62
62
|
process.exit(getExitCode(err));
|
|
63
63
|
}
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
outputOpts,
|
|
5
5
|
rootClient,
|
|
6
6
|
usage
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-BF3SCQNZ.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-ZFOJU6NF.js";
|
|
23
23
|
import {
|
|
24
24
|
renderSuccess,
|
|
25
25
|
writeNdjsonItem
|
|
26
|
-
} from "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
} from "./chunk-2JHRIBHB.js";
|
|
27
|
+
import "./chunk-BVVWFW3P.js";
|
|
28
28
|
import {
|
|
29
29
|
GLOBAL_FLAGS,
|
|
30
30
|
READ_SINGLE_FLAGS,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
} from "./chunk-QLKGOIWS.js";
|
|
34
34
|
import {
|
|
35
35
|
DESCRIPTIONS
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-Z647LR4F.js";
|
|
37
37
|
import "./chunk-ZYURL5VK.js";
|
|
38
38
|
|
|
39
39
|
// src/commands/notifications.ts
|
|
@@ -107,7 +107,7 @@ var update = (body) => async (c, f) => {
|
|
|
107
107
|
if (notFoundError) {
|
|
108
108
|
process.stderr.write(`error: ${notFound.length} of ${all.length} notifications were not found (not yours, or already gone): ${notFound.join(", ")}. The others were applied.
|
|
109
109
|
`);
|
|
110
|
-
const { getExitCode } = await import("./exit-codes-
|
|
110
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
111
111
|
process.exit(getExitCode(notFoundError));
|
|
112
112
|
}
|
|
113
113
|
};
|
|
@@ -227,7 +227,7 @@ var notificationsCommand = defineCommand({
|
|
|
227
227
|
meta: { name: "notification", description: DESCRIPTIONS.notification },
|
|
228
228
|
subCommands: { list: listCmd, count: countCmd, read: readCmd, "read-all": readAllCmd, archive: archiveCmd, unarchive: unarchiveCmd },
|
|
229
229
|
async run() {
|
|
230
|
-
const { showHelp } = await import("./examples-
|
|
230
|
+
const { showHelp } = await import("./examples-G4IC5TJU.js");
|
|
231
231
|
await showHelp(notificationsCommand, ["curviate", "notification"]);
|
|
232
232
|
}
|
|
233
233
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import {
|
|
3
3
|
resolveMemberOrMeProviderId
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4KJT6S7G.js";
|
|
5
5
|
import "./chunk-UEAX6KUB.js";
|
|
6
6
|
import {
|
|
7
7
|
AS_ACCOUNT,
|
|
@@ -15,7 +15,7 @@ import {
|
|
|
15
15
|
} from "./chunk-JY26SUNH.js";
|
|
16
16
|
import {
|
|
17
17
|
requireAccount
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-7B3ZEBID.js";
|
|
19
19
|
import {
|
|
20
20
|
buildPreviewOutput
|
|
21
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -27,17 +27,17 @@ import {
|
|
|
27
27
|
readablePage,
|
|
28
28
|
rejectPaginationModifiersWithoutAll,
|
|
29
29
|
streamAll
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
31
31
|
import {
|
|
32
32
|
renderError,
|
|
33
33
|
renderSuccess,
|
|
34
34
|
renderUnexpectedError,
|
|
35
35
|
writeNdjsonItem
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-2JHRIBHB.js";
|
|
37
37
|
import {
|
|
38
38
|
createClient,
|
|
39
39
|
resolveEffectiveConfig
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-BVVWFW3P.js";
|
|
41
41
|
import {
|
|
42
42
|
GLOBAL_FLAGS,
|
|
43
43
|
READ_SINGLE_FLAGS,
|
|
@@ -47,11 +47,11 @@ import {
|
|
|
47
47
|
} from "./chunk-QLKGOIWS.js";
|
|
48
48
|
import {
|
|
49
49
|
DESCRIPTIONS
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-Z647LR4F.js";
|
|
51
51
|
import {
|
|
52
52
|
resolveTextOrStdin
|
|
53
53
|
} from "./chunk-ZYURL5VK.js";
|
|
54
|
-
import "./chunk-
|
|
54
|
+
import "./chunk-DLYVUDNF.js";
|
|
55
55
|
|
|
56
56
|
// src/commands/post.ts
|
|
57
57
|
import { defineCommand } from "citty";
|
|
@@ -89,7 +89,7 @@ function normalizeAttachPaths(attach) {
|
|
|
89
89
|
async function handleSdkError(err, outOpts, out) {
|
|
90
90
|
const { CurviateError } = await import("@curviate/sdk");
|
|
91
91
|
if (err instanceof CurviateError) {
|
|
92
|
-
const { getExitCode } = await import("./exit-codes-
|
|
92
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
93
93
|
renderError(err, outOpts, out);
|
|
94
94
|
process.exit(getExitCode(err));
|
|
95
95
|
}
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
import {
|
|
8
8
|
resolveMemberOrMeProviderId,
|
|
9
9
|
resolveMemberProviderId
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-4KJT6S7G.js";
|
|
11
11
|
import {
|
|
12
12
|
resolveIdentifier
|
|
13
13
|
} from "./chunk-UEAX6KUB.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
slimProfile,
|
|
22
22
|
slimProfileMe,
|
|
23
23
|
withRequestedSections
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-EIPQUQK2.js";
|
|
25
25
|
import {
|
|
26
26
|
AttachError,
|
|
27
27
|
readAttachment,
|
|
@@ -29,7 +29,7 @@ import {
|
|
|
29
29
|
} from "./chunk-JY26SUNH.js";
|
|
30
30
|
import {
|
|
31
31
|
requireAccount
|
|
32
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-7B3ZEBID.js";
|
|
33
33
|
import {
|
|
34
34
|
buildPreviewOutput
|
|
35
35
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -42,17 +42,17 @@ import {
|
|
|
42
42
|
readablePage,
|
|
43
43
|
rejectPaginationModifiersWithoutAll,
|
|
44
44
|
streamAll
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
46
46
|
import {
|
|
47
47
|
renderError,
|
|
48
48
|
renderSuccess,
|
|
49
49
|
renderUnexpectedError,
|
|
50
50
|
writeNdjsonItem
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-2JHRIBHB.js";
|
|
52
52
|
import {
|
|
53
53
|
createClient,
|
|
54
54
|
resolveEffectiveConfig
|
|
55
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-BVVWFW3P.js";
|
|
56
56
|
import {
|
|
57
57
|
GLOBAL_FLAGS,
|
|
58
58
|
READ_SINGLE_FLAGS,
|
|
@@ -61,9 +61,9 @@ import {
|
|
|
61
61
|
} from "./chunk-QLKGOIWS.js";
|
|
62
62
|
import {
|
|
63
63
|
DESCRIPTIONS
|
|
64
|
-
} from "./chunk-
|
|
64
|
+
} from "./chunk-Z647LR4F.js";
|
|
65
65
|
import "./chunk-ZYURL5VK.js";
|
|
66
|
-
import "./chunk-
|
|
66
|
+
import "./chunk-DLYVUDNF.js";
|
|
67
67
|
|
|
68
68
|
// src/commands/profile.ts
|
|
69
69
|
import { defineCommand } from "citty";
|
|
@@ -191,7 +191,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
191
191
|
} catch (err) {
|
|
192
192
|
const { CurviateError } = await import("@curviate/sdk");
|
|
193
193
|
if (err instanceof CurviateError) {
|
|
194
|
-
const { getExitCode } = await import("./exit-codes-
|
|
194
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
195
195
|
renderError(err, outOpts, out);
|
|
196
196
|
process.exit(getExitCode(err));
|
|
197
197
|
}
|
|
@@ -218,7 +218,7 @@ async function runProfileMe(client, flags, out) {
|
|
|
218
218
|
} catch (err) {
|
|
219
219
|
const { CurviateError } = await import("@curviate/sdk");
|
|
220
220
|
if (err instanceof CurviateError) {
|
|
221
|
-
const { getExitCode } = await import("./exit-codes-
|
|
221
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
222
222
|
renderError(err, outOpts, out);
|
|
223
223
|
process.exit(getExitCode(err));
|
|
224
224
|
}
|
|
@@ -350,7 +350,7 @@ async function runProfileGet(client, flags, out) {
|
|
|
350
350
|
} catch (err) {
|
|
351
351
|
const { CurviateError } = await import("@curviate/sdk");
|
|
352
352
|
if (err instanceof CurviateError) {
|
|
353
|
-
const { getExitCode } = await import("./exit-codes-
|
|
353
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
354
354
|
renderError(err, outOpts, out);
|
|
355
355
|
process.exit(getExitCode(err));
|
|
356
356
|
}
|
|
@@ -388,7 +388,7 @@ async function runProfileRelations(client, flags, out) {
|
|
|
388
388
|
} catch (err) {
|
|
389
389
|
const { CurviateError } = await import("@curviate/sdk");
|
|
390
390
|
if (err instanceof CurviateError) {
|
|
391
|
-
const { getExitCode } = await import("./exit-codes-
|
|
391
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
392
392
|
renderError(err, outOpts, out);
|
|
393
393
|
process.exit(getExitCode(err));
|
|
394
394
|
}
|
|
@@ -428,7 +428,7 @@ async function runProfileEndorse(client, flags, out) {
|
|
|
428
428
|
async function handleSdkError(err, outOpts, out) {
|
|
429
429
|
const { CurviateError } = await import("@curviate/sdk");
|
|
430
430
|
if (err instanceof CurviateError) {
|
|
431
|
-
const { getExitCode } = await import("./exit-codes-
|
|
431
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
432
432
|
renderError(err, outOpts, out);
|
|
433
433
|
process.exit(getExitCode(err));
|
|
434
434
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-Q3ZPRFUX.js";
|
|
20
20
|
import {
|
|
21
21
|
slimJob
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-EIPQUQK2.js";
|
|
23
23
|
import {
|
|
24
24
|
AttachError,
|
|
25
25
|
readAttachment,
|
|
@@ -27,7 +27,7 @@ import {
|
|
|
27
27
|
} from "./chunk-JY26SUNH.js";
|
|
28
28
|
import {
|
|
29
29
|
requireAccount
|
|
30
|
-
} from "./chunk-
|
|
30
|
+
} from "./chunk-7B3ZEBID.js";
|
|
31
31
|
import {
|
|
32
32
|
buildPreviewOutput
|
|
33
33
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -39,19 +39,19 @@ import {
|
|
|
39
39
|
readablePage,
|
|
40
40
|
rejectPaginationModifiersWithoutAll,
|
|
41
41
|
streamAll
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
43
43
|
import {
|
|
44
44
|
isJsonMode,
|
|
45
45
|
renderError,
|
|
46
46
|
renderSuccess,
|
|
47
47
|
renderUnexpectedError,
|
|
48
48
|
writeNdjsonItem
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-2JHRIBHB.js";
|
|
50
50
|
import {
|
|
51
51
|
createClient,
|
|
52
52
|
downloadBinary,
|
|
53
53
|
resolveEffectiveConfig
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-BVVWFW3P.js";
|
|
55
55
|
import {
|
|
56
56
|
GLOBAL_FLAGS,
|
|
57
57
|
NON_STREAM_FLAGS,
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
} from "./chunk-QLKGOIWS.js";
|
|
63
63
|
import {
|
|
64
64
|
DESCRIPTIONS
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-Z647LR4F.js";
|
|
66
66
|
import {
|
|
67
67
|
documentSchema,
|
|
68
68
|
parseDocument,
|
|
@@ -72,7 +72,7 @@ import {
|
|
|
72
72
|
} from "./chunk-JKOQX46J.js";
|
|
73
73
|
import "./chunk-FDJMAF7D.js";
|
|
74
74
|
import "./chunk-ZYURL5VK.js";
|
|
75
|
-
import "./chunk-
|
|
75
|
+
import "./chunk-DLYVUDNF.js";
|
|
76
76
|
|
|
77
77
|
// src/commands/recruiter.ts
|
|
78
78
|
import { defineCommand } from "citty";
|
|
@@ -97,7 +97,7 @@ function normalizeAttachPaths(attach) {
|
|
|
97
97
|
async function handleSdkError(err, outOpts, out) {
|
|
98
98
|
const { CurviateError } = await import("@curviate/sdk");
|
|
99
99
|
if (err instanceof CurviateError) {
|
|
100
|
-
const { getExitCode } = await import("./exit-codes-
|
|
100
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
101
101
|
renderError(err, outOpts, out);
|
|
102
102
|
process.exit(getExitCode(err));
|
|
103
103
|
}
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-JY26SUNH.js";
|
|
20
20
|
import {
|
|
21
21
|
requireAccount
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-7B3ZEBID.js";
|
|
23
23
|
import {
|
|
24
24
|
buildPreviewOutput
|
|
25
25
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -31,17 +31,17 @@ import {
|
|
|
31
31
|
readablePage,
|
|
32
32
|
rejectPaginationModifiersWithoutAll,
|
|
33
33
|
streamAll
|
|
34
|
-
} from "./chunk-
|
|
34
|
+
} from "./chunk-ZFOJU6NF.js";
|
|
35
35
|
import {
|
|
36
36
|
renderError,
|
|
37
37
|
renderSuccess,
|
|
38
38
|
renderUnexpectedError,
|
|
39
39
|
writeNdjsonItem
|
|
40
|
-
} from "./chunk-
|
|
40
|
+
} from "./chunk-2JHRIBHB.js";
|
|
41
41
|
import {
|
|
42
42
|
createClient,
|
|
43
43
|
resolveEffectiveConfig
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-BVVWFW3P.js";
|
|
45
45
|
import {
|
|
46
46
|
GLOBAL_FLAGS,
|
|
47
47
|
READ_SINGLE_FLAGS,
|
|
@@ -50,11 +50,11 @@ import {
|
|
|
50
50
|
} from "./chunk-QLKGOIWS.js";
|
|
51
51
|
import {
|
|
52
52
|
DESCRIPTIONS
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-Z647LR4F.js";
|
|
54
54
|
import "./chunk-JKOQX46J.js";
|
|
55
55
|
import "./chunk-FDJMAF7D.js";
|
|
56
56
|
import "./chunk-ZYURL5VK.js";
|
|
57
|
-
import "./chunk-
|
|
57
|
+
import "./chunk-DLYVUDNF.js";
|
|
58
58
|
|
|
59
59
|
// src/commands/sales-nav.ts
|
|
60
60
|
import { defineCommand } from "citty";
|
|
@@ -78,7 +78,7 @@ function normalizeAttachPaths(attach) {
|
|
|
78
78
|
async function handleSdkError(err, outOpts, out) {
|
|
79
79
|
const { CurviateError } = await import("@curviate/sdk");
|
|
80
80
|
if (err instanceof CurviateError) {
|
|
81
|
-
const { getExitCode } = await import("./exit-codes-
|
|
81
|
+
const { getExitCode } = await import("./exit-codes-MMGNZCJ5.js");
|
|
82
82
|
renderError(err, outOpts, out);
|
|
83
83
|
process.exit(getExitCode(err));
|
|
84
84
|
}
|