@curviate/cli 0.48.0 → 0.50.0-next.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 +72 -0
- package/README.md +47 -6
- package/dist/{account-WKQHMM7P.js → account-KGCGUYKF.js} +668 -116
- package/dist/analytics-HRAD4ABO.js +27 -0
- package/dist/beta-consent-364JI6IL.js +81 -0
- package/dist/billing-3SSVRS2Y.js +124 -0
- package/dist/{chunk-Q63IIPL2.js → chunk-25MO7BYN.js} +4 -4
- package/dist/{chunk-76SWLAZ6.js → chunk-2W4RN5ON.js} +59 -1
- package/dist/chunk-5S3MJVI5.js +22 -0
- package/dist/chunk-67S4JHZZ.js +339 -0
- package/dist/chunk-73DJ3KNE.js +54 -0
- package/dist/chunk-CQGDMARG.js +525 -0
- package/dist/{chunk-Y7K4UBFC.js → chunk-DOHBOYXN.js} +1 -1
- package/dist/{chunk-TSOIZBBU.js → chunk-DSGKYZDK.js} +1 -1
- package/dist/{chunk-YLSJ4HKU.js → chunk-ENBIMEKS.js} +26 -1
- package/dist/{chunk-LCGXJGPB.js → chunk-GHMRPX5H.js} +7 -1
- package/dist/chunk-GOICALYQ.js +28 -0
- package/dist/chunk-L4CIJT6F.js +144 -0
- package/dist/{chunk-PQWDDSV7.js → chunk-L7JH3W56.js} +1 -1
- package/dist/{chunk-YFXLXION.js → chunk-OE6YFYUM.js} +85 -10
- package/dist/chunk-PPGKQJKU.js +38 -0
- package/dist/{chunk-MKGVNDMJ.js → chunk-QM57YDJE.js} +13 -201
- package/dist/{chunk-CVMSQ3OF.js → chunk-RYWWSZUH.js} +17 -3
- package/dist/chunk-T6GBS5SS.js +58 -0
- package/dist/{chunk-AYKKXGTR.js → chunk-TE3WBPW6.js} +392 -14
- package/dist/chunk-UL53T4O6.js +52 -0
- package/dist/chunk-UWQPX4AE.js +20 -0
- package/dist/{chunk-OHXYFICP.js → chunk-YXVF5UST.js} +77 -4
- package/dist/cli.js +35 -17
- package/dist/{comment-7IQ6ZOJF.js → comment-5JKGNYOY.js} +90 -11
- package/dist/{company-RD7RDGSA.js → company-TXST2VXW.js} +65 -15
- package/dist/{config-EYBNYRGK.js → config-TVIQUVNK.js} +53 -4
- package/dist/{connect-HVXT67A6.js → connect-RBL6U4KV.js} +63 -18
- package/dist/contact-YAHC5QFX.js +32 -0
- package/dist/contact-groups-DKOIBC57.js +399 -0
- package/dist/contact-import-ITSJQV7K.js +336 -0
- package/dist/core-PWMJPPRG.js +46 -0
- package/dist/do-not-contact-WDYIBWYA.js +200 -0
- package/dist/{doctor-HUXQERLQ.js → doctor-F7JLPTED.js} +65 -11
- package/dist/{document-AUUCGST2.js → document-BHYAUJ6F.js} +1 -1
- package/dist/{draft-DFO22K6Q.js → draft-TDJJUXLH.js} +60 -14
- package/dist/enrollment-Q6UOKHPY.js +484 -0
- package/dist/{examples-64YT5V5K.js → examples-DQSVIIXZ.js} +2 -2
- package/dist/{exit-codes-AW6KHDDN.js → exit-codes-7DBETBDT.js} +1 -1
- package/dist/export-HIJSCJS6.js +96 -0
- package/dist/{feed-JWP6ANPI.js → feed-W56ZTA4Z.js} +13 -10
- package/dist/{group-SIQFJEZV.js → group-AUALYK5H.js} +18 -10
- package/dist/{inbox-MMIMCA5O.js → inbox-HLZR2ZPV.js} +31 -12
- package/dist/{inboxes-RND3D4C7.js → inboxes-IZTRD6FE.js} +14 -10
- package/dist/incoming-ULB2RNV4.js +218 -0
- package/dist/{job-ACFKBLFK.js → job-55IKS6LP.js} +65 -13
- package/dist/{login-ZOB5KVKQ.js → login-DPZ6CXNO.js} +13 -4
- package/dist/{message-OFK6UVXR.js → message-J44YKRDS.js} +9 -7
- package/dist/motion-SQI5F2EK.js +868 -0
- package/dist/network-K4QD7APQ.js +235 -0
- package/dist/{notification-KKGAZU7M.js → notification-SEDXZHXO.js} +38 -11
- package/dist/notifications-HGIBRUNQ.js +231 -0
- package/dist/{post-A5SBCFB2.js → post-L467SKIG.js} +92 -12
- package/dist/{profile-4SOOQZ4K.js → profile-A2N6RMR2.js} +79 -23
- package/dist/{recruiter-YN73STDP.js → recruiter-AR75RHBO.js} +132 -21
- package/dist/{sales-nav-JXF5RY2K.js → sales-nav-C2AYFXPV.js} +73 -18
- package/dist/{search-JAL242A2.js → search-Z4DZIG4X.js} +55 -23
- package/dist/{setup-WICWH4JG.js → setup-45BEVX6B.js} +69 -17
- package/dist/team-6QWY4IFP.js +450 -0
- package/dist/tier-2HS3BXDF.js +61 -0
- package/dist/unibox-DHUKG65Z.js +402 -0
- package/dist/{webhook-UGKVYWBC.js → webhook-Q53WUAI2.js} +273 -45
- package/package.json +2 -2
- package/dist/chunk-GQKC6E5K.js +0 -36
- package/dist/core-6XYGUNAY.js +0 -46
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
setActiveProfile,
|
|
13
13
|
updateProfileField,
|
|
14
14
|
withoutUserinfo
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-YXVF5UST.js";
|
|
16
16
|
import {
|
|
17
17
|
GLOBAL_FLAGS
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-RYWWSZUH.js";
|
|
19
19
|
import {
|
|
20
20
|
DESCRIPTIONS
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-73DJ3KNE.js";
|
|
22
22
|
import "./chunk-ZYURL5VK.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/config.ts
|
|
@@ -42,6 +42,7 @@ var configCommand = defineCommand({
|
|
|
42
42
|
meta: {
|
|
43
43
|
name: "list",
|
|
44
44
|
description: "List all profiles (keys redacted).",
|
|
45
|
+
risk: "read",
|
|
45
46
|
examples: [
|
|
46
47
|
"curviate config list"
|
|
47
48
|
]
|
|
@@ -102,7 +103,7 @@ var configCommand = defineCommand({
|
|
|
102
103
|
}
|
|
103
104
|
process.stdout.write(` apiKey: ${d["apiKey"]}
|
|
104
105
|
`);
|
|
105
|
-
for (const field of ["account", "baseUrl", "timeout"]) {
|
|
106
|
+
for (const field of ["account", "team", "baseUrl", "timeout"]) {
|
|
106
107
|
if (d[field]) process.stdout.write(` ${field}: ${d[field]}
|
|
107
108
|
`);
|
|
108
109
|
}
|
|
@@ -114,6 +115,7 @@ var configCommand = defineCommand({
|
|
|
114
115
|
meta: {
|
|
115
116
|
name: "path",
|
|
116
117
|
description: "Print the config file path.",
|
|
118
|
+
risk: "read",
|
|
117
119
|
examples: [
|
|
118
120
|
"curviate config path"
|
|
119
121
|
]
|
|
@@ -128,6 +130,15 @@ var configCommand = defineCommand({
|
|
|
128
130
|
meta: {
|
|
129
131
|
name: "use",
|
|
130
132
|
description: "Set the active profile.",
|
|
133
|
+
risk: "write",
|
|
134
|
+
rules: {
|
|
135
|
+
changes: "Makes the named profile the active one in the config file.",
|
|
136
|
+
visible_to: "Nobody else: the file stays on this machine.",
|
|
137
|
+
budget_rows: [],
|
|
138
|
+
retry: "Safe: the same result every time.",
|
|
139
|
+
undo: "Run it again with the previous profile name (`curviate config list`)."
|
|
140
|
+
},
|
|
141
|
+
errors: { INVALID_REQUEST: "no profile has that name." },
|
|
131
142
|
examples: [
|
|
132
143
|
"curviate config use work"
|
|
133
144
|
]
|
|
@@ -155,6 +166,15 @@ var configCommand = defineCommand({
|
|
|
155
166
|
meta: {
|
|
156
167
|
name: "rename",
|
|
157
168
|
description: "Rename a profile.",
|
|
169
|
+
risk: "write",
|
|
170
|
+
rules: {
|
|
171
|
+
changes: "Renames a profile in the config file; its key is unchanged.",
|
|
172
|
+
visible_to: "Nobody else: the file stays on this machine.",
|
|
173
|
+
budget_rows: [],
|
|
174
|
+
retry: "A second call fails: the old name is gone.",
|
|
175
|
+
undo: "Rename it back."
|
|
176
|
+
},
|
|
177
|
+
errors: { INVALID_REQUEST: "the old name does not exist, or the new one is taken." },
|
|
158
178
|
examples: [
|
|
159
179
|
"curviate config rename default personal"
|
|
160
180
|
]
|
|
@@ -184,6 +204,15 @@ var configCommand = defineCommand({
|
|
|
184
204
|
meta: {
|
|
185
205
|
name: "set-account",
|
|
186
206
|
description: "Set the default account on a profile.",
|
|
207
|
+
risk: "write",
|
|
208
|
+
rules: {
|
|
209
|
+
changes: "Sets the Account that commands use when you pass no --account.",
|
|
210
|
+
visible_to: "Nobody else: the file stays on this machine.",
|
|
211
|
+
budget_rows: [],
|
|
212
|
+
retry: "Safe: the same result every time.",
|
|
213
|
+
undo: "Run it again with the previous Account id."
|
|
214
|
+
},
|
|
215
|
+
errors: { INVALID_REQUEST: "there is no config file or no such profile." },
|
|
187
216
|
examples: [
|
|
188
217
|
"curviate config set-account acc_YOUR_ACCOUNT_ID"
|
|
189
218
|
]
|
|
@@ -221,6 +250,15 @@ var configCommand = defineCommand({
|
|
|
221
250
|
meta: {
|
|
222
251
|
name: "set-base-url",
|
|
223
252
|
description: "Set or clear the base URL on a profile.",
|
|
253
|
+
risk: "write",
|
|
254
|
+
rules: {
|
|
255
|
+
changes: "Sets or clears the API base URL on a profile.",
|
|
256
|
+
visible_to: "Nobody else: the file stays on this machine.",
|
|
257
|
+
budget_rows: [],
|
|
258
|
+
retry: "Safe: the same result every time.",
|
|
259
|
+
undo: "Run it again with the previous URL, or --reset."
|
|
260
|
+
},
|
|
261
|
+
errors: { INVALID_REQUEST: "there is no config file, no such profile, or the URL is not valid." },
|
|
224
262
|
examples: [
|
|
225
263
|
"curviate config set-base-url https://api.curviate.com",
|
|
226
264
|
"curviate config set-base-url --reset"
|
|
@@ -285,6 +323,17 @@ var configCommand = defineCommand({
|
|
|
285
323
|
meta: {
|
|
286
324
|
name: "reset",
|
|
287
325
|
description: "Remove the config file (or a single profile).",
|
|
326
|
+
risk: "high",
|
|
327
|
+
rules: {
|
|
328
|
+
changes: "Deletes the config file, or with --profile one profile, with the API keys stored there.",
|
|
329
|
+
visible_to: "Nobody else: the file stays on this machine.",
|
|
330
|
+
budget_rows: [],
|
|
331
|
+
retry: "Safe: with nothing left to remove it changes nothing.",
|
|
332
|
+
undo: "Cannot be undone: a removed key is gone; create a new one with `curviate setup`.",
|
|
333
|
+
blast_radius: "Every profile in the file, or the one named by --profile."
|
|
334
|
+
},
|
|
335
|
+
errors: { INVALID_REQUEST: "no profile has that name." },
|
|
336
|
+
seeAlso: ["curviate config list", "curviate setup"],
|
|
288
337
|
examples: [
|
|
289
338
|
"curviate config reset --profile work --yes",
|
|
290
339
|
"curviate config reset --yes"
|
|
@@ -1,16 +1,21 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
AS_ACCOUNT,
|
|
4
|
+
BUDGET,
|
|
5
|
+
TARGET
|
|
6
|
+
} from "./chunk-UWQPX4AE.js";
|
|
2
7
|
import {
|
|
3
8
|
resolveIdentifier
|
|
4
9
|
} from "./chunk-UEAX6KUB.js";
|
|
5
|
-
import {
|
|
6
|
-
requireAccount
|
|
7
|
-
} from "./chunk-Q63IIPL2.js";
|
|
8
10
|
import {
|
|
9
11
|
slimInviteReceived,
|
|
10
12
|
slimInviteReceivedItem,
|
|
11
13
|
slimInviteSent,
|
|
12
14
|
slimInviteSentItem
|
|
13
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-GHMRPX5H.js";
|
|
16
|
+
import {
|
|
17
|
+
requireAccount
|
|
18
|
+
} from "./chunk-25MO7BYN.js";
|
|
14
19
|
import {
|
|
15
20
|
buildPreviewOutput
|
|
16
21
|
} from "./chunk-TCUYH5GO.js";
|
|
@@ -20,29 +25,31 @@ import {
|
|
|
20
25
|
readMaxPagesFlag,
|
|
21
26
|
readablePage,
|
|
22
27
|
rejectPaginationModifiersWithoutAll,
|
|
28
|
+
streamAll
|
|
29
|
+
} from "./chunk-L4CIJT6F.js";
|
|
30
|
+
import {
|
|
23
31
|
renderError,
|
|
24
32
|
renderSuccess,
|
|
25
33
|
renderUnexpectedError,
|
|
26
|
-
resolveEffectiveConfig,
|
|
27
|
-
streamAll,
|
|
28
34
|
writeNdjsonItem
|
|
29
|
-
} from "./chunk-
|
|
30
|
-
import "./chunk-76SWLAZ6.js";
|
|
35
|
+
} from "./chunk-QM57YDJE.js";
|
|
31
36
|
import {
|
|
32
|
-
createClient
|
|
33
|
-
|
|
37
|
+
createClient,
|
|
38
|
+
resolveEffectiveConfig
|
|
39
|
+
} from "./chunk-YXVF5UST.js";
|
|
34
40
|
import {
|
|
35
41
|
GLOBAL_FLAGS,
|
|
36
42
|
WRITE_FLAGS,
|
|
37
43
|
readOnly
|
|
38
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-RYWWSZUH.js";
|
|
39
45
|
import {
|
|
40
46
|
DESCRIPTIONS
|
|
41
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-73DJ3KNE.js";
|
|
42
48
|
import {
|
|
43
49
|
nearestSubcommand
|
|
44
50
|
} from "./chunk-FDJMAF7D.js";
|
|
45
51
|
import "./chunk-ZYURL5VK.js";
|
|
52
|
+
import "./chunk-2W4RN5ON.js";
|
|
46
53
|
|
|
47
54
|
// src/commands/connect.ts
|
|
48
55
|
import { defineCommand } from "citty";
|
|
@@ -86,7 +93,7 @@ async function runConnectSend(client, flags, out) {
|
|
|
86
93
|
} catch (err) {
|
|
87
94
|
const { CurviateError } = await import("@curviate/sdk");
|
|
88
95
|
if (err instanceof CurviateError) {
|
|
89
|
-
const { getExitCode } = await import("./exit-codes-
|
|
96
|
+
const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
|
|
90
97
|
renderError(err, outOpts, out);
|
|
91
98
|
process.exit(getExitCode(err));
|
|
92
99
|
}
|
|
@@ -125,7 +132,7 @@ async function runConnectSent(client, flags, out) {
|
|
|
125
132
|
} catch (err) {
|
|
126
133
|
const { CurviateError } = await import("@curviate/sdk");
|
|
127
134
|
if (err instanceof CurviateError) {
|
|
128
|
-
const { getExitCode } = await import("./exit-codes-
|
|
135
|
+
const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
|
|
129
136
|
renderError(err, outOpts, out);
|
|
130
137
|
process.exit(getExitCode(err));
|
|
131
138
|
}
|
|
@@ -164,7 +171,7 @@ async function runConnectReceived(client, flags, out) {
|
|
|
164
171
|
} catch (err) {
|
|
165
172
|
const { CurviateError } = await import("@curviate/sdk");
|
|
166
173
|
if (err instanceof CurviateError) {
|
|
167
|
-
const { getExitCode } = await import("./exit-codes-
|
|
174
|
+
const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
|
|
168
175
|
renderError(err, outOpts, out);
|
|
169
176
|
process.exit(getExitCode(err));
|
|
170
177
|
}
|
|
@@ -193,7 +200,7 @@ async function runConnectAccept(client, flags, out) {
|
|
|
193
200
|
} catch (err) {
|
|
194
201
|
const { CurviateError } = await import("@curviate/sdk");
|
|
195
202
|
if (err instanceof CurviateError) {
|
|
196
|
-
const { getExitCode } = await import("./exit-codes-
|
|
203
|
+
const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
|
|
197
204
|
renderError(err, outOpts, out);
|
|
198
205
|
process.exit(getExitCode(err));
|
|
199
206
|
}
|
|
@@ -222,7 +229,7 @@ async function runConnectDecline(client, flags, out) {
|
|
|
222
229
|
} catch (err) {
|
|
223
230
|
const { CurviateError } = await import("@curviate/sdk");
|
|
224
231
|
if (err instanceof CurviateError) {
|
|
225
|
-
const { getExitCode } = await import("./exit-codes-
|
|
232
|
+
const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
|
|
226
233
|
renderError(err, outOpts, out);
|
|
227
234
|
process.exit(getExitCode(err));
|
|
228
235
|
}
|
|
@@ -251,7 +258,7 @@ async function runConnectCancel(client, flags, out) {
|
|
|
251
258
|
} catch (err) {
|
|
252
259
|
const { CurviateError } = await import("@curviate/sdk");
|
|
253
260
|
if (err instanceof CurviateError) {
|
|
254
|
-
const { getExitCode } = await import("./exit-codes-
|
|
261
|
+
const { getExitCode } = await import("./exit-codes-7DBETBDT.js");
|
|
255
262
|
renderError(err, outOpts, out);
|
|
256
263
|
process.exit(getExitCode(err));
|
|
257
264
|
}
|
|
@@ -263,6 +270,7 @@ var connectSentCommand = defineCommand({
|
|
|
263
270
|
meta: {
|
|
264
271
|
name: "sent",
|
|
265
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; the sent-variant carries no public slug) to identify the recipient. `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
|
+
risk: "read",
|
|
266
274
|
examples: [
|
|
267
275
|
"curviate core connect sent",
|
|
268
276
|
"curviate core connect sent --all"
|
|
@@ -291,6 +299,7 @@ var connectReceivedCommand = defineCommand({
|
|
|
291
299
|
meta: {
|
|
292
300
|
name: "received",
|
|
293
301
|
description: "Returns pending received invitations only. Already-handled invitations are not returned. The `user.*` fields (`public_identifier`, `display_name`, `first_name`, `last_name`) identify who sent the request. Use the `id` field with `curviate core connect accept` or `curviate core connect decline`. A very recently received invitation may take a few minutes to appear here (LinkedIn-side indexing).",
|
|
302
|
+
risk: "read",
|
|
294
303
|
examples: [
|
|
295
304
|
"curviate core connect received",
|
|
296
305
|
"curviate core connect received --json"
|
|
@@ -319,6 +328,15 @@ var connectAcceptCommand = defineCommand({
|
|
|
319
328
|
meta: {
|
|
320
329
|
name: "accept",
|
|
321
330
|
description: "Accept a received invitation.",
|
|
331
|
+
risk: "write",
|
|
332
|
+
rules: {
|
|
333
|
+
changes: "Accepts a received invitation: you and the sender become connections.",
|
|
334
|
+
visible_to: "The sender.",
|
|
335
|
+
budget_rows: ["invite_responses"],
|
|
336
|
+
retry: "A handled invitation is gone from `curviate core connect received`, so a retry has nothing to act on.",
|
|
337
|
+
undo: "Cannot be undone from the CLI: remove the connection on LinkedIn."
|
|
338
|
+
},
|
|
339
|
+
errors: { ...AS_ACCOUNT, ...BUDGET, ...TARGET },
|
|
322
340
|
examples: [
|
|
323
341
|
"curviate core connect accept INVITATION_ID"
|
|
324
342
|
]
|
|
@@ -352,6 +370,15 @@ var connectDeclineCommand = defineCommand({
|
|
|
352
370
|
meta: {
|
|
353
371
|
name: "decline",
|
|
354
372
|
description: "Decline a received invitation.",
|
|
373
|
+
risk: "write",
|
|
374
|
+
rules: {
|
|
375
|
+
changes: "Declines a received invitation.",
|
|
376
|
+
visible_to: "The sender's invitation is closed.",
|
|
377
|
+
budget_rows: ["invite_responses"],
|
|
378
|
+
retry: "A handled invitation is gone from `curviate core connect received`, so a retry has nothing to act on.",
|
|
379
|
+
undo: "Cannot be undone: the sender must invite you again."
|
|
380
|
+
},
|
|
381
|
+
errors: { ...AS_ACCOUNT, ...BUDGET, ...TARGET },
|
|
355
382
|
examples: [
|
|
356
383
|
"curviate core connect decline INVITATION_ID"
|
|
357
384
|
]
|
|
@@ -385,6 +412,15 @@ var connectCancelCommand = defineCommand({
|
|
|
385
412
|
meta: {
|
|
386
413
|
name: "cancel",
|
|
387
414
|
description: "Cancel a sent invitation.",
|
|
415
|
+
risk: "write",
|
|
416
|
+
rules: {
|
|
417
|
+
changes: "Withdraws an invitation you sent.",
|
|
418
|
+
visible_to: "The invited person no longer sees it.",
|
|
419
|
+
budget_rows: ["withdrawal_sweep"],
|
|
420
|
+
retry: "A withdrawn invitation is gone from `curviate core connect sent`, so a retry has nothing to act on.",
|
|
421
|
+
undo: "Send a new invitation with `curviate core connect <id>`."
|
|
422
|
+
},
|
|
423
|
+
errors: { ...AS_ACCOUNT, ...BUDGET, ...TARGET },
|
|
388
424
|
examples: [
|
|
389
425
|
"curviate core connect cancel INVITATION_ID"
|
|
390
426
|
]
|
|
@@ -433,6 +469,15 @@ var connectCommand = defineCommand({
|
|
|
433
469
|
meta: {
|
|
434
470
|
name: "connect",
|
|
435
471
|
description: DESCRIPTIONS.connect,
|
|
472
|
+
risk: "write",
|
|
473
|
+
rules: {
|
|
474
|
+
changes: "Sends a connection invitation, with your note if you pass --note.",
|
|
475
|
+
visible_to: "The person invited, who sees the invitation and the note.",
|
|
476
|
+
budget_rows: ["connection_requests_with_note", "connection_requests_no_note"],
|
|
477
|
+
retry: "Safe: an invitation already pending, or a person already connected, answers CONNECTION_REQUEST_CONFLICT and sends nothing.",
|
|
478
|
+
undo: "`curviate core connect cancel <invitation_id>` withdraws it while it is pending."
|
|
479
|
+
},
|
|
480
|
+
errors: { ...AS_ACCOUNT, ...BUDGET, ...TARGET, CONNECTION_REQUEST_CONFLICT: "already invited or already connected." },
|
|
436
481
|
examples: [
|
|
437
482
|
"curviate core connect janesmith",
|
|
438
483
|
'curviate core connect https://www.linkedin.com/in/janesmith --note "Enjoyed your talk on agents, would love to connect."'
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
#!/usr/bin/env node
|
|
2
|
+
import {
|
|
3
|
+
BULK_MAX_IDS,
|
|
4
|
+
contactCommand,
|
|
5
|
+
contactIds,
|
|
6
|
+
mergeChunks,
|
|
7
|
+
online,
|
|
8
|
+
positionals,
|
|
9
|
+
preview
|
|
10
|
+
} from "./chunk-CQGDMARG.js";
|
|
11
|
+
import "./chunk-25MO7BYN.js";
|
|
12
|
+
import "./chunk-GOICALYQ.js";
|
|
13
|
+
import "./chunk-UL53T4O6.js";
|
|
14
|
+
import "./chunk-T6GBS5SS.js";
|
|
15
|
+
import "./chunk-TCUYH5GO.js";
|
|
16
|
+
import "./chunk-NNV2OYEF.js";
|
|
17
|
+
import "./chunk-L4CIJT6F.js";
|
|
18
|
+
import "./chunk-QM57YDJE.js";
|
|
19
|
+
import "./chunk-YXVF5UST.js";
|
|
20
|
+
import "./chunk-RYWWSZUH.js";
|
|
21
|
+
import "./chunk-73DJ3KNE.js";
|
|
22
|
+
import "./chunk-ZYURL5VK.js";
|
|
23
|
+
import "./chunk-2W4RN5ON.js";
|
|
24
|
+
export {
|
|
25
|
+
BULK_MAX_IDS,
|
|
26
|
+
contactCommand,
|
|
27
|
+
contactIds,
|
|
28
|
+
mergeChunks,
|
|
29
|
+
online,
|
|
30
|
+
positionals,
|
|
31
|
+
preview
|
|
32
|
+
};
|