@linkedapi/linkedin-cli 1.2.20 → 1.2.21
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/README.md +33 -1
- package/dist/commands/inbox/get.d.ts +1 -0
- package/dist/commands/inbox/get.d.ts.map +1 -1
- package/dist/commands/inbox/get.js +6 -1
- package/dist/commands/inbox/get.js.map +1 -1
- package/dist/commands/message/get.d.ts.map +1 -1
- package/dist/commands/message/get.js +1 -1
- package/dist/commands/message/get.js.map +1 -1
- package/dist/commands/navigator/message/get.d.ts.map +1 -1
- package/dist/commands/navigator/message/get.js +1 -1
- package/dist/commands/navigator/message/get.js.map +1 -1
- package/oclif.manifest.json +277 -269
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -289,7 +289,39 @@ linkedin message get https://www.linkedin.com/in/vprudnikoff --json
|
|
|
289
289
|
linkedin message get https://www.linkedin.com/in/vprudnikoff --since 2024-01-15T10:30:00Z
|
|
290
290
|
```
|
|
291
291
|
|
|
292
|
-
> **Note:** The first call for a conversation
|
|
292
|
+
> **Note:** The first call for a conversation loads its history, which may take longer. Subsequent calls use cached data and are faster. Call it once per person – not to check for new messages: prefer `linkedin inbox get --person <url>` to read messages.
|
|
293
|
+
|
|
294
|
+
#### `inbox sync`
|
|
295
|
+
|
|
296
|
+
Enable whole-inbox monitoring for the account. This is the recommended first step for reading messages: run it once, before sending messages whose replies you want to read. Only messages that arrive after it runs are captured.
|
|
297
|
+
|
|
298
|
+
```bash
|
|
299
|
+
linkedin inbox sync # standard inbox
|
|
300
|
+
linkedin inbox sync --nv # Sales Navigator inbox
|
|
301
|
+
```
|
|
302
|
+
|
|
303
|
+
#### `inbox get`
|
|
304
|
+
|
|
305
|
+
Get messages from the monitored inbox; use `--person` for one person's whole conversation.
|
|
306
|
+
|
|
307
|
+
```bash
|
|
308
|
+
linkedin inbox get [flags]
|
|
309
|
+
```
|
|
310
|
+
|
|
311
|
+
| Flag | Type | Description |
|
|
312
|
+
|------|------|-------------|
|
|
313
|
+
| `--since` | string | Only retrieve messages at or after this ISO timestamp |
|
|
314
|
+
| `--type` | string | Filter by inbox type: `st` or `nv` (default: both) |
|
|
315
|
+
| `--thread-id` | string | Restrict to a single conversation thread |
|
|
316
|
+
| `--person` | string | LinkedIn profile URL. Return the whole known conversation with this person, including history loaded by `message get`. A hashed URL always matches; a public URL only once Linked API knows it |
|
|
317
|
+
|
|
318
|
+
```bash
|
|
319
|
+
linkedin inbox get --json
|
|
320
|
+
linkedin inbox get --since 2024-01-15T10:30:00Z --type nv
|
|
321
|
+
linkedin inbox get --person https://www.linkedin.com/in/vprudnikoff --json
|
|
322
|
+
```
|
|
323
|
+
|
|
324
|
+
With `--person`, the output carries `threads` next to `messages`: each thread has `threadId` (may be `null`), `type`, `personUrn`, `historyFrom` and `historyComplete`, and each message has `inboxMessageId`. If `historyComplete` is `false` and you need earlier messages, run `message get <person-url>` once.
|
|
293
325
|
|
|
294
326
|
---
|
|
295
327
|
|
|
@@ -5,6 +5,7 @@ export default class InboxGet extends BaseCommand {
|
|
|
5
5
|
since: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
6
6
|
type: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
7
7
|
'thread-id': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
8
|
+
person: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
8
9
|
json: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
9
10
|
fields: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined, import("@oclif/core/lib/interfaces").CustomOptions>;
|
|
10
11
|
quiet: import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/inbox/get.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,OAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/inbox/get.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,MAAM,CAAC,OAAO,OAAO,QAAS,SAAQ,WAAW;IAC/C,OAAgB,WAAW,SACiE;IAE5F,OAAgB,KAAK;;;;;;;;;;MAgBnB;IAEF,OAAgB,QAAQ,WAItB;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CA4BlC"}
|
|
@@ -4,7 +4,7 @@ const core_1 = require("@oclif/core");
|
|
|
4
4
|
const _base_command_1 = require("../../base-command");
|
|
5
5
|
const formatter_1 = require("../../core/output/formatter");
|
|
6
6
|
class InboxGet extends _base_command_1.BaseCommand {
|
|
7
|
-
static description =
|
|
7
|
+
static description = "Get messages from the monitored inbox; use --person for one person's whole conversation";
|
|
8
8
|
static flags = {
|
|
9
9
|
..._base_command_1.BaseCommand.baseFlags,
|
|
10
10
|
since: core_1.Flags.string({
|
|
@@ -17,10 +17,14 @@ class InboxGet extends _base_command_1.BaseCommand {
|
|
|
17
17
|
'thread-id': core_1.Flags.string({
|
|
18
18
|
description: 'Restrict to a single conversation thread',
|
|
19
19
|
}),
|
|
20
|
+
person: core_1.Flags.string({
|
|
21
|
+
description: "LinkedIn profile URL: return the whole known conversation with this person, including history loaded by 'message get'. A hashed URL always matches; a public URL only once Linked API knows it",
|
|
22
|
+
}),
|
|
20
23
|
};
|
|
21
24
|
static examples = [
|
|
22
25
|
'<%= config.bin %> inbox get',
|
|
23
26
|
'<%= config.bin %> inbox get --since 2024-01-15T10:30:00Z --type nv',
|
|
27
|
+
'<%= config.bin %> inbox get --person https://www.linkedin.com/in/john-doe --json',
|
|
24
28
|
];
|
|
25
29
|
async run() {
|
|
26
30
|
const { flags } = await this.parse(InboxGet);
|
|
@@ -33,6 +37,7 @@ class InboxGet extends _base_command_1.BaseCommand {
|
|
|
33
37
|
since: flags.since,
|
|
34
38
|
type: flags.type,
|
|
35
39
|
threadId: flags['thread-id'],
|
|
40
|
+
personUrl: flags.person,
|
|
36
41
|
});
|
|
37
42
|
(0, formatter_1.formatOutput)({
|
|
38
43
|
data: result.data,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/commands/inbox/get.ts"],"names":[],"mappings":";;AAAA,sCAAoC;AAEpC,iDAA4C;AAC5C,sDAAsD;AAEtD,MAAqB,QAAS,SAAQ,2BAAW;IAC/C,MAAM,CAAU,WAAW,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/commands/inbox/get.ts"],"names":[],"mappings":";;AAAA,sCAAoC;AAEpC,iDAA4C;AAC5C,sDAAsD;AAEtD,MAAqB,QAAS,SAAQ,2BAAW;IAC/C,MAAM,CAAU,WAAW,GACzB,yFAAyF,CAAC;IAE5F,MAAM,CAAU,KAAK,GAAG;QACtB,GAAG,2BAAW,CAAC,SAAS;QACxB,KAAK,EAAE,YAAK,CAAC,MAAM,CAAC;YAClB,WAAW,EAAE,uCAAuC;SACrD,CAAC;QACF,IAAI,EAAE,YAAK,CAAC,MAAM,CAAC;YACjB,WAAW,EAAE,sBAAsB;YACnC,OAAO,EAAE,CAAC,IAAI,EAAE,IAAI,CAAC;SACtB,CAAC;QACF,WAAW,EAAE,YAAK,CAAC,MAAM,CAAC;YACxB,WAAW,EAAE,0CAA0C;SACxD,CAAC;QACF,MAAM,EAAE,YAAK,CAAC,MAAM,CAAC;YACnB,WAAW,EACT,gMAAgM;SACnM,CAAC;KACH,CAAC;IAEF,MAAM,CAAU,QAAQ,GAAG;QACzB,6BAA6B;QAC7B,oEAAoE;QACpE,kFAAkF;KACnF,CAAC;IAEK,KAAK,CAAC,GAAG;QACd,MAAM,EAAE,KAAK,EAAE,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC;QAE7C,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,wBAAwB,EAAE,CAAC;QAErD,IAAI,CAAC;YACH,IAAI,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC;gBACjB,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,qBAAqB,CAAC,CAAC;YAC9C,CAAC;YAED,MAAM,MAAM,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC;gBACpC,KAAK,EAAE,KAAK,CAAC,KAAK;gBAClB,IAAI,EAAE,KAAK,CAAC,IAA+B;gBAC3C,QAAQ,EAAE,KAAK,CAAC,WAAW,CAAC;gBAC5B,SAAS,EAAE,KAAK,CAAC,MAAM;aACxB,CAAC,CAAC;YAEH,IAAA,wBAAY,EAAC;gBACX,IAAI,EAAE,MAAM,CAAC,IAAI;gBACjB,MAAM,EAAE,MAAM,CAAC,MAAM;gBACrB,MAAM,EAAE,KAAK,CAAC,IAAI;gBAClB,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,OAAO,EAAE,KAAK,CAAC,KAAK;aACrB,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;;AAvDH,2BAwDC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/message/get.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW;IACjD,OAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../src/commands/message/get.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,OAAO,OAAO,UAAW,SAAQ,WAAW;IACjD,OAAgB,WAAW,SAC4H;IAEvJ,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,KAAK;;;;;;;;MAUnB;IAEF,OAAgB,QAAQ,WAItB;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAsElC"}
|
|
@@ -5,7 +5,7 @@ const _base_command_1 = require("../../base-command");
|
|
|
5
5
|
const formatter_1 = require("../../core/output/formatter");
|
|
6
6
|
const workflow_details_1 = require("../../core/workflow/workflow-details");
|
|
7
7
|
class MessageGet extends _base_command_1.BaseCommand {
|
|
8
|
-
static description =
|
|
8
|
+
static description = "Get conversation messages with a LinkedIn person, loading their history on first call. Prefer 'linkedin inbox get --person <url>' to read messages";
|
|
9
9
|
static args = {
|
|
10
10
|
'person-url': core_1.Args.string({
|
|
11
11
|
description: 'LinkedIn profile URL',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/commands/message/get.ts"],"names":[],"mappings":";;AAAA,sCAA0C;AAE1C,iDAA4C;AAC5C,sDAAsD;AACtD,sEAAkE;AAElE,MAAqB,UAAW,SAAQ,2BAAW;IACjD,MAAM,CAAU,WAAW,
|
|
1
|
+
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../src/commands/message/get.ts"],"names":[],"mappings":";;AAAA,sCAA0C;AAE1C,iDAA4C;AAC5C,sDAAsD;AACtD,sEAAkE;AAElE,MAAqB,UAAW,SAAQ,2BAAW;IACjD,MAAM,CAAU,WAAW,GACzB,oJAAoJ,CAAC;IAEvJ,MAAM,CAAU,IAAI,GAAG;QACrB,YAAY,EAAE,WAAI,CAAC,MAAM,CAAC;YACxB,WAAW,EAAE,sBAAsB;YACnC,QAAQ,EAAE,IAAI;SACf,CAAC;KACH,CAAC;IAEF,MAAM,CAAU,KAAK,GAAG;QACtB,G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C,CAAC;QAC1B,CAAC;IACH,CAAC;;AAlGH,6BAmGC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/navigator/message/get.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,OAAgB,WAAW,
|
|
1
|
+
{"version":3,"file":"get.d.ts","sourceRoot":"","sources":["../../../../src/commands/navigator/message/get.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAI5C,MAAM,CAAC,OAAO,OAAO,mBAAoB,SAAQ,WAAW;IAC1D,OAAgB,WAAW,SAC+H;IAE1J,OAAgB,IAAI;;MAKlB;IAEF,OAAgB,KAAK;;;;;;;MAKnB;IAEF,OAAgB,QAAQ,WAEtB;IAEW,GAAG,IAAI,OAAO,CAAC,IAAI,CAAC;CAqElC"}
|
|
@@ -5,7 +5,7 @@ const _base_command_1 = require("../../../base-command");
|
|
|
5
5
|
const formatter_1 = require("../../../core/output/formatter");
|
|
6
6
|
const workflow_details_1 = require("../../../core/workflow/workflow-details");
|
|
7
7
|
class NavigatorMessageGet extends _base_command_1.BaseCommand {
|
|
8
|
-
static description =
|
|
8
|
+
static description = "Get Sales Navigator conversation messages, loading their history on first call. Prefer 'linkedin inbox get --person <url> --type nv' to read messages";
|
|
9
9
|
static args = {
|
|
10
10
|
'person-url': core_1.Args.string({
|
|
11
11
|
description: 'LinkedIn profile URL',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get.js","sourceRoot":"","sources":["../../../../src/commands/navigator/message/get.ts"],"names":[],"mappings":";;AAAA,sCAA0C;AAE1C,iDAA4C;AAC5C,sDAAsD;AACtD,sEAAkE;AAElE,MAAqB,mBAAoB,SAAQ,2BAAW;IAC1D,MAAM,CAAU,WAAW,
|
|
1
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MAAM;gBAC1B,MAAM,EAAE,KAAK,CAAC,IAAI;gBAClB,MAAM,EAAE,KAAK,CAAC,MAAM;gBACpB,OAAO,EAAE,KAAK,CAAC,KAAK;aACrB,CAAC,CAAC;QACL,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,IAAI,CAAC,WAAW,CAAC,KAAK,CAAC,CAAC;QAC1B,CAAC;IACH,CAAC;;AA1FH,sCA2FC"}
|
package/oclif.manifest.json
CHANGED
|
@@ -1548,10 +1548,11 @@
|
|
|
1548
1548
|
"inbox:get": {
|
|
1549
1549
|
"aliases": [],
|
|
1550
1550
|
"args": {},
|
|
1551
|
-
"description": "Get messages from the monitored inbox
|
|
1551
|
+
"description": "Get messages from the monitored inbox; use --person for one person's whole conversation",
|
|
1552
1552
|
"examples": [
|
|
1553
1553
|
"<%= config.bin %> inbox get",
|
|
1554
|
-
"<%= config.bin %> inbox get --since 2024-01-15T10:30:00Z --type nv"
|
|
1554
|
+
"<%= config.bin %> inbox get --since 2024-01-15T10:30:00Z --type nv",
|
|
1555
|
+
"<%= config.bin %> inbox get --person https://www.linkedin.com/in/john-doe --json"
|
|
1555
1556
|
],
|
|
1556
1557
|
"flags": {
|
|
1557
1558
|
"json": {
|
|
@@ -1611,6 +1612,13 @@
|
|
|
1611
1612
|
"hasDynamicHelp": false,
|
|
1612
1613
|
"multiple": false,
|
|
1613
1614
|
"type": "option"
|
|
1615
|
+
},
|
|
1616
|
+
"person": {
|
|
1617
|
+
"description": "LinkedIn profile URL: return the whole known conversation with this person, including history loaded by 'message get'. A hashed URL always matches; a public URL only once Linked API knows it",
|
|
1618
|
+
"name": "person",
|
|
1619
|
+
"hasDynamicHelp": false,
|
|
1620
|
+
"multiple": false,
|
|
1621
|
+
"type": "option"
|
|
1614
1622
|
}
|
|
1615
1623
|
},
|
|
1616
1624
|
"hasDynamicHelp": false,
|
|
@@ -2005,7 +2013,7 @@
|
|
|
2005
2013
|
"required": true
|
|
2006
2014
|
}
|
|
2007
2015
|
},
|
|
2008
|
-
"description": "Get conversation messages with a LinkedIn person",
|
|
2016
|
+
"description": "Get conversation messages with a LinkedIn person, loading their history on first call. Prefer 'linkedin inbox get --person <url>' to read messages",
|
|
2009
2017
|
"examples": [
|
|
2010
2018
|
"<%= config.bin %> message get https://www.linkedin.com/in/john-doe",
|
|
2011
2019
|
"<%= config.bin %> message get https://www.linkedin.com/in/john-doe --since 2024-01-15T10:30:00Z",
|
|
@@ -2247,6 +2255,142 @@
|
|
|
2247
2255
|
"send.js"
|
|
2248
2256
|
]
|
|
2249
2257
|
},
|
|
2258
|
+
"network:events": {
|
|
2259
|
+
"aliases": [],
|
|
2260
|
+
"args": {},
|
|
2261
|
+
"description": "Get connection events from the monitored network",
|
|
2262
|
+
"examples": [
|
|
2263
|
+
"<%= config.bin %> network events",
|
|
2264
|
+
"<%= config.bin %> network events --since 2024-01-15T10:30:00Z --type connectionAccepted"
|
|
2265
|
+
],
|
|
2266
|
+
"flags": {
|
|
2267
|
+
"json": {
|
|
2268
|
+
"description": "Output as JSON",
|
|
2269
|
+
"name": "json",
|
|
2270
|
+
"allowNo": false,
|
|
2271
|
+
"type": "boolean"
|
|
2272
|
+
},
|
|
2273
|
+
"fields": {
|
|
2274
|
+
"description": "Comma-separated list of fields to include in output",
|
|
2275
|
+
"name": "fields",
|
|
2276
|
+
"hasDynamicHelp": false,
|
|
2277
|
+
"multiple": false,
|
|
2278
|
+
"type": "option"
|
|
2279
|
+
},
|
|
2280
|
+
"quiet": {
|
|
2281
|
+
"char": "q",
|
|
2282
|
+
"description": "Suppress progress output on stderr",
|
|
2283
|
+
"name": "quiet",
|
|
2284
|
+
"allowNo": false,
|
|
2285
|
+
"type": "boolean"
|
|
2286
|
+
},
|
|
2287
|
+
"no-color": {
|
|
2288
|
+
"description": "Disable colored output",
|
|
2289
|
+
"name": "no-color",
|
|
2290
|
+
"allowNo": false,
|
|
2291
|
+
"type": "boolean"
|
|
2292
|
+
},
|
|
2293
|
+
"account": {
|
|
2294
|
+
"description": "Account name to use (when multiple accounts are configured)",
|
|
2295
|
+
"name": "account",
|
|
2296
|
+
"hasDynamicHelp": false,
|
|
2297
|
+
"multiple": false,
|
|
2298
|
+
"type": "option"
|
|
2299
|
+
},
|
|
2300
|
+
"since": {
|
|
2301
|
+
"description": "Retrieve events after ISO timestamp",
|
|
2302
|
+
"name": "since",
|
|
2303
|
+
"hasDynamicHelp": false,
|
|
2304
|
+
"multiple": false,
|
|
2305
|
+
"type": "option"
|
|
2306
|
+
},
|
|
2307
|
+
"type": {
|
|
2308
|
+
"description": "Filter by event type",
|
|
2309
|
+
"name": "type",
|
|
2310
|
+
"hasDynamicHelp": false,
|
|
2311
|
+
"multiple": false,
|
|
2312
|
+
"options": [
|
|
2313
|
+
"connectionRequestReceived",
|
|
2314
|
+
"connectionAccepted",
|
|
2315
|
+
"connectionAdded"
|
|
2316
|
+
],
|
|
2317
|
+
"type": "option"
|
|
2318
|
+
}
|
|
2319
|
+
},
|
|
2320
|
+
"hasDynamicHelp": false,
|
|
2321
|
+
"hiddenAliases": [],
|
|
2322
|
+
"id": "network:events",
|
|
2323
|
+
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
2324
|
+
"pluginName": "@linkedapi/linkedin-cli",
|
|
2325
|
+
"pluginType": "core",
|
|
2326
|
+
"strict": true,
|
|
2327
|
+
"enableJsonFlag": false,
|
|
2328
|
+
"isESM": false,
|
|
2329
|
+
"relativePath": [
|
|
2330
|
+
"dist",
|
|
2331
|
+
"commands",
|
|
2332
|
+
"network",
|
|
2333
|
+
"events.js"
|
|
2334
|
+
]
|
|
2335
|
+
},
|
|
2336
|
+
"network:sync": {
|
|
2337
|
+
"aliases": [],
|
|
2338
|
+
"args": {},
|
|
2339
|
+
"description": "Enable background network monitoring so connection events can be read with \"network events\"",
|
|
2340
|
+
"examples": [
|
|
2341
|
+
"<%= config.bin %> network sync"
|
|
2342
|
+
],
|
|
2343
|
+
"flags": {
|
|
2344
|
+
"json": {
|
|
2345
|
+
"description": "Output as JSON",
|
|
2346
|
+
"name": "json",
|
|
2347
|
+
"allowNo": false,
|
|
2348
|
+
"type": "boolean"
|
|
2349
|
+
},
|
|
2350
|
+
"fields": {
|
|
2351
|
+
"description": "Comma-separated list of fields to include in output",
|
|
2352
|
+
"name": "fields",
|
|
2353
|
+
"hasDynamicHelp": false,
|
|
2354
|
+
"multiple": false,
|
|
2355
|
+
"type": "option"
|
|
2356
|
+
},
|
|
2357
|
+
"quiet": {
|
|
2358
|
+
"char": "q",
|
|
2359
|
+
"description": "Suppress progress output on stderr",
|
|
2360
|
+
"name": "quiet",
|
|
2361
|
+
"allowNo": false,
|
|
2362
|
+
"type": "boolean"
|
|
2363
|
+
},
|
|
2364
|
+
"no-color": {
|
|
2365
|
+
"description": "Disable colored output",
|
|
2366
|
+
"name": "no-color",
|
|
2367
|
+
"allowNo": false,
|
|
2368
|
+
"type": "boolean"
|
|
2369
|
+
},
|
|
2370
|
+
"account": {
|
|
2371
|
+
"description": "Account name to use (when multiple accounts are configured)",
|
|
2372
|
+
"name": "account",
|
|
2373
|
+
"hasDynamicHelp": false,
|
|
2374
|
+
"multiple": false,
|
|
2375
|
+
"type": "option"
|
|
2376
|
+
}
|
|
2377
|
+
},
|
|
2378
|
+
"hasDynamicHelp": false,
|
|
2379
|
+
"hiddenAliases": [],
|
|
2380
|
+
"id": "network:sync",
|
|
2381
|
+
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
2382
|
+
"pluginName": "@linkedapi/linkedin-cli",
|
|
2383
|
+
"pluginType": "core",
|
|
2384
|
+
"strict": true,
|
|
2385
|
+
"enableJsonFlag": false,
|
|
2386
|
+
"isESM": false,
|
|
2387
|
+
"relativePath": [
|
|
2388
|
+
"dist",
|
|
2389
|
+
"commands",
|
|
2390
|
+
"network",
|
|
2391
|
+
"sync.js"
|
|
2392
|
+
]
|
|
2393
|
+
},
|
|
2250
2394
|
"person:fetch": {
|
|
2251
2395
|
"aliases": [],
|
|
2252
2396
|
"args": {
|
|
@@ -2533,142 +2677,6 @@
|
|
|
2533
2677
|
"search.js"
|
|
2534
2678
|
]
|
|
2535
2679
|
},
|
|
2536
|
-
"network:events": {
|
|
2537
|
-
"aliases": [],
|
|
2538
|
-
"args": {},
|
|
2539
|
-
"description": "Get connection events from the monitored network",
|
|
2540
|
-
"examples": [
|
|
2541
|
-
"<%= config.bin %> network events",
|
|
2542
|
-
"<%= config.bin %> network events --since 2024-01-15T10:30:00Z --type connectionAccepted"
|
|
2543
|
-
],
|
|
2544
|
-
"flags": {
|
|
2545
|
-
"json": {
|
|
2546
|
-
"description": "Output as JSON",
|
|
2547
|
-
"name": "json",
|
|
2548
|
-
"allowNo": false,
|
|
2549
|
-
"type": "boolean"
|
|
2550
|
-
},
|
|
2551
|
-
"fields": {
|
|
2552
|
-
"description": "Comma-separated list of fields to include in output",
|
|
2553
|
-
"name": "fields",
|
|
2554
|
-
"hasDynamicHelp": false,
|
|
2555
|
-
"multiple": false,
|
|
2556
|
-
"type": "option"
|
|
2557
|
-
},
|
|
2558
|
-
"quiet": {
|
|
2559
|
-
"char": "q",
|
|
2560
|
-
"description": "Suppress progress output on stderr",
|
|
2561
|
-
"name": "quiet",
|
|
2562
|
-
"allowNo": false,
|
|
2563
|
-
"type": "boolean"
|
|
2564
|
-
},
|
|
2565
|
-
"no-color": {
|
|
2566
|
-
"description": "Disable colored output",
|
|
2567
|
-
"name": "no-color",
|
|
2568
|
-
"allowNo": false,
|
|
2569
|
-
"type": "boolean"
|
|
2570
|
-
},
|
|
2571
|
-
"account": {
|
|
2572
|
-
"description": "Account name to use (when multiple accounts are configured)",
|
|
2573
|
-
"name": "account",
|
|
2574
|
-
"hasDynamicHelp": false,
|
|
2575
|
-
"multiple": false,
|
|
2576
|
-
"type": "option"
|
|
2577
|
-
},
|
|
2578
|
-
"since": {
|
|
2579
|
-
"description": "Retrieve events after ISO timestamp",
|
|
2580
|
-
"name": "since",
|
|
2581
|
-
"hasDynamicHelp": false,
|
|
2582
|
-
"multiple": false,
|
|
2583
|
-
"type": "option"
|
|
2584
|
-
},
|
|
2585
|
-
"type": {
|
|
2586
|
-
"description": "Filter by event type",
|
|
2587
|
-
"name": "type",
|
|
2588
|
-
"hasDynamicHelp": false,
|
|
2589
|
-
"multiple": false,
|
|
2590
|
-
"options": [
|
|
2591
|
-
"connectionRequestReceived",
|
|
2592
|
-
"connectionAccepted",
|
|
2593
|
-
"connectionAdded"
|
|
2594
|
-
],
|
|
2595
|
-
"type": "option"
|
|
2596
|
-
}
|
|
2597
|
-
},
|
|
2598
|
-
"hasDynamicHelp": false,
|
|
2599
|
-
"hiddenAliases": [],
|
|
2600
|
-
"id": "network:events",
|
|
2601
|
-
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
2602
|
-
"pluginName": "@linkedapi/linkedin-cli",
|
|
2603
|
-
"pluginType": "core",
|
|
2604
|
-
"strict": true,
|
|
2605
|
-
"enableJsonFlag": false,
|
|
2606
|
-
"isESM": false,
|
|
2607
|
-
"relativePath": [
|
|
2608
|
-
"dist",
|
|
2609
|
-
"commands",
|
|
2610
|
-
"network",
|
|
2611
|
-
"events.js"
|
|
2612
|
-
]
|
|
2613
|
-
},
|
|
2614
|
-
"network:sync": {
|
|
2615
|
-
"aliases": [],
|
|
2616
|
-
"args": {},
|
|
2617
|
-
"description": "Enable background network monitoring so connection events can be read with \"network events\"",
|
|
2618
|
-
"examples": [
|
|
2619
|
-
"<%= config.bin %> network sync"
|
|
2620
|
-
],
|
|
2621
|
-
"flags": {
|
|
2622
|
-
"json": {
|
|
2623
|
-
"description": "Output as JSON",
|
|
2624
|
-
"name": "json",
|
|
2625
|
-
"allowNo": false,
|
|
2626
|
-
"type": "boolean"
|
|
2627
|
-
},
|
|
2628
|
-
"fields": {
|
|
2629
|
-
"description": "Comma-separated list of fields to include in output",
|
|
2630
|
-
"name": "fields",
|
|
2631
|
-
"hasDynamicHelp": false,
|
|
2632
|
-
"multiple": false,
|
|
2633
|
-
"type": "option"
|
|
2634
|
-
},
|
|
2635
|
-
"quiet": {
|
|
2636
|
-
"char": "q",
|
|
2637
|
-
"description": "Suppress progress output on stderr",
|
|
2638
|
-
"name": "quiet",
|
|
2639
|
-
"allowNo": false,
|
|
2640
|
-
"type": "boolean"
|
|
2641
|
-
},
|
|
2642
|
-
"no-color": {
|
|
2643
|
-
"description": "Disable colored output",
|
|
2644
|
-
"name": "no-color",
|
|
2645
|
-
"allowNo": false,
|
|
2646
|
-
"type": "boolean"
|
|
2647
|
-
},
|
|
2648
|
-
"account": {
|
|
2649
|
-
"description": "Account name to use (when multiple accounts are configured)",
|
|
2650
|
-
"name": "account",
|
|
2651
|
-
"hasDynamicHelp": false,
|
|
2652
|
-
"multiple": false,
|
|
2653
|
-
"type": "option"
|
|
2654
|
-
}
|
|
2655
|
-
},
|
|
2656
|
-
"hasDynamicHelp": false,
|
|
2657
|
-
"hiddenAliases": [],
|
|
2658
|
-
"id": "network:sync",
|
|
2659
|
-
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
2660
|
-
"pluginName": "@linkedapi/linkedin-cli",
|
|
2661
|
-
"pluginType": "core",
|
|
2662
|
-
"strict": true,
|
|
2663
|
-
"enableJsonFlag": false,
|
|
2664
|
-
"isESM": false,
|
|
2665
|
-
"relativePath": [
|
|
2666
|
-
"dist",
|
|
2667
|
-
"commands",
|
|
2668
|
-
"network",
|
|
2669
|
-
"sync.js"
|
|
2670
|
-
]
|
|
2671
|
-
},
|
|
2672
2680
|
"post:comment": {
|
|
2673
2681
|
"aliases": [],
|
|
2674
2682
|
"args": {
|
|
@@ -4061,12 +4069,18 @@
|
|
|
4061
4069
|
"usage.js"
|
|
4062
4070
|
]
|
|
4063
4071
|
},
|
|
4064
|
-
"admin:
|
|
4072
|
+
"admin:accounts:cancel-session": {
|
|
4065
4073
|
"aliases": [],
|
|
4066
|
-
"args": {
|
|
4067
|
-
|
|
4074
|
+
"args": {
|
|
4075
|
+
"sessionId": {
|
|
4076
|
+
"description": "Session UUID",
|
|
4077
|
+
"name": "sessionId",
|
|
4078
|
+
"required": true
|
|
4079
|
+
}
|
|
4080
|
+
},
|
|
4081
|
+
"description": "Cancel a pending connection session",
|
|
4068
4082
|
"examples": [
|
|
4069
|
-
"<%= config.bin %> admin
|
|
4083
|
+
"<%= config.bin %> admin accounts cancel-session 990eef7a-..."
|
|
4070
4084
|
],
|
|
4071
4085
|
"flags": {
|
|
4072
4086
|
"json": {
|
|
@@ -4098,7 +4112,7 @@
|
|
|
4098
4112
|
},
|
|
4099
4113
|
"hasDynamicHelp": false,
|
|
4100
4114
|
"hiddenAliases": [],
|
|
4101
|
-
"id": "admin:
|
|
4115
|
+
"id": "admin:accounts:cancel-session",
|
|
4102
4116
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4103
4117
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4104
4118
|
"pluginType": "core",
|
|
@@ -4109,16 +4123,16 @@
|
|
|
4109
4123
|
"dist",
|
|
4110
4124
|
"commands",
|
|
4111
4125
|
"admin",
|
|
4112
|
-
"
|
|
4113
|
-
"
|
|
4126
|
+
"accounts",
|
|
4127
|
+
"cancel-session.js"
|
|
4114
4128
|
]
|
|
4115
4129
|
},
|
|
4116
|
-
"admin:
|
|
4130
|
+
"admin:accounts:connect": {
|
|
4117
4131
|
"aliases": [],
|
|
4118
4132
|
"args": {},
|
|
4119
|
-
"description": "
|
|
4133
|
+
"description": "Create a connection session to connect a new LinkedIn account",
|
|
4120
4134
|
"examples": [
|
|
4121
|
-
"<%= config.bin %> admin
|
|
4135
|
+
"<%= config.bin %> admin accounts connect"
|
|
4122
4136
|
],
|
|
4123
4137
|
"flags": {
|
|
4124
4138
|
"json": {
|
|
@@ -4146,43 +4160,11 @@
|
|
|
4146
4160
|
"name": "no-color",
|
|
4147
4161
|
"allowNo": false,
|
|
4148
4162
|
"type": "boolean"
|
|
4149
|
-
},
|
|
4150
|
-
"quantity": {
|
|
4151
|
-
"description": "Number of seats (1-1000)",
|
|
4152
|
-
"name": "quantity",
|
|
4153
|
-
"required": true,
|
|
4154
|
-
"hasDynamicHelp": false,
|
|
4155
|
-
"multiple": false,
|
|
4156
|
-
"type": "option"
|
|
4157
|
-
},
|
|
4158
|
-
"type": {
|
|
4159
|
-
"description": "Seat type",
|
|
4160
|
-
"name": "type",
|
|
4161
|
-
"required": true,
|
|
4162
|
-
"hasDynamicHelp": false,
|
|
4163
|
-
"multiple": false,
|
|
4164
|
-
"options": [
|
|
4165
|
-
"core",
|
|
4166
|
-
"plus"
|
|
4167
|
-
],
|
|
4168
|
-
"type": "option"
|
|
4169
|
-
},
|
|
4170
|
-
"period": {
|
|
4171
|
-
"description": "Billing period",
|
|
4172
|
-
"name": "period",
|
|
4173
|
-
"required": true,
|
|
4174
|
-
"hasDynamicHelp": false,
|
|
4175
|
-
"multiple": false,
|
|
4176
|
-
"options": [
|
|
4177
|
-
"month",
|
|
4178
|
-
"year"
|
|
4179
|
-
],
|
|
4180
|
-
"type": "option"
|
|
4181
4163
|
}
|
|
4182
4164
|
},
|
|
4183
4165
|
"hasDynamicHelp": false,
|
|
4184
4166
|
"hiddenAliases": [],
|
|
4185
|
-
"id": "admin:
|
|
4167
|
+
"id": "admin:accounts:connect",
|
|
4186
4168
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4187
4169
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4188
4170
|
"pluginType": "core",
|
|
@@ -4193,16 +4175,22 @@
|
|
|
4193
4175
|
"dist",
|
|
4194
4176
|
"commands",
|
|
4195
4177
|
"admin",
|
|
4196
|
-
"
|
|
4197
|
-
"
|
|
4178
|
+
"accounts",
|
|
4179
|
+
"connect.js"
|
|
4198
4180
|
]
|
|
4199
4181
|
},
|
|
4200
|
-
"admin:
|
|
4182
|
+
"admin:accounts:disconnect": {
|
|
4201
4183
|
"aliases": [],
|
|
4202
|
-
"args": {
|
|
4203
|
-
|
|
4184
|
+
"args": {
|
|
4185
|
+
"accountId": {
|
|
4186
|
+
"description": "Account UUID",
|
|
4187
|
+
"name": "accountId",
|
|
4188
|
+
"required": true
|
|
4189
|
+
}
|
|
4190
|
+
},
|
|
4191
|
+
"description": "Disconnect a LinkedIn account (irreversible)",
|
|
4204
4192
|
"examples": [
|
|
4205
|
-
"<%= config.bin %> admin
|
|
4193
|
+
"<%= config.bin %> admin accounts disconnect f9b4346a-..."
|
|
4206
4194
|
],
|
|
4207
4195
|
"flags": {
|
|
4208
4196
|
"json": {
|
|
@@ -4234,7 +4222,7 @@
|
|
|
4234
4222
|
},
|
|
4235
4223
|
"hasDynamicHelp": false,
|
|
4236
4224
|
"hiddenAliases": [],
|
|
4237
|
-
"id": "admin:
|
|
4225
|
+
"id": "admin:accounts:disconnect",
|
|
4238
4226
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4239
4227
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4240
4228
|
"pluginType": "core",
|
|
@@ -4245,22 +4233,16 @@
|
|
|
4245
4233
|
"dist",
|
|
4246
4234
|
"commands",
|
|
4247
4235
|
"admin",
|
|
4248
|
-
"
|
|
4249
|
-
"
|
|
4236
|
+
"accounts",
|
|
4237
|
+
"disconnect.js"
|
|
4250
4238
|
]
|
|
4251
4239
|
},
|
|
4252
|
-
"admin:accounts:
|
|
4240
|
+
"admin:accounts:list": {
|
|
4253
4241
|
"aliases": [],
|
|
4254
|
-
"args": {
|
|
4255
|
-
|
|
4256
|
-
"description": "Session UUID",
|
|
4257
|
-
"name": "sessionId",
|
|
4258
|
-
"required": true
|
|
4259
|
-
}
|
|
4260
|
-
},
|
|
4261
|
-
"description": "Cancel a pending connection session",
|
|
4242
|
+
"args": {},
|
|
4243
|
+
"description": "List all connected accounts and pending sessions",
|
|
4262
4244
|
"examples": [
|
|
4263
|
-
"<%= config.bin %> admin accounts
|
|
4245
|
+
"<%= config.bin %> admin accounts list"
|
|
4264
4246
|
],
|
|
4265
4247
|
"flags": {
|
|
4266
4248
|
"json": {
|
|
@@ -4292,7 +4274,7 @@
|
|
|
4292
4274
|
},
|
|
4293
4275
|
"hasDynamicHelp": false,
|
|
4294
4276
|
"hiddenAliases": [],
|
|
4295
|
-
"id": "admin:accounts:
|
|
4277
|
+
"id": "admin:accounts:list",
|
|
4296
4278
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4297
4279
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4298
4280
|
"pluginType": "core",
|
|
@@ -4304,15 +4286,21 @@
|
|
|
4304
4286
|
"commands",
|
|
4305
4287
|
"admin",
|
|
4306
4288
|
"accounts",
|
|
4307
|
-
"
|
|
4289
|
+
"list.js"
|
|
4308
4290
|
]
|
|
4309
4291
|
},
|
|
4310
|
-
"admin:accounts:
|
|
4292
|
+
"admin:accounts:reconnect": {
|
|
4311
4293
|
"aliases": [],
|
|
4312
|
-
"args": {
|
|
4313
|
-
|
|
4294
|
+
"args": {
|
|
4295
|
+
"accountId": {
|
|
4296
|
+
"description": "Account UUID",
|
|
4297
|
+
"name": "accountId",
|
|
4298
|
+
"required": true
|
|
4299
|
+
}
|
|
4300
|
+
},
|
|
4301
|
+
"description": "Create a reconnection session for an account",
|
|
4314
4302
|
"examples": [
|
|
4315
|
-
"<%= config.bin %> admin accounts
|
|
4303
|
+
"<%= config.bin %> admin accounts reconnect f9b4346a-..."
|
|
4316
4304
|
],
|
|
4317
4305
|
"flags": {
|
|
4318
4306
|
"json": {
|
|
@@ -4344,7 +4332,7 @@
|
|
|
4344
4332
|
},
|
|
4345
4333
|
"hasDynamicHelp": false,
|
|
4346
4334
|
"hiddenAliases": [],
|
|
4347
|
-
"id": "admin:accounts:
|
|
4335
|
+
"id": "admin:accounts:reconnect",
|
|
4348
4336
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4349
4337
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4350
4338
|
"pluginType": "core",
|
|
@@ -4356,10 +4344,10 @@
|
|
|
4356
4344
|
"commands",
|
|
4357
4345
|
"admin",
|
|
4358
4346
|
"accounts",
|
|
4359
|
-
"
|
|
4347
|
+
"reconnect.js"
|
|
4360
4348
|
]
|
|
4361
4349
|
},
|
|
4362
|
-
"admin:accounts:
|
|
4350
|
+
"admin:accounts:regenerate-token": {
|
|
4363
4351
|
"aliases": [],
|
|
4364
4352
|
"args": {
|
|
4365
4353
|
"accountId": {
|
|
@@ -4368,9 +4356,9 @@
|
|
|
4368
4356
|
"required": true
|
|
4369
4357
|
}
|
|
4370
4358
|
},
|
|
4371
|
-
"description": "
|
|
4359
|
+
"description": "Regenerate identification token for an account",
|
|
4372
4360
|
"examples": [
|
|
4373
|
-
"<%= config.bin %> admin accounts
|
|
4361
|
+
"<%= config.bin %> admin accounts regenerate-token f9b4346a-..."
|
|
4374
4362
|
],
|
|
4375
4363
|
"flags": {
|
|
4376
4364
|
"json": {
|
|
@@ -4402,7 +4390,7 @@
|
|
|
4402
4390
|
},
|
|
4403
4391
|
"hasDynamicHelp": false,
|
|
4404
4392
|
"hiddenAliases": [],
|
|
4405
|
-
"id": "admin:accounts:
|
|
4393
|
+
"id": "admin:accounts:regenerate-token",
|
|
4406
4394
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4407
4395
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4408
4396
|
"pluginType": "core",
|
|
@@ -4414,15 +4402,21 @@
|
|
|
4414
4402
|
"commands",
|
|
4415
4403
|
"admin",
|
|
4416
4404
|
"accounts",
|
|
4417
|
-
"
|
|
4405
|
+
"regenerate-token.js"
|
|
4418
4406
|
]
|
|
4419
4407
|
},
|
|
4420
|
-
"admin:accounts:
|
|
4408
|
+
"admin:accounts:reparse": {
|
|
4421
4409
|
"aliases": [],
|
|
4422
|
-
"args": {
|
|
4423
|
-
|
|
4410
|
+
"args": {
|
|
4411
|
+
"accountId": {
|
|
4412
|
+
"description": "Account UUID",
|
|
4413
|
+
"name": "accountId",
|
|
4414
|
+
"required": true
|
|
4415
|
+
}
|
|
4416
|
+
},
|
|
4417
|
+
"description": "Refresh stored profile info for an account",
|
|
4424
4418
|
"examples": [
|
|
4425
|
-
"<%= config.bin %> admin accounts
|
|
4419
|
+
"<%= config.bin %> admin accounts reparse f9b4346a-..."
|
|
4426
4420
|
],
|
|
4427
4421
|
"flags": {
|
|
4428
4422
|
"json": {
|
|
@@ -4454,7 +4448,7 @@
|
|
|
4454
4448
|
},
|
|
4455
4449
|
"hasDynamicHelp": false,
|
|
4456
4450
|
"hiddenAliases": [],
|
|
4457
|
-
"id": "admin:accounts:
|
|
4451
|
+
"id": "admin:accounts:reparse",
|
|
4458
4452
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4459
4453
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4460
4454
|
"pluginType": "core",
|
|
@@ -4466,21 +4460,21 @@
|
|
|
4466
4460
|
"commands",
|
|
4467
4461
|
"admin",
|
|
4468
4462
|
"accounts",
|
|
4469
|
-
"
|
|
4463
|
+
"reparse.js"
|
|
4470
4464
|
]
|
|
4471
4465
|
},
|
|
4472
|
-
"admin:accounts:
|
|
4466
|
+
"admin:accounts:session": {
|
|
4473
4467
|
"aliases": [],
|
|
4474
4468
|
"args": {
|
|
4475
|
-
"
|
|
4476
|
-
"description": "
|
|
4477
|
-
"name": "
|
|
4469
|
+
"sessionId": {
|
|
4470
|
+
"description": "Session UUID",
|
|
4471
|
+
"name": "sessionId",
|
|
4478
4472
|
"required": true
|
|
4479
4473
|
}
|
|
4480
4474
|
},
|
|
4481
|
-
"description": "
|
|
4475
|
+
"description": "Check connection session status",
|
|
4482
4476
|
"examples": [
|
|
4483
|
-
"<%= config.bin %> admin accounts
|
|
4477
|
+
"<%= config.bin %> admin accounts session 990eef7a-..."
|
|
4484
4478
|
],
|
|
4485
4479
|
"flags": {
|
|
4486
4480
|
"json": {
|
|
@@ -4512,7 +4506,7 @@
|
|
|
4512
4506
|
},
|
|
4513
4507
|
"hasDynamicHelp": false,
|
|
4514
4508
|
"hiddenAliases": [],
|
|
4515
|
-
"id": "admin:accounts:
|
|
4509
|
+
"id": "admin:accounts:session",
|
|
4516
4510
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4517
4511
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4518
4512
|
"pluginType": "core",
|
|
@@ -4524,21 +4518,15 @@
|
|
|
4524
4518
|
"commands",
|
|
4525
4519
|
"admin",
|
|
4526
4520
|
"accounts",
|
|
4527
|
-
"
|
|
4521
|
+
"session.js"
|
|
4528
4522
|
]
|
|
4529
4523
|
},
|
|
4530
|
-
"admin:
|
|
4524
|
+
"admin:subscription:seats": {
|
|
4531
4525
|
"aliases": [],
|
|
4532
|
-
"args": {
|
|
4533
|
-
|
|
4534
|
-
"description": "Account UUID",
|
|
4535
|
-
"name": "accountId",
|
|
4536
|
-
"required": true
|
|
4537
|
-
}
|
|
4538
|
-
},
|
|
4539
|
-
"description": "Regenerate identification token for an account",
|
|
4526
|
+
"args": {},
|
|
4527
|
+
"description": "View current subscription seats",
|
|
4540
4528
|
"examples": [
|
|
4541
|
-
"<%= config.bin %> admin
|
|
4529
|
+
"<%= config.bin %> admin subscription seats"
|
|
4542
4530
|
],
|
|
4543
4531
|
"flags": {
|
|
4544
4532
|
"json": {
|
|
@@ -4570,7 +4558,7 @@
|
|
|
4570
4558
|
},
|
|
4571
4559
|
"hasDynamicHelp": false,
|
|
4572
4560
|
"hiddenAliases": [],
|
|
4573
|
-
"id": "admin:
|
|
4561
|
+
"id": "admin:subscription:seats",
|
|
4574
4562
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4575
4563
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4576
4564
|
"pluginType": "core",
|
|
@@ -4581,22 +4569,16 @@
|
|
|
4581
4569
|
"dist",
|
|
4582
4570
|
"commands",
|
|
4583
4571
|
"admin",
|
|
4584
|
-
"
|
|
4585
|
-
"
|
|
4572
|
+
"subscription",
|
|
4573
|
+
"seats.js"
|
|
4586
4574
|
]
|
|
4587
4575
|
},
|
|
4588
|
-
"admin:
|
|
4576
|
+
"admin:subscription:set-seats": {
|
|
4589
4577
|
"aliases": [],
|
|
4590
|
-
"args": {
|
|
4591
|
-
|
|
4592
|
-
"description": "Account UUID",
|
|
4593
|
-
"name": "accountId",
|
|
4594
|
-
"required": true
|
|
4595
|
-
}
|
|
4596
|
-
},
|
|
4597
|
-
"description": "Refresh stored profile info for an account",
|
|
4578
|
+
"args": {},
|
|
4579
|
+
"description": "Set subscription seats (updates existing or returns checkout link)",
|
|
4598
4580
|
"examples": [
|
|
4599
|
-
"<%= config.bin %> admin
|
|
4581
|
+
"<%= config.bin %> admin subscription set-seats --quantity 5 --type plus --period year"
|
|
4600
4582
|
],
|
|
4601
4583
|
"flags": {
|
|
4602
4584
|
"json": {
|
|
@@ -4624,11 +4606,43 @@
|
|
|
4624
4606
|
"name": "no-color",
|
|
4625
4607
|
"allowNo": false,
|
|
4626
4608
|
"type": "boolean"
|
|
4609
|
+
},
|
|
4610
|
+
"quantity": {
|
|
4611
|
+
"description": "Number of seats (1-1000)",
|
|
4612
|
+
"name": "quantity",
|
|
4613
|
+
"required": true,
|
|
4614
|
+
"hasDynamicHelp": false,
|
|
4615
|
+
"multiple": false,
|
|
4616
|
+
"type": "option"
|
|
4617
|
+
},
|
|
4618
|
+
"type": {
|
|
4619
|
+
"description": "Seat type",
|
|
4620
|
+
"name": "type",
|
|
4621
|
+
"required": true,
|
|
4622
|
+
"hasDynamicHelp": false,
|
|
4623
|
+
"multiple": false,
|
|
4624
|
+
"options": [
|
|
4625
|
+
"core",
|
|
4626
|
+
"plus"
|
|
4627
|
+
],
|
|
4628
|
+
"type": "option"
|
|
4629
|
+
},
|
|
4630
|
+
"period": {
|
|
4631
|
+
"description": "Billing period",
|
|
4632
|
+
"name": "period",
|
|
4633
|
+
"required": true,
|
|
4634
|
+
"hasDynamicHelp": false,
|
|
4635
|
+
"multiple": false,
|
|
4636
|
+
"options": [
|
|
4637
|
+
"month",
|
|
4638
|
+
"year"
|
|
4639
|
+
],
|
|
4640
|
+
"type": "option"
|
|
4627
4641
|
}
|
|
4628
4642
|
},
|
|
4629
4643
|
"hasDynamicHelp": false,
|
|
4630
4644
|
"hiddenAliases": [],
|
|
4631
|
-
"id": "admin:
|
|
4645
|
+
"id": "admin:subscription:set-seats",
|
|
4632
4646
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4633
4647
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4634
4648
|
"pluginType": "core",
|
|
@@ -4639,22 +4653,16 @@
|
|
|
4639
4653
|
"dist",
|
|
4640
4654
|
"commands",
|
|
4641
4655
|
"admin",
|
|
4642
|
-
"
|
|
4643
|
-
"
|
|
4656
|
+
"subscription",
|
|
4657
|
+
"set-seats.js"
|
|
4644
4658
|
]
|
|
4645
4659
|
},
|
|
4646
|
-
"admin:
|
|
4660
|
+
"admin:subscription:status": {
|
|
4647
4661
|
"aliases": [],
|
|
4648
|
-
"args": {
|
|
4649
|
-
|
|
4650
|
-
"description": "Session UUID",
|
|
4651
|
-
"name": "sessionId",
|
|
4652
|
-
"required": true
|
|
4653
|
-
}
|
|
4654
|
-
},
|
|
4655
|
-
"description": "Check connection session status",
|
|
4662
|
+
"args": {},
|
|
4663
|
+
"description": "Check subscription status",
|
|
4656
4664
|
"examples": [
|
|
4657
|
-
"<%= config.bin %> admin
|
|
4665
|
+
"<%= config.bin %> admin subscription status"
|
|
4658
4666
|
],
|
|
4659
4667
|
"flags": {
|
|
4660
4668
|
"json": {
|
|
@@ -4686,7 +4694,7 @@
|
|
|
4686
4694
|
},
|
|
4687
4695
|
"hasDynamicHelp": false,
|
|
4688
4696
|
"hiddenAliases": [],
|
|
4689
|
-
"id": "admin:
|
|
4697
|
+
"id": "admin:subscription:status",
|
|
4690
4698
|
"pluginAlias": "@linkedapi/linkedin-cli",
|
|
4691
4699
|
"pluginName": "@linkedapi/linkedin-cli",
|
|
4692
4700
|
"pluginType": "core",
|
|
@@ -4697,8 +4705,8 @@
|
|
|
4697
4705
|
"dist",
|
|
4698
4706
|
"commands",
|
|
4699
4707
|
"admin",
|
|
4700
|
-
"
|
|
4701
|
-
"
|
|
4708
|
+
"subscription",
|
|
4709
|
+
"status.js"
|
|
4702
4710
|
]
|
|
4703
4711
|
},
|
|
4704
4712
|
"admin:webhook:delete-header": {
|
|
@@ -5950,7 +5958,7 @@
|
|
|
5950
5958
|
"required": true
|
|
5951
5959
|
}
|
|
5952
5960
|
},
|
|
5953
|
-
"description": "Get Sales Navigator conversation messages",
|
|
5961
|
+
"description": "Get Sales Navigator conversation messages, loading their history on first call. Prefer 'linkedin inbox get --person <url> --type nv' to read messages",
|
|
5954
5962
|
"examples": [
|
|
5955
5963
|
"<%= config.bin %> navigator message get https://www.linkedin.com/in/john-doe"
|
|
5956
5964
|
],
|
|
@@ -6381,5 +6389,5 @@
|
|
|
6381
6389
|
]
|
|
6382
6390
|
}
|
|
6383
6391
|
},
|
|
6384
|
-
"version": "1.2.
|
|
6392
|
+
"version": "1.2.21"
|
|
6385
6393
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@linkedapi/linkedin-cli",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.21",
|
|
4
4
|
"description": "AI-agent-friendly CLI for controlling LinkedIn accounts and retrieving real-time data.",
|
|
5
5
|
"author": "Linked API",
|
|
6
6
|
"license": "MIT",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"ai-agent"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@linkedapi/node": "^2.3.
|
|
46
|
+
"@linkedapi/node": "^2.3.17",
|
|
47
47
|
"@oclif/core": "^4.2.10"
|
|
48
48
|
},
|
|
49
49
|
"devDependencies": {
|